diff --git a/129.f3dd4ae3.iframe.bundle.js b/129.f3dd4ae3.iframe.bundle.js new file mode 100644 index 000000000..c5650f115 --- /dev/null +++ b/129.f3dd4ae3.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[129],{"../../node_modules/@storybook/blocks/dist/Color-RQJUDNI5.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{ColorControl:()=>ColorControl,default:()=>Color_default});var chunk_GWAJ4KRU=__webpack_require__("../../node_modules/@storybook/blocks/dist/chunk-GWAJ4KRU.mjs"),react=__webpack_require__("../../node_modules/react/index.js");function u(){return(u=Object.assign||function(e){for(var r=1;r=0||(o[t]=e[t]);return o}function i(e){var t=(0,react.useRef)(e),n=(0,react.useRef)((function(e){t.current&&t.current(e)}));return t.current=e,n.current}var s=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&m.current?g(d(m.current,e,b.current)):t(!1)},r=function(){return t(!1)};function t(t){var n=_.current,o=v(m.current),a=t?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",r)}return[function(e){var r=e.nativeEvent,n=m.current;if(n&&(h(r),!function(e,r){return r&&!f(e)}(r,_.current)&&n)){if(f(r)){_.current=!0;var o=r.changedTouches||[];o.length&&(b.current=o[0].identifier)}n.focus(),g(d(n,r,b.current)),t(!0)}},function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),p({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))},t]}),[p,g]),C=x[0],E=x[1],H=x[2];return(0,react.useEffect)((function(){return H}),[H]),react.createElement("div",u({},s,{onTouchStart:C,onMouseDown:C,className:"react-colorful__interactive",ref:m,onKeyDown:E,tabIndex:0,role:"slider"}))})),g=function(e){return e.filter(Boolean).join(" ")},p=function(r){var t=r.color,n=r.left,o=r.top,a=void 0===o?.5:o,l=g(["react-colorful__pointer",r.className]);return react.createElement("div",{className:l,style:{top:100*a+"%",left:100*n+"%"}},react.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},b=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},_={grad:.9,turn:360,rad:360/(2*Math.PI)},x=function(e){return L(C(e))},C=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?b(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?b(parseInt(e.substring(6,8),16)/255,2):1}},E=function(e,r){return void 0===r&&(r="deg"),Number(e)*(_[r]||1)},H=function(e){var r=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?N({h:E(r[1],r[2]),s:Number(r[3]),l:Number(r[4]),a:void 0===r[5]?1:Number(r[5])/(r[6]?100:1)}):{h:0,s:0,v:0,a:1}},N=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},w=function(e){return K(I(e))},y=function(e){var r=e.s,t=e.v,n=e.a,o=(200-r)*t/100;return{h:b(e.h),s:b(o>0&&o<200?r*t/100/(o<=100?o:200-o)*100:0),l:b(o/2),a:b(n,2)}},q=function(e){var r=y(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},k=function(e){var r=y(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},I=function(e){var r=e.h,t=e.s,n=e.v,o=e.a;r=r/360*6,t/=100,n/=100;var a=Math.floor(r),l=n*(1-t),u=n*(1-(r-a)*t),c=n*(1-(1-r+a)*t),i=a%6;return{r:b(255*[n,u,l,l,c,n][i]),g:b(255*[c,n,n,u,l,l][i]),b:b(255*[l,l,c,n,n,u][i]),a:b(o,2)}},z=function(e){var r=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return r?L({r:Number(r[1])/(r[2]?100/255:1),g:Number(r[3])/(r[4]?100/255:1),b:Number(r[5])/(r[6]?100/255:1),a:void 0===r[7]?1:Number(r[7])/(r[8]?100:1)}):{h:0,s:0,v:0,a:1}},D=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},K=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=o<1?D(b(255*o)):"";return"#"+D(r)+D(t)+D(n)+a},L=function(e){var r=e.r,t=e.g,n=e.b,o=e.a,a=Math.max(r,t,n),l=a-Math.min(r,t,n),u=l?a===r?(t-n)/l:a===t?2+(n-r)/l:4+(r-t)/l:0;return{h:b(60*(u<0?u+6:u)),s:b(a?l/a*100:0),v:b(a/255*100),a:o}},S=react.memo((function(r){var t=r.hue,n=r.onChange,o=g(["react-colorful__hue",r.className]);return react.createElement("div",{className:o},react.createElement(m,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:s(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":b(t),"aria-valuemax":"360","aria-valuemin":"0"},react.createElement(p,{className:"react-colorful__hue-pointer",left:t/360,color:q({h:t,s:100,v:100,a:1})})))})),T=react.memo((function(r){var t=r.hsva,n=r.onChange,o={backgroundColor:q({h:t.h,s:100,v:100,a:1})};return react.createElement("div",{className:"react-colorful__saturation",style:o},react.createElement(m,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:s(t.s+100*e.left,0,100),v:s(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+b(t.s)+"%, Brightness "+b(t.v)+"%"},react.createElement(p,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:q(t)})))})),F=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},P=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")},X=function(e,r){return e.toLowerCase()===r.toLowerCase()||F(C(e),C(r))};function Y(e,t,l){var u=i(l),c=(0,react.useState)((function(){return e.toHsva(t)})),s=c[0],f=c[1],v=(0,react.useRef)({color:t,hsva:s});(0,react.useEffect)((function(){if(!e.equal(t,v.current.color)){var r=e.toHsva(t);v.current={hsva:r,color:t},f(r)}}),[t,e]),(0,react.useEffect)((function(){var r;F(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=(0,react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var R,ColorSpace2,V="undefined"!=typeof window?react.useLayoutEffect:react.useEffect,J=new Map,Q=function(e){V((function(){var r=e.current?e.current.ownerDocument:document;if(void 0!==r&&!J.has(r)){var t=r.createElement("style");t.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',J.set(r,t);var n=R||__webpack_require__.nc;n&&t.setAttribute("nonce",n),r.head.appendChild(t)}}),[])},U=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h,className:"react-colorful__last-control"}))},W={defaultColor:"000",toHsva:x,fromHsva:function(e){return w({h:e.h,s:e.s,v:e.v,a:1})},equal:X},ee=function(r){var t=r.className,n=r.hsva,o=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+k(Object.assign({},n,{a:0}))+", "+k(Object.assign({},n,{a:1}))+")"},l=g(["react-colorful__alpha",t]),u=b(100*n.a);return react.createElement("div",{className:l},react.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react.createElement(m,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:s(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":u+"%","aria-valuenow":u,"aria-valuemin":"0","aria-valuemax":"100"},react.createElement(p,{className:"react-colorful__alpha-pointer",left:n.a,color:k(n)})))},re=function(t){var n=t.className,o=t.colorModel,a=t.color,l=void 0===a?o.defaultColor:a,i=t.onChange,s=c(t,["className","colorModel","color","onChange"]),f=(0,react.useRef)(null);Q(f);var v=Y(o,l,i),d=v[0],h=v[1],m=g(["react-colorful",n]);return react.createElement("div",u({},s,{ref:f,className:m}),react.createElement(T,{hsva:d,onChange:h}),react.createElement(S,{hue:d.h,onChange:h}),react.createElement(ee,{hsva:d,onChange:h,className:"react-colorful__last-control"}))},le={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:H,fromHsva:k,equal:P},Ee={defaultColor:"rgba(0, 0, 0, 1)",toHsva:z,fromHsva:function(e){var r=I(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:P},color_convert=__webpack_require__("../../node_modules/@storybook/blocks/node_modules/color-convert/index.js"),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__("../../node_modules/lodash/throttle.js"),throttle_default=__webpack_require__.n(throttle),dist=__webpack_require__("../../node_modules/@storybook/theming/dist/index.mjs"),components_dist=__webpack_require__("../../node_modules/@storybook/components/dist/index.mjs"),icons_dist=__webpack_require__("../../node_modules/@storybook/icons/dist/index.mjs"),Wrapper=dist.I4.div({position:"relative",maxWidth:250}),PickerTooltip=(0,dist.I4)(components_dist.kR)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=dist.I4.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=(0,dist.I4)(components_dist._)((({theme})=>({fontFamily:theme.typography.fonts.base}))),Swatches=dist.I4.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=dist.I4.div((({theme,active})=>({width:16,height:16,boxShadow:active?`${theme.appBorderColor} 0 0 0 1px inset, ${theme.textMutedColor}50 0 0 0 4px`:`${theme.appBorderColor} 0 0 0 1px inset`,borderRadius:theme.appBorderRadius}))),Swatch=({value,active,onClick,style,...props})=>{let backgroundImage=`linear-gradient(${value}, ${value}), url('data:image/svg+xml;charset=utf-8,'), linear-gradient(#fff, #fff)`;return react.createElement(SwatchColor,{...props,active,onClick,style:{...style,backgroundImage}})},Input=(0,dist.I4)(components_dist.lV.Input)((({theme})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:theme.typography.fonts.base}))),ToggleIcon=(0,dist.I4)(icons_dist.QDE)((({theme})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:theme.input.color}))),ColorSpace=((ColorSpace2=ColorSpace||{}).RGB="rgb",ColorSpace2.HSL="hsl",ColorSpace2.HEX="hex",ColorSpace2),COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker={hex:function(r){return react.createElement(U,u({},r,{colorModel:W}))},rgb:function(r){return react.createElement(re,u({},r,{colorModel:Ee}))},hsl:function(r){return react.createElement(re,u({},r,{colorModel:le}))}},fallbackColor={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},stringToArgs=value=>{let match=value?.match(COLOR_REGEXP);if(!match)return[0,0,0,1];let[,x,y,z,a=1]=match;return[x,y,z,a].map(Number)},parseValue=value=>{if(!value)return;let valid=!0;if(RGB_REGEXP.test(value)){let[r,g,b,a]=stringToArgs(value),[h,s,l]=color_convert_default().rgb.hsl([r,g,b])||[0,0,0];return{valid,value,keyword:color_convert_default().rgb.keyword([r,g,b]),colorSpace:"rgb",rgb:value,hsl:`hsla(${h}, ${s}%, ${l}%, ${a})`,hex:`#${color_convert_default().rgb.hex([r,g,b]).toLowerCase()}`}}if(HSL_REGEXP.test(value)){let[h,s,l,a]=stringToArgs(value),[r,g,b]=color_convert_default().hsl.rgb([h,s,l])||[0,0,0];return{valid,value,keyword:color_convert_default().hsl.keyword([h,s,l]),colorSpace:"hsl",rgb:`rgba(${r}, ${g}, ${b}, ${a})`,hsl:value,hex:`#${color_convert_default().hsl.hex([h,s,l]).toLowerCase()}`}}let plain=value.replace("#",""),rgb=color_convert_default().keyword.rgb(plain)||color_convert_default().hex.rgb(plain),hsl=color_convert_default().rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped=`#${plain}`),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default().keyword.hex(mapped)}catch{valid=!1}return{valid,value:mapped,keyword:color_convert_default().rgb.keyword(rgb),colorSpace:"hex",rgb:`rgba(${rgb[0]}, ${rgb[1]}, ${rgb[2]}, 1)`,hsl:`hsla(${hsl[0]}, ${hsl[1]}%, ${hsl[2]}%, 1)`,hex:mapped}},useColorInput=(initialValue,onChange)=>{let[value,setValue]=(0,react.useState)(initialValue||""),[color,setColor]=(0,react.useState)((()=>parseValue(value))),[colorSpace,setColorSpace]=(0,react.useState)(color?.colorSpace||"hex");(0,react.useEffect)((()=>{let nextValue=initialValue||"",nextColor=parseValue(nextValue);setValue(nextValue),setColor(nextColor),setColorSpace(nextColor?.colorSpace||"hex")}),[initialValue]);let realValue=(0,react.useMemo)((()=>((value,color,colorSpace)=>{if(!value||!color?.valid)return fallbackColor[colorSpace];if("hex"!==colorSpace)return color?.[colorSpace]||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return`#${color_convert_default().keyword.hex(color.hex)}`}catch{return fallbackColor.hex}let short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;let[r,g,b]=short[1].split("");return`#${r}${r}${g}${g}${b}${b}`})(value,color,colorSpace).toLowerCase()),[value,color,colorSpace]),updateValue=(0,react.useCallback)((update=>{let parsed=parseValue(update),v=parsed?.value||update||"";setValue(v),""===v&&(setColor(void 0),onChange(void 0)),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[onChange]),cycleColorSpace=(0,react.useCallback)((()=>{let next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);let update=color?.[COLOR_SPACES[next]]||"";setValue(update),onChange(update)}),[color,colorSpace,onChange]);return{value,realValue,updateValue,color,colorSpace,cycleColorSpace}},id=value=>value.replace(/\s*/,"").toLowerCase(),ColorControl=({name,value:initialValue,onChange,onFocus,onBlur,presetColors,startOpen=!1})=>{let throttledOnChange=(0,react.useCallback)(throttle_default()(onChange,200),[onChange]),{value,realValue,updateValue,color,colorSpace,cycleColorSpace}=useColorInput(initialValue,throttledOnChange),{presets,addPreset}=((presetColors,currentColor,colorSpace)=>{let[selectedColors,setSelectedColors]=(0,react.useState)(currentColor?.valid?[currentColor]:[]);(0,react.useEffect)((()=>{void 0===currentColor&&setSelectedColors([])}),[currentColor]);let presets=(0,react.useMemo)((()=>(presetColors||[]).map((preset=>"string"==typeof preset?parseValue(preset):preset.title?{...parseValue(preset.color),keyword:preset.title}:parseValue(preset.color))).concat(selectedColors).filter(Boolean).slice(-27)),[presetColors,selectedColors]),addPreset=(0,react.useCallback)((color=>{color?.valid&&(presets.some((preset=>id(preset[colorSpace])===id(color[colorSpace])))||setSelectedColors((arr=>arr.concat(color))))}),[colorSpace,presets]);return{presets,addPreset}})(presetColors,color,colorSpace),Picker=ColorPicker[colorSpace];return react.createElement(Wrapper,null,react.createElement(PickerTooltip,{startOpen,closeOnOutsideClick:!0,onVisibleChange:()=>addPreset(color),tooltip:react.createElement(TooltipContent,null,react.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus,onBlur}),presets.length>0&&react.createElement(Swatches,null,presets.map(((preset,index)=>react.createElement(components_dist.kR,{key:`${preset.value}-${index}`,hasChrome:!1,tooltip:react.createElement(Note,{note:preset.keyword||preset.value})},react.createElement(Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:()=>updateValue(preset.value)}))))))},react.createElement(Swatch,{value:realValue,style:{margin:4}})),react.createElement(Input,{id:(0,chunk_GWAJ4KRU.Z)(name),value,onChange:e=>updateValue(e.target.value),onFocus:e=>e.target.select(),placeholder:"Choose color..."}),value?react.createElement(ToggleIcon,{onClick:cycleColorSpace}):null)},Color_default=ColorControl},"../../node_modules/@storybook/blocks/node_modules/color-convert/conversions.js":(module,__unused_webpack_exports,__webpack_require__)=>{const cssKeywords=__webpack_require__("../../node_modules/@storybook/blocks/node_modules/color-name/index.js"),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,1&i&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},"../../node_modules/@storybook/blocks/node_modules/color-convert/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{const conversions=__webpack_require__("../../node_modules/@storybook/blocks/node_modules/color-convert/conversions.js"),route=__webpack_require__("../../node_modules/@storybook/blocks/node_modules/color-convert/route.js"),convert={};Object.keys(conversions).forEach((fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach((toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)}))})),module.exports=convert},"../../node_modules/@storybook/blocks/node_modules/color-convert/route.js":(module,__unused_webpack_exports,__webpack_require__)=>{const conversions=__webpack_require__("../../node_modules/@storybook/blocks/node_modules/color-convert/conversions.js");function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i{"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},"../../node_modules/lodash/_baseTrim.js":(module,__unused_webpack_exports,__webpack_require__)=>{var trimmedEndIndex=__webpack_require__("../../node_modules/lodash/_trimmedEndIndex.js"),reTrimStart=/^\s+/;module.exports=function baseTrim(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string}},"../../node_modules/lodash/_trimmedEndIndex.js":module=>{var reWhitespace=/\s/;module.exports=function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}},"../../node_modules/lodash/debounce.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("../../node_modules/lodash/isObject.js"),now=__webpack_require__("../../node_modules/lodash/now.js"),toNumber=__webpack_require__("../../node_modules/lodash/toNumber.js"),nativeMax=Math.max,nativeMin=Math.min;module.exports=function debounce(func,wait,options){var lastArgs,lastThis,maxWait,result,timerId,lastCallTime,lastInvokeTime=0,leading=!1,maxing=!1,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");function invokeFunc(time){var args=lastArgs,thisArg=lastThis;return lastArgs=lastThis=void 0,lastInvokeTime=time,result=func.apply(thisArg,args)}function shouldInvoke(time){var timeSinceLastCall=time-lastCallTime;return void 0===lastCallTime||timeSinceLastCall>=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return function leadingEdge(time){return lastInvokeTime=time,timerId=setTimeout(timerExpired,wait),leading?invokeFunc(time):result}(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},"../../node_modules/lodash/now.js":(module,__unused_webpack_exports,__webpack_require__)=>{var root=__webpack_require__("../../node_modules/lodash/_root.js");module.exports=function(){return root.Date.now()}},"../../node_modules/lodash/throttle.js":(module,__unused_webpack_exports,__webpack_require__)=>{var debounce=__webpack_require__("../../node_modules/lodash/debounce.js"),isObject=__webpack_require__("../../node_modules/lodash/isObject.js");module.exports=function throttle(func,wait,options){var leading=!0,trailing=!0;if("function"!=typeof func)throw new TypeError("Expected a function");return isObject(options)&&(leading="leading"in options?!!options.leading:leading,trailing="trailing"in options?!!options.trailing:trailing),debounce(func,wait,{leading,maxWait:wait,trailing})}},"../../node_modules/lodash/toNumber.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseTrim=__webpack_require__("../../node_modules/lodash/_baseTrim.js"),isObject=__webpack_require__("../../node_modules/lodash/isObject.js"),isSymbol=__webpack_require__("../../node_modules/lodash/isSymbol.js"),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}}}]); \ No newline at end of file diff --git a/2017.6cc790e9.iframe.bundle.js b/2017.6cc790e9.iframe.bundle.js new file mode 100644 index 000000000..3f6c0c6a3 --- /dev/null +++ b/2017.6cc790e9.iframe.bundle.js @@ -0,0 +1 @@ +(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[2017],{"../../node_modules/@storybook/addon-docs/dist/DocsRenderer-K4EAMTCU.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{DocsRenderer:()=>DocsRenderer});var react=__webpack_require__("../../node_modules/react/index.js"),client=__webpack_require__("../../node_modules/react-dom/client.js"),nodes=new Map,WithCallback=({callback,children})=>{let once=(0,react.useRef)();return(0,react.useLayoutEffect)((()=>{once.current!==callback&&(once.current=callback,callback())}),[callback]),children},getReactRoot=async el=>{let root=nodes.get(el);return root||(root=client.createRoot(el),nodes.set(el,root)),root},dist=__webpack_require__("../../node_modules/@storybook/blocks/dist/index.mjs"),defaultComponents={code:dist.XA,a:dist.zE,...dist.Sw},ErrorBoundary=class extends react.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(err){let{showException}=this.props;showException(err)}render(){let{hasError}=this.state,{children}=this.props;return hasError?null:react.createElement(react.Fragment,null,children)}},DocsRenderer=class{constructor(){this.render=async(context,docsParameter,element)=>{let components={...defaultComponents,...docsParameter?.components},TDocs=dist.kQ;return new Promise(((resolve,reject)=>{__webpack_require__.e(5231).then(__webpack_require__.bind(__webpack_require__,"../../node_modules/@mdx-js/react/index.js")).then((({MDXProvider})=>(async(node,el)=>{let root=await getReactRoot(el);return new Promise((resolve=>{root.render(react.createElement(WithCallback,{callback:()=>resolve(null)},node))}))})(react.createElement(ErrorBoundary,{showException:reject,key:Math.random()},react.createElement(MDXProvider,{components},react.createElement(TDocs,{context,docsParameter}))),element))).then((()=>resolve()))}))},this.unmount=element=>{(el=>{let root=nodes.get(el);root&&(root.unmount(),nodes.delete(el))})(element)}}};__webpack_require__("../../node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs")},"../../node_modules/memoizerific sync recursive":module=>{function webpackEmptyContext(req){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}webpackEmptyContext.keys=()=>[],webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id="../../node_modules/memoizerific sync recursive",module.exports=webpackEmptyContext},"../../node_modules/react-dom/client.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var m=__webpack_require__("../../node_modules/react-dom/index.js");exports.createRoot=m.createRoot,exports.hydrateRoot=m.hydrateRoot}}]); \ No newline at end of file diff --git a/3531.96fac4a8.iframe.bundle.js b/3531.96fac4a8.iframe.bundle.js new file mode 100644 index 000000000..b766e707d --- /dev/null +++ b/3531.96fac4a8.iframe.bundle.js @@ -0,0 +1,411 @@ +/*! For license information please see 3531.96fac4a8.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[3531],{"../../node_modules/@storybook/addon-a11y/preview.js":(__unused_webpack_module,__unused_webpack___webpack_exports__,__webpack_require__)=>{"use strict";var activeStoryId,external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),ADDON_ID="storybook/a11y",EVENTS={RESULT:`${ADDON_ID}/result`,REQUEST:`${ADDON_ID}/request`,RUNNING:`${ADDON_ID}/running`,ERROR:`${ADDON_ID}/error`,MANUAL:`${ADDON_ID}/manual`},{document:preview_document}=external_STORYBOOK_MODULE_GLOBAL_.global,channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),active=!1,defaultParameters={config:{},options:{}},run=async(storyId,input=defaultParameters)=>{activeStoryId=storyId;try{if(!active){active=!0,channel.emit(EVENTS.RUNNING);let axe=(await __webpack_require__.e(5458).then(__webpack_require__.t.bind(__webpack_require__,"../../node_modules/axe-core/axe.js",23))).default,{element="#storybook-root",config,options={}}=input,htmlElement=preview_document.querySelector(element);if(!htmlElement)return;axe.reset(),config&&axe.configure(config);let result=await axe.run(htmlElement,options),resultJson=JSON.parse(JSON.stringify(result));activeStoryId===storyId?channel.emit(EVENTS.RESULT,resultJson):(active=!1,run(activeStoryId))}}catch(error){channel.emit(EVENTS.ERROR,error)}finally{active=!1}};channel.on(EVENTS.REQUEST,(async(storyId,input=defaultParameters)=>{input?.manual||await run(storyId,input)})),channel.on(EVENTS.MANUAL,run)},"../../node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";Object.create,Object.defineProperty,Object.getOwnPropertyDescriptor,Object.getOwnPropertyNames,Object.getPrototypeOf,Object.prototype.hasOwnProperty},"../../node_modules/@storybook/addon-essentials/dist/actions/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argsEnhancers:()=>argsEnhancers,loaders:()=>loaders,tinySpyInternalState:()=>tinySpyInternalState});const esm_browser_native={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let getRandomValues;const rnds8=new Uint8Array(16);function rng(){if(!getRandomValues&&(getRandomValues="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!getRandomValues))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return getRandomValues(rnds8)}const byteToHex=[];for(let i=0;i<256;++i)byteToHex.push((i+256).toString(16).slice(1));function unsafeStringify(arr,offset=0){return byteToHex[arr[offset+0]]+byteToHex[arr[offset+1]]+byteToHex[arr[offset+2]]+byteToHex[arr[offset+3]]+"-"+byteToHex[arr[offset+4]]+byteToHex[arr[offset+5]]+"-"+byteToHex[arr[offset+6]]+byteToHex[arr[offset+7]]+"-"+byteToHex[arr[offset+8]]+byteToHex[arr[offset+9]]+"-"+byteToHex[arr[offset+10]]+byteToHex[arr[offset+11]]+byteToHex[arr[offset+12]]+byteToHex[arr[offset+13]]+byteToHex[arr[offset+14]]+byteToHex[arr[offset+15]]}const esm_browser_v4=function v4(options,buf,offset){if(esm_browser_native.randomUUID&&!buf&&!options)return esm_browser_native.randomUUID();const rnds=(options=options||{}).random||(options.rng||rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf){offset=offset||0;for(let i=0;i<16;++i)buf[offset+i]=rnds[i];return buf}return unsafeStringify(rnds)};var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_=__webpack_require__("@storybook/core-events/preview-errors"),config={depth:10,clearOnStoryChange:!0,limit:50},findProto=(obj,callback)=>{let proto=Object.getPrototypeOf(obj);return!proto||callback(proto)?proto:findProto(proto,callback)},serializeArg=a=>{if("object"==typeof(e=a)&&e&&findProto(e,(proto=>/^Synthetic(?:Base)?Event$/.test(proto.constructor.name)))&&"function"==typeof e.persist){let e=Object.create(a.constructor.prototype,Object.getOwnPropertyDescriptors(a));e.persist();let viewDescriptor=Object.getOwnPropertyDescriptor(e,"view"),view=viewDescriptor?.value;return"object"==typeof view&&"Window"===view?.constructor.name&&Object.defineProperty(e,"view",{...viewDescriptor,value:Object.create(view.constructor.prototype)}),e}var e;return a};function action(name,options={}){let actionOptions={...config,...options},handler=function(...args){if(options.implicit){let storyRenderer=("__STORYBOOK_PREVIEW__"in external_STORYBOOK_MODULE_GLOBAL_.global?external_STORYBOOK_MODULE_GLOBAL_.global.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find((render=>"playing"===render.phase||"rendering"===render.phase));if(storyRenderer){let deprecated=!window?.FEATURES?.disallowImplicitActionsInRenderV8,error=new external_STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS_.ImplicitActionsDuringRendering({phase:storyRenderer.phase,name,deprecated});if(!deprecated)throw error;console.warn(error)}}let channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),id="object"==typeof crypto&&"function"==typeof crypto.getRandomValues?esm_browser_v4():Date.now().toString(36)+Math.random().toString(36).substring(2),serializedArgs=args.map(serializeArg),normalizedArgs=args.length>1?serializedArgs:serializedArgs[0],actionDisplayToEmit={id,count:0,data:{name,args:normalizedArgs},options:{...actionOptions,maxDepth:5+(actionOptions.depth||3),allowFunction:actionOptions.allowFunction||!1}};channel.emit("storybook/actions/action-event",actionDisplayToEmit)};return handler.isAction=!0,handler.implicit=options.implicit,handler}var isInInitialArgs=(name,initialArgs)=>typeof initialArgs[name]>"u"&&!(name in initialArgs),argsEnhancers=[context=>{let{initialArgs,argTypes,parameters:{actions}}=context;return actions?.disable||!argTypes?{}:Object.entries(argTypes).filter((([name,argType])=>!!argType.action)).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action("string"==typeof argType.action?argType.action:name)),acc)),{})},context=>{let{initialArgs,argTypes,id,parameters:{actions}}=context;if(!actions||actions.disable||!actions.argTypesRegex||!argTypes)return{};let argTypesRegex=new RegExp(actions.argTypesRegex);return Object.entries(argTypes).filter((([name])=>!!argTypesRegex.test(name))).reduce(((acc,[name,argType])=>(isInInitialArgs(name,initialArgs)&&(acc[name]=action(name,{implicit:!0,id})),acc)),{})}],tinySpyInternalState=Symbol.for("tinyspy:spy"),loaders=[context=>{let{args,parameters:{actions}}=context;actions?.disable||Object.entries(args).filter((([,value])=>"function"==typeof value&&"_isMockFunction"in value&&value._isMockFunction)).forEach((([key,value])=>{let previous=value.getMockImplementation()??(tinySpyInternalState in value?value[tinySpyInternalState]?.getOriginal():void 0);if(!0!==previous?._actionAttached&&!0!==previous?.isAction){let implementation=(...params)=>(action(key)(...params),previous?.(...params));implementation._actionAttached=!0,value.mockImplementation(implementation)}}))}]},"../../node_modules/@storybook/addon-essentials/dist/backgrounds/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals,parameters:()=>parameters});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("../../node_modules/ts-dedent/esm/index.js"),external_STORYBOOK_MODULE_CLIENT_LOGGER_=__webpack_require__("@storybook/client-logger"),PARAM_KEY="backgrounds",{document:preview_document,window:preview_window}=external_STORYBOOK_MODULE_GLOBAL_.global,clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=selector=>{let element=preview_document.getElementById(selector);element&&element.parentElement?.removeChild(element)},decorators=[(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2.backgrounds.grid,isActive=!0===globals2.backgrounds?.grid&&!0!==gridParameters.disable,{cellAmount,cellSize,opacity}=gridParameters,isInDocs="docs"===context.viewMode,defaultOffset=void 0===parameters2.layout||"padded"===parameters2.layout?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${"docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main"} {\n background-size: ${[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(", ")} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `),[cellSize]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-grid-docs-${context.id}`:"addon-backgrounds-grid";isActive?((selector,css)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,preview_document.head.appendChild(style)}})(selectorId,gridStyles):clearStyles(selectorId)}),[isActive,gridStyles,context]),StoryFn()},(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2.backgrounds?.value,backgroundsConfig=parameters2.backgrounds,selectedBackgroundColor=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>backgroundsConfig.disable?"transparent":((currentSelectedValue,backgrounds=[],defaultName)=>{if("transparent"===currentSelectedValue)return"transparent";if(backgrounds.find((background=>background.value===currentSelectedValue)))return currentSelectedValue;let defaultBackground=backgrounds.find((background=>background.name===defaultName));if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map((background=>background.name)).join(", ");external_STORYBOOK_MODULE_CLIENT_LOGGER_.logger.warn(esm.T` + Backgrounds Addon: could not find the default color "${defaultName}". + These are the available colors for your story based on your configuration: + ${availableColors}. + `)}return"transparent"})(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default)),[backgroundsConfig,globalsBackgroundColor]),isActive=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>selectedBackgroundColor&&"transparent"!==selectedBackgroundColor),[selectedBackgroundColor]),selector="docs"===context.viewMode?`#anchor--${context.id} .docs-story`:".sb-show-main",backgroundStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>`\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${preview_window.matchMedia("(prefers-reduced-motion: reduce)").matches?"":"transition: background-color 0.3s;"}\n }\n `),[selectedBackgroundColor,selector]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId="docs"===context.viewMode?`addon-backgrounds-docs-${context.id}`:"addon-backgrounds-color";isActive?((selector,css,storyId)=>{let existingStyle=preview_document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=preview_document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css;let gridStyleSelector="addon-backgrounds-grid"+(storyId?`-docs-${storyId}`:""),existingGridStyle=preview_document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):preview_document.head.appendChild(style)}})(selectorId,backgroundStyles,"docs"===context.viewMode?context.id:null):clearStyles(selectorId)}),[isActive,backgroundStyles,context]),StoryFn()}],parameters={[PARAM_KEY]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:"light",value:"#F8F8F8"},{name:"dark",value:"#333333"}]}},globals={[PARAM_KEY]:null}},"../../node_modules/@storybook/addon-essentials/dist/docs/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parameters:()=>parameters});__webpack_require__("../../node_modules/@storybook/addon-docs/dist/chunk-GN5PWX3D.mjs");var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),excludeTags=Object.entries(external_STORYBOOK_MODULE_GLOBAL_.global.TAGS_OPTIONS??{}).reduce(((acc,entry)=>{let[tag,option]=entry;return option.excludeFromDocsStories&&(acc[tag]=!0),acc}),{}),parameters={docs:{renderer:async()=>{let{DocsRenderer}=await Promise.all([__webpack_require__.e(7710),__webpack_require__.e(2017)]).then(__webpack_require__.bind(__webpack_require__,"../../node_modules/@storybook/addon-docs/dist/DocsRenderer-K4EAMTCU.mjs"));return new DocsRenderer},stories:{filter:story=>0===(story.tags||[]).filter((tag=>excludeTags[tag])).length&&!story.parameters.docs?.disable}}}},"../../node_modules/@storybook/addon-essentials/dist/highlight/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{highlightObject:()=>highlightObject,highlightStyle:()=>highlightStyle});var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CORE_EVENTS_=__webpack_require__("@storybook/core-events"),{document:preview_document}=external_STORYBOOK_MODULE_GLOBAL_.global,highlightStyle=(color="#FF4785",style="dashed")=>`\n outline: 2px ${style} ${color};\n outline-offset: 2px;\n box-shadow: 0 0 0 6px rgba(255,255,255,0.6);\n`,highlightObject=color=>({outline:`2px dashed ${color}`,outlineOffset:2,boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"}),channel=external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel(),resetHighlight=()=>{let sheetToBeRemoved=preview_document.getElementById("storybookHighlight");sheetToBeRemoved&&sheetToBeRemoved.parentNode?.removeChild(sheetToBeRemoved)};channel.on(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_CHANGED,resetHighlight),channel.on("storybook/highlight/reset",resetHighlight),channel.on("storybook/highlight/add",(infos=>{resetHighlight();let elements=Array.from(new Set(infos.elements)),sheet=preview_document.createElement("style");sheet.setAttribute("id","storybookHighlight"),sheet.innerHTML=elements.map((target=>`${target}{\n ${highlightStyle(infos.color,infos.style)}\n }`)).join(" "),preview_document.head.appendChild(sheet)}))},"../../node_modules/@storybook/addon-essentials/dist/measure/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),prefix="Invariant failed";function invariant(condition,message){if(!condition)throw new Error(prefix)}function getDocumentWidthAndHeight(){let container=external_STORYBOOK_MODULE_GLOBAL_.global.document.documentElement,height=Math.max(container.scrollHeight,container.offsetHeight);return{width:Math.max(container.scrollWidth,container.offsetWidth),height}}function setCanvasWidthAndHeight(canvas,context,{width,height}){canvas.style.width=`${width}px`,canvas.style.height=`${height}px`;let scale=external_STORYBOOK_MODULE_GLOBAL_.global.window.devicePixelRatio;canvas.width=Math.floor(width*scale),canvas.height=Math.floor(height*scale),context.scale(scale,scale)}var state={};function init(){state.canvas||(state=function createCanvas(){let canvas=external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement("canvas");canvas.id="storybook-addon-measure";let context=canvas.getContext("2d");invariant(null!=context);let{width,height}=getDocumentWidthAndHeight();return setCanvasWidthAndHeight(canvas,context,{width,height}),canvas.style.position="absolute",canvas.style.left="0",canvas.style.top="0",canvas.style.zIndex="2147483647",canvas.style.pointerEvents="none",external_STORYBOOK_MODULE_GLOBAL_.global.document.body.appendChild(canvas),{canvas,context,width,height}}())}function clear(){state.context&&state.context.clearRect(0,0,state.width??0,state.height??0)}var colors={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"};function roundedRect(context,{x,y,w,h,r}){x-=w/2,y-=h/2,w<2*r&&(r=w/2),h<2*r&&(r=h/2),context.beginPath(),context.moveTo(x+r,y),context.arcTo(x+w,y,x+w,y+h,r),context.arcTo(x+w,y+h,x,y+h,r),context.arcTo(x,y+h,x,y,r),context.arcTo(x,y,x+w,y,r),context.closePath()}function textWithRect(context,type,{x,y,w,h},text){return roundedRect(context,{x,y,w,h,r:3}),context.fillStyle=`${colors[type]}dd`,context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),roundedRect(context,{x,y,w,h,r:3}),context.fillStyle=`${colors[type]}dd`,context.fill(),context.strokeStyle=colors[type],context.stroke(),context.fillStyle=colors.text,context.fillText(text,x,y),{x,y,w,h}}function configureText(context,text){context.font="600 12px monospace",context.textBaseline="middle",context.textAlign="center";let metrics=context.measureText(text),actualHeight=metrics.actualBoundingBoxAscent+metrics.actualBoundingBoxDescent;return{w:metrics.width+12,h:actualHeight+12}}function drawLabel(context,measurements,{type,position="center",text},prevRect,external=!1){let{x,y}=function positionCoordinate(position,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom,x=left+border.left+padding.left,y=top+border.top+padding.top;return"top"===position?x+=contentWidth/2:"right"===position?(x+=contentWidth,y+=contentHeight/2):"bottom"===position?(x+=contentWidth/2,y+=contentHeight):"left"===position?y+=contentHeight/2:"center"===position&&(x+=contentWidth/2,y+=contentHeight/2),{x,y}}(position,measurements),{offsetX,offsetY}=function offset(type,position,{margin,border,padding},labelPaddingSize,external){let shift=dir=>0,offsetX=0,offsetY=0,locationMultiplier=external?1:.5,labelPaddingShift=external?2*labelPaddingSize:0;return"padding"===type?shift=dir=>padding[dir]*locationMultiplier+labelPaddingShift:"border"===type?shift=dir=>padding[dir]+border[dir]*locationMultiplier+labelPaddingShift:"margin"===type&&(shift=dir=>padding[dir]+border[dir]+margin[dir]*locationMultiplier+labelPaddingShift),"top"===position?offsetY=-shift("top"):"right"===position?offsetX=shift("right"):"bottom"===position?offsetY=shift("bottom"):"left"===position&&(offsetX=-shift("left")),{offsetX,offsetY}}(type,position,measurements,7,external);x+=offsetX,y+=offsetY;let{w,h}=configureText(context,text);if(prevRect&&function collide(a,b){return Math.abs(a.x-b.x){let rect=external&&"center"===l.position?function drawFloatingLabel(context,measurements,{type,text}){let{floatingAlignment:floatingAlignment2,extremities}=measurements,x=extremities[floatingAlignment2.x],y=extremities[floatingAlignment2.y],{w,h}=configureText(context,text),{offsetX,offsetY}=function floatingOffset(alignment,{w,h}){let deltaW=.5*w+6,deltaH=.5*h+6;return{offsetX:("left"===alignment.x?-1:1)*deltaW,offsetY:("top"===alignment.y?-1:1)*deltaH}}(floatingAlignment2,{w,h});return x+=offsetX,y+=offsetY,textWithRect(context,type,{x,y,w,h},text)}(context,measurements,l):drawLabel(context,measurements,l,rects[idx-1],external);rects[idx]=rect}))}var colors2_margin="#f6b26ba8",colors2_border="#ffe599a8",colors2_padding="#93c47d8c",colors2_content="#6fa8dca8";function pxToNumber(px){return parseInt(px.replace("px",""),10)}function round(value){return Number.isInteger(value)?value:value.toFixed(2)}function filterZeroValues(labels){return labels.filter((l=>0!==l.text&&"0"!==l.text))}function floatingAlignment(extremities){let windowExtremities_top=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,windowExtremities_bottom=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY+external_STORYBOOK_MODULE_GLOBAL_.global.window.innerHeight,windowExtremities_left=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX,windowExtremities_right=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX+external_STORYBOOK_MODULE_GLOBAL_.global.window.innerWidth,distances_top=Math.abs(windowExtremities_top-extremities.top),distances_bottom=Math.abs(windowExtremities_bottom-extremities.bottom);return{x:Math.abs(windowExtremities_left-extremities.left)>Math.abs(windowExtremities_right-extremities.right)?"left":"right",y:distances_top>distances_bottom?"top":"bottom"}}function drawBoxModel(element){return context=>{if(element&&context){let measurements=function measureElement(element){let style=external_STORYBOOK_MODULE_GLOBAL_.global.getComputedStyle(element),{top,left,right,bottom,width,height}=element.getBoundingClientRect(),{marginTop,marginBottom,marginLeft,marginRight,paddingTop,paddingBottom,paddingLeft,paddingRight,borderBottomWidth,borderTopWidth,borderLeftWidth,borderRightWidth}=style;top+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,left+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX,bottom+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollY,right+=external_STORYBOOK_MODULE_GLOBAL_.global.window.scrollX;let margin={top:pxToNumber(marginTop),bottom:pxToNumber(marginBottom),left:pxToNumber(marginLeft),right:pxToNumber(marginRight)},padding={top:pxToNumber(paddingTop),bottom:pxToNumber(paddingBottom),left:pxToNumber(paddingLeft),right:pxToNumber(paddingRight)},border={top:pxToNumber(borderTopWidth),bottom:pxToNumber(borderBottomWidth),left:pxToNumber(borderLeftWidth),right:pxToNumber(borderRightWidth)},extremities={top:top-margin.top,bottom:bottom+margin.bottom,left:left-margin.left,right:right+margin.right};return{margin,padding,border,top,left,bottom,right,width,height,extremities,floatingAlignment:floatingAlignment(extremities)}}(element),marginLabels=function drawMargin(context,{margin,width,height,top,left,bottom,right}){let marginHeight=height+margin.bottom+margin.top;return context.fillStyle=colors2_margin,context.fillRect(left,top-margin.top,width,margin.top),context.fillRect(right,top-margin.top,margin.right,marginHeight),context.fillRect(left,bottom,width,margin.bottom),context.fillRect(left-margin.left,top-margin.top,margin.left,marginHeight),filterZeroValues([{type:"margin",text:round(margin.top),position:"top"},{type:"margin",text:round(margin.right),position:"right"},{type:"margin",text:round(margin.bottom),position:"bottom"},{type:"margin",text:round(margin.left),position:"left"}])}(context,measurements),paddingLabels=function drawPadding(context,{padding,border,width,height,top,left,bottom,right}){let paddingWidth=width-border.left-border.right,paddingHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=colors2_padding,context.fillRect(left+border.left,top+border.top,paddingWidth,padding.top),context.fillRect(right-padding.right-border.right,top+padding.top+border.top,padding.right,paddingHeight),context.fillRect(left+border.left,bottom-padding.bottom-border.bottom,paddingWidth,padding.bottom),context.fillRect(left+border.left,top+padding.top+border.top,padding.left,paddingHeight),filterZeroValues([{type:"padding",text:padding.top,position:"top"},{type:"padding",text:padding.right,position:"right"},{type:"padding",text:padding.bottom,position:"bottom"},{type:"padding",text:padding.left,position:"left"}])}(context,measurements),borderLabels=function drawBorder(context,{border,width,height,top,left,bottom,right}){let borderHeight=height-border.top-border.bottom;return context.fillStyle=colors2_border,context.fillRect(left,top,width,border.top),context.fillRect(left,bottom-border.bottom,width,border.bottom),context.fillRect(left,top+border.top,border.left,borderHeight),context.fillRect(right-border.right,top+border.top,border.right,borderHeight),filterZeroValues([{type:"border",text:border.top,position:"top"},{type:"border",text:border.right,position:"right"},{type:"border",text:border.bottom,position:"bottom"},{type:"border",text:border.left,position:"left"}])}(context,measurements),contentLabels=function drawContent(context,{padding,border,width,height,top,left}){let contentWidth=width-border.left-border.right-padding.left-padding.right,contentHeight=height-padding.top-padding.bottom-border.top-border.bottom;return context.fillStyle=colors2_content,context.fillRect(left+border.left+padding.left,top+border.top+padding.top,contentWidth,contentHeight),[{type:"content",position:"center",text:`${round(contentWidth)} x ${round(contentHeight)}`}]}(context,measurements);!function labelStacks(context,measurements,labels,externalLabels){let stacks=labels.reduce(((acc,l)=>(Object.prototype.hasOwnProperty.call(acc,l.position)||(acc[l.position]=[]),acc[l.position]?.push(l),acc)),{});stacks.top&&drawStack(context,measurements,stacks.top,externalLabels),stacks.right&&drawStack(context,measurements,stacks.right,externalLabels),stacks.bottom&&drawStack(context,measurements,stacks.bottom,externalLabels),stacks.left&&drawStack(context,measurements,stacks.left,externalLabels),stacks.center&&drawStack(context,measurements,stacks.center,externalLabels)}(context,measurements,[...contentLabels,...paddingLabels,...borderLabels,...marginLabels],measurements.width<=90||measurements.height<=30)}}}function drawSelectedElement(element){!function draw(callback){clear(),callback(state.context)}(drawBoxModel(element))}var nodeAtPointerRef,pointer={x:0,y:0};function findAndDrawElement(x,y){nodeAtPointerRef=((x,y)=>{let element=external_STORYBOOK_MODULE_GLOBAL_.global.document.elementFromPoint(x,y),crawlShadows=node=>{if(node&&node.shadowRoot){let nestedElement=node.shadowRoot.elementFromPoint(x,y);return node.isEqualNode(nestedElement)?node:nestedElement.shadowRoot?crawlShadows(nestedElement):nestedElement}return node};return crawlShadows(element)||element})(x,y),drawSelectedElement(nodeAtPointerRef)}var PARAM_KEY="measureEnabled",decorators=[(StoryFn,context)=>{let{measureEnabled}=context.globals;return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let onPointerMove=event=>{window.requestAnimationFrame((()=>{event.stopPropagation(),pointer.x=event.clientX,pointer.y=event.clientY}))};return document.addEventListener("pointermove",onPointerMove),()=>{document.removeEventListener("pointermove",onPointerMove)}}),[]),(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let onResize=()=>{window.requestAnimationFrame((()=>{!function rescale(){invariant(state.canvas),invariant(state.context),setCanvasWidthAndHeight(state.canvas,state.context,{width:0,height:0});let{width,height}=getDocumentWidthAndHeight();setCanvasWidthAndHeight(state.canvas,state.context,{width,height}),state.width=width,state.height=height}()}))};return"story"===context.viewMode&&measureEnabled&&(document.addEventListener("pointerover",(event=>{window.requestAnimationFrame((()=>{event.stopPropagation(),findAndDrawElement(event.clientX,event.clientY)}))})),init(),window.addEventListener("resize",onResize),findAndDrawElement(pointer.x,pointer.y)),()=>{window.removeEventListener("resize",onResize),function destroy(){state.canvas&&(clear(),state.canvas.parentNode?.removeChild(state.canvas),state={})}()}}),[measureEnabled,context.viewMode]),StoryFn()}],globals={[PARAM_KEY]:!1}},"../../node_modules/@storybook/addon-essentials/dist/outline/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators,globals:()=>globals});var external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),esm=__webpack_require__("../../node_modules/ts-dedent/esm/index.js"),clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle)},clearStyle=input=>{let selector="string"==typeof input?input:input.join(""),element=external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element)},PARAM_KEY="outline";var decorators=[(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,"true"].includes(globals2.outline),isInDocs="docs"===context.viewMode,outlineStyles=(0,external_STORYBOOK_MODULE_PREVIEW_API_.useMemo)((()=>function outlineCSS(selector){return esm.T` + ${selector} body { + outline: 1px solid #2980b9 !important; + } + + ${selector} article { + outline: 1px solid #3498db !important; + } + + ${selector} nav { + outline: 1px solid #0088c3 !important; + } + + ${selector} aside { + outline: 1px solid #33a0ce !important; + } + + ${selector} section { + outline: 1px solid #66b8da !important; + } + + ${selector} header { + outline: 1px solid #99cfe7 !important; + } + + ${selector} footer { + outline: 1px solid #cce7f3 !important; + } + + ${selector} h1 { + outline: 1px solid #162544 !important; + } + + ${selector} h2 { + outline: 1px solid #314e6e !important; + } + + ${selector} h3 { + outline: 1px solid #3e5e85 !important; + } + + ${selector} h4 { + outline: 1px solid #449baf !important; + } + + ${selector} h5 { + outline: 1px solid #c7d1cb !important; + } + + ${selector} h6 { + outline: 1px solid #4371d0 !important; + } + + ${selector} main { + outline: 1px solid #2f4f90 !important; + } + + ${selector} address { + outline: 1px solid #1a2c51 !important; + } + + ${selector} div { + outline: 1px solid #036cdb !important; + } + + ${selector} p { + outline: 1px solid #ac050b !important; + } + + ${selector} hr { + outline: 1px solid #ff063f !important; + } + + ${selector} pre { + outline: 1px solid #850440 !important; + } + + ${selector} blockquote { + outline: 1px solid #f1b8e7 !important; + } + + ${selector} ol { + outline: 1px solid #ff050c !important; + } + + ${selector} ul { + outline: 1px solid #d90416 !important; + } + + ${selector} li { + outline: 1px solid #d90416 !important; + } + + ${selector} dl { + outline: 1px solid #fd3427 !important; + } + + ${selector} dt { + outline: 1px solid #ff0043 !important; + } + + ${selector} dd { + outline: 1px solid #e80174 !important; + } + + ${selector} figure { + outline: 1px solid #ff00bb !important; + } + + ${selector} figcaption { + outline: 1px solid #bf0032 !important; + } + + ${selector} table { + outline: 1px solid #00cc99 !important; + } + + ${selector} caption { + outline: 1px solid #37ffc4 !important; + } + + ${selector} thead { + outline: 1px solid #98daca !important; + } + + ${selector} tbody { + outline: 1px solid #64a7a0 !important; + } + + ${selector} tfoot { + outline: 1px solid #22746b !important; + } + + ${selector} tr { + outline: 1px solid #86c0b2 !important; + } + + ${selector} th { + outline: 1px solid #a1e7d6 !important; + } + + ${selector} td { + outline: 1px solid #3f5a54 !important; + } + + ${selector} col { + outline: 1px solid #6c9a8f !important; + } + + ${selector} colgroup { + outline: 1px solid #6c9a9d !important; + } + + ${selector} button { + outline: 1px solid #da8301 !important; + } + + ${selector} datalist { + outline: 1px solid #c06000 !important; + } + + ${selector} fieldset { + outline: 1px solid #d95100 !important; + } + + ${selector} form { + outline: 1px solid #d23600 !important; + } + + ${selector} input { + outline: 1px solid #fca600 !important; + } + + ${selector} keygen { + outline: 1px solid #b31e00 !important; + } + + ${selector} label { + outline: 1px solid #ee8900 !important; + } + + ${selector} legend { + outline: 1px solid #de6d00 !important; + } + + ${selector} meter { + outline: 1px solid #e8630c !important; + } + + ${selector} optgroup { + outline: 1px solid #b33600 !important; + } + + ${selector} option { + outline: 1px solid #ff8a00 !important; + } + + ${selector} output { + outline: 1px solid #ff9619 !important; + } + + ${selector} progress { + outline: 1px solid #e57c00 !important; + } + + ${selector} select { + outline: 1px solid #e26e0f !important; + } + + ${selector} textarea { + outline: 1px solid #cc5400 !important; + } + + ${selector} details { + outline: 1px solid #33848f !important; + } + + ${selector} summary { + outline: 1px solid #60a1a6 !important; + } + + ${selector} command { + outline: 1px solid #438da1 !important; + } + + ${selector} menu { + outline: 1px solid #449da6 !important; + } + + ${selector} del { + outline: 1px solid #bf0000 !important; + } + + ${selector} ins { + outline: 1px solid #400000 !important; + } + + ${selector} img { + outline: 1px solid #22746b !important; + } + + ${selector} iframe { + outline: 1px solid #64a7a0 !important; + } + + ${selector} embed { + outline: 1px solid #98daca !important; + } + + ${selector} object { + outline: 1px solid #00cc99 !important; + } + + ${selector} param { + outline: 1px solid #37ffc4 !important; + } + + ${selector} video { + outline: 1px solid #6ee866 !important; + } + + ${selector} audio { + outline: 1px solid #027353 !important; + } + + ${selector} source { + outline: 1px solid #012426 !important; + } + + ${selector} canvas { + outline: 1px solid #a2f570 !important; + } + + ${selector} track { + outline: 1px solid #59a600 !important; + } + + ${selector} map { + outline: 1px solid #7be500 !important; + } + + ${selector} area { + outline: 1px solid #305900 !important; + } + + ${selector} a { + outline: 1px solid #ff62ab !important; + } + + ${selector} em { + outline: 1px solid #800b41 !important; + } + + ${selector} strong { + outline: 1px solid #ff1583 !important; + } + + ${selector} i { + outline: 1px solid #803156 !important; + } + + ${selector} b { + outline: 1px solid #cc1169 !important; + } + + ${selector} u { + outline: 1px solid #ff0430 !important; + } + + ${selector} s { + outline: 1px solid #f805e3 !important; + } + + ${selector} small { + outline: 1px solid #d107b2 !important; + } + + ${selector} abbr { + outline: 1px solid #4a0263 !important; + } + + ${selector} q { + outline: 1px solid #240018 !important; + } + + ${selector} cite { + outline: 1px solid #64003c !important; + } + + ${selector} dfn { + outline: 1px solid #b4005a !important; + } + + ${selector} sub { + outline: 1px solid #dba0c8 !important; + } + + ${selector} sup { + outline: 1px solid #cc0256 !important; + } + + ${selector} time { + outline: 1px solid #d6606d !important; + } + + ${selector} code { + outline: 1px solid #e04251 !important; + } + + ${selector} kbd { + outline: 1px solid #5e001f !important; + } + + ${selector} samp { + outline: 1px solid #9c0033 !important; + } + + ${selector} var { + outline: 1px solid #d90047 !important; + } + + ${selector} mark { + outline: 1px solid #ff0053 !important; + } + + ${selector} bdi { + outline: 1px solid #bf3668 !important; + } + + ${selector} bdo { + outline: 1px solid #6f1400 !important; + } + + ${selector} ruby { + outline: 1px solid #ff7b93 !important; + } + + ${selector} rt { + outline: 1px solid #ff2f54 !important; + } + + ${selector} rp { + outline: 1px solid #803e49 !important; + } + + ${selector} span { + outline: 1px solid #cc2643 !important; + } + + ${selector} br { + outline: 1px solid #db687d !important; + } + + ${selector} wbr { + outline: 1px solid #db175b !important; + }`}(isInDocs?'[data-story-block="true"]':".sb-show-main")),[context]);return(0,external_STORYBOOK_MODULE_PREVIEW_API_.useEffect)((()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:"addon-outline";return isActive?((selector,css)=>{let existingStyle=external_STORYBOOK_MODULE_GLOBAL_.global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else{let style=external_STORYBOOK_MODULE_GLOBAL_.global.document.createElement("style");style.setAttribute("id",selector),style.innerHTML=css,external_STORYBOOK_MODULE_GLOBAL_.global.document.head.appendChild(style)}})(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId)}}),[isActive,outlineStyles,context]),StoryFn()}],globals={[PARAM_KEY]:!1}},"../../node_modules/@storybook/addon-essentials/dist/viewport/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{globals:()=>globals});var globals={viewport:"reset",viewportRotated:!1}},"../../node_modules/@storybook/addon-interactions/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argsEnhancers:()=>argsEnhancers,parameters:()=>parameters,runStep:()=>runStep,traverseArgs:()=>traverseArgs});var dist=__webpack_require__("../../node_modules/@storybook/test/dist/index.mjs"),instrumenter_dist=__webpack_require__("../../node_modules/@storybook/instrumenter/dist/index.mjs"),{step:runStep}=(0,instrumenter_dist.wV)({step:(label,play,context)=>play(context)},{intercept:!0}),traverseArgs=(value,depth=0,key)=>{if(depth>5||null==value)return value;if((0,dist.ZT)(value))return key&&value.mockName(key),value;if("function"==typeof value&&"isAction"in value&&value.isAction&&(!("implicit"in value)||!value.implicit)){let mock=(0,dist.fn)(value);return key&&mock.mockName(key),mock}if(Array.isArray(value))return depth++,value.map((item=>traverseArgs(item,depth)));if("object"==typeof value&&value.constructor===Object){depth++;for(let[k,v]of Object.entries(value))Object.getOwnPropertyDescriptor(value,k).writable&&(value[k]=traverseArgs(v,depth,k));return value}return value},argsEnhancers=[({initialArgs})=>traverseArgs(initialArgs)],parameters={throwPlayFunctionExceptions:!1}},"../../node_modules/@storybook/addon-links/preview.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{decorators:()=>decorators});var external_STORYBOOK_MODULE_GLOBAL_=__webpack_require__("@storybook/global"),external_STORYBOOK_MODULE_PREVIEW_API_=__webpack_require__("@storybook/preview-api"),external_STORYBOOK_MODULE_CORE_EVENTS_=__webpack_require__("@storybook/core-events"),{document:preview_document,HTMLElement}=(__webpack_require__("../../node_modules/@storybook/csf/dist/index.mjs"),external_STORYBOOK_MODULE_GLOBAL_.global),linksListener=e=>{let{target}=e;if(!(target instanceof HTMLElement))return;let element=target,{sbKind:kind,sbStory:story}=element.dataset;var params;(kind||story)&&(e.preventDefault(),params={kind,story},external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel().emit(external_STORYBOOK_MODULE_CORE_EVENTS_.SELECT_STORY,params))},hasListener=!1,off=()=>{hasListener&&(hasListener=!1,preview_document.removeEventListener("click",linksListener))},decorators=[(0,external_STORYBOOK_MODULE_PREVIEW_API_.makeDecorator)({name:"withLinks",parameterName:"links",wrapper:(getStory,context)=>(hasListener||(hasListener=!0,preview_document.addEventListener("click",linksListener)),external_STORYBOOK_MODULE_PREVIEW_API_.addons.getChannel().once(external_STORYBOOK_MODULE_CORE_EVENTS_.STORY_CHANGED,off),getStory(context))})]},"../../node_modules/@storybook/csf/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{aj:()=>O,hX:()=>P});var r,e,B=Object.create,u=Object.defineProperty,C=Object.getOwnPropertyDescriptor,F=Object.getOwnPropertyNames,h=Object.getPrototypeOf,w=Object.prototype.hasOwnProperty,x=(r=T=>{var r,e,n;Object.defineProperty(T,"__esModule",{value:!0}),T.isEqual=(r=Object.prototype.toString,e=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(t){return Object.keys(t).concat(Object.getOwnPropertySymbols(t))}:Object.keys,function(t,a){return function i(o,s,d){var y,g,p,l=r.call(o),b=r.call(s);if(o===s)return!0;if(null==o||null==s)return!1;if(d.indexOf(o)>-1&&d.indexOf(s)>-1)return!0;if(d.push(o,s),l!=b||(y=n(o),g=n(s),y.length!=g.length||y.some((function(A){return!i(o[A],s[A],d)}))))return!1;switch(l.slice(8,-1)){case"Symbol":return o.valueOf()==s.valueOf();case"Date":case"Number":return+o==+s||+o!=+o&&+s!=+s;case"RegExp":case"Function":case"String":case"Boolean":return""+o==""+s;case"Set":case"Map":y=o.entries(),g=s.entries();do{if(!i((p=y.next()).value,g.next().value,d))return!1}while(!p.done);return!0;case"ArrayBuffer":o=new Uint8Array(o),s=new Uint8Array(s);case"DataView":o=new Uint8Array(o.buffer),s=new Uint8Array(s.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(o.length!=s.length)return!1;for(p=0;p(e||r((e={exports:{}}).exports,e),e.exports));var c=((r,e,n)=>(n=null!=r?B(h(r)):{},((r,e,n,t)=>{if(e&&"object"==typeof e||"function"==typeof e)for(let a of F(e))!w.call(r,a)&&a!==n&&u(r,a,{get:()=>e[a],enumerable:!(t=C(e,a))||t.enumerable});return r})(!e&&r&&r.__esModule?n:u(n,"default",{value:r,enumerable:!0}),r)))(x()),S=r=>r.map((e=>typeof e<"u")).filter(Boolean).length,P=(r,e,n)=>{if(!r.if)return!0;let{arg:t,global:a}=r.if;if(1!==S([t,a]))throw new Error(`Invalid conditional value ${JSON.stringify({arg:t,global:a})}`);let i=t?e[t]:n[a];return((r,e)=>{let{exists:n,eq:t,neq:a,truthy:i}=r;if(S([n,t,a,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:n,eq:t,neq:a})}`);if(typeof t<"u")return(0,c.isEqual)(e,t);if(typeof a<"u")return!(0,c.isEqual)(e,a);if(typeof n<"u"){let s=typeof e<"u";return n?s:!s}return typeof i>"u"||i?!!e:!e})(r.if,i)},O=r=>r.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},"../../node_modules/@storybook/docs-tools/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{C2:()=>enhanceArgTypes,Op:()=>SNIPPET_RENDERED,Y1:()=>SourceType});__webpack_require__("@storybook/core-events/preview-errors"),__webpack_require__("../../node_modules/lodash/mapValues.js"),__webpack_require__("../../node_modules/doctrine/lib/doctrine.js");var TypeSystem2,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("@storybook/preview-api"),TypeSystem=((TypeSystem2=TypeSystem||{}).JAVASCRIPT="JavaScript",TypeSystem2.FLOW="Flow",TypeSystem2.TYPESCRIPT="TypeScript",TypeSystem2.UNKNOWN="Unknown",TypeSystem2);var SourceType2,enhanceArgTypes=context=>{let{component,argTypes:userArgTypes,parameters:{docs={}}}=context,{extractArgTypes}=docs,extractedArgTypes=extractArgTypes&&component?extractArgTypes(component):{};return extractedArgTypes?(0,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_3__.combineParameters)(extractedArgTypes,userArgTypes):userArgTypes},SNIPPET_RENDERED="storybook/docs/snippet-rendered",SourceType=((SourceType2=SourceType||{}).AUTO="auto",SourceType2.CODE="code",SourceType2.DYNAMIC="dynamic",SourceType2)},"../../node_modules/@storybook/html/dist/entry-preview-docs.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{argTypesEnhancers:()=>argTypesEnhancers,decorators:()=>decorators,parameters:()=>parameters});var _storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@storybook/docs-tools/dist/index.mjs"),_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/preview-api");var decorators=[(storyFn,context)=>{let source,story=storyFn(),renderedForSource=context?.parameters.docs?.source?.excludeDecorators?context.originalStoryFn(context.args,context):story;return function skipSourceRender(context){let sourceParams=context?.parameters.docs?.source,isArgsStory=context?.parameters.__isArgsStory;return sourceParams?.type!==_storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__.Y1.DYNAMIC&&(!isArgsStory||sourceParams?.code||sourceParams?.type===_storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__.Y1.CODE)}(context)||("string"==typeof renderedForSource?source=renderedForSource:renderedForSource instanceof Element&&(source=renderedForSource.outerHTML)),(0,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__.useEffect)((()=>{let{id,unmappedArgs}=context;source&&_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__.addons.getChannel().emit(_storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__.Op,{id,args:unmappedArgs,source})})),story}],parameters={docs:{story:{inline:!0},source:{type:_storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__.Y1.DYNAMIC,language:"html",code:void 0,excludeDecorators:void 0}}},argTypesEnhancers=[_storybook_docs_tools__WEBPACK_IMPORTED_MODULE_1__.C2]},"../../node_modules/@storybook/html/dist/entry-preview.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{parameters:()=>parameters,render:()=>render,renderToCanvas:()=>renderToCanvas});var _storybook_global__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/global"),ts_dedent__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("../../node_modules/ts-dedent/esm/index.js"),_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/preview-api"),{Node}=_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global,render=(args,context)=>{let{id,component:Component}=context;if("string"==typeof Component){let output=Component;return Object.keys(args).forEach((key=>{output=output.replace(`{{${key}}}`,args[key])})),output}if(Component instanceof HTMLElement){let output=Component.cloneNode(!0);return Object.keys(args).forEach((key=>{output.setAttribute(key,"string"==typeof args[key]?args[key]:JSON.stringify(args[key]))})),output}if("function"==typeof Component)return Component(args,context);throw console.warn(ts_dedent__WEBPACK_IMPORTED_MODULE_2__.T` + Storybook's HTML renderer only supports rendering DOM elements and strings. + Received: ${Component} + `),new Error(`Unable to render story ${id}`)};function renderToCanvas({storyFn,kind,name,showMain,showError,forceRemount},canvasElement){let element=storyFn();if(showMain(),"string"==typeof element)canvasElement.innerHTML=element,(0,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__.simulatePageLoad)(canvasElement);else if(element instanceof Node){if(canvasElement.firstChild===element&&!1===forceRemount)return;canvasElement.innerHTML="",canvasElement.appendChild(element),(0,_storybook_preview_api__WEBPACK_IMPORTED_MODULE_1__.simulateDOMContentLoaded)()}else showError({title:`Expecting an HTML snippet or DOM node from the story: "${name}" of "${kind}".`,description:ts_dedent__WEBPACK_IMPORTED_MODULE_2__.T` + Did you forget to return the HTML snippet from the story? + Use "() => " or when defining the story. + `})}var parameters={renderer:"html"}},"../../node_modules/@storybook/instrumenter/dist/index.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{wV:()=>instrument});var _storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/preview-api"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/client-logger"),_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__("@storybook/core-events"),_storybook_global__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__("@storybook/global"),process=__webpack_require__("../../node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("../../node_modules/@storybook/instrumenter/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_ansi_styles=__commonJS({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches)return[0,0,0];let{colorString}=matches.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value[0],config,indentationNext,depth,refs)+separator+printer(current.value[1],config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(;!current.done;){if(result+=indentationNext,width++===config.maxWidth){result+="…";break}result+=printer(current.value,config,indentationNext,depth,refs),current=iterator.next(),current.done?config.min||(result+=","):result+=`,${config.spacingInner}`}result+=config.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config,indentation,depth,refs,printer){let result="";if(list.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys.push(symbol)})),keys})(val,config.compareKeys);if(keys.length){result+=config.spacingOuter;let indentationNext=indentation+config.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config.maxDepth?`[${name}]`:(config.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys,props,config,indentation,depth,refs,printer)=>{let indentationNext=indentation+config.indent,colors=config.colors;return keys.map((key=>{let value=props[key],printed=printer(value,config,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config.spacingOuter+indentationNext+printed+config.spacingOuter+indentation),printed=`{${printed}}`),`${config.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config,indentation,depth,refs,printer)=>children.map((child=>config.spacingOuter+indentation+("string"==typeof child?printText(child,config):printer(child,config,indentation,depth,refs)))).join("");var printText=(text,config)=>{let contentColor=config.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText;exports.printComment=(comment,config)=>{let commentColor=config.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type,printedProps,printedChildren,config,indentation)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${printedProps&&tagColor.close+printedProps+config.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type,config)=>{let tagColor=config.colors.tag;return`${tagColor.open}<${type}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config);if(function nodeIsComment(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config);let type=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(type,config):(0,_markup.printElement)(type,(0,_markup.printProps)(nodeIsFragment(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config,indentation+config.indent,depth,refs,printer),config,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}[${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}]`,serialize=(val,config,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config,indentation,depth,refs,printer,type)=>++depth>config.maxDepth?printAsLeaf(getImmutableName(type)):`${getImmutableName(type)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer)}}`)(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer):"…"}]`})(val,config,indentation,depth,refs,printer):((val,config,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type=object.type;switch(type){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type;default:var $$typeofType=type&&type.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type){return!("string"!=typeof type&&"function"!=typeof type&&type!==REACT_FRAGMENT_TYPE&&type!==REACT_PROFILER_TYPE&&type!==REACT_STRICT_MODE_TYPE&&type!==REACT_SUSPENSE_TYPE&&type!==REACT_SUSPENSE_LIST_TYPE&&type!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type||null===type||type.$$typeof!==REACT_LAZY_TYPE&&type.$$typeof!==REACT_MEMO_TYPE&&type.$$typeof!==REACT_PROVIDER_TYPE&&type.$$typeof!==REACT_CONTEXT_TYPE&&type.$$typeof!==REACT_FORWARD_REF_TYPE&&type.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module){module.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type=element.type;if("string"==typeof type)return type;if("function"==typeof type)return type.displayName||type.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type&&null!==type){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type.displayName)return type.displayName;let functionName=type.render.displayName||type.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type.displayName||type.type.displayName||type.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config,indentation+config.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config,indentation+config.indent,depth,refs,printer),config,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config,indentation,depth,refs,printer)=>++depth>config.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config,indentation+config.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config,indentation+config.indent,depth,refs,printer):"",config,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format3,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config.maxDepth,min=config.min;if(config.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config,indentation,depth,refs)),(str=>{let indentationNext=indentation+config.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config.spacingOuter,min:config.min,spacing:config.spacingInner},config.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins4,val){for(let p=0;pDEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format3(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig(options),"",0,[])}var plugins3={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins3;var _default=format3;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d{let iR=0,kR=d,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d-1),kMaxOverlapF=d-1-baDeltaLength,aIndexPrev1=0,nF=d{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d,kMaxOverlapR=baDeltaLength+d,aIndexPrev1=0,nR=d{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d=1;d<=dMax;d+=1)if(iMaxF=extendPathsF(d,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type=typeof arg;if("function"!==type)throw new TypeError(`${pkg}: ${name} typeof ${type} is not a function`)}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module){var global2,factory;global2=exports,factory=function(exports2){function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:"…";string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat("…","(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return"…"!==nums&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"};function escape(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(16)).slice(-4))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat("…","(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type=null===value?"null":_typeof(value);if("object"===type&&(type=toString$1.call(value).slice(8,-1)),baseTypesMap[type])return baseTypesMap[type](value,options);if(customInspect&&value){var output=function(value,options,type){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type]?stringTagMap[type](value,options):""}(value,options,type);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),import_pretty_format=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1),SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getType(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}};function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2;function getDefaultOptions(){let c=function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:5,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:5)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b)}\n\n`}(options,function countChanges(diffs){let a=0,b=0;return diffs.forEach((diff2=>{switch(diff2[0]){case-1:a+=1;break;case 1:b+=1}})),{a,b}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case-1:return printDeleteLine(line,isFirstOrLast,options);case 1:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&0===diffs[i][0];)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&0!==diffs[i][0];)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&0===diffs[i][0];)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&-1===diffs[i][0];)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&1===diffs[i][0];)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(-1,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(1,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(0,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(-1,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(1,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher],FORMAT_OPTIONS={plugins:PLUGINS},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS};function diff(a,b,options){if(Object.is(a,b))return"";let aType=getType(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType(b)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b,options){let aFormat=(0,import_pretty_format.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format.format)(b,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b,options);case"map":return compareObjects(sortMap(a),sortMap(b),options);case"set":return compareObjects(sortSet(a),sortSet(b),options);default:return compareObjects(a,b,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage("Compared values have no visual difference.",options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage("Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format.format)(b,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage("Compared values have no visual difference.",options);{let aDisplay=(0,import_pretty_format.format)(a,formatOptions),bDisplay=(0,import_pretty_format.format)(b,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case-1:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case 1:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}var import_pretty_format2=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format2.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format2.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}catch{result=(0,import_pretty_format2.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS2,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}function getType2(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v){return v&&(v["@@__IMMUTABLE_ITERABLE__@@"]||v["@@__IMMUTABLE_RECORD__@@"])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format2(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m=err.message;if(m.includes("circular structure")||m.includes("cyclic structures")||m.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType2(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType2(obj1);return obj1Type===getType2(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var CallStates2,CallStates=((CallStates2=CallStates||{}).DONE="done",CallStates2.ERROR="error",CallStates2.ACTIVE="active",CallStates2.WAITING="waiting",CallStates2),EVENTS_CALL="storybook/instrumenter/call",EVENTS_SYNC="storybook/instrumenter/sync",EVENTS_START="storybook/instrumenter/start",EVENTS_BACK="storybook/instrumenter/back",EVENTS_GOTO="storybook/instrumenter/goto",EVENTS_NEXT="storybook/instrumenter/next",EVENTS_END="storybook/instrumenter/end",controlsDisabled={start:!1,back:!1,goto:!1,next:!1,end:!1},alreadyCompletedException=new Error("This function ran after the play function completed. Did you forget to `await` it?"),isObject=o=>"[object Object]"===Object.prototype.toString.call(o),isInstrumentable=o=>{if(!isObject(o)&&!(o=>"[object Module]"===Object.prototype.toString.call(o))(o))return!1;if(void 0===o.constructor)return!0;let proto=o.constructor.prototype;return!!isObject(proto)},getInitialState=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),getRetainedState=(state,isDebugging=!1)=>{let calls=(isDebugging?state.shadowCalls:state.calls).filter((call=>call.retain));if(!calls.length)return;let callRefsByResult=new Map(Array.from(state.callRefsByResult.entries()).filter((([,ref])=>ref.retain)));return{cursor:calls.length,calls,callRefsByResult}},Instrumenter=class{constructor(){this.initialized=!1,this.channel=_storybook_preview_api__WEBPACK_IMPORTED_MODULE_0__.addons.getChannel(),this.state=_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let resetState=({storyId,isPlaying=!0,isDebugging=!1})=>{let state=this.getState(storyId);this.setState(storyId,{...getInitialState(),...getRetainedState(state,isDebugging),shadowCalls:isDebugging?state.shadowCalls:[],chainedCallIds:isDebugging?state.chainedCallIds:new Set,playUntil:isDebugging?state.playUntil:void 0,isPlaying,isDebugging}),this.sync(storyId)};this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,resetState),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.STORY_RENDER_PHASE_CHANGED,(({storyId,newPhase})=>{let{isDebugging}=this.getState(storyId);this.setState(storyId,{renderPhase:newPhase}),"preparing"===newPhase&&isDebugging&&resetState({storyId}),"playing"===newPhase&&resetState({storyId,isDebugging}),"played"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1,isDebugging:!1}),"errored"===newPhase&&this.setState(storyId,{isLocked:!1,isPlaying:!1})})),this.channel.on(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.SET_CURRENT_STORY,(()=>{this.initialized?this.cleanup():this.initialized=!0}));let start=({storyId,playUntil})=>{this.getState(storyId).isDebugging||this.setState(storyId,(({calls})=>({calls:[],shadowCalls:calls.map((call=>({...call,status:"waiting"}))),isDebugging:!0})));let log=this.getLog(storyId);this.setState(storyId,(({shadowCalls})=>{if(playUntil||!log.length)return{playUntil};let firstRowIndex=shadowCalls.findIndex((call=>call.id===log[0].callId));return{playUntil:shadowCalls.slice(0,firstRowIndex).filter((call=>call.interceptable&&!call.ancestors.length)).slice(-1)[0]?.id}})),this.channel.emit(_storybook_core_events__WEBPACK_IMPORTED_MODULE_2__.FORCE_REMOUNT,{storyId,isDebugging:!0})},end=({storyId})=>{this.setState(storyId,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(storyId).resolvers).forEach((resolve=>resolve()))};this.channel.on(EVENTS_START,start),this.channel.on(EVENTS_BACK,(({storyId})=>{let log=this.getLog(storyId).filter((call=>!call.ancestors.length)),last=log.reduceRight(((res,item,index)=>res>=0||"waiting"===item.status?res:index),-1);start({storyId,playUntil:log[last-1]?.callId})})),this.channel.on(EVENTS_GOTO,(({storyId,callId})=>{let{calls,shadowCalls,resolvers}=this.getState(storyId),call=calls.find((({id})=>id===callId)),shadowCall=shadowCalls.find((({id})=>id===callId));if(!call&&shadowCall&&Object.values(resolvers).length>0){let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;shadowCall.id!==nextId&&this.setState(storyId,{playUntil:shadowCall.id}),Object.values(resolvers).forEach((resolve=>resolve()))}else start({storyId,playUntil:callId})})),this.channel.on(EVENTS_NEXT,(({storyId})=>{let{resolvers}=this.getState(storyId);if(Object.values(resolvers).length>0)Object.values(resolvers).forEach((resolve=>resolve()));else{let nextId=this.getLog(storyId).find((c=>"waiting"===c.status))?.callId;nextId?start({storyId,playUntil:nextId}):end({storyId})}})),this.channel.on(EVENTS_END,end)}getState(storyId){return this.state[storyId]||getInitialState()}setState(storyId,update){let state=this.getState(storyId),patch="function"==typeof update?update(state):update;this.state={...this.state,[storyId]:{...state,...patch}},_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}cleanup(){this.state=Object.entries(this.state).reduce(((acc,[storyId,state])=>{let retainedState=getRetainedState(state);return retainedState&&(acc[storyId]=Object.assign(getInitialState(),retainedState)),acc}),{});let payload={controlStates:controlsDisabled,logItems:[]};this.channel.emit(EVENTS_SYNC,payload),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}getLog(storyId){let{calls,shadowCalls}=this.getState(storyId),merged=[...shadowCalls];calls.forEach(((call,index)=>{merged[index]=call}));let seen=new Set;return merged.reduceRight(((acc,call)=>(call.args.forEach((arg=>{arg?.__callId__&&seen.add(arg.__callId__)})),call.path.forEach((node=>{node.__callId__&&seen.add(node.__callId__)})),(call.interceptable||call.exception)&&!seen.has(call.id)&&(acc.unshift({callId:call.id,status:call.status,ancestors:call.ancestors}),seen.add(call.id)),acc)),[])}instrument(obj,options,depth=0){if(!isInstrumentable(obj))return obj;let{mutate=!1,path=[]}=options,keys=options.getKeys?options.getKeys(obj,depth):Object.keys(obj);return depth+=1,keys.reduce(((acc,key)=>{let descriptor=function getPropertyDescriptor(obj,propName){let target=obj;for(;null!=target;){let descriptor=Object.getOwnPropertyDescriptor(target,propName);if(descriptor)return descriptor;target=Object.getPrototypeOf(target)}}(obj,key);if("function"==typeof descriptor?.get){let getter=()=>descriptor?.get?.bind(obj)?.();return Object.defineProperty(acc,key,{get:()=>this.instrument(getter(),{...options,path:path.concat(key)},depth)}),acc}let value=obj[key];return"function"!=typeof value?(acc[key]=this.instrument(value,{...options,path:path.concat(key)},depth),acc):"__originalFn__"in value&&"function"==typeof value.__originalFn__?(acc[key]=value,acc):(acc[key]=(...args)=>this.track(key,value,obj,args,options),acc[key].__originalFn__=value,Object.defineProperty(acc[key],"name",{value:key,writable:!1}),Object.keys(value).length>0&&Object.assign(acc[key],this.instrument({...value},{...options,path:path.concat(key)},depth)),acc)}),mutate?obj:(obj=>{try{return new obj.constructor}catch{return{}}})(obj))}track(method,fn,object,args,options){let storyId=args?.[0]?.__storyId__||_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor,ancestors}=this.getState(storyId);this.setState(storyId,{cursor:cursor+1});let id=`${ancestors.slice(-1)[0]||storyId} [${cursor}] ${method}`,{path=[],intercept=!1,retain=!1}=options,interceptable="function"==typeof intercept?intercept(method,path):intercept,call={id,cursor,storyId,ancestors,path,method,args,interceptable,retain},result=(interceptable&&!ancestors.length?this.intercept:this.invoke).call(this,fn,object,call,options);return this.instrument(result,{...options,mutate:!0,path:[{__callId__:call.id}]})}intercept(fn,object,call,options){let{chainedCallIds,isDebugging,playUntil}=this.getState(call.storyId),isChainedUpon=chainedCallIds.has(call.id);return!isDebugging||isChainedUpon||playUntil?(playUntil===call.id&&this.setState(call.storyId,{playUntil:void 0}),this.invoke(fn,object,call,options)):new Promise((resolve=>{this.setState(call.storyId,(({resolvers})=>({isLocked:!1,resolvers:{...resolvers,[call.id]:resolve}})))})).then((()=>(this.setState(call.storyId,(state=>{let{[call.id]:_,...resolvers}=state.resolvers;return{isLocked:!0,resolvers}})),this.invoke(fn,object,call,options))))}invoke(fn,object,call,options){let{callRefsByResult,renderPhase}=this.getState(call.storyId),serializeValues=value=>{if(callRefsByResult.has(value))return callRefsByResult.get(value);if(value instanceof Array)return value.map(serializeValues);if(value instanceof Date)return{__date__:{value:value.toISOString()}};if(value instanceof Error){let{name,message,stack}=value;return{__error__:{name,message,stack}}}if(value instanceof RegExp){let{flags,source}=value;return{__regexp__:{flags,source}}}if(value instanceof _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.HTMLElement){let{prefix,localName,id,classList,innerText}=value;return{__element__:{prefix,localName,id,classNames:Array.from(classList),innerText}}}return"function"==typeof value?{__function__:{name:"getMockName"in value?value.getMockName():value.name}}:"symbol"==typeof value?{__symbol__:{description:value.description}}:"object"==typeof value&&value?.constructor?.name&&"Object"!==value?.constructor?.name?{__class__:{name:value.constructor.name}}:"[object Object]"===Object.prototype.toString.call(value)?Object.fromEntries(Object.entries(value).map((([key,val])=>[key,serializeValues(val)]))):value},info={...call,args:call.args.map(serializeValues)};call.path.forEach((ref=>{ref?.__callId__&&this.setState(call.storyId,(({chainedCallIds})=>({chainedCallIds:new Set(Array.from(chainedCallIds).concat(ref.__callId__))})))}));let handleException=e=>{if(e instanceof Error){let{name,message,stack,callId=call.id}=e,{showDiff,diff:diff2,actual,expected}="AssertionError"===e.name?processError(e):e,exception={name,message,stack,callId,showDiff,diff:diff2,actual,expected};if(this.update({...info,status:"error",exception}),this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[e,{__callId__:call.id,retain:call.retain}]])}))),call.ancestors.length)throw Object.prototype.hasOwnProperty.call(e,"callId")||Object.defineProperty(e,"callId",{value:call.id}),e}throw e};try{if("played"===renderPhase&&!call.retain)throw alreadyCompletedException;let finalArgs=(options.getArgs?options.getArgs(call,this.getState(call.storyId)):call.args).map((arg=>"function"!=typeof arg||Object.keys(arg).length?arg:(...args)=>{let{cursor,ancestors}=this.getState(call.storyId);this.setState(call.storyId,{cursor:0,ancestors:[...ancestors,call.id]});let restore=()=>this.setState(call.storyId,{cursor,ancestors}),willRestore=!1;try{let res=arg(...args);return res instanceof Promise?(willRestore=!0,res.finally(restore)):res}finally{willRestore||restore()}})),result=fn.apply(object,finalArgs);return result&&["object","function","symbol"].includes(typeof result)&&this.setState(call.storyId,(state=>({callRefsByResult:new Map([...Array.from(state.callRefsByResult.entries()),[result,{__callId__:call.id,retain:call.retain}]])}))),this.update({...info,status:result instanceof Promise?"active":"done"}),result instanceof Promise?result.then((value=>(this.update({...info,status:"done"}),value)),handleException):result}catch(e){return handleException(e)}}update(call){this.channel.emit(EVENTS_CALL,call),this.setState(call.storyId,(({calls})=>{let callsById=calls.concat(call).reduce(((a,c)=>Object.assign(a,{[c.id]:c})),{});return{calls:Object.values(callsById).sort(((a,b)=>a.id.localeCompare(b.id,void 0,{numeric:!0})))}})),this.sync(call.storyId)}sync(storyId){let synchronize=()=>{let{isLocked,isPlaying}=this.getState(storyId),logItems=this.getLog(storyId),pausedAt=logItems.filter((({ancestors})=>!ancestors.length)).find((item=>"waiting"===item.status))?.callId,hasActive=logItems.some((item=>"active"===item.status));if(isLocked||hasActive||0===logItems.length){let payload2={controlStates:controlsDisabled,logItems};return void this.channel.emit(EVENTS_SYNC,payload2)}let hasPrevious=logItems.some((item=>"done"===item.status||"error"===item.status)),payload={controlStates:{start:hasPrevious,back:hasPrevious,goto:!0,next:isPlaying,end:isPlaying},logItems,pausedAt};this.channel.emit(EVENTS_SYNC,payload)};this.setState(storyId,(({syncTimeout})=>(clearTimeout(syncTimeout),{syncTimeout:setTimeout(synchronize,0)})))}};function instrument(obj,options={}){try{let forceInstrument=!1,skipInstrument=!1;return _storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.location?.search?.includes("instrument=true")?forceInstrument=!0:_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.location?.search?.includes("instrument=false")&&(skipInstrument=!0),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.parent===_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window&&!forceInstrument||skipInstrument?obj:(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__||(_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new Instrumenter),_storybook_global__WEBPACK_IMPORTED_MODULE_3__.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__.instrument(obj,options))}catch(e){return _storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.once.warn(e),obj}}},"../../node_modules/@storybook/test/dist/index.mjs":(module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{ZT:()=>isMockFunction,fn:()=>fn});var _storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("../../node_modules/@storybook/instrumenter/dist/index.mjs"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/client-logger");module=__webpack_require__.hmd(module);var process=__webpack_require__("../../node_modules/process/browser.js"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__require=__webpack_require__("../../node_modules/@storybook/test/dist sync recursive"),__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0})},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod)),require_assertion_error=__commonJS({"../../node_modules/assertion-error/index.js"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach((function(key){~excludes.indexOf(key)||(res[key]=obj[key])}))}return function(){for(var args=[].slice.call(arguments),i=0,res={};i"u"||null===obj)&&name in Object(obj)}function parsePath(path){return path.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map((function(value){if("constructor"===value||"__proto__"===value||"prototype"===value)return{};var mArr=/^\[(\d+)\]$/.exec(value);return mArr?{i:parseFloat(mArr[1])}:{p:value.replace(/\\([.[\]])/g,"$1")}}))}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>"u"?parsed.length:pathDepth;for(var i=0;i"u"?temporaryValue[part.i]:temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue))}return res}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}module2.exports={hasProperty,getPathInfo,getPathValue:function getPathValue(obj,path){return getPathInfo(obj,path).value},setPathValue:function setPathValue(obj,path,val){return function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i"u"?part.i:part.p]=val;else if(typeof part.p<"u"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<"u"&&tempObj[part.i])tempObj=tempObj[part.i];else{var next=parsed[i+1];propName=typeof part.p>"u"?part.i:part.p,propVal=typeof next.p>"u"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName]}}}(obj,val,parsePath(path)),obj}}}}),require_flag=__commonJS({"../../node_modules/chai/lib/chai/utils/flag.js"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(3!==arguments.length)return flags[key];flags[key]=value}}}),require_test=__commonJS({"../../node_modules/chai/lib/chai/utils/test.js"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,"negate"),expr=args[0];return negate?!expr:expr}}}),require_type_detect=__commonJS({"../../node_modules/type-detect/type-detect.js"(exports,module2){var global2,factory;global2=exports,factory=function(){var promiseExists="function"==typeof Promise,globalObject="object"==typeof self?self:__webpack_require__.g,symbolExists=typeof Symbol<"u",mapExists=typeof Map<"u",setExists=typeof Set<"u",weakMapExists=typeof WeakMap<"u",weakSetExists=typeof WeakSet<"u",dataViewExists=typeof DataView<"u",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<"u",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<"u",setEntriesExists=setExists&&"function"==typeof Set.prototype.entries,mapEntriesExists=mapExists&&"function"==typeof Map.prototype.entries,setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf((new Set).entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf((new Map).entries()),arrayIteratorExists=symbolIteratorExists&&"function"==typeof Array.prototype[Symbol.iterator],arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&"function"==typeof String.prototype[Symbol.iterator],stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(""[Symbol.iterator]());return function typeDetect(obj){var typeofObj=typeof obj;if("object"!==typeofObj)return typeofObj;if(null===obj)return"null";if(obj===globalObject)return"global";if(Array.isArray(obj)&&(!1===symbolToStringTagExists||!(Symbol.toStringTag in obj)))return"Array";if("object"==typeof window&&null!==window){if("object"==typeof window.location&&obj===window.location)return"Location";if("object"==typeof window.document&&obj===window.document)return"Document";if("object"==typeof window.navigator){if("object"==typeof window.navigator.mimeTypes&&obj===window.navigator.mimeTypes)return"MimeTypeArray";if("object"==typeof window.navigator.plugins&&obj===window.navigator.plugins)return"PluginArray"}if(("function"==typeof window.HTMLElement||"object"==typeof window.HTMLElement)&&obj instanceof window.HTMLElement){if("BLOCKQUOTE"===obj.tagName)return"HTMLQuoteElement";if("TD"===obj.tagName)return"HTMLTableDataCellElement";if("TH"===obj.tagName)return"HTMLTableHeaderCellElement"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if("string"==typeof stringTag)return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?"RegExp":objPrototype===Date.prototype?"Date":promiseExists&&objPrototype===Promise.prototype?"Promise":setExists&&objPrototype===Set.prototype?"Set":mapExists&&objPrototype===Map.prototype?"Map":weakSetExists&&objPrototype===WeakSet.prototype?"WeakSet":weakMapExists&&objPrototype===WeakMap.prototype?"WeakMap":dataViewExists&&objPrototype===DataView.prototype?"DataView":mapExists&&objPrototype===mapIteratorPrototype?"Map Iterator":setExists&&objPrototype===setIteratorPrototype?"Set Iterator":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?"Array Iterator":stringIteratorExists&&objPrototype===stringIteratorPrototype?"String Iterator":null===objPrototype?"Object":Object.prototype.toString.call(obj).slice(8,-1)}},"object"==typeof exports&&typeof module2<"u"?module2.exports=factory():"function"==typeof define&&__webpack_require__.amdO?define(factory):global2.typeDetect=factory()}}),require_expectTypes=__commonJS({"../../node_modules/chai/lib/chai/utils/expectTypes.js"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,"message"),ssfi=flag(obj,"ssfi");flagMsg=flagMsg?flagMsg+": ":"",obj=flag(obj,"object"),(types=types.map((function(t){return t.toLowerCase()}))).sort();var str=types.map((function(t,index){var art=~["a","e","i","o","u"].indexOf(t.charAt(0))?"an":"a";return(types.length>1&&index===types.length-1?"or ":"")+art+" "+t})).join(", "),objType=type3(obj).toLowerCase();if(!types.some((function(expected){return objType===expected})))throw new AssertionError2(flagMsg+"object tested must be "+str+", but "+objType+" given",void 0,ssfi)}}}),require_getActual=__commonJS({"../../node_modules/chai/lib/chai/utils/getActual.js"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj}}}),require_get_func_name=__commonJS({"../../node_modules/get-func-name/index.js"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/;module2.exports=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name}}}),require_loupe=__commonJS({"../../node_modules/loupe/loupe.js"(exports,module2){var global2,factory;global2=exports,factory=function(exports2){function _typeof5(obj){return(_typeof5="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(arr)){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i2&&void 0!==arguments[2]?arguments[2]:"…";string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?"".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&void 0!==arguments[3]?arguments[3]:", ";inspectItem=inspectItem||options.inspect;var size=list.length;if(0===size)return"";for(var originalLength=options.truncate,output="",peek="",truncated="",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?"":inspectItem(list[i+1],options)+(secondToLast?"":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated="".concat("…","(").concat(list.length-i-1,")");break}truncated=""}return"".concat(output).concat(truncated)}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,"string"==typeof key?key=function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}(key):"number"!=typeof key&&(key="[".concat(options.inspect(key,options),"]")),options.truncate-=key.length,value=options.inspect(value,options),"".concat(key,": ").concat(value)}var toString=Function.prototype.toString,functionNameMatch=/\s*function(?:\s|\s*\/\*[^(?:*\/)]+\*\/\s*)*([^\s\(\/]+)/,getFuncName_1=function getFuncName(aFunc){if("function"!=typeof aFunc)return null;var name="";if(typeof Function.prototype.name>"u"&&typeof aFunc.name>"u"){var functionSource=toString.call(aFunc);if(functionSource.indexOf("(")>512)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1])}else name=aFunc.name;return name};function inspectTypedArray(array,options){var name=function(array){return"function"==typeof Buffer&&array instanceof Buffer?"Buffer":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)}(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"".concat(name,"[]");for(var output="",i=0;i ").concat(value)}var isNaN2=Number.isNaN||function(i){return i!=i};function inspectNumber(number,options){return isNaN2(number)?options.stylize("NaN","number"):number===1/0?options.stylize("Infinity","number"):number===-1/0?options.stylize("-Infinity","number"):0===number?options.stylize(1/number==1/0?"+0":"-0","number"):options.stylize(truncate(number,options.truncate),"number")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return"…"!==nums&&(nums+="n"),options.stylize(nums,"bigint")}var stringEscapeChars=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),escapeCharacters={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"};function escape2(char){return escapeCharacters[char]||"\\u".concat("0000".concat(char.charCodeAt(0).toString(16)).slice(-4))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize("'".concat(truncate(string2,options.truncate-2),"'"),"string")}function inspectSymbol(value){return"description"in Symbol.prototype?value.description?"Symbol(".concat(value.description,")"):"Symbol()":value.toString()}var getPromiseValue=function(){return"Promise{…}"};try{var _process$binding=process.binding("util"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails2=_slicedToArray(getPromiseDetails(value),2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?"Promise{}":"Promise".concat(state===kRejected?"!":"","{").concat(options.inspect(innerValue,options),"}")})}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(0===properties.length&&0===symbols.length)return"{}";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return"[Circular]";options.seen.push(object);var propertyContents=inspectList(properties.map((function(key){return[key,object[key]]})),options,inspectProperty),symbolContents=inspectList(symbols.map((function(key){return[key,object[key]]})),options,inspectProperty);options.seen.pop();var sep="";return propertyContents&&symbolContents&&(sep=", "),"{ ".concat(propertyContents).concat(sep).concat(symbolContents," }")}var toStringTag=!!(typeof Symbol<"u"&&Symbol.toStringTag)&&Symbol.toStringTag,errorKeys=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?"".concat(options.stylize(key,"yellow"),"=").concat(options.stylize('"'.concat(value,'"'),"string")):"".concat(options.stylize(key,"yellow"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,"\n")}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize("<".concat(name),"special"),headClose=options.stylize(">","special"),tail=options.stylize(""),"special");options.truncate-=2*name.length+5;var propertyContents="";properties.length>0&&(propertyContents+=" ",propertyContents+=inspectList(properties.map((function(key){return[key,element.getAttribute(key)]})),options,inspectAttribute," ")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children="".concat("…","(").concat(element.children.length,")")),"".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var chaiInspect="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("chai/inspect"):"@@chai/inspect",nodeInspect=!1;try{var nodeUtil=__require("util");nodeInspect=!!nodeUtil.inspect&&nodeUtil.inspect.custom}catch{nodeInspect=!1}function FakeMap(){this.key="chai/loupe__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0})}};var constructorMap=new("function"==typeof WeakMap?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize("undefined","undefined")},null:function(value,options){return options.stylize(null,"null")},boolean:function(value,options){return options.stylize(value,"boolean")},Boolean:function(value,options){return options.stylize(value,"boolean")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return"[]";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents="";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map((function(key){return[key,array[key]]})),options,inspectProperty)),"[ ".concat(listContents).concat(propertyContents?", ".concat(propertyContents):""," ]")},Date:function inspectDate(dateObject,options){var stringRepresentation=dateObject.toJSON();if(null===stringRepresentation)return"Invalid Date";var split=stringRepresentation.split("T"),date=split[0];return options.stylize("".concat(date,"T").concat(truncate(split[1],options.truncate-date.length-1)),"date")},Map:function inspectMap(map,options){return map.size-1<=0?"Map{}":(options.truncate-=7,"Map{ ".concat(inspectList(function mapToEntries(map){var entries=[];return map.forEach((function(value,key){entries.push([key,value])})),entries}(map),options,inspectMapEntry)," }"))},Set:function inspectSet(set,options){return 0===set.size?"Set{}":(options.truncate-=7,"Set{ ".concat(inspectList(function arrayFromSet(set){var values=[];return set.forEach((function(value){values.push(value)})),values}(set),options)," }"))},RegExp:function inspectRegExp(value,options){var flags=value.toString().split("/")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize("/".concat(truncate(source,sourceLength),"/").concat(flags),"regexp")},Promise:inspectPromise,WeakSet:function(value,options){return options.stylize("WeakSet{…}","special")},WeakMap:function(value,options){return options.stylize("WeakMap{…}","special")},Arguments:function inspectArguments(args,options){return 0===args.length?"Arguments[]":(options.truncate-=13,"Arguments[ ".concat(inspectList(args,options)," ]"))},Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return""},DataView:function(){return""},ArrayBuffer:function(){return""},Error:function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter((function(key){return-1===errorKeys.indexOf(key)})),name=error.name;options.truncate-=name.length;var message="";"string"==typeof error.message?message=truncate(error.message,options.truncate):properties.unshift("message"),message=message?": ".concat(message):"",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map((function(key){return[key,error[key]]})),options,inspectProperty);return"".concat(name).concat(message).concat(propertyContents?" { ".concat(propertyContents," }"):"")},HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},toString$1=Object.prototype.toString;function inspect3(value,options){options=function normaliseOptions(){var _ref=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=void 0!==_ref$showHidden&&_ref$showHidden,_ref$depth=_ref.depth,depth=void 0===_ref$depth?2:_ref$depth,_ref$colors=_ref.colors,colors=void 0!==_ref$colors&&_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=void 0===_ref$customInspect||_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=void 0!==_ref$showProxy&&_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=void 0===_ref$maxArrayLength?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=void 0===_ref$breakLength?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=void 0===_ref$seen?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=void 0===_ref$truncate?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=void 0===_ref$stylize?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}(options),options.inspect=inspect3;var customInspect=options.customInspect,type3=null===value?"null":_typeof5(value);if("object"===type3&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=function(value,options,type3){return chaiInspect in value&&"function"==typeof value[chaiInspect]?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&"function"==typeof value[nodeInspect]?value[nodeInspect](options.depth,options):"inspect"in value&&"function"==typeof value.inspect?value.inspect(options.depth,options):"constructor"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):""}(value,options,type3);if(output)return"string"==typeof output?output:inspect3(output,options)}var proto=!!value&&Object.getPrototypeOf(value);return proto===Object.prototype||null===proto?inspectObject(value,options):value&&"function"==typeof HTMLElement&&value instanceof HTMLElement?inspectHTML(value,options):"constructor"in value?value.constructor!==Object?function inspectClass(value,options){var name="";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),(!(name=name||getFuncName_1(value.constructor))||"_class"===name)&&(name=""),options.truncate-=name.length,"".concat(name).concat(inspectObject(value,options))}(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=function registerConstructor(constructor,inspector){return!constructorMap.has(constructor)&&(constructorMap.set(constructor,inspector),!0)},exports2.registerStringTag=function registerStringTag(stringTag,inspector){return!(stringTag in stringTagMap)&&(stringTagMap[stringTag]=inspector,!0)},Object.defineProperty(exports2,"__esModule",{value:!0})},"object"==typeof exports&&typeof module2<"u"?factory(exports):"function"==typeof define&&__webpack_require__.amdO?define(["exports"],factory):factory((global2=typeof globalThis<"u"?globalThis:global2||self).loupe={})}}),require_config=__commonJS({"../../node_modules/chai/lib/chai/config.js"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null}}}),require_inspect=__commonJS({"../../node_modules/chai/lib/chai/utils/inspect.js"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>"u"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}}),require_objDisplay=__commonJS({"../../node_modules/chai/lib/chai/utils/objDisplay.js"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if("[object Function]"===type3)return obj.name&&""!==obj.name?"[Function: "+obj.name+"]":"[Function]";if("[object Array]"===type3)return"[ Array("+obj.length+") ]";if("[object Object]"===type3){var keys2=Object.keys(obj);return"{ Object ("+(keys2.length>2?keys2.splice(0,2).join(", ")+", ...":keys2.join(", "))+") }"}return str}return str}}}),require_getMessage=__commonJS({"../../node_modules/chai/lib/chai/utils/getMessage.js"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,"negate"),val=flag(obj,"object"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,"message");return"function"==typeof msg&&(msg=msg()),msg=(msg=msg||"").replace(/#\{this\}/g,(function(){return objDisplay2(val)})).replace(/#\{act\}/g,(function(){return objDisplay2(actual)})).replace(/#\{exp\}/g,(function(){return objDisplay2(expected)})),flagMsg?flagMsg+": "+msg:msg}}}),require_transferFlags=__commonJS({"../../node_modules/chai/lib/chai/utils/transferFlags.js"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));for(var flag in object.__flags||(object.__flags=Object.create(null)),includeAll=3!==arguments.length||includeAll,flags)(includeAll||"object"!==flag&&"ssfi"!==flag&&"lockSsfi"!==flag&&"message"!=flag)&&(object.__flags[flag]=flags[flag])}}}),require_deep_eql=__commonJS({"../../node_modules/deep-eql/index.js"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key="chai/deep-eql__"+Math.random()+Date.now()}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0})}};var MemoizeMap="function"==typeof WeakMap?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if("boolean"==typeof result)return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(memoizeMap&&!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):((leftHandMap=new MemoizeMap).set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap))}}function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return null!==simpleResult?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?0!==leftHandOperand||1/leftHandOperand==1/rightHandOperand:leftHandOperand!=leftHandOperand&&rightHandOperand!=rightHandOperand||!isPrimitive2(leftHandOperand)&&!isPrimitive2(rightHandOperand)&&null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){(options=options||{}).memoize=!1!==options.memoize&&(options.memoize||new MemoizeMap);var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(null!==memoizeResultLeft)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(null!==memoizeResultRight)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(!1===comparatorResult||!0===comparatorResult)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(null!==simpleResult)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case"String":case"Number":case"Boolean":case"Date":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return leftHandOperand===rightHandOperand;case"Error":return keysEqual(leftHandOperand,rightHandOperand,["name","message","code"],options);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return iterableEqual(leftHandOperand,rightHandOperand,options);case"RegExp":return function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}(leftHandOperand,rightHandOperand);case"Generator":return function generatorEqual(leftHandOperand,rightHandOperand,options){return iterableEqual(getGeneratorEntries(leftHandOperand),getGeneratorEntries(rightHandOperand),options)}(leftHandOperand,rightHandOperand,options);case"DataView":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case"ArrayBuffer":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case"Set":case"Map":return entriesEqual(leftHandOperand,rightHandOperand,options);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return leftHandOperand.equals(rightHandOperand);case"Temporal.Duration":return leftHandOperand.total("nanoseconds")===rightHandOperand.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return leftHandOperand.toString()===rightHandOperand.toString();default:return function objectEqual(leftHandOperand,rightHandOperand,options){var leftHandKeys=getEnumerableKeys(leftHandOperand),rightHandKeys=getEnumerableKeys(rightHandOperand),leftHandSymbols=getEnumerableSymbols(leftHandOperand),rightHandSymbols=getEnumerableSymbols(rightHandOperand);if(leftHandKeys=leftHandKeys.concat(leftHandSymbols),rightHandKeys=rightHandKeys.concat(rightHandSymbols),leftHandKeys.length&&leftHandKeys.length===rightHandKeys.length)return!1!==iterableEqual(mapSymbols(leftHandKeys).sort(),mapSymbols(rightHandKeys).sort())&&keysEqual(leftHandOperand,rightHandOperand,leftHandKeys,options);var leftHandEntries=getIteratorEntries(leftHandOperand),rightHandEntries=getIteratorEntries(rightHandOperand);return leftHandEntries.length&&leftHandEntries.length===rightHandEntries.length?(leftHandEntries.sort(),rightHandEntries.sort(),iterableEqual(leftHandEntries,rightHandEntries,options)):0===leftHandKeys.length&&0===leftHandEntries.length&&0===rightHandKeys.length&&0===rightHandEntries.length}(leftHandOperand,rightHandOperand,options)}}(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return!1;if(0===leftHandOperand.size)return!0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach((function(key,value){leftHandItems.push([key,value])})),rightHandOperand.forEach((function(key,value){rightHandItems.push([key,value])})),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return!1;if(0===length)return!0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap?memo[i][j]=cap:memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1))}return memo[strA.length][strB.length]}(property,prop,suggestionDistance);dist1&&numErrs===props.length)throw firstErr;return}this.assert(included,"expected #{this} to "+descriptor+"include "+_.inspect(val),"expected #{this} to not "+descriptor+"include "+_.inspect(val))}function assertExist(){var val=flag(this,"object");this.assert(null!=val,"expected #{this} to exist","expected #{this} to not exist")}function checkArguments(){var obj=flag(this,"object"),type3=_.type(obj);this.assert("Arguments"===type3,"expected #{this} to be arguments but got "+type3,"expected #{this} to not be arguments")}function assertEqual(val,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");if(flag(this,"deep")){var prevLockSsfi=flag(this,"lockSsfi");flag(this,"lockSsfi",!0),this.eql(val),flag(this,"lockSsfi",prevLockSsfi)}else this.assert(val===obj,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",val,this._obj,!0)}function assertEql(obj,msg){msg&&flag(this,"message",msg);var eql=flag(this,"eql");this.assert(eql(obj,flag(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",obj,this._obj,!0)}function assertAbove(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to above must be a number";else errorMessage=msgPrefix+"the argument to above must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,"expected #{this} to have a "+descriptor+" above #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" above #{exp}",n,itemsCount)}else this.assert(obj>n,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",n)}function assertLeast(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to least must be a number";else errorMessage=msgPrefix+"the argument to least must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,"expected #{this} to have a "+descriptor+" at least #{exp} but got #{act}","expected #{this} to have a "+descriptor+" below #{exp}",n,itemsCount)}else this.assert(obj>=n,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",n)}function assertBelow(n,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),shouldThrow=!0;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===nType)if("number"===nType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the argument to below must be a number";else errorMessage=msgPrefix+"the argument to below must be a date";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCountval1===val2,descriptor="";isDeep&&(descriptor+="deep "),isOwn&&(descriptor+="own "),isNested&&(descriptor+="nested "),descriptor+="property ",hasProperty=isOwn?Object.prototype.hasOwnProperty.call(obj,name):isNested?pathInfo.exists:_.hasProperty(obj,name),(!negate||1===arguments.length)&&this.assert(hasProperty,"expected #{this} to have "+descriptor+_.inspect(name),"expected #{this} to not have "+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),"expected #{this} to have "+descriptor+_.inspect(name)+" of #{exp}, but got #{act}","expected #{this} to not have "+descriptor+_.inspect(name)+" of #{act}",val,value),flag(this,"object",value)}function assertOwnProperty(name,value,msg){flag(this,"own",!0),assertProperty.apply(this,arguments)}function assertOwnPropertyDescriptor(name,descriptor,msg){"string"==typeof descriptor&&(msg=descriptor,descriptor=null),msg&&flag(this,"message",msg);var obj=flag(this,"object"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,"eql");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to match "+_.inspect(descriptor)+", got "+_.inspect(actualDescriptor),"expected the own property descriptor for "+_.inspect(name)+" on #{this} to not match "+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,"expected #{this} to have an own property descriptor for "+_.inspect(name),"expected #{this} to not have an own property descriptor for "+_.inspect(name)),flag(this,"object",actualDescriptor)}function assertLengthChain(){flag(this,"doLength",!0)}function assertLength(n,msg){msg&&flag(this,"message",msg);var itemsCount,obj=flag(this,"object"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),descriptor="length";switch(objType){case"map":case"set":descriptor="size",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),itemsCount=obj.length}this.assert(itemsCount==n,"expected #{this} to have a "+descriptor+" of #{exp} but got #{act}","expected #{this} to not have a "+descriptor+" of #{act}",n,itemsCount)}function assertMatch(re,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object");this.assert(re.exec(obj),"expected #{this} to match "+re,"expected #{this} not to match "+re)}function assertKeys(keys2){var str,actual,obj=flag(this,"object"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,"ssfi"),isDeep=flag(this,"deep"),deepStr="",ok=!0,flagMsg=flag(this,"message"),mixedArgsMsg=(flagMsg=flagMsg?flagMsg+": ":"")+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if("Map"===objType||"Set"===objType)deepStr=isDeep?"deeply ":"",actual=[],obj.forEach((function(val,key){actual.push(key)})),"Array"!==keysType&&(keys2=Array.prototype.slice.call(arguments));else{switch(actual=_.getOwnEnumerableProperties(obj),keysType){case"Array":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case"Object":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments)}keys2=keys2.map((function(val){return"symbol"==typeof val?val:String(val)}))}if(!keys2.length)throw new AssertionError2(flagMsg+"keys required",void 0,ssfi);var len=keys2.length,any=flag(this,"any"),all=flag(this,"all"),expected=keys2,isEql=isDeep?flag(this,"eql"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))}))),all&&(ok=expected.every((function(expectedKey){return actual.some((function(actualKey){return isEql(expectedKey,actualKey)}))})),flag(this,"contains")||(ok=ok&&keys2.length==actual.length)),len>1){var last=(keys2=keys2.map((function(key){return _.inspect(key)}))).pop();all&&(str=keys2.join(", ")+", and "+last),any&&(str=keys2.join(", ")+", or "+last)}else str=_.inspect(keys2[0]);str=(len>1?"keys ":"key ")+str,str=(flag(this,"contains")?"contain ":"have ")+str,this.assert(ok,"expected #{this} to "+deepStr+str,"expected #{this} to not "+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0)}function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,"message",msg);var caughtErr,obj=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message"),negate=flag(this,"negate")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a("function"),(errorLike instanceof RegExp||"string"==typeof errorLike)&&(errMsgMatcher=errorLike,errorLike=null);try{obj()}catch(err){caughtErr=err}var everyArgIsUndefined=void 0===errorLike&&void 0===errMsgMatcher,everyArgIsDefined=!(!errorLike||!errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString="an error";errorLike instanceof Error?errorLikeString="#{exp}":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,"expected #{this} to throw "+errorLikeString,"expected #{this} to not throw an error but #{act} was thrown",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():"string"==typeof caughtErr?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr))}if(errorLike&&caughtErr){if(errorLike instanceof Error)_.checkError.compatibleInstance(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr&&!negate?" but #{act} was thrown":""),errorLike.toString(),caughtErr.toString()));_.checkError.compatibleConstructor(caughtErr,errorLike)===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)))}if(caughtErr&&null!=errMsgMatcher){var placeholder="including";errMsgMatcher instanceof RegExp&&(placeholder="matching"),_.checkError.compatibleMessage(caughtErr,errMsgMatcher)===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,"expected #{this} to throw error "+placeholder+" #{exp} but got #{act}","expected #{this} to throw error not "+placeholder+" #{exp}",errMsgMatcher,_.checkError.getMessage(caughtErr)))}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(caughtErr?" but #{act} was thrown":""),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,"object",caughtErr)}function respondTo(method,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),itself=flag(this,"itself"),context="function"!=typeof obj||itself?obj[method]:obj.prototype[method];this.assert("function"==typeof context,"expected #{this} to respond to "+_.inspect(method),"expected #{this} to not respond to "+_.inspect(method))}function satisfy(matcher,msg){msg&&flag(this,"message",msg);var result=matcher(flag(this,"object"));this.assert(result,"expected #{this} to satisfy "+_.objDisplay(matcher),"expected #{this} to not satisfy"+_.objDisplay(matcher),!flag(this,"negate"),result)}function closeTo(expected,delta,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a("number"),"number"!=typeof expected||"number"!=typeof delta)throw new AssertionError2((flagMsg=flagMsg?flagMsg+": ":"")+"the arguments to closeTo or approximately must be numbers"+(void 0===delta?", and a delta is required":""),void 0,ssfi);this.assert(Math.abs(obj-expected)<=delta,"expected #{this} to be close to "+expected+" +/- "+delta,"expected #{this} not to be close to "+expected+" +/- "+delta)}function assertChanges(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","change"),flag(this,"realDelta",final!==initial),this.assert(initial!==final,"expected "+msgObj+" to change","expected "+msgObj+" to not change")}function assertIncreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","increase"),flag(this,"realDelta",final-initial),this.assert(final-initial>0,"expected "+msgObj+" to increase","expected "+msgObj+" to not increase")}function assertDecreases(subject,prop,msg){msg&&flag(this,"message",msg);var initial,fn2=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(fn2,flagMsg,ssfi,!0).is.a("function"),prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a("function"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a("number"),fn2();var final=null==prop?subject():subject[prop],msgObj=null==prop?initial:"."+prop;flag(this,"deltaMsgObj",msgObj),flag(this,"initialDeltaValue",initial),flag(this,"finalDeltaValue",final),flag(this,"deltaBehavior","decrease"),flag(this,"realDelta",initial-final),this.assert(final-initial<0,"expected "+msgObj+" to decrease","expected "+msgObj+" to not decrease")}["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach((function(chain){Assertion2.addProperty(chain)})),Assertion2.addProperty("not",(function(){flag(this,"negate",!0)})),Assertion2.addProperty("deep",(function(){flag(this,"deep",!0)})),Assertion2.addProperty("nested",(function(){flag(this,"nested",!0)})),Assertion2.addProperty("own",(function(){flag(this,"own",!0)})),Assertion2.addProperty("ordered",(function(){flag(this,"ordered",!0)})),Assertion2.addProperty("any",(function(){flag(this,"any",!0),flag(this,"all",!1)})),Assertion2.addProperty("all",(function(){flag(this,"all",!0),flag(this,"any",!1)})),Assertion2.addChainableMethod("an",an),Assertion2.addChainableMethod("a",an),Assertion2.addChainableMethod("include",include,includeChainingBehavior),Assertion2.addChainableMethod("contain",include,includeChainingBehavior),Assertion2.addChainableMethod("contains",include,includeChainingBehavior),Assertion2.addChainableMethod("includes",include,includeChainingBehavior),Assertion2.addProperty("ok",(function(){this.assert(flag(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")})),Assertion2.addProperty("true",(function(){this.assert(!0===flag(this,"object"),"expected #{this} to be true","expected #{this} to be false",!flag(this,"negate"))})),Assertion2.addProperty("false",(function(){this.assert(!1===flag(this,"object"),"expected #{this} to be false","expected #{this} to be true",!!flag(this,"negate"))})),Assertion2.addProperty("null",(function(){this.assert(null===flag(this,"object"),"expected #{this} to be null","expected #{this} not to be null")})),Assertion2.addProperty("undefined",(function(){this.assert(void 0===flag(this,"object"),"expected #{this} to be undefined","expected #{this} not to be undefined")})),Assertion2.addProperty("NaN",(function(){this.assert(_.isNaN(flag(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")})),Assertion2.addProperty("exist",assertExist),Assertion2.addProperty("exists",assertExist),Assertion2.addProperty("empty",(function(){var itemsCount,val=flag(this,"object"),ssfi=flag(this,"ssfi"),flagMsg=flag(this,"message");switch(flagMsg=flagMsg?flagMsg+": ":"",_.type(val).toLowerCase()){case"array":case"string":itemsCount=val.length;break;case"map":case"set":itemsCount=val.size;break;case"weakmap":case"weakset":throw new AssertionError2(flagMsg+".empty was passed a weak collection",void 0,ssfi);case"function":var msg=flagMsg+".empty was passed a function "+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+".empty was passed non-string primitive "+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length}this.assert(0===itemsCount,"expected #{this} to be empty","expected #{this} not to be empty")})),Assertion2.addProperty("arguments",checkArguments),Assertion2.addProperty("Arguments",checkArguments),Assertion2.addMethod("equal",assertEqual),Assertion2.addMethod("equals",assertEqual),Assertion2.addMethod("eq",assertEqual),Assertion2.addMethod("eql",assertEql),Assertion2.addMethod("eqls",assertEql),Assertion2.addMethod("above",assertAbove),Assertion2.addMethod("gt",assertAbove),Assertion2.addMethod("greaterThan",assertAbove),Assertion2.addMethod("least",assertLeast),Assertion2.addMethod("gte",assertLeast),Assertion2.addMethod("greaterThanOrEqual",assertLeast),Assertion2.addMethod("below",assertBelow),Assertion2.addMethod("lt",assertBelow),Assertion2.addMethod("lessThan",assertBelow),Assertion2.addMethod("most",assertMost),Assertion2.addMethod("lte",assertMost),Assertion2.addMethod("lessThanOrEqual",assertMost),Assertion2.addMethod("within",(function(start,finish,msg){msg&&flag(this,"message",msg);var errorMessage,obj=flag(this,"object"),doLength=flag(this,"doLength"),flagMsg=flag(this,"message"),msgPrefix=flagMsg?flagMsg+": ":"",ssfi=flag(this,"ssfi"),objType=_.type(obj).toLowerCase(),startType=_.type(start).toLowerCase(),finishType=_.type(finish).toLowerCase(),shouldThrow=!0,range="date"===startType&&"date"===finishType?start.toISOString()+".."+finish.toISOString():start+".."+finish;if(doLength&&"map"!==objType&&"set"!==objType&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property("length"),doLength||"date"!==objType||"date"===startType&&"date"===finishType)if("number"===startType&&"number"===finishType||!doLength&&"number"!==objType)if(doLength||"date"===objType||"number"===objType)shouldThrow=!1;else{errorMessage=msgPrefix+"expected "+("string"===objType?"'"+obj+"'":obj)+" to be a number or a date"}else errorMessage=msgPrefix+"the arguments to within must be numbers";else errorMessage=msgPrefix+"the arguments to within must be dates";if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var itemsCount,descriptor="length";"map"===objType||"set"===objType?(descriptor="size",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=start&&itemsCount<=finish,"expected #{this} to have a "+descriptor+" within "+range,"expected #{this} to not have a "+descriptor+" within "+range)}else this.assert(obj>=start&&obj<=finish,"expected #{this} to be within "+range,"expected #{this} to not be within "+range)})),Assertion2.addMethod("instanceof",assertInstanceOf),Assertion2.addMethod("instanceOf",assertInstanceOf),Assertion2.addMethod("property",assertProperty),Assertion2.addMethod("ownProperty",assertOwnProperty),Assertion2.addMethod("haveOwnProperty",assertOwnProperty),Assertion2.addMethod("ownPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addMethod("haveOwnPropertyDescriptor",assertOwnPropertyDescriptor),Assertion2.addChainableMethod("length",assertLength,assertLengthChain),Assertion2.addChainableMethod("lengthOf",assertLength,assertLengthChain),Assertion2.addMethod("match",assertMatch),Assertion2.addMethod("matches",assertMatch),Assertion2.addMethod("string",(function(str,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).is.a("string"),this.assert(~obj.indexOf(str),"expected #{this} to contain "+_.inspect(str),"expected #{this} to not contain "+_.inspect(str))})),Assertion2.addMethod("keys",assertKeys),Assertion2.addMethod("key",assertKeys),Assertion2.addMethod("throw",assertThrows),Assertion2.addMethod("throws",assertThrows),Assertion2.addMethod("Throw",assertThrows),Assertion2.addMethod("respondTo",respondTo),Assertion2.addMethod("respondsTo",respondTo),Assertion2.addProperty("itself",(function(){flag(this,"itself",!0)})),Assertion2.addMethod("satisfy",satisfy),Assertion2.addMethod("satisfies",satisfy),Assertion2.addMethod("closeTo",closeTo),Assertion2.addMethod("approximately",closeTo),Assertion2.addMethod("members",(function(subset,msg){msg&&flag(this,"message",msg);var obj=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an("array"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an("array");var subject,failMsg,failNegateMsg,contains=flag(this,"contains"),ordered=flag(this,"ordered");contains?(failMsg="expected #{this} to be "+(subject=ordered?"an ordered superset":"a superset")+" of #{exp}",failNegateMsg="expected #{this} to not be "+subject+" of #{exp}"):(failMsg="expected #{this} to have the same "+(subject=ordered?"ordered members":"members")+" as #{exp}",failNegateMsg="expected #{this} to not have the same "+subject+" as #{exp}");var cmp=flag(this,"deep")?flag(this,"eql"):void 0;this.assert(function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return!1;superset=superset.slice()}return subset.every((function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return-1!==matchIdx&&(contains||superset.splice(matchIdx,1),!0)}return superset.some((function(elem2,matchIdx2){return!!cmp(elem,elem2)&&(contains||superset.splice(matchIdx2,1),!0)}))}))}(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0)})),Assertion2.addMethod("oneOf",(function oneOf(list,msg){msg&&flag(this,"message",msg);var expected=flag(this,"object"),flagMsg=flag(this,"message"),ssfi=flag(this,"ssfi"),contains=flag(this,"contains"),isDeep=flag(this,"deep"),eql=flag(this,"eql");new Assertion2(list,flagMsg,ssfi,!0).to.be.an("array"),contains?this.assert(list.some((function(possibility){return expected.indexOf(possibility)>-1})),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",list,expected):isDeep?this.assert(list.some((function(possibility){return eql(expected,possibility)})),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",list,expected):this.assert(list.indexOf(expected)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",list,expected)})),Assertion2.addMethod("change",assertChanges),Assertion2.addMethod("changes",assertChanges),Assertion2.addMethod("increase",assertIncreases),Assertion2.addMethod("increases",assertIncreases),Assertion2.addMethod("decrease",assertDecreases),Assertion2.addMethod("decreases",assertDecreases),Assertion2.addMethod("by",(function assertDelta(delta,msg){msg&&flag(this,"message",msg);var expression,msgObj=flag(this,"deltaMsgObj"),initial=flag(this,"initialDeltaValue"),final=flag(this,"finalDeltaValue"),behavior2=flag(this,"deltaBehavior"),realDelta=flag(this,"realDelta");expression="change"===behavior2?Math.abs(final-initial)===Math.abs(delta):realDelta===Math.abs(delta),this.assert(expression,"expected "+msgObj+" to "+behavior2+" by "+delta,"expected "+msgObj+" to not "+behavior2+" by "+delta)})),Assertion2.addProperty("extensible",(function(){var obj=flag(this,"object"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,"expected #{this} to be extensible","expected #{this} to not be extensible")})),Assertion2.addProperty("sealed",(function(){var obj=flag(this,"object"),isSealed=obj!==Object(obj)||Object.isSealed(obj);this.assert(isSealed,"expected #{this} to be sealed","expected #{this} to not be sealed")})),Assertion2.addProperty("frozen",(function(){var obj=flag(this,"object"),isFrozen=obj!==Object(obj)||Object.isFrozen(obj);this.assert(isFrozen,"expected #{this} to be frozen","expected #{this} to not be frozen")})),Assertion2.addProperty("finite",(function(msg){var obj=flag(this,"object");this.assert("number"==typeof obj&&isFinite(obj),"expected #{this} to be a finite number","expected #{this} to not be a finite number")}))}}}),require_expect=__commonJS({"../../node_modules/chai/lib/chai/interface/expect.js"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"expect.fail()",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)}}}}),require_should=__commonJS({"../../node_modules/chai/lib/chai/interface/should.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){Object.defineProperty(Object.prototype,"should",{set:function shouldSetter(value){Object.defineProperty(this,"should",{value,enumerable:!0,configurable:!0,writable:!0})},get:function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||"function"==typeof Symbol&&this instanceof Symbol||"function"==typeof BigInt&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)},configurable:!0});var should2={fail:function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"should.fail()",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},equal:function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2)},Throw:function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.Throw(errt,errs)},exist:function(val,msg){new Assertion2(val,msg).to.exist},not:{}};return should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2)},should2.not.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.not.Throw(errt,errs)},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould}}}),require_assert=__commonJS({"../../node_modules/chai/lib/chai/interface/assert.js"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag,assert2=chai2.assert=function(express,errmsg){new Assertion2(null,null,chai2.assert,!0).assert(express,errmsg,"[ negation message unavailable ]")};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||"assert.fail()",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",exp,act,!0)},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",exp,act,!0)},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp)},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp)},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp)},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp)},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv)},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst)},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw)},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst)},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0)},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1)},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null)},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null)},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0)},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0)},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a("function")},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a("function")},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a("object")},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a("object")},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an("array")},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an("array")},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a("string")},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a("string")},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a("number")},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a("number")},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a("boolean")},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a("boolean")},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3)},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3)},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3)},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3)},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc)},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc)},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc)},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc)},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc)},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc)},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc)},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc)},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc)},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc)},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc)},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc)},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re)},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re)},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop)},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop)},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val)},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val)},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val)},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val)},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop)},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop)},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value)},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value)},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value)},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value)},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop)},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop)},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val)},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val)},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val)},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val)},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len)},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2)},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2)},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2)},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2)},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2)},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2)},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2)},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2)},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2)},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2)},assert2.throws=function(fn2,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn2,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,"object")},assert2.doesNotThrow=function(fn2,errorLike,errMsgMatcher,msg){("string"==typeof errorLike||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn2,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher)},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case"==":ok=val==val2;break;case"===":ok=val===val2;break;case">":ok=val>val2;break;case">=":ok=val>=val2;break;case"<":ok=valcode=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections=__commonJS({"../../node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+="…";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=`,${config3.spacingInner}`}result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let rawKeys=Object.keys(object),keys2=null!==compareKeys?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if("ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}[${(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if("ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue)return++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+" "}{${(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if("StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue)return stringedValue+" "+printer(val.sample,config3,indentation,depth,refs);if("function"!=typeof val.toAsymmetricMatcher)throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_DOMCollection=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?`[${name}]`:(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?`{${(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup=__commonJS({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return`${commentColor.open}\x3c!--${(0,_escapeHTML.default)(comment)}--\x3e${commentColor.close}`};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return`${tagColor.open}<${type3}${tagColor.close} …${tagColor.open} />${tagColor.close}`}}}),require_DOMElement=__commonJS({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>val?.constructor?.name&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val);function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,(attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable=__commonJS({"../../node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`;var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}[${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+" "}{${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`)(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?`${name+" "}{${val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…"}}`:`${name+" "}[${val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…"}]`})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):`${name+" "}{${(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_MODULE_REFERENCE,REACT_ELEMENT_TYPE=Symbol.for("react.element"),REACT_PORTAL_TYPE=Symbol.for("react.portal"),REACT_FRAGMENT_TYPE=Symbol.for("react.fragment"),REACT_STRICT_MODE_TYPE=Symbol.for("react.strict_mode"),REACT_PROFILER_TYPE=Symbol.for("react.profiler"),REACT_PROVIDER_TYPE=Symbol.for("react.provider"),REACT_CONTEXT_TYPE=Symbol.for("react.context"),REACT_SERVER_CONTEXT_TYPE=Symbol.for("react.server_context"),REACT_FORWARD_REF_TYPE=Symbol.for("react.forward_ref"),REACT_SUSPENSE_TYPE=Symbol.for("react.suspense"),REACT_SUSPENSE_LIST_TYPE=Symbol.for("react.suspense_list"),REACT_MEMO_TYPE=Symbol.for("react.memo"),REACT_LAZY_TYPE=Symbol.for("react.lazy"),REACT_OFFSCREEN_TYPE=Symbol.for("react.offscreen");function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}REACT_MODULE_REFERENCE=Symbol.for("react.module.reference");var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isSuspenseList=function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_OFFSCREEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_MODULE_REFERENCE&&void 0===type3.getModuleId))},exports.typeOf=typeOf}()}}),require_react_is=__commonJS({"../../node_modules/pretty-format/node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development()}}),require_ReactElement=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?`ForwardRef(${functionName})`:"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?`Memo(${functionName})`:"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent=__commonJS({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis["jest-symbol-do-not-touch"]||globalThis.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build=__commonJS({"../../node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||"anonymous"}]`:"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return`[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return`${val}`;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?`"${val.replace(/"|\\/g,"\\$&")}"`:`"${val}"`;if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":`${min?"":"Arguments "}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":`${val.constructor.name} `}[${(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:"[object Map]"===toStringed?hitMaxDepth?"[Map]":`Map {${(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")}}`:"[object Set]"===toStringed?hitMaxDepth?"[Set]":`Set {${(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":`${getConstructorName(val)} `}{${(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>{return{callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:"function"==typeof options?.compareKeys||null===options?.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?"":(indent=options?.indent??DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?" ":"\n",spacingOuter:options?.min?"":"\n"};var indent};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_build2=__commonJS({"../../node_modules/diff-sequences/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength("aLength",aLength),validateLength("bLength",bLength),validateCallback("isCommon",isCommon),validateCallback("foundSubsequence",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(0!==nCommonF&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[0],[0],{aCommonFollowing:0,aCommonPreceding:0,aEndPreceding:0,aStartFollowing:0,bCommonFollowing:0,bCommonPreceding:0,bEndPreceding:0,bStartFollowing:0,nChangeFollowing:0,nChangePreceding:0,nCommonFollowing:0,nCommonPreceding:0}),0!==nCommonR&&foundSubsequence(nCommonR,aEnd,bEnd)}};var pkg="diff-sequences",countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=d2-1-baDeltaLength,aIndexPrev1=0,nF=d2{let bR=bEnd-aEnd,baDeltaLength=bEnd-bStart-(aEnd-aStart),kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=0,nR=d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon)},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)}}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];((nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division)=>{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2==0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if("number"!=typeof arg)throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if("function"!==type3)throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)}}}),require_min_indent=__commonJS({"../../node_modules/min-indent/index.js"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \t]*(?=\S)/gm);return match?match.reduce(((r,a)=>Math.min(r,a.length)),1/0):0}}}),require_strip_indent=__commonJS({"../../node_modules/strip-indent/index.js"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(0===indent)return string2;let regex=new RegExp(`^[ \\t]{${indent}}`,"gm");return string2.replace(regex,"")}}}),require_indent_string=__commonJS({"../../node_modules/indent-string/index.js"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:" ",includeEmptyLines:!1,...options},"string"!=typeof string2)throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof string2}\``);if("number"!=typeof count)throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof count}\``);if("string"!=typeof options.indent)throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof options.indent}\``);if(0===count)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))}}}),require_redent=__commonJS({"../../node_modules/redent/index.js"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options)}}),require_listCacheClear=__commonJS({"../../node_modules/lodash/_listCacheClear.js"(exports,module2){module2.exports=function listCacheClear(){this.__data__=[],this.size=0}}}),require_eq=__commonJS({"../../node_modules/lodash/eq.js"(exports,module2){module2.exports=function eq2(value,other){return value===other||value!=value&&other!=other}}}),require_assocIndexOf=__commonJS({"../../node_modules/lodash/_assocIndexOf.js"(exports,module2){var eq2=require_eq();module2.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return-1}}}),require_listCacheDelete=__commonJS({"../../node_modules/lodash/_listCacheDelete.js"(exports,module2){var assocIndexOf=require_assocIndexOf(),splice=Array.prototype.splice;module2.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}}}),require_listCacheGet=__commonJS({"../../node_modules/lodash/_listCacheGet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}}}),require_listCacheHas=__commonJS({"../../node_modules/lodash/_listCacheHas.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}}}),require_listCacheSet=__commonJS({"../../node_modules/lodash/_listCacheSet.js"(exports,module2){var assocIndexOf=require_assocIndexOf();module2.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}}}),require_ListCache=__commonJS({"../../node_modules/lodash/_ListCache.js"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++indexarrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=9007199254740991}}}),require_baseIsTypedArray=__commonJS({"../../node_modules/lodash/_baseIsTypedArray.js"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module2.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}}}),require_baseUnary=__commonJS({"../../node_modules/lodash/_baseUnary.js"(exports,module2){module2.exports=function baseUnary(func){return function(value){return func(value)}}}}),require_nodeUtil=__commonJS({"../../node_modules/lodash/_nodeUtil.js"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports="object"==typeof exports&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&"object"==typeof module2&&module2&&!module2.nodeType&&module2,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{return freeModule&&freeModule.require&&freeModule.require("util").types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch{}}();module2.exports=nodeUtil}}),require_isTypedArray=__commonJS({"../../node_modules/lodash/isTypedArray.js"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray}}),require_arrayLikeKeys=__commonJS({"../../node_modules/lodash/_arrayLikeKeys.js"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&(!skipIndexes||!("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length)))&&result.push(key);return result}}}),require_isPrototype=__commonJS({"../../node_modules/lodash/_isPrototype.js"(exports,module2){var objectProto=Object.prototype;module2.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}}}),require_overArg=__commonJS({"../../node_modules/lodash/_overArg.js"(exports,module2){module2.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}}}),require_nativeKeys=__commonJS({"../../node_modules/lodash/_nativeKeys.js"(exports,module2){var nativeKeys=require_overArg()(Object.keys,Object);module2.exports=nativeKeys}}),require_baseKeys=__commonJS({"../../node_modules/lodash/_baseKeys.js"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}}}),require_isArrayLike=__commonJS({"../../node_modules/lodash/isArrayLike.js"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();module2.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}}}),require_keys=__commonJS({"../../node_modules/lodash/keys.js"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();module2.exports=function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}}}),require_getAllKeys=__commonJS({"../../node_modules/lodash/_getAllKeys.js"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();module2.exports=function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}}}),require_equalObjects=__commonJS({"../../node_modules/lodash/_equalObjects.js"(exports,module2){var getAllKeys=require_getAllKeys(),hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++indexarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(properties);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,properties)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=properties.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!ariaPropsMap.get(key)},keys:function(){return properties.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return properties.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default}}),require_domMap=__commonJS({"node_modules/aria-query/lib/domMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_iterationDecorator());function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(dom);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,dom)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=dom.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!domMap.get(key)},keys:function(){return dom.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return dom.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(domMap,domMap.entries());exports.default=_default}}),require_commandRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_compositeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_inputRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};exports.default=_default}}),require_landmarkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_rangeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_roletypeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_sectionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sectionheadRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_selectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};exports.default=_default}}),require_structureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_widgetRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_windowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};exports.default=_default}}),require_ariaAbstractRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["command",_commandRole.default],["composite",_compositeRole.default],["input",_inputRole.default],["landmark",_landmarkRole.default],["range",_rangeRole.default],["roletype",_roletypeRole.default],["section",_sectionRole.default],["sectionhead",_sectionheadRole.default],["select",_selectRole.default],["structure",_structureRole.default],["widget",_widgetRole.default],["window",_windowRole.default]];exports.default=_default}}),require_alertRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_alertdialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};exports.default=_default}}),require_applicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_articleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_bannerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_blockquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_buttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_captionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_cellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_checkboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_codeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_columnheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_comboboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_complementaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_contentinfoRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_definitionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_deletionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_dialogRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};exports.default=_default}}),require_directoryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_documentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_emphasisRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_feedRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};exports.default=_default}}),require_figureRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_formRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/formRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_genericRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_gridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};exports.default=_default}}),require_gridcellRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};exports.default=_default}}),require_groupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_headingRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_imgRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_insertionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_linkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_listRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_listboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_listitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_logRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/logRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mainRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_marqueeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_mathRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_menuRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_menubarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};exports.default=_default}}),require_menuitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};exports.default=_default}}),require_menuitemcheckboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};exports.default=_default}}),require_menuitemradioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};exports.default=_default}}),require_meterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};exports.default=_default}}),require_navigationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_noneRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};exports.default=_default}}),require_noteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_optionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_paragraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_presentationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_progressbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_radioRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_radiogroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_regionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_rowRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};exports.default=_default}}),require_rowgroupRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_rowheaderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};exports.default=_default}}),require_scrollbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};exports.default=_default}}),require_searchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_searchboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};exports.default=_default}}),require_separatorRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};exports.default=_default}}),require_sliderRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_spinbuttonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};exports.default=_default}}),require_statusRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_strongRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_subscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_superscriptRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_switchRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};exports.default=_default}}),require_tabRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};exports.default=_default}}),require_tableRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_tablistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};exports.default=_default}}),require_tabpanelRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_termRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/termRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_textboxRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};exports.default=_default}}),require_timeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_timerRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};exports.default=_default}}),require_toolbarRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_tooltipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_treeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};exports.default=_default}}),require_treegridRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};exports.default=_default}}),require_treeitemRole=__commonJS({"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};exports.default=_default}}),require_ariaLiteralRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["alert",_alertRole.default],["alertdialog",_alertdialogRole.default],["application",_applicationRole.default],["article",_articleRole.default],["banner",_bannerRole.default],["blockquote",_blockquoteRole.default],["button",_buttonRole.default],["caption",_captionRole.default],["cell",_cellRole.default],["checkbox",_checkboxRole.default],["code",_codeRole.default],["columnheader",_columnheaderRole.default],["combobox",_comboboxRole.default],["complementary",_complementaryRole.default],["contentinfo",_contentinfoRole.default],["definition",_definitionRole.default],["deletion",_deletionRole.default],["dialog",_dialogRole.default],["directory",_directoryRole.default],["document",_documentRole.default],["emphasis",_emphasisRole.default],["feed",_feedRole.default],["figure",_figureRole.default],["form",_formRole.default],["generic",_genericRole.default],["grid",_gridRole.default],["gridcell",_gridcellRole.default],["group",_groupRole.default],["heading",_headingRole.default],["img",_imgRole.default],["insertion",_insertionRole.default],["link",_linkRole.default],["list",_listRole.default],["listbox",_listboxRole.default],["listitem",_listitemRole.default],["log",_logRole.default],["main",_mainRole.default],["marquee",_marqueeRole.default],["math",_mathRole.default],["menu",_menuRole.default],["menubar",_menubarRole.default],["menuitem",_menuitemRole.default],["menuitemcheckbox",_menuitemcheckboxRole.default],["menuitemradio",_menuitemradioRole.default],["meter",_meterRole.default],["navigation",_navigationRole.default],["none",_noneRole.default],["note",_noteRole.default],["option",_optionRole.default],["paragraph",_paragraphRole.default],["presentation",_presentationRole.default],["progressbar",_progressbarRole.default],["radio",_radioRole.default],["radiogroup",_radiogroupRole.default],["region",_regionRole.default],["row",_rowRole.default],["rowgroup",_rowgroupRole.default],["rowheader",_rowheaderRole.default],["scrollbar",_scrollbarRole.default],["search",_searchRole.default],["searchbox",_searchboxRole.default],["separator",_separatorRole.default],["slider",_sliderRole.default],["spinbutton",_spinbuttonRole.default],["status",_statusRole.default],["strong",_strongRole.default],["subscript",_subscriptRole.default],["superscript",_superscriptRole.default],["switch",_switchRole.default],["tab",_tabRole.default],["table",_tableRole.default],["tablist",_tablistRole.default],["tabpanel",_tabpanelRole.default],["term",_termRole.default],["textbox",_textboxRole.default],["time",_timeRole.default],["timer",_timerRole.default],["toolbar",_toolbarRole.default],["tooltip",_tooltipRole.default],["tree",_treeRole.default],["treegrid",_treegridRole.default],["treeitem",_treeitemRole.default]];exports.default=_default}}),require_docAbstractRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docAcknowledgmentsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAfterwordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docAppendixRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBacklinkRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docBiblioentryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docBibliographyRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docBibliorefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docChapterRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docColophonRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docConclusionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docCoverRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_docCreditRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docCreditsRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docDedicationRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEndnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};exports.default=_default}}),require_docEndnotesRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docEpigraphRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docEpilogueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docErrataRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docExampleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docFootnoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docForewordRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossaryRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docGlossrefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docIndexRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docIntroductionRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docNoterefRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};exports.default=_default}}),require_docNoticeRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docPagebreakRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};exports.default=_default}}),require_docPagelistRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_docPartRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrefaceRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPrologueRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};exports.default=_default}}),require_docPullquoteRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};exports.default=_default}}),require_docQnaRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};exports.default=_default}}),require_docSubtitleRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};exports.default=_default}}),require_docTipRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};exports.default=_default}}),require_docTocRole=__commonJS({"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};exports.default=_default}}),require_ariaDpubRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["doc-abstract",_docAbstractRole.default],["doc-acknowledgments",_docAcknowledgmentsRole.default],["doc-afterword",_docAfterwordRole.default],["doc-appendix",_docAppendixRole.default],["doc-backlink",_docBacklinkRole.default],["doc-biblioentry",_docBiblioentryRole.default],["doc-bibliography",_docBibliographyRole.default],["doc-biblioref",_docBibliorefRole.default],["doc-chapter",_docChapterRole.default],["doc-colophon",_docColophonRole.default],["doc-conclusion",_docConclusionRole.default],["doc-cover",_docCoverRole.default],["doc-credit",_docCreditRole.default],["doc-credits",_docCreditsRole.default],["doc-dedication",_docDedicationRole.default],["doc-endnote",_docEndnoteRole.default],["doc-endnotes",_docEndnotesRole.default],["doc-epigraph",_docEpigraphRole.default],["doc-epilogue",_docEpilogueRole.default],["doc-errata",_docErrataRole.default],["doc-example",_docExampleRole.default],["doc-footnote",_docFootnoteRole.default],["doc-foreword",_docForewordRole.default],["doc-glossary",_docGlossaryRole.default],["doc-glossref",_docGlossrefRole.default],["doc-index",_docIndexRole.default],["doc-introduction",_docIntroductionRole.default],["doc-noteref",_docNoterefRole.default],["doc-notice",_docNoticeRole.default],["doc-pagebreak",_docPagebreakRole.default],["doc-pagelist",_docPagelistRole.default],["doc-part",_docPartRole.default],["doc-preface",_docPrefaceRole.default],["doc-prologue",_docPrologueRole.default],["doc-pullquote",_docPullquoteRole.default],["doc-qna",_docQnaRole.default],["doc-subtitle",_docSubtitleRole.default],["doc-tip",_docTipRole.default],["doc-toc",_docTocRole.default]];exports.default=_default}}),require_graphicsDocumentRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};exports.default=_default}}),require_graphicsObjectRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};exports.default=_default}}),require_graphicsSymbolRole=__commonJS({"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};exports.default=_default}}),require_ariaGraphicsRoles=__commonJS({"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var _default=[["graphics-document",_graphicsDocumentRole.default],["graphics-object",_graphicsObjectRole.default],["graphics-symbol",_graphicsSymbolRole.default]];exports.default=_default}}),require_rolesMap=__commonJS({"node_modules/aria-query/lib/rolesMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i=0,F=function(){};return{s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3);try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn2.call(thisArg,values,key,roles3)}}catch(err){_iterator3.e(err)}finally{_iterator3.f()}},get:function(key){var item=roles3.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!rolesMap.get(key)},keys:function(){return roles3.map((function(_ref5){return _slicedToArray(_ref5,1)[0]}))},values:function(){return roles3.map((function(_ref7){return _slicedToArray(_ref7,2)[1]}))}},_default=(0,_iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default}}),require_isArguments2=__commonJS({"../../node_modules/object-keys/isArguments.js"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr3.call(value.callee)),isArgs}}}),require_implementation=__commonJS({"../../node_modules/object-keys/implementation.js"(exports,module2){var keysShim,has,toStr3,isArgs,isEnumerable,hasDontEnumBug,hasProtoEnumBug,dontEnums,equalsConstructorPrototype,excludedKeys,hasAutomationEqualityBug,equalsConstructorPrototypeIfNotBuggy;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>"u")return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch{return!0}}catch{return!0}return!1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>"u"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return!1}},keysShim=function(object){var isObject2=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr3.call(object),isArguments=isArgs(object),isString=isObject2&&"[object String]"===toStr3.call(object),theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j"u"||!getProto?undefined:getProto(Uint8Array),INTRINSICS={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":typeof Atomics>"u"?undefined:Atomics,"%BigInt%":typeof BigInt>"u"?undefined:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?undefined:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":typeof Float32Array>"u"?undefined:Float32Array,"%Float64Array%":typeof Float64Array>"u"?undefined:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":typeof Int8Array>"u"?undefined:Int8Array,"%Int16Array%":typeof Int16Array>"u"?undefined:Int16Array,"%Int32Array%":typeof Int32Array>"u"?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":typeof Map>"u"?undefined:Map,"%MapIteratorPrototype%":typeof Map>"u"||!hasSymbols||!getProto?undefined:getProto((new Map)[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?undefined:Promise,"%Proxy%":typeof Proxy>"u"?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":typeof Reflect>"u"?undefined:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?undefined:Set,"%SetIteratorPrototype%":typeof Set>"u"||!hasSymbols||!getProto?undefined:getProto((new Set)[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":typeof Uint8Array>"u"?undefined:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?undefined:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?undefined:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":typeof WeakMap>"u"?undefined:WeakMap,"%WeakRef%":typeof WeakRef>"u"?undefined:WeakRef,"%WeakSet%":typeof WeakSet>"u"?undefined:WeakSet};if(getProto)try{null.error}catch(e){errorProto=getProto(getProto(e)),INTRINSICS["%Error.prototype%"]=errorProto}var errorProto,doEval=function doEval2(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn2=doEval2("%AsyncGeneratorFunction%");fn2&&(value=fn2.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval2("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>"u"&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module2.exports=function(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string2,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}}}),require_es_define_property=__commonJS({"../../node_modules/es-define-property/index.js"(exports,module2){var $defineProperty=require_get_intrinsic()("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch{$defineProperty=!1}module2.exports=$defineProperty}}),require_gopd=__commonJS({"../../node_modules/gopd/index.js"(exports,module2){var $gOPD=require_get_intrinsic()("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch{$gOPD=null}module2.exports=$gOPD}}),require_define_data_property=__commonJS({"../../node_modules/define-data-property/index.js"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}}}),require_has_property_descriptors=__commonJS({"../../node_modules/has-property-descriptors/index.js"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch{return!0}},module2.exports=hasPropertyDescriptors}}),require_define_properties=__commonJS({"../../node_modules/define-properties/index.js"(exports,module2){var keys2=require_object_keys(),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn2=predicate)||"[object Function]"!==toStr3.call(fn2)||!predicate())return;var fn2;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn2&&gOPD){var desc=gOPD(fn2,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn2,"length",length,!0,!0):define2(fn2,"length",length)),fn2}}}),require_call_bind=__commonJS({"../../node_modules/call-bind/index.js"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic("%Math.max%");module2.exports=function(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,"apply",{value:applyBind}):module2.exports.apply=applyBind}}),require_callBound=__commonJS({"../../node_modules/call-bind/callBound.js"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}}}),require_implementation3=__commonJS({"../../node_modules/object.assign/implementation.js"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s2&&!!arguments[2])||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn2,"name",name,!0,!0):define2(fn2,"name",name)),fn2}}}),require_implementation4=__commonJS({"../../node_modules/regexp.prototype.flags/implementation.js"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName((function(){if(null==this||this!==$Object(this))throw new $TypeError("RegExp.prototype.flags getter called on non-object");var result="";return this.hasIndices&&(result+="d"),this.global&&(result+="g"),this.ignoreCase&&(result+="i"),this.multiline&&(result+="m"),this.dotAll&&(result+="s"),this.unicode&&(result+="u"),this.unicodeSets&&(result+="v"),this.sticky&&(result+="y"),result}),"get flags",!0)}}),require_polyfill2=__commonJS({"../../node_modules/regexp.prototype.flags/polyfill.js"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&"gim"===/a/gim.flags){var descriptor=$gOPD(RegExp.prototype,"flags");if(descriptor&&"function"==typeof descriptor.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var calls="",o={};if(Object.defineProperty(o,"hasIndices",{get:function(){calls+="d"}}),Object.defineProperty(o,"sticky",{get:function(){calls+="y"}}),"dy"===calls)return descriptor.get}}return implementation}}}),require_shim2=__commonJS({"../../node_modules/regexp.prototype.flags/shim.js"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,"flags");return(!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,"flags",{configurable:!0,enumerable:!1,get:polyfill}),polyfill}}}),require_regexp_prototype=__commonJS({"../../node_modules/regexp.prototype.flags/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim}),module2.exports=flagsBound}}),require_shams2=__commonJS({"../../node_modules/has-tostringtag/shams.js"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag}}}),require_is_arguments=__commonJS({"../../node_modules/is-arguments/index.js"(exports,module2){var hasToStringTag=require_shams2()(),$toString=require_callBound()("Object.prototype.toString"),isStandardArguments=function(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments}}),require_util=__commonJS({"(disabled):../../node_modules/object-inspect/util.inspect"(){}}),require_object_inspect=__commonJS({"../../node_modules/object-inspect/index.js"(exports,module2){var hasMap="function"==typeof Map&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,mapSize=hasMap&&mapSizeDescriptor&&"function"==typeof mapSizeDescriptor.get?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet="function"==typeof Set&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,setSize=hasSet&&setSizeDescriptor&&"function"==typeof setSizeDescriptor.get?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,weakMapHas="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,weakSetHas="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,weakRefDeref="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf="function"==typeof BigInt?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,hasShammedSymbols="function"==typeof Symbol&&"object"==typeof Symbol.iterator,toStringTag="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!=num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof num){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,"$&_")+"."+$replace.call($replace.call(dec,/([0-9]{3})/g,"$&_"),/_$/,"")}}return $replace.call(str,sepRegex,"$&_")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;function wrapQuotes(s,defaultStyle,opts){var quoteChar="double"===(opts.quoteStyle||defaultStyle)?'"':"'";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/"/g,""")}function isArray(obj){return!("[object Array]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isRegExp(obj){return!("[object RegExp]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}function isSymbol(obj){if(hasShammedSymbols)return obj&&"object"==typeof obj&&obj instanceof Symbol;if("symbol"==typeof obj)return!0;if(!obj||"object"!=typeof obj||!symToString)return!1;try{return symToString.call(obj),!0}catch{}return!1}module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,"quoteStyle")&&"single"!==opts.quoteStyle&&"double"!==opts.quoteStyle)throw new TypeError('option "quoteStyle" must be "single" or "double"');if(has(opts,"maxStringLength")&&("number"==typeof opts.maxStringLength?opts.maxStringLength<0&&opts.maxStringLength!==1/0:null!==opts.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var customInspect=!has(opts,"customInspect")||opts.customInspect;if("boolean"!=typeof customInspect&&"symbol"!==customInspect)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(has(opts,"indent")&&null!==opts.indent&&"\t"!==opts.indent&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(has(opts,"numericSeparator")&&"boolean"!=typeof opts.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>"u")return"undefined";if(null===obj)return"null";if("boolean"==typeof obj)return obj?"true":"false";if("string"==typeof obj)return inspectString(obj,opts);if("number"==typeof obj){if(0===obj)return 1/0/obj>0?"0":"-0";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if("bigint"==typeof obj){var bigIntStr=String(obj)+"n";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>"u"?5:opts.depth;if(typeof depth>"u"&&(depth=0),depth>=maxDepth&&maxDepth>0&&"object"==typeof obj)return isArray(obj)?"[Array]":"[Object]";var indent=function getIndent(opts,depth){var baseIndent;if("\t"===opts.indent)baseIndent="\t";else{if(!("number"==typeof opts.indent&&opts.indent>0))return null;baseIndent=$join.call(Array(opts.indent+1)," ")}return{base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}(opts,depth);if(typeof seen>"u")seen=[];else if(indexOf(seen,obj)>=0)return"[Circular]";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen)).push(from),noIndent){var newOpts={depth:opts.depth};return has(opts,"quoteStyle")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if("function"==typeof obj&&!isRegExp(obj)){var name=function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\s*([\w$]+)/);return m2?m2[1]:null}(obj),keys2=arrObjKeys(obj,inspect3);return"[Function"+(name?": "+name:" (anonymous)")+"]"+(keys2.length>0?" { "+$join.call(keys2,", ")+" }":"")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\(.*\))_[^)]*$/,"$1"):symToString.call(obj);return"object"!=typeof obj||hasShammedSymbols?symString:markBoxed(symString)}if(function isElement5(x){return!(!x||"object"!=typeof x)&&(typeof HTMLElement<"u"&&x instanceof HTMLElement||"string"==typeof x.nodeName&&"function"==typeof x.getAttribute)}(obj)){for(var s="<"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i"}if(isArray(obj)){if(0===obj.length)return"[]";var xs=arrObjKeys(obj,inspect3);return indent&&!function singleLineValues(xs){for(var i=0;i=0)return!1;return!0}(xs)?"["+indentedJoin(xs,indent)+"]":"[ "+$join.call(xs,", ")+" ]"}if(function isError(obj){return!("[object Error]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)){var parts=arrObjKeys(obj,inspect3);return"cause"in Error.prototype||!("cause"in obj)||isEnumerable.call(obj,"cause")?0===parts.length?"["+String(obj)+"]":"{ ["+String(obj)+"] "+$join.call(parts,", ")+" }":"{ ["+String(obj)+"] "+$join.call($concat.call("[cause]: "+inspect3(obj.cause),parts),", ")+" }"}if("object"==typeof obj&&customInspect){if(inspectSymbol&&"function"==typeof obj[inspectSymbol]&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if("symbol"!==customInspect&&"function"==typeof obj.inspect)return obj.inspect()}if(function isMap(x){if(!mapSize||!x||"object"!=typeof x)return!1;try{mapSize.call(x);try{setSize.call(x)}catch{return!0}return x instanceof Map}catch{}return!1}(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,(function(value,key){mapParts.push(inspect3(key,obj,!0)+" => "+inspect3(value,obj))})),collectionOf("Map",mapSize.call(obj),mapParts,indent)}if(function isSet(x){if(!setSize||!x||"object"!=typeof x)return!1;try{setSize.call(x);try{mapSize.call(x)}catch{return!0}return x instanceof Set}catch{}return!1}(obj)){var setParts=[];return setForEach&&setForEach.call(obj,(function(value){setParts.push(inspect3(value,obj))})),collectionOf("Set",setSize.call(obj),setParts,indent)}if(function isWeakMap(x){if(!weakMapHas||!x||"object"!=typeof x)return!1;try{weakMapHas.call(x,weakMapHas);try{weakSetHas.call(x,weakSetHas)}catch{return!0}return x instanceof WeakMap}catch{}return!1}(obj))return weakCollectionOf("WeakMap");if(function isWeakSet(x){if(!weakSetHas||!x||"object"!=typeof x)return!1;try{weakSetHas.call(x,weakSetHas);try{weakMapHas.call(x,weakMapHas)}catch{return!0}return x instanceof WeakSet}catch{}return!1}(obj))return weakCollectionOf("WeakSet");if(function isWeakRef(x){if(!weakRefDeref||!x||"object"!=typeof x)return!1;try{return weakRefDeref.call(x),!0}catch{}return!1}(obj))return weakCollectionOf("WeakRef");if(function isNumber(obj){return!("[object Number]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(Number(obj)));if(function isBigInt(obj){if(!obj||"object"!=typeof obj||!bigIntValueOf)return!1;try{return bigIntValueOf.call(obj),!0}catch{}return!1}(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(function isBoolean(obj){return!("[object Boolean]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(booleanValueOf.call(obj));if(function isString(obj){return!("[object String]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj))return markBoxed(inspect3(String(obj)));if(typeof window<"u"&&obj===window)return"{ [object Window] }";if(obj===__webpack_require__.g)return"{ [object globalThis] }";if(!function isDate(obj){return!("[object Date]"!==toStr3(obj)||toStringTag&&"object"==typeof obj&&toStringTag in obj)}(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?"":"null prototype",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?"Object":"",tag=(isPlainObject||"function"!=typeof obj.constructor?"":obj.constructor.name?obj.constructor.name+" ":"")+(stringTag||protoTag?"["+$join.call($concat.call([],stringTag||[],protoTag||[]),": ")+"] ":"");return 0===ys.length?tag+"{}":indent?tag+"{"+indentedJoin(ys,indent)+"}":tag+"{ "+$join.call(ys,", ")+" }"}return String(obj)};var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer="... "+remaining+" more character"+(remaining>1?"s":"");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}return wrapQuotes($replace.call($replace.call(str,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,lowbyte),"single",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:"b",9:"t",10:"n",12:"f",13:"r"}[n];return x?"\\"+x:"\\x"+(n<16?"0":"")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return"Object("+str+")"}function weakCollectionOf(type3){return type3+" { ? }"}function collectionOf(type3,size,entries,indent){return type3+" ("+size+") {"+(indent?indentedJoin(entries,indent):$join.call(entries,", "))+"}"}function indentedJoin(xs,indent){if(0===xs.length)return"";var lineJoiner="\n"+indent.prev+indent.base;return lineJoiner+$join.call(xs,","+lineJoiner)+"\n"+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=S.length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return{next:function(){var value,done=i>=arraylike.length;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return{next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}return noPrimordialCollections&&typeof iterable["_es6-shim iterator_"]<"u"?iterable["_es6-shim iterator_"]():void 0},$Map||$Set?(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound("Map.prototype.forEach",!0),$setForEach=callBound("Set.prototype.forEach",!0),(typeof process>"u"||!process.versions||!process.versions.node)&&($mapIterator=callBound("Map.prototype.iterator",!0),$setIterator=callBound("Set.prototype.iterator",!0)),$mapAtAtIterator=callBound("Map.prototype.@@iterator",!0)||callBound("Map.prototype._es6-shim iterator_",!0),$setAtAtIterator=callBound("Set.prototype.@@iterator",!0)||callBound("Set.prototype._es6-shim iterator_",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,(function(v2,k){$arrayPush(entries,[k,v2])})),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,(function(v2){$arrayPush(values,v2)})),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}):module2.exports=function(iterable){if(null!=iterable)return getNonCollectionIterator(iterable,!0)})}}),require_implementation5=__commonJS({"../../node_modules/object-is/implementation.js"(exports,module2){var numberIsNaN=function(value){return value!=value};module2.exports=function(a,b2){return 0===a&&0===b2?1/a==1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))}}}),require_polyfill3=__commonJS({"../../node_modules/object-is/polyfill.js"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return"function"==typeof Object.is?Object.is:implementation}}}),require_shim3=__commonJS({"../../node_modules/object-is/shim.js"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill}}}),require_object_is=__commonJS({"../../node_modules/object-is/index.js"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim}),module2.exports=polyfill}}),require_is_array_buffer=__commonJS({"../../node_modules/is-array-buffer/index.js"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),$ArrayBuffer=require_get_intrinsic()("%ArrayBuffer%",!0),$byteLength=callBound("ArrayBuffer.prototype.byteLength",!0),$toString=callBound("Object.prototype.toString"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return!1}}:$ArrayBuffer?function(obj){return"[object ArrayBuffer]"===$toString(obj)}:function(obj){return!1}}}),require_is_date_object=__commonJS({"../../node_modules/is-date-object/index.js"(exports,module2){var getDay=Date.prototype.getDay,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"object"==typeof value&&null!==value&&(hasToStringTag?function(value){try{return getDay.call(value),!0}catch{return!1}}(value):"[object Date]"===toStr3.call(value))}}}),require_is_regex=__commonJS({"../../node_modules/is-regex/index.js"(exports,module2){var has,$exec,isRegexMarker,badStringifier,callBound=require_callBound(),hasToStringTag=require_shams2()();hasToStringTag&&(has=callBound("Object.prototype.hasOwnProperty"),$exec=callBound("RegExp.prototype.exec"),isRegexMarker={},badStringifier={toString:throwRegexMarker=function(){throw isRegexMarker},valueOf:throwRegexMarker},"symbol"==typeof Symbol.toPrimitive&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound("Object.prototype.toString"),gOPD=Object.getOwnPropertyDescriptor;module2.exports=hasToStringTag?function(value){if(!value||"object"!=typeof value)return!1;var descriptor=gOPD(value,"lastIndex");if(!(descriptor&&has(descriptor,"value")))return!1;try{$exec(value,badStringifier)}catch(e){return e===isRegexMarker}}:function(value){return!(!value||"object"!=typeof value&&"function"!=typeof value)&&"[object RegExp]"===$toString(value)}}}),require_is_shared_array_buffer=__commonJS({"../../node_modules/is-shared-array-buffer/index.js"(exports,module2){var $byteLength=require_callBound()("SharedArrayBuffer.prototype.byteLength",!0);module2.exports=$byteLength?function(obj){if(!obj||"object"!=typeof obj)return!1;try{return $byteLength(obj),!0}catch{return!1}}:function(obj){return!1}}}),require_is_number_object=__commonJS({"../../node_modules/is-number-object/index.js"(exports,module2){var numToStr=Number.prototype.toString,toStr3=Object.prototype.toString,hasToStringTag=require_shams2()();module2.exports=function(value){return"number"==typeof value||"object"==typeof value&&(hasToStringTag?function(value){try{return numToStr.call(value),!0}catch{return!1}}(value):"[object Number]"===toStr3.call(value))}}}),require_is_boolean_object=__commonJS({"../../node_modules/is-boolean-object/index.js"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound("Boolean.prototype.toString"),$toString=callBound("Object.prototype.toString"),hasToStringTag=require_shams2()();module2.exports=function(value){return"boolean"==typeof value||null!==value&&"object"==typeof value&&(hasToStringTag&&Symbol.toStringTag in value?function(value){try{return $boolToStr(value),!0}catch{return!1}}(value):"[object Boolean]"===$toString(value))}}}),require_is_symbol=__commonJS({"../../node_modules/is-symbol/index.js"(exports,module2){var symToStr,symStringRegex,isSymbolObject,toStr3=Object.prototype.toString;require_has_symbols()()?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\(.*\)$/,isSymbolObject=function(value){return"symbol"==typeof value.valueOf()&&symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if("symbol"==typeof value)return!0;if("[object Symbol]"!==toStr3.call(value))return!1;try{return isSymbolObject(value)}catch{return!1}}):module2.exports=function(value){return!1}}}),require_has_bigints=__commonJS({"../../node_modules/has-bigints/index.js"(exports,module2){var $BigInt=typeof BigInt<"u"&&BigInt;module2.exports=function(){return"function"==typeof $BigInt&&"function"==typeof BigInt&&"bigint"==typeof $BigInt(42)&&"bigint"==typeof BigInt(42)}}}),require_is_bigint=__commonJS({"../../node_modules/is-bigint/index.js"(exports,module2){var bigIntValueOf,tryBigInt;require_has_bigints()()?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return!1},module2.exports=function(value){return!(null===value||typeof value>"u"||"boolean"==typeof value||"string"==typeof value||"number"==typeof value||"symbol"==typeof value||"function"==typeof value)&&("bigint"==typeof value||tryBigInt(value))}):module2.exports=function(value){return!1}}}),require_which_boxed_primitive=__commonJS({"../../node_modules/which-boxed-primitive/index.js"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){return null==value||"object"!=typeof value&&"function"!=typeof value?null:isString(value)?"String":isNumber(value)?"Number":isBoolean(value)?"Boolean":isSymbol(value)?"Symbol":isBigInt(value)?"BigInt":void 0}}}),require_is_weakmap=__commonJS({"../../node_modules/is-weakmap/index.js"(exports,module2){var exported,$WeakMap="function"==typeof WeakMap&&WeakMap.prototype?WeakMap:null,$WeakSet="function"==typeof WeakSet&&WeakSet.prototype?WeakSet:null;$WeakMap||(exported=function(x){return!1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return!1}),module2.exports=exported||function(x){if(!x||"object"!=typeof x)return!1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas)}catch{return!0}return x instanceof $WeakMap}catch{}return!1}}}),require_is_weakset=__commonJS({"../../node_modules/is-weakset/index.js"(exports,module2){var $mapHas,GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic("%WeakSet%",!0),$setHas=callBound("WeakSet.prototype.has",!0);$setHas?($mapHas=callBound("WeakMap.prototype.has",!0),module2.exports=function(x){if(!x||"object"!=typeof x)return!1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas)}catch{return!0}return x instanceof $WeakSet}catch{}return!1}):module2.exports=function(x){return!1}}}),require_which_collection=__commonJS({"../../node_modules/which-collection/index.js"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&"object"==typeof value){if(isMap(value))return"Map";if(isSet(value))return"Set";if(isWeakMap(value))return"WeakMap";if(isWeakSet(value))return"WeakSet"}return!1}}}),require_is_callable=__commonJS({"../../node_modules/is-callable/index.js"(exports,module2){var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var all,constructorRegex=/^\s*class\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return!1}},tryFunctionObject=function(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch{return!1}},toStr3=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return!1};"object"==typeof document&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>"u"||"object"==typeof value))try{var str=toStr3.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch{}return!1})),module2.exports=reflectApply?function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return!0;if(!value||"function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr3.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}}}),require_for_each=__commonJS({"../../node_modules/for-each/index.js"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module2.exports=function(list,iterator,thisArg){if(!isCallable3(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr3.call(list)?function(array,iterator,receiver){for(var i=0,len=array.length;i"u"?__webpack_require__.g:globalThis;module2.exports=function(){for(var out=[],i=0;i"u"?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function(array,value){for(var i=0;i-1?tag:"Object"===tag&&function(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch{}})),found}(value)}return gOPD?function(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch{}})),found}(value):null}}}),require_array_buffer_byte_length=__commonJS({"../../node_modules/array-buffer-byte-length/index.js"(exports,module2){var $byteLength=require_callBound()("ArrayBuffer.prototype.byteLength",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN}}}),require_deep_equal=__commonJS({"../../node_modules/deep-equal/index.js"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound("SharedArrayBuffer.prototype.byteLength",!0),$getTime=callBound("Date.prototype.getTime"),gPO=Object.getPrototypeOf,$objToString=callBound("Object.prototype.toString"),$Set=GetIntrinsic("%Set%",!0),$mapHas=callBound("Map.prototype.has",!0),$mapGet=callBound("Map.prototype.get",!0),$mapSize=callBound("Map.prototype.size",!0),$setAdd=callBound("Set.prototype.add",!0),$setDelete=callBound("Set.prototype.delete",!0),$setHas=callBound("Set.prototype.has",!0),$setSize=callBound("Set.prototype.size",!0);function setHasEqualElement(set,val1,opts,channel){for(var result,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return!1}function findLooseMatchingPrimitives(prim){return typeof prim>"u"?null:"object"!=typeof prim?"symbol"!=typeof prim&&("string"!=typeof prim&&"number"!=typeof prim||+prim==+prim):void 0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(null!=altValue)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return!(typeof curB>"u"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel))&&(!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel))}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var result,key2,i=getIterator(set);(result=i.next())&&!result.done;)if(internalDeepEqual(key1,key2=result.value,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return!1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return!0;if(whichBoxedPrimitive(actual)!==whichBoxedPrimitive(expected))return!1;if(!actual||!expected||"object"!=typeof actual&&"object"!=typeof expected)return opts.strict?is(actual,expected):actual==expected;var sentinel,hasActual=channel.has(actual),hasExpected=channel.has(expected);if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return!0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||null==a||null==b2||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return!1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return!1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return!1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return!1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return!1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return!1;if(aWhich||bWhich){if(a.length!==b2.length)return!1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return!1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return!1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection===bCollection&&("Set"===aCollection||"Set"===bCollection?function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return!1;for(var resultA,resultB,set,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(resultA.value&&"object"==typeof resultA.value)set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return!1;set||(set=new $Set),$setAdd(set,resultA.value)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&"object"==typeof resultB.value){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel):"Map"!==aCollection||function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return!1;for(var resultA,resultB,set,key,item1,item2,iA=getIterator(a),iB=getIterator(b2);(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&"object"==typeof key)set||(set=new $Set),$setAdd(set,key);else if(typeof(item2=$mapGet(b2,key))>"u"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return!1;set||(set=new $Set),$setAdd(set,key)}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&"object"==typeof key){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return!1}else if(!(opts.strict||a.has(key)&&internalDeepEqual($mapGet(a,key),item2,opts,channel)||mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel)))return!1;return 0===$setSize(set)}return!0}(a,b2,opts,channel))}(actual,expected,opts,channel)}function isBuffer(x){return!(!x||"object"!=typeof x||"number"!=typeof x.length||"function"!=typeof x.copy||"function"!=typeof x.slice||x.length>0&&"number"!=typeof x[0])&&!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())}}}),require_elementRoleMap=__commonJS({"node_modules/aria-query/lib/elementRoleMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(elementRoles3);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,_key,elementRoles3)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key2){var item=elementRoles3.find((function(tuple){return(0,_deepEqual.default)(key2,tuple[0])}));return item&&item[1]},has:function(key2){return!!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return elementRoles3.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default}}),require_roleElementMap=__commonJS({"node_modules/aria-query/lib/roleElementMap.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i2){var _i=null==arr?null:typeof Symbol<"u"&&arr[Symbol.iterator]||arr["@@iterator"];if(null!=_i){var _s,_e,_arr=[],_n=!0,_d=!1;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i2||_arr.length!==i2);_n=!0);}catch(err){_d=!0,_e=err}finally{try{!_n&&null!=_i.return&&_i.return()}finally{if(_d)throw _e}}return _arr}}(arr,i2)||_unsupportedIterableToArray(arr,i2)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if("Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&void 0!==arguments[1]?arguments[1]:null,_iterator=function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<"u"&&o[Symbol.iterator]||o["@@iterator"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&"number"==typeof o.length){it&&(o=it);var i2=0,F=function(){};return{s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function(){it=it.call(o)},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3},f:function(){try{!normalCompletion&&null!=it.return&&it.return()}finally{if(didErr)throw err}}}}(roleElement);try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,roleElement)}}catch(err){_iterator.e(err)}finally{_iterator.f()}},get:function(key){var item=roleElement.find((function(tuple){return tuple[0]===key}));return item&&item[1]},has:function(key){return!!roleElementMap.get(key)},keys:function(){return roleElement.map((function(_ref){return _slicedToArray(_ref,1)[0]}))},values:function(){return roleElement.map((function(_ref3){return _slicedToArray(_ref3,2)[1]}))}},_default=(0,_iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default}}),require_lib=__commonJS({"node_modules/aria-query/lib/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2}}),require_color_name=__commonJS({"../../node_modules/color-name/index.js"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),require_conversions=__commonJS({"../../node_modules/color-convert/conversions.js"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){let h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(60*h,360),h<0&&(h+=360);let l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return(v2-c)/6/diff2+.5};return 0===diff2?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v2]},convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,100*w,100*b2]},convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2);return[100*((1-r-k)/(1-k)||0),100*((1-g2-k)/(1-k)||0),100*((1-b2-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=(y2=value,((x=rgb)[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92,[100*(.4124*r+.3576*g2+.1805*b2),100*(.2126*r+.7152*g2+.0722*b2),100*(.0193*r+.1192*g2+.9505*b2)]},convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.hsl.rgb=function(hsl){let t2,t3,val,h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);return l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin,[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return[v2,t,p2];case 1:return[q,v2,p2];case 2:return[p2,v2,t];case 3:return[p2,q,v2];case 4:return[t,p2,v2];case 5:return[v2,p2,q]}},convert.hsv.hsl=function(hsv){let sl,l,h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01);l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){let f,h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,1&i&&(f=1-f);let r,g2,b2,n=wh+f*(v2-wh);switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n}return[255*r,255*g2,255*b2]},convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m2*(1-k)+k)),255*(1-Math.min(1,y2*(1-k)+k))]},convert.xyz.rgb=function(xyz){let r,g2,b2,x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100;return r=3.2406*x+-1.5372*y2+-.4986*z,g2=-.9689*x+1.8758*y2+.0415*z,b2=.0557*x+-.204*y2+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:12.92*g2,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:12.92*b2,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[255*r,255*g2,255*b2]},convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];return x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116,[116*y2-16,500*(x-y2),200*(y2-z)]},convert.lab.xyz=function(lab){let x,y2,z;y2=(lab[0]+16)/116,x=lab[1]/500+y2,z=y2-lab[2]/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]},convert.lab.lch=function(lab){let h,l=lab[0],a=lab[1],b2=lab[2];return h=360*Math.atan2(b2,a)/2/Math.PI,h<0&&(h+=360),[l,Math.sqrt(a*a+b2*b2),h]},convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){let c=10*(args-232)+8;return[c,c,c]}let rem;return args-=16,[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){let string2=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map((char=>char+char)).join(""));let integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){let grayscale,hue,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g2-b2)/chroma%6:max===g2?2+(b2-r)/chroma:4+(r-g2)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(0===c)return[255*g2,255*g2,255*g2];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g2,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],100*f,100*v2]},convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){let c=hcg[1]/100,v2=c+hcg[2]/100*(1-c);return[hcg[0],100*(v2-c),100*(1-v2)]},convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],100*c,100*g2]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){let val=255&Math.round(gray[0]/100*255),string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string2.length)+string2},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}}}),require_route=__commonJS({"../../node_modules/color-convert/route.js"(exports,module2){var conversions=require_conversions();function deriveBFS(fromModel){let graph=function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach((toModel=>{let fn2=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn2){let wrappedFn=function(...args){let arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);let result=fn2(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn2(args))};return"conversion"in fn2&&(wrappedFn.conversion=fn2.conversion),wrappedFn}(fn2)}))})),module2.exports=convert}}),require_ansi_styles2=__commonJS({"../../node_modules/ansi-styles/index.js"(exports,module2){var colorConvert,wrapAnsi16=(fn2,offset)=>(...args)=>`[${fn2(...args)+offset}m`,wrapAnsi256=(fn2,offset)=>(...args)=>{let code=fn2(...args);return`[${38+offset};5;${code}m`},wrapAnsi16m=(fn2,offset)=>(...args)=>{let rgb=fn2(...args);return`[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0})},makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{void 0===colorConvert&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name="ansi16"===sourceSpace?"ansi":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):"object"==typeof suite&&(styles[name]=wrap(suite[targetSpace],offset))}return styles};Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",setLazyProperty(styles.color,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!1))),setLazyProperty(styles.color,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!1))),setLazyProperty(styles.bgColor,"ansi",(()=>makeDynamicStyles(wrapAnsi16,"ansi16",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi256",(()=>makeDynamicStyles(wrapAnsi256,"ansi256",ansi2ansi,!0))),setLazyProperty(styles.bgColor,"ansi16m",(()=>makeDynamicStyles(wrapAnsi16m,"rgb",rgb2rgb,!0))),styles}})}}),require_browser=__commonJS({"../../node_modules/supports-color/browser.js"(exports,module2){module2.exports={stdout:!1,stderr:!1}}}),require_util2=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(exports,module2){module2.exports={stringReplaceAll:(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(-1===index)return string2;let substringLength=substring.length,endIndex=0,returnValue="";do{returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex:(string2,prefix,postfix,index)=>{let endIndex=0,returnValue="";do{let gotCR="\r"===string2[index-1];returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?"\r\n":"\n")+postfix,endIndex=index+1,index=string2.indexOf("\n",endIndex)}while(-1!==index);return returnValue+=string2.substr(endIndex),returnValue}}}}),require_templates=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(exports,module2){var TEMPLATE_REGEX=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,STYLE_REGEX=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,STRING_REGEX=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,ESCAPE_REGEX=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,ESCAPES=new Map([["n","\n"],["r","\r"],["t","\t"],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e",""],["a",""]]);function unescape(c){let u2="u"===c[0],bracket="{"===c[1];return u2&&!bracket&&5===c.length||"x"===c[0]&&3===c.length?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let matches3,results=[],chunks=arguments_.trim().split(/\s*,\s*/g);for(let chunk of chunks){let number=Number(chunk);if(Number.isNaN(number)){if(!(matches3=chunk.match(STRING_REGEX)))throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`);results.push(matches3[2].replace(ESCAPE_REGEX,((m2,escape2,character)=>escape2?unescape(escape2):character)))}else results.push(number)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let matches3,results=[];for(;null!==(matches3=STYLE_REGEX.exec(style));){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args))}else results.push([name])}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName]}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,((m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join("");chunk=[],chunks.push(0===styles.length?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)})}else if(close){if(0===styles.length)throw new Error("Found extraneous } in Chalk template literal");chunks.push(buildStyle(chalk3,styles)(chunk.join(""))),chunk=[],styles.pop()}else chunk.push(character)})),chunks.push(chunk.join("")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${1===styles.length?"":"s"} (\`}\`)`;throw new Error(errMsg)}return chunks.join("")}}}),require_source=__commonJS({"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=["ansi","ansi","ansi256","ansi16m"],styles=Object.create(null),ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return((object,options={})=>{if(options.level>3||options.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=void 0===options.level?colorLevel:options.level})(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:builder}),builder}};var usedModels=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){styles["bg"+model[0].toUpperCase()+model.slice(1)]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}}}var template,proto=Object.defineProperties((()=>{}),{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return void 0===parent?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,1===arguments_.length?""+arguments_[0]:arguments_.join(" "));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?"":string2;let styler=self2._styler;if(void 0===styler)return string2;let{openAll,closeAll}=styler;if(-1!==string2.indexOf(""))for(;void 0!==styler;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf("\n");return-1!==lfIndex&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(" ");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}}}),require_arrayIncludesWith=__commonJS({"../../node_modules/lodash/_arrayIncludesWith.js"(exports,module2){module2.exports=function arrayIncludesWith(array,value,comparator){for(var index=-1,length=null==array?0:array.length;++index=200){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":0==index&&1==length&&45==codeUnit||!(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?"\\"+string2.charAt(index):string2.charAt(index):result+="�";return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape},"object"==typeof exports?module2.exports=factory(root):"function"==typeof define&&__webpack_require__.amdO?define([],factory.bind(root,root)):factory(root)}}),require_ansi_styles3=__commonJS({"node_modules/pretty-format/node_modules/ansi-styles/index.js"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`[${38+offset};2;${red};${green};${blue}m`;Object.defineProperty(module2,"exports",{enumerable:!0,get:function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`[${style[0]}m`,close:`[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1})}return Object.defineProperty(styles,"codes",{value:codes,enumerable:!1}),styles.color.close="",styles.bgColor.close="",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(hex.toString(16));if(!matches3)return[0,0,0];let{colorString}=matches3.groups;3===colorString.length&&(colorString=colorString.split("").map((character=>character+character)).join(""));let integer=Number.parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}})}}),require_collections2=__commonJS({"node_modules/pretty-format/build/collections.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printIteratorEntries=function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=": "){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){result+=indentationNext+printer(current.value[0],config3,indentationNext,depth,refs)+separator+printer(current.value[1],config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner}result+=config3.spacingOuter+indentation}return result},exports.printIteratorValues=function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result="",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=","):result+=","+config3.spacingInner;result+=config3.spacingOuter+indentation}return result},exports.printListItems=function printListItems(list,config3,indentation,depth,refs,printer){let result="";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach((symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol)})),keys2})(val,config3.compareKeys);if(keys2.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return"ArrayContaining"===stringedValue||"ArrayNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" ["+(0,_collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+"]":"ObjectContaining"===stringedValue||"ObjectNotContaining"===stringedValue?++depth>config3.maxDepth?"["+stringedValue+"]":stringedValue+" {"+(0,_collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+"}":"StringMatching"===stringedValue||"StringNotMatching"===stringedValue||"StringContaining"===stringedValue||"StringNotContaining"===stringedValue?stringedValue+" "+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ansi_regex=__commonJS({"../../node_modules/ansi-regex/index.js"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(pattern,onlyFirst?void 0:"g")}}}),require_ConvertAnsi=__commonJS({"node_modules/pretty-format/build/plugins/ConvertAnsi.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var test=val=>"string"==typeof val&&!!val.match((0,_ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(val.replace((0,_ansiRegex.default)(),(match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return"";case _ansiStyles.default.red.open:return"";case _ansiStyles.default.green.open:return"";case _ansiStyles.default.cyan.open:return"";case _ansiStyles.default.gray.open:return"";case _ansiStyles.default.white.open:return"";case _ansiStyles.default.yellow.open:return"";case _ansiStyles.default.bgRed.open:return"";case _ansiStyles.default.bgGreen.open:return"";case _ansiStyles.default.bgYellow.open:return"";case _ansiStyles.default.inverse.open:return"";case _ansiStyles.default.dim.open:return"";case _ansiStyles.default.bold.open:return"";default:return""}})),config3,indentation,depth,refs);exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_DOMCollection2=__commonJS({"node_modules/pretty-format/build/plugins/DOMCollection.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),OBJECT_NAMES=["DOMStringMap","NamedNodeMap"],ARRAY_REGEXP=/^(HTML\w*Collection|NodeList)$/,test=val=>{return val&&val.constructor&&!!val.constructor.name&&(name=val.constructor.name,-1!==OBJECT_NAMES.indexOf(name)||ARRAY_REGEXP.test(name));var name};exports.test=test;var serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return++depth>config3.maxDepth?"["+name+"]":(config3.min?"":name+" ")+(-1!==OBJECT_NAMES.indexOf(name)?"{"+(0,_collections.printObjectProperties)((collection=>"NamedNodeMap"===collection.constructor.name)(collection)?Array.from(collection).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}):{...collection},config3,indentation,depth,refs,printer)+"}":"["+(0,_collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+"]")};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_escapeHTML2=__commonJS({"node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function escapeHTML2(str){return str.replace(//g,">")}}}),require_markup2=__commonJS({"node_modules/pretty-format/build/plugins/lib/markup.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}(require_escapeHTML2());exports.printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")};exports.printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>config3.spacingOuter+indentation+("string"==typeof child?printText2(child,config3):printer(child,config3,indentation,depth,refs)))).join("");var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0,_escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;exports.printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+(0,_escapeHTML.default)(comment)+"--\x3e"+commentColor.close};exports.printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close};exports.printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close}}}),require_DOMElement2=__commonJS({"node_modules/pretty-format/build/plugins/DOMElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_REGEXP2=/^((HTML|SVG)\w*)?Element$/,test=val=>{var _val$constructor;return(null==val||null===(_val$constructor=val.constructor)||void 0===_val$constructor?void 0:_val$constructor.name)&&(val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||(val=>{try{return"function"==typeof val.hasAttribute&&val.hasAttribute("is")}catch{return!1}})(val);return 1===nodeType&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||3===nodeType&&"Text"===constructorName||8===nodeType&&"Comment"===constructorName||11===nodeType&&"DocumentFragment"===constructorName})(val)};function nodeIsFragment2(node){return 11===node.nodeType}exports.test=test;var serialize=(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText2(node){return 3===node.nodeType}(node))return(0,_markup.printText)(node.data,config3);if(function nodeIsComment2(node){return 8===node.nodeType}(node))return(0,_markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(type3,config3):(0,_markup.printElement)(type3,(0,_markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var _default={serialize,test};exports.default=_default}}),require_Immutable2=__commonJS({"node_modules/pretty-format/build/plugins/Immutable.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),getImmutableName=name=>"Immutable."+name,printAsLeaf=name=>"["+name+"]";var printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" ["+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"]",serialize=(val,config3,indentation,depth,refs,printer)=>val["@@__IMMUTABLE_MAP__@@"]?((val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+" {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+"}")(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedMap":"Map"):val["@@__IMMUTABLE_LIST__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"List"):val["@@__IMMUTABLE_SET__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,val["@@__IMMUTABLE_ORDERED__@@"]?"OrderedSet":"Set"):val["@@__IMMUTABLE_STACK__@@"]?printImmutableValues(val,config3,indentation,depth,refs,printer,"Stack"):val["@@__IMMUTABLE_SEQ__@@"]?((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName("Seq");return++depth>config3.maxDepth?printAsLeaf(name):val["@@__IMMUTABLE_KEYED__@@"]?name+" {"+(val._iter||val._object?(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):"…")+"}":name+" ["+(val._iter||val._array||val._collection||val._iterable?(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):"…")+"]"})(val,config3,indentation,depth,refs,printer):((val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(val._name||"Record");return++depth>config3.maxDepth?printAsLeaf(name):name+" {"+(0,_collections.printIteratorEntries)(function getRecordEntries(val){let i=0;return{next(){if(ival&&(!0===val["@@__IMMUTABLE_ITERABLE__@@"]||!0===val["@@__IMMUTABLE_RECORD__@@"]);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_react_is_development2=__commonJS({"node_modules/react-is/cjs/react-is.development.js"(exports){!function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if("function"==typeof Symbol&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor("react.element"),REACT_PORTAL_TYPE=symbolFor("react.portal"),REACT_FRAGMENT_TYPE=symbolFor("react.fragment"),REACT_STRICT_MODE_TYPE=symbolFor("react.strict_mode"),REACT_PROFILER_TYPE=symbolFor("react.profiler"),REACT_PROVIDER_TYPE=symbolFor("react.provider"),REACT_CONTEXT_TYPE=symbolFor("react.context"),REACT_FORWARD_REF_TYPE=symbolFor("react.forward_ref"),REACT_SUSPENSE_TYPE=symbolFor("react.suspense"),REACT_SUSPENSE_LIST_TYPE=symbolFor("react.suspense_list"),REACT_MEMO_TYPE=symbolFor("react.memo"),REACT_LAZY_TYPE=symbolFor("react.lazy"),REACT_BLOCK_TYPE=symbolFor("react.block"),REACT_SERVER_BLOCK_TYPE=symbolFor("react.server.block"),REACT_FUNDAMENTAL_TYPE=symbolFor("react.fundamental"),symbolFor("react.scope"),symbolFor("react.opaque.id"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor("react.debug_trace_mode"),symbolFor("react.offscreen"),REACT_LEGACY_HIDDEN_TYPE=symbolFor("react.legacy_hidden")}function typeOf(object){if("object"==typeof object&&null!==object){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isConcurrentMode=function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1},exports.isContextConsumer=function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE},exports.isContextProvider=function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE},exports.isElement=function isElement5(object){return"object"==typeof object&&null!==object&&object.$$typeof===REACT_ELEMENT_TYPE},exports.isForwardRef=function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE},exports.isFragment=function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE},exports.isLazy=function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE},exports.isMemo=function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE},exports.isPortal=function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE},exports.isProfiler=function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE},exports.isStrictMode=function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE},exports.isSuspense=function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE},exports.isValidElementType=function isValidElementType(type3){return!("string"!=typeof type3&&"function"!=typeof type3&&type3!==REACT_FRAGMENT_TYPE&&type3!==REACT_PROFILER_TYPE&&type3!==REACT_DEBUG_TRACING_MODE_TYPE&&type3!==REACT_STRICT_MODE_TYPE&&type3!==REACT_SUSPENSE_TYPE&&type3!==REACT_SUSPENSE_LIST_TYPE&&type3!==REACT_LEGACY_HIDDEN_TYPE&&("object"!=typeof type3||null===type3||type3.$$typeof!==REACT_LAZY_TYPE&&type3.$$typeof!==REACT_MEMO_TYPE&&type3.$$typeof!==REACT_PROVIDER_TYPE&&type3.$$typeof!==REACT_CONTEXT_TYPE&&type3.$$typeof!==REACT_FORWARD_REF_TYPE&&type3.$$typeof!==REACT_FUNDAMENTAL_TYPE&&type3.$$typeof!==REACT_BLOCK_TYPE&&type3[0]!==REACT_SERVER_BLOCK_TYPE))},exports.typeOf=typeOf}()}}),require_react_is2=__commonJS({"node_modules/react-is/index.js"(exports,module2){module2.exports=require_react_is_development2()}}),require_ReactElement2=__commonJS({"node_modules/pretty-format/build/plugins/ReactElement.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var ReactIs=function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(null===obj||"object"!=typeof obj&&"function"!=typeof obj)return{default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if("default"!==key&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key]}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if("function"!=typeof WeakMap)return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return(_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach((item=>{getChildren(item,children)})):null!=arg&&!1!==arg&&children.push(arg),children),getType3=element=>{let type3=element.type;if("string"==typeof type3)return type3;if("function"==typeof type3)return type3.displayName||type3.name||"Unknown";if(ReactIs.isFragment(element))return"React.Fragment";if(ReactIs.isSuspense(element))return"React.Suspense";if("object"==typeof type3&&null!==type3){if(ReactIs.isContextProvider(element))return"Context.Provider";if(ReactIs.isContextConsumer(element))return"Context.Consumer";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||"";return""!==functionName?"ForwardRef("+functionName+")":"ForwardRef"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||"";return""!==functionName?"Memo("+functionName+")":"Memo"}}return"UNDEFINED"},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(getType3(element),config3):(0,_markup.printElement)(getType3(element),(0,_markup.printProps)((element=>{let{props}=element;return Object.keys(props).filter((key=>"children"!==key&&void 0!==props[key])).sort()})(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0,_markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>null!=val&&ReactIs.isElement(val);exports.test=test;var _default={serialize,test};exports.default=_default}}),require_ReactTestComponent2=__commonJS({"node_modules/pretty-format/build/plugins/ReactTestComponent.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=typeof globalThis<"u"?globalThis:typeof global2<"u"?global2:typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),Symbol2=global2["jest-symbol-do-not-touch"]||global2.Symbol,testSymbol="function"==typeof Symbol2&&Symbol2.for?Symbol2.for("react.test.json"):245830487,serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0,_markup.printElementAsLeaf)(object.type,config3):(0,_markup.printElement)(object.type,object.props?(0,_markup.printProps)((object=>{let{props}=object;return props?Object.keys(props).filter((key=>void 0!==props[key])).sort():[]})(object),object.props,config3,indentation+config3.indent,depth,refs,printer):"",object.children?(0,_markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):"",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var _default={serialize,test};exports.default=_default}}),require_build3=__commonJS({"node_modules/pretty-format/build/index.js"(exports){Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=exports.DEFAULT_OPTIONS=void 0,exports.format=format4,exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>"function"==typeof val.constructor&&val.constructor.name||"Object",SYMBOL_REGEXP=/^Symbol\((.*)\)(.*)$/,NEWLINE_REGEXP=/\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name}};function printFunction(val,printFunctionName){return printFunctionName?"[Function "+(val.name||"anonymous")+"]":"[Function]"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,"Symbol($1)")}function printError(val){return"["+errorToString.call(val)+"]"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(!0===val||!1===val)return""+val;if(void 0===val)return"undefined";if(null===val)return"null";let typeOf=typeof val;if("number"===typeOf)return function printNumber(val){return Object.is(val,-0)?"-0":String(val)}(val);if("bigint"===typeOf)return function printBigInt(val){return`${val}n`}(val);if("string"===typeOf)return escapeString?'"'+val.replace(/"|\\/g,"\\$&")+'"':'"'+val+'"';if("function"===typeOf)return printFunction(val,printFunctionName);if("symbol"===typeOf)return printSymbol(val);let toStringed=toString.call(val);return"[object WeakMap]"===toStringed?"WeakMap {}":"[object WeakSet]"===toStringed?"WeakSet {}":"[object Function]"===toStringed||"[object GeneratorFunction]"===toStringed?printFunction(val,printFunctionName):"[object Symbol]"===toStringed?printSymbol(val):"[object Date]"===toStringed?isNaN(+val)?"Date { NaN }":toISOString.call(val):"[object Error]"===toStringed?printError(val):"[object RegExp]"===toStringed?escapeRegex?regExpToString.call(val).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(-1!==refs.indexOf(val))return"[Circular]";(refs=refs.slice()).push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&"function"==typeof val.toJSON&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return"[object Arguments]"===toStringed?hitMaxDepth?"[Arguments]":(min?"":"Arguments ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":function isToStringedArrayType(toStringed){return"[object Array]"===toStringed||"[object ArrayBuffer]"===toStringed||"[object DataView]"===toStringed||"[object Float32Array]"===toStringed||"[object Float64Array]"===toStringed||"[object Int8Array]"===toStringed||"[object Int16Array]"===toStringed||"[object Int32Array]"===toStringed||"[object Uint8Array]"===toStringed||"[object Uint8ClampedArray]"===toStringed||"[object Uint16Array]"===toStringed||"[object Uint32Array]"===toStringed}(toStringed)?hitMaxDepth?"["+val.constructor.name+"]":(min||!config3.printBasicPrototype&&"Array"===val.constructor.name?"":val.constructor.name+" ")+"["+(0,_collections.printListItems)(val,config3,indentation,depth,refs,printer)+"]":"[object Map]"===toStringed?hitMaxDepth?"[Map]":"Map {"+(0,_collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer," => ")+"}":"[object Set]"===toStringed?hitMaxDepth?"[Set]":"Set {"+(0,_collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+"}":hitMaxDepth||(val=>typeof window<"u"&&val===window)(val)?"["+getConstructorName(val)+"]":(min||!config3.printBasicPrototype&&"Object"===getConstructorName(val)?"":getConstructorName(val)+" ")+"{"+(0,_collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+"}"}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=function isNewPlugin(plugin){return null!=plugin.serialize}(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,(valChild=>printer(valChild,config3,indentation,depth,refs)),(str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,"\n"+indentationNext)}),{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors)}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if("string"!=typeof printed)throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof printed}".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2DEFAULT_THEME_KEYS.reduce(((colors,key)=>{let value=options.theme&&void 0!==options.theme[key]?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(!color||"string"!=typeof color.close||"string"!=typeof color.open)throw new Error(`pretty-format: Option "theme" has a key "${key}" whose value "${value}" is undefined in ansi-styles.`);return colors[key]=color,colors}),Object.create(null)),getPrintFunctionName=options=>options&&void 0!==options.printFunctionName?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&void 0!==options.escapeRegex?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&void 0!==options.escapeString?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr,indent;return{callToJSON:options&&void 0!==options.callToJSON?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):DEFAULT_THEME_KEYS.reduce(((colors,key)=>(colors[key]={close:"",open:""},colors)),Object.create(null)),compareKeys:options&&"function"==typeof options.compareKeys?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?"":(indent=options&&void 0!==options.indent?options.indent:DEFAULT_OPTIONS.indent,new Array(indent+1).join(" ")),maxDepth:options&&void 0!==options.maxDepth?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&void 0!==options.min?options.min:DEFAULT_OPTIONS.min,plugins:options&&void 0!==options.plugins?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:null===(_options$printBasicPr=options?.printBasicPrototype)||void 0===_options$printBasicPr||_options$printBasicPr,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?" ":"\n",spacingOuter:options&&options.min?"":"\n"}};function format4(val,options){if(options&&(function validateOptions(options){if(Object.keys(options).forEach((key=>{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option "${key}".`)})),options.min&&void 0!==options.indent&&0!==options.indent)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==options.theme){if(null===options.theme)throw new Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof options.theme)throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof options.theme}".`)}}(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(null!==plugin)return printPlugin(plugin,val,getConfig3(options),"",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return null!==basicResult?basicResult:printComplexValue(val,getConfig3(options),"",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default}}),require_lz_string=__commonJS({"../../node_modules/lz-string/libs/lz-string.js"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",keyStrUriSafe="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[2*i+1]=current_value%256}return buf},decompressFromUint8Array:function(compressed){if(null==compressed)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c)}if(""!==context_w){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>=1}else{for(value=1,i=0;i>=1}0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w]}else for(value=context_dictionary[context_w],i=0;i>=1;0==--context_enlargeIn&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++)}for(value=2,i=0;i>=1;for(;;){if(context_data_val<<=1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}context_data_position++}return context_data.join("")},decompress:function(compressed){return null==compressed?"":""==compressed?null:LZString2._decompress(compressed.length,32768,(function(index){return compressed.charCodeAt(index)}))},_decompress:function(length,resetValue,getNextValue){var i,w,bits,resb,maxpower,power,c,dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry="",result=[],data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return""}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return"";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,0==data.position&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join("")}if(0==enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else{if(c!==dictSize)return null;entry=w+w.charAt(0)}result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),w=entry,0==--enlargeIn&&(enlargeIn=Math.pow(2,numBits),numBits++)}}};return LZString2}();"function"==typeof define&&__webpack_require__.amdO?define((function(){return LZString})):typeof module2<"u"&&null!=module2?module2.exports=LZString:typeof angular<"u"&&null!=angular&&angular.module("LZString",[]).factory("LZString",(function(){return LZString}))}}),import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version,import_index.default.Assertion,import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default,scope=(()=>{let win;return win=typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof __webpack_require__.g<"u"?__webpack_require__.g:typeof self<"u"?self:{},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(" or ")}, received "${receivedType}"`)}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function getOwnProperties(obj){let ownProps=new Set;return function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}(obj)?[]:(function collectOwnProperties(obj,collector){let collect="function"==typeof collector?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect)}(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if("[object Object]"===Object.prototype.toString.call(val)){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);"get"in descriptor?Object.defineProperty(out,k2,{...descriptor,get:()=>cloned}):Object.defineProperty(out,k2,{...descriptor,writable:!!options.forceWritable||descriptor.writable,value:cloned})}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let result,MAX_LENGTH=maxLength??1e4;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options})}catch{result=(0,import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options})}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function inspect2(obj,options={}){return 0===options.truncate&&(options.truncate=Number.POSITIVE_INFINITY),loupe.inspect(obj,options)}var SAFE_COLORS_SYMBOL=Symbol("vitest:SAFE_COLORS"),colorsEntries=Object.entries({bold:["","",""],dim:["","",""],italic:["",""],underline:["",""],inverse:["",""],hidden:["",""],strikethrough:["",""],black:["",""],red:["",""],green:["",""],yellow:["",""],blue:["",""],magenta:["",""],cyan:["",""],white:["",""],gray:["",""],bgBlack:["",""],bgRed:["",""],bgGreen:["",""],bgYellow:["",""],bgBlue:["",""],bgMagenta:["",""],bgCyan:["",""],bgWhite:["",""]});function string(str){return String(str)}string.open="",string.close="";var defaultColors=colorsEntries.reduce(((acc,[key])=>(acc[key]=string,acc)),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1),__toESM(require_loupe(),1),RegExp(/\r?\n|[\r\u2028\u2029]/y.source);var reservedWords_strict=["implements","interface","let","package","private","protected","public","static","yield"];new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"]),new Set(reservedWords_strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(void 0===value)return"undefined";if(null===value)return"null";if(Array.isArray(value))return"array";if("boolean"==typeof value)return"boolean";if("function"==typeof value)return"function";if("number"==typeof value)return"number";if("string"==typeof value)return"string";if("bigint"==typeof value)return"bigint";if("object"==typeof value){if(null!=value){if(value.constructor===RegExp)return"regexp";if(value.constructor===Map)return"map";if(value.constructor===Set)return"set";if(value.constructor===Date)return"date"}return"object"}if("symbol"==typeof value)return"symbol";throw new Error(`value of unknown type: ${value}`)}var Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text}};function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return 0!==line.length?color(`${indicator} ${function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\s+$/,(match=>trailingSpaceFormatter(match)))}(line,trailingSpaceFormatter)}`):" "!==indicator?color(indicator):isFirstOrLast&&0!==emptyFirstOrLastLinePlaceholder.length?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):""}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}var noColor=string2=>string2;function getDefaultOptions(){let c=getColors();return{aAnnotation:"Expected",aColor:c.green,aIndicator:"-",bAnnotation:"Received",bColor:c.red,bIndicator:"+",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:" ",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:5,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function normalizeDiffOptions(options={}){return{...getDefaultOptions(),...options,compareKeys:(compareKeys=options.compareKeys,compareKeys&&"function"==typeof compareKeys?compareKeys:void 0),contextLines:(contextLines=options.contextLines,"number"==typeof contextLines&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:5)};var contextLines,compareKeys}function isEmptyString(lines){return 1===lines.length&&0===lines[0].length}function printDiffLines(diffs,options){return function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return"";let aRest="",bRest="";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=" ".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=" ".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length;aRest=`${aAnnotationPadding} ${aIndicator} ${" ".repeat(Math.max(0,baCountLengthDiff))}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${" ".repeat(Math.max(0,-baCountLengthDiff))}${bCount}`}let b2=`${bIndicator} ${bAnnotation}${bRest}`;return`${aColor(`${aIndicator} ${aAnnotation}${aRest}`)}\n${bColor(b2)}\n\n`}(options,function countChanges(diffs){let a=0,b2=0;return diffs.forEach((diff2=>{switch(diff2[0]){case-1:a+=1;break;case 1:b2+=1}})),{a,b:b2}}(diffs))+(options.expand?function joinAlignedDiffsExpand(diffs,options){return diffs.map(((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=0===i||i===diffs2.length-1;switch(diff2[0]){case-1:return printDeleteLine(line,isFirstOrLast,options);case 1:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}})).join("\n")}(diffs,options):function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&0===diffs[i][0];)i+=1;if(iStart!==i)if(0===iStart)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0)}else{let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1)}for(;i!==iLength&&0!==diffs[i][0];)i+=1}let hasPatch=0!==nExcessesBetweenChanges||hasExcessAtStartOrEnd;0!==nExcessesBetweenChanges?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push("");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,0===j||j===jLast,options)),aEnd+=1,bEnd+=1},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,0===j||j===jLast,options)),aEnd+=1},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,0===j||j===jLast,options)),bEnd+=1};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&0===diffs[i][0];)i+=1;if(iStart!==i)if(0===iStart){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else{let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push("");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1])}for(;i!==iLength&&-1===diffs[i][0];)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&1===diffs[i][0];)pushInsertLine(diffs[i][1]),i+=1}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join("\n")}(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(-1,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(1,bLines[bIndex]));for(;0!==nCommon;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(0,bLines[bIndex]))};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(-1,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(1,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return"";let aType=getType2(a),expectedType=aType,omitDifference=!1;if("object"===aType&&"function"==typeof a.asymmetricMatch){if(a.$$typeof!==Symbol.for("jest.asymmetricMatcher")||"function"!=typeof a.getExpectedType)return null;expectedType=a.getExpectedType(),omitDifference="string"===expectedType}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return`${`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`}\n\n${`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`}`}if(omitDifference)return null;switch(aType){case"string":return diffLinesUnified(a.split("\n"),b2.split("\n"),options);case"boolean":case"number":return function comparePrimitive(a,b2,options){let aFormat=(0,import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0,import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?"":diffLinesUnified(aFormat.split("\n"),bFormat.split("\n"),options)}(a,b2,options);case"map":return compareObjects(sortMap(a),sortMap(b2),options);case"set":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{difference=getObjectsDifference(a,b2,getFormatOptions(FORMAT_OPTIONS,options),options)}catch{hasThrown=!0}let noDiffMessage=getCommonMessage("Compared values have no visual difference.",options);if(void 0===difference||difference===noDiffMessage){difference=getObjectsDifference(a,b2,getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage("Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",options)}\n\n${difference}`)}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return{...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0,import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0,import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage("Compared values have no visual difference.",options);{let aDisplay=(0,import_pretty_format3.format)(a,formatOptions),bDisplay=(0,import_pretty_format3.format)(b2,formatOptions);return function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach((diff2=>{switch(diff2[0]){case-1:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case 1:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1}})),printDiffLines(diffs,normalizeDiffOptions(options))}(aDisplay.split("\n"),bDisplay.split("\n"),aCompare.split("\n"),bCompare.split("\n"),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function d(e,t,n){Object.defineProperty(e,t,n)}function p(e,t,n){Object.defineProperty(e,t,{value:n})}var u=Symbol.for("tinyspy:spy"),I=new Set,v=e=>e[u]||(e=>(d(e,u,{value:{reset:()=>(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[]})(e[u])}}),e[u]))(e);function T(e){m(y("function",e)||y("undefined",e),"cannot spy on a non-function value");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if("ok"===s)return l;throw l}let o,c="ok";if(r.impl)try{o=new.target?Reflect.construct(r.impl,a,new.target):r.impl.apply(this,a),c="ok"}catch(s){throw o=s,c="error",r.results.push([c,s]),s}let x=[c,o];if(function b(e){return e instanceof Promise}(o)){let s=o.then((l=>x[1]=l)).catch((l=>{throw x[0]="error",x[1]=l,l}));Object.assign(s,o),o=s}return r.results.push(x),o};p(t,"_isMockFunction",!0),p(t,"length",e?e.length:0),p(t,"name",e&&e.name||"spy");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y("undefined",e),"spyOn could not find an object to spy upon"),m(y("object",e)||y("function",e),"cannot spyOn on a primitive value");let[r,i]=(()=>{if(!y("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let f,l=!1;"value"===i&&s&&!s.value&&s.get&&(i="get",l=!0,n=s.get()),f=s?s[i]:"value"!==i?()=>e[r]:e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};"value"!==i&&delete k.writable,k[i]=w,d(e,r,k)},A=S[u];return p(A,"restore",(()=>s?d(e,r,s):O(f))),p(A,"getOriginal",(()=>l?f():f)),p(A,"willCall",(w=>(A.impl=w,S))),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn2){return"function"==typeof fn2&&"_isMockFunction"in fn2&&fn2._isMockFunction}var callOrder=0;function enhanceSpy(spy){let implementation,stub=spy,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map((([callType,value])=>({type:"error"===callType?"throw":"return",value})))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;return stub.getMockName=()=>name||"vi.fn()",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn2=>(implementation=fn2,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn2=>(onceImplementations.push(fn2),stub),stub.withImplementation=function withImplementation(fn2,cb){let originalImplementation=implementation;implementation=fn2,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1},result=cb();return result instanceof Promise?result.then((()=>(reset(),stub))):(reset(),stub)},stub.mockReturnThis=()=>stub.mockImplementation((function(){return this})),stub.mockReturnValue=val=>stub.mockImplementation((()=>val)),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce((()=>val)),stub.mockResolvedValue=val=>stub.mockImplementation((()=>Promise.resolve(val))),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.resolve(val))),stub.mockRejectedValue=val=>stub.mockImplementation((()=>Promise.reject(val))),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce((()=>Promise.reject(val))),Object.defineProperty(stub,"mock",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},"spy"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1),__toESM(require_build2(),1),__toESM(require_loupe(),1);var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:"string"==typeof err?`: ${err}`:""}function serializeError(val,seen=new WeakMap){if(!val||"string"==typeof val)return val;if("function"==typeof val)return`Function<${val.name||"anonymous"}>`;if("symbol"==typeof val)return val.toString();if("object"!=typeof val)return val;if(function isImmutable(v2){return v2&&(v2["@@__IMMUTABLE_ITERABLE__@@"]||v2["@@__IMMUTABLE_RECORD__@@"])}(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&"AsyncFunction"===val.constructor.prototype)return"Promise";if(typeof Element<"u"&&val instanceof Element)return val.tagName;if("function"==typeof val.asymmetricMatch)return`${val.toString()} ${function format(...args){if("string"!=typeof args[0]){let objects=[];for(let i2=0;i2{if("%%"===x)return"%";if(i>=len)return x;switch(x){case"%s":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:"number"==typeof value&&0===value&&1/value<0?"-0":"object"==typeof value&&null!==value?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case"%d":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number(value).toString()}case"%i":{let value=args[i++];return"bigint"==typeof value?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case"%f":return Number.parseFloat(String(args[i++])).toString();case"%o":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case"%O":return inspect2(args[i++]);case"%c":return i++,"";case"%j":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes("circular structure")||m2.includes("cyclic structures")||m2.includes("cyclic object"))return"[Circular]";throw err}default:return x}}));for(let x=args[i];i{try{clone2[i]=serializeError(e,seen)}catch(err){clone2[i]=getUnserializableMessage(err)}})),clone2}{let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach((key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen)}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err)}})),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function processError(err,diffOptions){if(!err||"object"!=typeof err)return{message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||void 0===err.showDiff&&void 0!==err.expected&&void 0!==err.actual){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions})}"string"!=typeof err.expected&&(err.expected=stringify(err.expected,10)),"string"!=typeof err.actual&&(err.actual=stringify(err.actual,10));try{"string"==typeof err.message&&(err.message=normalizeErrorMessage(err.message)),"object"==typeof err.cause&&"string"==typeof err.cause.message&&(err.cause.message=normalizeErrorMessage(err.cause.message))}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return"Object"===getType(data)&&"function"==typeof data.asymmetricMatch}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1);return obj1Type===getType(obj2)&&("Object"===obj1Type||"Array"===obj1Type)}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?(actualReplaced.has(actual)||expectedReplaced.has(expected)||(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach((key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected}}))),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for("matchers-object"),JEST_MATCHERS_OBJECT=Symbol.for("$$jest-matchers-object-storybook"),GLOBAL_EXPECT=Symbol.for("expect-global"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState})}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})})}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers})}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current)}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;let replaceTrailingSpaces=text=>text.replace(/\s+$/gm,(spaces=>"·".repeat(spaces.length)));return{EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint:function matcherHint(matcherName,received="received",expected="expected",options={}){let{comment="",isDirectExpectCall=!1,isNot=!1,promise="",secondArgument="",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint="",dimString="expect";return!isDirectExpectCall&&""!==received&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=")"),""!==promise&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=""),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=""),matcherName.includes(".")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=""),""===expected?dimString+="()":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(", ")+secondArgumentColor(secondArgument)),dimString=")"),""!==comment&&(dimString+=` // ${comment}`),""!==dimString&&(hint+=DIM_COLOR(dimString)),hint},printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return eq(a,b2,[],[],customTesters=customTesters||[],strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return!!obj&&"object"==typeof obj&&"asymmetricMatch"in obj&&isA("Function",obj.asymmetricMatch)}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!asymmetricA||!asymmetricB){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}(a,b2);if(void 0!==asymmetricResult)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable)))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&void 0!==obj[key]}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return null!==obj&&"object"==typeof obj&&"nodeType"in obj&&"number"==typeof obj.nodeType&&"nodeName"in obj&&"string"==typeof obj.nodeName&&"isEqualNode"in obj&&"function"==typeof obj.isEqualNode}var IteratorSymbol=Symbol.iterator;function hasIterator(object){return!(null==object||!object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if("object"!=typeof a||"object"!=typeof b2||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return!1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter((t=>t!==iterableEquality)),function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}];if(void 0!==a.size){if(a.size!==b2.size)return!1;if(isA("Set",a)||function isImmutableUnorderedSet(maybeSet){return!(!maybeSet||!maybeSet["@@__IMMUTABLE_SET__@@"]||maybeSet["@@__IMMUTABLE_ORDERED__@@"])}(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)!0===equals(aValue,bValue,filteredCustomTesters)&&(has=!0);if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}if(isA("Map",a)||function isImmutableUnorderedKeyed(maybeKeyed){return!(!maybeKeyed||!maybeKeyed["@@__IMMUTABLE_KEYED__@@"]||maybeKeyed["@@__IMMUTABLE_ORDERED__@@"])}(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedValue=!1;!0===equals(aEntry[0],bEntry[0],filteredCustomTesters)&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),!0===matchedValue&&(has=!0)}if(!1===has){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return!1}return!!bIterator.next().done&&(aStack.pop(),bStack.pop(),!0)}function hasPropertyInObject(object,key){return!(!object||"object"!=typeof object||object===Object.prototype)&&(Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key))}function isObjectWithKeys(a){return function isObject(item){return null!=item&&"object"==typeof item&&!Array.isArray(item)}(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter((t=>t!==subsetEquality)),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every((key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0)}let result=null!=object2&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result}))};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(null!=a&&null!=b2&&a.constructor!==b2.constructor)return!1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer&&b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2)}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return!1;for(let i=0;it!==sparseArrayEquality)),!0)&&equals(aKeys,bKeys)}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse}$$typeof=Symbol.for("jest.asymmetricMatcher");getMatcherContext(expect4){return{...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for("chai/inspect")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{…}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample))throw new Error("Expected is not a string");super(sample,inverse)}asymmetricMatch(other){let result=isA("String",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return null!=other}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return!!obj&&(!!Object.prototype.hasOwnProperty.call(obj,property)||this.hasProperty(this.getPrototype(obj),property))}asymmetricMatch(other){if("object"!=typeof this.sample)throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse)}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=0===this.sample.length||Array.isArray(other)&&this.sample.every((item=>other.some((another=>equals(item,another,matcherContext.customTesters)))));return this.inverse?!result:result}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(sample)}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\s*function\s*\*?\s*([\w$]+)\s*\(/);return matches3?matches3[1]:""}asymmetricMatch(other){return this.sample===String?"string"==typeof other||other instanceof String:this.sample===Number?"number"==typeof other||other instanceof Number:this.sample===Function?"function"==typeof other||other instanceof Function:this.sample===Boolean?"boolean"==typeof other||other instanceof Boolean:this.sample===BigInt?"bigint"==typeof other||other instanceof BigInt:this.sample===Symbol?"symbol"==typeof other||other instanceof Symbol:this.sample===Object?"object"==typeof other:other instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA("String",sample)&&!isA("RegExp",sample))throw new Error("Expected is not a String or a RegExp");super(new RegExp(sample),inverse)}asymmetricMatch(other){let result=isA("String",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA("Number",sample))throw new Error("Expected is not a Number");if(!isA("Number",precision))throw new Error("Precision is not a Number");super(sample),this.inverse=inverse,this.precision=precision}asymmetricMatch(other){if(!isA("Number",other))return!1;let result=!1;return result=other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY||Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${word="digit",count=this.precision,`${count} ${word}${1===count?"":"s"}`})`].join(" ");var word,count}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,"anything",(()=>new Anything)),utils.addMethod(chai2.expect,"any",(expected=>new Any(expected))),utils.addMethod(chai2.expect,"stringContaining",(expected=>new StringContaining(expected))),utils.addMethod(chai2.expect,"objectContaining",(expected=>new ObjectContaining(expected))),utils.addMethod(chai2.expect,"arrayContaining",(expected=>new ArrayContaining(expected))),utils.addMethod(chai2.expect,"stringMatching",(expected=>new StringMatching(expected))),utils.addMethod(chai2.expect,"closeTo",((expected,precision)=>new CloseTo(expected,precision))),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)}};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally((()=>{let index=test.promises.indexOf(promise);-1!==index&&test.promises.splice(index,1)})),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn2){return function(...args){var _a;let test=utils.flag(this,"vitest-test");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn2.apply(this,args);if(!test)throw new Error("expect.soft() can only be used inside a test");try{return fn2.apply(this,args)}catch(err){test.result||(test.result={state:"fail"}),test.result.state="fail",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err))}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn2){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn2);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper)};Array.isArray(name)?name.forEach((n=>addMethod(n))):addMethod(name)}["throw","throws","Throw"].forEach((m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,(_super=>function(...args){let promise=utils.flag(this,"promise"),object=utils.flag(this,"object"),isNot=utils.flag(this,"negate");if("rejects"===promise)utils.flag(this,"object",(()=>{throw object}));else if("resolves"===promise&&"function"!=typeof object){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}_super.apply(this,args)}))})),def("withTest",(function(test){return utils.flag(this,"vitest-test",test),this})),def("toEqual",(function(expected){let actual=utils.flag(this,"object"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",expected,actual)})),def("toStrictEqual",(function(expected){let obj=utils.flag(this,"object"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",expected,obj)})),def("toBe",(function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName="";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName="toStrictEqual":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName="toEqual")),this.assert(pass,function generateToBeMessage(deepEqualityName,expected="#{this}",actual="#{exp}"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return["toStrictEqual","toEqual"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace "toBe" with "${deepEqualityName}"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}(deepEqualityName),"expected #{this} not to be #{exp} // Object.is equality",expected,actual)})),def("toMatchObject",(function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",expected,actual)})),def("toMatch",(function(expected){return"string"==typeof expected?this.include(expected):this.match(expected)})),def("toContain",(function(item){let actual=this._obj;if(typeof Node<"u"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError("toContain() expected a DOM node as the argument, but got "+typeof item);return this.assert(actual.contains(item),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",item,actual)}if(typeof DOMTokenList<"u"&&actual instanceof DOMTokenList){assertTypes(item,"class name",["string"]);let expectedClassList=utils.flag(this,"negate")?actual.value.replace(item,"").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected "${actual.value}" to contain "${item}"`,`expected "${actual.value}" not to contain "${item}"`,expectedClassList,actual.value)}return null!=actual&&"string"!=typeof actual&&utils.flag(this,"object",Array.from(actual)),this.contain(item)})),def("toContainEqual",(function(expected){let obj=utils.flag(this,"object"),index=Array.from(obj).findIndex((item=>equals(item,expected,customTesters)));this.assert(-1!==index,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",expected)})),def("toBeTruthy",(function(){let obj=utils.flag(this,"object");this.assert(!!obj,"expected #{this} to be truthy","expected #{this} to not be truthy",obj,!1)})),def("toBeFalsy",(function(){let obj=utils.flag(this,"object");this.assert(!obj,"expected #{this} to be falsy","expected #{this} to not be falsy",obj,!1)})),def("toBeGreaterThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)})),def("toBeGreaterThanOrEqual",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)})),def("toBeLessThan",(function(expected){let actual=this._obj;return assertTypes(actual,"actual",["number","bigint"]),assertTypes(expected,"expected",["number","bigint"]),this.assert(actualString(key).replace(/([.[\]])/g,"\\$1"))).join("."));let actual=this._obj,[propertyName,expected]=args,{value,exists}=Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),pass=exists&&(1===args.length||equals(expected,value,customTesters)),valueString=1===args.length?"":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property "${propertyName}"${valueString}`,`expected #{this} to not have property "${propertyName}"${valueString}`,expected,exists?value:void 0)})),def("toBeCloseTo",(function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff((assertion=>{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)})(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return 1===j&&11!==k?`${i}st`:2===j&&12!==k?`${i}nd`:3===j&&13!==k?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map(((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return methodCall+=actualCall?diff(actualCall,callArg,{omitAnnotationLines:!0}):stringify(callArg).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`));def(["toHaveBeenCalledTimes","toBeCalledTimes"],(function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected "${spyName}" to be called #{exp} times, but got ${callCount} times`,`expected "${spyName}" to not be called #{exp} times`,number,callCount,!1)})),def("toHaveBeenCalledOnce",(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(1===callCount,`expected "${spyName}" to be called once, but got ${callCount} times`,`expected "${spyName}" to not be called once`,1,callCount,!1)})),def(["toHaveBeenCalled","toBeCalled"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[called,`expected "${spyName}" to be called at least once`,`expected "${spyName}" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)})),def(["toHaveBeenCalledWith","toBeCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some((callArg=>equals(callArg,args,[...customTesters,iterableEquality]))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to be called with arguments: #{exp}`,`expected "${spyName}" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))})),def(["toHaveBeenNthCalledWith","nthCalledWith"],(function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} "${spyName}" call to have been called with #{exp}`,`expected ${ordinalOf(times)} "${spyName}" call to not have been called with #{exp}`,args,nthCall)})),def(["toHaveBeenLastCalledWith","lastCalledWith"],(function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last "${spyName}" call to have been called with #{exp}`,`expected last "${spyName}" call to not have been called with #{exp}`,args,lastCall)})),def(["toThrow","toThrowError"],(function(expected){if("string"==typeof expected||typeof expected>"u"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,"promise"),isNot=utils.flag(this,"negate"),thrown=null;if("rejects"===promise)thrown=obj;else{if("resolves"===promise&&"function"!=typeof obj){if(isNot)return;{let message=utils.flag(this,"message")||"expected promise to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}{let isThrow=!1;try{obj()}catch(err){isThrow=!0,thrown=err}if(!isThrow&&!isNot){let message=utils.flag(this,"message")||"expected function to throw an error, but it didn't";throw new AssertionError2(message,{showDiff:!1},utils.flag(this,"ssfi"))}}}if("function"==typeof expected){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if("object"==typeof expected&&"asymmetricMatch"in expected&&"function"==typeof expected.asymmetricMatch){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",matcher,thrown)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof expected}"`)})),def(["toHaveReturned","toReturn"],(function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some((({type:type3})=>"throw"!==type3));this.assert(calledAndNotThrew,`expected "${spyName}" to be successfully called at least once`,`expected "${spyName}" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1)})),def(["toHaveReturnedTimes","toReturnTimes"],(function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce(((success,{type:type3})=>"throw"===type3?success:++success),0);this.assert(successfulReturns===times,`expected "${spyName}" to be successfully called ${times} times`,`expected "${spyName}" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1)})),def(["toHaveReturnedWith","toReturnWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some((({type:type3,value:result})=>"return"===type3&&equals(value,result))),isNot=utils.flag(this,"negate"),msg=utils.getMessage(this,[pass,`expected "${spyName}" to return with: #{exp} at least once`,`expected "${spyName}" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(((spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map(((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return methodCall+=actualReturn?diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):stringify(callReturn).split("\n").map((line=>` ${line}`)).join("\n"),methodCall+="\n",methodCall})).join("\n")}`),msg+c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`)))(spy,msg,value))})),def(["toHaveLastReturnedWith","lastReturnedWith"],(function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last "${spyName}" call to return #{exp}`,`expected last "${spyName}" call to not return #{exp}`,value,lastResult)})),def(["toHaveNthReturnedWith","nthReturnedWith"],(function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,"negate"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&"throw"===callType&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} "${spyName}" call to return #{exp}`,`expected ${ordinalCall} "${spyName}" call to not return #{exp}`,value,callResult)})),def("toSatisfy",(function(matcher,message){return this.be.satisfy(matcher,message)})),utils.addProperty(chai2.Assertion.prototype,"resolves",(function(){let error=new Error("resolves");utils.flag(this,"promise","resolves"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object");if("function"!=typeof obj?.then)throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then((value=>(utils.flag(this,"object",value),result.call(this,...args))),(err=>{let _error=new AssertionError2(`promise rejected "${utils.inspect(err)}" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error}));return recordAsyncExpect(test,promise)}}});return proxy})),utils.addProperty(chai2.Assertion.prototype,"rejects",(function(){let error=new Error("rejects");utils.flag(this,"promise","rejects"),utils.flag(this,"error",error);let test=utils.flag(this,"vitest-test"),obj=utils.flag(this,"object"),wrapper="function"==typeof obj?obj():obj;if("function"!=typeof wrapper?.then)throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return"function"!=typeof result?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then((value=>{let _error=new AssertionError2(`promise resolved "${utils.inspect(value)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error}),(err=>(utils.flag(this,"object",err),result.call(this,...args))));return recordAsyncExpect(test,promise)}}});return proxy}))};var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected}};function JestExtendPlugin(expect4,matchers){return(c,utils)=>{Object.entries(matchers).forEach((([expectAssertionName,expectAssertion])=>{let softWrapper=wrapSoft(utils,(function expectWrapper(...args){let{state,isNot,obj}=function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,"negate"),promise=util.flag(assertion,"promise")||"",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return{state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&"object"==typeof result&&result instanceof Promise)return result.then((({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)}));let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}));utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse)}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return`${this.inverse?"not.":""}${expectAssertionName}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0})}))}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,"extend",((expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects))}))},matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,"__esModule",{value:!0,configurable:!0})}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0})}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports),$parcel$export($009ddb00d3ec72b8$exports,"default",(()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039));var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+":"+lineno+":"+column+": "+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports),$parcel$export($0865a9fb4cc365fe$exports,"default",(()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039));var $b2e137848b48cf4f$export$9be5dd6e61d5d73a,CssTypes,$0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source}};$parcel$export({},"CssTypes",(()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a)),(CssTypes=$b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={})).stylesheet="stylesheet",CssTypes.rule="rule",CssTypes.declaration="declaration",CssTypes.comment="comment",CssTypes.container="container",CssTypes.charset="charset",CssTypes.document="document",CssTypes.customMedia="custom-media",CssTypes.fontFace="font-face",CssTypes.host="host",CssTypes.import="import",CssTypes.keyframes="keyframes",CssTypes.keyframe="keyframe",CssTypes.layer="layer",CssTypes.media="media",CssTypes.namespace="namespace",CssTypes.page="page",CssTypes.supports="supports";var $d708735ed1303b43$var$commentre=/\/\*[^]*?(?:\*\/|$)/g;function $d708735ed1303b43$var$trim(str){return str?str.trim():""}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&"string"==typeof obj.type,childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach((v2=>{$d708735ed1303b43$var$addParent(v2,childParent)})):value&&"object"==typeof value&&$d708735ed1303b43$var$addParent(value,childParent)}return isNode&&Object.defineProperty(obj,"parent",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $149c1bd638913645$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||""),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||"",msg,lineno,column,css);if(!options?.silent)throw err;errorsList.push(err)}function open(){return match(/^{\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&"}"!==css.charAt(0)&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return function updatePosition(str){let lines=str.match(/\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf("\n");column=~i?str.length-i:column+str.length}(str),css=css.slice(str.length),m2}function whitespace(){match(/^\s*/)}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if("/"!==css.charAt(0)||"*"!==css.charAt(1))return;let m2=match(/^\/\*[^]*?\*\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error("End of comment missing")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(")",ptr);for(;!found&&-1!==closeParentheses;){let nextParentheses=str.indexOf("(",ptr);-1!==nextParentheses&&nextParenthesesm3.replace(/,/g,"‌"))),res.split(",").map((s=>$d708735ed1303b43$var$trim(s.replace(/\u200C/g,","))))}function declaration(){let pos=position(),propMatch=match(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\s*/))return error("property missing ':'");let val=match(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,""),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,""):""});return match(/^[;\s]*/),ret}function declarations(){let decl,decls=[];if(!open())return error("missing '{'");for(comments(decls);decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error("missing '}'")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)vals.push(m2[1]),match(/^,\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}let atimport=_compileAtrule("import"),atcharset=_compileAtrule("charset"),atnamespace=_compileAtrule("namespace");function _compileAtrule(name){let re=new RegExp("^@"+name+"\\s*((?::?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+)(?:;|$)");return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if("@"===css[0])return function atkeyframes(){let pos=position(),m1=match(/^@([-\w]+)?keyframes\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\w]+)\s*/);if(!m2)return error("@keyframes missing name");let name=m2[1];if(!open())return error("@keyframes missing '{'");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error("@keyframes missing '}'")}()||function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@media missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error("@media missing '}'")}()||function atcustommedia(){let pos=position(),m2=match(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}()||function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@supports missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error("@supports missing '}'")}()||atimport()||atcharset()||atnamespace()||function atdocument(){let pos=position(),m2=match(/^@([-\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error("@document missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error("@document missing '}'")}()||function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error("@page missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error("@page missing '}'")}()||function athost(){let pos=position();if(!match(/^@host\s*/))return;if(!open())return error("@host missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error("@host missing '}'")}()||function atfontface(){let pos=position();if(!match(/^@font-face\s*/))return;if(!open())return error("@font-face missing '{'");let decl,decls=comments();for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error("@font-face missing '}'")}()||function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error("@container missing '{'");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error("@container missing '}'")}()||function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error("@layer missing '}'")}()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error("selector missing")}return $d708735ed1303b43$var$addParent(function stylesheet(){let rulesList=rules();return{type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}())},toStr=Object.prototype.toString;function isCallable(fn2){return"function"==typeof fn2||"[object Function]"===toStr.call(fn2)}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=function toInteger(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>"u"?Set:SetLike;function getLocalName(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole(element,implicitRole){return function hasGlobalAriaAttributes(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole(element){var explicitRole=function getExplicitRole(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||-1!==presentationRoles.indexOf(explicitRole)){var implicitRole=function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if(-1===presentationRoles.indexOf(explicitRole||"")||ignorePresentationalRole(element,implicitRole||""))return implicitRole}return explicitRole}var presentationRoles=["presentation","none"];function isElement(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&"caption"===getLocalName(node)}function isHTMLInputElement(node){return isElement(node)&&"input"===getLocalName(node)}function isHTMLLegendElement(node){return isElement(node)&&"legend"===getLocalName(node)}function isSVGTitleElement(node){return function isSVGElement(node){return isElement(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName(node)}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles(node,roles3){return!!isElement(node)&&-1!==roles3.indexOf(getRole(node))}function hasAbstractRole(node,role){if(!isElement(node))return!1;if("range"===role)return hasAnyConcreteRoles(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions(listbox){return function isHTMLSelectElement(node){return isElement(node)&&"select"===getLocalName(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,"[selected]"):querySelectorAllSubtree(listbox,'[aria-selected="true"]')}function getValueOfTextbox(element){return isHTMLInputElement(element)||function isHTMLTextAreaElement(node){return isElement(node)&&"textarea"===getLocalName(node)}(element)?element.value:element.textContent||""}function getTextualContent(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement(element){var localName=getLocalName(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function computeTextAlternative(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default,window2=function safeWindow(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement(node){return isElement(node)&&"slot"===getLocalName(node)}(node)?function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom(slot.childNodes):assignedNodes}(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement(node))return null;if(function isHTMLFieldSetElement(node){return isElement(node)&&"fieldset"===getLocalName(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl(node){return hasAnyConcreteRoles(node,["button","combobox","listbox","textbox"])||hasAbstractRole(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return 0===selectedOptions.length?isHTMLInputElement(current)?current.value:"":arrayFrom(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(function allowsNameFromContent(node){return hasAnyConcreteRoles(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof2(o){return(_typeof2="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o2){return typeof o2}:function(o2){return o2&&"function"==typeof Symbol&&o2.constructor===Symbol&&o2!==Symbol.prototype?"symbol":typeof o2})(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;r1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming(node){return hasAnyConcreteRoles(node,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType="";try{withType=context.utils.printWithType("Received",received,context.utils.printReceived)}catch{}this.message=[context.utils.matcherHint(`${context.isNot?".not":""}.${matcherFn.name}`,"received",""),"",`${context.utils.RECEIVED_COLOR("received")} value must ${expectedString}.`,withType].join("\n")}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super("be an HTMLElement or an SVGElement",...args)}},NodeTypeError=class extends GenericTypeError{constructor(...args){super("be a Node",...args)}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement||htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,"",context.utils.RECEIVED_COLOR("Failing css:"),context.utils.RECEIVED_COLOR(`${received.css}`)].join("\n")}};function display(context,value){return"string"==typeof value?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return[`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0,import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0,import_redent.default)(display(context,receivedValue),2))}`].join("\n")}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText)}function normalize(text){return text.replace(/\s+/g," ").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case"input":return function getInputValue(inputElement){switch(inputElement.type){case"number":return""===inputElement.value?null:Number(inputElement.value);case"checkbox":return inputElement.checked;default:return inputElement.value}}(element);case"select":return function getSelectValue({multiple,options}){let selectedOptions=[...options].filter((option=>option.selected));return multiple?[...selectedOptions].map((opt=>opt.value)):0!==selectedOptions.length?selectedOptions[0].value:void 0}(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return(0,import_isEqual.default)(new Set(a),new Set(b2))}function toBeInTheDOM(element,container){return deprecate("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDOM","element",""),"","Received:",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join("\n")}}function toBeInTheDocument(element){(null!==element||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=null!==element&&element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`;return{pass,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeInTheDocument","element",""),"",this.utils.RECEIVED_COLOR(this.isNot?errorFound():"element could not be found in the document")].join("\n")}}function toBeEmpty(element){return deprecate("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),checkHtmlElement(element,toBeEmpty,this),{pass:""===element.innerHTML,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmpty","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toBeEmptyDOMElement","element",""),"","Received:",` ${this.utils.printReceived(element.innerHTML)}`].join("\n")}}function isEmptyElement(element){return 0===[...element.childNodes].filter((node=>8!==node.nodeType)).length}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),null!==element&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainElement","element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join("\n")}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement("div");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),"string"!=typeof htmlText)throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return{pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toContainHTML","element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(htmlText)}`,"Received:",` ${this.utils.printReceived(container.cloneNode(!0))}`].join("\n")}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){!function checkNode(node,...args){if(checkHasWindow(node,NodeTypeError,...args),!(node instanceof node.ownerDocument.defaultView.Node))throw new NodeTypeError(node,...args)}(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\u00a0/g," "),checkingWithEmptyString=""!==textContent&&""===checkWith;return{pass:!checkingWithEmptyString&&(textToMatch=textContent,matcher=checkWith,matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveTextContent","element",""),checkingWithEmptyString?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${to} have text content`,checkWith,"Received",textContent)}};var textToMatch,matcher}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=function computeAccessibleDescription(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs(root,"aria-describedby").map((function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:"description"}))})).join(" ");if(""===description){var ariaDescription=root.getAttribute("aria-description");description=null===ariaDescription?"":ariaDescription}if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleDescription:expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleDescription.name}`,"element",""),`Expected element ${to} have accessible description`,expectedAccessibleDescription,"Received",actualAccessibleDescription)}}}var ariaInvalidName="aria-invalid",validStates=["false"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?"not to":"to",method=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",errormessageId=htmlElement.getAttribute("aria-errormessage");if(errormessageId&&/\s+/.test(errormessageId))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${errormessageId}"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,"element"),"Expected element to be marked as invalid with attribute",`${ariaInvalidName}="${String(!0)}"`,"Received",htmlElement.hasAttribute("aria-invalid")?`${ariaInvalidName}="${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??"");return{pass:void 0===expectedAccessibleErrorMessage?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,"element"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??"","Received",error)}}var elementRoleList=function buildElementRoleList(elementRolesMap){function getSelectorSpecificity({attributes=[]}){return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector({name,attributes}){return`${name}${attributes.map((({name:attributeName,value,constraints=[]})=>-1!==constraints.indexOf("undefined")?`:not([${attributeName}])`:value?`[${attributeName}="${value}"]`:`[${attributeName}]`)).join("")}`}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}))}(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute("role")?htmlElement.getAttribute("role").split(" ").filter(Boolean):function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return[...roles3];return[]}(htmlElement)}(htmlElement);return{pass:actualRoles.some((el=>el===expectedRole)),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveRole.name}`,"element",""),`Expected element ${to} have role`,expectedRole,"Received",actualRoles.join(", "))}}}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),pass=!1;return pass=1===arguments.length?""!==actualAccessibleName:expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint(`${this.isNot?".not":""}.${toHaveAccessibleName.name}`,"element",""),`Expected element ${to} have accessible name`,expectedAccessibleName,"Received",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return void 0===value?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return void 0===value?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=void 0!==expectedValue,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return{pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?"not to":"to",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null;return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveAttribute","element",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)}),`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),"Received",receivedAttribute)}}}function splitClassNames(str){return str?str.split(/\s+/).filter((s=>s.length>0)):[]}function isSubset$1(subset,superset){return subset.every((strOrRegexp=>"string"==typeof strOrRegexp?superset.includes(strOrRegexp):superset.some((className=>strOrRegexp.test(className)))))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=function getExpectedClassNamesAndOptions(params){let expectedClassNames,options,lastParam=params.pop();return"object"!=typeof lastParam||lastParam instanceof RegExp?(expectedClassNames=params.concat(lastParam),options={exact:!1}):(expectedClassNames=params,options=lastParam),{expectedClassNames,options}}(params),received=splitClassNames(htmlElement.getAttribute("class")),expected=expectedClassNames.reduce(((acc,className)=>acc.concat("string"!=typeof className&&className?className:splitClassNames(className))),[]),hasRegExp=expected.some((className=>className instanceof RegExp));if(options.exact&&hasRegExp)throw new Error("Exact option does not support RegExp expected class names");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(" "),"Received",received.join(" "))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveClass","element",this.utils.printExpected(expected.join(" "))),`Expected the element ${to} have class`,expected.join(" "),"Received",received.join(" "))}}:{pass:!!this.isNot&&received.length>0,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",received.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join("\n")}}function printoutStyles(styles){return Object.keys(styles).sort().map((prop=>`${prop}: ${styles[prop]};`)).join("\n")}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter((prop=>void 0!==expected[prop])).reduce(((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)})),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red("+ Received")}\n`,"")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS="object"==typeof css?css:function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter((d2=>"declaration"===d2.type)).reduce(((obj,{property,value})=>Object.assign(obj,{[property]:value})),{})}(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement("div");return Object.keys(css).forEach((property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property]})),styles}(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return{pass:(styles=expected,computedStyle=received,!!Object.keys(styles).length&&Object.entries(styles).every((([prop,value])=>{let isCustomProperty=prop.startsWith("--"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some((name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value))}))),message:()=>{let matcher=(this.isNot?".not":"")+".toHaveStyle";return[this.utils.matcherHint(matcher,"element",""),expectedDiff(this.utils.diff,expected,received)].join("\n\n")}};var styles,computedStyle}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint((this.isNot?".not":"")+".toHaveFocus","element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(element)}`]:["Expected element with focus:",` ${this.utils.printExpected(element)}`,"Received element with focus:",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join("\n")}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name="${(0,import_css.default)(name)}"]`)];if(0!==elements.length){if(1===elements.length)return getSingleElementValue(elements[0]);return function getMultiElementValue(elements){let types=(0,import_uniq.default)(elements.map((element=>element.type)));if(1!==types.length)throw new Error("Multiple form elements with the same name must be of the same type");switch(types[0]){case"radio":{let theChosenOne=elements.find((radio=>radio.checked));return theChosenOne?theChosenOne.value:void 0}case"checkbox":return elements.filter((checkbox=>checkbox.checked)).map((checkbox=>checkbox.value));default:return elements.map((element=>element.value))}}(elements)}}function getPureName(name){return/\[\]$/.test(name)?name.slice(0,-2):name}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let formValues=function getAllFormValues(container){return Array.from(container.elements).map((element=>element.name)).reduce(((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)})),{})}(formElement);return{pass:Object.entries(expectedValues).every((([name,expectedValue])=>(0,import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet))),message:()=>{let to=this.isNot?"not to":"to",matcher=(this.isNot?".not":"")+".toHaveFormValues",commonKeyValues=Object.keys(formValues).filter((key=>expectedValues.hasOwnProperty(key))).reduce(((obj,key)=>({...obj,[key]:formValues[key]})),{});return[this.utils.matcherHint(matcher,"element",""),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join("\n\n")}}}function isElementVisible(element,previousElement){return function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return"none"!==display2&&"hidden"!==visibility&&"collapse"!==visibility&&"0"!==opacity&&0!==opacity}(element)&&function isAttributeVisible(element,previousElement){let detailsVisibility;return detailsVisibility=previousElement?"DETAILS"!==element.nodeName||"SUMMARY"===previousElement.nodeName||element.hasAttribute("open"):"DETAILS"!==element.nodeName||element.hasAttribute("open"),!element.hasAttribute("hidden")&&detailsVisibility}(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return{pass:isVisible2,message:()=>{let is=isVisible2?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeVisible","element",""),"",`Received element ${is} visible${isInDocument?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$2=["fieldset","input","select","optgroup","option","button","textarea"];function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!function isFirstLegendChildOfFieldset(element,parent){return"legend"===getTag(element)&&"fieldset"===getTag(parent)&&element.isSameNode(Array.from(parent.children).find((child=>"legend"===getTag(child))))}(element,parent)}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||function isCustomElement(tag){return tag.includes("-")}(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute("disabled")}function isAncestorDisabled(element){let parent=element.parentElement;return!!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return{pass:isDisabled3,message:()=>{let is=isDisabled3?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeDisabled","element",""),"",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return{pass:isEnabled,message:()=>{let is=isEnabled?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeEnabled","element",""),"",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS$1=["select","textarea"],ARIA_FORM_TAGS=["input","select","textarea"],UNSUPPORTED_INPUT_TYPES=["color","hidden","range","submit","image","reset"],SUPPORTED_ARIA_ROLES=["combobox","gridcell","radiogroup","spinbutton","tree"];function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute("required")}(element)||function isRequiredOnSupportedInput(element){return"input"===getTag(element)&&element.hasAttribute("required")&&(element.hasAttribute("type")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute("type"))||!element.hasAttribute("type"))}(element)||function isElementRequiredByARIA(element){return element.hasAttribute("aria-required")&&"true"===element.getAttribute("aria-required")&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute("role")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute("role")))}(element);return{pass:isRequired,message:()=>{let is=isRequired?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeRequired","element",""),"",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}var FORM_TAGS=["form","input","select","textarea"];function isElementInvalid(element){let isHaveAriaInvalid=function isElementHavingAriaInvalid(element){return element.hasAttribute("aria-invalid")&&"false"!==element.getAttribute("aria-invalid")}(element);return function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return{pass:isInvalid,message:()=>{let is=isInvalid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeInvalid","element",""),"",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return{pass:isValid,message:()=>{let is=isValid?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeValid","element",""),"",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),"input"===htmlElement.tagName.toLowerCase()&&["checkbox","radio"].includes(htmlElement.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let receivedValue=getSingleElementValue(htmlElement),expectsValue=void 0!==expectedValue,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0,import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveValue","element",expectedValue),`Expected the element ${to} have value`,expectsValue?expectedTypedValue:"(any)","Received",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(!["select","input","textarea"].includes(tagName))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if("input"===tagName&&["radio","checkbox"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${htmlElement.type}"], try with another matcher instead.`);let values=function getValues(tagName,htmlElement){return"select"===tagName?Array.from(htmlElement).filter((option=>option.selected)).map((option=>option.textContent)):[htmlElement.value]}(tagName,htmlElement),expectedValues=function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}(expectedValue),numberOfMatchesWithValues=expectedValues.filter((expected=>values.some((value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return{pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDisplayValue","element",""),`Expected element ${this.isNot?"not ":""}to have display value`,expectedValue,"Received",values)}}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&["checkbox","radio"].includes(element.type);if(!(isValidInput()||roleSupportsChecked(element.getAttribute("role"))&&["true","false"].includes(element.getAttribute("aria-checked"))))return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${function supportedRolesSentence(){return function toSentence(array,{wordConnector=", ",lastWordConnector=" and "}={}){return[array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:"")}(function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}().map((role=>`role="${role}"`)),{lastWordConnector:" or "})}()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:"true"===element.getAttribute("aria-checked");return{pass:isChecked(),message:()=>{let is=isChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBeChecked","element",""),"",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function roleSupportsChecked(role){return void 0!==import_aria_query.roles.get(role)?.props["aria-checked"]}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>"input"===element.tagName.toLowerCase()&&"checkbox"===element.type;if(!isValidInput()&&"checkbox"!==element.getAttribute("role"))return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed="mixed"===element.getAttribute("aria-checked");return isValidInput()&&element.indeterminate||isAriaMixed};return{pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?"is":"is not";return[this.utils.matcherHint((this.isNot?".not":"")+".toBePartiallyChecked","element",""),"",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join("\n")}}}function toHaveDescription(htmlElement,checkWith){deprecate("toHaveDescription","Please use toHaveAccessibleDescription."),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=void 0!==checkWith,descriptionIDs=(htmlElement.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),description="";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map((descriptionID=>document2.getElementById(descriptionID))).filter(Boolean);description=normalize(descriptionEls.map((el=>el.textContent)).join(" "))}return{pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveDescription","element",""),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute("aria-invalid")||"false"===htmlElement.getAttribute("aria-invalid")){let not=this.isNot?".not":"";return{pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",htmlElement.hasAttribute("aria-invalid")?`aria-invalid="${htmlElement.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let expectsErrorMessage=void 0!==checkWith,errormessageIDs=(htmlElement.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),errormessage="";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map((errormessageID=>document2.getElementById(errormessageID))).filter(Boolean);errormessage=normalize(errormessageEls.map((el=>el.textContent)).join(" "))}return{pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?"not to":"to";return getMessage(this,this.utils.matcherHint((this.isNot?".not":"")+".toHaveErrorMessage","element",""),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),"Received",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1),__toESM(require_isEqual(),1),__toESM(require_lib(),1),__toESM(require_source(),1),__toESM(require_isEqualWith(),1),__toESM(require_uniq(),1),__toESM(require_css_escape(),1);var expect2=function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};return Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` "${message}" `:" "}not to be reached`)},setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,"assertions",(function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen})})),util.addMethod(expect4,"hasAssertions",(function hasAssertions(){let error=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error})})),expect4.extend(matchers_exports),expect4}();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3()),toStr2=Object.prototype.toString;function isCallable2(fn2){return"function"==typeof fn2||"[object Function]"===toStr2.call(fn2)}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=function toInteger2(value){var number=Number(value);return isNaN(number)?0:0!==number&&isFinite(number)?(number>0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof mapFn<"u"&&!isCallable2(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var kValue,len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0;k0&&void 0!==arguments[0]?arguments[0]:[];(function _classCallCheck2(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")})(this,SetLike3),function _defineProperty3(obj,key,value){return(key=_toPropertyKey3(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"items",void 0),this.items=items}return function _createClass2(Constructor,protoProps,staticProps){return protoProps&&_defineProperties2(Constructor.prototype,protoProps),staticProps&&_defineProperties2(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(SetLike3,[{key:"add",value:function(value){return!1===this.has(value)&&this.items.push(value),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter((function(item){return item!==value})),previousLength!==this.items.length}},{key:"forEach",value:function(callbackfn){var _this=this;this.items.forEach((function(item){callbackfn(item,item,_this)}))}},{key:"has",value:function(value){return-1!==this.items.indexOf(value)}},{key:"size",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>"u"?Set:SetLike2;function getLocalName2(element){var _element$localName;return null!==(_element$localName=element.localName)&&void 0!==_element$localName?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},prohibitedAttributes2={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function ignorePresentationalRole2(element,implicitRole){return function hasGlobalAriaAttributes2(element,role){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some((function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!(null!==(_prohibitedAttributes=prohibitedAttributes2[role])&&void 0!==_prohibitedAttributes&&_prohibitedAttributes.has(attributeName))}))}(element,implicitRole)}function getRole2(element){var explicitRole=function getExplicitRole2(element){var role=element.getAttribute("role");if(null!==role){var explicitRole=role.trim().split(" ")[0];if(explicitRole.length>0)return explicitRole}return null}(element);if(null===explicitRole||"presentation"===explicitRole){var implicitRole=function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(void 0!==mappedByTag)return mappedByTag;switch(getLocalName2(element)){case"a":case"area":case"link":if(element.hasAttribute("href"))return"link";break;case"img":return""!==element.getAttribute("alt")||ignorePresentationalRole2(element,"img")?"img":"presentation";case"input":var type3=element.type;switch(type3){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return type3;case"range":return"slider";case"email":case"tel":case"text":case"url":return element.hasAttribute("list")?"combobox":"textbox";case"search":return element.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}case"select":return element.hasAttribute("multiple")||element.size>1?"listbox":"combobox"}return null}(element);if("presentation"!==explicitRole||ignorePresentationalRole2(element,implicitRole||""))return implicitRole}return explicitRole}function isElement2(node){return null!==node&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&"caption"===getLocalName2(node)}function isHTMLInputElement2(node){return isElement2(node)&&"input"===getLocalName2(node)}function isHTMLLegendElement2(node){return isElement2(node)&&"legend"===getLocalName2(node)}function isSVGTitleElement2(node){return function isSVGElement2(node){return isElement2(node)&&void 0!==node.ownerSVGElement}(node)&&"title"===getLocalName2(node)}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(" "),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map((function(id){return root.getElementById(id)})).filter((function(element){return null!==element}))}return[]}function hasAnyConcreteRoles2(node,roles3){return!!isElement2(node)&&-1!==roles3.indexOf(getRole2(node))}function hasAbstractRole2(node,role){if(!isElement2(node))return!1;if("range"===role)return hasAnyConcreteRoles2(node,["meter","progressbar","scrollbar","slider","spinbutton"]);throw new TypeError("No knowledge about abstract role '".concat(role,"'. This is likely a bug :("))}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,"aria-owns").forEach((function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)))})),elements}function querySelectedOptions2(listbox){return function isHTMLSelectElement2(node){return isElement2(node)&&"select"===getLocalName2(node)}(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,"[selected]"):querySelectorAllSubtree2(listbox,'[aria-selected="true"]')}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||function isHTMLTextAreaElement2(node){return isElement2(node)&&"textarea"===getLocalName2(node)}(element)?element.value:element.textContent||""}function getTextualContent2(declaration){var content=declaration.getPropertyValue("content");return/^["'].*["']$/.test(content)?content.slice(1,-1):""}function isLabelableElement2(element){var localName=getLocalName2(element);return"button"===localName||"input"===localName&&"hidden"!==element.getAttribute("type")||"meter"===localName||"output"===localName||"progress"===localName||"select"===localName||"textarea"===localName}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach((function(childNode){if(null===labelableElement&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);null!==descendantLabelableElement&&(labelableElement=descendantLabelableElement)}})),labelableElement}function getControlOfLabel2(label){if(void 0!==label.control)return label.control;var htmlFor=label.getAttribute("for");return null!==htmlFor?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function computeTextAlternative2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},consultedNodes=new SetLike_default2,window2=function safeWindow2(node){var defaultView=(null===node.ownerDocument?node:node.ownerDocument).defaultView;if(null===defaultView)throw new TypeError("no window available");return defaultView}(root),_options$compute=options.compute,compute=void 0===_options$compute?"name":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=void 0===_options$computedStyl?void 0!==options.getComputedStyle:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=void 0===_options$getComputedS?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=void 0!==_options$hidden&&_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText="";if(isElement2(node)&&computedStyleSupportsPseudoElements){var beforeContent=getTextualContent2(getComputedStyle(node,"::before"));accumulatedText="".concat(beforeContent," ").concat(accumulatedText)}if((function isHTMLSlotElement2(node){return isElement2(node)&&"slot"===getLocalName2(node)}(node)?function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return 0===assignedNodes.length?arrayFrom2(slot.childNodes):assignedNodes}(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,"aria-owns"))).forEach((function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),separator="inline"!==(isElement2(child)?getComputedStyle(child).getPropertyValue("display"):"inline")?" ":"";accumulatedText+="".concat(separator).concat(result).concat(separator)})),isElement2(node)&&computedStyleSupportsPseudoElements){var afterContent=getTextualContent2(getComputedStyle(node,"::after"));accumulatedText="".concat(accumulatedText," ").concat(afterContent)}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return null===attribute||consultedNodes.has(attribute)||""===attribute.value.trim()?null:(consultedNodes.add(attribute),attribute.value)}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(function isHTMLFieldSetElement2(node){return isElement2(node)&&"fieldset"===getLocalName2(node)}(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0})).join(" ");if(isHTMLInputElement2(node)&&"image"===node.type){var _nameFromAlt=useAttribute(node,"alt");if(null!==_nameFromAlt)return _nameFromAlt;var nameFromTitle=useAttribute(node,"title");return null!==nameFromTitle?nameFromTitle:"Submit Query"}if(hasAnyConcreteRoles2(node,["button"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==nameFromSubTree)return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return"";if(!hidden&&function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return!1;if(node.hasAttribute("hidden")||"true"===node.getAttribute("aria-hidden"))return!0;var style=getComputedStyleImplementation(node);return"none"===style.getPropertyValue("display")||"hidden"===style.getPropertyValue("visibility")}(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),"";var labelAttributeNode=isElement2(current)?current.getAttributeNode("aria-labelledby"):null,labelElements=null===labelAttributeNode||consultedNodes.has(labelAttributeNode)?[]:queryIdRefs2(current,"aria-labelledby");if("name"===compute&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map((function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})})).join(" ");var skipToStep2E=context.recursion&&function isControl2(node){return hasAnyConcreteRoles2(node,["button","combobox","listbox","textbox"])||hasAbstractRole2(node,"range")}(current)&&"name"===compute;if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute("aria-label")||"").trim();if(""!==ariaLabel&&"name"===compute)return consultedNodes.add(current),ariaLabel;if(!function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,["none","presentation"])}(current)){var elementTextAlternative=computeElementTextAlternative(current);if(null!==elementTextAlternative)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,["menu"]))return consultedNodes.add(current),"";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,["combobox","listbox"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return 0===selectedOptions.length?isHTMLInputElement2(current)?current.value:"":arrayFrom2(selectedOptions).map((function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})})).join(" ")}if(hasAbstractRole2(current,"range"))return consultedNodes.add(current),current.hasAttribute("aria-valuetext")?current.getAttribute("aria-valuetext"):current.hasAttribute("aria-valuenow")?current.getAttribute("aria-valuenow"):current.getAttribute("value")||"";if(hasAnyConcreteRoles2(current,["textbox"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}(current)||isElement2(current)&&context.isReferenced||function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}(current)){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(""!==accumulatedText2F)return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||"";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,"title"):null}(current);return null!==tooltipAttributeValue?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),"")}return function asFlatString2(s){return s.trim().replace(/\s\s+/g," ")}(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:"description"===compute,recursion:!1}))}function _typeof4(obj){return(_typeof4="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj2){return typeof obj2}:function(obj2){return obj2&&"function"==typeof Symbol&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?"symbol":typeof obj2})(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys2.push.apply(keys2,symbols)}return keys2}function _objectSpread2(target){for(var i=1;i1&&void 0!==arguments[1]?arguments[1]:{},description=queryIdRefs2(root,"aria-describedby").map((function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:"description"}))})).join(" ");if(""===description){var title=root.getAttribute("title");description=null===title?"":title}return description}function computeAccessibleName2(root){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}(root)?"":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,">")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map((key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return"string"!=typeof value&&(-1!==printed.indexOf("\n")&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed="{"+printed+"}"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+"="+colors.value.open+printed+colors.value.close})).join("")},printChildren=(children,config3,indentation,depth,refs,printer)=>children.map((child=>{let printedChild="string"==typeof child?printText(child,config3):printer(child,config3,indentation,depth,refs);return""===printedChild&&"object"==typeof child&&null!==child&&3!==child.nodeType?"":config3.spacingOuter+indentation+printedChild})).join(""),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+"\x3c!--"+escapeHTML(comment)+"--\x3e"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?">"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+""+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+"<"+type3+tagColor.close+" …"+tagColor.open+" />"+tagColor.close},TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2="string"==typeof tagName&&tagName.includes("-")||"function"==typeof val.hasAttribute&&val.hasAttribute("is");return 1===nodeType&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&"Text"===constructorName||nodeType===COMMENT_NODE$1&&"Comment"===constructorName||nodeType===FRAGMENT_NODE&&"DocumentFragment"===constructorName};function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return{test:val=>{var _val$constructor2;return(null==val||null==(_val$constructor2=val.constructor)?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(function nodeIsText(node){return node.nodeType===TEXT_NODE$1}(node))return printText(node.data,config3);if(function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?"DocumentFragment":node.tagName.toLowerCase();return++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map((attr=>attr.name)).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce(((props,attribute)=>(props[attribute.name]=attribute.value,props)),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,"fs").readFileSync,codeFrameColumns=nodeRequire.call(module,"@babel/code-frame").codeFrameColumns,chalk2=nodeRequire.call(module,"chalk")}catch{}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return"";return function getCodeFrame(frame){let locationStart=frame.indexOf("(")+1,locationEnd=frame.indexOf(")"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(":"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents="";try{rawFileContents=readFileSync(filename,"utf-8")}catch{return""}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+"\n"+codeFrame+"\n"}((new Error).stack.split("\n").slice(1).find((frame=>!frame.includes("node_modules/"))))}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<"u"&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function getDocument(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&null===node.ownerDocument.defaultView?new Error("It looks like the window object is not available for the provided node."):node.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(node)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):"function"==typeof node.debug&&"function"==typeof node.logTestingPlaygroundURL?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof node+".")}function checkContainerType(container){if(!container||"function"!=typeof container.querySelector||"function"!=typeof container.querySelectorAll)throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+function getTypeName(object){return"object"==typeof object?null===object?"null":object.constructor.name:typeof object}(container)+".")}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse(null==(_process=process)||null==(_process=_process.env)?void 0:_process.COLORS)}catch{}return"boolean"==typeof colors?colors:typeof process<"u"&&void 0!==process.versions&&void 0!==process.versions.node},{DOMCollection:DOMCollection3}=prettyFormat.plugins;function filterCommentsAndDefaultIgnoreTagsTags(value){return 8!==value.nodeType&&(1!==value.nodeType||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(void 0===options&&(options={}),dom||(dom=getDocument().body),"number"!=typeof maxLength&&(maxLength=typeof process<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),0===maxLength)return"";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if("object"===domTypeName?domTypeName=dom.constructor.name:dom={},!("outerHTML"in dom))throw new TypeError("Expected an element or document but got "+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return void 0!==maxLength&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+"...":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+"\n\n"+userCodeFrame:prettyDOM(...arguments))},config2={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,"Ignored nodes: comments, "+config2.defaultIgnore+"\n"+prettifiedDOM].filter(Boolean).join("\n\n"));return error.name="TestingLibraryElementError",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function configure(newConfig){"function"==typeof newConfig&&(newConfig=newConfig(config2)),config2={...config2,...newConfig}}function getConfig(){return config2}var labelledNodeNames=["button","meter","output","progress","select","textarea","input"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?"":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map((childNode=>getTextContent(childNode))).join("")}function getLabelContent(element){let textContent;return textContent="label"===element.tagName.toLowerCase()?getTextContent(element):element.value||element.textContent,textContent}function getRealLabels(element){var _labels;if(void 0!==element.labels)return null!=(_labels=element.labels)?_labels:[];if(!function isLabelable(element){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||"INPUT"===element.tagName&&"hidden"!==element.getAttribute("type")}(element))return[];let labels=element.ownerDocument.querySelectorAll("label");return Array.from(labels).filter((label=>label.control===element))}function getLabels3(container,element,_temp){let{selector="*"}=void 0===_temp?{}:_temp,ariaLabelledBy=element.getAttribute("aria-labelledby"),labelsId=ariaLabelledBy?ariaLabelledBy.split(" "):[];return labelsId.length?labelsId.map((labelId=>{let labellingElement=container.querySelector('[id="'+labelId+'"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:"",formControl:null}})):Array.from(getRealLabels(element)).map((label=>({content:getLabelContent(label),formControl:Array.from(label.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter((formControlElement=>formControlElement.matches(selector)))[0]})))}function assertNotNullOrUndefined(matcher){if(null==matcher)throw new Error("It looks like "+matcher+" was passed instead of a matcher. Did you do something like getByText("+matcher+")?")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return"string"==typeof matcher||"number"==typeof matcher?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):"function"==typeof matcher?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if("string"!=typeof textToMatch)return!1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=void 0===_temp?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\s+/g," "):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<"u"||typeof collapseWhitespace<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&0!==matcher.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),matcher.lastIndex=0),match}function getNodeText(node){return node.matches("input[type=submit], input[type=button], input[type=reset]")?node.value:Array.from(node.childNodes).filter((child=>child.nodeType===TEXT_NODE&&!!child.textContent)).map((c=>c.textContent)).join("")}var elementRoleList2=function buildElementRoleList2(elementRolesMap){function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex((attribute=>attribute.value&&"type"===attribute.name&&"text"===attribute.value));typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=function makeElementSelector(_ref){let{name,attributes}=_ref;return""+name+attributes.map((_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return-1!==constraints.indexOf("undefined")?":not(["+attributeName+"])":value?"["+attributeName+'="'+value+'"]':"["+attributeName+"]"})).join("")}({...element,attributes});return node=>!(typeTextIndex>=0&&"text"!==node.type)&&node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort((function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}))}(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return!0===element.hidden||"true"===element.getAttribute("aria-hidden")||"none"===element.ownerDocument.defaultView.getComputedStyle(element).display}function isInaccessible(element,options){void 0===options&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if("hidden"===element.ownerDocument.defaultView.getComputedStyle(element).visibility)return!0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return!0;currentElement=currentElement.parentElement}return!1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return[...roles3];return[]}function getRoles(container,_temp){let{hidden=!1}=void 0===_temp?{}:_temp;return function flattenDOM(node){return[node,...Array.from(node.children).reduce(((acc,child)=>[...acc,...flattenDOM(child)]),[])]}(container).filter((element=>!1!==hidden||!1===isInaccessible(element))).reduce(((acc,node)=>{let roles3=[];return roles3=node.hasAttribute("role")?node.getAttribute("role").split(" ").slice(0,1):getImplicitAriaRoles2(node),roles3.reduce(((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]}),acc)}),{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter((_ref7=>{let[role]=_ref7;return"generic"!==role})).map((_ref8=>{let[role,elements]=_ref8,delimiterBar="-".repeat(50);return role+":\n\n"+elements.map((el=>{let nameString='Name "'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n',domString=prettyDOM(el.cloneNode(!1));if(includeDescription){return""+nameString+('Description "'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+'":\n')+domString}return""+nameString+domString})).join("\n\n")+"\n\n"+delimiterBar})).join("\n")}var logRoles=function(dom,_temp2){let{hidden=!1}=void 0===_temp2?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);return"true"===attributeValue||"false"!==attributeValue&&void 0}var normalize2=getDefaultNormalizer();function getRegExpMatcher(string2){return new RegExp(function escapeRegExp(string2){return string2.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}(string2.toLowerCase()),"i")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning="",queryOptions={},queryArgs=[["Role","TestId"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),"Role"===queryName&&isInaccessible(element)&&(queryOptions.hidden=!0,warning="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+"By"+queryName;return{queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text="string"==typeof text?"'"+text+"'":text,options=options?", { "+Object.entries(options).map((_ref2=>{let[k,v2]=_ref2;return k+": "+v2})).join(", ")+" }":"",queryMethod+"("+text+options+")"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(void 0===variant&&(variant="get"),element.matches(getConfig().defaultIgnore))return;let role=null!=(_element$getAttribute=element.getAttribute("role"))?_element$getAttribute:null==(_getImplicitAriaRoles=getImplicitAriaRoles2(element))?void 0:_getImplicitAriaRoles[0];if("generic"!==role&&canSuggest("Role",method,role))return makeSuggestion("Role",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map((label=>label.content)).join(" ");if(canSuggest("LabelText",method,labelText))return makeSuggestion("LabelText",element,labelText,{variant});let placeholderText=element.getAttribute("placeholder");if(canSuggest("PlaceholderText",method,placeholderText))return makeSuggestion("PlaceholderText",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest("Text",method,textContent))return makeSuggestion("Text",element,textContent,{variant});if(canSuggest("DisplayValue",method,element.value))return makeSuggestion("DisplayValue",element,normalize2(element.value),{variant});let alt=element.getAttribute("alt");if(canSuggest("AltText",method,alt))return makeSuggestion("AltText",element,alt,{variant});let title=element.getAttribute("title");if(canSuggest("Title",method,title))return makeSuggestion("Title",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);return canSuggest("TestId",method,testId)?makeSuggestion("TestId",element,testId,{variant}):void 0}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message)}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,"message",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if("function"!=typeof callback)throw new TypeError("Received `callback` arg must be a function");return new Promise((async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus="idle",overallTimeoutTimer=setTimeout((function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&"TestingLibraryElementError"===error.name&©StackTrace(error,stackTraceError)):(error=new Error("Timed out in waitFor."),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null)}),timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),void reject(error)}if(await advanceTimersWrapper((async()=>{jest.advanceTimersByTime(interval)})),finished)break;checkCallback()}}else{try{checkContainerType(container)}catch(e){return void reject(e)}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback()}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result)}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}return checkCallback()}function checkCallback(){if("pending"!==promiseStatus)try{let result=function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1}}(callback);"function"==typeof result?.then?(promiseStatus="pending",result.then((resolvedValue=>{promiseStatus="resolved",onDone(null,resolvedValue)}),(rejectedValue=>{promiseStatus="rejected",lastError=rejectedValue}))):onDone(null,result)}catch(error){lastError=error}}}))}function waitForWrapper(callback,options){let stackTraceError=new Error("STACK_TRACE_MESSAGE");return getConfig().asyncWrapper((()=>waitFor(callback,{stackTraceError,...options})))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("["+attribute+"]")).filter((node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer)))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError("Found multiple elements by ["+attribute+"="+text+"]",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map((element=>getElementError(null,element).message)).join("\n\n");throw getMultipleElementsFoundError(getMultipleError2(container,...args)+"\n\nHere are the matching elements:\n\n"+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError("A better query is available, try this:\n"+suggestion.toString()+"\n",container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return(container,text,options,waitForOptions)=>waitForWrapper((()=>getter(container,text,options)),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map((element=>{var _getSuggestedQuery;return null==(_getSuggestedQuery=getSuggestedQuery(element,variant))?void 0:_getSuggestedQuery.toString()})))];if(1===uniqueSuggestionMessages.length&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,"query"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"get");return[queryBy,wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace("query","get"),"getAll"),getByWithSuggestions,makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,"findAll")),makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,"find"))]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=void 0===_temp?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return function queryAllLabels(container){return Array.from(container.querySelectorAll("label,input")).map((node=>({node,textToMatch:getLabelContent(node)}))).filter((_ref=>{let{textToMatch}=_ref;return null!==textToMatch}))}(container).filter((_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)})).map((_ref3=>{let{node}=_ref3;return node}))},queryAllByLabelText=function(container,text,_temp2){let{selector="*",exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp2?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll("*")).filter((element=>getRealLabels(element).length||element.hasAttribute("aria-labelledby"))).reduce(((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter((label=>!!label.formControl)).forEach((label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl)}));let labelsValue=labelList.filter((label=>!!label.content)).map((label=>label.content));return matcher(labelsValue.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach(((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(" "),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement)})),labelledElements}),[]).concat(queryAllByAttribute("aria-label",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter((element=>element.matches(selector)))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map((label=>function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute("for");if(!htmlFor)return null;let element=container.querySelector('[id="'+htmlFor+'"]');return element?element.tagName.toLowerCase():null}(container,label))).filter((tagName=>!!tagName));throw tagNames.length?getConfig().getElementError(tagNames.map((tagName=>"Found a label with the text of: "+text+", however the element associated with this label (<"+tagName+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+tagName+" />, you can use aria-label or aria-labelledby instead.")).join("\n\n"),container):getConfig().getElementError("Found a label with the text of: "+text+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',container)}throw getConfig().getElementError("Unable to find a label with the text of: "+text,container)}return els};var getMultipleError$7=(c,text)=>"Found multiple elements with the text of: "+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,"query"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"findAll")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"find")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,"getAll"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,"get"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,"queryAll"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute("placeholder",...args)},queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,"queryAll"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,((c,text)=>"Found multiple elements with the placeholder text of: "+text),((c,text)=>"Unable to find an element with the placeholder text of: "+text)),queryAllByText=function(container,text,_temp){let{selector="*",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return"function"==typeof container.matches&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter((node=>!ignore||!node.matches(ignore))).filter((node=>matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,"queryAll"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,((c,text)=>"Found multiple elements with the text: "+text),(function(c,text,options){void 0===options&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString());return"Unable to find an element with the text: "+(normalizedText!==text.toString()?normalizedText+" (normalized from '"+text+"')":text)+("*"!==(selector??"*")?", which matches selector '"+selector+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."})),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("input,textarea,select")).filter((node=>"SELECT"===node.tagName?Array.from(node.options).filter((option=>option.selected)).some((optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer))):matcher(node.value,node,value,matchNormalizer)))},queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,"queryAll"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,((c,value)=>"Found multiple elements with the display value: "+value+"."),((c,value)=>"Unable to find an element with the display value: "+value+".")),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return void 0===options&&(options={}),checkContainerType(container),queryAllByAttribute("alt",container,alt,options).filter((node=>VALID_TAG_REGEXP.test(node.tagName)))},queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,"queryAll"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,((c,alt)=>"Found multiple elements with the alt text: "+alt),((c,alt)=>"Unable to find an element with the alt text: "+alt)),queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=void 0===_temp?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll("[title], svg > title")).filter((node=>matcher(node.getAttribute("title"),node,text,matchNormalizer)||(node=>{var _node$parentElement;return"title"===node.tagName.toLowerCase()&&"svg"===(null==(_node$parentElement=node.parentElement)?void 0:_node$parentElement.tagName.toLowerCase())})(node)&&matcher(getNodeText(node),node,text,matchNormalizer)))},queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,"queryAll"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,((c,title)=>"Found multiple elements with the title: "+title+"."),((c,title)=>"Unable to find an element with the title: "+title+".")),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=void 0===_temp?{}:_temp;var _allRoles$get,_allRoles$get2,_allRoles$get3,_allRoles$get4,_allRoles$get5,_allRoles$get6,_allRoles$get7,_allRoles$get8,_allRoles$get9,_allRoles$get10;if((checkContainerType(container),void 0!==selected)&&void 0===(null==(_allRoles$get=import_aria_query3.roles.get(role))?void 0:_allRoles$get.props["aria-selected"]))throw new Error('"aria-selected" is not supported on role "'+role+'".');if(void 0!==busy&&void 0===(null==(_allRoles$get2=import_aria_query3.roles.get(role))?void 0:_allRoles$get2.props["aria-busy"]))throw new Error('"aria-busy" is not supported on role "'+role+'".');if(void 0!==checked&&void 0===(null==(_allRoles$get3=import_aria_query3.roles.get(role))?void 0:_allRoles$get3.props["aria-checked"]))throw new Error('"aria-checked" is not supported on role "'+role+'".');if(void 0!==pressed&&void 0===(null==(_allRoles$get4=import_aria_query3.roles.get(role))?void 0:_allRoles$get4.props["aria-pressed"]))throw new Error('"aria-pressed" is not supported on role "'+role+'".');if(void 0!==current&&void 0===(null==(_allRoles$get5=import_aria_query3.roles.get(role))?void 0:_allRoles$get5.props["aria-current"]))throw new Error('"aria-current" is not supported on role "'+role+'".');if(void 0!==level&&"heading"!==role)throw new Error('Role "'+role+'" cannot have "level" property.');if(void 0!==valueNow&&void 0===(null==(_allRoles$get6=import_aria_query3.roles.get(role))?void 0:_allRoles$get6.props["aria-valuenow"]))throw new Error('"aria-valuenow" is not supported on role "'+role+'".');if(void 0!==valueMax&&void 0===(null==(_allRoles$get7=import_aria_query3.roles.get(role))?void 0:_allRoles$get7.props["aria-valuemax"]))throw new Error('"aria-valuemax" is not supported on role "'+role+'".');if(void 0!==valueMin&&void 0===(null==(_allRoles$get8=import_aria_query3.roles.get(role))?void 0:_allRoles$get8.props["aria-valuemin"]))throw new Error('"aria-valuemin" is not supported on role "'+role+'".');if(void 0!==valueText&&void 0===(null==(_allRoles$get9=import_aria_query3.roles.get(role))?void 0:_allRoles$get9.props["aria-valuetext"]))throw new Error('"aria-valuetext" is not supported on role "'+role+'".');if(void 0!==expanded&&void 0===(null==(_allRoles$get10=import_aria_query3.roles.get(role))?void 0:_allRoles$get10.props["aria-expanded"]))throw new Error('"aria-expanded" is not supported on role "'+role+'".');let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~="'+role+'"]',roleRelations=null!=(_roleElements$get=import_aria_query3.roleElements.get(role))?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map((_ref=>{let{name}=_ref;return name})));return[explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(",")}(role))).filter((node=>{if(node.hasAttribute("role")){let roleValue=node.getAttribute("role");if(queryFallbacks)return roleValue.split(" ").filter(Boolean).some((roleAttributeToken=>roleAttributeToken===role));let[firstRoleAttributeToken]=roleValue.split(" ");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some((implicitRole=>implicitRole===role))})).filter((element=>{if(void 0!==selected)return selected===function computeAriaSelected(element){return"OPTION"===element.tagName?element.selected:checkBooleanAttribute(element,"aria-selected")}(element);if(void 0!==busy)return busy===function computeAriaBusy(element){return"true"===element.getAttribute("aria-busy")}(element);if(void 0!==checked)return checked===function computeAriaChecked(element){if(!("indeterminate"in element)||!element.indeterminate)return"checked"in element?element.checked:checkBooleanAttribute(element,"aria-checked")}(element);if(void 0!==pressed)return pressed===function computeAriaPressed(element){return checkBooleanAttribute(element,"aria-pressed")}(element);if(void 0!==current)return current===function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return null!=(_ref9=null!=(_checkBooleanAttribut=checkBooleanAttribute(element,"aria-current"))?_checkBooleanAttribut:element.getAttribute("aria-current"))&&_ref9}(element);if(void 0!==expanded)return expanded===function computeAriaExpanded(element){return checkBooleanAttribute(element,"aria-expanded")}(element);if(void 0!==level)return level===function computeHeadingLevel(element){return element.getAttribute("aria-level")&&Number(element.getAttribute("aria-level"))||{H1:1,H2:2,H3:3,H4:4,H5:5,H6:6}[element.tagName]}(element);if(void 0!==valueNow||void 0!==valueMax||void 0!==valueMin||void 0!==valueText){let valueMatches=!0;var _computeAriaValueText;if(void 0!==valueNow&&valueMatches&&(valueMatches=valueNow===function computeAriaValueNow(element){let valueNow=element.getAttribute("aria-valuenow");return null===valueNow?void 0:+valueNow}(element)),void 0!==valueMax&&valueMatches&&(valueMatches=valueMax===function computeAriaValueMax(element){let valueMax=element.getAttribute("aria-valuemax");return null===valueMax?void 0:+valueMax}(element)),void 0!==valueMin&&valueMatches&&(valueMatches=valueMin===function computeAriaValueMin(element){let valueMin=element.getAttribute("aria-valuemin");return null===valueMin?void 0:+valueMin}(element)),void 0!==valueText)valueMatches&&(valueMatches=matches2(null!=(_computeAriaValueText=function computeAriaValueText(element){let valueText=element.getAttribute("aria-valuetext");return null===valueText?void 0:valueText}(element))?_computeAriaValueText:null,element,valueText,(text=>text)));return valueMatches}return!0})).filter((element=>void 0===name||matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,(text=>text)))).filter((element=>void 0===description||matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,(text=>text)))).filter((element=>!1!==hidden||!1===isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})))};var getNameHint=name=>{let nameHint="";return nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`",nameHint},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,"queryAll"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,(function(c,role,_temp2){let{name}=void 0===_temp2?{}:_temp2;return'Found multiple elements with the role "'+role+'"'+getNameHint(name)}),(function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=void 0===_temp3?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+role+'"'+getNameHint(name);let roleMessage,roles3="";Array.from(container.children).forEach((childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:void 0!==description})})),roleMessage=0===roles3.length?!1===hidden?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===hidden?"accessible":"available")+" roles:\n\n "+roles3.replace(/\n/g,"\n ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim();let nameHint="";nameHint=void 0===name?"":"string"==typeof name?' and name "'+name+'"':" and name `"+name+"`";let descriptionHint="";return descriptionHint=void 0===description?"":"string"==typeof description?' and description "'+description+'"':" and description `"+description+"`",("\nUnable to find an "+(!1===hidden?"accessible ":"")+'element with the role "'+role+'"'+nameHint+descriptionHint+"\n\n"+roleMessage).trim()})),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,"queryAll"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,((c,id)=>"Found multiple elements by: ["+getTestIdAttribute()+'="'+id+'"]'),((c,id)=>"Unable to find an element by: ["+getTestIdAttribute()+'="'+id+'"]')),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return void 0===queries$1&&(queries$1=queries),void 0===initialValue2&&(initialValue2={}),Object.keys(queries$1).reduce(((helpers,key)=>{let fn2=queries$1[key];return helpers[key]=fn2.bind(null,element),helpers}),initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error("Timed out in waitForElementToBeRemoved.");if("function"!=typeof callback){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map((element=>{let parent=element.parentElement;if(null===parent)return()=>null;for(;parent.parentElement;)parent=parent.parentElement;return()=>parent.contains(element)?element:null}));callback=()=>getRemainingElements.map((c=>c())).filter(Boolean)}return initialCheck(callback()),waitForWrapper((()=>{let result;try{result=callback()}catch(error){if("TestingLibraryElementError"===error.name)return;throw error}if(!isRemoved(result))throw timeoutError}),options)}var eventMap={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:"dblClick"};function fireEvent(element,event){return getConfig().eventWrapper((()=>{if(!event)throw new Error("Unable to fire an event - please provide an event object.");if(!element)throw new Error('Unable to fire a "'+event.type+'" event - please provide a DOM element.');return element.dispatchEvent(event)}))}function createEvent(eventName,node,init,_temp){let{EventType="Event",defaultInit={}}=void 0===_temp?{}:_temp;if(!node)throw new Error('Unable to fire a "'+eventName+'" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;void 0!==value&&function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,"value")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,"value")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else{if(!valueSetter)throw new Error("The given element does not have a value setter");valueSetter.call(element,value)}}(node,value),void 0!==files&&Object.defineProperty(node,"files",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let event,window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event;if("function"==typeof EventConstructor)event=new EventConstructor(eventName,eventInit);else{event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach((eventKey=>{event[eventKey]=otherInit[eventKey]}))}return["dataTransfer","clipboardData"].forEach((dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];"object"==typeof dataTransferValue&&("function"==typeof window2.DataTransfer?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce(((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc)),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}))})),event}function getPlaygroundUrl(markup){return"https://testing-playground.com/#markup="+function encode(value){return import_lz_string.default.compressToEncodedURIComponent(function unindent(string2){return string2.replace(/[ \t]*[\n][ \t]*/g,"\n")}(value))}(markup)}Object.keys(eventMap).forEach((key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init))})),Object.keys(eventAliasMap).forEach((aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)}}));var clickableInputTypes,clickableInputTypes2,initialValue={debug:(element,maxLength,options)=>Array.isArray(element)?element.forEach((el=>logDOM(el,maxLength,options))):logDOM(element,maxLength,options),logTestingPlaygroundURL:function(element){if(void 0===element&&(element=getDocument().body),!element||!("innerHTML"in element))return void console.log("The element you're providing isn't a valid DOM element.");if(!element.innerHTML)return void console.log("The provided element doesn't have any children.");let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log("Open this URL in your browser\n\n"+playgroundUrl),playgroundUrl}},screen=typeof document<"u"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce(((helpers,key)=>(helpers[key]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},helpers)),initialValue);function isElementType(element,tag,props){return!(element.namespaceURI&&"http://www.w3.org/1999/xhtml"!==element.namespaceURI||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase())))&&(!props||Object.entries(props).every((([k,v2])=>element[k]===v2)))}function isClickableInput(element){return isElementType(element,"button")||isElementType(element,"input")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(function isDocument(node){return 9===node.nodeType}(node)&&node.defaultView)return node.defaultView;if(null!==(_node_ownerDocument=node.ownerDocument)&&void 0!==_node_ownerDocument&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${function describe(val){return"function"==typeof val?`function ${val.name}`:null===val?"null":String(val)}(node)}`)}function readBlobText(blob,FileReader){return new Promise(((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result))},fr.readAsText(blob)}))}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>"u"?function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=null!==(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))&&void 0!==_this_items_find?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text="";return match?.getAsString((t=>{text=t})),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item)}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach((i=>t.push(i.type))),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,"dropEffect","none"),_define_property(this,"effectAllowed","uninitialized"),_define_property(this,"items",new DataTransferItemListStub),_define_property(this,"files",createFileList(window2,[]))}}}(window2):new window2.DataTransfer;return Object.defineProperty(dt,"files",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if("file"===item.kind)return item.getAsFile();let data="";return item.getAsString((s=>{data=s})),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map((b2=>["string"==typeof b2?"text/plain":b2.type,Promise.resolve(b2)])));return typeof window2.ClipboardItem<"u"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,"data",void 0),this.data=d2}}(dataMap)}var ClipboardStubControl=Symbol("Manage ClipboardSub");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text="";for(let item of this.items){let type3=item.types.includes("text/plain")?"text/plain":item.types.find((t=>t.startsWith("text/")));type3&&(text+=await item.getType(type3).then((b2=>readBlobText(b2,window2.FileReader))))}return text}async write(data){this.items=data}async writeText(text){this.items=[createClipboardItem(window2,text)]}constructor(...args){super(...args),_define_property2(this,"items",[])}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return!!clipboard?.[ClipboardStubControl]}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0),(()=>!1)))throw new Error("The Clipboard API is unavailable.")}var editableInputTypes,editableInputTypes2,maxLengthSupportedTypes,maxLengthSupportedTypes2,g=globalThis;function isContentEditable(element){return element.hasAttribute("contenteditable")&&("true"==element.getAttribute("contenteditable")||""==element.getAttribute("contenteditable"))}function getContentEditable(node){let element=function getElement(node){return 1===node.nodeType?node:node.parentElement}(node);return element&&(element.closest('[contenteditable=""]')||element.closest('[contenteditable="true"]'))}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}function isEditableInputOrTextArea(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in editableInputTypes}"function"==typeof g.afterEach&&g.afterEach((()=>function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub()}(globalThis.window))),"function"==typeof g.afterAll&&g.afterAll((()=>function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub()}(globalThis.window))),(editableInputTypes2=editableInputTypes||(editableInputTypes={})).text="text",editableInputTypes2.date="date",editableInputTypes2["datetime-local"]="datetime-local",editableInputTypes2.email="email",editableInputTypes2.month="month",editableInputTypes2.number="number",editableInputTypes2.password="password",editableInputTypes2.search="search",editableInputTypes2.tel="tel",editableInputTypes2.time="time",editableInputTypes2.url="url",editableInputTypes2.week="week",(maxLengthSupportedTypes2=maxLengthSupportedTypes||(maxLengthSupportedTypes={})).email="email",maxLengthSupportedTypes2.password="password",maxLengthSupportedTypes2.search="search",maxLengthSupportedTypes2.telephone="telephone",maxLengthSupportedTypes2.text="text",maxLengthSupportedTypes2.url="url";var bracketDict,bracketDict2,ApiLevel,ApiLevel2,PointerEventsCheckLevel,PointerEventsCheckLevel2,FOCUSABLE_SELECTOR=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:"";pos+=startBracket.length;let type3=new RegExp(`^\\${startBracket}{2}`).test(text)?"":startBracket;return{type:type3,...""===type3?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),{consumedLength:pos+=descriptor.length,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier="/"===text[pos]?"/":"";pos+=releasePreviousModifier.length;let escapedDescriptor="{"===startBracket&&"\\"===text[pos];pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:null===(_text_slice_match=text.slice(pos).match("{"===startBracket?/^\w+|^[^}>/]/:/^\w+/))||void 0===_text_slice_match?void 0:_text_slice_match[0];var _text_slice_match_;assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;let repeatModifier=null!==(_text_slice_match_=null===(_text_slice_match1=text.slice(pos).match(/^>\d+/))||void 0===_text_slice_match1?void 0:_text_slice_match1[0])&&void 0!==_text_slice_match_?_text_slice_match_:"",releaseSelfModifier="/"===text[pos+=repeatModifier.length]||!repeatModifier&&">"===text[pos]?text[pos]:"";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:"";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&"repeat modifier",!releaseSelfModifier&&"release modifier",`"${expectedEndBracket}"`].filter(Boolean).join(" or "),text[pos],text,context));return{consumedLength:pos+=endBracket.length,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage("key descriptor",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){return releaseSelfModifier?"/"===releaseSelfModifier:!repeatModifier&&void 0}function getErrorMessage(expected,found,text,context){return`Expected ${expected} but found "${found??""}" in "${text}"\n See ${"pointer"===context?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}\n for more information about how userEvent parses your input.`}function setLevelRef(instance,level){instance.levelRefs[level]={}}function getLevelRef(instance,level){return instance.levelRefs[level]}function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,["button","input","select","textarea","optgroup","option"])){if(el.hasAttribute("disabled"))return!0}else if(isElementType(el,"fieldset")){var _el_querySelector;if(el.hasAttribute("disabled")&&(null===(_el_querySelector=el.querySelector(":scope > legend"))||void 0===_el_querySelector||!_el_querySelector.contains(element)))return!0}else if(el.tagName.includes("-")&&el.constructor.formAssociated&&el.hasAttribute("disabled"))return!0;return!1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return null!==(_getActiveElement=getActiveElement(document2))&&void 0!==_getActiveElement?_getActiveElement:document2.body}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function isElement3(node){return 1===node.nodeType}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement}while(el&&el!==element.ownerDocument.body)}(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(wrapEvent(target?()=>target.focus():()=>activeElement?.blur()),function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=3===(null===(_contenteditable_firstChild=contenteditable.firstChild)||void 0===_contenteditable_firstChild?void 0:_contenteditable_firstChild.nodeType)?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0)}}else selection.setBaseAndExtent(element,0,element,0)}}(target??element.ownerDocument.body))}(bracketDict2=bracketDict||(bracketDict={}))["{"]="}",bracketDict2["["]="]",(ApiLevel2=ApiLevel||(ApiLevel={}))[ApiLevel2.Trigger=2]="Trigger",ApiLevel2[ApiLevel2.Call=1]="Call",(PointerEventsCheckLevel2=PointerEventsCheckLevel||(PointerEventsCheckLevel={}))[PointerEventsCheckLevel2.EachTrigger=4]="EachTrigger",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]="EachApiCall",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]="EachTarget",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]="Never";var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest("button,input,label,select,textarea"),control=context&&isElementType(context,"label")&&context.control;return control?()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,function cloneEvent(event){return new event.constructor(event.type,event)}(event))}:isElementType(target,"input",{type:"file"})?()=>{(function blurElement(element){!isFocusable(element)||getActiveElement(element.ownerDocument)!==element||wrapEvent((()=>element.blur()))})(target),target.dispatchEvent(new(getWindow(target).Event)("fileDialog")),focusElement(target)}:void 0};var UIValue=Symbol("Displayed value in UI"),UISelection=Symbol("Displayed selection in UI"),InitialValue=Symbol("Initial value to compare on blur");function getUIValue(element){return void 0===element[UIValue]?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0}function clearInitialValue(element){element[InitialValue]=void 0}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode="replace"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset="replace"===mode||void 0===element[UISelection]?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset)}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=null!==(_element_UISelection=element[UISelection])&&void 0!==_element_UISelection?_element_UISelection:{anchorOffset:null!==(_element_selectionStart=element.selectionStart)&&void 0!==_element_selectionStart?_element_selectionStart:0,focusOffset:null!==(_element_selectionEnd=element.selectionEnd)&&void 0!==_element_selectionEnd?_element_selectionEnd:0};return{...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function setUISelectionClean(element){element[UISelection]=void 0}var parseInt2=globalThis.parseInt;function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return`${validHours.toString().padStart(2,"0")}:${validMinutes.toString().padStart(2,"0")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return{node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return{node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,"br")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,"br")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&"deleteContentBackward"===inputType?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}return{node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return void 0!==offset&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith("__react")))&&17===getWindow(element).REACT_VERSION})(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]})}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,null==changes||null===(_changes_tracked=changes.tracked)||void 0===_changes_tracked||!_changes_tracked.length)return;let isJustReactStateUpdate=2===changes.tracked.length&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),function hasUISelection(element){return!!element[UISelection]}(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length})}function getTargetTypeAndSelection(node){let element=function getElement2(node){return 1===node.nodeType?node:node.parentElement}(node);if(element&&hasOwnSelection(element))return{type:"input",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return{type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?"contenteditable":"default",selection}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if("input"===getTargetTypeAndSelection(focusNode).type)return setUISelection(focusNode,{anchorOffset,focusOffset});null===(_anchorNode_ownerDocument=anchorNode.ownerDocument)||void 0===_anchorNode_ownerDocument||null===(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())||void 0===_anchorNode_ownerDocument_getSelection||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset)}function isDateOrTime(element){return isElementType(element,"input")&&["date","time"].includes(element.type)}function input(instance,element,data,inputType="insertText"){let inputRange=function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);return"input"===typeAndSelection.type?typeAndSelection.selection:"contenteditable"===typeAndSelection.type?null===(_typeAndSelection_selection=typeAndSelection.selection)||void 0===_typeAndSelection_selection?void 0:_typeAndSelection_selection.getRangeAt(0):void 0;var _typeAndSelection_selection}(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,"beforeinput",{inputType,data})||("startContainer"in inputRange?function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(inputRange.collapsed){if(["deleteContentBackward","deleteContentForward"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,"deleteContentBackward"===inputType?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents()}}}else del=!0,inputRange.deleteContents();if(data)if(3===inputRange.endContainer.nodeType){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length)}else{let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length)}(del||data)&&instance.dispatchUIEvent(element,"input",{inputType})}(instance,element,inputRange,data,inputType):function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(function supportsMaxLength(element){return isElementType(element,"textarea")||isElementType(element,"input")&&element.type in maxLengthSupportedTypes}(element)){let maxLength=function getMaxLength(element){var _element_getAttribute;let attr=null!==(_element_getAttribute=element.getAttribute("maxlength"))&&void 0!==_element_getAttribute?_element_getAttribute:"";return/^\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}(element);if(void 0!==maxLength&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(!(spaceUntilMaxLength>0))return;dataToInsert=data.substring(0,spaceUntilMaxLength)}}let{newValue,newOffset,oldValue}=function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&"deleteContentBackward"===inputType?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&"deleteContentForward"===inputType?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,"input",{type:"time"})){let builtValue=function buildTimeValue(value){let onlyDigitsValue=value.replace(/\D/g,"");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||2===firstDigit&&secondDigit>=4){let index;return index=firstDigit>=3?1:2,build(onlyDigitsValue,index)}return 2===value.length?value:build(onlyDigitsValue,2)}(newValue);""!==builtValue&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length)}return{oldValue:value,newValue,newOffset}}(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,"input",{type:"number"})&&!function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split("e",2);return!(/[^\d.\-e]/.test(value)||Number(null===(_value_match=value.match(/-/g))||void 0===_value_match?void 0:_value_match.length)>2||Number(null===(_value_match1=value.match(/\./g))||void 0===_value_match1?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\d*$/.test(valueParts[1]))}(newValue)||(function setUIValue(element,value){void 0===element[InitialValue]&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0})}(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,"change"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}))}(instance,element,inputRange,data,inputType)))}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,"input",inputInit),commitValueAfterInput(element,newOffset)}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if("none"===display2||"hidden"===visibility)return!1}return!0}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset})}else{let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset})}else selection[direction<0?"collapseToStart":"collapseToEnd"]()}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=null!==(_getContentEditable=getContentEditable(target))&&void 0!==_getContentEditable?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length})}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&3===(null===(_element_firstChild=element.firstChild)||void 0===_element_firstChild?void 0:_element_firstChild.nodeType))return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error("Not implemented. The result of this interaction is unreliable.")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type="radio"][name="${window2.CSS.escape(el.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=group.findIndex((e=>e===el))+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],"click"))}}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,"","deleteByCut")},behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return null!==(_keydownBehavior_event_key1=null===(_keydownBehavior_event_key=keydownBehavior[event.key])||void 0===_keydownBehavior_event_key?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))&&void 0!==_keydownBehavior_event_key1?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,"input",{type:"radio"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,"input",{type:"radio"}))return()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentBackward")}},Delete:(event,target,instance)=>{if(isEditable(target))return()=>{input(instance,target,"","deleteContentForward")}},End:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=null!==(_getValueOrTextContent_length=null===(_getValueOrTextContent=function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}(target))||void 0===_getValueOrTextContent?void 0:_getValueOrTextContent.length)&&void 0!==_getValueOrTextContent_length?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos)}},Home:(event,target)=>{if(isElementType(target,["input","textarea"])||isContentEditable(target))return()=>{setSelectionRange(target,0,0)}},PageDown:(event,target)=>{if(isElementType(target,["input"]))return()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos)}},PageUp:(event,target)=>{if(isElementType(target,["input"]))return()=>{setSelectionRange(target,0,0)}},Tab:(event,target,instance)=>()=>{let dest=function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter((el=>el===activeElement||!(Number(el.getAttribute("tabindex"))<0||isDisabled2(el))));Number(activeElement.getAttribute("tabindex"))>=0&&enabledElements.sort(((a,b2)=>{let i=Number(a.getAttribute("tabindex")),j=Number(b2.getAttribute("tabindex"));return i===j?0:0===i?1:0===j?-1:i-j}));let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,"input",{type:"radio"})?activeElement.name:void 0;enabledElements.forEach((currentElement=>{let el=currentElement;if(isElementType(el,"input",{type:"radio"})&&el.name){if(el===activeElement)return void prunedElements.push(el);if(el.name===activeRadioGroup)return;if(el.checked)return prunedElements=prunedElements.filter((e=>!isElementType(e,"input",{type:"radio",name:el.name}))),prunedElements.push(el),void(checkedRadio[el.name]=el);if(typeof checkedRadio[el.name]<"u")return}prunedElements.push(el)}));for(let index=prunedElements.findIndex((el=>el===activeElement));;)if(index+=shift?-1:1,index===prunedElements.length?index=0:-1===index&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length})}},combinationBehavior=(event,target,instance)=>{if("KeyA"===event.code&&instance.system.keyboard.modifiers.Control)return()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if("Enter"===event.key){if(isElementType(target,"button")||isElementType(target,"input")&&ClickInputOnEnter.includes(target.type)||isElementType(target,"a")&&target.href)return()=>{instance.dispatchUIEvent(target,"click")};if(isElementType(target,"input")){let form=target.form,submit=form?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return submit?()=>instance.dispatchUIEvent(submit,"click"):form&&SubmitSingleInputOnEnter.includes(target.type)&&1===form.querySelectorAll("input").length?()=>instance.dispatchUIEvent(form,"submit"):void 0}}if(isEditable(target)){let inputType="Enter"===event.key?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",inputData="Enter"===event.key?"\n":event.key;return()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=["button","color","file","image","reset","submit"],SubmitSingleInputOnEnter=["email","month","password","search","tel","text","url","week"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return null===(_keyupBehavior_event_key=keyupBehavior[event.key])||void 0===_keyupBehavior_event_key?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={" ":(event,target,instance)=>{if(isClickableInput(target))return()=>instance.dispatchUIEvent(target,"click")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return()=>{var _event_clipboardData;let insertData=null===(_event_clipboardData=event.clipboardData)||void 0===_event_clipboardData?void 0:_event_clipboardData.getData("text");insertData&&input(instance,target,insertData,"insertFromPaste")}};var eventMap2={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=["MouseEvent","PointerEvent"];var eventInitializer={ClipboardEvent:[function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData})}],Event:[],InputEvent:[initUIEvent,function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)})}],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary})}],KeyboardEvent:[initUIEvent,initUIEventModififiers,function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode})}]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(function getEventConstructors(window2){var _window_Event;let Event=null!==(_window_Event=window2.Event)&&void 0!==_window_Event?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=null!==(_window_AnimationEvent=window2.AnimationEvent)&&void 0!==_window_AnimationEvent?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=null!==(_window_ClipboardEvent=window2.ClipboardEvent)&&void 0!==_window_ClipboardEvent?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=null!==(_window_PopStateEvent=window2.PopStateEvent)&&void 0!==_window_PopStateEvent?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=null!==(_window_ProgressEvent=window2.ProgressEvent)&&void 0!==_window_ProgressEvent?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=null!==(_window_TransitionEvent=window2.TransitionEvent)&&void 0!==_window_TransitionEvent?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=null!==(_window_UIEvent=window2.UIEvent)&&void 0!==_window_UIEvent?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=null!==(_window_CompositionEvent=window2.CompositionEvent)&&void 0!==_window_CompositionEvent?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=null!==(_window_FocusEvent=window2.FocusEvent)&&void 0!==_window_FocusEvent?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=null!==(_window_InputEvent=window2.InputEvent)&&void 0!==_window_InputEvent?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=null!==(_window_KeyboardEvent=window2.KeyboardEvent)&&void 0!==_window_KeyboardEvent?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=null!==(_window_MouseEvent=window2.MouseEvent)&&void 0!==_window_MouseEvent?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=null!==(_window_DragEvent=window2.DragEvent)&&void 0!==_window_DragEvent?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=null!==(_window_PointerEvent=window2.PointerEvent)&&void 0!==_window_PointerEvent?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=null!==(_window_TouchEvent=window2.TouchEvent)&&void 0!==_window_TouchEvent?_window_TouchEvent:class extends UIEvent{};return{Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}(window2)[EventType])(type3,defaultInit);return eventInitializer[EventType].forEach((f=>f(event,init??{}))),event}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null})}function sanitizeNumber(n){return Number(n??0)}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)})}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState:k=>!!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]})}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget})}function dispatchUIEvent(target,type3,init,preventDefault=!1){(function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}(type3)||function isKeyboardEvent(type3){return"KeyboardEvent"===getEventClass(type3)}(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:null===(_behavior_type=behavior[type3])||void 0===_behavior_type?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,"defaultPrevented",{get:()=>defaultPrevented}),Object.defineProperty(event,"preventDefault",{value:()=>{defaultPrevented=event.cancelable}}),wrapEvent((()=>target.dispatchEvent(event))),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent((()=>target.dispatchEvent(event)))}var Interceptor=Symbol("Interceptor for programmatical calls");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?"set":"value";if("function"!=typeof prototypeDescriptor?.[target]||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement "${String(propName)}".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];"set"===target?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.()}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept})}function prepareValueInterceptor(element){prepareInterceptor(element,"value",(function(v2){let isUI=function isUIValue(value){return"object"==typeof value&&UIValue in value}(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;null===(_element_TrackChanges=element[TrackChanges])||void 0===_element_TrackChanges||null===(_element_TrackChanges_tracked=_element_TrackChanges.tracked)||void 0===_element_TrackChanges_tracked||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}))}(this,String(v2))}}))}function sanitizeValue(element,v2){return isElementType(element,"input",{type:"number"})&&""!==String(v2)&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,"setSelectionRange",(function(start,...others){let isUI=function isUISelectionStart(start){return!!start&&"object"==typeof start&&UISelection in start}(start);return{applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}})),prepareInterceptor(element,"selectionStart",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"selectionEnd",(function(v2){return{realArgs:v2,then:()=>setUISelectionClean(element)}})),prepareInterceptor(element,"select",(function(){return{realArgs:[],then:()=>function setUISelectionRaw(element,selection){element[UISelection]=selection}(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}}))}var DOM_KEY_LOCATION,DOM_KEY_LOCATION2,isPrepared=Symbol("Node prepared with document state workarounds");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener("focus",(e=>{prepareElement(e.target)}),{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener("blur",(e=>{let el=e.target,initialValue2=function getInitialValue(element){return element[InitialValue]}(el);void 0!==initialValue2&&(el.value!==initialValue2&&function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent((()=>target.dispatchEvent(event)))}(el,"change"),clearInitialValue(el))}),{capture:!0,passive:!0}),document2[isPrepared]=isPrepared)}function prepareElement(el){el[isPrepared]||(isElementType(el,["input","textarea"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),function prepareRangeTextInterceptor(element){prepareInterceptor(element,"setRangeText",(function(...realArgs){return{realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element)}}}))}(el)),el[isPrepared]=isPrepared)}function wait(config3){let delay=config3.delay;if("number"==typeof delay)return Promise.all([new Promise((resolve=>globalThis.setTimeout((()=>resolve()),delay))),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(DOM_KEY_LOCATION2=DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}))[DOM_KEY_LOCATION2.STANDARD=0]="STANDARD",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]="LEFT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]="RIGHT",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]="NUMPAD";var modifierKeys=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return!!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map((p2=>p2.keyDef))}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);var _;this.setKeydownTarget(target),null!==(_=(_this_pressed=this.pressed)[_code=code])&&void 0!==_||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,"keydown",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keypress",{key,code,charCode:"Enter"===keyDef.key?13:String(keyDef.key).charCodeAt(0)})}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find((p2=>p2.keyDef.key===key))&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),"keyup",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1)}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=target}hasKeyPress(key){return!(1!==key.length&&"Enter"!==key||this.modifiers.Control||this.modifiers.Alt)}constructor(system){_define_property3(this,"system",void 0),_define_property3(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,"pressed",{}),_define_property3(this,"carryChar",""),_define_property3(this,"lastKeydownTarget",void 0),_define_property3(this,"modifierLockStart",{}),this.system=system}},defaultKeyMap=[..."0123456789".split("").map((c=>({code:`Digit${c}`,key:c}))),...")!@#$%^&*(".split("").map(((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0}))),..."abcdefghijklmnopqrstuvwxyz".split("").map((c=>({code:`Key${c.toUpperCase()}`,key:c}))),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map((c=>({code:`Key${c}`,key:c,shiftKey:!0}))),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:DOM_KEY_LOCATION.LEFT},{code:"AltRight",key:"Alt",location:DOM_KEY_LOCATION.RIGHT},{code:"ShiftLeft",key:"Shift",location:DOM_KEY_LOCATION.LEFT},{code:"ShiftRight",key:"Shift",location:DOM_KEY_LOCATION.RIGHT},{code:"ControlLeft",key:"Control",location:DOM_KEY_LOCATION.LEFT},{code:"ControlRight",key:"Control",location:DOM_KEY_LOCATION.RIGHT},{code:"MetaLeft",key:"Meta",location:DOM_KEY_LOCATION.LEFT},{code:"MetaRight",key:"Meta",location:DOM_KEY_LOCATION.RIGHT},{code:"OSLeft",key:"OS",location:DOM_KEY_LOCATION.LEFT},{code:"OSRight",key:"OS",location:DOM_KEY_LOCATION.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}];var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(!(button in this.pressed))return this.pressed[button]=[keyDef],button;this.pressed[button].push(keyDef)}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter((k=>k.name!==keyDef.name)),0===this.pressed[button].length))return delete this.pressed[button],button}constructor(){!function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"pressed",{})}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return(button=getMouseButtonId(button))in MouseButtonFlip?MouseButtonFlip[button]:button}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){!function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}(this,"pressedKeys",new Set)}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return[treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(3===node.nodeType?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=void 0===offset?node.childNodes.length-1:0,step=void 0===offset?-1:1;for(;void 0===offset?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error("The given offset is out of bounds.");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(void 0!==offset&&text.length{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"mouseout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"mouseleave",init))))},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"mouseover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"mouseenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"mousemove",init),this.modifySelecting(instance)}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(void 0===button)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit("mousedown",keyDef.button);(disabled||instance.dispatchUIEvent(target,"mousedown",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&2===getMouseEventButton(keyDef.button)&&instance.dispatchUIEvent(target,"contextmenu",this.getEventInit("contextmenu",keyDef.button,pointer3))}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(void 0===button)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,"mouseup",this.getEventInit("mouseup",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit("click",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,0===init.button?"click":"auxclick",init),0===init.button&&2===init.detail&&instance.dispatchUIEvent(clickTarget,"dblclick",{...this.getEventInit("dblclick",keyDef.button),detail:init.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),"mousedown"===type3?init.detail=this.clickCount.getOnDown(init.button):"mouseup"===type3?init.detail=this.clickCount.getOnUp(init.button):("click"===type3||"auxclick"===type3)&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset,clickCount})}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&function modifySelectionPerMouseMove(selectionRange,{document:document2,target,node,offset}){let selectionFocus=resolveCaretPosition({target,node,offset});if("node"in selectionRange){if(selectionFocus.node===selectionRange.node){let anchorOffset=selectionFocus.offsetselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange())}}(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:null===(_this_position_caret=this.position.caret)||void 0===_this_position_caret?void 0:_this_position_caret.node,offset:null===(_this_position_caret1=this.position.caret)||void 0===_this_position_caret1?void 0:_this_position_caret1.offset})}endSelecting(){this.selecting=void 0}constructor(){_define_property6(this,"position",{}),_define_property6(this,"buttons",new Buttons),_define_property6(this,"selecting",void 0),_define_property6(this,"buttonDownTarget",{}),_define_property6(this,"clickCount",new class{incOnClick(button){let current=void 0===this.down[button]?void 0:Number(this.down[button])+1;return this.count=void 0===this.count[button]?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button,_this_count_button1;return this.down={[button]:null!==(_this_count_button=this.count[button])&&void 0!==_this_count_button?_this_count_button:0},this.count={[button]:null!==(_this_count_button1=this.count[button])&&void 0!==_this_count_button1?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return void 0===this.down[button]?void 0:Number(this.down[button])+1}reset(){this.count={}}constructor(){_define_property6(this,"down",{}),_define_property6(this,"count",{})}})}};function hasPointerEvents(instance,element){var _checkPointerEvents;return"none"!==(null===(_checkPointerEvents=checkPointerEvents(instance,element))||void 0===_checkPointerEvents?void 0:_checkPointerEvents.pointerEvents)}var PointerEventsCheck=Symbol("Last check for pointer-events");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(instance.config.pointerEventsCheck===PointerEventsCheckLevel.Never||!(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger)))return lastCheck?.result;let declaration=function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&!["inherit","unset"].includes(pointerEvents))return{pointerEvents,tree}}}(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if("none"===declaration?.pointerEvents)throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",(tree=declaration.tree,tree.reverse().map(((el,i)=>["".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute("data-testid")&&`(testId=${el.getAttribute("data-testid")})`,getLabelDescr(el),tree.length>1&&0===i&&" <-- This element declared `pointer-events: none`",tree.length>1&&i===tree.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join(""))).join("\n"))].join("\n"));var tree}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute("aria-label"))label=element.getAttribute("aria-label");else if(element.hasAttribute("aria-labelledby")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=null===(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute("aria-labelledby")))||void 0===_element_ownerDocument_getElementById||null===(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)||void 0===_element_ownerDocument_getElementById_textContent?void 0:_element_ownerDocument_getElementById_textContent.trim()}else if(isElementType(element,["button","input","meter","output","progress","select","textarea"])&&null!==(_element_labels=element.labels)&&void 0!==_element_labels&&_element_labels.length)label=Array.from(element.labels).map((el=>{var _el_textContent;return null===(_el_textContent=el.textContent)||void 0===_el_textContent?void 0:_el_textContent.trim()})).join("|");else if(isElementType(element,"button")){var _element_textContent;label=null===(_element_textContent=element.textContent)||void 0===_element_textContent?void 0:_element_textContent.trim()}return label=label?.replace(/\n/g," "),Number(label?.length)>30&&(label=`${label?.substring(0,29)}…`),label?`(label=${label})`:""}function hasBitFlag(conf,flag){return(conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return{leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init))))},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,"pointerover",init),enter.forEach((el=>instance.dispatchUIEvent(el,"pointerenter",init))))},move:()=>{instance.dispatchUIEvent(nextTarget,"pointermove",init)}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,"pointerdown",this.getEventInit())}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,"pointerup",this.getEventInit())}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,"pointerout",init),leave.forEach((el=>instance.dispatchUIEvent(el,"pointerleave",init)))),this.isCancelled=!0}getTarget(instance){var _this_position_target;return null!==(_this_position_target=this.position.target)&&void 0!==_this_position_target?_this_position_target:instance.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,"pointerId",void 0),_define_property7(this,"pointerType",void 0),_define_property7(this,"isPrimary",void 0),_define_property7(this,"isMultitouch",!1),_define_property7(this,"isCancelled",!1),_define_property7(this,"isDown",!1),_define_property7(this,"isPrevented",!1),_define_property7(this,"position",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3="touch"===keyDef.pointerType?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),"touch"!==pointer3.pointerType&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3)}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove="touch"===pointer3.pointerType||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move()}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,"touch"!==pointer3.pointerType&&(this.mouse.position=position),0===device.countPressed&&pointer3.up(instance,keyDef),"touch"===pointer3.pointerType&&pointer3.release(instance),!pointer3.isPrevented){if("touch"===pointer3.pointerType&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3)}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3)}}}getPointerName(keyDef){return"touch"===keyDef.pointerType?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(instance){var _this_mouse_position_target;return null!==(_this_mouse_position_target=this.mouse.position.target)&&void 0!==_this_mouse_position_target?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get("mouse").position=position}constructor(system){_define_property8(this,"system",void 0),_define_property8(this,"mouse",void 0),_define_property8(this,"buttons",void 0),_define_property8(this,"devices",new class{get(k){var _this_registry,_k,_;return null!==(_=(_this_registry=this.registry)[_k=k])&&void 0!==_||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,"registry",{})}}),_define_property8(this,"pointers",new class{new(pointerName,keyDef){let isPrimary="touch"!==keyDef.pointerType||!Object.values(this.registry).some((p2=>"touch"===p2.pointerType&&!p2.isCancelled));return isPrimary||Object.values(this.registry).forEach((p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0)})),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer "${pointerName}" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,"registry",{mouse:new Pointer({pointerId:1,pointerType:"mouse",isPrimary:!0})}),_define_property8(this,"nextId",2)}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,"keyboard",new KeyboardHost(this)),_define_property9(this,"pointer",new PointerHost(this))}};async function keyboardAction(instance,{keyDef,releasePrevious,releaseSelf,repeat}){let{system}=instance;if(system.keyboard.isKeyPressed(keyDef)&&await system.keyboard.keyup(instance,keyDef),!releasePrevious){for(let i=1;i<=repeat;i++)await system.keyboard.keydown(instance,keyDef),ip2.name===descriptor));keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength)}while(keys2);return defs}async function pointerAction(instance,action){var _previousPosition_caret,_previousPosition_caret1;let pointerName="pointerName"in action&&action.pointerName?action.pointerName:"keyDef"in action?instance.system.pointer.getPointerName(action.keyDef):"mouse",previousPosition=instance.system.pointer.getPreviousPosition(pointerName);var _action_target,_action_coords,_action_node,_action_offset;let position={target:null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:getPrevTarget(instance,previousPosition),coords:null!==(_action_coords=action.coords)&&void 0!==_action_coords?_action_coords:previousPosition?.coords,caret:{node:null!==(_action_node=action.node)&&void 0!==_action_node?_action_node:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret=previousPosition.caret)||void 0===_previousPosition_caret?void 0:_previousPosition_caret.node,offset:null!==(_action_offset=action.offset)&&void 0!==_action_offset?_action_offset:hasCaretPosition(action)||null==previousPosition||null===(_previousPosition_caret1=previousPosition.caret)||void 0===_previousPosition_caret1?void 0:_previousPosition_caret1.offset}};"keyDef"in action?(instance.system.pointer.isKeyPressed(action.keyDef)&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)),action.releasePrevious||(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.press(instance,action.keyDef,position),action.releaseSelf&&(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.release(instance,action.keyDef,position)))):(setLevelRef(instance,ApiLevel.Trigger),await instance.system.pointer.move(instance,pointerName,position))}function hasCaretPosition(action){var _action_target,_ref;return!!(null!==(_ref=null!==(_action_target=action.target)&&void 0!==_action_target?_action_target:action.node)&&void 0!==_ref?_ref:void 0!==action.offset)}function getPrevTarget(instance,position){if(!position)throw new Error("This pointer has no previous position. Provide a target property!");var _position_target;return null!==(_position_target=position.target)&&void 0!==_position_target?_position_target:instance.config.document.body}async function selectOptionsBase(newValue,select,values){if(!newValue&&!select.multiple)throw getConfig().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",select);let valArray=Array.isArray(values)?values:[values],allOptions=Array.from(select.querySelectorAll('option, [role="option"]')),selectedOptions=valArray.map((val=>{if("string"!=typeof val&&allOptions.includes(val))return val;{let matchingOption=allOptions.find((o=>o.value===val||o.innerHTML===val));if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value "${String(val)}" not found in options`,select)}})).filter((option=>!isDisabled2(option)));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,"change")};if(isElementType(select,"select"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(option,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(option,"pointermove"),this.dispatchUIEvent(option,"mousemove"),this.dispatchUIEvent(option,"pointerdown"),this.dispatchUIEvent(option,"mousedown")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,"pointerup"),this.dispatchUIEvent(option,"mouseup")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,"click"),await wait(this.config)}else{if(1!==selectedOptions.length)throw getConfig().getElementError("Cannot select multiple options on a non-multiple select",select);{let withPointerEvents=0===this.config.pointerEventsCheck||hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,"pointerover"),this.dispatchUIEvent(select,"pointerenter"),this.dispatchUIEvent(select,"mouseover"),this.dispatchUIEvent(select,"mouseenter"),this.dispatchUIEvent(select,"pointerup"),this.dispatchUIEvent(select,"mouseup"),this.dispatchUIEvent(select,"click")),await wait(this.config)}}else{if("listbox"!==select.getAttribute("role"))throw getConfig().getElementError("Cannot select options on elements that are neither select nor listbox elements",select);for(let option of selectedOptions)await this.click(option),await this.unhover(option)}}var fakeFiles=Symbol("files and value properties are mocked");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop]}var userEventApi={click:async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:"[MouseLeft]",target:element}),this.pointer(pointerIn)},dblClick:async function dblClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft]"])},tripleClick:async function tripleClick(element){return this.pointer([{target:element},"[MouseLeft][MouseLeft][MouseLeft]"])},hover:async function hover(element){return this.pointer({target:element})},unhover:async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})},tab:async function tab({shift}={}){return this.keyboard(!0===shift?"{Shift>}{Tab}{/Shift}":!1===shift?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")},keyboard:async function keyboard(text){let actions=function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,"keyboard");var _keyboardMap_find;let keyDef=null!==(_keyboardMap_find=keyboardMap.find((def=>{var _def_code,_def_key;return"["===type3?(null===(_def_code=def.code)||void 0===_def_code?void 0:_def_code.toLowerCase())===descriptor.toLowerCase():"{"===type3?(null===(_def_key=def.key)||void 0===_def_key?void 0:_def_key.toLowerCase())===descriptor.toLowerCase():def.key===descriptor})))&&void 0!==_keyboardMap_find?_keyboardMap_find:{key:"Unknown",code:"Unknown",["["===type3?"code":"key"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength)}while(text);return defs}(this.config.keyboardMap,text);for(let i=0;ireadBlobText(b2,window2.FileReader))));return dt}(doc).catch((()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")}));this.dispatchUIEvent(target,"paste",{clipboardData:dataTransfer})},pointer:async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach((actionInput=>{"string"==typeof actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput)):"keys"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map((i=>({...actionInput,...i})))):actions.push(actionInput)}));for(let i=0;i!this.config.applyAccept||function isAcceptableFile(file,accept){if(!accept)return!0;let wildcards=["audio/*","image/*","video/*"];return accept.split(",").some((acceptToken=>acceptToken.startsWith(".")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken))}(file,input2.accept))).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===(null===(_input_files=input2.files)||void 0===_input_files?void 0:_input_files.length)&&files.every(((f,i)=>{var _input_files2;return f===(null===(_input_files2=input2.files)||void 0===_input_files2?void 0:_input_files2.item(i))}))||(function setFiles(el,files){var _el_fakeFiles;null===(_el_fakeFiles=el[fakeFiles])||void 0===_el_fakeFiles||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,"type"),valueDescr=Object.getOwnPropertyDescriptor(el,"value"),filesDescr=Object.getOwnPropertyDescriptor(el,"files");function restore(){restoreProperty(el,"type",typeDescr),restoreProperty(el,"value",valueDescr),restoreProperty(el,"files",filesDescr)}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\fakepath\\${files[0].name}`:"",set(v2){var _valueDescr_set;""===v2?restore():null==valueDescr||null===(_valueDescr_set=valueDescr.set)||void 0===_valueDescr_set||_valueDescr_set.call(el,v2)}},type:{configurable:!0,get:()=>"file",set(v2){"file"!==v2&&(restore(),el.type=v2)}}})}(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,"input"),this.dispatchUIEvent(input2,"change"))};input2.addEventListener("fileDialog",fileDialog),await this.click(element),input2.removeEventListener("fileDialog",fileDialog)}};var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}],pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=function getDocument2(options,node,defaults){var _options_document,_ref;return null!==(_ref=null!==(_options_document=options.document)&&void 0!==_options_document?_options_document:node&&function getDocumentFromNode(el){return function isDocument2(node){return 9===node.nodeType}(el)?el:el.ownerDocument}(node))&&void 0!==_ref?_ref:defaults.document}(options,node,defaults);return{...defaults,...options,document:document2}}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);var _ref;prepareDocument(config3.document);let system=null!==(_ref=pointerState??keyboardState)&&void 0!==_ref?_ref:new System;return{api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}((()=>impl.apply(instance,args).then((async ret=>(await wait(instance.config),ret)))))}return Object.defineProperty(method,"name",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map((([name,api])=>[name,wrapAndBindImpl(instance,api)]))),setup:setupSub.bind(instance)}}}var directApi_exports={};function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then((()=>system))}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then((()=>system))}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});var userEvent={...directApi_exports,setup:function setupMain(options={}){let config3=createConfig(options);var _config_document_defaultView;return prepareDocument(config3.document),function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let stub,realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,"clipboard"),control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control)},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,"clipboard",realClipboard):Object.defineProperty(window2.navigator,"clipboard",{value:void 0,configurable:!0})}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,"clipboard",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}(null!==(_config_document_defaultView=config3.document.defaultView)&&void 0!==_config_document_defaultView?_config_document_defaultView:globalThis.window),createInstance(config3).api}};var esm_default=function dedent(templ){for(var values=[],_i=1;_i"fireEvent"===path[0]||method.startsWith("find")||method.startsWith("waitFor")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get:(target,prop,receiver)=>(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_0__.once.warn(esm_default` + You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead. + More info: https://storybook.js.org/docs/react/essentials/interactions + `),Reflect.get(target,prop,receiver))});var{buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({userEvent},{intercept:!0}),{expect:expect3}=(0,_storybook_instrumenter__WEBPACK_IMPORTED_MODULE_1__.wV)({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=["assert","__methods","__flags","_obj"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter((it=>!privateApi.includes(it)));return depth>2?keys2:[...keys2,"not"]}return Object.keys(obj)},intercept:method=>"expect"!==method});scope.__STORYBOOK_TEST_LOADERS__=[({parameters})=>{!0===parameters?.test?.mockReset?function resetAllMocks(){mocks.forEach((spy=>spy.mockReset()))}():!0===parameters?.test?.clearMocks?function clearAllMocks(){mocks.forEach((spy=>spy.mockClear()))}():!1!==parameters?.test?.restoreMocks&&function restoreAllMocks(){mocks.forEach((spy=>spy.mockRestore()))}()}]},"../../node_modules/@storybook/theming/dist/chunk-EIRT5I3Z.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{Il:()=>typography,Oy:()=>getPreferredColorScheme,P$:()=>__commonJS,RA:()=>light_default,Tp:()=>background,Zj:()=>themes,Zt:()=>lightenColor,f1:()=>__toESM,sd:()=>mkColor,vt:()=>create,xH:()=>curriedOpacify$1,yW:()=>color});var _storybook_global__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("@storybook/global"),_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__("@storybook/client-logger"),__create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=(cb,mod)=>function(){return mod||(0,cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports},__toESM=(mod,isNodeMode,target)=>(target=null!=mod?__create(__getProtoOf(mod)):{},((to,from,except,desc)=>{if(from&&"object"==typeof from||"function"==typeof from)for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to})(!isNodeMode&&mod&&mod.__esModule?target:__defProp(target,"default",{value:mod,enumerable:!0}),mod));function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}()?Reflect.construct.bind():function(Parent2,args2,Class2){var a=[null];a.push.apply(a,args2);var instance=new(Function.bind.apply(Parent2,a));return Class2&&_setPrototypeOf(instance,Class2.prototype),instance}).apply(null,arguments)}function _wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(Class2){if(null===Class2||!function _isNativeFunction(fn){try{return-1!==Function.toString.call(fn).indexOf("[native code]")}catch{return"function"==typeof fn}}(Class2))return Class2;if("function"!=typeof Class2)throw new TypeError("Super expression must either be null or a function");if(typeof _cache<"u"){if(_cache.has(Class2))return _cache.get(Class2);_cache.set(Class2,Wrapper)}function Wrapper(){return _construct(Class2,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class2.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(Wrapper,Class2)},_wrapNativeSuper(Class)}var ERRORS={1:"Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }).\n\n",2:"Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }).\n\n",3:"Passed an incorrect argument to a color function, please pass a string representation of a color.\n\n",4:"Couldn't generate valid rgb string from %s, it returned %s.\n\n",5:"Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation.\n\n",6:"Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }).\n\n",7:"Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }).\n\n",8:"Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object.\n\n",9:"Please provide a number of steps to the modularScale helper.\n\n",10:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",11:'Invalid value passed as base to modularScale, expected number or em string but got "%s"\n\n',12:'Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead.\n\n',13:'Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead.\n\n',14:'Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',15:'Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12.\n\n',16:"You must provide a template to this method.\n\n",17:"You passed an unsupported selector state to this method.\n\n",18:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",19:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",20:"expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:"fontFace expects a name of a font-family.\n\n",24:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",25:"fontFace expects localFonts to be an array.\n\n",26:"fontFace expects fileFormats to be an array.\n\n",27:"radialGradient requries at least 2 color-stops to properly render.\n\n",28:"Please supply a filename to retinaImage() as the first argument.\n\n",29:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation\n\n",32:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s')\n\n",33:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation\n\n",34:"borderRadius expects a radius value as a string or number as the second argument.\n\n",35:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',36:"Property must be a string value.\n\n",37:"Syntax Error at %s.\n\n",38:"Formula contains a function that needs parentheses at %s.\n\n",39:"Formula is missing closing parenthesis at %s.\n\n",40:"Formula has too many closing parentheses at %s.\n\n",41:"All values in a formula must have the same unit or be unitless.\n\n",42:"Please provide a number of steps to the modularScale helper.\n\n",43:"Please pass a number or one of the predefined scales to the modularScale helper as the ratio.\n\n",44:"Invalid value passed as base to modularScale, expected number or em/rem string but got %s.\n\n",45:"Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object.\n\n",46:"Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object.\n\n",47:"minScreen and maxScreen must be provided as stringified numbers with the same units.\n\n",48:"fromSize and toSize must be provided as stringified numbers with the same units.\n\n",49:"Expects either an array of objects or a single object with the properties prop, fromSize, and toSize.\n\n",50:"Expects the objects in the first argument array to have the properties prop, fromSize, and toSize.\n\n",51:"Expects the first argument object to have the properties prop, fromSize, and toSize.\n\n",52:"fontFace expects either the path to the font file(s) or a name of a local copy.\n\n",53:"fontFace expects localFonts to be an array.\n\n",54:"fontFace expects fileFormats to be an array.\n\n",55:"fontFace expects a name of a font-family.\n\n",56:"linearGradient requries at least 2 color-stops to properly render.\n\n",57:"radialGradient requries at least 2 color-stops to properly render.\n\n",58:"Please supply a filename to retinaImage() as the first argument.\n\n",59:"Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'.\n\n",60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:"Property must be a string value.\n\n",62:"borderRadius expects a radius value as a string or number as the second argument.\n\n",63:'borderRadius expects one of "top", "bottom", "left" or "right" as the first argument.\n\n',64:"The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation.\n\n",65:"To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s').\n\n",66:"The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation.\n\n",67:"You must provide a template to this method.\n\n",68:"You passed an unsupported selector state to this method.\n\n",69:'Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead.\n\n',70:'Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead.\n\n',71:'Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12.\n\n',72:'Passed invalid base value %s to %s(), please pass a value like "12px" or 12.\n\n',73:"Please provide a valid CSS variable.\n\n",74:"CSS variable not found and no default was provided.\n\n",75:"important requires a valid style object, got a %s instead.\n\n",76:"fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen.\n\n",77:'remToPx expects a value in "rem" but you provided it in "%s".\n\n',78:'base must be set in "px" or "%" but you set it in "%s".\n'};function format(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];var c,a=args[0],b=[];for(c=1;c1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(_Error.call(this,format.apply(void 0,[ERRORS[code]].concat(args)))||this)}return function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype),subClass.prototype.constructor=subClass,_setPrototypeOf(subClass,superClass)}(PolishedError2,_Error),PolishedError2}(_wrapNativeSuper(Error));function colorToInt(color2){return Math.round(255*color2)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function parseToRgb(color2){if("string"!=typeof color2)throw new PolishedError(3);var normalizedColor=function nameToHex(color2){if("string"!=typeof color2)return color2;var normalizedColorName=color2.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color2}(color2);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor.substring(0,50));if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])>1?parseFloat(""+rgbaMatched[4])/100:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor.substring(0,50));if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])>1?parseFloat(""+hslaMatched[4])/100:parseFloat(""+hslaMatched[4])}}throw new PolishedError(5)}function parseToHsl(color2){return function rgbToHsl(color2){var red=color2.red/255,green=color2.green/255,blue=color2.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color2.alpha?{hue:0,saturation:0,lightness,alpha:color2.alpha}:{hue:0,saturation:0,lightness};var hue,delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new PolishedError(7)}function toColorString(color2){if("object"!=typeof color2)throw new PolishedError(8);if(function(color2){return"number"==typeof color2.red&&"number"==typeof color2.green&&"number"==typeof color2.blue&&"number"==typeof color2.alpha}(color2))return rgba(color2);if(function(color2){return"number"==typeof color2.red&&"number"==typeof color2.green&&"number"==typeof color2.blue&&("number"!=typeof color2.alpha||typeof color2.alpha>"u")}(color2))return rgb(color2);if(function(color2){return"number"==typeof color2.hue&&"number"==typeof color2.saturation&&"number"==typeof color2.lightness&&"number"==typeof color2.alpha}(color2))return function hsla(value,saturation,lightness,alpha){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness&&"number"==typeof alpha)return alpha>=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new PolishedError(2)}(color2);if(function(color2){return"number"==typeof color2.hue&&"number"==typeof color2.saturation&&"number"==typeof color2.lightness&&("number"!=typeof color2.alpha||typeof color2.alpha>"u")}(color2))return function hsl(value,saturation,lightness){if("number"==typeof value&&"number"==typeof saturation&&"number"==typeof lightness)return hslToHex(value,saturation,lightness);if("object"==typeof value&&void 0===saturation&&void 0===lightness)return hslToHex(value.hue,value.saturation,value.lightness);throw new PolishedError(1)}(color2);throw new PolishedError(8)}function curried(f,length,acc){return function(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}function curry(f){return curried(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}var curriedDarken$1=curry((function darken(amount,color2){if("transparent"===color2)return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}));var curriedLighten$1=curry((function lighten(amount,color2){if("transparent"===color2)return color2;var hslColor=parseToHsl(color2);return toColorString(_extends({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}));var curriedOpacify$1=curry((function opacify(amount,color2){if("transparent"===color2)return color2;var parsedColor=parseToRgb(color2);return rgba(_extends({},parsedColor,{alpha:guard(0,1,(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)+100*parseFloat(amount))/100)}))}));var curriedTransparentize$1=curry((function transparentize(amount,color2){if("transparent"===color2)return color2;var parsedColor=parseToRgb(color2);return rgba(_extends({},parsedColor,{alpha:guard(0,1,+(100*("number"==typeof parsedColor.alpha?parsedColor.alpha:1)-100*parseFloat(amount)).toFixed(2)/100)}))})),color={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},background={app:"#F6F9FC",bar:color.lightest,content:color.lightest,preview:color.lightest,gridCellSize:10,hoverable:curriedTransparentize$1(.9,color.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},typography={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},light_default={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:background.app,appContentBg:color.lightest,appPreviewBg:color.lightest,appBorderColor:color.border,appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:color.darkest,textInverseColor:color.lightest,textMutedColor:color.dark,barTextColor:color.mediumdark,barHoverColor:color.secondary,barSelectedColor:color.secondary,barBg:color.lightest,buttonBg:background.app,buttonBorder:color.medium,booleanBg:color.mediumlight,booleanSelectedBg:color.lightest,inputBg:color.lightest,inputBorder:color.border,inputTextColor:color.darkest,inputBorderRadius:4},dark_default={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:color.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:typography.fonts.base,fontCode:typography.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:"#798186",barHoverColor:color.secondary,barSelectedColor:color.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:color.lightest,inputBorderRadius:4},{window:globalWindow}=_storybook_global__WEBPACK_IMPORTED_MODULE_0__.global,mkColor=color2=>({color:color2}),colorFactory=type=>color2=>{if(!(color2=>"string"==typeof color2||(_storybook_client_logger__WEBPACK_IMPORTED_MODULE_1__.logger.warn(`Color passed to theme object should be a string. Instead ${color2}(${typeof color2}) was passed.`),!1))(color2)||!(color2=>!/(gradient|var|calc)/.test(color2))(color2))return color2;try{return((type,color2)=>"darken"===type?rgba(`${curriedDarken$1(1,color2)}`,.95):"lighten"===type?rgba(`${curriedLighten$1(1,color2)}`,.95):color2)(type,color2)}catch{return color2}},lightenColor=colorFactory("lighten"),getPreferredColorScheme=(colorFactory("darken"),()=>globalWindow&&globalWindow.matchMedia&&globalWindow.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),themes={light:light_default,dark:dark_default,normal:light_default},preferredColorScheme=getPreferredColorScheme(),create=(vars={base:preferredColorScheme},rest)=>{let inherit={...themes[preferredColorScheme],...themes[vars.base]||{},...vars,base:themes[vars.base]?vars.base:preferredColorScheme};return{...rest,...inherit,barSelectedColor:vars.barSelectedColor||inherit.colorSecondary}}},"../../node_modules/assert/build/assert.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var process=__webpack_require__("../../node_modules/process/browser.js");function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];expectsError.apply(void 0,[throws,getActual(promiseFn)].concat(args))},assert.rejects=function rejects(promiseFn){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];return waitForActual(promiseFn).then((function(result){return expectsError.apply(void 0,[rejects,result].concat(args))}))},assert.doesNotThrow=function doesNotThrow(fn){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];expectsNoError.apply(void 0,[doesNotThrow,getActual(fn)].concat(args))},assert.doesNotReject=function doesNotReject(fn){for(var _len5=arguments.length,args=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return waitForActual(fn).then((function(result){return expectsNoError.apply(void 0,[doesNotReject,result].concat(args))}))},assert.ifError=function ifError(err){if(null!=err){var message="ifError got unwanted exception: ";"object"===_typeof(err)&&"string"==typeof err.message?0===err.message.length&&err.constructor?message+=err.constructor.name:message+=err.message:message+=inspect(err);var newErr=new AssertionError({actual:err,expected:null,operator:"ifError",message,stackStartFn:ifError}),origStack=err.stack;if("string"==typeof origStack){var tmp2=origStack.split("\n");tmp2.shift();for(var tmp1=newErr.stack.split("\n"),i=0;i{"use strict";var process=__webpack_require__("../../node_modules/process/browser.js");function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function _objectSpread(e){for(var r=1;rstr.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}var blue="",green="",red="",white="",kReadableOperator={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function copyError(source){var keys=Object.keys(source),target=Object.create(Object.getPrototypeOf(source));return keys.forEach((function(key){target[key]=source[key]})),Object.defineProperty(target,"message",{value:source.message}),target}function inspectValue(val){return inspect(val,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function createErrDiff(actual,expected,operator){var other="",res="",lastPos=0,end="",skipped=!1,actualInspected=inspectValue(actual),actualLines=actualInspected.split("\n"),expectedLines=inspectValue(expected).split("\n"),i=0,indicator="";if("strictEqual"===operator&&"object"===_typeof(actual)&&"object"===_typeof(expected)&&null!==actual&&null!==expected&&(operator="strictEqualObject"),1===actualLines.length&&1===expectedLines.length&&actualLines[0]!==expectedLines[0]){var inputLength=actualLines[0].length+expectedLines[0].length;if(inputLength<=10){if(!("object"===_typeof(actual)&&null!==actual||"object"===_typeof(expected)&&null!==expected||0===actual&&0===expected))return"".concat(kReadableOperator[operator],"\n\n")+"".concat(actualLines[0]," !== ").concat(expectedLines[0],"\n")}else if("strictEqualObject"!==operator){if(inputLength<(process.stderr&&process.stderr.isTTY?process.stderr.columns:80)){for(;actualLines[0][i]===expectedLines[0][i];)i++;i>2&&(indicator="\n ".concat(function repeat(str,count){if(count=Math.floor(count),0==str.length||0==count)return"";var maxCount=str.length*count;for(count=Math.floor(Math.log(count)/Math.log(2));count;)str+=str,count--;return str+str.substring(0,maxCount-str.length)}(" ",i),"^"),i=0)}}}for(var a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];a===b&&(i++<2?end="\n ".concat(a).concat(end):other=a,actualLines.pop(),expectedLines.pop(),0!==actualLines.length&&0!==expectedLines.length);)a=actualLines[actualLines.length-1],b=expectedLines[expectedLines.length-1];var maxLines=Math.max(actualLines.length,expectedLines.length);if(0===maxLines){var _actualLines=actualInspected.split("\n");if(_actualLines.length>30)for(_actualLines[26]="".concat(blue,"...").concat(white);_actualLines.length>27;)_actualLines.pop();return"".concat(kReadableOperator.notIdentical,"\n\n").concat(_actualLines.join("\n"),"\n")}i>3&&(end="\n".concat(blue,"...").concat(white).concat(end),skipped=!0),""!==other&&(end="\n ".concat(other).concat(end),other="");var printedLines=0,msg=kReadableOperator[operator]+"\n".concat(green,"+ actual").concat(white," ").concat(red,"- expected").concat(white),skippedMsg=" ".concat(blue,"...").concat(white," Lines skipped");for(i=0;i1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(expectedLines[i-2]),printedLines++),res+="\n ".concat(expectedLines[i-1]),printedLines++),lastPos=i,other+="\n".concat(red,"-").concat(white," ").concat(expectedLines[i]),printedLines++;else if(expectedLines.length1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLines[i]),printedLines++;else{var expectedLine=expectedLines[i],actualLine=actualLines[i],divergingLines=actualLine!==expectedLine&&(!endsWith(actualLine,",")||actualLine.slice(0,-1)!==expectedLine);divergingLines&&endsWith(expectedLine,",")&&expectedLine.slice(0,-1)===actualLine&&(divergingLines=!1,actualLine+=","),divergingLines?(cur>1&&i>2&&(cur>4?(res+="\n".concat(blue,"...").concat(white),skipped=!0):cur>3&&(res+="\n ".concat(actualLines[i-2]),printedLines++),res+="\n ".concat(actualLines[i-1]),printedLines++),lastPos=i,res+="\n".concat(green,"+").concat(white," ").concat(actualLine),other+="\n".concat(red,"-").concat(white," ").concat(expectedLine),printedLines+=2):(res+=other,other="",1!==cur&&0!==i||(res+="\n ".concat(actualLine),printedLines++))}if(printedLines>20&&i30)for(res[26]="".concat(blue,"...").concat(white);res.length>27;)res.pop();_this=1===res.length?_super.call(this,"".concat(base," ").concat(res[0])):_super.call(this,"".concat(base,"\n\n").concat(res.join("\n"),"\n"))}else{var _res=inspectValue(actual),other="",knownOperators=kReadableOperator[operator];"notDeepEqual"===operator||"notEqual"===operator?(_res="".concat(kReadableOperator[operator],"\n\n").concat(_res)).length>1024&&(_res="".concat(_res.slice(0,1021),"...")):(other="".concat(inspectValue(expected)),_res.length>512&&(_res="".concat(_res.slice(0,509),"...")),other.length>512&&(other="".concat(other.slice(0,509),"...")),"deepEqual"===operator||"equal"===operator?_res="".concat(knownOperators,"\n\n").concat(_res,"\n\nshould equal\n\n"):other=" ".concat(operator," ").concat(other)),_this=_super.call(this,"".concat(_res).concat(other))}return Error.stackTraceLimit=limit,_this.generatedMessage=!message,Object.defineProperty(_assertThisInitialized(_this),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),_this.code="ERR_ASSERTION",_this.actual=actual,_this.expected=expected,_this.operator=operator,Error.captureStackTrace&&Error.captureStackTrace(_assertThisInitialized(_this),stackStartFn),_this.stack,_this.name="AssertionError",_possibleConstructorReturn(_this)}return function _createClass(Constructor,protoProps,staticProps){return protoProps&&_defineProperties(Constructor.prototype,protoProps),staticProps&&_defineProperties(Constructor,staticProps),Object.defineProperty(Constructor,"prototype",{writable:!1}),Constructor}(AssertionError,[{key:"toString",value:function toString(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_inspect$custom,value:function value(recurseTimes,ctx){return inspect(this,_objectSpread(_objectSpread({},ctx),{},{customInspect:!1,depth:0}))}}]),AssertionError}(_wrapNativeSuper(Error),inspect.custom);module.exports=AssertionError},"../../node_modules/assert/build/internal/errors.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _typeof(o){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(o){return typeof o}:function(o){return o&&"function"==typeof Symbol&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},_typeof(o)}function _defineProperties(target,props){for(var i=0;i2?"one of ".concat(thing," ").concat(expected.slice(0,len-1).join(", "),", or ")+expected[len-1]:2===len?"one of ".concat(thing," ").concat(expected[0]," or ").concat(expected[1]):"of ".concat(thing," ").concat(expected[0])}return"of ".concat(thing," ").concat(String(expected))}createErrorType("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),createErrorType("ERR_INVALID_ARG_TYPE",(function(name,expected,actual){var determiner,msg;if(void 0===assert&&(assert=__webpack_require__("../../node_modules/assert/build/assert.js")),assert("string"==typeof name,"'name' must be a string"),"string"==typeof expected&&function startsWith(str,search,pos){return str.substr(!pos||pos<0?0:+pos,search.length)===search}(expected,"not ")?(determiner="must not be",expected=expected.replace(/^not /,"")):determiner="must be",function endsWith(str,search,this_len){return(void 0===this_len||this_len>str.length)&&(this_len=str.length),str.substring(this_len-search.length,this_len)===search}(name," argument"))msg="The ".concat(name," ").concat(determiner," ").concat(oneOf(expected,"type"));else{var type=function includes(str,search,start){return"number"!=typeof start&&(start=0),!(start+search.length>str.length)&&-1!==str.indexOf(search,start)}(name,".")?"property":"argument";msg='The "'.concat(name,'" ').concat(type," ").concat(determiner," ").concat(oneOf(expected,"type"))}return msg+=". Received type ".concat(_typeof(actual))}),TypeError),createErrorType("ERR_INVALID_ARG_VALUE",(function(name,value){var reason=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===util&&(util=__webpack_require__("../../node_modules/util/util.js"));var inspected=util.inspect(value);return inspected.length>128&&(inspected="".concat(inspected.slice(0,128),"...")),"The argument '".concat(name,"' ").concat(reason,". Received ").concat(inspected)}),TypeError,RangeError),createErrorType("ERR_INVALID_RETURN_VALUE",(function(input,name,value){var type;return type=value&&value.constructor&&value.constructor.name?"instance of ".concat(value.constructor.name):"type ".concat(_typeof(value)),"Expected ".concat(input,' to be returned from the "').concat(name,'"')+" function but got ".concat(type,".")}),TypeError),createErrorType("ERR_MISSING_ARGS",(function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];void 0===assert&&(assert=__webpack_require__("../../node_modules/assert/build/assert.js")),assert(args.length>0,"At least one arg needs to be specified");var msg="The ",len=args.length;switch(args=args.map((function(a){return'"'.concat(a,'"')})),len){case 1:msg+="".concat(args[0]," argument");break;case 2:msg+="".concat(args[0]," and ").concat(args[1]," arguments");break;default:msg+=args.slice(0,len-1).join(", "),msg+=", and ".concat(args[len-1]," arguments")}return"".concat(msg," must be specified")}),TypeError),module.exports.codes=codes},"../../node_modules/assert/build/internal/util/comparisons.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(r,l){var t=null==r?null:"undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(null!=t){var e,n,i,u,a=[],f=!0,o=!1;try{if(i=(t=t.call(r)).next,0===l){if(Object(t)!==t)return;f=!1}else for(;!(f=(e=i.call(t)).done)&&(a.push(e.value),a.length!==l);f=!0);}catch(r){o=!0,n=r}finally{try{if(!f&&null!=t.return&&(u=t.return(),Object(u)!==u))return}finally{if(o)throw n}}return a}}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i10)return!0;for(var i=0;i57)return!0}return 10===key.length&&key>=Math.pow(2,32)}function getOwnNonIndexProperties(value){return Object.keys(value).filter(isNonIndex).concat(objectGetOwnPropertySymbols(value).filter(Object.prototype.propertyIsEnumerable.bind(value)))}function compare(a,b){if(a===b)return 0;for(var x=a.length,y=b.length,i=0,len=Math.min(x,y);i{"use strict";var possibleNames=__webpack_require__("../../node_modules/possible-typed-array-names/index.js"),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis;module.exports=function availableTypedArrays(){for(var out=[],i=0;i{"use strict";var GetIntrinsic=__webpack_require__("../../node_modules/get-intrinsic/index.js"),callBind=__webpack_require__("../../node_modules/call-bind/index.js"),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")>-1?callBind(intrinsic):intrinsic}},"../../node_modules/call-bind/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var bind=__webpack_require__("../../node_modules/function-bind/index.js"),GetIntrinsic=__webpack_require__("../../node_modules/get-intrinsic/index.js"),setFunctionLength=__webpack_require__("../../node_modules/set-function-length/index.js"),$TypeError=__webpack_require__("../../node_modules/es-errors/type.js"),$apply=GetIntrinsic("%Function.prototype.apply%"),$call=GetIntrinsic("%Function.prototype.call%"),$reflectApply=GetIntrinsic("%Reflect.apply%",!0)||bind.call($call,$apply),$defineProperty=__webpack_require__("../../node_modules/es-define-property/index.js"),$max=GetIntrinsic("%Math.max%");module.exports=function callBind(originalFunction){if("function"!=typeof originalFunction)throw new $TypeError("a function is required");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function applyBind(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module.exports,"apply",{value:applyBind}):module.exports.apply=applyBind},"../../node_modules/css-loader/dist/runtime/api.js":module=>{"use strict";module.exports=function(cssWithMappingToString){var list=[];return list.toString=function toString(){return this.map((function(item){var content="",needLayer=void 0!==item[5];return item[4]&&(content+="@supports (".concat(item[4],") {")),item[2]&&(content+="@media ".concat(item[2]," {")),needLayer&&(content+="@layer".concat(item[5].length>0?" ".concat(item[5]):""," {")),content+=cssWithMappingToString(item),needLayer&&(content+="}"),item[2]&&(content+="}"),item[4]&&(content+="}"),content})).join("")},list.i=function i(modules,media,dedupe,supports,layer){"string"==typeof modules&&(modules=[[null,modules,void 0]]);var alreadyImportedModules={};if(dedupe)for(var k=0;k0?" ".concat(item[5]):""," {").concat(item[1],"}")),item[5]=layer),media&&(item[2]?(item[1]="@media ".concat(item[2]," {").concat(item[1],"}"),item[2]=media):item[2]=media),supports&&(item[4]?(item[1]="@supports (".concat(item[4],") {").concat(item[1],"}"),item[4]=supports):item[4]="".concat(supports)),list.push(item))}},list}},"../../node_modules/css-loader/dist/runtime/sourceMaps.js":module=>{"use strict";module.exports=function(item){var content=item[1],cssMapping=item[3];if(!cssMapping)return content;if("function"==typeof btoa){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(cssMapping)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64),sourceMapping="/*# ".concat(data," */");return[content].concat([sourceMapping]).join("\n")}return[content].join("\n")}},"../../node_modules/define-data-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("../../node_modules/es-define-property/index.js"),$SyntaxError=__webpack_require__("../../node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("../../node_modules/es-errors/type.js"),gopd=__webpack_require__("../../node_modules/gopd/index.js");module.exports=function defineDataProperty(obj,property,value){if(!obj||"object"!=typeof obj&&"function"!=typeof obj)throw new $TypeError("`obj` must be an object or a function`");if("string"!=typeof property&&"symbol"!=typeof property)throw new $TypeError("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new $TypeError("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new $TypeError("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new $TypeError("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new $TypeError("`loose`, if provided, must be a boolean");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6&&arguments[6],desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:null===nonConfigurable&&desc?desc.configurable:!nonConfigurable,enumerable:null===nonEnumerable&&desc?desc.enumerable:!nonEnumerable,value,writable:null===nonWritable&&desc?desc.writable:!nonWritable});else{if(!loose&&(nonEnumerable||nonWritable||nonConfigurable))throw new $SyntaxError("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");obj[property]=value}}},"../../node_modules/define-properties/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keys=__webpack_require__("../../node_modules/object-keys/index.js"),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=__webpack_require__("../../node_modules/define-data-property/index.js"),supportsDescriptors=__webpack_require__("../../node_modules/has-property-descriptors/index.js")(),defineProperty=function(object,name,value,predicate){if(name in object)if(!0===predicate){if(object[name]===value)return}else if("function"!=typeof(fn=predicate)||"[object Function]"!==toStr.call(fn)||!predicate())return;var fn;supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i{!function(){"use strict";var typed,utility,jsdoc,esutils,hasOwnProperty,func;function sliceSource(source,index,last){return source.slice(index,last)}function isParamTitle(title){return"param"===title||"argument"===title||"arg"===title}function isReturnTitle(title){return"return"===title||"returns"===title}function isProperty(title){return"property"===title||"prop"===title}function isNameParameterRequired(title){return isParamTitle(title)||isProperty(title)||"alias"===title||"this"===title||"mixes"===title||"requires"===title}function isAllowedOptional(title){return isProperty(title)||isParamTitle(title)}function isTypeParameterRequired(title){return isParamTitle(title)||isReturnTitle(title)||"define"===title||"enum"===title||"implements"===title||"this"===title||"type"===title||"typedef"===title||isProperty(title)}esutils=__webpack_require__("../../node_modules/esutils/lib/utils.js"),typed=__webpack_require__("../../node_modules/doctrine/lib/typed.js"),utility=__webpack_require__("../../node_modules/doctrine/lib/utility.js"),func=Object.prototype.hasOwnProperty,hasOwnProperty=function hasOwnProperty(obj,name){return func.call(obj,name)};var WHITESPACE="[ \\f\\t\\v\\u00a0\\u1680\\u180e\\u2000-\\u200a\\u202f\\u205f\\u3000\\ufeff]",STAR_MATCHER="("+WHITESPACE+"*(?:\\*"+WHITESPACE+"?)?)(.+|[\r\n\u2028\u2029])";function unwrapComment(doc){return doc.replace(/^\/\*\*?/,"").replace(/\*\/$/,"").replace(new RegExp(STAR_MATCHER,"g"),"$2").replace(/\s*$/,"")}!function(exports){var Rules,index,lineNumber,length,source,originalSource,recoverable,sloppy,strict;function advance(){var ch=source.charCodeAt(index);return index+=1,!esutils.code.isLineTerminator(ch)||13===ch&&10===source.charCodeAt(index)||(lineNumber+=1),String.fromCharCode(ch)}function parseType(title,last,addRange){for(var ch,brace,type,startIndex,direct=!1;index=last)return null;if(91===source.charCodeAt(index)){if(!allowBrackets)return null;useBrackets=!0,name=advance()}if(name+=scanIdentifier(last),allowNestedParams)for(58!==source.charCodeAt(index)||"module"!==name&&"external"!==name&&"event"!==name||(name+=advance(),name+=scanIdentifier(last)),91===source.charCodeAt(index)&&93===source.charCodeAt(index+1)&&(name+=advance(),name+=advance());46===source.charCodeAt(index)||47===source.charCodeAt(index)||35===source.charCodeAt(index)||45===source.charCodeAt(index)||126===source.charCodeAt(index);)name+=advance(),name+=scanIdentifier(last);if(useBrackets){if(skipWhiteSpace(last),61===source.charCodeAt(index)){var ch;name+=advance(),skipWhiteSpace(last);for(var bracketDepth=1;index=last||93!==source.charCodeAt(index))return null;name+=advance()}return name}function convertIndex(rangeIndex){return source===originalSource?rangeIndex:function convertUnwrappedCommentIndex(originalSource,unwrappedIndex){for(var match,replacedSource=originalSource.replace(/^\/\*\*?/,""),numSkippedChars=0,matcher=new RegExp(STAR_MATCHER,"g");match=matcher.exec(replacedSource);)if(numSkippedChars+=match[1].length,match.index+match[0].length>unwrappedIndex+numSkippedChars)return unwrappedIndex+numSkippedChars+originalSource.length-replacedSource.length;return originalSource.replace(/\*\/$/,"").replace(/\s*$/,"").length}(originalSource,rangeIndex)}function TagParser(options,title){this._options=options,this._title=title.toLowerCase(),this._tag={title,description:null},this._options.lineNumbers&&(this._tag.lineNumber=lineNumber),this._first=index-title.length-1,this._last=0,this._extra={}}function parseTag(options){var parser,tag;if(!function skipToTag(){for(;index=length||(utility.assert(64===source.charCodeAt(index)),0))}())return null;for(tag=(parser=new TagParser(options,function scanTitle(){var ch,title="";for(advance();index=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57);)title+=advance();return title}())).parse();index1&&(this._tag.default=assign.slice(1).join("=")),this._tag.name=assign[0],this._tag.type&&"OptionalType"!==this._tag.type.type&&(this._tag.type={type:"OptionalType",expression:this._tag.type}));else{if(!isNameParameterRequired(this._title))return!0;if(isParamTitle(this._title)&&this._tag.type&&this._tag.type.name)this._extra.name=this._tag.type,this._tag.name=this._tag.type.name,this._tag.type=null;else if(!this.addError("Missing or invalid tag name"))return!1}return!0},TagParser.prototype.parseDescription=function parseDescription(){var description=sliceSource(source,index,this._last).trim();return description&&(/^-\s+/.test(description)&&(description=description.substring(2)),this._tag.description=description),!0},TagParser.prototype.parseCaption=function parseDescription(){var description=sliceSource(source,index,this._last).trim(),captionStart=description.indexOf(""),captionEnd=description.indexOf("");return captionStart>=0&&captionEnd>=0?(this._tag.caption=description.substring(captionStart+9,captionEnd).trim(),this._tag.description=description.substring(captionEnd+10).trim()):this._tag.description=description,!0},TagParser.prototype.parseKind=function parseKind(){var kind,kinds;return kinds={class:!0,constant:!0,event:!0,external:!0,file:!0,function:!0,member:!0,mixin:!0,module:!0,namespace:!0,typedef:!0},kind=sliceSource(source,index,this._last).trim(),this._tag.kind=kind,!(!hasOwnProperty(kinds,kind)&&!this.addError("Invalid kind name '%0'",kind))},TagParser.prototype.parseAccess=function parseAccess(){var access;return access=sliceSource(source,index,this._last).trim(),this._tag.access=access,!("private"!==access&&"protected"!==access&&"public"!==access&&!this.addError("Invalid access name '%0'",access))},TagParser.prototype.parseThis=function parseThis(){var value=sliceSource(source,index,this._last).trim();return value&&"{"===value.charAt(0)?this.parseType()&&"NameExpression"===this._tag.type.type||"UnionType"===this._tag.type.type?(this._tag.name=this._tag.type.name,!0):this.addError("Invalid name for this"):this.parseNamePath()},TagParser.prototype.parseVariation=function parseVariation(){var variation,text;return text=sliceSource(source,index,this._last).trim(),variation=parseFloat(text,10),this._tag.variation=variation,!(isNaN(variation)&&!this.addError("Invalid variation '%0'",text))},TagParser.prototype.ensureEnd=function(){var shouldBeEmpty=sliceSource(source,index,this._last).trim();return!(shouldBeEmpty&&!this.addError("Unknown content '%0'",shouldBeEmpty))},TagParser.prototype.epilogue=function epilogue(){var description;return description=this._tag.description,!(isAllowedOptional(this._title)&&!this._tag.type&&description&&"["===description.charAt(0)&&(this._tag.type=this._extra.name,this._tag.name||(this._tag.name=void 0),!sloppy&&!this.addError("Missing or invalid tag name")))},Rules={access:["parseAccess"],alias:["parseNamePath","ensureEnd"],augments:["parseType","parseNamePathOptional","ensureEnd"],constructor:["parseType","parseNamePathOptional","ensureEnd"],class:["parseType","parseNamePathOptional","ensureEnd"],extends:["parseType","parseNamePathOptional","ensureEnd"],example:["parseCaption"],deprecated:["parseDescription"],global:["ensureEnd"],inner:["ensureEnd"],instance:["ensureEnd"],kind:["parseKind"],mixes:["parseNamePath","ensureEnd"],mixin:["parseNamePathOptional","ensureEnd"],member:["parseType","parseNamePathOptional","ensureEnd"],method:["parseNamePathOptional","ensureEnd"],module:["parseType","parseNamePathOptional","ensureEnd"],func:["parseNamePathOptional","ensureEnd"],function:["parseNamePathOptional","ensureEnd"],var:["parseType","parseNamePathOptional","ensureEnd"],name:["parseNamePath","ensureEnd"],namespace:["parseType","parseNamePathOptional","ensureEnd"],private:["parseType","parseDescription"],protected:["parseType","parseDescription"],public:["parseType","parseDescription"],readonly:["ensureEnd"],requires:["parseNamePath","ensureEnd"],since:["parseDescription"],static:["ensureEnd"],summary:["parseDescription"],this:["parseThis","ensureEnd"],todo:["parseDescription"],typedef:["parseType","parseNamePathOptional"],variation:["parseVariation"],version:["parseDescription"]},TagParser.prototype.parse=function parse(){var i,iz,sequences;if(!this._title&&!this.addError("Missing or invalid title"))return null;for(this._last=function seekContent(){var ch,waiting,last=index;for(waiting=!1;last{!function(){"use strict";var Syntax,Token,source,length,index,previous,token,value,esutils,utility,rangeOffset,addRange;function isTypeName(ch){return-1==="><(){}[],:*|?!=".indexOf(String.fromCharCode(ch))&&!esutils.code.isWhiteSpace(ch)&&!esutils.code.isLineTerminator(ch)}function Context(previous,index,token,value){this._previous=previous,this._index=index,this._token=token,this._value=value}function maybeAddRange(node,range){return addRange&&(node.range=[range[0]+rangeOffset,range[1]+rangeOffset]),node}function advance(){var ch=source.charAt(index);return index+=1,ch}function scanHexEscape(prefix){var i,len,ch,code=0;for(len="u"===prefix?4:2,i=0;i=length)return token=Token.EOF;switch(ch=source.charCodeAt(index)){case 39:case 34:return token=function scanString(){var quote,ch,code,unescaped,restore,str="";for(quote=source.charAt(index),++index;index=0&&index=length)return Token.ILLEGAL;if(60===source.charCodeAt(index+1))break}value+=advance()}return Token.NAME}())}}function consume(target,text){utility.assert(token===target,text||"consumed token not matched"),next()}function expect(target,message){token!==target&&utility.throwError(message||"unexpected token"),next()}function parseFieldType(){var key,rangeStart=previous;return key=function parseFieldName(){var v=value;return token===Token.NAME||token===Token.STRING?(next(),v):token===Token.NUMBER?(consume(Token.NUMBER),String(v)):void utility.throwError("unexpected token")}(),token===Token.COLON?(consume(Token.COLON),maybeAddRange({type:Syntax.FieldType,key,value:parseTypeExpression()},[rangeStart,previous])):maybeAddRange({type:Syntax.FieldType,key,value:null},[rangeStart,previous])}function parseTypeName(){var expr,applications,startIndex=index-value.length;return expr=function parseNameExpression(){var name=value,rangeStart=index-name.length;return expect(Token.NAME),token!==Token.COLON||"module"!==name&&"external"!==name&&"event"!==name||(consume(Token.COLON),name+=":"+value,expect(Token.NAME)),maybeAddRange({type:Syntax.NameExpression,name},[rangeStart,previous])}(),token===Token.DOT_LT||token===Token.LT?(next(),applications=function parseTypeExpressionList(){var elements=[];for(elements.push(parseTop());token===Token.COMMA;)consume(Token.COMMA),elements.push(parseTop());return elements}(),expect(Token.GT),maybeAddRange({type:Syntax.TypeApplication,expression:expr,applications},[startIndex,previous])):expr}function parseParametersType(){for(var expr,startIndex,nameStartIndex,params=[],optionalSequence=!1,rest=!1,restStartIndex=index-3;token!==Token.RPAREN;)token===Token.REST&&(consume(Token.REST),rest=!0),startIndex=previous,(expr=parseTypeExpression()).type===Syntax.NameExpression&&token===Token.COLON&&(nameStartIndex=previous-expr.name.length,consume(Token.COLON),expr=maybeAddRange({type:Syntax.ParameterType,name:expr.name,expression:parseTypeExpression()},[nameStartIndex,previous])),token===Token.EQUAL?(consume(Token.EQUAL),expr=maybeAddRange({type:Syntax.OptionalType,expression:expr},[startIndex,previous]),optionalSequence=!0):optionalSequence&&utility.throwError("unexpected token"),rest&&(expr=maybeAddRange({type:Syntax.RestType,expression:expr},[restStartIndex,previous])),params.push(expr),token!==Token.RPAREN&&expect(Token.COMMA);return params}function parseFunctionType(){var isNew,thisBinding,params,result,fnType,startIndex=index-value.length;return utility.assert(token===Token.NAME&&"function"===value,"FunctionType should start with 'function'"),consume(Token.NAME),expect(Token.LPAREN),isNew=!1,params=[],thisBinding=null,token!==Token.RPAREN&&(token!==Token.NAME||"this"!==value&&"new"!==value?params=parseParametersType():(isNew="new"===value,consume(Token.NAME),expect(Token.COLON),thisBinding=parseTypeName(),token===Token.COMMA&&(consume(Token.COMMA),params=parseParametersType()))),expect(Token.RPAREN),result=null,token===Token.COLON&&(result=function parseResultType(){return consume(Token.COLON,"ResultType should start with :"),token===Token.NAME&&"void"===value?(consume(Token.NAME),{type:Syntax.VoidLiteral}):parseTypeExpression()}()),fnType=maybeAddRange({type:Syntax.FunctionType,params,result},[startIndex,previous]),thisBinding&&(fnType.this=thisBinding,isNew&&(fnType.new=!0)),fnType}function parseBasicTypeExpression(){var context,startIndex;switch(token){case Token.STAR:return consume(Token.STAR),maybeAddRange({type:Syntax.AllLiteral},[previous-1,previous]);case Token.LPAREN:return function parseUnionType(){var elements,startIndex=index-1;if(consume(Token.LPAREN,"UnionType should start with ("),elements=[],token!==Token.RPAREN)for(;elements.push(parseTypeExpression()),token!==Token.RPAREN;)expect(Token.PIPE);return consume(Token.RPAREN,"UnionType should end with )"),maybeAddRange({type:Syntax.UnionType,elements},[startIndex,previous])}();case Token.LBRACK:return function parseArrayType(){var elements,restStartIndex,startIndex=index-1;for(consume(Token.LBRACK,"ArrayType should start with ["),elements=[];token!==Token.RBRACK;){if(token===Token.REST){restStartIndex=index-3,consume(Token.REST),elements.push(maybeAddRange({type:Syntax.RestType,expression:parseTypeExpression()},[restStartIndex,previous]));break}elements.push(parseTypeExpression()),token!==Token.RBRACK&&expect(Token.COMMA)}return expect(Token.RBRACK),maybeAddRange({type:Syntax.ArrayType,elements},[startIndex,previous])}();case Token.LBRACE:return function parseRecordType(){var fields,rangeEnd,rangeStart=index-1;if(consume(Token.LBRACE,"RecordType should start with {"),fields=[],token===Token.COMMA)consume(Token.COMMA);else for(;token!==Token.RBRACE;)fields.push(parseFieldType()),token!==Token.RBRACE&&expect(Token.COMMA);return rangeEnd=index,expect(Token.RBRACE),maybeAddRange({type:Syntax.RecordType,fields},[rangeStart,rangeEnd])}();case Token.NAME:if(startIndex=index-value.length,"null"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.NullLiteral},[startIndex,previous]);if("undefined"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.UndefinedLiteral},[startIndex,previous]);if("true"===value||"false"===value)return consume(Token.NAME),maybeAddRange({type:Syntax.BooleanLiteralType,value:"true"===value},[startIndex,previous]);if(context=Context.save(),"function"===value)try{return parseFunctionType()}catch(e){context.restore()}return parseTypeName();case Token.STRING:return next(),maybeAddRange({type:Syntax.StringLiteralType,value},[previous-value.length-2,previous]);case Token.NUMBER:return next(),maybeAddRange({type:Syntax.NumericLiteralType,value},[previous-String(value).length,previous]);default:utility.throwError("unexpected token")}}function parseTypeExpression(){var expr,rangeStart;return token===Token.QUESTION?(rangeStart=index-1,consume(Token.QUESTION),maybeAddRange(token===Token.COMMA||token===Token.EQUAL||token===Token.RBRACE||token===Token.RPAREN||token===Token.PIPE||token===Token.EOF||token===Token.RBRACK||token===Token.GT?{type:Syntax.NullableLiteral}:{type:Syntax.NullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):token===Token.BANG?(rangeStart=index-1,consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:parseBasicTypeExpression(),prefix:!0},[rangeStart,previous])):(rangeStart=previous,expr=parseBasicTypeExpression(),token===Token.BANG?(consume(Token.BANG),maybeAddRange({type:Syntax.NonNullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.QUESTION?(consume(Token.QUESTION),maybeAddRange({type:Syntax.NullableType,expression:expr,prefix:!1},[rangeStart,previous])):token===Token.LBRACK?(consume(Token.LBRACK),expect(Token.RBRACK,"expected an array-style type declaration ("+value+"[])"),maybeAddRange({type:Syntax.TypeApplication,expression:maybeAddRange({type:Syntax.NameExpression,name:"Array"},[rangeStart,previous]),applications:[expr]},[rangeStart,previous])):expr)}function parseTop(){var expr,elements;if(expr=parseTypeExpression(),token!==Token.PIPE)return expr;for(elements=[expr],consume(Token.PIPE);elements.push(parseTypeExpression()),token===Token.PIPE;)consume(Token.PIPE);return maybeAddRange({type:Syntax.UnionType,elements},[0,index])}function stringifyImpl(node,compact,topLevel){var result,i,iz;switch(node.type){case Syntax.NullableLiteral:result="?";break;case Syntax.AllLiteral:result="*";break;case Syntax.NullLiteral:result="null";break;case Syntax.UndefinedLiteral:result="undefined";break;case Syntax.VoidLiteral:result="void";break;case Syntax.UnionType:for(result=topLevel?"":"(",i=0,iz=node.elements.length;i{!function(){"use strict";var VERSION,Middle;function DoctrineError(message){this.name="DoctrineError",this.message=message}VERSION=__webpack_require__("../../node_modules/doctrine/package.json").rE,exports.VERSION=VERSION,DoctrineError.prototype=((Middle=function(){}).prototype=Error.prototype,new Middle),DoctrineError.prototype.constructor=DoctrineError,exports.DoctrineError=DoctrineError,exports.throwError=function throwError(message){throw new DoctrineError(message)},exports.assert=__webpack_require__("../../node_modules/assert/build/assert.js")}()},"../../node_modules/es-define-property/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("../../node_modules/get-intrinsic/index.js")("%Object.defineProperty%",!0)||!1;if($defineProperty)try{$defineProperty({},"a",{value:1})}catch(e){$defineProperty=!1}module.exports=$defineProperty},"../../node_modules/es-errors/eval.js":module=>{"use strict";module.exports=EvalError},"../../node_modules/es-errors/index.js":module=>{"use strict";module.exports=Error},"../../node_modules/es-errors/range.js":module=>{"use strict";module.exports=RangeError},"../../node_modules/es-errors/ref.js":module=>{"use strict";module.exports=ReferenceError},"../../node_modules/es-errors/syntax.js":module=>{"use strict";module.exports=SyntaxError},"../../node_modules/es-errors/type.js":module=>{"use strict";module.exports=TypeError},"../../node_modules/es-errors/uri.js":module=>{"use strict";module.exports=URIError},"../../node_modules/esutils/lib/ast.js":module=>{!function(){"use strict";function isStatement(node){if(null==node)return!1;switch(node.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function trailingStatement(node){switch(node.type){case"IfStatement":return null!=node.alternate?node.alternate:node.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return node.body}return null}module.exports={isExpression:function isExpression(node){if(null==node)return!1;switch(node.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1},isStatement,isIterationStatement:function isIterationStatement(node){if(null==node)return!1;switch(node.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1},isSourceElement:function isSourceElement(node){return isStatement(node)||null!=node&&"FunctionDeclaration"===node.type},isProblematicIfStatement:function isProblematicIfStatement(node){var current;if("IfStatement"!==node.type)return!1;if(null==node.alternate)return!1;current=node.consequent;do{if("IfStatement"===current.type&&null==current.alternate)return!0;current=trailingStatement(current)}while(current);return!1},trailingStatement}}()},"../../node_modules/esutils/lib/code.js":module=>{!function(){"use strict";var ES6Regex,ES5Regex,NON_ASCII_WHITESPACES,IDENTIFIER_START,IDENTIFIER_PART,ch;function fromCodePoint(cp){return cp<=65535?String.fromCharCode(cp):String.fromCharCode(Math.floor((cp-65536)/1024)+55296)+String.fromCharCode((cp-65536)%1024+56320)}for(ES5Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},ES6Regex={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},NON_ASCII_WHITESPACES=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279],IDENTIFIER_START=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_START[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||36===ch||95===ch;for(IDENTIFIER_PART=new Array(128),ch=0;ch<128;++ch)IDENTIFIER_PART[ch]=ch>=97&&ch<=122||ch>=65&&ch<=90||ch>=48&&ch<=57||36===ch||95===ch;module.exports={isDecimalDigit:function isDecimalDigit(ch){return 48<=ch&&ch<=57},isHexDigit:function isHexDigit(ch){return 48<=ch&&ch<=57||97<=ch&&ch<=102||65<=ch&&ch<=70},isOctalDigit:function isOctalDigit(ch){return ch>=48&&ch<=55},isWhiteSpace:function isWhiteSpace(ch){return 32===ch||9===ch||11===ch||12===ch||160===ch||ch>=5760&&NON_ASCII_WHITESPACES.indexOf(ch)>=0},isLineTerminator:function isLineTerminator(ch){return 10===ch||13===ch||8232===ch||8233===ch},isIdentifierStartES5:function isIdentifierStartES5(ch){return ch<128?IDENTIFIER_START[ch]:ES5Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES5:function isIdentifierPartES5(ch){return ch<128?IDENTIFIER_PART[ch]:ES5Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))},isIdentifierStartES6:function isIdentifierStartES6(ch){return ch<128?IDENTIFIER_START[ch]:ES6Regex.NonAsciiIdentifierStart.test(fromCodePoint(ch))},isIdentifierPartES6:function isIdentifierPartES6(ch){return ch<128?IDENTIFIER_PART[ch]:ES6Regex.NonAsciiIdentifierPart.test(fromCodePoint(ch))}}}()},"../../node_modules/esutils/lib/keyword.js":(module,__unused_webpack_exports,__webpack_require__)=>{!function(){"use strict";var code=__webpack_require__("../../node_modules/esutils/lib/code.js");function isKeywordES5(id,strict){return!(!strict&&"yield"===id)&&isKeywordES6(id,strict)}function isKeywordES6(id,strict){if(strict&&function isStrictModeReservedWordES6(id){switch(id){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}(id))return!0;switch(id.length){case 2:return"if"===id||"in"===id||"do"===id;case 3:return"var"===id||"for"===id||"new"===id||"try"===id;case 4:return"this"===id||"else"===id||"case"===id||"void"===id||"with"===id||"enum"===id;case 5:return"while"===id||"break"===id||"catch"===id||"throw"===id||"const"===id||"yield"===id||"class"===id||"super"===id;case 6:return"return"===id||"typeof"===id||"delete"===id||"switch"===id||"export"===id||"import"===id;case 7:return"default"===id||"finally"===id||"extends"===id;case 8:return"function"===id||"continue"===id||"debugger"===id;case 10:return"instanceof"===id;default:return!1}}function isReservedWordES5(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES5(id,strict)}function isReservedWordES6(id,strict){return"null"===id||"true"===id||"false"===id||isKeywordES6(id,strict)}function isIdentifierNameES5(id){var i,iz,ch;if(0===id.length)return!1;if(ch=id.charCodeAt(0),!code.isIdentifierStartES5(ch))return!1;for(i=1,iz=id.length;i=iz)return!1;if(!(56320<=(lowCh=id.charCodeAt(i))&&lowCh<=57343))return!1;ch=1024*(ch-55296)+(lowCh-56320)+65536}if(!check(ch))return!1;check=code.isIdentifierPartES6}return!0}module.exports={isKeywordES5,isKeywordES6,isReservedWordES5,isReservedWordES6,isRestrictedWord:function isRestrictedWord(id){return"eval"===id||"arguments"===id},isIdentifierNameES5,isIdentifierNameES6,isIdentifierES5:function isIdentifierES5(id,strict){return isIdentifierNameES5(id)&&!isReservedWordES5(id,strict)},isIdentifierES6:function isIdentifierES6(id,strict){return isIdentifierNameES6(id)&&!isReservedWordES6(id,strict)}}}()},"../../node_modules/esutils/lib/utils.js":(__unused_webpack_module,exports,__webpack_require__)=>{!function(){"use strict";exports.ast=__webpack_require__("../../node_modules/esutils/lib/ast.js"),exports.code=__webpack_require__("../../node_modules/esutils/lib/code.js"),exports.keyword=__webpack_require__("../../node_modules/esutils/lib/keyword.js")}()},"../../node_modules/for-each/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var isCallable=__webpack_require__("../../node_modules/is-callable/index.js"),toStr=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function forEach(list,iterator,thisArg){if(!isCallable(iterator))throw new TypeError("iterator must be a function");var receiver;arguments.length>=3&&(receiver=thisArg),"[object Array]"===toStr.call(list)?function forEachArray(array,iterator,receiver){for(var i=0,len=array.length;i{"use strict";var toStr=Object.prototype.toString,max=Math.max,concatty=function concatty(a,b){for(var arr=[],i=0;i{"use strict";var implementation=__webpack_require__("../../node_modules/function-bind/implementation.js");module.exports=Function.prototype.bind||implementation},"../../node_modules/get-intrinsic/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $Error=__webpack_require__("../../node_modules/es-errors/index.js"),$EvalError=__webpack_require__("../../node_modules/es-errors/eval.js"),$RangeError=__webpack_require__("../../node_modules/es-errors/range.js"),$ReferenceError=__webpack_require__("../../node_modules/es-errors/ref.js"),$SyntaxError=__webpack_require__("../../node_modules/es-errors/syntax.js"),$TypeError=__webpack_require__("../../node_modules/es-errors/type.js"),$URIError=__webpack_require__("../../node_modules/es-errors/uri.js"),$Function=Function,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__("../../node_modules/has-symbols/index.js")(),hasProto=__webpack_require__("../../node_modules/has-proto/index.js")(),getProto=Object.getPrototypeOf||(hasProto?function(x){return x.__proto__}:null),needsEval={},TypedArray="undefined"!=typeof Uint8Array&&getProto?getProto(Uint8Array):undefined,INTRINSICS={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?undefined:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?undefined:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined,"%AsyncFromSyncIteratorPrototype%":undefined,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?undefined:Atomics,"%BigInt%":"undefined"==typeof BigInt?undefined:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?undefined:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?undefined:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?undefined:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":$Error,"%eval%":eval,"%EvalError%":$EvalError,"%Float32Array%":"undefined"==typeof Float32Array?undefined:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?undefined:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?undefined:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?undefined:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?undefined:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?undefined:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined,"%JSON%":"object"==typeof JSON?JSON:undefined,"%Map%":"undefined"==typeof Map?undefined:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols&&getProto?getProto((new Map)[Symbol.iterator]()):undefined,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?undefined:Promise,"%Proxy%":"undefined"==typeof Proxy?undefined:Proxy,"%RangeError%":$RangeError,"%ReferenceError%":$ReferenceError,"%Reflect%":"undefined"==typeof Reflect?undefined:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?undefined:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols&&getProto?getProto((new Set)[Symbol.iterator]()):undefined,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?undefined:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols&&getProto?getProto(""[Symbol.iterator]()):undefined,"%Symbol%":hasSymbols?Symbol:undefined,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?undefined:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?undefined:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?undefined:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?undefined:Uint32Array,"%URIError%":$URIError,"%WeakMap%":"undefined"==typeof WeakMap?undefined:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?undefined:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?undefined:WeakSet};if(getProto)try{null.error}catch(e){var errorProto=getProto(getProto(e));INTRINSICS["%Error.prototype%"]=errorProto}var doEval=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&getProto&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__("../../node_modules/function-bind/index.js"),hasOwn=__webpack_require__("../../node_modules/hasown/index.js"),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias,name:intrinsicName,value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');if(null===$exec(/^%?[^%]*%?$/,name))throw new $SyntaxError("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var parts=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result}(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},"../../node_modules/gopd/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $gOPD=__webpack_require__("../../node_modules/get-intrinsic/index.js")("%Object.getOwnPropertyDescriptor%",!0);if($gOPD)try{$gOPD([],"length")}catch(e){$gOPD=null}module.exports=$gOPD},"../../node_modules/has-property-descriptors/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var $defineProperty=__webpack_require__("../../node_modules/es-define-property/index.js"),hasPropertyDescriptors=function hasPropertyDescriptors(){return!!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function hasArrayLengthDefineBug(){if(!$defineProperty)return null;try{return 1!==$defineProperty([],"length",{value:1}).length}catch(e){return!0}},module.exports=hasPropertyDescriptors},"../../node_modules/has-proto/index.js":module=>{"use strict";var test={__proto__:null,foo:{}},$Object=Object;module.exports=function hasProto(){return{__proto__:test}.foo===test.foo&&!(test instanceof $Object)}},"../../node_modules/has-symbols/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var origSymbol="undefined"!=typeof Symbol&&Symbol,hasSymbolSham=__webpack_require__("../../node_modules/has-symbols/shams.js");module.exports=function hasNativeSymbols(){return"function"==typeof origSymbol&&("function"==typeof Symbol&&("symbol"==typeof origSymbol("foo")&&("symbol"==typeof Symbol("bar")&&hasSymbolSham())))}},"../../node_modules/has-symbols/shams.js":module=>{"use strict";module.exports=function hasSymbols(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var obj={},sym=Symbol("test"),symObj=Object(sym);if("string"==typeof sym)return!1;if("[object Symbol]"!==Object.prototype.toString.call(sym))return!1;if("[object Symbol]"!==Object.prototype.toString.call(symObj))return!1;for(sym in obj[sym]=42,obj)return!1;if("function"==typeof Object.keys&&0!==Object.keys(obj).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(obj).length)return!1;var syms=Object.getOwnPropertySymbols(obj);if(1!==syms.length||syms[0]!==sym)return!1;if(!Object.prototype.propertyIsEnumerable.call(obj,sym))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var descriptor=Object.getOwnPropertyDescriptor(obj,sym);if(42!==descriptor.value||!0!==descriptor.enumerable)return!1}return!0}},"../../node_modules/has-tostringtag/shams.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasSymbols=__webpack_require__("../../node_modules/has-symbols/shams.js");module.exports=function hasToStringTagShams(){return hasSymbols()&&!!Symbol.toStringTag}},"../../node_modules/hasown/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var call=Function.prototype.call,$hasOwn=Object.prototype.hasOwnProperty,bind=__webpack_require__("../../node_modules/function-bind/index.js");module.exports=bind.call(call,$hasOwn)},"../../node_modules/inherits/inherits_browser.js":module=>{"function"==typeof Object.create?module.exports=function inherits(ctor,superCtor){superCtor&&(ctor.super_=superCtor,ctor.prototype=Object.create(superCtor.prototype,{constructor:{value:ctor,enumerable:!1,writable:!0,configurable:!0}}))}:module.exports=function inherits(ctor,superCtor){if(superCtor){ctor.super_=superCtor;var TempCtor=function(){};TempCtor.prototype=superCtor.prototype,ctor.prototype=new TempCtor,ctor.prototype.constructor=ctor}}},"../../node_modules/is-arguments/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var hasToStringTag=__webpack_require__("../../node_modules/has-tostringtag/shams.js")(),$toString=__webpack_require__("../../node_modules/call-bind/callBound.js")("Object.prototype.toString"),isStandardArguments=function isArguments(value){return!(hasToStringTag&&value&&"object"==typeof value&&Symbol.toStringTag in value)&&"[object Arguments]"===$toString(value)},isLegacyArguments=function isArguments(value){return!!isStandardArguments(value)||null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Array]"!==$toString(value)&&"[object Function]"===$toString(value.callee)},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments,module.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments},"../../node_modules/is-callable/index.js":module=>{"use strict";var badArrayLike,isCallableMarker,fnToStr=Function.prototype.toString,reflectApply="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof reflectApply&&"function"==typeof Object.defineProperty)try{badArrayLike=Object.defineProperty({},"length",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply((function(){throw 42}),null,badArrayLike)}catch(_){_!==isCallableMarker&&(reflectApply=null)}else reflectApply=null;var constructorRegex=/^\s*class\b/,isES6ClassFn=function isES6ClassFunction(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch(e){return!1}},tryFunctionObject=function tryFunctionToStr(value){try{return!isES6ClassFn(value)&&(fnToStr.call(value),!0)}catch(e){return!1}},toStr=Object.prototype.toString,hasToStringTag="function"==typeof Symbol&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function isDocumentDotAll(){return!1};if("object"==typeof document){var all=document.all;toStr.call(all)===toStr.call(document.all)&&(isDDA=function isDocumentDotAll(value){if((isIE68||!value)&&(void 0===value||"object"==typeof value))try{var str=toStr.call(value);return("[object HTMLAllCollection]"===str||"[object HTML document.all class]"===str||"[object HTMLCollection]"===str||"[object Object]"===str)&&null==value("")}catch(e){}return!1})}module.exports=reflectApply?function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;try{reflectApply(value,null,badArrayLike)}catch(e){if(e!==isCallableMarker)return!1}return!isES6ClassFn(value)&&tryFunctionObject(value)}:function isCallable(value){if(isDDA(value))return!0;if(!value)return!1;if("function"!=typeof value&&"object"!=typeof value)return!1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return!1;var strClass=toStr.call(value);return!("[object Function]"!==strClass&&"[object GeneratorFunction]"!==strClass&&!/^\[object HTML/.test(strClass))&&tryFunctionObject(value)}},"../../node_modules/is-generator-function/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var GeneratorFunction,toStr=Object.prototype.toString,fnToStr=Function.prototype.toString,isFnRegex=/^\s*(?:function)?\*/,hasToStringTag=__webpack_require__("../../node_modules/has-tostringtag/shams.js")(),getProto=Object.getPrototypeOf;module.exports=function isGeneratorFunction(fn){if("function"!=typeof fn)return!1;if(isFnRegex.test(fnToStr.call(fn)))return!0;if(!hasToStringTag)return"[object GeneratorFunction]"===toStr.call(fn);if(!getProto)return!1;if(void 0===GeneratorFunction){var generatorFunc=function(){if(!hasToStringTag)return!1;try{return Function("return function*() {}")()}catch(e){}}();GeneratorFunction=!!generatorFunc&&getProto(generatorFunc)}return getProto(fn)===GeneratorFunction}},"../../node_modules/is-nan/implementation.js":module=>{"use strict";module.exports=function isNaN(value){return value!=value}},"../../node_modules/is-nan/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var callBind=__webpack_require__("../../node_modules/call-bind/index.js"),define=__webpack_require__("../../node_modules/define-properties/index.js"),implementation=__webpack_require__("../../node_modules/is-nan/implementation.js"),getPolyfill=__webpack_require__("../../node_modules/is-nan/polyfill.js"),shim=__webpack_require__("../../node_modules/is-nan/shim.js"),polyfill=callBind(getPolyfill(),Number);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"../../node_modules/is-nan/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("../../node_modules/is-nan/implementation.js");module.exports=function getPolyfill(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:implementation}},"../../node_modules/is-nan/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("../../node_modules/define-properties/index.js"),getPolyfill=__webpack_require__("../../node_modules/is-nan/polyfill.js");module.exports=function shimNumberIsNaN(){var polyfill=getPolyfill();return define(Number,{isNaN:polyfill},{isNaN:function testIsNaN(){return Number.isNaN!==polyfill}}),polyfill}},"../../node_modules/is-typed-array/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var whichTypedArray=__webpack_require__("../../node_modules/which-typed-array/index.js");module.exports=function isTypedArray(value){return!!whichTypedArray(value)}},"../../node_modules/lodash/_DataView.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("../../node_modules/lodash/_getNative.js")(__webpack_require__("../../node_modules/lodash/_root.js"),"DataView");module.exports=DataView},"../../node_modules/lodash/_Hash.js":(module,__unused_webpack_exports,__webpack_require__)=>{var hashClear=__webpack_require__("../../node_modules/lodash/_hashClear.js"),hashDelete=__webpack_require__("../../node_modules/lodash/_hashDelete.js"),hashGet=__webpack_require__("../../node_modules/lodash/_hashGet.js"),hashHas=__webpack_require__("../../node_modules/lodash/_hashHas.js"),hashSet=__webpack_require__("../../node_modules/lodash/_hashSet.js");function Hash(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var listCacheClear=__webpack_require__("../../node_modules/lodash/_listCacheClear.js"),listCacheDelete=__webpack_require__("../../node_modules/lodash/_listCacheDelete.js"),listCacheGet=__webpack_require__("../../node_modules/lodash/_listCacheGet.js"),listCacheHas=__webpack_require__("../../node_modules/lodash/_listCacheHas.js"),listCacheSet=__webpack_require__("../../node_modules/lodash/_listCacheSet.js");function ListCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Map=__webpack_require__("../../node_modules/lodash/_getNative.js")(__webpack_require__("../../node_modules/lodash/_root.js"),"Map");module.exports=Map},"../../node_modules/lodash/_MapCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var mapCacheClear=__webpack_require__("../../node_modules/lodash/_mapCacheClear.js"),mapCacheDelete=__webpack_require__("../../node_modules/lodash/_mapCacheDelete.js"),mapCacheGet=__webpack_require__("../../node_modules/lodash/_mapCacheGet.js"),mapCacheHas=__webpack_require__("../../node_modules/lodash/_mapCacheHas.js"),mapCacheSet=__webpack_require__("../../node_modules/lodash/_mapCacheSet.js");function MapCache(entries){var index=-1,length=null==entries?0:entries.length;for(this.clear();++index{var Promise=__webpack_require__("../../node_modules/lodash/_getNative.js")(__webpack_require__("../../node_modules/lodash/_root.js"),"Promise");module.exports=Promise},"../../node_modules/lodash/_Set.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Set=__webpack_require__("../../node_modules/lodash/_getNative.js")(__webpack_require__("../../node_modules/lodash/_root.js"),"Set");module.exports=Set},"../../node_modules/lodash/_SetCache.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("../../node_modules/lodash/_MapCache.js"),setCacheAdd=__webpack_require__("../../node_modules/lodash/_setCacheAdd.js"),setCacheHas=__webpack_require__("../../node_modules/lodash/_setCacheHas.js");function SetCache(values){var index=-1,length=null==values?0:values.length;for(this.__data__=new MapCache;++index{var ListCache=__webpack_require__("../../node_modules/lodash/_ListCache.js"),stackClear=__webpack_require__("../../node_modules/lodash/_stackClear.js"),stackDelete=__webpack_require__("../../node_modules/lodash/_stackDelete.js"),stackGet=__webpack_require__("../../node_modules/lodash/_stackGet.js"),stackHas=__webpack_require__("../../node_modules/lodash/_stackHas.js"),stackSet=__webpack_require__("../../node_modules/lodash/_stackSet.js");function Stack(entries){var data=this.__data__=new ListCache(entries);this.size=data.size}Stack.prototype.clear=stackClear,Stack.prototype.delete=stackDelete,Stack.prototype.get=stackGet,Stack.prototype.has=stackHas,Stack.prototype.set=stackSet,module.exports=Stack},"../../node_modules/lodash/_Symbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("../../node_modules/lodash/_root.js").Symbol;module.exports=Symbol},"../../node_modules/lodash/_Uint8Array.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Uint8Array=__webpack_require__("../../node_modules/lodash/_root.js").Uint8Array;module.exports=Uint8Array},"../../node_modules/lodash/_WeakMap.js":(module,__unused_webpack_exports,__webpack_require__)=>{var WeakMap=__webpack_require__("../../node_modules/lodash/_getNative.js")(__webpack_require__("../../node_modules/lodash/_root.js"),"WeakMap");module.exports=WeakMap},"../../node_modules/lodash/_arrayFilter.js":module=>{module.exports=function arrayFilter(array,predicate){for(var index=-1,length=null==array?0:array.length,resIndex=0,result=[];++index{var baseTimes=__webpack_require__("../../node_modules/lodash/_baseTimes.js"),isArguments=__webpack_require__("../../node_modules/lodash/isArguments.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("../../node_modules/lodash/isBuffer.js"),isIndex=__webpack_require__("../../node_modules/lodash/_isIndex.js"),isTypedArray=__webpack_require__("../../node_modules/lodash/isTypedArray.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)!inherited&&!hasOwnProperty.call(value,key)||skipIndexes&&("length"==key||isBuff&&("offset"==key||"parent"==key)||isType&&("buffer"==key||"byteLength"==key||"byteOffset"==key)||isIndex(key,length))||result.push(key);return result}},"../../node_modules/lodash/_arrayMap.js":module=>{module.exports=function arrayMap(array,iteratee){for(var index=-1,length=null==array?0:array.length,result=Array(length);++index{module.exports=function arrayPush(array,values){for(var index=-1,length=values.length,offset=array.length;++index{module.exports=function arraySome(array,predicate){for(var index=-1,length=null==array?0:array.length;++index{var eq=__webpack_require__("../../node_modules/lodash/eq.js");module.exports=function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq(array[length][0],key))return length;return-1}},"../../node_modules/lodash/_baseAssignValue.js":(module,__unused_webpack_exports,__webpack_require__)=>{var defineProperty=__webpack_require__("../../node_modules/lodash/_defineProperty.js");module.exports=function baseAssignValue(object,key,value){"__proto__"==key&&defineProperty?defineProperty(object,key,{configurable:!0,enumerable:!0,value,writable:!0}):object[key]=value}},"../../node_modules/lodash/_baseFor.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("../../node_modules/lodash/_createBaseFor.js")();module.exports=baseFor},"../../node_modules/lodash/_baseForOwn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseFor=__webpack_require__("../../node_modules/lodash/_baseFor.js"),keys=__webpack_require__("../../node_modules/lodash/keys.js");module.exports=function baseForOwn(object,iteratee){return object&&baseFor(object,iteratee,keys)}},"../../node_modules/lodash/_baseGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("../../node_modules/lodash/_castPath.js"),toKey=__webpack_require__("../../node_modules/lodash/_toKey.js");module.exports=function baseGet(object,path){for(var index=0,length=(path=castPath(path,object)).length;null!=object&&index{var arrayPush=__webpack_require__("../../node_modules/lodash/_arrayPush.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js");module.exports=function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object))}},"../../node_modules/lodash/_baseGetTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("../../node_modules/lodash/_Symbol.js"),getRawTag=__webpack_require__("../../node_modules/lodash/_getRawTag.js"),objectToString=__webpack_require__("../../node_modules/lodash/_objectToString.js"),symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function baseGetTag(value){return null==value?void 0===value?"[object Undefined]":"[object Null]":symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value)}},"../../node_modules/lodash/_baseHasIn.js":module=>{module.exports=function baseHasIn(object,key){return null!=object&&key in Object(object)}},"../../node_modules/lodash/_baseIsArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("../../node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("../../node_modules/lodash/isObjectLike.js");module.exports=function baseIsArguments(value){return isObjectLike(value)&&"[object Arguments]"==baseGetTag(value)}},"../../node_modules/lodash/_baseIsEqual.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqualDeep=__webpack_require__("../../node_modules/lodash/_baseIsEqualDeep.js"),isObjectLike=__webpack_require__("../../node_modules/lodash/isObjectLike.js");module.exports=function baseIsEqual(value,other,bitmask,customizer,stack){return value===other||(null==value||null==other||!isObjectLike(value)&&!isObjectLike(other)?value!=value&&other!=other:baseIsEqualDeep(value,other,bitmask,customizer,baseIsEqual,stack))}},"../../node_modules/lodash/_baseIsEqualDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("../../node_modules/lodash/_Stack.js"),equalArrays=__webpack_require__("../../node_modules/lodash/_equalArrays.js"),equalByTag=__webpack_require__("../../node_modules/lodash/_equalByTag.js"),equalObjects=__webpack_require__("../../node_modules/lodash/_equalObjects.js"),getTag=__webpack_require__("../../node_modules/lodash/_getTag.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isBuffer=__webpack_require__("../../node_modules/lodash/isBuffer.js"),isTypedArray=__webpack_require__("../../node_modules/lodash/isTypedArray.js"),objectTag="[object Object]",hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseIsEqualDeep(object,other,bitmask,customizer,equalFunc,stack){var objIsArr=isArray(object),othIsArr=isArray(other),objTag=objIsArr?"[object Array]":getTag(object),othTag=othIsArr?"[object Array]":getTag(other),objIsObj=(objTag="[object Arguments]"==objTag?objectTag:objTag)==objectTag,othIsObj=(othTag="[object Arguments]"==othTag?objectTag:othTag)==objectTag,isSameTag=objTag==othTag;if(isSameTag&&isBuffer(object)){if(!isBuffer(other))return!1;objIsArr=!0,objIsObj=!1}if(isSameTag&&!objIsObj)return stack||(stack=new Stack),objIsArr||isTypedArray(object)?equalArrays(object,other,bitmask,customizer,equalFunc,stack):equalByTag(object,other,objTag,bitmask,customizer,equalFunc,stack);if(!(1&bitmask)){var objIsWrapped=objIsObj&&hasOwnProperty.call(object,"__wrapped__"),othIsWrapped=othIsObj&&hasOwnProperty.call(other,"__wrapped__");if(objIsWrapped||othIsWrapped){var objUnwrapped=objIsWrapped?object.value():object,othUnwrapped=othIsWrapped?other.value():other;return stack||(stack=new Stack),equalFunc(objUnwrapped,othUnwrapped,bitmask,customizer,stack)}}return!!isSameTag&&(stack||(stack=new Stack),equalObjects(object,other,bitmask,customizer,equalFunc,stack))}},"../../node_modules/lodash/_baseIsMatch.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Stack=__webpack_require__("../../node_modules/lodash/_Stack.js"),baseIsEqual=__webpack_require__("../../node_modules/lodash/_baseIsEqual.js");module.exports=function baseIsMatch(object,source,matchData,customizer){var index=matchData.length,length=index,noCustomizer=!customizer;if(null==object)return!length;for(object=Object(object);index--;){var data=matchData[index];if(noCustomizer&&data[2]?data[1]!==object[data[0]]:!(data[0]in object))return!1}for(;++index{var isFunction=__webpack_require__("../../node_modules/lodash/isFunction.js"),isMasked=__webpack_require__("../../node_modules/lodash/_isMasked.js"),isObject=__webpack_require__("../../node_modules/lodash/isObject.js"),toSource=__webpack_require__("../../node_modules/lodash/_toSource.js"),reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto=Function.prototype,objectProto=Object.prototype,funcToString=funcProto.toString,hasOwnProperty=objectProto.hasOwnProperty,reIsNative=RegExp("^"+funcToString.call(hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");module.exports=function baseIsNative(value){return!(!isObject(value)||isMasked(value))&&(isFunction(value)?reIsNative:reIsHostCtor).test(toSource(value))}},"../../node_modules/lodash/_baseIsTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("../../node_modules/lodash/_baseGetTag.js"),isLength=__webpack_require__("../../node_modules/lodash/isLength.js"),isObjectLike=__webpack_require__("../../node_modules/lodash/isObjectLike.js"),typedArrayTags={};typedArrayTags["[object Float32Array]"]=typedArrayTags["[object Float64Array]"]=typedArrayTags["[object Int8Array]"]=typedArrayTags["[object Int16Array]"]=typedArrayTags["[object Int32Array]"]=typedArrayTags["[object Uint8Array]"]=typedArrayTags["[object Uint8ClampedArray]"]=typedArrayTags["[object Uint16Array]"]=typedArrayTags["[object Uint32Array]"]=!0,typedArrayTags["[object Arguments]"]=typedArrayTags["[object Array]"]=typedArrayTags["[object ArrayBuffer]"]=typedArrayTags["[object Boolean]"]=typedArrayTags["[object DataView]"]=typedArrayTags["[object Date]"]=typedArrayTags["[object Error]"]=typedArrayTags["[object Function]"]=typedArrayTags["[object Map]"]=typedArrayTags["[object Number]"]=typedArrayTags["[object Object]"]=typedArrayTags["[object RegExp]"]=typedArrayTags["[object Set]"]=typedArrayTags["[object String]"]=typedArrayTags["[object WeakMap]"]=!1,module.exports=function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}},"../../node_modules/lodash/_baseIteratee.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseMatches=__webpack_require__("../../node_modules/lodash/_baseMatches.js"),baseMatchesProperty=__webpack_require__("../../node_modules/lodash/_baseMatchesProperty.js"),identity=__webpack_require__("../../node_modules/lodash/identity.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),property=__webpack_require__("../../node_modules/lodash/property.js");module.exports=function baseIteratee(value){return"function"==typeof value?value:null==value?identity:"object"==typeof value?isArray(value)?baseMatchesProperty(value[0],value[1]):baseMatches(value):property(value)}},"../../node_modules/lodash/_baseKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isPrototype=__webpack_require__("../../node_modules/lodash/_isPrototype.js"),nativeKeys=__webpack_require__("../../node_modules/lodash/_nativeKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&"constructor"!=key&&result.push(key);return result}},"../../node_modules/lodash/_baseMatches.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsMatch=__webpack_require__("../../node_modules/lodash/_baseIsMatch.js"),getMatchData=__webpack_require__("../../node_modules/lodash/_getMatchData.js"),matchesStrictComparable=__webpack_require__("../../node_modules/lodash/_matchesStrictComparable.js");module.exports=function baseMatches(source){var matchData=getMatchData(source);return 1==matchData.length&&matchData[0][2]?matchesStrictComparable(matchData[0][0],matchData[0][1]):function(object){return object===source||baseIsMatch(object,source,matchData)}}},"../../node_modules/lodash/_baseMatchesProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsEqual=__webpack_require__("../../node_modules/lodash/_baseIsEqual.js"),get=__webpack_require__("../../node_modules/lodash/get.js"),hasIn=__webpack_require__("../../node_modules/lodash/hasIn.js"),isKey=__webpack_require__("../../node_modules/lodash/_isKey.js"),isStrictComparable=__webpack_require__("../../node_modules/lodash/_isStrictComparable.js"),matchesStrictComparable=__webpack_require__("../../node_modules/lodash/_matchesStrictComparable.js"),toKey=__webpack_require__("../../node_modules/lodash/_toKey.js");module.exports=function baseMatchesProperty(path,srcValue){return isKey(path)&&isStrictComparable(srcValue)?matchesStrictComparable(toKey(path),srcValue):function(object){var objValue=get(object,path);return void 0===objValue&&objValue===srcValue?hasIn(object,path):baseIsEqual(srcValue,objValue,3)}}},"../../node_modules/lodash/_baseProperty.js":module=>{module.exports=function baseProperty(key){return function(object){return null==object?void 0:object[key]}}},"../../node_modules/lodash/_basePropertyDeep.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("../../node_modules/lodash/_baseGet.js");module.exports=function basePropertyDeep(path){return function(object){return baseGet(object,path)}}},"../../node_modules/lodash/_baseTimes.js":module=>{module.exports=function baseTimes(n,iteratee){for(var index=-1,result=Array(n);++index{var Symbol=__webpack_require__("../../node_modules/lodash/_Symbol.js"),arrayMap=__webpack_require__("../../node_modules/lodash/_arrayMap.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("../../node_modules/lodash/isSymbol.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;module.exports=function baseToString(value){if("string"==typeof value)return value;if(isArray(value))return arrayMap(value,baseToString)+"";if(isSymbol(value))return symbolToString?symbolToString.call(value):"";var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"../../node_modules/lodash/_baseUnary.js":module=>{module.exports=function baseUnary(func){return function(value){return func(value)}}},"../../node_modules/lodash/_cacheHas.js":module=>{module.exports=function cacheHas(cache,key){return cache.has(key)}},"../../node_modules/lodash/_castPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isKey=__webpack_require__("../../node_modules/lodash/_isKey.js"),stringToPath=__webpack_require__("../../node_modules/lodash/_stringToPath.js"),toString=__webpack_require__("../../node_modules/lodash/toString.js");module.exports=function castPath(value,object){return isArray(value)?value:isKey(value,object)?[value]:stringToPath(toString(value))}},"../../node_modules/lodash/_coreJsData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var coreJsData=__webpack_require__("../../node_modules/lodash/_root.js")["__core-js_shared__"];module.exports=coreJsData},"../../node_modules/lodash/_createBaseFor.js":module=>{module.exports=function createBaseFor(fromRight){return function(object,iteratee,keysFunc){for(var index=-1,iterable=Object(object),props=keysFunc(object),length=props.length;length--;){var key=props[fromRight?length:++index];if(!1===iteratee(iterable[key],key,iterable))break}return object}}},"../../node_modules/lodash/_defineProperty.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getNative=__webpack_require__("../../node_modules/lodash/_getNative.js"),defineProperty=function(){try{var func=getNative(Object,"defineProperty");return func({},"",{}),func}catch(e){}}();module.exports=defineProperty},"../../node_modules/lodash/_equalArrays.js":(module,__unused_webpack_exports,__webpack_require__)=>{var SetCache=__webpack_require__("../../node_modules/lodash/_SetCache.js"),arraySome=__webpack_require__("../../node_modules/lodash/_arraySome.js"),cacheHas=__webpack_require__("../../node_modules/lodash/_cacheHas.js");module.exports=function equalArrays(array,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,arrLength=array.length,othLength=other.length;if(arrLength!=othLength&&!(isPartial&&othLength>arrLength))return!1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=2&bitmask?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index{var Symbol=__webpack_require__("../../node_modules/lodash/_Symbol.js"),Uint8Array=__webpack_require__("../../node_modules/lodash/_Uint8Array.js"),eq=__webpack_require__("../../node_modules/lodash/eq.js"),equalArrays=__webpack_require__("../../node_modules/lodash/_equalArrays.js"),mapToArray=__webpack_require__("../../node_modules/lodash/_mapToArray.js"),setToArray=__webpack_require__("../../node_modules/lodash/_setToArray.js"),symbolProto=Symbol?Symbol.prototype:void 0,symbolValueOf=symbolProto?symbolProto.valueOf:void 0;module.exports=function equalByTag(object,other,tag,bitmask,customizer,equalFunc,stack){switch(tag){case"[object DataView]":if(object.byteLength!=other.byteLength||object.byteOffset!=other.byteOffset)return!1;object=object.buffer,other=other.buffer;case"[object ArrayBuffer]":return!(object.byteLength!=other.byteLength||!equalFunc(new Uint8Array(object),new Uint8Array(other)));case"[object Boolean]":case"[object Date]":case"[object Number]":return eq(+object,+other);case"[object Error]":return object.name==other.name&&object.message==other.message;case"[object RegExp]":case"[object String]":return object==other+"";case"[object Map]":var convert=mapToArray;case"[object Set]":var isPartial=1&bitmask;if(convert||(convert=setToArray),object.size!=other.size&&!isPartial)return!1;var stacked=stack.get(object);if(stacked)return stacked==other;bitmask|=2,stack.set(object,other);var result=equalArrays(convert(object),convert(other),bitmask,customizer,equalFunc,stack);return stack.delete(object),result;case"[object Symbol]":if(symbolValueOf)return symbolValueOf.call(object)==symbolValueOf.call(other)}return!1}},"../../node_modules/lodash/_equalObjects.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getAllKeys=__webpack_require__("../../node_modules/lodash/_getAllKeys.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=1&bitmask,objProps=getAllKeys(object),objLength=objProps.length;if(objLength!=getAllKeys(other).length&&!isPartial)return!1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return!1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index{var freeGlobal="object"==typeof __webpack_require__.g&&__webpack_require__.g&&__webpack_require__.g.Object===Object&&__webpack_require__.g;module.exports=freeGlobal},"../../node_modules/lodash/_getAllKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetAllKeys=__webpack_require__("../../node_modules/lodash/_baseGetAllKeys.js"),getSymbols=__webpack_require__("../../node_modules/lodash/_getSymbols.js"),keys=__webpack_require__("../../node_modules/lodash/keys.js");module.exports=function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols)}},"../../node_modules/lodash/_getMapData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isKeyable=__webpack_require__("../../node_modules/lodash/_isKeyable.js");module.exports=function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data["string"==typeof key?"string":"hash"]:data.map}},"../../node_modules/lodash/_getMatchData.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isStrictComparable=__webpack_require__("../../node_modules/lodash/_isStrictComparable.js"),keys=__webpack_require__("../../node_modules/lodash/keys.js");module.exports=function getMatchData(object){for(var result=keys(object),length=result.length;length--;){var key=result[length],value=object[key];result[length]=[key,value,isStrictComparable(value)]}return result}},"../../node_modules/lodash/_getNative.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsNative=__webpack_require__("../../node_modules/lodash/_baseIsNative.js"),getValue=__webpack_require__("../../node_modules/lodash/_getValue.js");module.exports=function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:void 0}},"../../node_modules/lodash/_getRawTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Symbol=__webpack_require__("../../node_modules/lodash/_Symbol.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol?Symbol.toStringTag:void 0;module.exports=function getRawTag(value){var isOwn=hasOwnProperty.call(value,symToStringTag),tag=value[symToStringTag];try{value[symToStringTag]=void 0;var unmasked=!0}catch(e){}var result=nativeObjectToString.call(value);return unmasked&&(isOwn?value[symToStringTag]=tag:delete value[symToStringTag]),result}},"../../node_modules/lodash/_getSymbols.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayFilter=__webpack_require__("../../node_modules/lodash/_arrayFilter.js"),stubArray=__webpack_require__("../../node_modules/lodash/stubArray.js"),propertyIsEnumerable=Object.prototype.propertyIsEnumerable,nativeGetSymbols=Object.getOwnPropertySymbols,getSymbols=nativeGetSymbols?function(object){return null==object?[]:(object=Object(object),arrayFilter(nativeGetSymbols(object),(function(symbol){return propertyIsEnumerable.call(object,symbol)})))}:stubArray;module.exports=getSymbols},"../../node_modules/lodash/_getTag.js":(module,__unused_webpack_exports,__webpack_require__)=>{var DataView=__webpack_require__("../../node_modules/lodash/_DataView.js"),Map=__webpack_require__("../../node_modules/lodash/_Map.js"),Promise=__webpack_require__("../../node_modules/lodash/_Promise.js"),Set=__webpack_require__("../../node_modules/lodash/_Set.js"),WeakMap=__webpack_require__("../../node_modules/lodash/_WeakMap.js"),baseGetTag=__webpack_require__("../../node_modules/lodash/_baseGetTag.js"),toSource=__webpack_require__("../../node_modules/lodash/_toSource.js"),dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap),getTag=baseGetTag;(DataView&&"[object DataView]"!=getTag(new DataView(new ArrayBuffer(1)))||Map&&"[object Map]"!=getTag(new Map)||Promise&&"[object Promise]"!=getTag(Promise.resolve())||Set&&"[object Set]"!=getTag(new Set)||WeakMap&&"[object WeakMap]"!=getTag(new WeakMap))&&(getTag=function(value){var result=baseGetTag(value),Ctor="[object Object]"==result?value.constructor:void 0,ctorString=Ctor?toSource(Ctor):"";if(ctorString)switch(ctorString){case dataViewCtorString:return"[object DataView]";case mapCtorString:return"[object Map]";case promiseCtorString:return"[object Promise]";case setCtorString:return"[object Set]";case weakMapCtorString:return"[object WeakMap]"}return result}),module.exports=getTag},"../../node_modules/lodash/_getValue.js":module=>{module.exports=function getValue(object,key){return null==object?void 0:object[key]}},"../../node_modules/lodash/_hasPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var castPath=__webpack_require__("../../node_modules/lodash/_castPath.js"),isArguments=__webpack_require__("../../node_modules/lodash/isArguments.js"),isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isIndex=__webpack_require__("../../node_modules/lodash/_isIndex.js"),isLength=__webpack_require__("../../node_modules/lodash/isLength.js"),toKey=__webpack_require__("../../node_modules/lodash/_toKey.js");module.exports=function hasPath(object,path,hasFunc){for(var index=-1,length=(path=castPath(path,object)).length,result=!1;++index{var nativeCreate=__webpack_require__("../../node_modules/lodash/_nativeCreate.js");module.exports=function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{},this.size=0}},"../../node_modules/lodash/_hashDelete.js":module=>{module.exports=function hashDelete(key){var result=this.has(key)&&delete this.__data__[key];return this.size-=result?1:0,result}},"../../node_modules/lodash/_hashGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("../../node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return"__lodash_hash_undefined__"===result?void 0:result}return hasOwnProperty.call(data,key)?data[key]:void 0}},"../../node_modules/lodash/_hashHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("../../node_modules/lodash/_nativeCreate.js"),hasOwnProperty=Object.prototype.hasOwnProperty;module.exports=function hashHas(key){var data=this.__data__;return nativeCreate?void 0!==data[key]:hasOwnProperty.call(data,key)}},"../../node_modules/lodash/_hashSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("../../node_modules/lodash/_nativeCreate.js");module.exports=function hashSet(key,value){var data=this.__data__;return this.size+=this.has(key)?0:1,data[key]=nativeCreate&&void 0===value?"__lodash_hash_undefined__":value,this}},"../../node_modules/lodash/_isIndex.js":module=>{var reIsUint=/^(?:0|[1-9]\d*)$/;module.exports=function isIndex(value,length){var type=typeof value;return!!(length=null==length?9007199254740991:length)&&("number"==type||"symbol"!=type&&reIsUint.test(value))&&value>-1&&value%1==0&&value{var isArray=__webpack_require__("../../node_modules/lodash/isArray.js"),isSymbol=__webpack_require__("../../node_modules/lodash/isSymbol.js"),reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;module.exports=function isKey(value,object){if(isArray(value))return!1;var type=typeof value;return!("number"!=type&&"symbol"!=type&&"boolean"!=type&&null!=value&&!isSymbol(value))||(reIsPlainProp.test(value)||!reIsDeepProp.test(value)||null!=object&&value in Object(object))}},"../../node_modules/lodash/_isKeyable.js":module=>{module.exports=function isKeyable(value){var type=typeof value;return"string"==type||"number"==type||"symbol"==type||"boolean"==type?"__proto__"!==value:null===value}},"../../node_modules/lodash/_isMasked.js":(module,__unused_webpack_exports,__webpack_require__)=>{var uid,coreJsData=__webpack_require__("../../node_modules/lodash/_coreJsData.js"),maskSrcKey=(uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||""))?"Symbol(src)_1."+uid:"";module.exports=function isMasked(func){return!!maskSrcKey&&maskSrcKey in func}},"../../node_modules/lodash/_isPrototype.js":module=>{var objectProto=Object.prototype;module.exports=function isPrototype(value){var Ctor=value&&value.constructor;return value===("function"==typeof Ctor&&Ctor.prototype||objectProto)}},"../../node_modules/lodash/_isStrictComparable.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isObject=__webpack_require__("../../node_modules/lodash/isObject.js");module.exports=function isStrictComparable(value){return value==value&&!isObject(value)}},"../../node_modules/lodash/_listCacheClear.js":module=>{module.exports=function listCacheClear(){this.__data__=[],this.size=0}},"../../node_modules/lodash/_listCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("../../node_modules/lodash/_assocIndexOf.js"),splice=Array.prototype.splice;module.exports=function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);return!(index<0)&&(index==data.length-1?data.pop():splice.call(data,index,1),--this.size,!0)}},"../../node_modules/lodash/_listCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("../../node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}},"../../node_modules/lodash/_listCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("../../node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}},"../../node_modules/lodash/_listCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var assocIndexOf=__webpack_require__("../../node_modules/lodash/_assocIndexOf.js");module.exports=function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}},"../../node_modules/lodash/_mapCacheClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var Hash=__webpack_require__("../../node_modules/lodash/_Hash.js"),ListCache=__webpack_require__("../../node_modules/lodash/_ListCache.js"),Map=__webpack_require__("../../node_modules/lodash/_Map.js");module.exports=function mapCacheClear(){this.size=0,this.__data__={hash:new Hash,map:new(Map||ListCache),string:new Hash}}},"../../node_modules/lodash/_mapCacheDelete.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("../../node_modules/lodash/_getMapData.js");module.exports=function mapCacheDelete(key){var result=getMapData(this,key).delete(key);return this.size-=result?1:0,result}},"../../node_modules/lodash/_mapCacheGet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("../../node_modules/lodash/_getMapData.js");module.exports=function mapCacheGet(key){return getMapData(this,key).get(key)}},"../../node_modules/lodash/_mapCacheHas.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("../../node_modules/lodash/_getMapData.js");module.exports=function mapCacheHas(key){return getMapData(this,key).has(key)}},"../../node_modules/lodash/_mapCacheSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var getMapData=__webpack_require__("../../node_modules/lodash/_getMapData.js");module.exports=function mapCacheSet(key,value){var data=getMapData(this,key),size=data.size;return data.set(key,value),this.size+=data.size==size?0:1,this}},"../../node_modules/lodash/_mapToArray.js":module=>{module.exports=function mapToArray(map){var index=-1,result=Array(map.size);return map.forEach((function(value,key){result[++index]=[key,value]})),result}},"../../node_modules/lodash/_matchesStrictComparable.js":module=>{module.exports=function matchesStrictComparable(key,srcValue){return function(object){return null!=object&&(object[key]===srcValue&&(void 0!==srcValue||key in Object(object)))}}},"../../node_modules/lodash/_memoizeCapped.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoize=__webpack_require__("../../node_modules/lodash/memoize.js");module.exports=function memoizeCapped(func){var result=memoize(func,(function(key){return 500===cache.size&&cache.clear(),key})),cache=result.cache;return result}},"../../node_modules/lodash/_nativeCreate.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeCreate=__webpack_require__("../../node_modules/lodash/_getNative.js")(Object,"create");module.exports=nativeCreate},"../../node_modules/lodash/_nativeKeys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var nativeKeys=__webpack_require__("../../node_modules/lodash/_overArg.js")(Object.keys,Object);module.exports=nativeKeys},"../../node_modules/lodash/_nodeUtil.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var freeGlobal=__webpack_require__("../../node_modules/lodash/_freeGlobal.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,freeProcess=freeModule&&freeModule.exports===freeExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require("util").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding("util")}catch(e){}}();module.exports=nodeUtil},"../../node_modules/lodash/_objectToString.js":module=>{var nativeObjectToString=Object.prototype.toString;module.exports=function objectToString(value){return nativeObjectToString.call(value)}},"../../node_modules/lodash/_overArg.js":module=>{module.exports=function overArg(func,transform){return function(arg){return func(transform(arg))}}},"../../node_modules/lodash/_root.js":(module,__unused_webpack_exports,__webpack_require__)=>{var freeGlobal=__webpack_require__("../../node_modules/lodash/_freeGlobal.js"),freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")();module.exports=root},"../../node_modules/lodash/_setCacheAdd.js":module=>{module.exports=function setCacheAdd(value){return this.__data__.set(value,"__lodash_hash_undefined__"),this}},"../../node_modules/lodash/_setCacheHas.js":module=>{module.exports=function setCacheHas(value){return this.__data__.has(value)}},"../../node_modules/lodash/_setToArray.js":module=>{module.exports=function setToArray(set){var index=-1,result=Array(set.size);return set.forEach((function(value){result[++index]=value})),result}},"../../node_modules/lodash/_stackClear.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("../../node_modules/lodash/_ListCache.js");module.exports=function stackClear(){this.__data__=new ListCache,this.size=0}},"../../node_modules/lodash/_stackDelete.js":module=>{module.exports=function stackDelete(key){var data=this.__data__,result=data.delete(key);return this.size=data.size,result}},"../../node_modules/lodash/_stackGet.js":module=>{module.exports=function stackGet(key){return this.__data__.get(key)}},"../../node_modules/lodash/_stackHas.js":module=>{module.exports=function stackHas(key){return this.__data__.has(key)}},"../../node_modules/lodash/_stackSet.js":(module,__unused_webpack_exports,__webpack_require__)=>{var ListCache=__webpack_require__("../../node_modules/lodash/_ListCache.js"),Map=__webpack_require__("../../node_modules/lodash/_Map.js"),MapCache=__webpack_require__("../../node_modules/lodash/_MapCache.js");module.exports=function stackSet(key,value){var data=this.__data__;if(data instanceof ListCache){var pairs=data.__data__;if(!Map||pairs.length<199)return pairs.push([key,value]),this.size=++data.size,this;data=this.__data__=new MapCache(pairs)}return data.set(key,value),this.size=data.size,this}},"../../node_modules/lodash/_stringToPath.js":(module,__unused_webpack_exports,__webpack_require__)=>{var memoizeCapped=__webpack_require__("../../node_modules/lodash/_memoizeCapped.js"),rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped((function(string){var result=[];return 46===string.charCodeAt(0)&&result.push(""),string.replace(rePropName,(function(match,number,quote,subString){result.push(quote?subString.replace(reEscapeChar,"$1"):number||match)})),result}));module.exports=stringToPath},"../../node_modules/lodash/_toKey.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isSymbol=__webpack_require__("../../node_modules/lodash/isSymbol.js");module.exports=function toKey(value){if("string"==typeof value||isSymbol(value))return value;var result=value+"";return"0"==result&&1/value==-Infinity?"-0":result}},"../../node_modules/lodash/_toSource.js":module=>{var funcToString=Function.prototype.toString;module.exports=function toSource(func){if(null!=func){try{return funcToString.call(func)}catch(e){}try{return func+""}catch(e){}}return""}},"../../node_modules/lodash/eq.js":module=>{module.exports=function eq(value,other){return value===other||value!=value&&other!=other}},"../../node_modules/lodash/get.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGet=__webpack_require__("../../node_modules/lodash/_baseGet.js");module.exports=function get(object,path,defaultValue){var result=null==object?void 0:baseGet(object,path);return void 0===result?defaultValue:result}},"../../node_modules/lodash/hasIn.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseHasIn=__webpack_require__("../../node_modules/lodash/_baseHasIn.js"),hasPath=__webpack_require__("../../node_modules/lodash/_hasPath.js");module.exports=function hasIn(object,path){return null!=object&&hasPath(object,path,baseHasIn)}},"../../node_modules/lodash/identity.js":module=>{module.exports=function identity(value){return value}},"../../node_modules/lodash/isArguments.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsArguments=__webpack_require__("../../node_modules/lodash/_baseIsArguments.js"),isObjectLike=__webpack_require__("../../node_modules/lodash/isObjectLike.js"),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,propertyIsEnumerable=objectProto.propertyIsEnumerable,isArguments=baseIsArguments(function(){return arguments}())?baseIsArguments:function(value){return isObjectLike(value)&&hasOwnProperty.call(value,"callee")&&!propertyIsEnumerable.call(value,"callee")};module.exports=isArguments},"../../node_modules/lodash/isArray.js":module=>{var isArray=Array.isArray;module.exports=isArray},"../../node_modules/lodash/isArrayLike.js":(module,__unused_webpack_exports,__webpack_require__)=>{var isFunction=__webpack_require__("../../node_modules/lodash/isFunction.js"),isLength=__webpack_require__("../../node_modules/lodash/isLength.js");module.exports=function isArrayLike(value){return null!=value&&isLength(value.length)&&!isFunction(value)}},"../../node_modules/lodash/isBuffer.js":(module,exports,__webpack_require__)=>{module=__webpack_require__.nmd(module);var root=__webpack_require__("../../node_modules/lodash/_root.js"),stubFalse=__webpack_require__("../../node_modules/lodash/stubFalse.js"),freeExports=exports&&!exports.nodeType&&exports,freeModule=freeExports&&module&&!module.nodeType&&module,Buffer=freeModule&&freeModule.exports===freeExports?root.Buffer:void 0,isBuffer=(Buffer?Buffer.isBuffer:void 0)||stubFalse;module.exports=isBuffer},"../../node_modules/lodash/isFunction.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("../../node_modules/lodash/_baseGetTag.js"),isObject=__webpack_require__("../../node_modules/lodash/isObject.js");module.exports=function isFunction(value){if(!isObject(value))return!1;var tag=baseGetTag(value);return"[object Function]"==tag||"[object GeneratorFunction]"==tag||"[object AsyncFunction]"==tag||"[object Proxy]"==tag}},"../../node_modules/lodash/isLength.js":module=>{module.exports=function isLength(value){return"number"==typeof value&&value>-1&&value%1==0&&value<=9007199254740991}},"../../node_modules/lodash/isObject.js":module=>{module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},"../../node_modules/lodash/isObjectLike.js":module=>{module.exports=function isObjectLike(value){return null!=value&&"object"==typeof value}},"../../node_modules/lodash/isSymbol.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseGetTag=__webpack_require__("../../node_modules/lodash/_baseGetTag.js"),isObjectLike=__webpack_require__("../../node_modules/lodash/isObjectLike.js");module.exports=function isSymbol(value){return"symbol"==typeof value||isObjectLike(value)&&"[object Symbol]"==baseGetTag(value)}},"../../node_modules/lodash/isTypedArray.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseIsTypedArray=__webpack_require__("../../node_modules/lodash/_baseIsTypedArray.js"),baseUnary=__webpack_require__("../../node_modules/lodash/_baseUnary.js"),nodeUtil=__webpack_require__("../../node_modules/lodash/_nodeUtil.js"),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module.exports=isTypedArray},"../../node_modules/lodash/keys.js":(module,__unused_webpack_exports,__webpack_require__)=>{var arrayLikeKeys=__webpack_require__("../../node_modules/lodash/_arrayLikeKeys.js"),baseKeys=__webpack_require__("../../node_modules/lodash/_baseKeys.js"),isArrayLike=__webpack_require__("../../node_modules/lodash/isArrayLike.js");module.exports=function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}},"../../node_modules/lodash/mapValues.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseAssignValue=__webpack_require__("../../node_modules/lodash/_baseAssignValue.js"),baseForOwn=__webpack_require__("../../node_modules/lodash/_baseForOwn.js"),baseIteratee=__webpack_require__("../../node_modules/lodash/_baseIteratee.js");module.exports=function mapValues(object,iteratee){var result={};return iteratee=baseIteratee(iteratee,3),baseForOwn(object,(function(value,key,object){baseAssignValue(result,key,iteratee(value,key,object))})),result}},"../../node_modules/lodash/memoize.js":(module,__unused_webpack_exports,__webpack_require__)=>{var MapCache=__webpack_require__("../../node_modules/lodash/_MapCache.js");function memoize(func,resolver){if("function"!=typeof func||null!=resolver&&"function"!=typeof resolver)throw new TypeError("Expected a function");var memoized=function(){var args=arguments,key=resolver?resolver.apply(this,args):args[0],cache=memoized.cache;if(cache.has(key))return cache.get(key);var result=func.apply(this,args);return memoized.cache=cache.set(key,result)||cache,result};return memoized.cache=new(memoize.Cache||MapCache),memoized}memoize.Cache=MapCache,module.exports=memoize},"../../node_modules/lodash/property.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseProperty=__webpack_require__("../../node_modules/lodash/_baseProperty.js"),basePropertyDeep=__webpack_require__("../../node_modules/lodash/_basePropertyDeep.js"),isKey=__webpack_require__("../../node_modules/lodash/_isKey.js"),toKey=__webpack_require__("../../node_modules/lodash/_toKey.js");module.exports=function property(path){return isKey(path)?baseProperty(toKey(path)):basePropertyDeep(path)}},"../../node_modules/lodash/stubArray.js":module=>{module.exports=function stubArray(){return[]}},"../../node_modules/lodash/stubFalse.js":module=>{module.exports=function stubFalse(){return!1}},"../../node_modules/lodash/toString.js":(module,__unused_webpack_exports,__webpack_require__)=>{var baseToString=__webpack_require__("../../node_modules/lodash/_baseToString.js");module.exports=function toString(value){return null==value?"":baseToString(value)}},"../../node_modules/object-is/implementation.js":module=>{"use strict";var numberIsNaN=function(value){return value!=value};module.exports=function is(a,b){return 0===a&&0===b?1/a==1/b:a===b||!(!numberIsNaN(a)||!numberIsNaN(b))}},"../../node_modules/object-is/index.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var define=__webpack_require__("../../node_modules/define-properties/index.js"),callBind=__webpack_require__("../../node_modules/call-bind/index.js"),implementation=__webpack_require__("../../node_modules/object-is/implementation.js"),getPolyfill=__webpack_require__("../../node_modules/object-is/polyfill.js"),shim=__webpack_require__("../../node_modules/object-is/shim.js"),polyfill=callBind(getPolyfill(),Object);define(polyfill,{getPolyfill,implementation,shim}),module.exports=polyfill},"../../node_modules/object-is/polyfill.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var implementation=__webpack_require__("../../node_modules/object-is/implementation.js");module.exports=function getPolyfill(){return"function"==typeof Object.is?Object.is:implementation}},"../../node_modules/object-is/shim.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var getPolyfill=__webpack_require__("../../node_modules/object-is/polyfill.js"),define=__webpack_require__("../../node_modules/define-properties/index.js");module.exports=function shimObjectIs(){var polyfill=getPolyfill();return define(Object,{is:polyfill},{is:function testObjectIs(){return Object.is!==polyfill}}),polyfill}},"../../node_modules/object-keys/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var keysShim;if(!Object.keys){var has=Object.prototype.hasOwnProperty,toStr=Object.prototype.toString,isArgs=__webpack_require__("../../node_modules/object-keys/isArguments.js"),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},"toString"),hasProtoEnumBug=isEnumerable.call((function(){}),"prototype"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if("undefined"==typeof window)return!1;for(var k in window)try{if(!excludedKeys["$"+k]&&has.call(window,k)&&null!==window[k]&&"object"==typeof window[k])try{equalsConstructorPrototype(window[k])}catch(e){return!0}}catch(e){return!0}return!1}();keysShim=function keys(object){var isObject=null!==object&&"object"==typeof object,isFunction="[object Function]"===toStr.call(object),isArguments=isArgs(object),isString=isObject&&"[object String]"===toStr.call(object),theKeys=[];if(!isObject&&!isFunction&&!isArguments)throw new TypeError("Object.keys called on a non-object");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j{"use strict";var slice=Array.prototype.slice,isArgs=__webpack_require__("../../node_modules/object-keys/isArguments.js"),origKeys=Object.keys,keysShim=origKeys?function keys(o){return origKeys(o)}:__webpack_require__("../../node_modules/object-keys/implementation.js"),originalKeys=Object.keys;keysShim.shim=function shimObjectKeys(){if(Object.keys){var keysWorksWithArguments=function(){var args=Object.keys(arguments);return args&&args.length===arguments.length}(1,2);keysWorksWithArguments||(Object.keys=function keys(object){return isArgs(object)?originalKeys(slice.call(object)):originalKeys(object)})}else Object.keys=keysShim;return Object.keys||keysShim},module.exports=keysShim},"../../node_modules/object-keys/isArguments.js":module=>{"use strict";var toStr=Object.prototype.toString;module.exports=function isArguments(value){var str=toStr.call(value),isArgs="[object Arguments]"===str;return isArgs||(isArgs="[object Array]"!==str&&null!==value&&"object"==typeof value&&"number"==typeof value.length&&value.length>=0&&"[object Function]"===toStr.call(value.callee)),isArgs}},"../../node_modules/object.assign/implementation.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";var objectKeys=__webpack_require__("../../node_modules/object-keys/index.js"),hasSymbols=__webpack_require__("../../node_modules/has-symbols/shams.js")(),callBound=__webpack_require__("../../node_modules/call-bind/callBound.js"),toObject=Object,$push=callBound("Array.prototype.push"),$propIsEnumerable=callBound("Object.prototype.propertyIsEnumerable"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module.exports=function assign(target,source1){if(null==target)throw new TypeError("target must be an object");var to=toObject(target);if(1===arguments.length)return to;for(var s=1;s{"use strict";var implementation=__webpack_require__("../../node_modules/object.assign/implementation.js");module.exports=function getPolyfill(){return Object.assign?function(){if(!Object.assign)return!1;for(var str="abcdefghijklmnopqrst",letters=str.split(""),map={},i=0;i{"use strict";module.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},"../../node_modules/process/browser.js":module=>{var cachedSetTimeout,cachedClearTimeout,process=module.exports={};function defaultSetTimout(){throw new Error("setTimeout has not been defined")}function defaultClearTimeout(){throw new Error("clearTimeout has not been defined")}function runTimeout(fun){if(cachedSetTimeout===setTimeout)return setTimeout(fun,0);if((cachedSetTimeout===defaultSetTimout||!cachedSetTimeout)&&setTimeout)return cachedSetTimeout=setTimeout,setTimeout(fun,0);try{return cachedSetTimeout(fun,0)}catch(e){try{return cachedSetTimeout.call(null,fun,0)}catch(e){return cachedSetTimeout.call(this,fun,0)}}}!function(){try{cachedSetTimeout="function"==typeof setTimeout?setTimeout:defaultSetTimout}catch(e){cachedSetTimeout=defaultSetTimout}try{cachedClearTimeout="function"==typeof clearTimeout?clearTimeout:defaultClearTimeout}catch(e){cachedClearTimeout=defaultClearTimeout}}();var currentQueue,queue=[],draining=!1,queueIndex=-1;function cleanUpNextTick(){draining&¤tQueue&&(draining=!1,currentQueue.length?queue=currentQueue.concat(queue):queueIndex=-1,queue.length&&drainQueue())}function drainQueue(){if(!draining){var timeout=runTimeout(cleanUpNextTick);draining=!0;for(var len=queue.length;len;){for(currentQueue=queue,queue=[];++queueIndex1)for(var i=1;i{"use strict";var GetIntrinsic=__webpack_require__("../../node_modules/get-intrinsic/index.js"),define=__webpack_require__("../../node_modules/define-data-property/index.js"),hasDescriptors=__webpack_require__("../../node_modules/has-property-descriptors/index.js")(),gOPD=__webpack_require__("../../node_modules/gopd/index.js"),$TypeError=__webpack_require__("../../node_modules/es-errors/type.js"),$floor=GetIntrinsic("%Math.floor%");module.exports=function setFunctionLength(fn,length){if("function"!=typeof fn)throw new $TypeError("`fn` is not a function");if("number"!=typeof length||length<0||length>4294967295||$floor(length)!==length)throw new $TypeError("`length` must be a positive 32-bit integer");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if("length"in fn&&gOPD){var desc=gOPD(fn,"length");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1)}return(functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define(fn,"length",length,!0,!0):define(fn,"length",length)),fn}},"../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js":module=>{"use strict";var stylesInDOM=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i{"use strict";var memo={};module.exports=function insertBySelector(insert,style){var target=function getTarget(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}(insert);if(!target)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");target.appendChild(style)}},"../../node_modules/style-loader/dist/runtime/insertStyleElement.js":module=>{"use strict";module.exports=function insertStyleElement(options){var element=document.createElement("style");return options.setAttributes(element,options.attributes),options.insert(element,options.options),element}},"../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js":(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";module.exports=function setAttributesWithoutAttributes(styleElement){var nonce=__webpack_require__.nc;nonce&&styleElement.setAttribute("nonce",nonce)}},"../../node_modules/style-loader/dist/runtime/styleDomAPI.js":module=>{"use strict";module.exports=function domAPI(options){if("undefined"==typeof document)return{update:function update(){},remove:function remove(){}};var styleElement=options.insertStyleElement(options);return{update:function update(obj){!function apply(styleElement,options,obj){var css="";obj.supports&&(css+="@supports (".concat(obj.supports,") {")),obj.media&&(css+="@media ".concat(obj.media," {"));var needLayer=void 0!==obj.layer;needLayer&&(css+="@layer".concat(obj.layer.length>0?" ".concat(obj.layer):""," {")),css+=obj.css,needLayer&&(css+="}"),obj.media&&(css+="}"),obj.supports&&(css+="}");var sourceMap=obj.sourceMap;sourceMap&&"undefined"!=typeof btoa&&(css+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))))," */")),options.styleTagTransform(css,styleElement,options.options)}(styleElement,options,obj)},remove:function remove(){!function removeStyleElement(styleElement){if(null===styleElement.parentNode)return!1;styleElement.parentNode.removeChild(styleElement)}(styleElement)}}}},"../../node_modules/style-loader/dist/runtime/styleTagTransform.js":module=>{"use strict";module.exports=function styleTagTransform(css,styleElement){if(styleElement.styleSheet)styleElement.styleSheet.cssText=css;else{for(;styleElement.firstChild;)styleElement.removeChild(styleElement.firstChild);styleElement.appendChild(document.createTextNode(css))}}},"../../node_modules/ts-dedent/esm/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{"use strict";function dedent(templ){for(var values=[],_i=1;_i__WEBPACK_DEFAULT_EXPORT__,T:()=>dedent});const __WEBPACK_DEFAULT_EXPORT__=dedent},"../../node_modules/util/support/isBufferBrowser.js":module=>{module.exports=function isBuffer(arg){return arg&&"object"==typeof arg&&"function"==typeof arg.copy&&"function"==typeof arg.fill&&"function"==typeof arg.readUInt8}},"../../node_modules/util/support/types.js":(__unused_webpack_module,exports,__webpack_require__)=>{"use strict";var isArgumentsObject=__webpack_require__("../../node_modules/is-arguments/index.js"),isGeneratorFunction=__webpack_require__("../../node_modules/is-generator-function/index.js"),whichTypedArray=__webpack_require__("../../node_modules/which-typed-array/index.js"),isTypedArray=__webpack_require__("../../node_modules/is-typed-array/index.js");function uncurryThis(f){return f.call.bind(f)}var BigIntSupported="undefined"!=typeof BigInt,SymbolSupported="undefined"!=typeof Symbol,ObjectToString=uncurryThis(Object.prototype.toString),numberValue=uncurryThis(Number.prototype.valueOf),stringValue=uncurryThis(String.prototype.valueOf),booleanValue=uncurryThis(Boolean.prototype.valueOf);if(BigIntSupported)var bigIntValue=uncurryThis(BigInt.prototype.valueOf);if(SymbolSupported)var symbolValue=uncurryThis(Symbol.prototype.valueOf);function checkBoxedPrimitive(value,prototypeValueOf){if("object"!=typeof value)return!1;try{return prototypeValueOf(value),!0}catch(e){return!1}}function isMapToString(value){return"[object Map]"===ObjectToString(value)}function isSetToString(value){return"[object Set]"===ObjectToString(value)}function isWeakMapToString(value){return"[object WeakMap]"===ObjectToString(value)}function isWeakSetToString(value){return"[object WeakSet]"===ObjectToString(value)}function isArrayBufferToString(value){return"[object ArrayBuffer]"===ObjectToString(value)}function isArrayBuffer(value){return"undefined"!=typeof ArrayBuffer&&(isArrayBufferToString.working?isArrayBufferToString(value):value instanceof ArrayBuffer)}function isDataViewToString(value){return"[object DataView]"===ObjectToString(value)}function isDataView(value){return"undefined"!=typeof DataView&&(isDataViewToString.working?isDataViewToString(value):value instanceof DataView)}exports.isArgumentsObject=isArgumentsObject,exports.isGeneratorFunction=isGeneratorFunction,exports.isTypedArray=isTypedArray,exports.isPromise=function isPromise(input){return"undefined"!=typeof Promise&&input instanceof Promise||null!==input&&"object"==typeof input&&"function"==typeof input.then&&"function"==typeof input.catch},exports.isArrayBufferView=function isArrayBufferView(value){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(value):isTypedArray(value)||isDataView(value)},exports.isUint8Array=function isUint8Array(value){return"Uint8Array"===whichTypedArray(value)},exports.isUint8ClampedArray=function isUint8ClampedArray(value){return"Uint8ClampedArray"===whichTypedArray(value)},exports.isUint16Array=function isUint16Array(value){return"Uint16Array"===whichTypedArray(value)},exports.isUint32Array=function isUint32Array(value){return"Uint32Array"===whichTypedArray(value)},exports.isInt8Array=function isInt8Array(value){return"Int8Array"===whichTypedArray(value)},exports.isInt16Array=function isInt16Array(value){return"Int16Array"===whichTypedArray(value)},exports.isInt32Array=function isInt32Array(value){return"Int32Array"===whichTypedArray(value)},exports.isFloat32Array=function isFloat32Array(value){return"Float32Array"===whichTypedArray(value)},exports.isFloat64Array=function isFloat64Array(value){return"Float64Array"===whichTypedArray(value)},exports.isBigInt64Array=function isBigInt64Array(value){return"BigInt64Array"===whichTypedArray(value)},exports.isBigUint64Array=function isBigUint64Array(value){return"BigUint64Array"===whichTypedArray(value)},isMapToString.working="undefined"!=typeof Map&&isMapToString(new Map),exports.isMap=function isMap(value){return"undefined"!=typeof Map&&(isMapToString.working?isMapToString(value):value instanceof Map)},isSetToString.working="undefined"!=typeof Set&&isSetToString(new Set),exports.isSet=function isSet(value){return"undefined"!=typeof Set&&(isSetToString.working?isSetToString(value):value instanceof Set)},isWeakMapToString.working="undefined"!=typeof WeakMap&&isWeakMapToString(new WeakMap),exports.isWeakMap=function isWeakMap(value){return"undefined"!=typeof WeakMap&&(isWeakMapToString.working?isWeakMapToString(value):value instanceof WeakMap)},isWeakSetToString.working="undefined"!=typeof WeakSet&&isWeakSetToString(new WeakSet),exports.isWeakSet=function isWeakSet(value){return isWeakSetToString(value)},isArrayBufferToString.working="undefined"!=typeof ArrayBuffer&&isArrayBufferToString(new ArrayBuffer),exports.isArrayBuffer=isArrayBuffer,isDataViewToString.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&isDataViewToString(new DataView(new ArrayBuffer(1),0,1)),exports.isDataView=isDataView;var SharedArrayBufferCopy="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function isSharedArrayBufferToString(value){return"[object SharedArrayBuffer]"===ObjectToString(value)}function isSharedArrayBuffer(value){return void 0!==SharedArrayBufferCopy&&(void 0===isSharedArrayBufferToString.working&&(isSharedArrayBufferToString.working=isSharedArrayBufferToString(new SharedArrayBufferCopy)),isSharedArrayBufferToString.working?isSharedArrayBufferToString(value):value instanceof SharedArrayBufferCopy)}function isNumberObject(value){return checkBoxedPrimitive(value,numberValue)}function isStringObject(value){return checkBoxedPrimitive(value,stringValue)}function isBooleanObject(value){return checkBoxedPrimitive(value,booleanValue)}function isBigIntObject(value){return BigIntSupported&&checkBoxedPrimitive(value,bigIntValue)}function isSymbolObject(value){return SymbolSupported&&checkBoxedPrimitive(value,symbolValue)}exports.isSharedArrayBuffer=isSharedArrayBuffer,exports.isAsyncFunction=function isAsyncFunction(value){return"[object AsyncFunction]"===ObjectToString(value)},exports.isMapIterator=function isMapIterator(value){return"[object Map Iterator]"===ObjectToString(value)},exports.isSetIterator=function isSetIterator(value){return"[object Set Iterator]"===ObjectToString(value)},exports.isGeneratorObject=function isGeneratorObject(value){return"[object Generator]"===ObjectToString(value)},exports.isWebAssemblyCompiledModule=function isWebAssemblyCompiledModule(value){return"[object WebAssembly.Module]"===ObjectToString(value)},exports.isNumberObject=isNumberObject,exports.isStringObject=isStringObject,exports.isBooleanObject=isBooleanObject,exports.isBigIntObject=isBigIntObject,exports.isSymbolObject=isSymbolObject,exports.isBoxedPrimitive=function isBoxedPrimitive(value){return isNumberObject(value)||isStringObject(value)||isBooleanObject(value)||isBigIntObject(value)||isSymbolObject(value)},exports.isAnyArrayBuffer=function isAnyArrayBuffer(value){return"undefined"!=typeof Uint8Array&&(isArrayBuffer(value)||isSharedArrayBuffer(value))},["isProxy","isExternal","isModuleNamespaceObject"].forEach((function(method){Object.defineProperty(exports,method,{enumerable:!1,value:function(){throw new Error(method+" is not supported in userland")}})}))},"../../node_modules/util/util.js":(__unused_webpack_module,exports,__webpack_require__)=>{var process=__webpack_require__("../../node_modules/process/browser.js"),getOwnPropertyDescriptors=Object.getOwnPropertyDescriptors||function getOwnPropertyDescriptors(obj){for(var keys=Object.keys(obj),descriptors={},i=0;i=len)return x;switch(x){case"%s":return String(args[i++]);case"%d":return Number(args[i++]);case"%j":try{return JSON.stringify(args[i++])}catch(_){return"[Circular]"}default:return x}})),x=args[i];i=3&&(ctx.depth=arguments[2]),arguments.length>=4&&(ctx.colors=arguments[3]),isBoolean(opts)?ctx.showHidden=opts:opts&&exports._extend(ctx,opts),isUndefined(ctx.showHidden)&&(ctx.showHidden=!1),isUndefined(ctx.depth)&&(ctx.depth=2),isUndefined(ctx.colors)&&(ctx.colors=!1),isUndefined(ctx.customInspect)&&(ctx.customInspect=!0),ctx.colors&&(ctx.stylize=stylizeWithColor),formatValue(ctx,obj,ctx.depth)}function stylizeWithColor(str,styleType){var style=inspect.styles[styleType];return style?"["+inspect.colors[style][0]+"m"+str+"["+inspect.colors[style][1]+"m":str}function stylizeNoColor(str,styleType){return str}function formatValue(ctx,value,recurseTimes){if(ctx.customInspect&&value&&isFunction(value.inspect)&&value.inspect!==exports.inspect&&(!value.constructor||value.constructor.prototype!==value)){var ret=value.inspect(recurseTimes,ctx);return isString(ret)||(ret=formatValue(ctx,ret,recurseTimes)),ret}var primitive=function formatPrimitive(ctx,value){if(isUndefined(value))return ctx.stylize("undefined","undefined");if(isString(value)){var simple="'"+JSON.stringify(value).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return ctx.stylize(simple,"string")}if(isNumber(value))return ctx.stylize(""+value,"number");if(isBoolean(value))return ctx.stylize(""+value,"boolean");if(isNull(value))return ctx.stylize("null","null")}(ctx,value);if(primitive)return primitive;var keys=Object.keys(value),visibleKeys=function arrayToHash(array){var hash={};return array.forEach((function(val,idx){hash[val]=!0})),hash}(keys);if(ctx.showHidden&&(keys=Object.getOwnPropertyNames(value)),isError(value)&&(keys.indexOf("message")>=0||keys.indexOf("description")>=0))return formatError(value);if(0===keys.length){if(isFunction(value)){var name=value.name?": "+value.name:"";return ctx.stylize("[Function"+name+"]","special")}if(isRegExp(value))return ctx.stylize(RegExp.prototype.toString.call(value),"regexp");if(isDate(value))return ctx.stylize(Date.prototype.toString.call(value),"date");if(isError(value))return formatError(value)}var output,base="",array=!1,braces=["{","}"];(isArray(value)&&(array=!0,braces=["[","]"]),isFunction(value))&&(base=" [Function"+(value.name?": "+value.name:"")+"]");return isRegExp(value)&&(base=" "+RegExp.prototype.toString.call(value)),isDate(value)&&(base=" "+Date.prototype.toUTCString.call(value)),isError(value)&&(base=" "+formatError(value)),0!==keys.length||array&&0!=value.length?recurseTimes<0?isRegExp(value)?ctx.stylize(RegExp.prototype.toString.call(value),"regexp"):ctx.stylize("[Object]","special"):(ctx.seen.push(value),output=array?function formatArray(ctx,value,recurseTimes,visibleKeys,keys){for(var output=[],i=0,l=value.length;i=0&&0,prev+cur.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(length>60)return braces[0]+(""===base?"":base+"\n ")+" "+output.join(",\n ")+" "+braces[1];return braces[0]+base+" "+output.join(", ")+" "+braces[1]}(output,base,braces)):braces[0]+base+braces[1]}function formatError(value){return"["+Error.prototype.toString.call(value)+"]"}function formatProperty(ctx,value,recurseTimes,visibleKeys,key,array){var name,str,desc;if((desc=Object.getOwnPropertyDescriptor(value,key)||{value:value[key]}).get?str=desc.set?ctx.stylize("[Getter/Setter]","special"):ctx.stylize("[Getter]","special"):desc.set&&(str=ctx.stylize("[Setter]","special")),hasOwnProperty(visibleKeys,key)||(name="["+key+"]"),str||(ctx.seen.indexOf(desc.value)<0?(str=isNull(recurseTimes)?formatValue(ctx,desc.value,null):formatValue(ctx,desc.value,recurseTimes-1)).indexOf("\n")>-1&&(str=array?str.split("\n").map((function(line){return" "+line})).join("\n").slice(2):"\n"+str.split("\n").map((function(line){return" "+line})).join("\n")):str=ctx.stylize("[Circular]","special")),isUndefined(name)){if(array&&key.match(/^\d+$/))return str;(name=JSON.stringify(""+key)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(name=name.slice(1,-1),name=ctx.stylize(name,"name")):(name=name.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),name=ctx.stylize(name,"string"))}return name+": "+str}function isArray(ar){return Array.isArray(ar)}function isBoolean(arg){return"boolean"==typeof arg}function isNull(arg){return null===arg}function isNumber(arg){return"number"==typeof arg}function isString(arg){return"string"==typeof arg}function isUndefined(arg){return void 0===arg}function isRegExp(re){return isObject(re)&&"[object RegExp]"===objectToString(re)}function isObject(arg){return"object"==typeof arg&&null!==arg}function isDate(d){return isObject(d)&&"[object Date]"===objectToString(d)}function isError(e){return isObject(e)&&("[object Error]"===objectToString(e)||e instanceof Error)}function isFunction(arg){return"function"==typeof arg}function objectToString(o){return Object.prototype.toString.call(o)}function pad(n){return n<10?"0"+n.toString(10):n.toString(10)}exports.debuglog=function(set){if(set=set.toUpperCase(),!debugs[set])if(debugEnvRegex.test(set)){var pid=process.pid;debugs[set]=function(){var msg=exports.format.apply(exports,arguments);console.error("%s %d: %s",set,pid,msg)}}else debugs[set]=function(){};return debugs[set]},exports.inspect=inspect,inspect.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},inspect.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},exports.types=__webpack_require__("../../node_modules/util/support/types.js"),exports.isArray=isArray,exports.isBoolean=isBoolean,exports.isNull=isNull,exports.isNullOrUndefined=function isNullOrUndefined(arg){return null==arg},exports.isNumber=isNumber,exports.isString=isString,exports.isSymbol=function isSymbol(arg){return"symbol"==typeof arg},exports.isUndefined=isUndefined,exports.isRegExp=isRegExp,exports.types.isRegExp=isRegExp,exports.isObject=isObject,exports.isDate=isDate,exports.types.isDate=isDate,exports.isError=isError,exports.types.isNativeError=isError,exports.isFunction=isFunction,exports.isPrimitive=function isPrimitive(arg){return null===arg||"boolean"==typeof arg||"number"==typeof arg||"string"==typeof arg||"symbol"==typeof arg||void 0===arg},exports.isBuffer=__webpack_require__("../../node_modules/util/support/isBufferBrowser.js");var months=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function hasOwnProperty(obj,prop){return Object.prototype.hasOwnProperty.call(obj,prop)}exports.log=function(){console.log("%s - %s",function timestamp(){var d=new Date,time=[pad(d.getHours()),pad(d.getMinutes()),pad(d.getSeconds())].join(":");return[d.getDate(),months[d.getMonth()],time].join(" ")}(),exports.format.apply(exports,arguments))},exports.inherits=__webpack_require__("../../node_modules/inherits/inherits_browser.js"),exports._extend=function(origin,add){if(!add||!isObject(add))return origin;for(var keys=Object.keys(add),i=keys.length;i--;)origin[keys[i]]=add[keys[i]];return origin};var kCustomPromisifiedSymbol="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function callbackifyOnRejected(reason,cb){if(!reason){var newReason=new Error("Promise was rejected with a falsy value");newReason.reason=reason,reason=newReason}return cb(reason)}exports.promisify=function promisify(original){if("function"!=typeof original)throw new TypeError('The "original" argument must be of type Function');if(kCustomPromisifiedSymbol&&original[kCustomPromisifiedSymbol]){var fn;if("function"!=typeof(fn=original[kCustomPromisifiedSymbol]))throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(fn,kCustomPromisifiedSymbol,{value:fn,enumerable:!1,writable:!1,configurable:!0}),fn}function fn(){for(var promiseResolve,promiseReject,promise=new Promise((function(resolve,reject){promiseResolve=resolve,promiseReject=reject})),args=[],i=0;i{"use strict";var forEach=__webpack_require__("../../node_modules/for-each/index.js"),availableTypedArrays=__webpack_require__("../../node_modules/available-typed-arrays/index.js"),callBind=__webpack_require__("../../node_modules/call-bind/index.js"),callBound=__webpack_require__("../../node_modules/call-bind/callBound.js"),gOPD=__webpack_require__("../../node_modules/gopd/index.js"),$toString=callBound("Object.prototype.toString"),hasToStringTag=__webpack_require__("../../node_modules/has-tostringtag/shams.js")(),g="undefined"==typeof globalThis?__webpack_require__.g:globalThis,typedArrays=availableTypedArrays(),$slice=callBound("String.prototype.slice"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound("Array.prototype.indexOf",!0)||function indexOf(array,value){for(var i=0;i-1?tag:"Object"===tag&&function tryAllSlices(value){var found=!1;return forEach(cache,(function(getter,name){if(!found)try{getter(value),found=$slice(name,1)}catch(e){}})),found}(value)}return gOPD?function tryAllTypedArrays(value){var found=!1;return forEach(cache,(function(getter,typedArray){if(!found)try{"$"+getter(value)===typedArray&&(found=$slice(typedArray,1))}catch(e){}})),found}(value):null}},"../../node_modules/doctrine/package.json":module=>{"use strict";module.exports={rE:"3.0.0"}}}]); +//# sourceMappingURL=3531.96fac4a8.iframe.bundle.js.map \ No newline at end of file diff --git a/3531.96fac4a8.iframe.bundle.js.LICENSE.txt b/3531.96fac4a8.iframe.bundle.js.LICENSE.txt new file mode 100644 index 000000000..4bb1cb6f2 --- /dev/null +++ b/3531.96fac4a8.iframe.bundle.js.LICENSE.txt @@ -0,0 +1,6 @@ +/*! + * The buffer module from node.js, for the browser. + * + * @author Feross Aboukhadijeh + * @license MIT + */ diff --git a/3531.96fac4a8.iframe.bundle.js.map b/3531.96fac4a8.iframe.bundle.js.map new file mode 100644 index 000000000..79a8c807f --- /dev/null +++ b/3531.96fac4a8.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"3531.96fac4a8.iframe.bundle.js","mappings":";;AAMA;;AAEA;AACA;ACJA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;;;AAIA;;AAEA;;ACzYA;AACA;;;AAGA;;;AC+JA","sources":["webpack://@cdssnc/gcds-components/../../node_modules/@storybook/addon-backgrounds/dist/preview.js","webpack://@cdssnc/gcds-components/../../node_modules/@storybook/addon-outline/dist/preview.js","webpack://@cdssnc/gcds-components/../../node_modules/@storybook/html/dist/entry-preview.mjs","webpack://@cdssnc/gcds-components/../../node_modules/@storybook/test/dist/index.mjs"],"sourcesContent":["import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { logger } from '@storybook/client-logger';\n\nvar PARAM_KEY=\"backgrounds\";var{document,window}=global,isReduceMotionEnabled=()=>window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches,getBackgroundColorByName=(currentSelectedValue,backgrounds=[],defaultName)=>{if(currentSelectedValue===\"transparent\")return \"transparent\";if(backgrounds.find(background=>background.value===currentSelectedValue))return currentSelectedValue;let defaultBackground=backgrounds.find(background=>background.name===defaultName);if(defaultBackground)return defaultBackground.value;if(defaultName){let availableColors=backgrounds.map(background=>background.name).join(\", \");logger.warn(dedent`\n Backgrounds Addon: could not find the default color \"${defaultName}\".\n These are the available colors for your story based on your configuration:\n ${availableColors}.\n `);}return \"transparent\"},clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=selector=>{let element=document.getElementById(selector);element&&element.parentElement?.removeChild(element);},addGridStyle=(selector,css)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,document.head.appendChild(style);}},addBackgroundStyle=(selector,css,storyId)=>{let existingStyle=document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css;let gridStyleSelector=`addon-backgrounds-grid${storyId?`-docs-${storyId}`:\"\"}`,existingGridStyle=document.getElementById(gridStyleSelector);existingGridStyle?existingGridStyle.parentElement?.insertBefore(style,existingGridStyle):document.head.appendChild(style);}};var withBackground=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,globalsBackgroundColor=globals2[PARAM_KEY]?.value,backgroundsConfig=parameters2[PARAM_KEY],selectedBackgroundColor=useMemo(()=>backgroundsConfig.disable?\"transparent\":getBackgroundColorByName(globalsBackgroundColor,backgroundsConfig.values,backgroundsConfig.default),[backgroundsConfig,globalsBackgroundColor]),isActive=useMemo(()=>selectedBackgroundColor&&selectedBackgroundColor!==\"transparent\",[selectedBackgroundColor]),selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundStyles=useMemo(()=>`\n ${selector} {\n background: ${selectedBackgroundColor} !important;\n ${isReduceMotionEnabled()?\"\":\"transition: background-color 0.3s;\"}\n }\n `,[selectedBackgroundColor,selector]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-docs-${context.id}`:\"addon-backgrounds-color\";if(!isActive){clearStyles(selectorId);return}addBackgroundStyle(selectorId,backgroundStyles,context.viewMode===\"docs\"?context.id:null);},[isActive,backgroundStyles,context]),StoryFn()};var withGrid=(StoryFn,context)=>{let{globals:globals2,parameters:parameters2}=context,gridParameters=parameters2[PARAM_KEY].grid,isActive=globals2[PARAM_KEY]?.grid===!0&&gridParameters.disable!==!0,{cellAmount,cellSize,opacity}=gridParameters,isInDocs=context.viewMode===\"docs\",defaultOffset=parameters2.layout===void 0||parameters2.layout===\"padded\"?16:0,offsetX=gridParameters.offsetX??(isInDocs?20:defaultOffset),offsetY=gridParameters.offsetY??(isInDocs?20:defaultOffset),gridStyles=useMemo(()=>{let selector=context.viewMode===\"docs\"?`#anchor--${context.id} .docs-story`:\".sb-show-main\",backgroundSize=[`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize*cellAmount}px ${cellSize*cellAmount}px`,`${cellSize}px ${cellSize}px`,`${cellSize}px ${cellSize}px`].join(\", \");return `\n ${selector} {\n background-size: ${backgroundSize} !important;\n background-position: ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px, ${offsetX}px ${offsetY}px !important;\n background-blend-mode: difference !important;\n background-image: linear-gradient(rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity}) 1px, transparent 1px),\n linear-gradient(rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px),\n linear-gradient(90deg, rgba(130, 130, 130, ${opacity/2}) 1px, transparent 1px) !important;\n }\n `},[cellSize]);return useEffect(()=>{let selectorId=context.viewMode===\"docs\"?`addon-backgrounds-grid-docs-${context.id}`:\"addon-backgrounds-grid\";if(!isActive){clearStyles(selectorId);return}addGridStyle(selectorId,gridStyles);},[isActive,gridStyles,context]),StoryFn()};var decorators=[withGrid,withBackground],parameters={[PARAM_KEY]:{grid:{cellSize:20,opacity:.5,cellAmount:5},values:[{name:\"light\",value:\"#F8F8F8\"},{name:\"dark\",value:\"#333333\"}]}},globals={[PARAM_KEY]:null};\n\nexport { decorators, globals, parameters };\n","import { useMemo, useEffect } from '@storybook/preview-api';\nimport { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\n\nvar clearStyles=selector=>{(Array.isArray(selector)?selector:[selector]).forEach(clearStyle);},clearStyle=input=>{let selector=typeof input==\"string\"?input:input.join(\"\"),element=global.document.getElementById(selector);element&&element.parentElement&&element.parentElement.removeChild(element);},addOutlineStyles=(selector,css)=>{let existingStyle=global.document.getElementById(selector);if(existingStyle)existingStyle.innerHTML!==css&&(existingStyle.innerHTML=css);else {let style=global.document.createElement(\"style\");style.setAttribute(\"id\",selector),style.innerHTML=css,global.document.head.appendChild(style);}};var PARAM_KEY=\"outline\";function outlineCSS(selector){return dedent`\n ${selector} body {\n outline: 1px solid #2980b9 !important;\n }\n\n ${selector} article {\n outline: 1px solid #3498db !important;\n }\n\n ${selector} nav {\n outline: 1px solid #0088c3 !important;\n }\n\n ${selector} aside {\n outline: 1px solid #33a0ce !important;\n }\n\n ${selector} section {\n outline: 1px solid #66b8da !important;\n }\n\n ${selector} header {\n outline: 1px solid #99cfe7 !important;\n }\n\n ${selector} footer {\n outline: 1px solid #cce7f3 !important;\n }\n\n ${selector} h1 {\n outline: 1px solid #162544 !important;\n }\n\n ${selector} h2 {\n outline: 1px solid #314e6e !important;\n }\n\n ${selector} h3 {\n outline: 1px solid #3e5e85 !important;\n }\n\n ${selector} h4 {\n outline: 1px solid #449baf !important;\n }\n\n ${selector} h5 {\n outline: 1px solid #c7d1cb !important;\n }\n\n ${selector} h6 {\n outline: 1px solid #4371d0 !important;\n }\n\n ${selector} main {\n outline: 1px solid #2f4f90 !important;\n }\n\n ${selector} address {\n outline: 1px solid #1a2c51 !important;\n }\n\n ${selector} div {\n outline: 1px solid #036cdb !important;\n }\n\n ${selector} p {\n outline: 1px solid #ac050b !important;\n }\n\n ${selector} hr {\n outline: 1px solid #ff063f !important;\n }\n\n ${selector} pre {\n outline: 1px solid #850440 !important;\n }\n\n ${selector} blockquote {\n outline: 1px solid #f1b8e7 !important;\n }\n\n ${selector} ol {\n outline: 1px solid #ff050c !important;\n }\n\n ${selector} ul {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} li {\n outline: 1px solid #d90416 !important;\n }\n\n ${selector} dl {\n outline: 1px solid #fd3427 !important;\n }\n\n ${selector} dt {\n outline: 1px solid #ff0043 !important;\n }\n\n ${selector} dd {\n outline: 1px solid #e80174 !important;\n }\n\n ${selector} figure {\n outline: 1px solid #ff00bb !important;\n }\n\n ${selector} figcaption {\n outline: 1px solid #bf0032 !important;\n }\n\n ${selector} table {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} caption {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} thead {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} tbody {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} tfoot {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} tr {\n outline: 1px solid #86c0b2 !important;\n }\n\n ${selector} th {\n outline: 1px solid #a1e7d6 !important;\n }\n\n ${selector} td {\n outline: 1px solid #3f5a54 !important;\n }\n\n ${selector} col {\n outline: 1px solid #6c9a8f !important;\n }\n\n ${selector} colgroup {\n outline: 1px solid #6c9a9d !important;\n }\n\n ${selector} button {\n outline: 1px solid #da8301 !important;\n }\n\n ${selector} datalist {\n outline: 1px solid #c06000 !important;\n }\n\n ${selector} fieldset {\n outline: 1px solid #d95100 !important;\n }\n\n ${selector} form {\n outline: 1px solid #d23600 !important;\n }\n\n ${selector} input {\n outline: 1px solid #fca600 !important;\n }\n\n ${selector} keygen {\n outline: 1px solid #b31e00 !important;\n }\n\n ${selector} label {\n outline: 1px solid #ee8900 !important;\n }\n\n ${selector} legend {\n outline: 1px solid #de6d00 !important;\n }\n\n ${selector} meter {\n outline: 1px solid #e8630c !important;\n }\n\n ${selector} optgroup {\n outline: 1px solid #b33600 !important;\n }\n\n ${selector} option {\n outline: 1px solid #ff8a00 !important;\n }\n\n ${selector} output {\n outline: 1px solid #ff9619 !important;\n }\n\n ${selector} progress {\n outline: 1px solid #e57c00 !important;\n }\n\n ${selector} select {\n outline: 1px solid #e26e0f !important;\n }\n\n ${selector} textarea {\n outline: 1px solid #cc5400 !important;\n }\n\n ${selector} details {\n outline: 1px solid #33848f !important;\n }\n\n ${selector} summary {\n outline: 1px solid #60a1a6 !important;\n }\n\n ${selector} command {\n outline: 1px solid #438da1 !important;\n }\n\n ${selector} menu {\n outline: 1px solid #449da6 !important;\n }\n\n ${selector} del {\n outline: 1px solid #bf0000 !important;\n }\n\n ${selector} ins {\n outline: 1px solid #400000 !important;\n }\n\n ${selector} img {\n outline: 1px solid #22746b !important;\n }\n\n ${selector} iframe {\n outline: 1px solid #64a7a0 !important;\n }\n\n ${selector} embed {\n outline: 1px solid #98daca !important;\n }\n\n ${selector} object {\n outline: 1px solid #00cc99 !important;\n }\n\n ${selector} param {\n outline: 1px solid #37ffc4 !important;\n }\n\n ${selector} video {\n outline: 1px solid #6ee866 !important;\n }\n\n ${selector} audio {\n outline: 1px solid #027353 !important;\n }\n\n ${selector} source {\n outline: 1px solid #012426 !important;\n }\n\n ${selector} canvas {\n outline: 1px solid #a2f570 !important;\n }\n\n ${selector} track {\n outline: 1px solid #59a600 !important;\n }\n\n ${selector} map {\n outline: 1px solid #7be500 !important;\n }\n\n ${selector} area {\n outline: 1px solid #305900 !important;\n }\n\n ${selector} a {\n outline: 1px solid #ff62ab !important;\n }\n\n ${selector} em {\n outline: 1px solid #800b41 !important;\n }\n\n ${selector} strong {\n outline: 1px solid #ff1583 !important;\n }\n\n ${selector} i {\n outline: 1px solid #803156 !important;\n }\n\n ${selector} b {\n outline: 1px solid #cc1169 !important;\n }\n\n ${selector} u {\n outline: 1px solid #ff0430 !important;\n }\n\n ${selector} s {\n outline: 1px solid #f805e3 !important;\n }\n\n ${selector} small {\n outline: 1px solid #d107b2 !important;\n }\n\n ${selector} abbr {\n outline: 1px solid #4a0263 !important;\n }\n\n ${selector} q {\n outline: 1px solid #240018 !important;\n }\n\n ${selector} cite {\n outline: 1px solid #64003c !important;\n }\n\n ${selector} dfn {\n outline: 1px solid #b4005a !important;\n }\n\n ${selector} sub {\n outline: 1px solid #dba0c8 !important;\n }\n\n ${selector} sup {\n outline: 1px solid #cc0256 !important;\n }\n\n ${selector} time {\n outline: 1px solid #d6606d !important;\n }\n\n ${selector} code {\n outline: 1px solid #e04251 !important;\n }\n\n ${selector} kbd {\n outline: 1px solid #5e001f !important;\n }\n\n ${selector} samp {\n outline: 1px solid #9c0033 !important;\n }\n\n ${selector} var {\n outline: 1px solid #d90047 !important;\n }\n\n ${selector} mark {\n outline: 1px solid #ff0053 !important;\n }\n\n ${selector} bdi {\n outline: 1px solid #bf3668 !important;\n }\n\n ${selector} bdo {\n outline: 1px solid #6f1400 !important;\n }\n\n ${selector} ruby {\n outline: 1px solid #ff7b93 !important;\n }\n\n ${selector} rt {\n outline: 1px solid #ff2f54 !important;\n }\n\n ${selector} rp {\n outline: 1px solid #803e49 !important;\n }\n\n ${selector} span {\n outline: 1px solid #cc2643 !important;\n }\n\n ${selector} br {\n outline: 1px solid #db687d !important;\n }\n\n ${selector} wbr {\n outline: 1px solid #db175b !important;\n }`}var withOutline=(StoryFn,context)=>{let{globals:globals2}=context,isActive=[!0,\"true\"].includes(globals2[PARAM_KEY]),isInDocs=context.viewMode===\"docs\",outlineStyles=useMemo(()=>outlineCSS(isInDocs?'[data-story-block=\"true\"]':\".sb-show-main\"),[context]);return useEffect(()=>{let selectorId=isInDocs?`addon-outline-docs-${context.id}`:\"addon-outline\";return isActive?addOutlineStyles(selectorId,outlineStyles):clearStyles(selectorId),()=>{clearStyles(selectorId);}},[isActive,outlineStyles,context]),StoryFn()};var decorators=[withOutline],globals={[PARAM_KEY]:!1};\n\nexport { decorators, globals };\n","import { global } from '@storybook/global';\nimport { dedent } from 'ts-dedent';\nimport { simulatePageLoad, simulateDOMContentLoaded } from '@storybook/preview-api';\n\nvar {Node}=global,render=(args,context)=>{let{id,component:Component}=context;if(typeof Component==\"string\"){let output=Component;return Object.keys(args).forEach(key=>{output=output.replace(`{{${key}}}`,args[key]);}),output}if(Component instanceof HTMLElement){let output=Component.cloneNode(!0);return Object.keys(args).forEach(key=>{output.setAttribute(key,typeof args[key]==\"string\"?args[key]:JSON.stringify(args[key]));}),output}if(typeof Component==\"function\")return Component(args,context);throw console.warn(dedent`\n Storybook's HTML renderer only supports rendering DOM elements and strings.\n Received: ${Component}\n `),new Error(`Unable to render story ${id}`)};function renderToCanvas({storyFn,kind,name,showMain,showError,forceRemount},canvasElement){let element=storyFn();if(showMain(),typeof element==\"string\")canvasElement.innerHTML=element,simulatePageLoad(canvasElement);else if(element instanceof Node){if(canvasElement.firstChild===element&&forceRemount===!1)return;canvasElement.innerHTML=\"\",canvasElement.appendChild(element),simulateDOMContentLoaded();}else showError({title:`Expecting an HTML snippet or DOM node from the story: \"${name}\" of \"${kind}\".`,description:dedent`\n Did you forget to return the HTML snippet from the story?\n Use \"() => \" or when defining the story.\n `});}var parameters={renderer:\"html\"};\n\nexport { parameters, render, renderToCanvas };\n","import { instrument } from '@storybook/instrumenter';\nimport { once } from '@storybook/client-logger';\n\nvar __create=Object.create;var __defProp=Object.defineProperty;var __getOwnPropDesc=Object.getOwnPropertyDescriptor;var __getOwnPropNames=Object.getOwnPropertyNames;var __getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty;var __require=(x=>typeof require<\"u\"?require:typeof Proxy<\"u\"?new Proxy(x,{get:(a,b2)=>(typeof require<\"u\"?require:a)[b2]}):x)(function(x){if(typeof require<\"u\")return require.apply(this,arguments);throw Error('Dynamic require of \"'+x+'\" is not supported')});var __commonJS=(cb,mod)=>function(){return mod||(0, cb[__getOwnPropNames(cb)[0]])((mod={exports:{}}).exports,mod),mod.exports};var __export=(target,all)=>{for(var name in all)__defProp(target,name,{get:all[name],enumerable:!0});},__copyProps=(to,from,except,desc)=>{if(from&&typeof from==\"object\"||typeof from==\"function\")for(let key of __getOwnPropNames(from))!__hasOwnProp.call(to,key)&&key!==except&&__defProp(to,key,{get:()=>from[key],enumerable:!(desc=__getOwnPropDesc(from,key))||desc.enumerable});return to};var __toESM=(mod,isNodeMode,target)=>(target=mod!=null?__create(__getProtoOf(mod)):{},__copyProps(isNodeMode||!mod||!mod.__esModule?__defProp(target,\"default\",{value:mod,enumerable:!0}):target,mod));var require_assertion_error=__commonJS({\"../../node_modules/assertion-error/index.js\"(exports,module2){function exclude(){var excludes=[].slice.call(arguments);function excludeProps(res,obj){Object.keys(obj).forEach(function(key){~excludes.indexOf(key)||(res[key]=obj[key]);});}return function(){for(var args=[].slice.call(arguments),i=0,res={};i\"u\"||obj===null?!1:name in Object(obj)}function parsePath(path){var str=path.replace(/([^\\\\])\\[/g,\"$1.[\"),parts=str.match(/(\\\\\\.|[^.]+?)+/g);return parts.map(function(value){if(value===\"constructor\"||value===\"__proto__\"||value===\"prototype\")return {};var regexp=/^\\[(\\d+)\\]$/,mArr=regexp.exec(value),parsed=null;return mArr?parsed={i:parseFloat(mArr[1])}:parsed={p:value.replace(/\\\\([.[\\]])/g,\"$1\")},parsed})}function internalGetPathValue(obj,parsed,pathDepth){var temporaryValue=obj,res=null;pathDepth=typeof pathDepth>\"u\"?parsed.length:pathDepth;for(var i=0;i\"u\"?temporaryValue=temporaryValue[part.i]:temporaryValue=temporaryValue[part.p],i===pathDepth-1&&(res=temporaryValue));}return res}function internalSetPathValue(obj,val,parsed){for(var tempObj=obj,pathDepth=parsed.length,part=null,i=0;i\"u\"?part.i:part.p,tempObj[propName]=val;else if(typeof part.p<\"u\"&&tempObj[part.p])tempObj=tempObj[part.p];else if(typeof part.i<\"u\"&&tempObj[part.i])tempObj=tempObj[part.i];else {var next=parsed[i+1];propName=typeof part.p>\"u\"?part.i:part.p,propVal=typeof next.p>\"u\"?[]:{},tempObj[propName]=propVal,tempObj=tempObj[propName];}}}function getPathInfo(obj,path){var parsed=parsePath(path),last=parsed[parsed.length-1],info={parent:parsed.length>1?internalGetPathValue(obj,parsed,parsed.length-1):obj,name:last.p||last.i,value:internalGetPathValue(obj,parsed)};return info.exists=hasProperty(info.parent,info.name),info}function getPathValue(obj,path){var info=getPathInfo(obj,path);return info.value}function setPathValue(obj,path,val){var parsed=parsePath(path);return internalSetPathValue(obj,val,parsed),obj}module2.exports={hasProperty,getPathInfo,getPathValue,setPathValue};}});var require_flag=__commonJS({\"../../node_modules/chai/lib/chai/utils/flag.js\"(exports,module2){module2.exports=function(obj,key,value){var flags=obj.__flags||(obj.__flags=Object.create(null));if(arguments.length===3)flags[key]=value;else return flags[key]};}});var require_test=__commonJS({\"../../node_modules/chai/lib/chai/utils/test.js\"(exports,module2){var flag=require_flag();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),expr=args[0];return negate?!expr:expr};}});var require_type_detect=__commonJS({\"../../node_modules/type-detect/type-detect.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?module2.exports=factory():typeof define==\"function\"&&define.amd?define(factory):global2.typeDetect=factory();})(exports,function(){var promiseExists=typeof Promise==\"function\",globalObject=typeof self==\"object\"?self:global,symbolExists=typeof Symbol<\"u\",mapExists=typeof Map<\"u\",setExists=typeof Set<\"u\",weakMapExists=typeof WeakMap<\"u\",weakSetExists=typeof WeakSet<\"u\",dataViewExists=typeof DataView<\"u\",symbolIteratorExists=symbolExists&&typeof Symbol.iterator<\"u\",symbolToStringTagExists=symbolExists&&typeof Symbol.toStringTag<\"u\",setEntriesExists=setExists&&typeof Set.prototype.entries==\"function\",mapEntriesExists=mapExists&&typeof Map.prototype.entries==\"function\",setIteratorPrototype=setEntriesExists&&Object.getPrototypeOf(new Set().entries()),mapIteratorPrototype=mapEntriesExists&&Object.getPrototypeOf(new Map().entries()),arrayIteratorExists=symbolIteratorExists&&typeof Array.prototype[Symbol.iterator]==\"function\",arrayIteratorPrototype=arrayIteratorExists&&Object.getPrototypeOf([][Symbol.iterator]()),stringIteratorExists=symbolIteratorExists&&typeof String.prototype[Symbol.iterator]==\"function\",stringIteratorPrototype=stringIteratorExists&&Object.getPrototypeOf(\"\"[Symbol.iterator]()),toStringLeftSliceLength=8,toStringRightSliceLength=-1;function typeDetect(obj){var typeofObj=typeof obj;if(typeofObj!==\"object\")return typeofObj;if(obj===null)return \"null\";if(obj===globalObject)return \"global\";if(Array.isArray(obj)&&(symbolToStringTagExists===!1||!(Symbol.toStringTag in obj)))return \"Array\";if(typeof window==\"object\"&&window!==null){if(typeof window.location==\"object\"&&obj===window.location)return \"Location\";if(typeof window.document==\"object\"&&obj===window.document)return \"Document\";if(typeof window.navigator==\"object\"){if(typeof window.navigator.mimeTypes==\"object\"&&obj===window.navigator.mimeTypes)return \"MimeTypeArray\";if(typeof window.navigator.plugins==\"object\"&&obj===window.navigator.plugins)return \"PluginArray\"}if((typeof window.HTMLElement==\"function\"||typeof window.HTMLElement==\"object\")&&obj instanceof window.HTMLElement){if(obj.tagName===\"BLOCKQUOTE\")return \"HTMLQuoteElement\";if(obj.tagName===\"TD\")return \"HTMLTableDataCellElement\";if(obj.tagName===\"TH\")return \"HTMLTableHeaderCellElement\"}}var stringTag=symbolToStringTagExists&&obj[Symbol.toStringTag];if(typeof stringTag==\"string\")return stringTag;var objPrototype=Object.getPrototypeOf(obj);return objPrototype===RegExp.prototype?\"RegExp\":objPrototype===Date.prototype?\"Date\":promiseExists&&objPrototype===Promise.prototype?\"Promise\":setExists&&objPrototype===Set.prototype?\"Set\":mapExists&&objPrototype===Map.prototype?\"Map\":weakSetExists&&objPrototype===WeakSet.prototype?\"WeakSet\":weakMapExists&&objPrototype===WeakMap.prototype?\"WeakMap\":dataViewExists&&objPrototype===DataView.prototype?\"DataView\":mapExists&&objPrototype===mapIteratorPrototype?\"Map Iterator\":setExists&&objPrototype===setIteratorPrototype?\"Set Iterator\":arrayIteratorExists&&objPrototype===arrayIteratorPrototype?\"Array Iterator\":stringIteratorExists&&objPrototype===stringIteratorPrototype?\"String Iterator\":objPrototype===null?\"Object\":Object.prototype.toString.call(obj).slice(toStringLeftSliceLength,toStringRightSliceLength)}return typeDetect});}});var require_expectTypes=__commonJS({\"../../node_modules/chai/lib/chai/utils/expectTypes.js\"(exports,module2){var AssertionError2=require_assertion_error(),flag=require_flag(),type3=require_type_detect();module2.exports=function(obj,types){var flagMsg=flag(obj,\"message\"),ssfi=flag(obj,\"ssfi\");flagMsg=flagMsg?flagMsg+\": \":\"\",obj=flag(obj,\"object\"),types=types.map(function(t){return t.toLowerCase()}),types.sort();var str=types.map(function(t,index){var art=~[\"a\",\"e\",\"i\",\"o\",\"u\"].indexOf(t.charAt(0))?\"an\":\"a\",or=types.length>1&&index===types.length-1?\"or \":\"\";return or+art+\" \"+t}).join(\", \"),objType=type3(obj).toLowerCase();if(!types.some(function(expected){return objType===expected}))throw new AssertionError2(flagMsg+\"object tested must be \"+str+\", but \"+objType+\" given\",void 0,ssfi)};}});var require_getActual=__commonJS({\"../../node_modules/chai/lib/chai/utils/getActual.js\"(exports,module2){module2.exports=function(obj,args){return args.length>4?args[4]:obj._obj};}});var require_get_func_name=__commonJS({\"../../node_modules/get-func-name/index.js\"(exports,module2){var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}module2.exports=getFuncName;}});var require_loupe=__commonJS({\"../../node_modules/loupe/loupe.js\"(exports,module2){(function(global2,factory){typeof exports==\"object\"&&typeof module2<\"u\"?factory(exports):typeof define==\"function\"&&define.amd?define([\"exports\"],factory):(global2=typeof globalThis<\"u\"?globalThis:global2||self,factory(global2.loupe={}));})(exports,function(exports2){function _typeof5(obj){\"@babel/helpers - typeof\";return typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?_typeof5=function(obj2){return typeof obj2}:_typeof5=function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof5(obj)}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _iterableToArrayLimit(arr,i){if(!(typeof Symbol>\"u\"||!(Symbol.iterator in Object(arr)))){var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _i=arr[Symbol.iterator](),_s;!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&arguments[0]!==void 0?arguments[0]:{},_ref$showHidden=_ref.showHidden,showHidden=_ref$showHidden===void 0?!1:_ref$showHidden,_ref$depth=_ref.depth,depth=_ref$depth===void 0?2:_ref$depth,_ref$colors=_ref.colors,colors=_ref$colors===void 0?!1:_ref$colors,_ref$customInspect=_ref.customInspect,customInspect=_ref$customInspect===void 0?!0:_ref$customInspect,_ref$showProxy=_ref.showProxy,showProxy=_ref$showProxy===void 0?!1:_ref$showProxy,_ref$maxArrayLength=_ref.maxArrayLength,maxArrayLength=_ref$maxArrayLength===void 0?1/0:_ref$maxArrayLength,_ref$breakLength=_ref.breakLength,breakLength=_ref$breakLength===void 0?1/0:_ref$breakLength,_ref$seen=_ref.seen,seen=_ref$seen===void 0?[]:_ref$seen,_ref$truncate=_ref.truncate,truncate2=_ref$truncate===void 0?1/0:_ref$truncate,_ref$stylize=_ref.stylize,stylize=_ref$stylize===void 0?String:_ref$stylize,options={showHidden:!!showHidden,depth:Number(depth),colors:!!colors,customInspect:!!customInspect,showProxy:!!showProxy,maxArrayLength:Number(maxArrayLength),breakLength:Number(breakLength),truncate:Number(truncate2),seen,stylize};return options.colors&&(options.stylize=colorise),options}function truncate(string2,length){var tail=arguments.length>2&&arguments[2]!==void 0?arguments[2]:truncator;string2=String(string2);var tailLength=tail.length,stringLength=string2.length;return tailLength>length&&stringLength>tailLength?tail:stringLength>length&&stringLength>tailLength?\"\".concat(string2.slice(0,length-tailLength)).concat(tail):string2}function inspectList(list,options,inspectItem){var separator=arguments.length>3&&arguments[3]!==void 0?arguments[3]:\", \";inspectItem=inspectItem||options.inspect;var size=list.length;if(size===0)return \"\";for(var originalLength=options.truncate,output=\"\",peek=\"\",truncated=\"\",i=0;ioriginalLength&&output.length+truncated.length<=originalLength||!last&&!secondToLast&&truncatedLength>originalLength||(peek=last?\"\":inspectItem(list[i+1],options)+(secondToLast?\"\":separator),!last&&secondToLast&&truncatedLength>originalLength&&nextLength+peek.length>originalLength))break;if(output+=string2,!last&&!secondToLast&&nextLength+peek.length>=originalLength){truncated=\"\".concat(truncator,\"(\").concat(list.length-i-1,\")\");break}truncated=\"\";}return \"\".concat(output).concat(truncated)}function quoteComplexKey(key){return key.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?key:JSON.stringify(key).replace(/'/g,\"\\\\'\").replace(/\\\\\"/g,'\"').replace(/(^\"|\"$)/g,\"'\")}function inspectProperty(_ref2,options){var _ref3=_slicedToArray(_ref2,2),key=_ref3[0],value=_ref3[1];return options.truncate-=2,typeof key==\"string\"?key=quoteComplexKey(key):typeof key!=\"number\"&&(key=\"[\".concat(options.inspect(key,options),\"]\")),options.truncate-=key.length,value=options.inspect(value,options),\"\".concat(key,\": \").concat(value)}function inspectArray(array,options){var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"[]\";options.truncate-=4;var listContents=inspectList(array,options);options.truncate-=listContents.length;var propertyContents=\"\";return nonIndexProperties.length&&(propertyContents=inspectList(nonIndexProperties.map(function(key){return [key,array[key]]}),options,inspectProperty)),\"[ \".concat(listContents).concat(propertyContents?\", \".concat(propertyContents):\"\",\" ]\")}var toString=Function.prototype.toString,functionNameMatch=/\\s*function(?:\\s|\\s*\\/\\*[^(?:*\\/)]+\\*\\/\\s*)*([^\\s\\(\\/]+)/,maxFunctionSourceLength=512;function getFuncName(aFunc){if(typeof aFunc!=\"function\")return null;var name=\"\";if(typeof Function.prototype.name>\"u\"&&typeof aFunc.name>\"u\"){var functionSource=toString.call(aFunc);if(functionSource.indexOf(\"(\")>maxFunctionSourceLength)return name;var match=functionSource.match(functionNameMatch);match&&(name=match[1]);}else name=aFunc.name;return name}var getFuncName_1=getFuncName,getArrayName=function(array){return typeof Buffer==\"function\"&&array instanceof Buffer?\"Buffer\":array[Symbol.toStringTag]?array[Symbol.toStringTag]:getFuncName_1(array.constructor)};function inspectTypedArray(array,options){var name=getArrayName(array);options.truncate-=name.length+4;var nonIndexProperties=Object.keys(array).slice(array.length);if(!array.length&&!nonIndexProperties.length)return \"\".concat(name,\"[]\");for(var output=\"\",i=0;i \").concat(value)}function mapToEntries(map){var entries=[];return map.forEach(function(value,key){entries.push([key,value]);}),entries}function inspectMap(map,options){var size=map.size-1;return size<=0?\"Map{}\":(options.truncate-=7,\"Map{ \".concat(inspectList(mapToEntries(map),options,inspectMapEntry),\" }\"))}var isNaN2=Number.isNaN||function(i){return i!==i};function inspectNumber(number,options){return isNaN2(number)?options.stylize(\"NaN\",\"number\"):number===1/0?options.stylize(\"Infinity\",\"number\"):number===-1/0?options.stylize(\"-Infinity\",\"number\"):number===0?options.stylize(1/number===1/0?\"+0\":\"-0\",\"number\"):options.stylize(truncate(number,options.truncate),\"number\")}function inspectBigInt(number,options){var nums=truncate(number.toString(),options.truncate-1);return nums!==truncator&&(nums+=\"n\"),options.stylize(nums,\"bigint\")}function inspectRegExp(value,options){var flags=value.toString().split(\"/\")[2],sourceLength=options.truncate-(2+flags.length),source=value.source;return options.stylize(\"/\".concat(truncate(source,sourceLength),\"/\").concat(flags),\"regexp\")}function arrayFromSet(set){var values=[];return set.forEach(function(value){values.push(value);}),values}function inspectSet(set,options){return set.size===0?\"Set{}\":(options.truncate-=7,\"Set{ \".concat(inspectList(arrayFromSet(set),options),\" }\"))}var stringEscapeChars=new RegExp(\"['\\\\u0000-\\\\u001f\\\\u007f-\\\\u009f\\\\u00ad\\\\u0600-\\\\u0604\\\\u070f\\\\u17b4\\\\u17b5\\\\u200c-\\\\u200f\\\\u2028-\\\\u202f\\\\u2060-\\\\u206f\\\\ufeff\\\\ufff0-\\\\uffff]\",\"g\"),escapeCharacters={\"\\b\":\"\\\\b\",\"\t\":\"\\\\t\",\"\\n\":\"\\\\n\",\"\\f\":\"\\\\f\",\"\\r\":\"\\\\r\",\"'\":\"\\\\'\",\"\\\\\":\"\\\\\\\\\"},hex=16,unicodeLength=4;function escape2(char){return escapeCharacters[char]||\"\\\\u\".concat(\"0000\".concat(char.charCodeAt(0).toString(hex)).slice(-unicodeLength))}function inspectString(string2,options){return stringEscapeChars.test(string2)&&(string2=string2.replace(stringEscapeChars,escape2)),options.stylize(\"'\".concat(truncate(string2,options.truncate-2),\"'\"),\"string\")}function inspectSymbol(value){return \"description\"in Symbol.prototype?value.description?\"Symbol(\".concat(value.description,\")\"):\"Symbol()\":value.toString()}var getPromiseValue=function(){return \"Promise{\\u2026}\"};try{var _process$binding=process.binding(\"util\"),getPromiseDetails=_process$binding.getPromiseDetails,kPending=_process$binding.kPending,kRejected=_process$binding.kRejected;Array.isArray(getPromiseDetails(Promise.resolve()))&&(getPromiseValue=function(value,options){var _getPromiseDetails=getPromiseDetails(value),_getPromiseDetails2=_slicedToArray(_getPromiseDetails,2),state=_getPromiseDetails2[0],innerValue=_getPromiseDetails2[1];return state===kPending?\"Promise{}\":\"Promise\".concat(state===kRejected?\"!\":\"\",\"{\").concat(options.inspect(innerValue,options),\"}\")});}catch{}var inspectPromise=getPromiseValue;function inspectObject(object,options){var properties=Object.getOwnPropertyNames(object),symbols=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(object):[];if(properties.length===0&&symbols.length===0)return \"{}\";if(options.truncate-=4,options.seen=options.seen||[],options.seen.indexOf(object)>=0)return \"[Circular]\";options.seen.push(object);var propertyContents=inspectList(properties.map(function(key){return [key,object[key]]}),options,inspectProperty),symbolContents=inspectList(symbols.map(function(key){return [key,object[key]]}),options,inspectProperty);options.seen.pop();var sep=\"\";return propertyContents&&symbolContents&&(sep=\", \"),\"{ \".concat(propertyContents).concat(sep).concat(symbolContents,\" }\")}var toStringTag=typeof Symbol<\"u\"&&Symbol.toStringTag?Symbol.toStringTag:!1;function inspectClass(value,options){var name=\"\";return toStringTag&&toStringTag in value&&(name=value[toStringTag]),name=name||getFuncName_1(value.constructor),(!name||name===\"_class\")&&(name=\"\"),options.truncate-=name.length,\"\".concat(name).concat(inspectObject(value,options))}function inspectArguments(args,options){return args.length===0?\"Arguments[]\":(options.truncate-=13,\"Arguments[ \".concat(inspectList(args,options),\" ]\"))}var errorKeys=[\"stack\",\"line\",\"column\",\"name\",\"message\",\"fileName\",\"lineNumber\",\"columnNumber\",\"number\",\"description\"];function inspectObject$1(error,options){var properties=Object.getOwnPropertyNames(error).filter(function(key){return errorKeys.indexOf(key)===-1}),name=error.name;options.truncate-=name.length;var message=\"\";typeof error.message==\"string\"?message=truncate(error.message,options.truncate):properties.unshift(\"message\"),message=message?\": \".concat(message):\"\",options.truncate-=message.length+5;var propertyContents=inspectList(properties.map(function(key){return [key,error[key]]}),options,inspectProperty);return \"\".concat(name).concat(message).concat(propertyContents?\" { \".concat(propertyContents,\" }\"):\"\")}function inspectAttribute(_ref,options){var _ref2=_slicedToArray(_ref,2),key=_ref2[0],value=_ref2[1];return options.truncate-=3,value?\"\".concat(options.stylize(key,\"yellow\"),\"=\").concat(options.stylize('\"'.concat(value,'\"'),\"string\")):\"\".concat(options.stylize(key,\"yellow\"))}function inspectHTMLCollection(collection,options){return inspectList(collection,options,inspectHTML,`\n`)}function inspectHTML(element,options){var properties=element.getAttributeNames(),name=element.tagName.toLowerCase(),head=options.stylize(\"<\".concat(name),\"special\"),headClose=options.stylize(\">\",\"special\"),tail=options.stylize(\"\"),\"special\");options.truncate-=name.length*2+5;var propertyContents=\"\";properties.length>0&&(propertyContents+=\" \",propertyContents+=inspectList(properties.map(function(key){return [key,element.getAttribute(key)]}),options,inspectAttribute,\" \")),options.truncate-=propertyContents.length;var truncate2=options.truncate,children=inspectHTMLCollection(element.children,options);return children&&children.length>truncate2&&(children=\"\".concat(truncator,\"(\").concat(element.children.length,\")\")),\"\".concat(head).concat(propertyContents).concat(headClose).concat(children).concat(tail)}var symbolsSupported=typeof Symbol==\"function\"&&typeof Symbol.for==\"function\",chaiInspect=symbolsSupported?Symbol.for(\"chai/inspect\"):\"@@chai/inspect\",nodeInspect=!1;try{var nodeUtil=__require(\"util\");nodeInspect=nodeUtil.inspect?nodeUtil.inspect.custom:!1;}catch{nodeInspect=!1;}function FakeMap(){this.key=\"chai/loupe__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this.key]},has:function(key){return this.key in key},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this.key,{value,configurable:!0});}};var constructorMap=new(typeof WeakMap==\"function\"?WeakMap:FakeMap),stringTagMap={},baseTypesMap={undefined:function(value,options){return options.stylize(\"undefined\",\"undefined\")},null:function(value,options){return options.stylize(null,\"null\")},boolean:function(value,options){return options.stylize(value,\"boolean\")},Boolean:function(value,options){return options.stylize(value,\"boolean\")},number:inspectNumber,Number:inspectNumber,bigint:inspectBigInt,BigInt:inspectBigInt,string:inspectString,String:inspectString,function:inspectFunction,Function:inspectFunction,symbol:inspectSymbol,Symbol:inspectSymbol,Array:inspectArray,Date:inspectDate,Map:inspectMap,Set:inspectSet,RegExp:inspectRegExp,Promise:inspectPromise,WeakSet:function(value,options){return options.stylize(\"WeakSet{\\u2026}\",\"special\")},WeakMap:function(value,options){return options.stylize(\"WeakMap{\\u2026}\",\"special\")},Arguments:inspectArguments,Int8Array:inspectTypedArray,Uint8Array:inspectTypedArray,Uint8ClampedArray:inspectTypedArray,Int16Array:inspectTypedArray,Uint16Array:inspectTypedArray,Int32Array:inspectTypedArray,Uint32Array:inspectTypedArray,Float32Array:inspectTypedArray,Float64Array:inspectTypedArray,Generator:function(){return \"\"},DataView:function(){return \"\"},ArrayBuffer:function(){return \"\"},Error:inspectObject$1,HTMLCollection:inspectHTMLCollection,NodeList:inspectHTMLCollection},inspectCustom=function(value,options,type3){return chaiInspect in value&&typeof value[chaiInspect]==\"function\"?value[chaiInspect](options):nodeInspect&&nodeInspect in value&&typeof value[nodeInspect]==\"function\"?value[nodeInspect](options.depth,options):\"inspect\"in value&&typeof value.inspect==\"function\"?value.inspect(options.depth,options):\"constructor\"in value&&constructorMap.has(value.constructor)?constructorMap.get(value.constructor)(value,options):stringTagMap[type3]?stringTagMap[type3](value,options):\"\"},toString$1=Object.prototype.toString;function inspect3(value,options){options=normaliseOptions(options),options.inspect=inspect3;var _options=options,customInspect=_options.customInspect,type3=value===null?\"null\":_typeof5(value);if(type3===\"object\"&&(type3=toString$1.call(value).slice(8,-1)),baseTypesMap[type3])return baseTypesMap[type3](value,options);if(customInspect&&value){var output=inspectCustom(value,options,type3);if(output)return typeof output==\"string\"?output:inspect3(output,options)}var proto=value?Object.getPrototypeOf(value):!1;return proto===Object.prototype||proto===null?inspectObject(value,options):value&&typeof HTMLElement==\"function\"&&value instanceof HTMLElement?inspectHTML(value,options):\"constructor\"in value?value.constructor!==Object?inspectClass(value,options):inspectObject(value,options):value===Object(value)?inspectObject(value,options):options.stylize(String(value),type3)}function registerConstructor(constructor,inspector){return constructorMap.has(constructor)?!1:(constructorMap.set(constructor,inspector),!0)}function registerStringTag(stringTag,inspector){return stringTag in stringTagMap?!1:(stringTagMap[stringTag]=inspector,!0)}var custom=chaiInspect;exports2.custom=custom,exports2.default=inspect3,exports2.inspect=inspect3,exports2.registerConstructor=registerConstructor,exports2.registerStringTag=registerStringTag,Object.defineProperty(exports2,\"__esModule\",{value:!0});});}});var require_config=__commonJS({\"../../node_modules/chai/lib/chai/config.js\"(exports,module2){module2.exports={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:[\"then\",\"catch\",\"inspect\",\"toJSON\"],deepEqual:null};}});var require_inspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/inspect.js\"(exports,module2){require_get_func_name();var loupe2=require_loupe(),config3=require_config();module2.exports=inspect3;function inspect3(obj,showHidden,depth,colors){var options={colors,depth:typeof depth>\"u\"?2:depth,showHidden,truncate:config3.truncateThreshold?config3.truncateThreshold:1/0};return loupe2.inspect(obj,options)}}});var require_objDisplay=__commonJS({\"../../node_modules/chai/lib/chai/utils/objDisplay.js\"(exports,module2){var inspect3=require_inspect(),config3=require_config();module2.exports=function(obj){var str=inspect3(obj),type3=Object.prototype.toString.call(obj);if(config3.truncateThreshold&&str.length>=config3.truncateThreshold){if(type3===\"[object Function]\")return !obj.name||obj.name===\"\"?\"[Function]\":\"[Function: \"+obj.name+\"]\";if(type3===\"[object Array]\")return \"[ Array(\"+obj.length+\") ]\";if(type3===\"[object Object]\"){var keys2=Object.keys(obj),kstr=keys2.length>2?keys2.splice(0,2).join(\", \")+\", ...\":keys2.join(\", \");return \"{ Object (\"+kstr+\") }\"}else return str}else return str};}});var require_getMessage=__commonJS({\"../../node_modules/chai/lib/chai/utils/getMessage.js\"(exports,module2){var flag=require_flag(),getActual=require_getActual(),objDisplay2=require_objDisplay();module2.exports=function(obj,args){var negate=flag(obj,\"negate\"),val=flag(obj,\"object\"),expected=args[3],actual=getActual(obj,args),msg=negate?args[2]:args[1],flagMsg=flag(obj,\"message\");return typeof msg==\"function\"&&(msg=msg()),msg=msg||\"\",msg=msg.replace(/#\\{this\\}/g,function(){return objDisplay2(val)}).replace(/#\\{act\\}/g,function(){return objDisplay2(actual)}).replace(/#\\{exp\\}/g,function(){return objDisplay2(expected)}),flagMsg?flagMsg+\": \"+msg:msg};}});var require_transferFlags=__commonJS({\"../../node_modules/chai/lib/chai/utils/transferFlags.js\"(exports,module2){module2.exports=function(assertion,object,includeAll){var flags=assertion.__flags||(assertion.__flags=Object.create(null));object.__flags||(object.__flags=Object.create(null)),includeAll=arguments.length===3?includeAll:!0;for(var flag in flags)(includeAll||flag!==\"object\"&&flag!==\"ssfi\"&&flag!==\"lockSsfi\"&&flag!=\"message\")&&(object.__flags[flag]=flags[flag]);};}});var require_deep_eql=__commonJS({\"../../node_modules/deep-eql/index.js\"(exports,module2){var type3=require_type_detect();function FakeMap(){this._key=\"chai/deep-eql__\"+Math.random()+Date.now();}FakeMap.prototype={get:function(key){return key[this._key]},set:function(key,value){Object.isExtensible(key)&&Object.defineProperty(key,this._key,{value,configurable:!0});}};var MemoizeMap=typeof WeakMap==\"function\"?WeakMap:FakeMap;function memoizeCompare(leftHandOperand,rightHandOperand,memoizeMap){if(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))return null;var leftHandMap=memoizeMap.get(leftHandOperand);if(leftHandMap){var result=leftHandMap.get(rightHandOperand);if(typeof result==\"boolean\")return result}return null}function memoizeSet(leftHandOperand,rightHandOperand,memoizeMap,result){if(!(!memoizeMap||isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand))){var leftHandMap=memoizeMap.get(leftHandOperand);leftHandMap?leftHandMap.set(rightHandOperand,result):(leftHandMap=new MemoizeMap,leftHandMap.set(rightHandOperand,result),memoizeMap.set(leftHandOperand,leftHandMap));}}module2.exports=deepEqual;module2.exports.MemoizeMap=MemoizeMap;function deepEqual(leftHandOperand,rightHandOperand,options){if(options&&options.comparator)return extensiveDeepEqual(leftHandOperand,rightHandOperand,options);var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);return simpleResult!==null?simpleResult:extensiveDeepEqual(leftHandOperand,rightHandOperand,options)}function simpleEqual(leftHandOperand,rightHandOperand){return leftHandOperand===rightHandOperand?leftHandOperand!==0||1/leftHandOperand===1/rightHandOperand:leftHandOperand!==leftHandOperand&&rightHandOperand!==rightHandOperand?!0:isPrimitive2(leftHandOperand)||isPrimitive2(rightHandOperand)?!1:null}function extensiveDeepEqual(leftHandOperand,rightHandOperand,options){options=options||{},options.memoize=options.memoize===!1?!1:options.memoize||new MemoizeMap;var comparator=options&&options.comparator,memoizeResultLeft=memoizeCompare(leftHandOperand,rightHandOperand,options.memoize);if(memoizeResultLeft!==null)return memoizeResultLeft;var memoizeResultRight=memoizeCompare(rightHandOperand,leftHandOperand,options.memoize);if(memoizeResultRight!==null)return memoizeResultRight;if(comparator){var comparatorResult=comparator(leftHandOperand,rightHandOperand);if(comparatorResult===!1||comparatorResult===!0)return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,comparatorResult),comparatorResult;var simpleResult=simpleEqual(leftHandOperand,rightHandOperand);if(simpleResult!==null)return simpleResult}var leftHandType=type3(leftHandOperand);if(leftHandType!==type3(rightHandOperand))return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!1),!1;memoizeSet(leftHandOperand,rightHandOperand,options.memoize,!0);var result=extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options);return memoizeSet(leftHandOperand,rightHandOperand,options.memoize,result),result}function extensiveDeepEqualByType(leftHandOperand,rightHandOperand,leftHandType,options){switch(leftHandType){case\"String\":case\"Number\":case\"Boolean\":case\"Date\":return deepEqual(leftHandOperand.valueOf(),rightHandOperand.valueOf());case\"Promise\":case\"Symbol\":case\"function\":case\"WeakMap\":case\"WeakSet\":return leftHandOperand===rightHandOperand;case\"Error\":return keysEqual(leftHandOperand,rightHandOperand,[\"name\",\"message\",\"code\"],options);case\"Arguments\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"Array\":return iterableEqual(leftHandOperand,rightHandOperand,options);case\"RegExp\":return regexpEqual(leftHandOperand,rightHandOperand);case\"Generator\":return generatorEqual(leftHandOperand,rightHandOperand,options);case\"DataView\":return iterableEqual(new Uint8Array(leftHandOperand.buffer),new Uint8Array(rightHandOperand.buffer),options);case\"ArrayBuffer\":return iterableEqual(new Uint8Array(leftHandOperand),new Uint8Array(rightHandOperand),options);case\"Set\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Map\":return entriesEqual(leftHandOperand,rightHandOperand,options);case\"Temporal.PlainDate\":case\"Temporal.PlainTime\":case\"Temporal.PlainDateTime\":case\"Temporal.Instant\":case\"Temporal.ZonedDateTime\":case\"Temporal.PlainYearMonth\":case\"Temporal.PlainMonthDay\":return leftHandOperand.equals(rightHandOperand);case\"Temporal.Duration\":return leftHandOperand.total(\"nanoseconds\")===rightHandOperand.total(\"nanoseconds\");case\"Temporal.TimeZone\":case\"Temporal.Calendar\":return leftHandOperand.toString()===rightHandOperand.toString();default:return objectEqual(leftHandOperand,rightHandOperand,options)}}function regexpEqual(leftHandOperand,rightHandOperand){return leftHandOperand.toString()===rightHandOperand.toString()}function entriesEqual(leftHandOperand,rightHandOperand,options){if(leftHandOperand.size!==rightHandOperand.size)return !1;if(leftHandOperand.size===0)return !0;var leftHandItems=[],rightHandItems=[];return leftHandOperand.forEach(function(key,value){leftHandItems.push([key,value]);}),rightHandOperand.forEach(function(key,value){rightHandItems.push([key,value]);}),iterableEqual(leftHandItems.sort(),rightHandItems.sort(),options)}function iterableEqual(leftHandOperand,rightHandOperand,options){var length=leftHandOperand.length;if(length!==rightHandOperand.length)return !1;if(length===0)return !0;for(var index=-1;++index=cap)return cap;for(var memo=[],i=0;i<=strA.length;i++)memo[i]=Array(strB.length+1).fill(0),memo[i][0]=i;for(var j=0;j=cap){memo[i][j]=cap;continue}memo[i][j]=Math.min(memo[i-1][j]+1,memo[i][j-1]+1,memo[i-1][j-1]+(ch===strB.charCodeAt(j-1)?0:1));}return memo[strA.length][strB.length]}}});var require_addMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var methodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",methodWrapper);var result=method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(methodWrapper,name,!1),ctx[name]=proxify(methodWrapper,name);};}});var require_overwriteProperty=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteProperty.js\"(exports,module2){var chai2=require_chai(),flag=require_flag(),isProxyEnabled=require_isProxyEnabled(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,getter){var _get=Object.getOwnPropertyDescriptor(ctx,name),_super=function(){};_get&&typeof _get.get==\"function\"&&(_super=_get.get),Object.defineProperty(ctx,name,{get:function overwritingPropertyGetter(){!isProxyEnabled()&&!flag(this,\"lockSsfi\")&&flag(this,\"ssfi\",overwritingPropertyGetter);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=getter(_super).call(this);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion},configurable:!0});};}});var require_overwriteMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method){var _method=ctx[name],_super=function(){throw new Error(name+\" is not a function\")};_method&&typeof _method==\"function\"&&(_super=_method);var overwritingMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",overwritingMethodWrapper);var origLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0);var result=method(_super).apply(this,arguments);if(flag(this,\"lockSsfi\",origLockSsfi),result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};addLengthGuard(overwritingMethodWrapper,name,!1),ctx[name]=proxify(overwritingMethodWrapper,name);};}});var require_addChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/addChainableMethod.js\"(exports,module2){var addLengthGuard=require_addLengthGuard(),chai2=require_chai(),flag=require_flag(),proxify=require_proxify(),transferFlags=require_transferFlags();var canSetPrototype=typeof Object.setPrototypeOf==\"function\",testFn=function(){},excludeNames=Object.getOwnPropertyNames(testFn).filter(function(name){var propDesc=Object.getOwnPropertyDescriptor(testFn,name);return typeof propDesc!=\"object\"?!0:!propDesc.configurable}),call=Function.prototype.call,apply=Function.prototype.apply;module2.exports=function(ctx,name,method,chainingBehavior){typeof chainingBehavior!=\"function\"&&(chainingBehavior=function(){});var chainableBehavior={method,chainingBehavior};ctx.__methods||(ctx.__methods={}),ctx.__methods[name]=chainableBehavior,Object.defineProperty(ctx,name,{get:function(){chainableBehavior.chainingBehavior.call(this);var chainableMethodWrapper=function(){flag(this,\"lockSsfi\")||flag(this,\"ssfi\",chainableMethodWrapper);var result=chainableBehavior.method.apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};if(addLengthGuard(chainableMethodWrapper,name,!0),canSetPrototype){var prototype=Object.create(this);prototype.call=call,prototype.apply=apply,Object.setPrototypeOf(chainableMethodWrapper,prototype);}else {var asserterNames=Object.getOwnPropertyNames(ctx);asserterNames.forEach(function(asserterName){if(excludeNames.indexOf(asserterName)===-1){var pd=Object.getOwnPropertyDescriptor(ctx,asserterName);Object.defineProperty(chainableMethodWrapper,asserterName,pd);}});}return transferFlags(this,chainableMethodWrapper),proxify(chainableMethodWrapper)},configurable:!0});};}});var require_overwriteChainableMethod=__commonJS({\"../../node_modules/chai/lib/chai/utils/overwriteChainableMethod.js\"(exports,module2){var chai2=require_chai(),transferFlags=require_transferFlags();module2.exports=function(ctx,name,method,chainingBehavior){var chainableBehavior=ctx.__methods[name],_chainingBehavior=chainableBehavior.chainingBehavior;chainableBehavior.chainingBehavior=function(){var result=chainingBehavior(_chainingBehavior).call(this);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};var _method=chainableBehavior.method;chainableBehavior.method=function(){var result=method(_method).apply(this,arguments);if(result!==void 0)return result;var newAssertion=new chai2.Assertion;return transferFlags(this,newAssertion),newAssertion};};}});var require_compareByInspect=__commonJS({\"../../node_modules/chai/lib/chai/utils/compareByInspect.js\"(exports,module2){var inspect3=require_inspect();module2.exports=function(a,b2){return inspect3(a)1&&numErrs===props.length)throw firstErr;return}this.assert(included,\"expected #{this} to \"+descriptor+\"include \"+_.inspect(val),\"expected #{this} to not \"+descriptor+\"include \"+_.inspect(val));}Assertion2.addChainableMethod(\"include\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contain\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"contains\",include,includeChainingBehavior),Assertion2.addChainableMethod(\"includes\",include,includeChainingBehavior),Assertion2.addProperty(\"ok\",function(){this.assert(flag(this,\"object\"),\"expected #{this} to be truthy\",\"expected #{this} to be falsy\");}),Assertion2.addProperty(\"true\",function(){this.assert(flag(this,\"object\")===!0,\"expected #{this} to be true\",\"expected #{this} to be false\",!flag(this,\"negate\"));}),Assertion2.addProperty(\"false\",function(){this.assert(flag(this,\"object\")===!1,\"expected #{this} to be false\",\"expected #{this} to be true\",!!flag(this,\"negate\"));}),Assertion2.addProperty(\"null\",function(){this.assert(flag(this,\"object\")===null,\"expected #{this} to be null\",\"expected #{this} not to be null\");}),Assertion2.addProperty(\"undefined\",function(){this.assert(flag(this,\"object\")===void 0,\"expected #{this} to be undefined\",\"expected #{this} not to be undefined\");}),Assertion2.addProperty(\"NaN\",function(){this.assert(_.isNaN(flag(this,\"object\")),\"expected #{this} to be NaN\",\"expected #{this} not to be NaN\");});function assertExist(){var val=flag(this,\"object\");this.assert(val!=null,\"expected #{this} to exist\",\"expected #{this} to not exist\");}Assertion2.addProperty(\"exist\",assertExist),Assertion2.addProperty(\"exists\",assertExist),Assertion2.addProperty(\"empty\",function(){var val=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),itemsCount;switch(flagMsg=flagMsg?flagMsg+\": \":\"\",_.type(val).toLowerCase()){case\"array\":case\"string\":itemsCount=val.length;break;case\"map\":case\"set\":itemsCount=val.size;break;case\"weakmap\":case\"weakset\":throw new AssertionError2(flagMsg+\".empty was passed a weak collection\",void 0,ssfi);case\"function\":var msg=flagMsg+\".empty was passed a function \"+_.getName(val);throw new AssertionError2(msg.trim(),void 0,ssfi);default:if(val!==Object(val))throw new AssertionError2(flagMsg+\".empty was passed non-string primitive \"+_.inspect(val),void 0,ssfi);itemsCount=Object.keys(val).length;}this.assert(itemsCount===0,\"expected #{this} to be empty\",\"expected #{this} not to be empty\");});function checkArguments(){var obj=flag(this,\"object\"),type3=_.type(obj);this.assert(type3===\"Arguments\",\"expected #{this} to be arguments but got \"+type3,\"expected #{this} to not be arguments\");}Assertion2.addProperty(\"arguments\",checkArguments),Assertion2.addProperty(\"Arguments\",checkArguments);function assertEqual(val,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");if(flag(this,\"deep\")){var prevLockSsfi=flag(this,\"lockSsfi\");flag(this,\"lockSsfi\",!0),this.eql(val),flag(this,\"lockSsfi\",prevLockSsfi);}else this.assert(val===obj,\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{exp}\",val,this._obj,!0);}Assertion2.addMethod(\"equal\",assertEqual),Assertion2.addMethod(\"equals\",assertEqual),Assertion2.addMethod(\"eq\",assertEqual);function assertEql(obj,msg){msg&&flag(this,\"message\",msg);var eql=flag(this,\"eql\");this.assert(eql(obj,flag(this,\"object\")),\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",obj,this._obj,!0);}Assertion2.addMethod(\"eql\",assertEql),Assertion2.addMethod(\"eqls\",assertEql);function assertAbove(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to above must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to above must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>n,\"expected #{this} to have a \"+descriptor+\" above #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" above #{exp}\",n,itemsCount);}else this.assert(obj>n,\"expected #{this} to be above #{exp}\",\"expected #{this} to be at most #{exp}\",n);}Assertion2.addMethod(\"above\",assertAbove),Assertion2.addMethod(\"gt\",assertAbove),Assertion2.addMethod(\"greaterThan\",assertAbove);function assertLeast(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to least must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to least must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount>=n,\"expected #{this} to have a \"+descriptor+\" at least #{exp} but got #{act}\",\"expected #{this} to have a \"+descriptor+\" below #{exp}\",n,itemsCount);}else this.assert(obj>=n,\"expected #{this} to be at least #{exp}\",\"expected #{this} to be below #{exp}\",n);}Assertion2.addMethod(\"least\",assertLeast),Assertion2.addMethod(\"gte\",assertLeast),Assertion2.addMethod(\"greaterThanOrEqual\",assertLeast);function assertBelow(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),doLength=flag(this,\"doLength\"),flagMsg=flag(this,\"message\"),msgPrefix=flagMsg?flagMsg+\": \":\"\",ssfi=flag(this,\"ssfi\"),objType=_.type(obj).toLowerCase(),nType=_.type(n).toLowerCase(),errorMessage,shouldThrow=!0;if(doLength&&objType!==\"map\"&&objType!==\"set\"&&new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),!doLength&&objType===\"date\"&&nType!==\"date\")errorMessage=msgPrefix+\"the argument to below must be a date\";else if(nType!==\"number\"&&(doLength||objType===\"number\"))errorMessage=msgPrefix+\"the argument to below must be a number\";else if(!doLength&&objType!==\"date\"&&objType!==\"number\"){var printObj=objType===\"string\"?\"'\"+obj+\"'\":obj;errorMessage=msgPrefix+\"expected \"+printObj+\" to be a number or a date\";}else shouldThrow=!1;if(shouldThrow)throw new AssertionError2(errorMessage,void 0,ssfi);if(doLength){var descriptor=\"length\",itemsCount;objType===\"map\"||objType===\"set\"?(descriptor=\"size\",itemsCount=obj.size):itemsCount=obj.length,this.assert(itemsCount=start&&itemsCount<=finish,\"expected #{this} to have a \"+descriptor+\" within \"+range,\"expected #{this} to not have a \"+descriptor+\" within \"+range);}else this.assert(obj>=start&&obj<=finish,\"expected #{this} to be within \"+range,\"expected #{this} to not be within \"+range);});function assertInstanceOf(constructor,msg){msg&&flag(this,\"message\",msg);var target=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\");try{var isInstanceOf=target instanceof constructor;}catch(err){throw err instanceof TypeError?(flagMsg=flagMsg?flagMsg+\": \":\"\",new AssertionError2(flagMsg+\"The instanceof assertion needs a constructor but \"+_.type(constructor)+\" was given.\",void 0,ssfi)):err}var name=_.getName(constructor);name===null&&(name=\"an unnamed constructor\"),this.assert(isInstanceOf,\"expected #{this} to be an instance of \"+name,\"expected #{this} to not be an instance of \"+name);}Assertion2.addMethod(\"instanceof\",assertInstanceOf),Assertion2.addMethod(\"instanceOf\",assertInstanceOf);function assertProperty(name,val,msg){msg&&flag(this,\"message\",msg);var isNested=flag(this,\"nested\"),isOwn=flag(this,\"own\"),flagMsg=flag(this,\"message\"),obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),nameType=typeof name;if(flagMsg=flagMsg?flagMsg+\": \":\"\",isNested){if(nameType!==\"string\")throw new AssertionError2(flagMsg+\"the argument to property must be a string when using nested syntax\",void 0,ssfi)}else if(nameType!==\"string\"&&nameType!==\"number\"&&nameType!==\"symbol\")throw new AssertionError2(flagMsg+\"the argument to property must be a string, number, or symbol\",void 0,ssfi);if(isNested&&isOwn)throw new AssertionError2(flagMsg+'The \"nested\" and \"own\" flags cannot be combined.',void 0,ssfi);if(obj==null)throw new AssertionError2(flagMsg+\"Target cannot be null or undefined.\",void 0,ssfi);var isDeep=flag(this,\"deep\"),negate=flag(this,\"negate\"),pathInfo=isNested?_.getPathInfo(obj,name):null,value=isNested?pathInfo.value:obj[name],isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2,descriptor=\"\";isDeep&&(descriptor+=\"deep \"),isOwn&&(descriptor+=\"own \"),isNested&&(descriptor+=\"nested \"),descriptor+=\"property \";var hasProperty;isOwn?hasProperty=Object.prototype.hasOwnProperty.call(obj,name):isNested?hasProperty=pathInfo.exists:hasProperty=_.hasProperty(obj,name),(!negate||arguments.length===1)&&this.assert(hasProperty,\"expected #{this} to have \"+descriptor+_.inspect(name),\"expected #{this} to not have \"+descriptor+_.inspect(name)),arguments.length>1&&this.assert(hasProperty&&isEql(val,value),\"expected #{this} to have \"+descriptor+_.inspect(name)+\" of #{exp}, but got #{act}\",\"expected #{this} to not have \"+descriptor+_.inspect(name)+\" of #{act}\",val,value),flag(this,\"object\",value);}Assertion2.addMethod(\"property\",assertProperty);function assertOwnProperty(name,value,msg){flag(this,\"own\",!0),assertProperty.apply(this,arguments);}Assertion2.addMethod(\"ownProperty\",assertOwnProperty),Assertion2.addMethod(\"haveOwnProperty\",assertOwnProperty);function assertOwnPropertyDescriptor(name,descriptor,msg){typeof descriptor==\"string\"&&(msg=descriptor,descriptor=null),msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),actualDescriptor=Object.getOwnPropertyDescriptor(Object(obj),name),eql=flag(this,\"eql\");actualDescriptor&&descriptor?this.assert(eql(descriptor,actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to match \"+_.inspect(descriptor)+\", got \"+_.inspect(actualDescriptor),\"expected the own property descriptor for \"+_.inspect(name)+\" on #{this} to not match \"+_.inspect(descriptor),descriptor,actualDescriptor,!0):this.assert(actualDescriptor,\"expected #{this} to have an own property descriptor for \"+_.inspect(name),\"expected #{this} to not have an own property descriptor for \"+_.inspect(name)),flag(this,\"object\",actualDescriptor);}Assertion2.addMethod(\"ownPropertyDescriptor\",assertOwnPropertyDescriptor),Assertion2.addMethod(\"haveOwnPropertyDescriptor\",assertOwnPropertyDescriptor);function assertLengthChain(){flag(this,\"doLength\",!0);}function assertLength(n,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),objType=_.type(obj).toLowerCase(),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),descriptor=\"length\",itemsCount;switch(objType){case\"map\":case\"set\":descriptor=\"size\",itemsCount=obj.size;break;default:new Assertion2(obj,flagMsg,ssfi,!0).to.have.property(\"length\"),itemsCount=obj.length;}this.assert(itemsCount==n,\"expected #{this} to have a \"+descriptor+\" of #{exp} but got #{act}\",\"expected #{this} to not have a \"+descriptor+\" of #{act}\",n,itemsCount);}Assertion2.addChainableMethod(\"length\",assertLength,assertLengthChain),Assertion2.addChainableMethod(\"lengthOf\",assertLength,assertLengthChain);function assertMatch(re,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\");this.assert(re.exec(obj),\"expected #{this} to match \"+re,\"expected #{this} not to match \"+re);}Assertion2.addMethod(\"match\",assertMatch),Assertion2.addMethod(\"matches\",assertMatch),Assertion2.addMethod(\"string\",function(str,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"string\"),this.assert(~obj.indexOf(str),\"expected #{this} to contain \"+_.inspect(str),\"expected #{this} to not contain \"+_.inspect(str));});function assertKeys(keys2){var obj=flag(this,\"object\"),objType=_.type(obj),keysType=_.type(keys2),ssfi=flag(this,\"ssfi\"),isDeep=flag(this,\"deep\"),str,deepStr=\"\",actual,ok=!0,flagMsg=flag(this,\"message\");flagMsg=flagMsg?flagMsg+\": \":\"\";var mixedArgsMsg=flagMsg+\"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments\";if(objType===\"Map\"||objType===\"Set\")deepStr=isDeep?\"deeply \":\"\",actual=[],obj.forEach(function(val,key){actual.push(key);}),keysType!==\"Array\"&&(keys2=Array.prototype.slice.call(arguments));else {switch(actual=_.getOwnEnumerableProperties(obj),keysType){case\"Array\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);break;case\"Object\":if(arguments.length>1)throw new AssertionError2(mixedArgsMsg,void 0,ssfi);keys2=Object.keys(keys2);break;default:keys2=Array.prototype.slice.call(arguments);}keys2=keys2.map(function(val){return typeof val==\"symbol\"?val:String(val)});}if(!keys2.length)throw new AssertionError2(flagMsg+\"keys required\",void 0,ssfi);var len=keys2.length,any=flag(this,\"any\"),all=flag(this,\"all\"),expected=keys2,isEql=isDeep?flag(this,\"eql\"):(val1,val2)=>val1===val2;if(!any&&!all&&(all=!0),any&&(ok=expected.some(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})})),all&&(ok=expected.every(function(expectedKey){return actual.some(function(actualKey){return isEql(expectedKey,actualKey)})}),flag(this,\"contains\")||(ok=ok&&keys2.length==actual.length)),len>1){keys2=keys2.map(function(key){return _.inspect(key)});var last=keys2.pop();all&&(str=keys2.join(\", \")+\", and \"+last),any&&(str=keys2.join(\", \")+\", or \"+last);}else str=_.inspect(keys2[0]);str=(len>1?\"keys \":\"key \")+str,str=(flag(this,\"contains\")?\"contain \":\"have \")+str,this.assert(ok,\"expected #{this} to \"+deepStr+str,\"expected #{this} to not \"+deepStr+str,expected.slice(0).sort(_.compareByInspect),actual.sort(_.compareByInspect),!0);}Assertion2.addMethod(\"keys\",assertKeys),Assertion2.addMethod(\"key\",assertKeys);function assertThrows(errorLike,errMsgMatcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),ssfi=flag(this,\"ssfi\"),flagMsg=flag(this,\"message\"),negate=flag(this,\"negate\")||!1;new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"function\"),(errorLike instanceof RegExp||typeof errorLike==\"string\")&&(errMsgMatcher=errorLike,errorLike=null);var caughtErr;try{obj();}catch(err){caughtErr=err;}var everyArgIsUndefined=errorLike===void 0&&errMsgMatcher===void 0,everyArgIsDefined=!!(errorLike&&errMsgMatcher),errorLikeFail=!1,errMsgMatcherFail=!1;if(everyArgIsUndefined||!everyArgIsUndefined&&!negate){var errorLikeString=\"an error\";errorLike instanceof Error?errorLikeString=\"#{exp}\":errorLike&&(errorLikeString=_.checkError.getConstructorName(errorLike)),this.assert(caughtErr,\"expected #{this} to throw \"+errorLikeString,\"expected #{this} to not throw an error but #{act} was thrown\",errorLike&&errorLike.toString(),caughtErr instanceof Error?caughtErr.toString():typeof caughtErr==\"string\"?caughtErr:caughtErr&&_.checkError.getConstructorName(caughtErr));}if(errorLike&&caughtErr){if(errorLike instanceof Error){var isCompatibleInstance=_.checkError.compatibleInstance(caughtErr,errorLike);isCompatibleInstance===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr&&!negate?\" but #{act} was thrown\":\"\"),errorLike.toString(),caughtErr.toString()));}var isCompatibleConstructor=_.checkError.compatibleConstructor(caughtErr,errorLike);isCompatibleConstructor===negate&&(everyArgIsDefined&&negate?errorLikeFail=!0:this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)));}if(caughtErr&&errMsgMatcher!==void 0&&errMsgMatcher!==null){var placeholder=\"including\";errMsgMatcher instanceof RegExp&&(placeholder=\"matching\");var isCompatibleMessage=_.checkError.compatibleMessage(caughtErr,errMsgMatcher);isCompatibleMessage===negate&&(everyArgIsDefined&&negate?errMsgMatcherFail=!0:this.assert(negate,\"expected #{this} to throw error \"+placeholder+\" #{exp} but got #{act}\",\"expected #{this} to throw error not \"+placeholder+\" #{exp}\",errMsgMatcher,_.checkError.getMessage(caughtErr)));}errorLikeFail&&errMsgMatcherFail&&this.assert(negate,\"expected #{this} to throw #{exp} but #{act} was thrown\",\"expected #{this} to not throw #{exp}\"+(caughtErr?\" but #{act} was thrown\":\"\"),errorLike instanceof Error?errorLike.toString():errorLike&&_.checkError.getConstructorName(errorLike),caughtErr instanceof Error?caughtErr.toString():caughtErr&&_.checkError.getConstructorName(caughtErr)),flag(this,\"object\",caughtErr);}Assertion2.addMethod(\"throw\",assertThrows),Assertion2.addMethod(\"throws\",assertThrows),Assertion2.addMethod(\"Throw\",assertThrows);function respondTo(method,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),itself=flag(this,\"itself\"),context=typeof obj==\"function\"&&!itself?obj.prototype[method]:obj[method];this.assert(typeof context==\"function\",\"expected #{this} to respond to \"+_.inspect(method),\"expected #{this} to not respond to \"+_.inspect(method));}Assertion2.addMethod(\"respondTo\",respondTo),Assertion2.addMethod(\"respondsTo\",respondTo),Assertion2.addProperty(\"itself\",function(){flag(this,\"itself\",!0);});function satisfy(matcher,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),result=matcher(obj);this.assert(result,\"expected #{this} to satisfy \"+_.objDisplay(matcher),\"expected #{this} to not satisfy\"+_.objDisplay(matcher),!flag(this,\"negate\"),result);}Assertion2.addMethod(\"satisfy\",satisfy),Assertion2.addMethod(\"satisfies\",satisfy);function closeTo(expected,delta,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");if(new Assertion2(obj,flagMsg,ssfi,!0).is.a(\"number\"),typeof expected!=\"number\"||typeof delta!=\"number\"){flagMsg=flagMsg?flagMsg+\": \":\"\";var deltaMessage=delta===void 0?\", and a delta is required\":\"\";throw new AssertionError2(flagMsg+\"the arguments to closeTo or approximately must be numbers\"+deltaMessage,void 0,ssfi)}this.assert(Math.abs(obj-expected)<=delta,\"expected #{this} to be close to \"+expected+\" +/- \"+delta,\"expected #{this} not to be close to \"+expected+\" +/- \"+delta);}Assertion2.addMethod(\"closeTo\",closeTo),Assertion2.addMethod(\"approximately\",closeTo);function isSubsetOf(subset,superset,cmp,contains,ordered){if(!contains){if(subset.length!==superset.length)return !1;superset=superset.slice();}return subset.every(function(elem,idx){if(ordered)return cmp?cmp(elem,superset[idx]):elem===superset[idx];if(!cmp){var matchIdx=superset.indexOf(elem);return matchIdx===-1?!1:(contains||superset.splice(matchIdx,1),!0)}return superset.some(function(elem2,matchIdx2){return cmp(elem,elem2)?(contains||superset.splice(matchIdx2,1),!0):!1})})}Assertion2.addMethod(\"members\",function(subset,msg){msg&&flag(this,\"message\",msg);var obj=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(obj,flagMsg,ssfi,!0).to.be.an(\"array\"),new Assertion2(subset,flagMsg,ssfi,!0).to.be.an(\"array\");var contains=flag(this,\"contains\"),ordered=flag(this,\"ordered\"),subject,failMsg,failNegateMsg;contains?(subject=ordered?\"an ordered superset\":\"a superset\",failMsg=\"expected #{this} to be \"+subject+\" of #{exp}\",failNegateMsg=\"expected #{this} to not be \"+subject+\" of #{exp}\"):(subject=ordered?\"ordered members\":\"members\",failMsg=\"expected #{this} to have the same \"+subject+\" as #{exp}\",failNegateMsg=\"expected #{this} to not have the same \"+subject+\" as #{exp}\");var cmp=flag(this,\"deep\")?flag(this,\"eql\"):void 0;this.assert(isSubsetOf(subset,obj,cmp,contains,ordered),failMsg,failNegateMsg,subset,obj,!0);});function oneOf(list,msg){msg&&flag(this,\"message\",msg);var expected=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\"),contains=flag(this,\"contains\"),isDeep=flag(this,\"deep\"),eql=flag(this,\"eql\");new Assertion2(list,flagMsg,ssfi,!0).to.be.an(\"array\"),contains?this.assert(list.some(function(possibility){return expected.indexOf(possibility)>-1}),\"expected #{this} to contain one of #{exp}\",\"expected #{this} to not contain one of #{exp}\",list,expected):isDeep?this.assert(list.some(function(possibility){return eql(expected,possibility)}),\"expected #{this} to deeply equal one of #{exp}\",\"expected #{this} to deeply equal one of #{exp}\",list,expected):this.assert(list.indexOf(expected)>-1,\"expected #{this} to be one of #{exp}\",\"expected #{this} to not be one of #{exp}\",list,expected);}Assertion2.addMethod(\"oneOf\",oneOf);function assertChanges(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"change\"),flag(this,\"realDelta\",final!==initial),this.assert(initial!==final,\"expected \"+msgObj+\" to change\",\"expected \"+msgObj+\" to not change\");}Assertion2.addMethod(\"change\",assertChanges),Assertion2.addMethod(\"changes\",assertChanges);function assertIncreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"increase\"),flag(this,\"realDelta\",final-initial),this.assert(final-initial>0,\"expected \"+msgObj+\" to increase\",\"expected \"+msgObj+\" to not increase\");}Assertion2.addMethod(\"increase\",assertIncreases),Assertion2.addMethod(\"increases\",assertIncreases);function assertDecreases(subject,prop,msg){msg&&flag(this,\"message\",msg);var fn2=flag(this,\"object\"),flagMsg=flag(this,\"message\"),ssfi=flag(this,\"ssfi\");new Assertion2(fn2,flagMsg,ssfi,!0).is.a(\"function\");var initial;prop?(new Assertion2(subject,flagMsg,ssfi,!0).to.have.property(prop),initial=subject[prop]):(new Assertion2(subject,flagMsg,ssfi,!0).is.a(\"function\"),initial=subject()),new Assertion2(initial,flagMsg,ssfi,!0).is.a(\"number\"),fn2();var final=prop==null?subject():subject[prop],msgObj=prop==null?initial:\".\"+prop;flag(this,\"deltaMsgObj\",msgObj),flag(this,\"initialDeltaValue\",initial),flag(this,\"finalDeltaValue\",final),flag(this,\"deltaBehavior\",\"decrease\"),flag(this,\"realDelta\",initial-final),this.assert(final-initial<0,\"expected \"+msgObj+\" to decrease\",\"expected \"+msgObj+\" to not decrease\");}Assertion2.addMethod(\"decrease\",assertDecreases),Assertion2.addMethod(\"decreases\",assertDecreases);function assertDelta(delta,msg){msg&&flag(this,\"message\",msg);var msgObj=flag(this,\"deltaMsgObj\"),initial=flag(this,\"initialDeltaValue\"),final=flag(this,\"finalDeltaValue\"),behavior2=flag(this,\"deltaBehavior\"),realDelta=flag(this,\"realDelta\"),expression;behavior2===\"change\"?expression=Math.abs(final-initial)===Math.abs(delta):expression=realDelta===Math.abs(delta),this.assert(expression,\"expected \"+msgObj+\" to \"+behavior2+\" by \"+delta,\"expected \"+msgObj+\" to not \"+behavior2+\" by \"+delta);}Assertion2.addMethod(\"by\",assertDelta),Assertion2.addProperty(\"extensible\",function(){var obj=flag(this,\"object\"),isExtensible=obj===Object(obj)&&Object.isExtensible(obj);this.assert(isExtensible,\"expected #{this} to be extensible\",\"expected #{this} to not be extensible\");}),Assertion2.addProperty(\"sealed\",function(){var obj=flag(this,\"object\"),isSealed=obj===Object(obj)?Object.isSealed(obj):!0;this.assert(isSealed,\"expected #{this} to be sealed\",\"expected #{this} to not be sealed\");}),Assertion2.addProperty(\"frozen\",function(){var obj=flag(this,\"object\"),isFrozen=obj===Object(obj)?Object.isFrozen(obj):!0;this.assert(isFrozen,\"expected #{this} to be frozen\",\"expected #{this} to not be frozen\");}),Assertion2.addProperty(\"finite\",function(msg){var obj=flag(this,\"object\");this.assert(typeof obj==\"number\"&&isFinite(obj),\"expected #{this} to be a finite number\",\"expected #{this} to not be a finite number\");});};}});var require_expect=__commonJS({\"../../node_modules/chai/lib/chai/interface/expect.js\"(exports,module2){module2.exports=function(chai2,util2){chai2.expect=function(val,message){return new chai2.Assertion(val,message)},chai2.expect.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"expect.fail()\",new chai2.AssertionError(message,{actual,expected,operator},chai2.expect.fail)};};}});var require_should=__commonJS({\"../../node_modules/chai/lib/chai/interface/should.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion;function loadShould(){function shouldGetter(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol==\"function\"&&this instanceof Symbol||typeof BigInt==\"function\"&&this instanceof BigInt?new Assertion2(this.valueOf(),null,shouldGetter):new Assertion2(this,null,shouldGetter)}function shouldSetter(value){Object.defineProperty(this,\"should\",{value,enumerable:!0,configurable:!0,writable:!0});}Object.defineProperty(Object.prototype,\"should\",{set:shouldSetter,get:shouldGetter,configurable:!0});var should2={};return should2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"should.fail()\",new chai2.AssertionError(message,{actual,expected,operator},should2.fail)},should2.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.equal(val2);},should2.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.Throw(errt,errs);},should2.exist=function(val,msg){new Assertion2(val,msg).to.exist;},should2.not={},should2.not.equal=function(val1,val2,msg){new Assertion2(val1,msg).to.not.equal(val2);},should2.not.Throw=function(fn2,errt,errs,msg){new Assertion2(fn2,msg).to.not.Throw(errt,errs);},should2.not.exist=function(val,msg){new Assertion2(val,msg).to.not.exist;},should2.throw=should2.Throw,should2.not.throw=should2.not.Throw,should2}chai2.should=loadShould,chai2.Should=loadShould;};}});var require_assert=__commonJS({\"../../node_modules/chai/lib/chai/interface/assert.js\"(exports,module2){module2.exports=function(chai2,util2){var Assertion2=chai2.Assertion,flag=util2.flag;var assert2=chai2.assert=function(express,errmsg){var test=new Assertion2(null,null,chai2.assert,!0);test.assert(express,errmsg,\"[ negation message unavailable ]\");};assert2.fail=function(actual,expected,message,operator){throw arguments.length<2&&(message=actual,actual=void 0),message=message||\"assert.fail()\",new chai2.AssertionError(message,{actual,expected,operator},assert2.fail)},assert2.isOk=function(val,msg){new Assertion2(val,msg,assert2.isOk,!0).is.ok;},assert2.isNotOk=function(val,msg){new Assertion2(val,msg,assert2.isNotOk,!0).is.not.ok;},assert2.equal=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.equal,!0);test.assert(exp==flag(test,\"object\"),\"expected #{this} to equal #{exp}\",\"expected #{this} to not equal #{act}\",exp,act,!0);},assert2.notEqual=function(act,exp,msg){var test=new Assertion2(act,msg,assert2.notEqual,!0);test.assert(exp!=flag(test,\"object\"),\"expected #{this} to not equal #{exp}\",\"expected #{this} to equal #{act}\",exp,act,!0);},assert2.strictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.strictEqual,!0).to.equal(exp);},assert2.notStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notStrictEqual,!0).to.not.equal(exp);},assert2.deepEqual=assert2.deepStrictEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.deepEqual,!0).to.eql(exp);},assert2.notDeepEqual=function(act,exp,msg){new Assertion2(act,msg,assert2.notDeepEqual,!0).to.not.eql(exp);},assert2.isAbove=function(val,abv,msg){new Assertion2(val,msg,assert2.isAbove,!0).to.be.above(abv);},assert2.isAtLeast=function(val,atlst,msg){new Assertion2(val,msg,assert2.isAtLeast,!0).to.be.least(atlst);},assert2.isBelow=function(val,blw,msg){new Assertion2(val,msg,assert2.isBelow,!0).to.be.below(blw);},assert2.isAtMost=function(val,atmst,msg){new Assertion2(val,msg,assert2.isAtMost,!0).to.be.most(atmst);},assert2.isTrue=function(val,msg){new Assertion2(val,msg,assert2.isTrue,!0).is.true;},assert2.isNotTrue=function(val,msg){new Assertion2(val,msg,assert2.isNotTrue,!0).to.not.equal(!0);},assert2.isFalse=function(val,msg){new Assertion2(val,msg,assert2.isFalse,!0).is.false;},assert2.isNotFalse=function(val,msg){new Assertion2(val,msg,assert2.isNotFalse,!0).to.not.equal(!1);},assert2.isNull=function(val,msg){new Assertion2(val,msg,assert2.isNull,!0).to.equal(null);},assert2.isNotNull=function(val,msg){new Assertion2(val,msg,assert2.isNotNull,!0).to.not.equal(null);},assert2.isNaN=function(val,msg){new Assertion2(val,msg,assert2.isNaN,!0).to.be.NaN;},assert2.isNotNaN=function(val,msg){new Assertion2(val,msg,assert2.isNotNaN,!0).not.to.be.NaN;},assert2.exists=function(val,msg){new Assertion2(val,msg,assert2.exists,!0).to.exist;},assert2.notExists=function(val,msg){new Assertion2(val,msg,assert2.notExists,!0).to.not.exist;},assert2.isUndefined=function(val,msg){new Assertion2(val,msg,assert2.isUndefined,!0).to.equal(void 0);},assert2.isDefined=function(val,msg){new Assertion2(val,msg,assert2.isDefined,!0).to.not.equal(void 0);},assert2.isFunction=function(val,msg){new Assertion2(val,msg,assert2.isFunction,!0).to.be.a(\"function\");},assert2.isNotFunction=function(val,msg){new Assertion2(val,msg,assert2.isNotFunction,!0).to.not.be.a(\"function\");},assert2.isObject=function(val,msg){new Assertion2(val,msg,assert2.isObject,!0).to.be.a(\"object\");},assert2.isNotObject=function(val,msg){new Assertion2(val,msg,assert2.isNotObject,!0).to.not.be.a(\"object\");},assert2.isArray=function(val,msg){new Assertion2(val,msg,assert2.isArray,!0).to.be.an(\"array\");},assert2.isNotArray=function(val,msg){new Assertion2(val,msg,assert2.isNotArray,!0).to.not.be.an(\"array\");},assert2.isString=function(val,msg){new Assertion2(val,msg,assert2.isString,!0).to.be.a(\"string\");},assert2.isNotString=function(val,msg){new Assertion2(val,msg,assert2.isNotString,!0).to.not.be.a(\"string\");},assert2.isNumber=function(val,msg){new Assertion2(val,msg,assert2.isNumber,!0).to.be.a(\"number\");},assert2.isNotNumber=function(val,msg){new Assertion2(val,msg,assert2.isNotNumber,!0).to.not.be.a(\"number\");},assert2.isFinite=function(val,msg){new Assertion2(val,msg,assert2.isFinite,!0).to.be.finite;},assert2.isBoolean=function(val,msg){new Assertion2(val,msg,assert2.isBoolean,!0).to.be.a(\"boolean\");},assert2.isNotBoolean=function(val,msg){new Assertion2(val,msg,assert2.isNotBoolean,!0).to.not.be.a(\"boolean\");},assert2.typeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.typeOf,!0).to.be.a(type3);},assert2.notTypeOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notTypeOf,!0).to.not.be.a(type3);},assert2.instanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.instanceOf,!0).to.be.instanceOf(type3);},assert2.notInstanceOf=function(val,type3,msg){new Assertion2(val,msg,assert2.notInstanceOf,!0).to.not.be.instanceOf(type3);},assert2.include=function(exp,inc,msg){new Assertion2(exp,msg,assert2.include,!0).include(inc);},assert2.notInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notInclude,!0).not.include(inc);},assert2.deepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepInclude,!0).deep.include(inc);},assert2.notDeepInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepInclude,!0).not.deep.include(inc);},assert2.nestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.nestedInclude,!0).nested.include(inc);},assert2.notNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notNestedInclude,!0).not.nested.include(inc);},assert2.deepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepNestedInclude,!0).deep.nested.include(inc);},assert2.notDeepNestedInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepNestedInclude,!0).not.deep.nested.include(inc);},assert2.ownInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.ownInclude,!0).own.include(inc);},assert2.notOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notOwnInclude,!0).not.own.include(inc);},assert2.deepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.deepOwnInclude,!0).deep.own.include(inc);},assert2.notDeepOwnInclude=function(exp,inc,msg){new Assertion2(exp,msg,assert2.notDeepOwnInclude,!0).not.deep.own.include(inc);},assert2.match=function(exp,re,msg){new Assertion2(exp,msg,assert2.match,!0).to.match(re);},assert2.notMatch=function(exp,re,msg){new Assertion2(exp,msg,assert2.notMatch,!0).to.not.match(re);},assert2.property=function(obj,prop,msg){new Assertion2(obj,msg,assert2.property,!0).to.have.property(prop);},assert2.notProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notProperty,!0).to.not.have.property(prop);},assert2.propertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.propertyVal,!0).to.have.property(prop,val);},assert2.notPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notPropertyVal,!0).to.not.have.property(prop,val);},assert2.deepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepPropertyVal,!0).to.have.deep.property(prop,val);},assert2.notDeepPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepPropertyVal,!0).to.not.have.deep.property(prop,val);},assert2.ownProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.ownProperty,!0).to.have.own.property(prop);},assert2.notOwnProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notOwnProperty,!0).to.not.have.own.property(prop);},assert2.ownPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.ownPropertyVal,!0).to.have.own.property(prop,value);},assert2.notOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notOwnPropertyVal,!0).to.not.have.own.property(prop,value);},assert2.deepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.deepOwnPropertyVal,!0).to.have.deep.own.property(prop,value);},assert2.notDeepOwnPropertyVal=function(obj,prop,value,msg){new Assertion2(obj,msg,assert2.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(prop,value);},assert2.nestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.nestedProperty,!0).to.have.nested.property(prop);},assert2.notNestedProperty=function(obj,prop,msg){new Assertion2(obj,msg,assert2.notNestedProperty,!0).to.not.have.nested.property(prop);},assert2.nestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.nestedPropertyVal,!0).to.have.nested.property(prop,val);},assert2.notNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notNestedPropertyVal,!0).to.not.have.nested.property(prop,val);},assert2.deepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.deepNestedPropertyVal,!0).to.have.deep.nested.property(prop,val);},assert2.notDeepNestedPropertyVal=function(obj,prop,val,msg){new Assertion2(obj,msg,assert2.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(prop,val);},assert2.lengthOf=function(exp,len,msg){new Assertion2(exp,msg,assert2.lengthOf,!0).to.have.lengthOf(len);},assert2.hasAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyKeys,!0).to.have.any.keys(keys2);},assert2.hasAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllKeys,!0).to.have.all.keys(keys2);},assert2.containsAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllKeys,!0).to.contain.all.keys(keys2);},assert2.doesNotHaveAnyKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyKeys,!0).to.not.have.any.keys(keys2);},assert2.doesNotHaveAllKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllKeys,!0).to.not.have.all.keys(keys2);},assert2.hasAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAnyDeepKeys,!0).to.have.any.deep.keys(keys2);},assert2.hasAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.hasAllDeepKeys,!0).to.have.all.deep.keys(keys2);},assert2.containsAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.containsAllDeepKeys,!0).to.contain.all.deep.keys(keys2);},assert2.doesNotHaveAnyDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(keys2);},assert2.doesNotHaveAllDeepKeys=function(obj,keys2,msg){new Assertion2(obj,msg,assert2.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(keys2);},assert2.throws=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null);var assertErr=new Assertion2(fn2,msg,assert2.throws,!0).to.throw(errorLike,errMsgMatcher);return flag(assertErr,\"object\")},assert2.doesNotThrow=function(fn2,errorLike,errMsgMatcher,msg){(typeof errorLike==\"string\"||errorLike instanceof RegExp)&&(errMsgMatcher=errorLike,errorLike=null),new Assertion2(fn2,msg,assert2.doesNotThrow,!0).to.not.throw(errorLike,errMsgMatcher);},assert2.operator=function(val,operator,val2,msg){var ok;switch(operator){case\"==\":ok=val==val2;break;case\"===\":ok=val===val2;break;case\">\":ok=val>val2;break;case\">=\":ok=val>=val2;break;case\"<\":ok=valcode=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections=__commonJS({\"../../node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let rawKeys=Object.keys(object),keys2=compareKeys!==null?rawKeys.sort(compareKeys):rawKeys;return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",width=0,current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){if(result+=indentationNext,width++===config3.maxWidth){result+=\"\\u2026\";break}result+=printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=`,${config3.spacingInner}`;}result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();if(stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}[${(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)}]`;if(stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\")return ++depth>config3.maxDepth?`[${stringedValue}]`:`${stringedValue+SPACE}{${(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)}}`;if(stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\")return stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs);if(typeof val.toAsymmetricMatcher!=\"function\")throw new Error(`Asymmetric matcher ${val.constructor.name} does not implement toAsymmetricMatcher()`);return val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?`[${name}]`:(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?`{${(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)}}`:`[${(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)}]`)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup=__commonJS({\"../../node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=`{${printed}}`),`${config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close}=${colors.value.open}${printed}${colors.value.close}`}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return `${commentColor.open}${commentColor.close}`};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open}${printedChildren?`>${tagColor.close}${printedChildren}${config3.spacingOuter}${indentation}${tagColor.open}${tagColor.close}`};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return `${tagColor.open}<${type3}${tagColor.close} \\u2026${tagColor.open} />${tagColor.close}`};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>val?.constructor?.name&&testNode2(val);exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes,attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable=__commonJS({\"../../node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>`Immutable.${name}`,printAsLeaf=name=>`[${name}]`,SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}{${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)}}`;function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):`${name+SPACE}{${(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)}}`},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?`${name+SPACE}{${val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY}}`:`${name+SPACE}[${val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY}]`},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):`${getImmutableName(type3)+SPACE}[${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}]`,serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=Symbol.for(\"react.element\"),REACT_PORTAL_TYPE=Symbol.for(\"react.portal\"),REACT_FRAGMENT_TYPE=Symbol.for(\"react.fragment\"),REACT_STRICT_MODE_TYPE=Symbol.for(\"react.strict_mode\"),REACT_PROFILER_TYPE=Symbol.for(\"react.profiler\"),REACT_PROVIDER_TYPE=Symbol.for(\"react.provider\"),REACT_CONTEXT_TYPE=Symbol.for(\"react.context\"),REACT_SERVER_CONTEXT_TYPE=Symbol.for(\"react.server_context\"),REACT_FORWARD_REF_TYPE=Symbol.for(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=Symbol.for(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=Symbol.for(\"react.suspense_list\"),REACT_MEMO_TYPE=Symbol.for(\"react.memo\"),REACT_LAZY_TYPE=Symbol.for(\"react.lazy\"),REACT_OFFSCREEN_TYPE=Symbol.for(\"react.offscreen\"),enableScopeAPI=!1,enableCacheElement=!1,enableTransitionTracing=!1,enableLegacyHidden=!1,enableDebugTracing=!1,REACT_MODULE_REFERENCE;REACT_MODULE_REFERENCE=Symbol.for(\"react.module.reference\");function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||enableDebugTracing||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||enableLegacyHidden||type3===REACT_OFFSCREEN_TYPE||enableScopeAPI||enableCacheElement||enableTransitionTracing||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_MODULE_REFERENCE||type3.getModuleId!==void 0))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_SERVER_CONTEXT_TYPE:case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,SuspenseList=REACT_SUSPENSE_LIST_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}function isSuspenseList(object){return typeOf(object)===REACT_SUSPENSE_LIST_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.SuspenseList=SuspenseList,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isSuspenseList=isSuspenseList,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is=__commonJS({\"../../node_modules/pretty-format/node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development();}});var require_ReactElement=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is()),_markup=require_markup();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?`ForwardRef(${functionName})`:\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?`Memo(${functionName})`:\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent=__commonJS({\"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup(),Symbol2=globalThis[\"jest-symbol-do-not-touch\"]||globalThis.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build=__commonJS({\"../../node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles()),_collections=require_collections(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher()),_DOMCollection=_interopRequireDefault(require_DOMCollection()),_DOMElement=_interopRequireDefault(require_DOMElement()),_Immutable=_interopRequireDefault(require_Immutable()),_ReactElement=_interopRequireDefault(require_ReactElement()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?`[Function ${val.name||\"anonymous\"}]`:\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return `[${errorToString.call(val)}]`}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return `${val}`;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?`\"${val.replace(/\"|\\\\/g,\"\\\\$&\")}\"`:`\"${val}\"`;if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":`${min?\"\":\"Arguments \"}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:isToStringedArrayType(toStringed)?hitMaxDepth?`[${val.constructor.name}]`:`${min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":`${val.constructor.name} `}[${(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)}]`:toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":`Map {${(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")}}`:toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":`Set {${(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)}}`:hitMaxDepth||isWindow(val)?`[${getConstructorName(val)}]`:`${min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":`${getConstructorName(val)} `}{${(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)}}`}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n${indentationNext}`)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2options,DEFAULT_OPTIONS=toOptionsSubtype({callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,maxWidth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:DEFAULT_THEME});exports.DEFAULT_OPTIONS=DEFAULT_OPTIONS;function validateOptions(options){if(Object.keys(options).forEach(key=>{if(!Object.prototype.hasOwnProperty.call(DEFAULT_OPTIONS,key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options?.printFunctionName??DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options?.escapeRegex??DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options?.escapeString??DEFAULT_OPTIONS.escapeString,getConfig3=options=>({callToJSON:options?.callToJSON??DEFAULT_OPTIONS.callToJSON,colors:options?.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:typeof options?.compareKeys==\"function\"||options?.compareKeys===null?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options?.min?\"\":createIndent(options?.indent??DEFAULT_OPTIONS.indent),maxDepth:options?.maxDepth??DEFAULT_OPTIONS.maxDepth,maxWidth:options?.maxWidth??DEFAULT_OPTIONS.maxWidth,min:options?.min??DEFAULT_OPTIONS.min,plugins:options?.plugins??DEFAULT_OPTIONS.plugins,printBasicPrototype:options?.printBasicPrototype??!0,printFunctionName:getPrintFunctionName(options),spacingInner:options?.min?\" \":`\n`,spacingOuter:options?.min?\"\":`\n`});function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_build2=__commonJS({\"../../node_modules/diff-sequences/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=diffSequence;var pkg=\"diff-sequences\",NOT_YET_SET=0,countCommonItemsF=(aIndex,aEnd,bIndex,bEnd,isCommon)=>{let nCommon=0;for(;aIndex{let nCommon=0;for(;aStart<=aIndex&&bStart<=bIndex&&isCommon(aIndex,bIndex);)aIndex-=1,bIndex-=1,nCommon+=1;return nCommon},extendPathsF=(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF)=>{let iF=0,kF=-d2,aFirst=aIndexesF[iF],aIndexPrev1=aFirst;aIndexesF[iF]+=countCommonItemsF(aFirst+1,aEnd,bF+aFirst-kF+1,bEnd,isCommon);let nF=d2{let iR=0,kR=d2,aFirst=aIndexesR[iR],aIndexPrev1=aFirst;aIndexesR[iR]-=countCommonItemsR(aStart,aFirst-1,bStart,bR+aFirst-kR-1,isCommon);let nR=d2{let bF=bStart-aStart,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapF=-baDeltaLength-(d2-1),kMaxOverlapF=-baDeltaLength+(d2-1),aIndexPrev1=NOT_YET_SET,nF=d2{let bR=bEnd-aEnd,aLength=aEnd-aStart,baDeltaLength=bEnd-bStart-aLength,kMinOverlapR=baDeltaLength-d2,kMaxOverlapR=baDeltaLength+d2,aIndexPrev1=NOT_YET_SET,nR=d2{let bF=bStart-aStart,bR=bEnd-aEnd,aLength=aEnd-aStart,bLength=bEnd-bStart,baDeltaLength=bLength-aLength,iMaxF=aLength,iMaxR=aLength;if(aIndexesF[0]=aStart-1,aIndexesR[0]=aEnd,baDeltaLength%2===0){let dMin=(nChange||baDeltaLength)/2,dMax=(aLength+bLength)/2;for(let d2=1;d2<=dMax;d2+=1)if(iMaxF=extendPathsF(d2,aEnd,bEnd,bF,isCommon,aIndexesF,iMaxF),d2{if(bEnd-bStart{foundSubsequence2(nCommon,aCommon,bCommon);},isCommon:(bIndex,aIndex)=>isCommon2(aIndex,bIndex)};}let tStart=aStart,tEnd=aEnd;aStart=bStart,aEnd=bEnd,bStart=tStart,bEnd=tEnd;}let{foundSubsequence,isCommon}=callbacks[transposed?1:0];divide(nChange,aStart,aEnd,bStart,bEnd,isCommon,aIndexesF,aIndexesR,division);let{nChangePreceding,aEndPreceding,bEndPreceding,nCommonPreceding,aCommonPreceding,bCommonPreceding,nCommonFollowing,aCommonFollowing,bCommonFollowing,nChangeFollowing,aStartFollowing,bStartFollowing}=division;aStart{if(typeof arg!=\"number\")throw new TypeError(`${pkg}: ${name} typeof ${typeof arg} is not a number`);if(!Number.isSafeInteger(arg))throw new RangeError(`${pkg}: ${name} value ${arg} is not a safe integer`);if(arg<0)throw new RangeError(`${pkg}: ${name} value ${arg} is a negative integer`)},validateCallback=(name,arg)=>{let type3=typeof arg;if(type3!==\"function\")throw new TypeError(`${pkg}: ${name} typeof ${type3} is not a function`)};function diffSequence(aLength,bLength,isCommon,foundSubsequence){validateLength(\"aLength\",aLength),validateLength(\"bLength\",bLength),validateCallback(\"isCommon\",isCommon),validateCallback(\"foundSubsequence\",foundSubsequence);let nCommonF=countCommonItemsF(0,aLength,0,bLength,isCommon);if(nCommonF!==0&&foundSubsequence(nCommonF,0,0),aLength!==nCommonF||bLength!==nCommonF){let aStart=nCommonF,bStart=nCommonF,nCommonR=countCommonItemsR(aStart,aLength-1,bStart,bLength-1,isCommon),aEnd=aLength-nCommonR,bEnd=bLength-nCommonR,nCommonFR=nCommonF+nCommonR;aLength!==nCommonFR&&bLength!==nCommonFR&&findSubsequences(0,aStart,aEnd,bStart,bEnd,!1,[{foundSubsequence,isCommon}],[NOT_YET_SET],[NOT_YET_SET],{aCommonFollowing:NOT_YET_SET,aCommonPreceding:NOT_YET_SET,aEndPreceding:NOT_YET_SET,aStartFollowing:NOT_YET_SET,bCommonFollowing:NOT_YET_SET,bCommonPreceding:NOT_YET_SET,bEndPreceding:NOT_YET_SET,bStartFollowing:NOT_YET_SET,nChangeFollowing:NOT_YET_SET,nChangePreceding:NOT_YET_SET,nCommonFollowing:NOT_YET_SET,nCommonPreceding:NOT_YET_SET}),nCommonR!==0&&foundSubsequence(nCommonR,aEnd,bEnd);}}}});var require_min_indent=__commonJS({\"../../node_modules/min-indent/index.js\"(exports,module2){module2.exports=string2=>{let match=string2.match(/^[ \\t]*(?=\\S)/gm);return match?match.reduce((r,a)=>Math.min(r,a.length),1/0):0};}});var require_strip_indent=__commonJS({\"../../node_modules/strip-indent/index.js\"(exports,module2){var minIndent=require_min_indent();module2.exports=string2=>{let indent=minIndent(string2);if(indent===0)return string2;let regex=new RegExp(`^[ \\\\t]{${indent}}`,\"gm\");return string2.replace(regex,\"\")};}});var require_indent_string=__commonJS({\"../../node_modules/indent-string/index.js\"(exports,module2){module2.exports=(string2,count=1,options)=>{if(options={indent:\" \",includeEmptyLines:!1,...options},typeof string2!=\"string\")throw new TypeError(`Expected \\`input\\` to be a \\`string\\`, got \\`${typeof string2}\\``);if(typeof count!=\"number\")throw new TypeError(`Expected \\`count\\` to be a \\`number\\`, got \\`${typeof count}\\``);if(typeof options.indent!=\"string\")throw new TypeError(`Expected \\`options.indent\\` to be a \\`string\\`, got \\`${typeof options.indent}\\``);if(count===0)return string2;let regex=options.includeEmptyLines?/^/gm:/^(?!\\s*$)/gm;return string2.replace(regex,options.indent.repeat(count))};}});var require_redent=__commonJS({\"../../node_modules/redent/index.js\"(exports,module2){var stripIndent=require_strip_indent(),indentString=require_indent_string();module2.exports=(string2,count=0,options)=>indentString(stripIndent(string2),count,options);}});var require_listCacheClear=__commonJS({\"../../node_modules/lodash/_listCacheClear.js\"(exports,module2){function listCacheClear(){this.__data__=[],this.size=0;}module2.exports=listCacheClear;}});var require_eq=__commonJS({\"../../node_modules/lodash/eq.js\"(exports,module2){function eq2(value,other){return value===other||value!==value&&other!==other}module2.exports=eq2;}});var require_assocIndexOf=__commonJS({\"../../node_modules/lodash/_assocIndexOf.js\"(exports,module2){var eq2=require_eq();function assocIndexOf(array,key){for(var length=array.length;length--;)if(eq2(array[length][0],key))return length;return -1}module2.exports=assocIndexOf;}});var require_listCacheDelete=__commonJS({\"../../node_modules/lodash/_listCacheDelete.js\"(exports,module2){var assocIndexOf=require_assocIndexOf(),arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0)return !1;var lastIndex=data.length-1;return index==lastIndex?data.pop():splice.call(data,index,1),--this.size,!0}module2.exports=listCacheDelete;}});var require_listCacheGet=__commonJS({\"../../node_modules/lodash/_listCacheGet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?void 0:data[index][1]}module2.exports=listCacheGet;}});var require_listCacheHas=__commonJS({\"../../node_modules/lodash/_listCacheHas.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1}module2.exports=listCacheHas;}});var require_listCacheSet=__commonJS({\"../../node_modules/lodash/_listCacheSet.js\"(exports,module2){var assocIndexOf=require_assocIndexOf();function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);return index<0?(++this.size,data.push([key,value])):data[index][1]=value,this}module2.exports=listCacheSet;}});var require_ListCache=__commonJS({\"../../node_modules/lodash/_ListCache.js\"(exports,module2){var listCacheClear=require_listCacheClear(),listCacheDelete=require_listCacheDelete(),listCacheGet=require_listCacheGet(),listCacheHas=require_listCacheHas(),listCacheSet=require_listCacheSet();function ListCache(entries){var index=-1,length=entries==null?0:entries.length;for(this.clear();++indexarrLength))return !1;var arrStacked=stack.get(array),othStacked=stack.get(other);if(arrStacked&&othStacked)return arrStacked==other&&othStacked==array;var index=-1,result=!0,seen=bitmask&COMPARE_UNORDERED_FLAG?new SetCache:void 0;for(stack.set(array,other),stack.set(other,array);++index-1&&value%1==0&&value-1&&value%1==0&&value<=MAX_SAFE_INTEGER}module2.exports=isLength;}});var require_baseIsTypedArray=__commonJS({\"../../node_modules/lodash/_baseIsTypedArray.js\"(exports,module2){var baseGetTag=require_baseGetTag(),isLength=require_isLength(),isObjectLike=require_isObjectLike(),argsTag=\"[object Arguments]\",arrayTag=\"[object Array]\",boolTag=\"[object Boolean]\",dateTag=\"[object Date]\",errorTag=\"[object Error]\",funcTag=\"[object Function]\",mapTag=\"[object Map]\",numberTag=\"[object Number]\",objectTag=\"[object Object]\",regexpTag=\"[object RegExp]\",setTag=\"[object Set]\",stringTag=\"[object String]\",weakMapTag=\"[object WeakMap]\",arrayBufferTag=\"[object ArrayBuffer]\",dataViewTag=\"[object DataView]\",float32Tag=\"[object Float32Array]\",float64Tag=\"[object Float64Array]\",int8Tag=\"[object Int8Array]\",int16Tag=\"[object Int16Array]\",int32Tag=\"[object Int32Array]\",uint8Tag=\"[object Uint8Array]\",uint8ClampedTag=\"[object Uint8ClampedArray]\",uint16Tag=\"[object Uint16Array]\",uint32Tag=\"[object Uint32Array]\",typedArrayTags={};typedArrayTags[float32Tag]=typedArrayTags[float64Tag]=typedArrayTags[int8Tag]=typedArrayTags[int16Tag]=typedArrayTags[int32Tag]=typedArrayTags[uint8Tag]=typedArrayTags[uint8ClampedTag]=typedArrayTags[uint16Tag]=typedArrayTags[uint32Tag]=!0;typedArrayTags[argsTag]=typedArrayTags[arrayTag]=typedArrayTags[arrayBufferTag]=typedArrayTags[boolTag]=typedArrayTags[dataViewTag]=typedArrayTags[dateTag]=typedArrayTags[errorTag]=typedArrayTags[funcTag]=typedArrayTags[mapTag]=typedArrayTags[numberTag]=typedArrayTags[objectTag]=typedArrayTags[regexpTag]=typedArrayTags[setTag]=typedArrayTags[stringTag]=typedArrayTags[weakMapTag]=!1;function baseIsTypedArray(value){return isObjectLike(value)&&isLength(value.length)&&!!typedArrayTags[baseGetTag(value)]}module2.exports=baseIsTypedArray;}});var require_baseUnary=__commonJS({\"../../node_modules/lodash/_baseUnary.js\"(exports,module2){function baseUnary(func){return function(value){return func(value)}}module2.exports=baseUnary;}});var require_nodeUtil=__commonJS({\"../../node_modules/lodash/_nodeUtil.js\"(exports,module2){var freeGlobal=require_freeGlobal(),freeExports=typeof exports==\"object\"&&exports&&!exports.nodeType&&exports,freeModule=freeExports&&typeof module2==\"object\"&&module2&&!module2.nodeType&&module2,moduleExports=freeModule&&freeModule.exports===freeExports,freeProcess=moduleExports&&freeGlobal.process,nodeUtil=function(){try{var types=freeModule&&freeModule.require&&freeModule.require(\"util\").types;return types||freeProcess&&freeProcess.binding&&freeProcess.binding(\"util\")}catch{}}();module2.exports=nodeUtil;}});var require_isTypedArray=__commonJS({\"../../node_modules/lodash/isTypedArray.js\"(exports,module2){var baseIsTypedArray=require_baseIsTypedArray(),baseUnary=require_baseUnary(),nodeUtil=require_nodeUtil(),nodeIsTypedArray=nodeUtil&&nodeUtil.isTypedArray,isTypedArray=nodeIsTypedArray?baseUnary(nodeIsTypedArray):baseIsTypedArray;module2.exports=isTypedArray;}});var require_arrayLikeKeys=__commonJS({\"../../node_modules/lodash/_arrayLikeKeys.js\"(exports,module2){var baseTimes=require_baseTimes(),isArguments=require_isArguments(),isArray=require_isArray(),isBuffer=require_isBuffer(),isIndex=require_isIndex(),isTypedArray=require_isTypedArray(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function arrayLikeKeys(value,inherited){var isArr=isArray(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value)(inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key==\"length\"||isBuff&&(key==\"offset\"||key==\"parent\")||isType&&(key==\"buffer\"||key==\"byteLength\"||key==\"byteOffset\")||isIndex(key,length)))&&result.push(key);return result}module2.exports=arrayLikeKeys;}});var require_isPrototype=__commonJS({\"../../node_modules/lodash/_isPrototype.js\"(exports,module2){var objectProto=Object.prototype;function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor==\"function\"&&Ctor.prototype||objectProto;return value===proto}module2.exports=isPrototype;}});var require_overArg=__commonJS({\"../../node_modules/lodash/_overArg.js\"(exports,module2){function overArg(func,transform){return function(arg){return func(transform(arg))}}module2.exports=overArg;}});var require_nativeKeys=__commonJS({\"../../node_modules/lodash/_nativeKeys.js\"(exports,module2){var overArg=require_overArg(),nativeKeys=overArg(Object.keys,Object);module2.exports=nativeKeys;}});var require_baseKeys=__commonJS({\"../../node_modules/lodash/_baseKeys.js\"(exports,module2){var isPrototype=require_isPrototype(),nativeKeys=require_nativeKeys(),objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function baseKeys(object){if(!isPrototype(object))return nativeKeys(object);var result=[];for(var key in Object(object))hasOwnProperty.call(object,key)&&key!=\"constructor\"&&result.push(key);return result}module2.exports=baseKeys;}});var require_isArrayLike=__commonJS({\"../../node_modules/lodash/isArrayLike.js\"(exports,module2){var isFunction=require_isFunction(),isLength=require_isLength();function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value)}module2.exports=isArrayLike;}});var require_keys=__commonJS({\"../../node_modules/lodash/keys.js\"(exports,module2){var arrayLikeKeys=require_arrayLikeKeys(),baseKeys=require_baseKeys(),isArrayLike=require_isArrayLike();function keys2(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object)}module2.exports=keys2;}});var require_getAllKeys=__commonJS({\"../../node_modules/lodash/_getAllKeys.js\"(exports,module2){var baseGetAllKeys=require_baseGetAllKeys(),getSymbols=require_getSymbols(),keys2=require_keys();function getAllKeys(object){return baseGetAllKeys(object,keys2,getSymbols)}module2.exports=getAllKeys;}});var require_equalObjects=__commonJS({\"../../node_modules/lodash/_equalObjects.js\"(exports,module2){var getAllKeys=require_getAllKeys(),COMPARE_PARTIAL_FLAG=1,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty;function equalObjects(object,other,bitmask,customizer,equalFunc,stack){var isPartial=bitmask&COMPARE_PARTIAL_FLAG,objProps=getAllKeys(object),objLength=objProps.length,othProps=getAllKeys(other),othLength=othProps.length;if(objLength!=othLength&&!isPartial)return !1;for(var index=objLength;index--;){var key=objProps[index];if(!(isPartial?key in other:hasOwnProperty.call(other,key)))return !1}var objStacked=stack.get(object),othStacked=stack.get(other);if(objStacked&&othStacked)return objStacked==other&&othStacked==object;var result=!0;stack.set(object,other),stack.set(other,object);for(var skipCtor=isPartial;++index=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(properties),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,properties);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=properties.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!ariaPropsMap.get(key)},keys:function(){return properties.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return properties.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(ariaPropsMap,ariaPropsMap.entries());exports.default=_default;}});var require_domMap=__commonJS({\"node_modules/aria-query/lib/domMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i&&_arr.length===i));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(dom),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,dom);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=dom.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!domMap.get(key)},keys:function(){return dom.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return dom.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(domMap,domMap.entries());exports.default=_default;}});var require_commandRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/commandRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var commandRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=commandRole;exports.default=_default;}});var require_compositeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var compositeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=compositeRole;exports.default=_default;}});var require_inputRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/inputRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var inputRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"input\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\"]]},_default=inputRole;exports.default=_default;}});var require_landmarkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var landmarkRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=landmarkRole;exports.default=_default;}});var require_rangeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rangeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuemax\":null,\"aria-valuemin\":null,\"aria-valuenow\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rangeRole;exports.default=_default;}});var require_roletypeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var roletypeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{\"aria-atomic\":null,\"aria-busy\":null,\"aria-controls\":null,\"aria-current\":null,\"aria-describedby\":null,\"aria-details\":null,\"aria-dropeffect\":null,\"aria-flowto\":null,\"aria-grabbed\":null,\"aria-hidden\":null,\"aria-keyshortcuts\":null,\"aria-label\":null,\"aria-labelledby\":null,\"aria-live\":null,\"aria-owns\":null,\"aria-relevant\":null,\"aria-roledescription\":null},relatedConcepts:[{concept:{name:\"rel\"},module:\"HTML\"},{concept:{name:\"role\"},module:\"XHTML\"},{concept:{name:\"type\"},module:\"Dublin Core\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=roletypeRole;exports.default=_default;}});var require_sectionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"frontmatter\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"DTB\"},{concept:{name:\"level\"},module:\"SMIL\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionRole;exports.default=_default;}});var require_sectionheadRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sectionheadRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=sectionheadRole;exports.default=_default;}});var require_selectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/selectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var selectRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=selectRole;exports.default=_default;}});var require_structureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/structureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var structureRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=structureRole;exports.default=_default;}});var require_widgetRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var widgetRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=widgetRole;exports.default=_default;}});var require_windowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/abstract/windowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var windowRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-modal\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\"]]},_default=windowRole;exports.default=_default;}});var require_ariaAbstractRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _commandRole=_interopRequireDefault(require_commandRole()),_compositeRole=_interopRequireDefault(require_compositeRole()),_inputRole=_interopRequireDefault(require_inputRole()),_landmarkRole=_interopRequireDefault(require_landmarkRole()),_rangeRole=_interopRequireDefault(require_rangeRole()),_roletypeRole=_interopRequireDefault(require_roletypeRole()),_sectionRole=_interopRequireDefault(require_sectionRole()),_sectionheadRole=_interopRequireDefault(require_sectionheadRole()),_selectRole=_interopRequireDefault(require_selectRole()),_structureRole=_interopRequireDefault(require_structureRole()),_widgetRole=_interopRequireDefault(require_widgetRole()),_windowRole=_interopRequireDefault(require_windowRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaAbstractRoles=[[\"command\",_commandRole.default],[\"composite\",_compositeRole.default],[\"input\",_inputRole.default],[\"landmark\",_landmarkRole.default],[\"range\",_rangeRole.default],[\"roletype\",_roletypeRole.default],[\"section\",_sectionRole.default],[\"sectionhead\",_sectionheadRole.default],[\"select\",_selectRole.default],[\"structure\",_structureRole.default],[\"widget\",_widgetRole.default],[\"window\",_windowRole.default]],_default=ariaAbstractRoles;exports.default=_default;}});var require_alertRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"assertive\"},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=alertRole;exports.default=_default;}});var require_alertdialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var alertdialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"alert\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"alert\"],[\"roletype\",\"window\",\"dialog\"]]},_default=alertdialogRole;exports.default=_default;}});var require_applicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/applicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var applicationRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=applicationRole;exports.default=_default;}});var require_articleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/articleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var articleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"article\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=articleRole;exports.default=_default;}});var require_bannerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/bannerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var bannerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"header\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=bannerRole;exports.default=_default;}});var require_blockquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var blockquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=blockquoteRole;exports.default=_default;}});var require_buttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/buttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var buttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-pressed\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-pressed\"},{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"false\"}],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"aria-expanded\",value:\"true\"}],constraints:[\"direct descendant of details element with the open attribute defined\"],name:\"summary\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"button\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"image\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"reset\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{name:\"type\",value:\"submit\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"button\"},module:\"HTML\"},{concept:{name:\"trigger\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=buttonRole;exports.default=_default;}});var require_captionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/captionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var captionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[\"figure\",\"grid\",\"table\"],requiredContextRole:[\"figure\",\"grid\",\"table\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=captionRole;exports.default=_default;}});var require_cellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/cellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var cellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-colspan\":null,\"aria-rowindex\":null,\"aria-rowspan\":null},relatedConcepts:[{concept:{constraints:[\"descendant of table\"],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=cellRole;exports.default=_default;}});var require_checkboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var checkboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"checkbox\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=checkboxRole;exports.default=_default;}});var require_codeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/codeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var codeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=codeRole;exports.default=_default;}});var require_columnheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var columnheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{attributes:[{name:\"scope\",value:\"col\"}],concept:{name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=columnheaderRole;exports.default=_default;}});var require_comboboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var comboboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-expanded\":\"false\",\"aria-haspopup\":\"listbox\"},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{constraints:[\"undefined\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"multiple\"},{name:\"size\",value:1}],name:\"select\"},module:\"HTML\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-expanded\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=comboboxRole;exports.default=_default;}});var require_complementaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var complementaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"aside\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=complementaryRole;exports.default=_default;}});var require_contentinfoRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var contentinfoRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:[\"direct descendant of document\"],name:\"footer\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=contentinfoRole;exports.default=_default;}});var require_definitionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/definitionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var definitionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dd\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=definitionRole;exports.default=_default;}});var require_deletionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/deletionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var deletionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=deletionRole;exports.default=_default;}});var require_dialogRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/dialogRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var dialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dialog\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"window\"]]},_default=dialogRole;exports.default=_default;}});var require_directoryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/directoryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var directoryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{module:\"DAISY Guide\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=directoryRole;exports.default=_default;}});var require_documentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/documentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var documentRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"Device Independence Delivery Unit\"}},{concept:{name:\"body\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=documentRole;exports.default=_default;}});var require_emphasisRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var emphasisRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=emphasisRole;exports.default=_default;}});var require_feedRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/feedRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var feedRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"article\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"list\"]]},_default=feedRole;exports.default=_default;}});var require_figureRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/figureRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var figureRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"figure\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=figureRole;exports.default=_default;}});var require_formRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/formRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var formRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"form\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"name\"}],name:\"form\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=formRole;exports.default=_default;}});var require_genericRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/genericRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var genericRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[{concept:{name:\"span\"},module:\"HTML\"},{concept:{name:\"div\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=genericRole;exports.default=_default;}});var require_gridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-multiselectable\":null,\"aria-readonly\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"grid\"}],name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"structure\",\"section\",\"table\"]]},_default=gridRole;exports.default=_default;}});var require_gridcellRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var gridcellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-selected\":null},relatedConcepts:[{concept:{attributes:[{name:\"role\",value:\"gridcell\"}],name:\"td\"},module:\"HTML\"}],requireContextRole:[\"row\"],requiredContextRole:[\"row\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"widget\"]]},_default=gridcellRole;exports.default=_default;}});var require_groupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/groupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var groupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-disabled\":null},relatedConcepts:[{concept:{name:\"details\"},module:\"HTML\"},{concept:{name:\"fieldset\"},module:\"HTML\"},{concept:{name:\"optgroup\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=groupRole;exports.default=_default;}});var require_headingRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/headingRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var headingRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-level\":\"2\"},relatedConcepts:[{concept:{name:\"h1\"},module:\"HTML\"},{concept:{name:\"h2\"},module:\"HTML\"},{concept:{name:\"h3\"},module:\"HTML\"},{concept:{name:\"h4\"},module:\"HTML\"},{concept:{name:\"h5\"},module:\"HTML\"},{concept:{name:\"h6\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-level\":\"2\"},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=headingRole;exports.default=_default;}});var require_imgRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/imgRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var imgRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"alt\"}],name:\"img\"},module:\"HTML\"},{concept:{name:\"imggroup\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=imgRole;exports.default=_default;}});var require_insertionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/insertionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var insertionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=insertionRole;exports.default=_default;}});var require_linkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/linkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var linkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[{concept:{attributes:[{name:\"href\"}],name:\"a\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"area\"},module:\"HTML\"},{concept:{attributes:[{name:\"href\"}],name:\"link\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=linkRole;exports.default=_default;}});var require_listRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menu\"},module:\"HTML\"},{concept:{name:\"ol\"},module:\"HTML\"},{concept:{name:\"ul\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"listitem\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listRole;exports.default=_default;}});var require_listboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{attributes:[{constraints:[\">1\"],name:\"size\"},{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\">1\"],name:\"size\"}],name:\"select\"},module:\"HTML\"},{concept:{attributes:[{name:\"multiple\"}],name:\"select\"},module:\"HTML\"},{concept:{name:\"datalist\"},module:\"HTML\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"option\",\"group\"],[\"option\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=listboxRole;exports.default=_default;}});var require_listitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/listitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var listitemRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{constraints:[\"direct descendant of ol, ul or menu\"],name:\"li\"},module:\"HTML\"},{concept:{name:\"item\"},module:\"XForms\"}],requireContextRole:[\"directory\",\"list\"],requiredContextRole:[\"directory\",\"list\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=listitemRole;exports.default=_default;}});var require_logRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/logRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var logRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-live\":\"polite\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=logRole;exports.default=_default;}});var require_mainRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mainRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mainRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"main\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=mainRole;exports.default=_default;}});var require_marqueeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var marqueeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=marqueeRole;exports.default=_default;}});var require_mathRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/mathRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var mathRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"math\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=mathRole;exports.default=_default;}});var require_menuRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"vertical\"},relatedConcepts:[{concept:{name:\"MENU\"},module:\"JAPI\"},{concept:{name:\"list\"},module:\"ARIA\"},{concept:{name:\"select\"},module:\"XForms\"},{concept:{name:\"sidebar\"},module:\"DTB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=menuRole;exports.default=_default;}});var require_menubarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menubarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menubarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"toolbar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"menuitem\",\"group\"],[\"menuitemradio\",\"group\"],[\"menuitemcheckbox\",\"group\"],[\"menuitem\"],[\"menuitemcheckbox\"],[\"menuitemradio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\",\"menu\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"menu\"]]},_default=menubarRole;exports.default=_default;}});var require_menuitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"MENU_ITEM\"},module:\"JAPI\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"menuitem\"},module:\"HTML\"},{concept:{name:\"option\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\"]]},_default=menuitemRole;exports.default=_default;}});var require_menuitemcheckboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemcheckboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\"]]},_default=menuitemcheckboxRole;exports.default=_default;}});var require_menuitemradioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var menuitemradioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"menuitem\"},module:\"ARIA\"}],requireContextRole:[\"group\",\"menu\",\"menubar\"],requiredContextRole:[\"group\",\"menu\",\"menubar\"],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"command\",\"menuitem\",\"menuitemcheckbox\"],[\"roletype\",\"widget\",\"input\",\"radio\"]]},_default=menuitemradioRole;exports.default=_default;}});var require_meterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/meterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var meterRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"]]},_default=meterRole;exports.default=_default;}});var require_navigationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/navigationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var navigationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"nav\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=navigationRole;exports.default=_default;}});var require_noneRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noneRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noneRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},_default=noneRole;exports.default=_default;}});var require_noteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/noteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var noteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=noteRole;exports.default=_default;}});var require_optionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/optionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var optionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[{concept:{name:\"item\"},module:\"XForms\"},{concept:{name:\"listitem\"},module:\"ARIA\"},{concept:{name:\"option\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-selected\":\"false\"},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=optionRole;exports.default=_default;}});var require_paragraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var paragraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=paragraphRole;exports.default=_default;}});var require_presentationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/presentationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var presentationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=presentationRole;exports.default=_default;}});var require_progressbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var progressbarRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"progress\"},module:\"HTML\"},{concept:{name:\"status\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=progressbarRole;exports.default=_default;}});var require_radioRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radioRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-checked\":null,\"aria-posinset\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"radio\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=radioRole;exports.default=_default;}});var require_radiogroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var radiogroupRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{name:\"list\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"radio\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=radiogroupRole;exports.default=_default;}});var require_regionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/regionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var regionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"set\"],name:\"aria-label\"}],name:\"section\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"set\"],name:\"aria-labelledby\"}],name:\"section\"},module:\"HTML\"},{concept:{name:\"Device Independence Glossart perceivable unit\"}},{concept:{name:\"frame\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=regionRole;exports.default=_default;}});var require_rowRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-colindex\":null,\"aria-expanded\":null,\"aria-level\":null,\"aria-posinset\":null,\"aria-rowindex\":null,\"aria-selected\":null,\"aria-setsize\":null},relatedConcepts:[{concept:{name:\"tr\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"rowgroup\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"cell\"],[\"columnheader\"],[\"gridcell\"],[\"rowheader\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"],[\"roletype\",\"widget\"]]},_default=rowRole;exports.default=_default;}});var require_rowgroupRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowgroupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"tbody\"},module:\"HTML\"},{concept:{name:\"tfoot\"},module:\"HTML\"},{concept:{name:\"thead\"},module:\"HTML\"}],requireContextRole:[\"grid\",\"table\",\"treegrid\"],requiredContextRole:[\"grid\",\"table\",\"treegrid\"],requiredOwnedElements:[[\"row\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=rowgroupRole;exports.default=_default;}});var require_rowheaderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var rowheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-sort\":null},relatedConcepts:[{concept:{attributes:[{name:\"scope\",value:\"row\"}],name:\"th\"},module:\"HTML\"},{concept:{attributes:[{name:\"scope\",value:\"rowgroup\"}],name:\"th\"},module:\"HTML\"}],requireContextRole:[\"row\",\"rowgroup\"],requiredContextRole:[\"row\",\"rowgroup\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"cell\"],[\"roletype\",\"structure\",\"section\",\"cell\",\"gridcell\"],[\"roletype\",\"widget\",\"gridcell\"],[\"roletype\",\"structure\",\"sectionhead\"]]},_default=rowheaderRole;exports.default=_default;}});var require_scrollbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var scrollbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-valuetext\":null,\"aria-orientation\":\"vertical\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-controls\":null,\"aria-valuenow\":null},superClass:[[\"roletype\",\"structure\",\"range\"],[\"roletype\",\"widget\"]]},_default=scrollbarRole;exports.default=_default;}});var require_searchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=searchRole;exports.default=_default;}});var require_searchboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var searchboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"search\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\",\"textbox\"]]},_default=searchboxRole;exports.default=_default;}});var require_separatorRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/separatorRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var separatorRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"aria-valuenow\":null,\"aria-valuetext\":null},relatedConcepts:[{concept:{name:\"hr\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\"]]},_default=separatorRole;exports.default=_default;}});var require_sliderRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/sliderRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var sliderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-valuetext\":null,\"aria-orientation\":\"horizontal\",\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"range\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-valuenow\":null},superClass:[[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=sliderRole;exports.default=_default;}});var require_spinbuttonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var spinbuttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-readonly\":null,\"aria-required\":null,\"aria-valuetext\":null,\"aria-valuenow\":\"0\"},relatedConcepts:[{concept:{attributes:[{name:\"type\",value:\"number\"}],name:\"input\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"],[\"roletype\",\"widget\",\"input\"],[\"roletype\",\"structure\",\"range\"]]},_default=spinbuttonRole;exports.default=_default;}});var require_statusRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/statusRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var statusRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-atomic\":\"true\",\"aria-live\":\"polite\"},relatedConcepts:[{concept:{name:\"output\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=statusRole;exports.default=_default;}});var require_strongRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/strongRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var strongRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=strongRole;exports.default=_default;}});var require_subscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var subscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=subscriptRole;exports.default=_default;}});var require_superscriptRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var superscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"prohibited\"],prohibitedProps:[\"aria-label\",\"aria-labelledby\"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=superscriptRole;exports.default=_default;}});var require_switchRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/switchRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var switchRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"button\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{\"aria-checked\":null},superClass:[[\"roletype\",\"widget\",\"input\",\"checkbox\"]]},_default=switchRole;exports.default=_default;}});var require_tabRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-posinset\":null,\"aria-setsize\":null,\"aria-selected\":\"false\"},relatedConcepts:[],requireContextRole:[\"tablist\"],requiredContextRole:[\"tablist\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"],[\"roletype\",\"widget\"]]},_default=tabRole;exports.default=_default;}});var require_tableRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tableRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tableRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-colcount\":null,\"aria-rowcount\":null},relatedConcepts:[{concept:{name:\"table\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tableRole;exports.default=_default;}});var require_tablistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tablistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tablistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-level\":null,\"aria-multiselectable\":null,\"aria-orientation\":\"horizontal\"},relatedConcepts:[{module:\"DAISY\",concept:{name:\"guide\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"tab\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\"]]},_default=tablistRole;exports.default=_default;}});var require_tabpanelRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tabpanelRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tabpanelRole;exports.default=_default;}});var require_termRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/termRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var termRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"dfn\"},module:\"HTML\"},{concept:{name:\"dt\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=termRole;exports.default=_default;}});var require_textboxRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/textboxRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var textboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-activedescendant\":null,\"aria-autocomplete\":null,\"aria-errormessage\":null,\"aria-haspopup\":null,\"aria-invalid\":null,\"aria-multiline\":null,\"aria-placeholder\":null,\"aria-readonly\":null,\"aria-required\":null},relatedConcepts:[{concept:{attributes:[{constraints:[\"undefined\"],name:\"type\"},{constraints:[\"undefined\"],name:\"list\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"email\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"tel\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"text\"}],name:\"input\"},module:\"HTML\"},{concept:{attributes:[{constraints:[\"undefined\"],name:\"list\"},{name:\"type\",value:\"url\"}],name:\"input\"},module:\"HTML\"},{concept:{name:\"input\"},module:\"XForms\"},{concept:{name:\"textarea\"},module:\"HTML\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"input\"]]},_default=textboxRole;exports.default=_default;}});var require_timeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=timeRole;exports.default=_default;}});var require_timerRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/timerRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var timerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"status\"]]},_default=timerRole;exports.default=_default;}});var require_toolbarRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var toolbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-orientation\":\"horizontal\"},relatedConcepts:[{concept:{name:\"menubar\"},module:\"ARIA\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=toolbarRole;exports.default=_default;}});var require_tooltipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var tooltipRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=tooltipRole;exports.default=_default;}});var require_treeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null,\"aria-multiselectable\":null,\"aria-required\":null,\"aria-orientation\":\"vertical\"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"treeitem\",\"group\"],[\"treeitem\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"select\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\"]]},_default=treeRole;exports.default=_default;}});var require_treegridRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treegridRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treegridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"row\"],[\"row\",\"rowgroup\"]],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"composite\",\"grid\"],[\"roletype\",\"structure\",\"section\",\"table\",\"grid\"],[\"roletype\",\"widget\",\"composite\",\"select\",\"tree\"],[\"roletype\",\"structure\",\"section\",\"group\",\"select\",\"tree\"]]},_default=treegridRole;exports.default=_default;}});var require_treeitemRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var treeitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-expanded\":null,\"aria-haspopup\":null},relatedConcepts:[],requireContextRole:[\"group\",\"tree\"],requiredContextRole:[\"group\",\"tree\"],requiredOwnedElements:[],requiredProps:{\"aria-selected\":null},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"],[\"roletype\",\"widget\",\"input\",\"option\"]]},_default=treeitemRole;exports.default=_default;}});var require_ariaLiteralRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _alertRole=_interopRequireDefault(require_alertRole()),_alertdialogRole=_interopRequireDefault(require_alertdialogRole()),_applicationRole=_interopRequireDefault(require_applicationRole()),_articleRole=_interopRequireDefault(require_articleRole()),_bannerRole=_interopRequireDefault(require_bannerRole()),_blockquoteRole=_interopRequireDefault(require_blockquoteRole()),_buttonRole=_interopRequireDefault(require_buttonRole()),_captionRole=_interopRequireDefault(require_captionRole()),_cellRole=_interopRequireDefault(require_cellRole()),_checkboxRole=_interopRequireDefault(require_checkboxRole()),_codeRole=_interopRequireDefault(require_codeRole()),_columnheaderRole=_interopRequireDefault(require_columnheaderRole()),_comboboxRole=_interopRequireDefault(require_comboboxRole()),_complementaryRole=_interopRequireDefault(require_complementaryRole()),_contentinfoRole=_interopRequireDefault(require_contentinfoRole()),_definitionRole=_interopRequireDefault(require_definitionRole()),_deletionRole=_interopRequireDefault(require_deletionRole()),_dialogRole=_interopRequireDefault(require_dialogRole()),_directoryRole=_interopRequireDefault(require_directoryRole()),_documentRole=_interopRequireDefault(require_documentRole()),_emphasisRole=_interopRequireDefault(require_emphasisRole()),_feedRole=_interopRequireDefault(require_feedRole()),_figureRole=_interopRequireDefault(require_figureRole()),_formRole=_interopRequireDefault(require_formRole()),_genericRole=_interopRequireDefault(require_genericRole()),_gridRole=_interopRequireDefault(require_gridRole()),_gridcellRole=_interopRequireDefault(require_gridcellRole()),_groupRole=_interopRequireDefault(require_groupRole()),_headingRole=_interopRequireDefault(require_headingRole()),_imgRole=_interopRequireDefault(require_imgRole()),_insertionRole=_interopRequireDefault(require_insertionRole()),_linkRole=_interopRequireDefault(require_linkRole()),_listRole=_interopRequireDefault(require_listRole()),_listboxRole=_interopRequireDefault(require_listboxRole()),_listitemRole=_interopRequireDefault(require_listitemRole()),_logRole=_interopRequireDefault(require_logRole()),_mainRole=_interopRequireDefault(require_mainRole()),_marqueeRole=_interopRequireDefault(require_marqueeRole()),_mathRole=_interopRequireDefault(require_mathRole()),_menuRole=_interopRequireDefault(require_menuRole()),_menubarRole=_interopRequireDefault(require_menubarRole()),_menuitemRole=_interopRequireDefault(require_menuitemRole()),_menuitemcheckboxRole=_interopRequireDefault(require_menuitemcheckboxRole()),_menuitemradioRole=_interopRequireDefault(require_menuitemradioRole()),_meterRole=_interopRequireDefault(require_meterRole()),_navigationRole=_interopRequireDefault(require_navigationRole()),_noneRole=_interopRequireDefault(require_noneRole()),_noteRole=_interopRequireDefault(require_noteRole()),_optionRole=_interopRequireDefault(require_optionRole()),_paragraphRole=_interopRequireDefault(require_paragraphRole()),_presentationRole=_interopRequireDefault(require_presentationRole()),_progressbarRole=_interopRequireDefault(require_progressbarRole()),_radioRole=_interopRequireDefault(require_radioRole()),_radiogroupRole=_interopRequireDefault(require_radiogroupRole()),_regionRole=_interopRequireDefault(require_regionRole()),_rowRole=_interopRequireDefault(require_rowRole()),_rowgroupRole=_interopRequireDefault(require_rowgroupRole()),_rowheaderRole=_interopRequireDefault(require_rowheaderRole()),_scrollbarRole=_interopRequireDefault(require_scrollbarRole()),_searchRole=_interopRequireDefault(require_searchRole()),_searchboxRole=_interopRequireDefault(require_searchboxRole()),_separatorRole=_interopRequireDefault(require_separatorRole()),_sliderRole=_interopRequireDefault(require_sliderRole()),_spinbuttonRole=_interopRequireDefault(require_spinbuttonRole()),_statusRole=_interopRequireDefault(require_statusRole()),_strongRole=_interopRequireDefault(require_strongRole()),_subscriptRole=_interopRequireDefault(require_subscriptRole()),_superscriptRole=_interopRequireDefault(require_superscriptRole()),_switchRole=_interopRequireDefault(require_switchRole()),_tabRole=_interopRequireDefault(require_tabRole()),_tableRole=_interopRequireDefault(require_tableRole()),_tablistRole=_interopRequireDefault(require_tablistRole()),_tabpanelRole=_interopRequireDefault(require_tabpanelRole()),_termRole=_interopRequireDefault(require_termRole()),_textboxRole=_interopRequireDefault(require_textboxRole()),_timeRole=_interopRequireDefault(require_timeRole()),_timerRole=_interopRequireDefault(require_timerRole()),_toolbarRole=_interopRequireDefault(require_toolbarRole()),_tooltipRole=_interopRequireDefault(require_tooltipRole()),_treeRole=_interopRequireDefault(require_treeRole()),_treegridRole=_interopRequireDefault(require_treegridRole()),_treeitemRole=_interopRequireDefault(require_treeitemRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaLiteralRoles=[[\"alert\",_alertRole.default],[\"alertdialog\",_alertdialogRole.default],[\"application\",_applicationRole.default],[\"article\",_articleRole.default],[\"banner\",_bannerRole.default],[\"blockquote\",_blockquoteRole.default],[\"button\",_buttonRole.default],[\"caption\",_captionRole.default],[\"cell\",_cellRole.default],[\"checkbox\",_checkboxRole.default],[\"code\",_codeRole.default],[\"columnheader\",_columnheaderRole.default],[\"combobox\",_comboboxRole.default],[\"complementary\",_complementaryRole.default],[\"contentinfo\",_contentinfoRole.default],[\"definition\",_definitionRole.default],[\"deletion\",_deletionRole.default],[\"dialog\",_dialogRole.default],[\"directory\",_directoryRole.default],[\"document\",_documentRole.default],[\"emphasis\",_emphasisRole.default],[\"feed\",_feedRole.default],[\"figure\",_figureRole.default],[\"form\",_formRole.default],[\"generic\",_genericRole.default],[\"grid\",_gridRole.default],[\"gridcell\",_gridcellRole.default],[\"group\",_groupRole.default],[\"heading\",_headingRole.default],[\"img\",_imgRole.default],[\"insertion\",_insertionRole.default],[\"link\",_linkRole.default],[\"list\",_listRole.default],[\"listbox\",_listboxRole.default],[\"listitem\",_listitemRole.default],[\"log\",_logRole.default],[\"main\",_mainRole.default],[\"marquee\",_marqueeRole.default],[\"math\",_mathRole.default],[\"menu\",_menuRole.default],[\"menubar\",_menubarRole.default],[\"menuitem\",_menuitemRole.default],[\"menuitemcheckbox\",_menuitemcheckboxRole.default],[\"menuitemradio\",_menuitemradioRole.default],[\"meter\",_meterRole.default],[\"navigation\",_navigationRole.default],[\"none\",_noneRole.default],[\"note\",_noteRole.default],[\"option\",_optionRole.default],[\"paragraph\",_paragraphRole.default],[\"presentation\",_presentationRole.default],[\"progressbar\",_progressbarRole.default],[\"radio\",_radioRole.default],[\"radiogroup\",_radiogroupRole.default],[\"region\",_regionRole.default],[\"row\",_rowRole.default],[\"rowgroup\",_rowgroupRole.default],[\"rowheader\",_rowheaderRole.default],[\"scrollbar\",_scrollbarRole.default],[\"search\",_searchRole.default],[\"searchbox\",_searchboxRole.default],[\"separator\",_separatorRole.default],[\"slider\",_sliderRole.default],[\"spinbutton\",_spinbuttonRole.default],[\"status\",_statusRole.default],[\"strong\",_strongRole.default],[\"subscript\",_subscriptRole.default],[\"superscript\",_superscriptRole.default],[\"switch\",_switchRole.default],[\"tab\",_tabRole.default],[\"table\",_tableRole.default],[\"tablist\",_tablistRole.default],[\"tabpanel\",_tabpanelRole.default],[\"term\",_termRole.default],[\"textbox\",_textboxRole.default],[\"time\",_timeRole.default],[\"timer\",_timerRole.default],[\"toolbar\",_toolbarRole.default],[\"tooltip\",_tooltipRole.default],[\"tree\",_treeRole.default],[\"treegrid\",_treegridRole.default],[\"treeitem\",_treeitemRole.default]],_default=ariaLiteralRoles;exports.default=_default;}});var require_docAbstractRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAbstractRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"abstract [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docAbstractRole;exports.default=_default;}});var require_docAcknowledgmentsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAcknowledgmentsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"acknowledgments [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAcknowledgmentsRole;exports.default=_default;}});var require_docAfterwordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAfterwordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"afterword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAfterwordRole;exports.default=_default;}});var require_docAppendixRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docAppendixRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"appendix [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docAppendixRole;exports.default=_default;}});var require_docBacklinkRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBacklinkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"content\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"referrer [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBacklinkRole;exports.default=_default;}});var require_docBiblioentryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBiblioentryRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"EPUB biblioentry [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-bibliography\"],requiredContextRole:[\"doc-bibliography\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docBiblioentryRole;exports.default=_default;}});var require_docBibliographyRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliographyRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"bibliography [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-biblioentry\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docBibliographyRole;exports.default=_default;}});var require_docBibliorefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docBibliorefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"biblioref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docBibliorefRole;exports.default=_default;}});var require_docChapterRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docChapterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"chapter [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docChapterRole;exports.default=_default;}});var require_docColophonRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docColophonRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"colophon [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docColophonRole;exports.default=_default;}});var require_docConclusionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docConclusionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"conclusion [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docConclusionRole;exports.default=_default;}});var require_docCoverRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCoverRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"cover [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=docCoverRole;exports.default=_default;}});var require_docCreditRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credit [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docCreditRole;exports.default=_default;}});var require_docCreditsRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docCreditsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"credits [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docCreditsRole;exports.default=_default;}});var require_docDedicationRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docDedicationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"dedication [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docDedicationRole;exports.default=_default;}});var require_docEndnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[\"doc-endnotes\"],requiredContextRole:[\"doc-endnotes\"],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"listitem\"]]},_default=docEndnoteRole;exports.default=_default;}});var require_docEndnotesRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEndnotesRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"rearnotes [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"doc-endnote\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEndnotesRole;exports.default=_default;}});var require_docEpigraphRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpigraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epigraph [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docEpigraphRole;exports.default=_default;}});var require_docEpilogueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docEpilogueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"epilogue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docEpilogueRole;exports.default=_default;}});var require_docErrataRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docErrataRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"errata [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docErrataRole;exports.default=_default;}});var require_docExampleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docExampleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docExampleRole;exports.default=_default;}});var require_docFootnoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docFootnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"footnote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docFootnoteRole;exports.default=_default;}});var require_docForewordRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docForewordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"foreword [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docForewordRole;exports.default=_default;}});var require_docGlossaryRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossary [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[[\"definition\"],[\"term\"]],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docGlossaryRole;exports.default=_default;}});var require_docGlossrefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docGlossrefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"glossref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docGlossrefRole;exports.default=_default;}});var require_docIndexRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIndexRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"index [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docIndexRole;exports.default=_default;}});var require_docIntroductionRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docIntroductionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"introduction [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docIntroductionRole;exports.default=_default;}});var require_docNoterefRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoterefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"noteref [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"widget\",\"command\",\"link\"]]},_default=docNoterefRole;exports.default=_default;}});var require_docNoticeRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docNoticeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"notice [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docNoticeRole;exports.default=_default;}});var require_docPagebreakRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagebreakRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"pagebreak [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"separator\"]]},_default=docPagebreakRole;exports.default=_default;}});var require_docPagelistRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPagelistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"page-list [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docPagelistRole;exports.default=_default;}});var require_docPartRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPartRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"part [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPartRole;exports.default=_default;}});var require_docPrefaceRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrefaceRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"preface [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrefaceRole;exports.default=_default;}});var require_docPrologueRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPrologueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"prologue [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\"]]},_default=docPrologueRole;exports.default=_default;}});var require_docPullquoteRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docPullquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:\"pullquote [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"none\"]]},_default=docPullquoteRole;exports.default=_default;}});var require_docQnaRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docQnaRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"qna [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\"]]},_default=docQnaRole;exports.default=_default;}});var require_docSubtitleRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docSubtitleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"subtitle [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"sectionhead\"]]},_default=docSubtitleRole;exports.default=_default;}});var require_docTipRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTipRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"help [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"note\"]]},_default=docTipRole;exports.default=_default;}});var require_docTocRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var docTocRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{concept:{name:\"toc [EPUB-SSV]\"},module:\"EPUB\"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"landmark\",\"navigation\"]]},_default=docTocRole;exports.default=_default;}});var require_ariaDpubRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _docAbstractRole=_interopRequireDefault(require_docAbstractRole()),_docAcknowledgmentsRole=_interopRequireDefault(require_docAcknowledgmentsRole()),_docAfterwordRole=_interopRequireDefault(require_docAfterwordRole()),_docAppendixRole=_interopRequireDefault(require_docAppendixRole()),_docBacklinkRole=_interopRequireDefault(require_docBacklinkRole()),_docBiblioentryRole=_interopRequireDefault(require_docBiblioentryRole()),_docBibliographyRole=_interopRequireDefault(require_docBibliographyRole()),_docBibliorefRole=_interopRequireDefault(require_docBibliorefRole()),_docChapterRole=_interopRequireDefault(require_docChapterRole()),_docColophonRole=_interopRequireDefault(require_docColophonRole()),_docConclusionRole=_interopRequireDefault(require_docConclusionRole()),_docCoverRole=_interopRequireDefault(require_docCoverRole()),_docCreditRole=_interopRequireDefault(require_docCreditRole()),_docCreditsRole=_interopRequireDefault(require_docCreditsRole()),_docDedicationRole=_interopRequireDefault(require_docDedicationRole()),_docEndnoteRole=_interopRequireDefault(require_docEndnoteRole()),_docEndnotesRole=_interopRequireDefault(require_docEndnotesRole()),_docEpigraphRole=_interopRequireDefault(require_docEpigraphRole()),_docEpilogueRole=_interopRequireDefault(require_docEpilogueRole()),_docErrataRole=_interopRequireDefault(require_docErrataRole()),_docExampleRole=_interopRequireDefault(require_docExampleRole()),_docFootnoteRole=_interopRequireDefault(require_docFootnoteRole()),_docForewordRole=_interopRequireDefault(require_docForewordRole()),_docGlossaryRole=_interopRequireDefault(require_docGlossaryRole()),_docGlossrefRole=_interopRequireDefault(require_docGlossrefRole()),_docIndexRole=_interopRequireDefault(require_docIndexRole()),_docIntroductionRole=_interopRequireDefault(require_docIntroductionRole()),_docNoterefRole=_interopRequireDefault(require_docNoterefRole()),_docNoticeRole=_interopRequireDefault(require_docNoticeRole()),_docPagebreakRole=_interopRequireDefault(require_docPagebreakRole()),_docPagelistRole=_interopRequireDefault(require_docPagelistRole()),_docPartRole=_interopRequireDefault(require_docPartRole()),_docPrefaceRole=_interopRequireDefault(require_docPrefaceRole()),_docPrologueRole=_interopRequireDefault(require_docPrologueRole()),_docPullquoteRole=_interopRequireDefault(require_docPullquoteRole()),_docQnaRole=_interopRequireDefault(require_docQnaRole()),_docSubtitleRole=_interopRequireDefault(require_docSubtitleRole()),_docTipRole=_interopRequireDefault(require_docTipRole()),_docTocRole=_interopRequireDefault(require_docTocRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaDpubRoles=[[\"doc-abstract\",_docAbstractRole.default],[\"doc-acknowledgments\",_docAcknowledgmentsRole.default],[\"doc-afterword\",_docAfterwordRole.default],[\"doc-appendix\",_docAppendixRole.default],[\"doc-backlink\",_docBacklinkRole.default],[\"doc-biblioentry\",_docBiblioentryRole.default],[\"doc-bibliography\",_docBibliographyRole.default],[\"doc-biblioref\",_docBibliorefRole.default],[\"doc-chapter\",_docChapterRole.default],[\"doc-colophon\",_docColophonRole.default],[\"doc-conclusion\",_docConclusionRole.default],[\"doc-cover\",_docCoverRole.default],[\"doc-credit\",_docCreditRole.default],[\"doc-credits\",_docCreditsRole.default],[\"doc-dedication\",_docDedicationRole.default],[\"doc-endnote\",_docEndnoteRole.default],[\"doc-endnotes\",_docEndnotesRole.default],[\"doc-epigraph\",_docEpigraphRole.default],[\"doc-epilogue\",_docEpilogueRole.default],[\"doc-errata\",_docErrataRole.default],[\"doc-example\",_docExampleRole.default],[\"doc-footnote\",_docFootnoteRole.default],[\"doc-foreword\",_docForewordRole.default],[\"doc-glossary\",_docGlossaryRole.default],[\"doc-glossref\",_docGlossrefRole.default],[\"doc-index\",_docIndexRole.default],[\"doc-introduction\",_docIntroductionRole.default],[\"doc-noteref\",_docNoterefRole.default],[\"doc-notice\",_docNoticeRole.default],[\"doc-pagebreak\",_docPagebreakRole.default],[\"doc-pagelist\",_docPagelistRole.default],[\"doc-part\",_docPartRole.default],[\"doc-preface\",_docPrefaceRole.default],[\"doc-prologue\",_docPrologueRole.default],[\"doc-pullquote\",_docPullquoteRole.default],[\"doc-qna\",_docQnaRole.default],[\"doc-subtitle\",_docSubtitleRole.default],[\"doc-tip\",_docTipRole.default],[\"doc-toc\",_docTocRole.default]],_default=ariaDpubRoles;exports.default=_default;}});var require_graphicsDocumentRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsDocumentRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-object\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"ARIA\",concept:{name:\"article\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"document\"]]},_default=graphicsDocumentRole;exports.default=_default;}});var require_graphicsObjectRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsObjectRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[\"author\",\"contents\"],prohibitedProps:[],props:{\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[{module:\"GRAPHICS\",concept:{name:\"graphics-document\"}},{module:\"ARIA\",concept:{name:\"group\"}},{module:\"ARIA\",concept:{name:\"img\"}},{module:\"GRAPHICS\",concept:{name:\"graphics-symbol\"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"group\"]]},_default=graphicsObjectRole;exports.default=_default;}});var require_graphicsSymbolRole=__commonJS({\"node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var graphicsSymbolRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:[\"author\"],prohibitedProps:[],props:{\"aria-disabled\":null,\"aria-errormessage\":null,\"aria-expanded\":null,\"aria-haspopup\":null,\"aria-invalid\":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[[\"roletype\",\"structure\",\"section\",\"img\"]]},_default=graphicsSymbolRole;exports.default=_default;}});var require_ariaGraphicsRoles=__commonJS({\"node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _graphicsDocumentRole=_interopRequireDefault(require_graphicsDocumentRole()),_graphicsObjectRole=_interopRequireDefault(require_graphicsObjectRole()),_graphicsSymbolRole=_interopRequireDefault(require_graphicsSymbolRole());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var ariaGraphicsRoles=[[\"graphics-document\",_graphicsDocumentRole.default],[\"graphics-object\",_graphicsObjectRole.default],[\"graphics-symbol\",_graphicsSymbolRole.default]],_default=ariaGraphicsRoles;exports.default=_default;}});var require_rolesMap=__commonJS({\"node_modules/aria-query/lib/rolesMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _ariaAbstractRoles=_interopRequireDefault(require_ariaAbstractRoles()),_ariaLiteralRoles=_interopRequireDefault(require_ariaLiteralRoles()),_ariaDpubRoles=_interopRequireDefault(require_ariaDpubRoles()),_ariaGraphicsRoles=_interopRequireDefault(require_ariaGraphicsRoles()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _defineProperty5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i=0,F=function(){};return {s:F,n:function(){return i>=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _slicedToArray(arr,i){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i)||_unsupportedIterableToArray(arr,i)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&arguments[1]!==void 0?arguments[1]:null,_iterator3=_createForOfIteratorHelper(roles3),_step3;try{for(_iterator3.s();!(_step3=_iterator3.n()).done;){var _step3$value=_slicedToArray(_step3.value,2),key=_step3$value[0],values=_step3$value[1];fn2.call(thisArg,values,key,roles3);}}catch(err){_iterator3.e(err);}finally{_iterator3.f();}},get:function(key){var item=roles3.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!rolesMap.get(key)},keys:function(){return roles3.map(function(_ref5){var _ref6=_slicedToArray(_ref5,1),key=_ref6[0];return key})},values:function(){return roles3.map(function(_ref7){var _ref8=_slicedToArray(_ref7,2),values2=_ref8[1];return values2})}},_default=(0, _iterationDecorator.default)(rolesMap,rolesMap.entries());exports.default=_default;}});var require_isArguments2=__commonJS({\"../../node_modules/object-keys/isArguments.js\"(exports,module2){var toStr3=Object.prototype.toString;module2.exports=function(value){var str=toStr3.call(value),isArgs=str===\"[object Arguments]\";return isArgs||(isArgs=str!==\"[object Array]\"&&value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&toStr3.call(value.callee)===\"[object Function]\"),isArgs};}});var require_implementation=__commonJS({\"../../node_modules/object-keys/implementation.js\"(exports,module2){var keysShim;Object.keys||(has=Object.prototype.hasOwnProperty,toStr3=Object.prototype.toString,isArgs=require_isArguments2(),isEnumerable=Object.prototype.propertyIsEnumerable,hasDontEnumBug=!isEnumerable.call({toString:null},\"toString\"),hasProtoEnumBug=isEnumerable.call(function(){},\"prototype\"),dontEnums=[\"toString\",\"toLocaleString\",\"valueOf\",\"hasOwnProperty\",\"isPrototypeOf\",\"propertyIsEnumerable\",\"constructor\"],equalsConstructorPrototype=function(o){var ctor=o.constructor;return ctor&&ctor.prototype===o},excludedKeys={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},hasAutomationEqualityBug=function(){if(typeof window>\"u\")return !1;for(var k in window)try{if(!excludedKeys[\"$\"+k]&&has.call(window,k)&&window[k]!==null&&typeof window[k]==\"object\")try{equalsConstructorPrototype(window[k]);}catch{return !0}}catch{return !0}return !1}(),equalsConstructorPrototypeIfNotBuggy=function(o){if(typeof window>\"u\"||!hasAutomationEqualityBug)return equalsConstructorPrototype(o);try{return equalsConstructorPrototype(o)}catch{return !1}},keysShim=function(object){var isObject2=object!==null&&typeof object==\"object\",isFunction=toStr3.call(object)===\"[object Function]\",isArguments=isArgs(object),isString=isObject2&&toStr3.call(object)===\"[object String]\",theKeys=[];if(!isObject2&&!isFunction&&!isArguments)throw new TypeError(\"Object.keys called on a non-object\");var skipProto=hasProtoEnumBug&&isFunction;if(isString&&object.length>0&&!has.call(object,0))for(var i=0;i0)for(var j=0;j\"u\"||!getProto?undefined2:getProto(Uint8Array),INTRINSICS={__proto__:null,\"%AggregateError%\":typeof AggregateError>\"u\"?undefined2:AggregateError,\"%Array%\":Array,\"%ArrayBuffer%\":typeof ArrayBuffer>\"u\"?undefined2:ArrayBuffer,\"%ArrayIteratorPrototype%\":hasSymbols&&getProto?getProto([][Symbol.iterator]()):undefined2,\"%AsyncFromSyncIteratorPrototype%\":undefined2,\"%AsyncFunction%\":needsEval,\"%AsyncGenerator%\":needsEval,\"%AsyncGeneratorFunction%\":needsEval,\"%AsyncIteratorPrototype%\":needsEval,\"%Atomics%\":typeof Atomics>\"u\"?undefined2:Atomics,\"%BigInt%\":typeof BigInt>\"u\"?undefined2:BigInt,\"%BigInt64Array%\":typeof BigInt64Array>\"u\"?undefined2:BigInt64Array,\"%BigUint64Array%\":typeof BigUint64Array>\"u\"?undefined2:BigUint64Array,\"%Boolean%\":Boolean,\"%DataView%\":typeof DataView>\"u\"?undefined2:DataView,\"%Date%\":Date,\"%decodeURI%\":decodeURI,\"%decodeURIComponent%\":decodeURIComponent,\"%encodeURI%\":encodeURI,\"%encodeURIComponent%\":encodeURIComponent,\"%Error%\":$Error,\"%eval%\":eval,\"%EvalError%\":$EvalError,\"%Float32Array%\":typeof Float32Array>\"u\"?undefined2:Float32Array,\"%Float64Array%\":typeof Float64Array>\"u\"?undefined2:Float64Array,\"%FinalizationRegistry%\":typeof FinalizationRegistry>\"u\"?undefined2:FinalizationRegistry,\"%Function%\":$Function,\"%GeneratorFunction%\":needsEval,\"%Int8Array%\":typeof Int8Array>\"u\"?undefined2:Int8Array,\"%Int16Array%\":typeof Int16Array>\"u\"?undefined2:Int16Array,\"%Int32Array%\":typeof Int32Array>\"u\"?undefined2:Int32Array,\"%isFinite%\":isFinite,\"%isNaN%\":isNaN,\"%IteratorPrototype%\":hasSymbols&&getProto?getProto(getProto([][Symbol.iterator]())):undefined2,\"%JSON%\":typeof JSON==\"object\"?JSON:undefined2,\"%Map%\":typeof Map>\"u\"?undefined2:Map,\"%MapIteratorPrototype%\":typeof Map>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Map()[Symbol.iterator]()),\"%Math%\":Math,\"%Number%\":Number,\"%Object%\":Object,\"%parseFloat%\":parseFloat,\"%parseInt%\":parseInt,\"%Promise%\":typeof Promise>\"u\"?undefined2:Promise,\"%Proxy%\":typeof Proxy>\"u\"?undefined2:Proxy,\"%RangeError%\":$RangeError,\"%ReferenceError%\":$ReferenceError,\"%Reflect%\":typeof Reflect>\"u\"?undefined2:Reflect,\"%RegExp%\":RegExp,\"%Set%\":typeof Set>\"u\"?undefined2:Set,\"%SetIteratorPrototype%\":typeof Set>\"u\"||!hasSymbols||!getProto?undefined2:getProto(new Set()[Symbol.iterator]()),\"%SharedArrayBuffer%\":typeof SharedArrayBuffer>\"u\"?undefined2:SharedArrayBuffer,\"%String%\":String,\"%StringIteratorPrototype%\":hasSymbols&&getProto?getProto(\"\"[Symbol.iterator]()):undefined2,\"%Symbol%\":hasSymbols?Symbol:undefined2,\"%SyntaxError%\":$SyntaxError,\"%ThrowTypeError%\":ThrowTypeError,\"%TypedArray%\":TypedArray,\"%TypeError%\":$TypeError,\"%Uint8Array%\":typeof Uint8Array>\"u\"?undefined2:Uint8Array,\"%Uint8ClampedArray%\":typeof Uint8ClampedArray>\"u\"?undefined2:Uint8ClampedArray,\"%Uint16Array%\":typeof Uint16Array>\"u\"?undefined2:Uint16Array,\"%Uint32Array%\":typeof Uint32Array>\"u\"?undefined2:Uint32Array,\"%URIError%\":$URIError,\"%WeakMap%\":typeof WeakMap>\"u\"?undefined2:WeakMap,\"%WeakRef%\":typeof WeakRef>\"u\"?undefined2:WeakRef,\"%WeakSet%\":typeof WeakSet>\"u\"?undefined2:WeakSet};if(getProto)try{null.error;}catch(e){errorProto=getProto(getProto(e)),INTRINSICS[\"%Error.prototype%\"]=errorProto;}var errorProto,doEval=function doEval2(name){var value;if(name===\"%AsyncFunction%\")value=getEvalledConstructor(\"async function () {}\");else if(name===\"%GeneratorFunction%\")value=getEvalledConstructor(\"function* () {}\");else if(name===\"%AsyncGeneratorFunction%\")value=getEvalledConstructor(\"async function* () {}\");else if(name===\"%AsyncGenerator%\"){var fn2=doEval2(\"%AsyncGeneratorFunction%\");fn2&&(value=fn2.prototype);}else if(name===\"%AsyncIteratorPrototype%\"){var gen=doEval2(\"%AsyncGenerator%\");gen&&getProto&&(value=getProto(gen.prototype));}return INTRINSICS[name]=value,value},LEGACY_ALIASES={__proto__:null,\"%ArrayBufferPrototype%\":[\"ArrayBuffer\",\"prototype\"],\"%ArrayPrototype%\":[\"Array\",\"prototype\"],\"%ArrayProto_entries%\":[\"Array\",\"prototype\",\"entries\"],\"%ArrayProto_forEach%\":[\"Array\",\"prototype\",\"forEach\"],\"%ArrayProto_keys%\":[\"Array\",\"prototype\",\"keys\"],\"%ArrayProto_values%\":[\"Array\",\"prototype\",\"values\"],\"%AsyncFunctionPrototype%\":[\"AsyncFunction\",\"prototype\"],\"%AsyncGenerator%\":[\"AsyncGeneratorFunction\",\"prototype\"],\"%AsyncGeneratorPrototype%\":[\"AsyncGeneratorFunction\",\"prototype\",\"prototype\"],\"%BooleanPrototype%\":[\"Boolean\",\"prototype\"],\"%DataViewPrototype%\":[\"DataView\",\"prototype\"],\"%DatePrototype%\":[\"Date\",\"prototype\"],\"%ErrorPrototype%\":[\"Error\",\"prototype\"],\"%EvalErrorPrototype%\":[\"EvalError\",\"prototype\"],\"%Float32ArrayPrototype%\":[\"Float32Array\",\"prototype\"],\"%Float64ArrayPrototype%\":[\"Float64Array\",\"prototype\"],\"%FunctionPrototype%\":[\"Function\",\"prototype\"],\"%Generator%\":[\"GeneratorFunction\",\"prototype\"],\"%GeneratorPrototype%\":[\"GeneratorFunction\",\"prototype\",\"prototype\"],\"%Int8ArrayPrototype%\":[\"Int8Array\",\"prototype\"],\"%Int16ArrayPrototype%\":[\"Int16Array\",\"prototype\"],\"%Int32ArrayPrototype%\":[\"Int32Array\",\"prototype\"],\"%JSONParse%\":[\"JSON\",\"parse\"],\"%JSONStringify%\":[\"JSON\",\"stringify\"],\"%MapPrototype%\":[\"Map\",\"prototype\"],\"%NumberPrototype%\":[\"Number\",\"prototype\"],\"%ObjectPrototype%\":[\"Object\",\"prototype\"],\"%ObjProto_toString%\":[\"Object\",\"prototype\",\"toString\"],\"%ObjProto_valueOf%\":[\"Object\",\"prototype\",\"valueOf\"],\"%PromisePrototype%\":[\"Promise\",\"prototype\"],\"%PromiseProto_then%\":[\"Promise\",\"prototype\",\"then\"],\"%Promise_all%\":[\"Promise\",\"all\"],\"%Promise_reject%\":[\"Promise\",\"reject\"],\"%Promise_resolve%\":[\"Promise\",\"resolve\"],\"%RangeErrorPrototype%\":[\"RangeError\",\"prototype\"],\"%ReferenceErrorPrototype%\":[\"ReferenceError\",\"prototype\"],\"%RegExpPrototype%\":[\"RegExp\",\"prototype\"],\"%SetPrototype%\":[\"Set\",\"prototype\"],\"%SharedArrayBufferPrototype%\":[\"SharedArrayBuffer\",\"prototype\"],\"%StringPrototype%\":[\"String\",\"prototype\"],\"%SymbolPrototype%\":[\"Symbol\",\"prototype\"],\"%SyntaxErrorPrototype%\":[\"SyntaxError\",\"prototype\"],\"%TypedArrayPrototype%\":[\"TypedArray\",\"prototype\"],\"%TypeErrorPrototype%\":[\"TypeError\",\"prototype\"],\"%Uint8ArrayPrototype%\":[\"Uint8Array\",\"prototype\"],\"%Uint8ClampedArrayPrototype%\":[\"Uint8ClampedArray\",\"prototype\"],\"%Uint16ArrayPrototype%\":[\"Uint16Array\",\"prototype\"],\"%Uint32ArrayPrototype%\":[\"Uint32Array\",\"prototype\"],\"%URIErrorPrototype%\":[\"URIError\",\"prototype\"],\"%WeakMapPrototype%\":[\"WeakMap\",\"prototype\"],\"%WeakSetPrototype%\":[\"WeakSet\",\"prototype\"]},bind=require_function_bind(),hasOwn=require_hasown(),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),$exec=bind.call(Function.call,RegExp.prototype.exec),rePropName=/[^%.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|%$))/g,reEscapeChar=/\\\\(\\\\)?/g,stringToPath=function(string2){var first=$strSlice(string2,0,1),last=$strSlice(string2,-1);if(first===\"%\"&&last!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected closing `%`\");if(last===\"%\"&&first!==\"%\")throw new $SyntaxError(\"invalid intrinsic syntax, expected opening `%`\");var result=[];return $replace(string2,rePropName,function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,\"$1\"):number||match;}),result},getBaseIntrinsic=function(name,allowMissing){var intrinsicName=name,alias;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(alias=LEGACY_ALIASES[intrinsicName],intrinsicName=\"%\"+alias[0]+\"%\"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=doEval(intrinsicName)),typeof value>\"u\"&&!allowMissing)throw new $TypeError(\"intrinsic \"+name+\" exists, but is not available. Please file an issue!\");return {alias,name:intrinsicName,value}}throw new $SyntaxError(\"intrinsic \"+name+\" does not exist!\")};module2.exports=function(name,allowMissing){if(typeof name!=\"string\"||name.length===0)throw new $TypeError(\"intrinsic name must be a non-empty string\");if(arguments.length>1&&typeof allowMissing!=\"boolean\")throw new $TypeError('\"allowMissing\" argument must be a boolean');if($exec(/^%?[^%]*%?$/,name)===null)throw new $SyntaxError(\"`%` may not be present anywhere but at the beginning and end of the intrinsic name\");var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:\"\",intrinsic=getBaseIntrinsic(\"%\"+intrinsicBaseName+\"%\",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);isOwn=!!desc,isOwn&&\"get\"in desc&&!(\"originalValue\"in desc.get)?value=desc.get:value=value[part];}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value);}}return value};}});var require_es_define_property=__commonJS({\"../../node_modules/es-define-property/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$defineProperty=GetIntrinsic(\"%Object.defineProperty%\",!0)||!1;if($defineProperty)try{$defineProperty({},\"a\",{value:1});}catch{$defineProperty=!1;}module2.exports=$defineProperty;}});var require_gopd=__commonJS({\"../../node_modules/gopd/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),$gOPD=GetIntrinsic(\"%Object.getOwnPropertyDescriptor%\",!0);if($gOPD)try{$gOPD([],\"length\");}catch{$gOPD=null;}module2.exports=$gOPD;}});var require_define_data_property=__commonJS({\"../../node_modules/define-data-property/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),$SyntaxError=require_syntax(),$TypeError=require_type(),gopd=require_gopd();module2.exports=function(obj,property,value){if(!obj||typeof obj!=\"object\"&&typeof obj!=\"function\")throw new $TypeError(\"`obj` must be an object or a function`\");if(typeof property!=\"string\"&&typeof property!=\"symbol\")throw new $TypeError(\"`property` must be a string or a symbol`\");if(arguments.length>3&&typeof arguments[3]!=\"boolean\"&&arguments[3]!==null)throw new $TypeError(\"`nonEnumerable`, if provided, must be a boolean or null\");if(arguments.length>4&&typeof arguments[4]!=\"boolean\"&&arguments[4]!==null)throw new $TypeError(\"`nonWritable`, if provided, must be a boolean or null\");if(arguments.length>5&&typeof arguments[5]!=\"boolean\"&&arguments[5]!==null)throw new $TypeError(\"`nonConfigurable`, if provided, must be a boolean or null\");if(arguments.length>6&&typeof arguments[6]!=\"boolean\")throw new $TypeError(\"`loose`, if provided, must be a boolean\");var nonEnumerable=arguments.length>3?arguments[3]:null,nonWritable=arguments.length>4?arguments[4]:null,nonConfigurable=arguments.length>5?arguments[5]:null,loose=arguments.length>6?arguments[6]:!1,desc=!!gopd&&gopd(obj,property);if($defineProperty)$defineProperty(obj,property,{configurable:nonConfigurable===null&&desc?desc.configurable:!nonConfigurable,enumerable:nonEnumerable===null&&desc?desc.enumerable:!nonEnumerable,value,writable:nonWritable===null&&desc?desc.writable:!nonWritable});else if(loose||!nonEnumerable&&!nonWritable&&!nonConfigurable)obj[property]=value;else throw new $SyntaxError(\"This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.\")};}});var require_has_property_descriptors=__commonJS({\"../../node_modules/has-property-descriptors/index.js\"(exports,module2){var $defineProperty=require_es_define_property(),hasPropertyDescriptors=function(){return !!$defineProperty};hasPropertyDescriptors.hasArrayLengthDefineBug=function(){if(!$defineProperty)return null;try{return $defineProperty([],\"length\",{value:1}).length!==1}catch{return !0}};module2.exports=hasPropertyDescriptors;}});var require_define_properties=__commonJS({\"../../node_modules/define-properties/index.js\"(exports,module2){var keys2=require_object_keys(),hasSymbols=typeof Symbol==\"function\"&&typeof Symbol(\"foo\")==\"symbol\",toStr3=Object.prototype.toString,concat=Array.prototype.concat,defineDataProperty=require_define_data_property(),isFunction=function(fn2){return typeof fn2==\"function\"&&toStr3.call(fn2)===\"[object Function]\"},supportsDescriptors=require_has_property_descriptors()(),defineProperty=function(object,name,value,predicate){if(name in object){if(predicate===!0){if(object[name]===value)return}else if(!isFunction(predicate)||!predicate())return}supportsDescriptors?defineDataProperty(object,name,value,!0):defineDataProperty(object,name,value);},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys2(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i4294967295||$floor(length)!==length)throw new $TypeError(\"`length` must be a positive 32-bit integer\");var loose=arguments.length>2&&!!arguments[2],functionLengthIsConfigurable=!0,functionLengthIsWritable=!0;if(\"length\"in fn2&&gOPD){var desc=gOPD(fn2,\"length\");desc&&!desc.configurable&&(functionLengthIsConfigurable=!1),desc&&!desc.writable&&(functionLengthIsWritable=!1);}return (functionLengthIsConfigurable||functionLengthIsWritable||!loose)&&(hasDescriptors?define2(fn2,\"length\",length,!0,!0):define2(fn2,\"length\",length)),fn2};}});var require_call_bind=__commonJS({\"../../node_modules/call-bind/index.js\"(exports,module2){var bind=require_function_bind(),GetIntrinsic=require_get_intrinsic(),setFunctionLength=require_set_function_length(),$TypeError=require_type(),$apply=GetIntrinsic(\"%Function.prototype.apply%\"),$call=GetIntrinsic(\"%Function.prototype.call%\"),$reflectApply=GetIntrinsic(\"%Reflect.apply%\",!0)||bind.call($call,$apply),$defineProperty=require_es_define_property(),$max=GetIntrinsic(\"%Math.max%\");module2.exports=function(originalFunction){if(typeof originalFunction!=\"function\")throw new $TypeError(\"a function is required\");var func=$reflectApply(bind,$call,arguments);return setFunctionLength(func,1+$max(0,originalFunction.length-(arguments.length-1)),!0)};var applyBind=function(){return $reflectApply(bind,$apply,arguments)};$defineProperty?$defineProperty(module2.exports,\"apply\",{value:applyBind}):module2.exports.apply=applyBind;}});var require_callBound=__commonJS({\"../../node_modules/call-bind/callBound.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBind=require_call_bind(),$indexOf=callBind(GetIntrinsic(\"String.prototype.indexOf\"));module2.exports=function(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return typeof intrinsic==\"function\"&&$indexOf(name,\".prototype.\")>-1?callBind(intrinsic):intrinsic};}});var require_implementation3=__commonJS({\"../../node_modules/object.assign/implementation.js\"(exports,module2){var objectKeys=require_object_keys(),hasSymbols=require_shams()(),callBound=require_callBound(),toObject=Object,$push=callBound(\"Array.prototype.push\"),$propIsEnumerable=callBound(\"Object.prototype.propertyIsEnumerable\"),originalGetSymbols=hasSymbols?Object.getOwnPropertySymbols:null;module2.exports=function(target,source1){if(target==null)throw new TypeError(\"target must be an object\");var to=toObject(target);if(arguments.length===1)return to;for(var s=1;s2&&!!arguments[2];return (!loose||functionsHaveConfigurableNames)&&(hasDescriptors?define2(fn2,\"name\",name,!0,!0):define2(fn2,\"name\",name)),fn2};}});var require_implementation4=__commonJS({\"../../node_modules/regexp.prototype.flags/implementation.js\"(exports,module2){var setFunctionName=require_set_function_name(),$TypeError=require_type(),$Object=Object;module2.exports=setFunctionName(function(){if(this==null||this!==$Object(this))throw new $TypeError(\"RegExp.prototype.flags getter called on non-object\");var result=\"\";return this.hasIndices&&(result+=\"d\"),this.global&&(result+=\"g\"),this.ignoreCase&&(result+=\"i\"),this.multiline&&(result+=\"m\"),this.dotAll&&(result+=\"s\"),this.unicode&&(result+=\"u\"),this.unicodeSets&&(result+=\"v\"),this.sticky&&(result+=\"y\"),result},\"get flags\",!0);}});var require_polyfill2=__commonJS({\"../../node_modules/regexp.prototype.flags/polyfill.js\"(exports,module2){var implementation=require_implementation4(),supportsDescriptors=require_define_properties().supportsDescriptors,$gOPD=Object.getOwnPropertyDescriptor;module2.exports=function(){if(supportsDescriptors&&/a/mig.flags===\"gim\"){var descriptor=$gOPD(RegExp.prototype,\"flags\");if(descriptor&&typeof descriptor.get==\"function\"&&typeof RegExp.prototype.dotAll==\"boolean\"&&typeof RegExp.prototype.hasIndices==\"boolean\"){var calls=\"\",o={};if(Object.defineProperty(o,\"hasIndices\",{get:function(){calls+=\"d\";}}),Object.defineProperty(o,\"sticky\",{get:function(){calls+=\"y\";}}),calls===\"dy\")return descriptor.get}}return implementation};}});var require_shim2=__commonJS({\"../../node_modules/regexp.prototype.flags/shim.js\"(exports,module2){var supportsDescriptors=require_define_properties().supportsDescriptors,getPolyfill=require_polyfill2(),gOPD=Object.getOwnPropertyDescriptor,defineProperty=Object.defineProperty,TypeErr=TypeError,getProto=Object.getPrototypeOf,regex=/a/;module2.exports=function(){if(!supportsDescriptors||!getProto)throw new TypeErr(\"RegExp.prototype.flags requires a true ES5 environment that supports property descriptors\");var polyfill=getPolyfill(),proto=getProto(regex),descriptor=gOPD(proto,\"flags\");return (!descriptor||descriptor.get!==polyfill)&&defineProperty(proto,\"flags\",{configurable:!0,enumerable:!1,get:polyfill}),polyfill};}});var require_regexp_prototype=__commonJS({\"../../node_modules/regexp.prototype.flags/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation4(),getPolyfill=require_polyfill2(),shim=require_shim2(),flagsBound=callBind(getPolyfill());define2(flagsBound,{getPolyfill,implementation,shim});module2.exports=flagsBound;}});var require_shams2=__commonJS({\"../../node_modules/has-tostringtag/shams.js\"(exports,module2){var hasSymbols=require_shams();module2.exports=function(){return hasSymbols()&&!!Symbol.toStringTag};}});var require_is_arguments=__commonJS({\"../../node_modules/is-arguments/index.js\"(exports,module2){var hasToStringTag=require_shams2()(),callBound=require_callBound(),$toString=callBound(\"Object.prototype.toString\"),isStandardArguments=function(value){return hasToStringTag&&value&&typeof value==\"object\"&&Symbol.toStringTag in value?!1:$toString(value)===\"[object Arguments]\"},isLegacyArguments=function(value){return isStandardArguments(value)?!0:value!==null&&typeof value==\"object\"&&typeof value.length==\"number\"&&value.length>=0&&$toString(value)!==\"[object Array]\"&&$toString(value.callee)===\"[object Function]\"},supportsStandardArguments=function(){return isStandardArguments(arguments)}();isStandardArguments.isLegacyArguments=isLegacyArguments;module2.exports=supportsStandardArguments?isStandardArguments:isLegacyArguments;}});var require_util=__commonJS({\"(disabled):../../node_modules/object-inspect/util.inspect\"(){}});var require_object_inspect=__commonJS({\"../../node_modules/object-inspect/index.js\"(exports,module2){var hasMap=typeof Map==\"function\"&&Map.prototype,mapSizeDescriptor=Object.getOwnPropertyDescriptor&&hasMap?Object.getOwnPropertyDescriptor(Map.prototype,\"size\"):null,mapSize=hasMap&&mapSizeDescriptor&&typeof mapSizeDescriptor.get==\"function\"?mapSizeDescriptor.get:null,mapForEach=hasMap&&Map.prototype.forEach,hasSet=typeof Set==\"function\"&&Set.prototype,setSizeDescriptor=Object.getOwnPropertyDescriptor&&hasSet?Object.getOwnPropertyDescriptor(Set.prototype,\"size\"):null,setSize=hasSet&&setSizeDescriptor&&typeof setSizeDescriptor.get==\"function\"?setSizeDescriptor.get:null,setForEach=hasSet&&Set.prototype.forEach,hasWeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype,weakMapHas=hasWeakMap?WeakMap.prototype.has:null,hasWeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype,weakSetHas=hasWeakSet?WeakSet.prototype.has:null,hasWeakRef=typeof WeakRef==\"function\"&&WeakRef.prototype,weakRefDeref=hasWeakRef?WeakRef.prototype.deref:null,booleanValueOf=Boolean.prototype.valueOf,objectToString=Object.prototype.toString,functionToString2=Function.prototype.toString,$match=String.prototype.match,$slice=String.prototype.slice,$replace=String.prototype.replace,$toUpperCase=String.prototype.toUpperCase,$toLowerCase=String.prototype.toLowerCase,$test=RegExp.prototype.test,$concat=Array.prototype.concat,$join=Array.prototype.join,$arrSlice=Array.prototype.slice,$floor=Math.floor,bigIntValueOf=typeof BigInt==\"function\"?BigInt.prototype.valueOf:null,gOPS=Object.getOwnPropertySymbols,symToString=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?Symbol.prototype.toString:null,hasShammedSymbols=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"object\",toStringTag=typeof Symbol==\"function\"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===hasShammedSymbols||!0)?Symbol.toStringTag:null,isEnumerable=Object.prototype.propertyIsEnumerable,gPO=(typeof Reflect==\"function\"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(O){return O.__proto__}:null);function addNumericSeparator(num,str){if(num===1/0||num===-1/0||num!==num||num&&num>-1e3&&num<1e3||$test.call(/e/,str))return str;var sepRegex=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof num==\"number\"){var int=num<0?-$floor(-num):$floor(num);if(int!==num){var intStr=String(int),dec=$slice.call(str,intStr.length+1);return $replace.call(intStr,sepRegex,\"$&_\")+\".\"+$replace.call($replace.call(dec,/([0-9]{3})/g,\"$&_\"),/_$/,\"\")}}return $replace.call(str,sepRegex,\"$&_\")}var utilInspect=require_util(),inspectCustom=utilInspect.custom,inspectSymbol=isSymbol(inspectCustom)?inspectCustom:null;module2.exports=function inspect_(obj,options,depth,seen){var opts=options||{};if(has(opts,\"quoteStyle\")&&opts.quoteStyle!==\"single\"&&opts.quoteStyle!==\"double\")throw new TypeError('option \"quoteStyle\" must be \"single\" or \"double\"');if(has(opts,\"maxStringLength\")&&(typeof opts.maxStringLength==\"number\"?opts.maxStringLength<0&&opts.maxStringLength!==1/0:opts.maxStringLength!==null))throw new TypeError('option \"maxStringLength\", if provided, must be a positive integer, Infinity, or `null`');var customInspect=has(opts,\"customInspect\")?opts.customInspect:!0;if(typeof customInspect!=\"boolean\"&&customInspect!==\"symbol\")throw new TypeError(\"option \\\"customInspect\\\", if provided, must be `true`, `false`, or `'symbol'`\");if(has(opts,\"indent\")&&opts.indent!==null&&opts.indent!==\"\t\"&&!(parseInt(opts.indent,10)===opts.indent&&opts.indent>0))throw new TypeError('option \"indent\" must be \"\\\\t\", an integer > 0, or `null`');if(has(opts,\"numericSeparator\")&&typeof opts.numericSeparator!=\"boolean\")throw new TypeError('option \"numericSeparator\", if provided, must be `true` or `false`');var numericSeparator=opts.numericSeparator;if(typeof obj>\"u\")return \"undefined\";if(obj===null)return \"null\";if(typeof obj==\"boolean\")return obj?\"true\":\"false\";if(typeof obj==\"string\")return inspectString(obj,opts);if(typeof obj==\"number\"){if(obj===0)return 1/0/obj>0?\"0\":\"-0\";var str=String(obj);return numericSeparator?addNumericSeparator(obj,str):str}if(typeof obj==\"bigint\"){var bigIntStr=String(obj)+\"n\";return numericSeparator?addNumericSeparator(obj,bigIntStr):bigIntStr}var maxDepth=typeof opts.depth>\"u\"?5:opts.depth;if(typeof depth>\"u\"&&(depth=0),depth>=maxDepth&&maxDepth>0&&typeof obj==\"object\")return isArray(obj)?\"[Array]\":\"[Object]\";var indent=getIndent(opts,depth);if(typeof seen>\"u\")seen=[];else if(indexOf(seen,obj)>=0)return \"[Circular]\";function inspect3(value,from,noIndent){if(from&&(seen=$arrSlice.call(seen),seen.push(from)),noIndent){var newOpts={depth:opts.depth};return has(opts,\"quoteStyle\")&&(newOpts.quoteStyle=opts.quoteStyle),inspect_(value,newOpts,depth+1,seen)}return inspect_(value,opts,depth+1,seen)}if(typeof obj==\"function\"&&!isRegExp(obj)){var name=nameOf(obj),keys2=arrObjKeys(obj,inspect3);return \"[Function\"+(name?\": \"+name:\" (anonymous)\")+\"]\"+(keys2.length>0?\" { \"+$join.call(keys2,\", \")+\" }\":\"\")}if(isSymbol(obj)){var symString=hasShammedSymbols?$replace.call(String(obj),/^(Symbol\\(.*\\))_[^)]*$/,\"$1\"):symToString.call(obj);return typeof obj==\"object\"&&!hasShammedSymbols?markBoxed(symString):symString}if(isElement5(obj)){for(var s=\"<\"+$toLowerCase.call(String(obj.nodeName)),attrs=obj.attributes||[],i=0;i\",obj.childNodes&&obj.childNodes.length&&(s+=\"...\"),s+=\"\",s}if(isArray(obj)){if(obj.length===0)return \"[]\";var xs=arrObjKeys(obj,inspect3);return indent&&!singleLineValues(xs)?\"[\"+indentedJoin(xs,indent)+\"]\":\"[ \"+$join.call(xs,\", \")+\" ]\"}if(isError(obj)){var parts=arrObjKeys(obj,inspect3);return !(\"cause\"in Error.prototype)&&\"cause\"in obj&&!isEnumerable.call(obj,\"cause\")?\"{ [\"+String(obj)+\"] \"+$join.call($concat.call(\"[cause]: \"+inspect3(obj.cause),parts),\", \")+\" }\":parts.length===0?\"[\"+String(obj)+\"]\":\"{ [\"+String(obj)+\"] \"+$join.call(parts,\", \")+\" }\"}if(typeof obj==\"object\"&&customInspect){if(inspectSymbol&&typeof obj[inspectSymbol]==\"function\"&&utilInspect)return utilInspect(obj,{depth:maxDepth-depth});if(customInspect!==\"symbol\"&&typeof obj.inspect==\"function\")return obj.inspect()}if(isMap(obj)){var mapParts=[];return mapForEach&&mapForEach.call(obj,function(value,key){mapParts.push(inspect3(key,obj,!0)+\" => \"+inspect3(value,obj));}),collectionOf(\"Map\",mapSize.call(obj),mapParts,indent)}if(isSet(obj)){var setParts=[];return setForEach&&setForEach.call(obj,function(value){setParts.push(inspect3(value,obj));}),collectionOf(\"Set\",setSize.call(obj),setParts,indent)}if(isWeakMap(obj))return weakCollectionOf(\"WeakMap\");if(isWeakSet(obj))return weakCollectionOf(\"WeakSet\");if(isWeakRef(obj))return weakCollectionOf(\"WeakRef\");if(isNumber(obj))return markBoxed(inspect3(Number(obj)));if(isBigInt(obj))return markBoxed(inspect3(bigIntValueOf.call(obj)));if(isBoolean(obj))return markBoxed(booleanValueOf.call(obj));if(isString(obj))return markBoxed(inspect3(String(obj)));if(typeof window<\"u\"&&obj===window)return \"{ [object Window] }\";if(obj===global)return \"{ [object globalThis] }\";if(!isDate(obj)&&!isRegExp(obj)){var ys=arrObjKeys(obj,inspect3),isPlainObject=gPO?gPO(obj)===Object.prototype:obj instanceof Object||obj.constructor===Object,protoTag=obj instanceof Object?\"\":\"null prototype\",stringTag=!isPlainObject&&toStringTag&&Object(obj)===obj&&toStringTag in obj?$slice.call(toStr3(obj),8,-1):protoTag?\"Object\":\"\",constructorTag=isPlainObject||typeof obj.constructor!=\"function\"?\"\":obj.constructor.name?obj.constructor.name+\" \":\"\",tag=constructorTag+(stringTag||protoTag?\"[\"+$join.call($concat.call([],stringTag||[],protoTag||[]),\": \")+\"] \":\"\");return ys.length===0?tag+\"{}\":indent?tag+\"{\"+indentedJoin(ys,indent)+\"}\":tag+\"{ \"+$join.call(ys,\", \")+\" }\"}return String(obj)};function wrapQuotes(s,defaultStyle,opts){var quoteChar=(opts.quoteStyle||defaultStyle)===\"double\"?'\"':\"'\";return quoteChar+s+quoteChar}function quote(s){return $replace.call(String(s),/\"/g,\""\")}function isArray(obj){return toStr3(obj)===\"[object Array]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isDate(obj){return toStr3(obj)===\"[object Date]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isRegExp(obj){return toStr3(obj)===\"[object RegExp]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isError(obj){return toStr3(obj)===\"[object Error]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isString(obj){return toStr3(obj)===\"[object String]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isNumber(obj){return toStr3(obj)===\"[object Number]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isBoolean(obj){return toStr3(obj)===\"[object Boolean]\"&&(!toStringTag||!(typeof obj==\"object\"&&toStringTag in obj))}function isSymbol(obj){if(hasShammedSymbols)return obj&&typeof obj==\"object\"&&obj instanceof Symbol;if(typeof obj==\"symbol\")return !0;if(!obj||typeof obj!=\"object\"||!symToString)return !1;try{return symToString.call(obj),!0}catch{}return !1}function isBigInt(obj){if(!obj||typeof obj!=\"object\"||!bigIntValueOf)return !1;try{return bigIntValueOf.call(obj),!0}catch{}return !1}var hasOwn=Object.prototype.hasOwnProperty||function(key){return key in this};function has(obj,key){return hasOwn.call(obj,key)}function toStr3(obj){return objectToString.call(obj)}function nameOf(f){if(f.name)return f.name;var m2=$match.call(functionToString2.call(f),/^function\\s*([\\w$]+)/);return m2?m2[1]:null}function indexOf(xs,x){if(xs.indexOf)return xs.indexOf(x);for(var i=0,l=xs.length;iopts.maxStringLength){var remaining=str.length-opts.maxStringLength,trailer=\"... \"+remaining+\" more character\"+(remaining>1?\"s\":\"\");return inspectString($slice.call(str,0,opts.maxStringLength),opts)+trailer}var s=$replace.call($replace.call(str,/(['\\\\])/g,\"\\\\$1\"),/[\\x00-\\x1f]/g,lowbyte);return wrapQuotes(s,\"single\",opts)}function lowbyte(c){var n=c.charCodeAt(0),x={8:\"b\",9:\"t\",10:\"n\",12:\"f\",13:\"r\"}[n];return x?\"\\\\\"+x:\"\\\\x\"+(n<16?\"0\":\"\")+$toUpperCase.call(n.toString(16))}function markBoxed(str){return \"Object(\"+str+\")\"}function weakCollectionOf(type3){return type3+\" { ? }\"}function collectionOf(type3,size,entries,indent){var joinedEntries=indent?indentedJoin(entries,indent):$join.call(entries,\", \");return type3+\" (\"+size+\") {\"+joinedEntries+\"}\"}function singleLineValues(xs){for(var i=0;i=0)return !1;return !0}function getIndent(opts,depth){var baseIndent;if(opts.indent===\"\t\")baseIndent=\"\t\";else if(typeof opts.indent==\"number\"&&opts.indent>0)baseIndent=$join.call(Array(opts.indent+1),\" \");else return null;return {base:baseIndent,prev:$join.call(Array(depth+1),baseIndent)}}function indentedJoin(xs,indent){if(xs.length===0)return \"\";var lineJoiner=`\n`+indent.prev+indent.base;return lineJoiner+$join.call(xs,\",\"+lineJoiner)+`\n`+indent.prev}function arrObjKeys(obj,inspect3){var isArr=isArray(obj),xs=[];if(isArr){xs.length=obj.length;for(var i=0;i=length)return index+1;var first=$charCodeAt(S,index);if(first<55296||first>56319)return index+1;var second=$charCodeAt(S,index+1);return second<56320||second>57343?index+1:index+2},getArrayIterator=function(arraylike){var i=0;return {next:function(){var done=i>=arraylike.length,value;return done||(value=arraylike[i],i+=1),{done,value}}}},getNonCollectionIterator=function(iterable,noPrimordialCollections){if(isArray(iterable)||isArguments(iterable))return getArrayIterator(iterable);if(isString(iterable)){var i=0;return {next:function(){var nextIndex=advanceStringIndex(iterable,i),value=$stringSlice(iterable,i,nextIndex);return i=nextIndex,{done:nextIndex>iterable.length,value}}}}if(noPrimordialCollections&&typeof iterable[\"_es6-shim iterator_\"]<\"u\")return iterable[\"_es6-shim iterator_\"]()},!$Map&&!$Set?module2.exports=function(iterable){if(iterable!=null)return getNonCollectionIterator(iterable,!0)}:(isMap=require_is_map(),isSet=require_is_set(),$mapForEach=callBound(\"Map.prototype.forEach\",!0),$setForEach=callBound(\"Set.prototype.forEach\",!0),(typeof process>\"u\"||!process.versions||!process.versions.node)&&($mapIterator=callBound(\"Map.prototype.iterator\",!0),$setIterator=callBound(\"Set.prototype.iterator\",!0)),$mapAtAtIterator=callBound(\"Map.prototype.@@iterator\",!0)||callBound(\"Map.prototype._es6-shim iterator_\",!0),$setAtAtIterator=callBound(\"Set.prototype.@@iterator\",!0)||callBound(\"Set.prototype._es6-shim iterator_\",!0),getCollectionIterator=function(iterable){if(isMap(iterable)){if($mapIterator)return getStopIterationIterator($mapIterator(iterable));if($mapAtAtIterator)return $mapAtAtIterator(iterable);if($mapForEach){var entries=[];return $mapForEach(iterable,function(v2,k){$arrayPush(entries,[k,v2]);}),getArrayIterator(entries)}}if(isSet(iterable)){if($setIterator)return getStopIterationIterator($setIterator(iterable));if($setAtAtIterator)return $setAtAtIterator(iterable);if($setForEach){var values=[];return $setForEach(iterable,function(v2){$arrayPush(values,v2);}),getArrayIterator(values)}}},module2.exports=function(iterable){return getCollectionIterator(iterable)||getNonCollectionIterator(iterable)}));var $iterator,isArray,isString,GetIntrinsic,$Map,$Set,callBound,$arrayPush,$charCodeAt,$stringSlice,advanceStringIndex,getArrayIterator,getNonCollectionIterator,isMap,isSet,$mapForEach,$setForEach,$mapIterator,$setIterator,$mapAtAtIterator,$setAtAtIterator,getCollectionIterator;}});var require_implementation5=__commonJS({\"../../node_modules/object-is/implementation.js\"(exports,module2){var numberIsNaN=function(value){return value!==value};module2.exports=function(a,b2){return a===0&&b2===0?1/a===1/b2:!!(a===b2||numberIsNaN(a)&&numberIsNaN(b2))};}});var require_polyfill3=__commonJS({\"../../node_modules/object-is/polyfill.js\"(exports,module2){var implementation=require_implementation5();module2.exports=function(){return typeof Object.is==\"function\"?Object.is:implementation};}});var require_shim3=__commonJS({\"../../node_modules/object-is/shim.js\"(exports,module2){var getPolyfill=require_polyfill3(),define2=require_define_properties();module2.exports=function(){var polyfill=getPolyfill();return define2(Object,{is:polyfill},{is:function(){return Object.is!==polyfill}}),polyfill};}});var require_object_is=__commonJS({\"../../node_modules/object-is/index.js\"(exports,module2){var define2=require_define_properties(),callBind=require_call_bind(),implementation=require_implementation5(),getPolyfill=require_polyfill3(),shim=require_shim3(),polyfill=callBind(getPolyfill(),Object);define2(polyfill,{getPolyfill,implementation,shim});module2.exports=polyfill;}});var require_is_array_buffer=__commonJS({\"../../node_modules/is-array-buffer/index.js\"(exports,module2){var callBind=require_call_bind(),callBound=require_callBound(),GetIntrinsic=require_get_intrinsic(),$ArrayBuffer=GetIntrinsic(\"%ArrayBuffer%\",!0),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),$toString=callBound(\"Object.prototype.toString\"),abSlice=!!$ArrayBuffer&&!$byteLength&&new $ArrayBuffer(0).slice,$abSlice=!!abSlice&&callBind(abSlice);module2.exports=$byteLength||$abSlice?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength?$byteLength(obj):$abSlice(obj,0),!0}catch{return !1}}:$ArrayBuffer?function(obj){return $toString(obj)===\"[object ArrayBuffer]\"}:function(obj){return !1};}});var require_is_date_object=__commonJS({\"../../node_modules/is-date-object/index.js\"(exports,module2){var getDay=Date.prototype.getDay,tryDateObject=function(value){try{return getDay.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,dateClass=\"[object Date]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value!=\"object\"||value===null?!1:hasToStringTag?tryDateObject(value):toStr3.call(value)===dateClass};}});var require_is_regex=__commonJS({\"../../node_modules/is-regex/index.js\"(exports,module2){var callBound=require_callBound(),hasToStringTag=require_shams2()(),has,$exec,isRegexMarker,badStringifier;hasToStringTag&&(has=callBound(\"Object.prototype.hasOwnProperty\"),$exec=callBound(\"RegExp.prototype.exec\"),isRegexMarker={},throwRegexMarker=function(){throw isRegexMarker},badStringifier={toString:throwRegexMarker,valueOf:throwRegexMarker},typeof Symbol.toPrimitive==\"symbol\"&&(badStringifier[Symbol.toPrimitive]=throwRegexMarker));var throwRegexMarker,$toString=callBound(\"Object.prototype.toString\"),gOPD=Object.getOwnPropertyDescriptor,regexClass=\"[object RegExp]\";module2.exports=hasToStringTag?function(value){if(!value||typeof value!=\"object\")return !1;var descriptor=gOPD(value,\"lastIndex\"),hasLastIndexDataProperty=descriptor&&has(descriptor,\"value\");if(!hasLastIndexDataProperty)return !1;try{$exec(value,badStringifier);}catch(e){return e===isRegexMarker}}:function(value){return !value||typeof value!=\"object\"&&typeof value!=\"function\"?!1:$toString(value)===regexClass};}});var require_is_shared_array_buffer=__commonJS({\"../../node_modules/is-shared-array-buffer/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0);module2.exports=$byteLength?function(obj){if(!obj||typeof obj!=\"object\")return !1;try{return $byteLength(obj),!0}catch{return !1}}:function(obj){return !1};}});var require_is_number_object=__commonJS({\"../../node_modules/is-number-object/index.js\"(exports,module2){var numToStr=Number.prototype.toString,tryNumberObject=function(value){try{return numToStr.call(value),!0}catch{return !1}},toStr3=Object.prototype.toString,numClass=\"[object Number]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"number\"?!0:typeof value!=\"object\"?!1:hasToStringTag?tryNumberObject(value):toStr3.call(value)===numClass};}});var require_is_boolean_object=__commonJS({\"../../node_modules/is-boolean-object/index.js\"(exports,module2){var callBound=require_callBound(),$boolToStr=callBound(\"Boolean.prototype.toString\"),$toString=callBound(\"Object.prototype.toString\"),tryBooleanObject=function(value){try{return $boolToStr(value),!0}catch{return !1}},boolClass=\"[object Boolean]\",hasToStringTag=require_shams2()();module2.exports=function(value){return typeof value==\"boolean\"?!0:value===null||typeof value!=\"object\"?!1:hasToStringTag&&Symbol.toStringTag in value?tryBooleanObject(value):$toString(value)===boolClass};}});var require_is_symbol=__commonJS({\"../../node_modules/is-symbol/index.js\"(exports,module2){var toStr3=Object.prototype.toString,hasSymbols=require_has_symbols()();hasSymbols?(symToStr=Symbol.prototype.toString,symStringRegex=/^Symbol\\(.*\\)$/,isSymbolObject=function(value){return typeof value.valueOf()!=\"symbol\"?!1:symStringRegex.test(symToStr.call(value))},module2.exports=function(value){if(typeof value==\"symbol\")return !0;if(toStr3.call(value)!==\"[object Symbol]\")return !1;try{return isSymbolObject(value)}catch{return !1}}):module2.exports=function(value){return !1};var symToStr,symStringRegex,isSymbolObject;}});var require_has_bigints=__commonJS({\"../../node_modules/has-bigints/index.js\"(exports,module2){var $BigInt=typeof BigInt<\"u\"&&BigInt;module2.exports=function(){return typeof $BigInt==\"function\"&&typeof BigInt==\"function\"&&typeof $BigInt(42)==\"bigint\"&&typeof BigInt(42)==\"bigint\"};}});var require_is_bigint=__commonJS({\"../../node_modules/is-bigint/index.js\"(exports,module2){var hasBigInts=require_has_bigints()();hasBigInts?(bigIntValueOf=BigInt.prototype.valueOf,tryBigInt=function(value){try{return bigIntValueOf.call(value),!0}catch{}return !1},module2.exports=function(value){return value===null||typeof value>\"u\"||typeof value==\"boolean\"||typeof value==\"string\"||typeof value==\"number\"||typeof value==\"symbol\"||typeof value==\"function\"?!1:typeof value==\"bigint\"?!0:tryBigInt(value)}):module2.exports=function(value){return !1};var bigIntValueOf,tryBigInt;}});var require_which_boxed_primitive=__commonJS({\"../../node_modules/which-boxed-primitive/index.js\"(exports,module2){var isString=require_is_string(),isNumber=require_is_number_object(),isBoolean=require_is_boolean_object(),isSymbol=require_is_symbol(),isBigInt=require_is_bigint();module2.exports=function(value){if(value==null||typeof value!=\"object\"&&typeof value!=\"function\")return null;if(isString(value))return \"String\";if(isNumber(value))return \"Number\";if(isBoolean(value))return \"Boolean\";if(isSymbol(value))return \"Symbol\";if(isBigInt(value))return \"BigInt\"};}});var require_is_weakmap=__commonJS({\"../../node_modules/is-weakmap/index.js\"(exports,module2){var $WeakMap=typeof WeakMap==\"function\"&&WeakMap.prototype?WeakMap:null,$WeakSet=typeof WeakSet==\"function\"&&WeakSet.prototype?WeakSet:null,exported;$WeakMap||(exported=function(x){return !1});var $mapHas=$WeakMap?$WeakMap.prototype.has:null,$setHas=$WeakSet?$WeakSet.prototype.has:null;!exported&&!$mapHas&&(exported=function(x){return !1});module2.exports=exported||function(x){if(!x||typeof x!=\"object\")return !1;try{if($mapHas.call(x,$mapHas),$setHas)try{$setHas.call(x,$setHas);}catch{return !0}return x instanceof $WeakMap}catch{}return !1};}});var require_is_weakset=__commonJS({\"../../node_modules/is-weakset/index.js\"(exports,module2){var GetIntrinsic=require_get_intrinsic(),callBound=require_callBound(),$WeakSet=GetIntrinsic(\"%WeakSet%\",!0),$setHas=callBound(\"WeakSet.prototype.has\",!0);$setHas?($mapHas=callBound(\"WeakMap.prototype.has\",!0),module2.exports=function(x){if(!x||typeof x!=\"object\")return !1;try{if($setHas(x,$setHas),$mapHas)try{$mapHas(x,$mapHas);}catch{return !0}return x instanceof $WeakSet}catch{}return !1}):module2.exports=function(x){return !1};var $mapHas;}});var require_which_collection=__commonJS({\"../../node_modules/which-collection/index.js\"(exports,module2){var isMap=require_is_map(),isSet=require_is_set(),isWeakMap=require_is_weakmap(),isWeakSet=require_is_weakset();module2.exports=function(value){if(value&&typeof value==\"object\"){if(isMap(value))return \"Map\";if(isSet(value))return \"Set\";if(isWeakMap(value))return \"WeakMap\";if(isWeakSet(value))return \"WeakSet\"}return !1};}});var require_is_callable=__commonJS({\"../../node_modules/is-callable/index.js\"(exports,module2){var fnToStr=Function.prototype.toString,reflectApply=typeof Reflect==\"object\"&&Reflect!==null&&Reflect.apply,badArrayLike,isCallableMarker;if(typeof reflectApply==\"function\"&&typeof Object.defineProperty==\"function\")try{badArrayLike=Object.defineProperty({},\"length\",{get:function(){throw isCallableMarker}}),isCallableMarker={},reflectApply(function(){throw 42},null,badArrayLike);}catch(_){_!==isCallableMarker&&(reflectApply=null);}else reflectApply=null;var constructorRegex=/^\\s*class\\b/,isES6ClassFn=function(value){try{var fnStr=fnToStr.call(value);return constructorRegex.test(fnStr)}catch{return !1}},tryFunctionObject=function(value){try{return isES6ClassFn(value)?!1:(fnToStr.call(value),!0)}catch{return !1}},toStr3=Object.prototype.toString,objectClass=\"[object Object]\",fnClass=\"[object Function]\",genClass=\"[object GeneratorFunction]\",ddaClass=\"[object HTMLAllCollection]\",ddaClass2=\"[object HTML document.all class]\",ddaClass3=\"[object HTMLCollection]\",hasToStringTag=typeof Symbol==\"function\"&&!!Symbol.toStringTag,isIE68=!(0 in[,]),isDDA=function(){return !1};typeof document==\"object\"&&(all=document.all,toStr3.call(all)===toStr3.call(document.all)&&(isDDA=function(value){if((isIE68||!value)&&(typeof value>\"u\"||typeof value==\"object\"))try{var str=toStr3.call(value);return (str===ddaClass||str===ddaClass2||str===ddaClass3||str===objectClass)&&value(\"\")==null}catch{}return !1}));var all;module2.exports=reflectApply?function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;try{reflectApply(value,null,badArrayLike);}catch(e){if(e!==isCallableMarker)return !1}return !isES6ClassFn(value)&&tryFunctionObject(value)}:function(value){if(isDDA(value))return !0;if(!value||typeof value!=\"function\"&&typeof value!=\"object\")return !1;if(hasToStringTag)return tryFunctionObject(value);if(isES6ClassFn(value))return !1;var strClass=toStr3.call(value);return strClass!==fnClass&&strClass!==genClass&&!/^\\[object HTML/.test(strClass)?!1:tryFunctionObject(value)};}});var require_for_each=__commonJS({\"../../node_modules/for-each/index.js\"(exports,module2){var isCallable3=require_is_callable(),toStr3=Object.prototype.toString,hasOwnProperty=Object.prototype.hasOwnProperty,forEachArray=function(array,iterator,receiver){for(var i=0,len=array.length;i=3&&(receiver=thisArg),toStr3.call(list)===\"[object Array]\"?forEachArray(list,iterator,receiver):typeof list==\"string\"?forEachString(list,iterator,receiver):forEachObject(list,iterator,receiver);};module2.exports=forEach;}});var require_possible_typed_array_names=__commonJS({\"../../node_modules/possible-typed-array-names/index.js\"(exports,module2){module2.exports=[\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\"];}});var require_available_typed_arrays=__commonJS({\"../../node_modules/available-typed-arrays/index.js\"(exports,module2){var possibleNames=require_possible_typed_array_names(),g2=typeof globalThis>\"u\"?global:globalThis;module2.exports=function(){for(var out=[],i=0;i\"u\"?global:globalThis,typedArrays=availableTypedArrays(),$slice=callBound(\"String.prototype.slice\"),getPrototypeOf=Object.getPrototypeOf,$indexOf=callBound(\"Array.prototype.indexOf\",!0)||function(array,value){for(var i=0;i-1?tag:tag!==\"Object\"?!1:trySlices(value)}return gOPD?tryTypedArrays(value):null};}});var require_array_buffer_byte_length=__commonJS({\"../../node_modules/array-buffer-byte-length/index.js\"(exports,module2){var callBound=require_callBound(),$byteLength=callBound(\"ArrayBuffer.prototype.byteLength\",!0),isArrayBuffer=require_is_array_buffer();module2.exports=function(ab){return isArrayBuffer(ab)?$byteLength?$byteLength(ab):ab.byteLength:NaN};}});var require_deep_equal=__commonJS({\"../../node_modules/deep-equal/index.js\"(exports,module2){var assign=require_object(),callBound=require_callBound(),flags=require_regexp_prototype(),GetIntrinsic=require_get_intrinsic(),getIterator=require_es_get_iterator(),getSideChannel=require_side_channel(),is=require_object_is(),isArguments=require_is_arguments(),isArray=require_isarray(),isArrayBuffer=require_is_array_buffer(),isDate=require_is_date_object(),isRegex=require_is_regex(),isSharedArrayBuffer=require_is_shared_array_buffer(),objectKeys=require_object_keys(),whichBoxedPrimitive=require_which_boxed_primitive(),whichCollection=require_which_collection(),whichTypedArray=require_which_typed_array(),byteLength=require_array_buffer_byte_length(),sabByteLength=callBound(\"SharedArrayBuffer.prototype.byteLength\",!0),$getTime=callBound(\"Date.prototype.getTime\"),gPO=Object.getPrototypeOf,$objToString=callBound(\"Object.prototype.toString\"),$Set=GetIntrinsic(\"%Set%\",!0),$mapHas=callBound(\"Map.prototype.has\",!0),$mapGet=callBound(\"Map.prototype.get\",!0),$mapSize=callBound(\"Map.prototype.size\",!0),$setAdd=callBound(\"Set.prototype.add\",!0),$setDelete=callBound(\"Set.prototype.delete\",!0),$setHas=callBound(\"Set.prototype.has\",!0),$setSize=callBound(\"Set.prototype.size\",!0);function setHasEqualElement(set,val1,opts,channel){for(var i=getIterator(set),result;(result=i.next())&&!result.done;)if(internalDeepEqual(val1,result.value,opts,channel))return $setDelete(set,result.value),!0;return !1}function findLooseMatchingPrimitives(prim){if(typeof prim>\"u\")return null;if(typeof prim!=\"object\")return typeof prim==\"symbol\"?!1:typeof prim==\"string\"||typeof prim==\"number\"?+prim==+prim:!0}function mapMightHaveLoosePrim(a,b2,prim,item,opts,channel){var altValue=findLooseMatchingPrimitives(prim);if(altValue!=null)return altValue;var curB=$mapGet(b2,altValue),looseOpts=assign({},opts,{strict:!1});return typeof curB>\"u\"&&!$mapHas(b2,altValue)||!internalDeepEqual(item,curB,looseOpts,channel)?!1:!$mapHas(a,altValue)&&internalDeepEqual(item,curB,looseOpts,channel)}function setMightHaveLoosePrim(a,b2,prim){var altValue=findLooseMatchingPrimitives(prim);return altValue??($setHas(b2,altValue)&&!$setHas(a,altValue))}function mapHasEqualEntry(set,map,key1,item1,opts,channel){for(var i=getIterator(set),result,key2;(result=i.next())&&!result.done;)if(key2=result.value,internalDeepEqual(key1,key2,opts,channel)&&internalDeepEqual(item1,$mapGet(map,key2),opts,channel))return $setDelete(set,key2),!0;return !1}function internalDeepEqual(actual,expected,options,channel){var opts=options||{};if(opts.strict?is(actual,expected):actual===expected)return !0;var actualBoxed=whichBoxedPrimitive(actual),expectedBoxed=whichBoxedPrimitive(expected);if(actualBoxed!==expectedBoxed)return !1;if(!actual||!expected||typeof actual!=\"object\"&&typeof expected!=\"object\")return opts.strict?is(actual,expected):actual==expected;var hasActual=channel.has(actual),hasExpected=channel.has(expected),sentinel;if(hasActual&&hasExpected){if(channel.get(actual)===channel.get(expected))return !0}else sentinel={};return hasActual||channel.set(actual,sentinel),hasExpected||channel.set(expected,sentinel),objEquiv(actual,expected,opts,channel)}function isBuffer(x){return !x||typeof x!=\"object\"||typeof x.length!=\"number\"||typeof x.copy!=\"function\"||typeof x.slice!=\"function\"||x.length>0&&typeof x[0]!=\"number\"?!1:!!(x.constructor&&x.constructor.isBuffer&&x.constructor.isBuffer(x))}function setEquiv(a,b2,opts,channel){if($setSize(a)!==$setSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set;(resultA=iA.next())&&!resultA.done;)if(resultA.value&&typeof resultA.value==\"object\")set||(set=new $Set),$setAdd(set,resultA.value);else if(!$setHas(b2,resultA.value)){if(opts.strict||!setMightHaveLoosePrim(a,b2,resultA.value))return !1;set||(set=new $Set),$setAdd(set,resultA.value);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(resultB.value&&typeof resultB.value==\"object\"){if(!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1}else if(!opts.strict&&!$setHas(a,resultB.value)&&!setHasEqualElement(set,resultB.value,opts.strict,channel))return !1;return $setSize(set)===0}return !0}function mapEquiv(a,b2,opts,channel){if($mapSize(a)!==$mapSize(b2))return !1;for(var iA=getIterator(a),iB=getIterator(b2),resultA,resultB,set,key,item1,item2;(resultA=iA.next())&&!resultA.done;)if(key=resultA.value[0],item1=resultA.value[1],key&&typeof key==\"object\")set||(set=new $Set),$setAdd(set,key);else if(item2=$mapGet(b2,key),typeof item2>\"u\"&&!$mapHas(b2,key)||!internalDeepEqual(item1,item2,opts,channel)){if(opts.strict||!mapMightHaveLoosePrim(a,b2,key,item1,opts,channel))return !1;set||(set=new $Set),$setAdd(set,key);}if(set){for(;(resultB=iB.next())&&!resultB.done;)if(key=resultB.value[0],item2=resultB.value[1],key&&typeof key==\"object\"){if(!mapHasEqualEntry(set,a,key,item2,opts,channel))return !1}else if(!opts.strict&&(!a.has(key)||!internalDeepEqual($mapGet(a,key),item2,opts,channel))&&!mapHasEqualEntry(set,a,key,item2,assign({},opts,{strict:!1}),channel))return !1;return $setSize(set)===0}return !0}function objEquiv(a,b2,opts,channel){var i,key;if(typeof a!=typeof b2||a==null||b2==null||$objToString(a)!==$objToString(b2)||isArguments(a)!==isArguments(b2))return !1;var aIsArray=isArray(a),bIsArray=isArray(b2);if(aIsArray!==bIsArray)return !1;var aIsError=a instanceof Error,bIsError=b2 instanceof Error;if(aIsError!==bIsError||(aIsError||bIsError)&&(a.name!==b2.name||a.message!==b2.message))return !1;var aIsRegex=isRegex(a),bIsRegex=isRegex(b2);if(aIsRegex!==bIsRegex||(aIsRegex||bIsRegex)&&(a.source!==b2.source||flags(a)!==flags(b2)))return !1;var aIsDate=isDate(a),bIsDate=isDate(b2);if(aIsDate!==bIsDate||(aIsDate||bIsDate)&&$getTime(a)!==$getTime(b2)||opts.strict&&gPO&&gPO(a)!==gPO(b2))return !1;var aWhich=whichTypedArray(a),bWhich=whichTypedArray(b2);if(aWhich!==bWhich)return !1;if(aWhich||bWhich){if(a.length!==b2.length)return !1;for(i=0;i=0;i--)if(ka[i]!=kb[i])return !1;for(i=ka.length-1;i>=0;i--)if(key=ka[i],!internalDeepEqual(a[key],b2[key],opts,channel))return !1;var aCollection=whichCollection(a),bCollection=whichCollection(b2);return aCollection!==bCollection?!1:aCollection===\"Set\"||bCollection===\"Set\"?setEquiv(a,b2,opts,channel):aCollection===\"Map\"?mapEquiv(a,b2,opts,channel):!0}module2.exports=function(a,b2,opts){return internalDeepEqual(a,b2,opts,getSideChannel())};}});var require_elementRoleMap=__commonJS({\"node_modules/aria-query/lib/elementRoleMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _deepEqual=_interopRequireDefault(require_deep_equal()),_iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(elementRoles3),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),_key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,_key,elementRoles3);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key2){var item=elementRoles3.find(function(tuple){return (0, _deepEqual.default)(key2,tuple[0])});return item&&item[1]},has:function(key2){return !!elementRoleMap.get(key2)},keys:function(){return elementRoles3.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key2=_ref2[0];return key2})},values:function(){return elementRoles3.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(elementRoleMap,elementRoleMap.entries());exports.default=_default;}});var require_roleElementMap=__commonJS({\"node_modules/aria-query/lib/roleElementMap.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=void 0;var _iterationDecorator=_interopRequireDefault(require_iterationDecorator()),_rolesMap=_interopRequireDefault(require_rolesMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}function _slicedToArray(arr,i2){return _arrayWithHoles(arr)||_iterableToArrayLimit(arr,i2)||_unsupportedIterableToArray(arr,i2)||_nonIterableRest()}function _nonIterableRest(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _iterableToArrayLimit(arr,i2){var _i=arr==null?null:typeof Symbol<\"u\"&&arr[Symbol.iterator]||arr[\"@@iterator\"];if(_i!=null){var _arr=[],_n=!0,_d=!1,_s,_e;try{for(_i=_i.call(arr);!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!(i2&&_arr.length===i2));_n=!0);}catch(err){_d=!0,_e=err;}finally{try{!_n&&_i.return!=null&&_i.return();}finally{if(_d)throw _e}}return _arr}}function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}function _createForOfIteratorHelper(o,allowArrayLike){var it=typeof Symbol<\"u\"&&o[Symbol.iterator]||o[\"@@iterator\"];if(!it){if(Array.isArray(o)||(it=_unsupportedIterableToArray(o))||allowArrayLike&&o&&typeof o.length==\"number\"){it&&(o=it);var i2=0,F=function(){};return {s:F,n:function(){return i2>=o.length?{done:!0}:{done:!1,value:o[i2++]}},e:function(_e2){throw _e2},f:F}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var normalCompletion=!0,didErr=!1,err;return {s:function(){it=it.call(o);},n:function(){var step=it.next();return normalCompletion=step.done,step},e:function(_e3){didErr=!0,err=_e3;},f:function(){try{!normalCompletion&&it.return!=null&&it.return();}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if(typeof o==\"string\")return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n===\"Object\"&&o.constructor&&(n=o.constructor.name),n===\"Map\"||n===\"Set\")return Array.from(o);if(n===\"Arguments\"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}}function _arrayLikeToArray(arr,len){(len==null||len>arr.length)&&(len=arr.length);for(var i2=0,arr2=new Array(len);i21&&arguments[1]!==void 0?arguments[1]:null,_iterator=_createForOfIteratorHelper(roleElement),_step;try{for(_iterator.s();!(_step=_iterator.n()).done;){var _step$value=_slicedToArray(_step.value,2),key=_step$value[0],values=_step$value[1];fn2.call(thisArg,values,key,roleElement);}}catch(err){_iterator.e(err);}finally{_iterator.f();}},get:function(key){var item=roleElement.find(function(tuple){return tuple[0]===key});return item&&item[1]},has:function(key){return !!roleElementMap.get(key)},keys:function(){return roleElement.map(function(_ref){var _ref2=_slicedToArray(_ref,1),key=_ref2[0];return key})},values:function(){return roleElement.map(function(_ref3){var _ref4=_slicedToArray(_ref3,2),values2=_ref4[1];return values2})}},_default=(0, _iterationDecorator.default)(roleElementMap,roleElementMap.entries());exports.default=_default;}});var require_lib=__commonJS({\"node_modules/aria-query/lib/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.roles=exports.roleElements=exports.elementRoles=exports.dom=exports.aria=void 0;var _ariaPropsMap=_interopRequireDefault(require_ariaPropsMap()),_domMap=_interopRequireDefault(require_domMap()),_rolesMap=_interopRequireDefault(require_rolesMap()),_elementRoleMap=_interopRequireDefault(require_elementRoleMap()),_roleElementMap=_interopRequireDefault(require_roleElementMap());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var aria=_ariaPropsMap.default;exports.aria=aria;var dom=_domMap.default;exports.dom=dom;var roles3=_rolesMap.default;exports.roles=roles3;var elementRoles3=_elementRoleMap.default;exports.elementRoles=elementRoles3;var roleElements2=_roleElementMap.default;exports.roleElements=roleElements2;}});var require_color_name=__commonJS({\"../../node_modules/color-name/index.js\"(exports,module2){module2.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};}});var require_conversions=__commonJS({\"../../node_modules/color-convert/conversions.js\"(exports,module2){var cssKeywords=require_color_name(),reverseKeywords={};for(let key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;var convert={rgb:{channels:3,labels:\"rgb\"},hsl:{channels:3,labels:\"hsl\"},hsv:{channels:3,labels:\"hsv\"},hwb:{channels:3,labels:\"hwb\"},cmyk:{channels:4,labels:\"cmyk\"},xyz:{channels:3,labels:\"xyz\"},lab:{channels:3,labels:\"lab\"},lch:{channels:3,labels:\"lch\"},hex:{channels:1,labels:[\"hex\"]},keyword:{channels:1,labels:[\"keyword\"]},ansi16:{channels:1,labels:[\"ansi16\"]},ansi256:{channels:1,labels:[\"ansi256\"]},hcg:{channels:3,labels:[\"h\",\"c\",\"g\"]},apple:{channels:3,labels:[\"r16\",\"g16\",\"b16\"]},gray:{channels:1,labels:[\"gray\"]}};module2.exports=convert;for(let model of Object.keys(convert)){if(!(\"channels\"in convert[model]))throw new Error(\"missing channels property: \"+model);if(!(\"labels\"in convert[model]))throw new Error(\"missing channel labels property: \"+model);if(convert[model].labels.length!==convert[model].channels)throw new Error(\"channel and label counts mismatch: \"+model);let{channels,labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],\"channels\",{value:channels}),Object.defineProperty(convert[model],\"labels\",{value:labels});}convert.rgb.hsl=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,min=Math.min(r,g2,b2),max=Math.max(r,g2,b2),delta=max-min,h,s;max===min?h=0:r===max?h=(g2-b2)/delta:g2===max?h=2+(b2-r)/delta:b2===max&&(h=4+(r-g2)/delta),h=Math.min(h*60,360),h<0&&(h+=360);let l=(min+max)/2;return max===min?s=0:l<=.5?s=delta/(max+min):s=delta/(2-max-min),[h,s*100,l*100]};convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s,r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,v2=Math.max(r,g2,b2),diff2=v2-Math.min(r,g2,b2),diffc=function(c){return (v2-c)/6/diff2+1/2};return diff2===0?(h=0,s=0):(s=diff2/v2,rdif=diffc(r),gdif=diffc(g2),bdif=diffc(b2),r===v2?h=bdif-gdif:g2===v2?h=1/3+rdif-bdif:b2===v2&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[h*360,s*100,v2*100]};convert.rgb.hwb=function(rgb){let r=rgb[0],g2=rgb[1],b2=rgb[2],h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g2,b2));return b2=1-1/255*Math.max(r,Math.max(g2,b2)),[h,w*100,b2*100]};convert.rgb.cmyk=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,k=Math.min(1-r,1-g2,1-b2),c=(1-r-k)/(1-k)||0,m2=(1-g2-k)/(1-k)||0,y2=(1-b2-k)/(1-k)||0;return [c*100,m2*100,y2*100,k*100]};function comparativeDistance(x,y2){return (x[0]-y2[0])**2+(x[1]-y2[1])**2+(x[2]-y2[2])**2}convert.rgb.keyword=function(rgb){let reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestDistance=1/0,currentClosestKeyword;for(let keyword of Object.keys(cssKeywords)){let value=cssKeywords[keyword],distance=comparativeDistance(rgb,value);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g2=g2>.04045?((g2+.055)/1.055)**2.4:g2/12.92,b2=b2>.04045?((b2+.055)/1.055)**2.4:b2/12.92;let x=r*.4124+g2*.3576+b2*.1805,y2=r*.2126+g2*.7152+b2*.0722,z=r*.0193+g2*.1192+b2*.9505;return [x*100,y2*100,z*100]};convert.rgb.lab=function(rgb){let xyz=convert.rgb.xyz(rgb),x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.hsl.rgb=function(hsl){let h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100,t2,t3,val;if(s===0)return val=l*255,[val,val,val];l<.5?t2=l*(1+s):t2=l+s-l*s;let t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,6*t3<1?val=t1+(t2-t1)*6*t3:2*t3<1?val=t2:3*t3<2?val=t1+(t2-t1)*(2/3-t3)*6:val=t1,rgb[i]=val*255;return rgb};convert.hsl.hsv=function(hsl){let h=hsl[0],s=hsl[1]/100,l=hsl[2]/100,smin=s,lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;let v2=(l+s)/2,sv=l===0?2*smin/(lmin+smin):2*s/(l+s);return [h,sv*100,v2*100]};convert.hsv.rgb=function(hsv){let h=hsv[0]/60,s=hsv[1]/100,v2=hsv[2]/100,hi=Math.floor(h)%6,f=h-Math.floor(h),p2=255*v2*(1-s),q=255*v2*(1-s*f),t=255*v2*(1-s*(1-f));switch(v2*=255,hi){case 0:return [v2,t,p2];case 1:return [q,v2,p2];case 2:return [p2,v2,t];case 3:return [p2,q,v2];case 4:return [t,p2,v2];case 5:return [v2,p2,q]}};convert.hsv.hsl=function(hsv){let h=hsv[0],s=hsv[1]/100,v2=hsv[2]/100,vmin=Math.max(v2,.01),sl,l;l=(2-s)*v2;let lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,sl*100,l*100]};convert.hwb.rgb=function(hwb){let h=hwb[0]/360,wh=hwb[1]/100,bl=hwb[2]/100,ratio=wh+bl,f;ratio>1&&(wh/=ratio,bl/=ratio);let i=Math.floor(6*h),v2=1-bl;f=6*h-i,i&1&&(f=1-f);let n=wh+f*(v2-wh),r,g2,b2;switch(i){default:case 6:case 0:r=v2,g2=n,b2=wh;break;case 1:r=n,g2=v2,b2=wh;break;case 2:r=wh,g2=v2,b2=n;break;case 3:r=wh,g2=n,b2=v2;break;case 4:r=n,g2=wh,b2=v2;break;case 5:r=v2,g2=wh,b2=n;break}return [r*255,g2*255,b2*255]};convert.cmyk.rgb=function(cmyk){let c=cmyk[0]/100,m2=cmyk[1]/100,y2=cmyk[2]/100,k=cmyk[3]/100,r=1-Math.min(1,c*(1-k)+k),g2=1-Math.min(1,m2*(1-k)+k),b2=1-Math.min(1,y2*(1-k)+k);return [r*255,g2*255,b2*255]};convert.xyz.rgb=function(xyz){let x=xyz[0]/100,y2=xyz[1]/100,z=xyz[2]/100,r,g2,b2;return r=x*3.2406+y2*-1.5372+z*-.4986,g2=x*-.9689+y2*1.8758+z*.0415,b2=x*.0557+y2*-.204+z*1.057,r=r>.0031308?1.055*r**(1/2.4)-.055:r*12.92,g2=g2>.0031308?1.055*g2**(1/2.4)-.055:g2*12.92,b2=b2>.0031308?1.055*b2**(1/2.4)-.055:b2*12.92,r=Math.min(Math.max(0,r),1),g2=Math.min(Math.max(0,g2),1),b2=Math.min(Math.max(0,b2),1),[r*255,g2*255,b2*255]};convert.xyz.lab=function(xyz){let x=xyz[0],y2=xyz[1],z=xyz[2];x/=95.047,y2/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y2=y2>.008856?y2**(1/3):7.787*y2+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;let l=116*y2-16,a=500*(x-y2),b2=200*(y2-z);return [l,a,b2]};convert.lab.xyz=function(lab){let l=lab[0],a=lab[1],b2=lab[2],x,y2,z;y2=(l+16)/116,x=a/500+y2,z=y2-b2/200;let y22=y2**3,x2=x**3,z2=z**3;return y2=y22>.008856?y22:(y2-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y2*=100,z*=108.883,[x,y2,z]};convert.lab.lch=function(lab){let l=lab[0],a=lab[1],b2=lab[2],h;h=Math.atan2(b2,a)*360/2/Math.PI,h<0&&(h+=360);let c=Math.sqrt(a*a+b2*b2);return [l,c,h]};convert.lch.lab=function(lch){let l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI,a=c*Math.cos(hr),b2=c*Math.sin(hr);return [l,a,b2]};convert.rgb.ansi16=function(args,saturation=null){let[r,g2,b2]=args,value=saturation===null?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),value===0)return 30;let ansi=30+(Math.round(b2/255)<<2|Math.round(g2/255)<<1|Math.round(r/255));return value===2&&(ansi+=60),ansi};convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])};convert.rgb.ansi256=function(args){let r=args[0],g2=args[1],b2=args[2];return r===g2&&g2===b2?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(g2/255*5)+Math.round(b2/255*5)};convert.ansi16.rgb=function(args){let color=args%10;if(color===0||color===7)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];let mult=(~~(args>50)+1)*.5,r=(color&1)*mult*255,g2=(color>>1&1)*mult*255,b2=(color>>2&1)*mult*255;return [r,g2,b2]};convert.ansi256.rgb=function(args){if(args>=232){let c=(args-232)*10+8;return [c,c,c]}args-=16;let rem,r=Math.floor(args/36)/5*255,g2=Math.floor((rem=args%36)/6)/5*255,b2=rem%6/5*255;return [r,g2,b2]};convert.rgb.hex=function(args){let string2=(((Math.round(args[0])&255)<<16)+((Math.round(args[1])&255)<<8)+(Math.round(args[2])&255)).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.hex.rgb=function(args){let match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return [0,0,0];let colorString=match[0];match[0].length===3&&(colorString=colorString.split(\"\").map(char=>char+char).join(\"\"));let integer=parseInt(colorString,16),r=integer>>16&255,g2=integer>>8&255,b2=integer&255;return [r,g2,b2]};convert.rgb.hcg=function(rgb){let r=rgb[0]/255,g2=rgb[1]/255,b2=rgb[2]/255,max=Math.max(Math.max(r,g2),b2),min=Math.min(Math.min(r,g2),b2),chroma=max-min,grayscale,hue;return chroma<1?grayscale=min/(1-chroma):grayscale=0,chroma<=0?hue=0:max===r?hue=(g2-b2)/chroma%6:max===g2?hue=2+(b2-r)/chroma:hue=4+(r-g2)/chroma,hue/=6,hue%=1,[hue*360,chroma*100,grayscale*100]};convert.hsl.hcg=function(hsl){let s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l),f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],c*100,f*100]};convert.hsv.hcg=function(hsv){let s=hsv[1]/100,v2=hsv[2]/100,c=s*v2,f=0;return c<1&&(f=(v2-c)/(1-c)),[hsv[0],c*100,f*100]};convert.hcg.rgb=function(hcg){let h=hcg[0]/360,c=hcg[1]/100,g2=hcg[2]/100;if(c===0)return [g2*255,g2*255,g2*255];let pure=[0,0,0],hi=h%1*6,v2=hi%1,w=1-v2,mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v2,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v2;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v2,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w;}return mg=(1-c)*g2,[(c*pure[0]+mg)*255,(c*pure[1]+mg)*255,(c*pure[2]+mg)*255]};convert.hcg.hsv=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c),f=0;return v2>0&&(f=c/v2),[hcg[0],f*100,v2*100]};convert.hcg.hsl=function(hcg){let c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c,s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],s*100,l*100]};convert.hcg.hwb=function(hcg){let c=hcg[1]/100,g2=hcg[2]/100,v2=c+g2*(1-c);return [hcg[0],(v2-c)*100,(1-v2)*100]};convert.hwb.hcg=function(hwb){let w=hwb[1]/100,v2=1-hwb[2]/100,c=v2-w,g2=0;return c<1&&(g2=(v2-c)/(1-c)),[hwb[0],c*100,g2*100]};convert.apple.rgb=function(apple){return [apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]};convert.rgb.apple=function(rgb){return [rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]};convert.gray.rgb=function(args){return [args[0]/100*255,args[0]/100*255,args[0]/100*255]};convert.gray.hsl=function(args){return [0,0,args[0]]};convert.gray.hsv=convert.gray.hsl;convert.gray.hwb=function(gray){return [0,100,gray[0]]};convert.gray.cmyk=function(gray){return [0,0,0,gray[0]]};convert.gray.lab=function(gray){return [gray[0],0,0]};convert.gray.hex=function(gray){let val=Math.round(gray[0]/100*255)&255,string2=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return \"000000\".substring(string2.length)+string2};convert.rgb.gray=function(rgb){return [(rgb[0]+rgb[1]+rgb[2])/3/255*100]};}});var require_route=__commonJS({\"../../node_modules/color-convert/route.js\"(exports,module2){var conversions=require_conversions();function buildGraph(){let graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i1&&(args=arg0),fn2(args))};return \"conversion\"in fn2&&(wrappedFn.conversion=fn2.conversion),wrappedFn}function wrapRounded(fn2){let wrappedFn=function(...args){let arg0=args[0];if(arg0==null)return arg0;arg0.length>1&&(args=arg0);let result=fn2(args);if(typeof result==\"object\")for(let len=result.length,i=0;i{convert[fromModel]={},Object.defineProperty(convert[fromModel],\"channels\",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],\"labels\",{value:conversions[fromModel].labels});let routes=route(fromModel);Object.keys(routes).forEach(toModel=>{let fn2=routes[toModel];convert[fromModel][toModel]=wrapRounded(fn2),convert[fromModel][toModel].raw=wrapRaw(fn2);});});module2.exports=convert;}});var require_ansi_styles2=__commonJS({\"../../node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi16=(fn2,offset)=>(...args)=>`\\x1B[${fn2(...args)+offset}m`,wrapAnsi256=(fn2,offset)=>(...args)=>{let code=fn2(...args);return `\\x1B[${38+offset};5;${code}m`},wrapAnsi16m=(fn2,offset)=>(...args)=>{let rgb=fn2(...args);return `\\x1B[${38+offset};2;${rgb[0]};${rgb[1]};${rgb[2]}m`},ansi2ansi=n=>n,rgb2rgb=(r,g2,b2)=>[r,g2,b2],setLazyProperty=(object,property,get)=>{Object.defineProperty(object,property,{get:()=>{let value=get();return Object.defineProperty(object,property,{value,enumerable:!0,configurable:!0}),value},enumerable:!0,configurable:!0});},colorConvert,makeDynamicStyles=(wrap,targetSpace,identity,isBackground)=>{colorConvert===void 0&&(colorConvert=require_color_convert());let offset=isBackground?10:0,styles={};for(let[sourceSpace,suite]of Object.entries(colorConvert)){let name=sourceSpace===\"ansi16\"?\"ansi\":sourceSpace;sourceSpace===targetSpace?styles[name]=wrap(identity,offset):typeof suite==\"object\"&&(styles[name]=wrap(suite[targetSpace],offset));}return styles};function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",setLazyProperty(styles.color,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!1)),setLazyProperty(styles.color,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!1)),setLazyProperty(styles.bgColor,\"ansi\",()=>makeDynamicStyles(wrapAnsi16,\"ansi16\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi256\",()=>makeDynamicStyles(wrapAnsi256,\"ansi256\",ansi2ansi,!0)),setLazyProperty(styles.bgColor,\"ansi16m\",()=>makeDynamicStyles(wrapAnsi16m,\"rgb\",rgb2rgb,!0)),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_browser=__commonJS({\"../../node_modules/supports-color/browser.js\"(exports,module2){module2.exports={stdout:!1,stderr:!1};}});var require_util2=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js\"(exports,module2){var stringReplaceAll=(string2,substring,replacer)=>{let index=string2.indexOf(substring);if(index===-1)return string2;let substringLength=substring.length,endIndex=0,returnValue=\"\";do returnValue+=string2.substr(endIndex,index-endIndex)+substring+replacer,endIndex=index+substringLength,index=string2.indexOf(substring,endIndex);while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue},stringEncaseCRLFWithFirstIndex=(string2,prefix,postfix,index)=>{let endIndex=0,returnValue=\"\";do{let gotCR=string2[index-1]===\"\\r\";returnValue+=string2.substr(endIndex,(gotCR?index-1:index)-endIndex)+prefix+(gotCR?`\\r\n`:`\n`)+postfix,endIndex=index+1,index=string2.indexOf(`\n`,endIndex);}while(index!==-1);return returnValue+=string2.substr(endIndex),returnValue};module2.exports={stringReplaceAll,stringEncaseCRLFWithFirstIndex};}});var require_templates=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js\"(exports,module2){var TEMPLATE_REGEX=/(?:\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.))|(?:\\{(~)?(\\w+(?:\\([^)]*\\))?(?:\\.\\w+(?:\\([^)]*\\))?)*)(?:[ \\t]|(?=\\r?\\n)))|(\\})|((?:.|[\\r\\n\\f])+?)/gi,STYLE_REGEX=/(?:^|\\.)(\\w+)(?:\\(([^)]*)\\))?/g,STRING_REGEX=/^(['\"])((?:\\\\.|(?!\\1)[^\\\\])*)\\1$/,ESCAPE_REGEX=/\\\\(u(?:[a-f\\d]{4}|\\{[a-f\\d]{1,6}\\})|x[a-f\\d]{2}|.)|([^\\\\])/gi,ESCAPES=new Map([[\"n\",`\n`],[\"r\",\"\\r\"],[\"t\",\"\t\"],[\"b\",\"\\b\"],[\"f\",\"\\f\"],[\"v\",\"\\v\"],[\"0\",\"\\0\"],[\"\\\\\",\"\\\\\"],[\"e\",\"\\x1B\"],[\"a\",\"\\x07\"]]);function unescape(c){let u2=c[0]===\"u\",bracket=c[1]===\"{\";return u2&&!bracket&&c.length===5||c[0]===\"x\"&&c.length===3?String.fromCharCode(parseInt(c.slice(1),16)):u2&&bracket?String.fromCodePoint(parseInt(c.slice(2,-1),16)):ESCAPES.get(c)||c}function parseArguments(name,arguments_){let results=[],chunks=arguments_.trim().split(/\\s*,\\s*/g),matches3;for(let chunk of chunks){let number=Number(chunk);if(!Number.isNaN(number))results.push(number);else if(matches3=chunk.match(STRING_REGEX))results.push(matches3[2].replace(ESCAPE_REGEX,(m2,escape2,character)=>escape2?unescape(escape2):character));else throw new Error(`Invalid Chalk template style argument: ${chunk} (in style '${name}')`)}return results}function parseStyle(style){STYLE_REGEX.lastIndex=0;let results=[],matches3;for(;(matches3=STYLE_REGEX.exec(style))!==null;){let name=matches3[1];if(matches3[2]){let args=parseArguments(name,matches3[2]);results.push([name].concat(args));}else results.push([name]);}return results}function buildStyle(chalk3,styles){let enabled={};for(let layer of styles)for(let style of layer.styles)enabled[style[0]]=layer.inverse?null:style.slice(1);let current=chalk3;for(let[styleName,styles2]of Object.entries(enabled))if(Array.isArray(styles2)){if(!(styleName in current))throw new Error(`Unknown Chalk style: ${styleName}`);current=styles2.length>0?current[styleName](...styles2):current[styleName];}return current}module2.exports=(chalk3,temporary)=>{let styles=[],chunks=[],chunk=[];if(temporary.replace(TEMPLATE_REGEX,(m2,escapeCharacter,inverse,style,close,character)=>{if(escapeCharacter)chunk.push(unescape(escapeCharacter));else if(style){let string2=chunk.join(\"\");chunk=[],chunks.push(styles.length===0?string2:buildStyle(chalk3,styles)(string2)),styles.push({inverse,styles:parseStyle(style)});}else if(close){if(styles.length===0)throw new Error(\"Found extraneous } in Chalk template literal\");chunks.push(buildStyle(chalk3,styles)(chunk.join(\"\"))),chunk=[],styles.pop();}else chunk.push(character);}),chunks.push(chunk.join(\"\")),styles.length>0){let errMsg=`Chalk template literal is missing ${styles.length} closing bracket${styles.length===1?\"\":\"s\"} (\\`}\\`)`;throw new Error(errMsg)}return chunks.join(\"\")};}});var require_source=__commonJS({\"node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js\"(exports,module2){var ansiStyles=require_ansi_styles2(),{stdout:stdoutColor,stderr:stderrColor}=require_browser(),{stringReplaceAll,stringEncaseCRLFWithFirstIndex}=require_util2(),levelMapping=[\"ansi\",\"ansi\",\"ansi256\",\"ansi16m\"],styles=Object.create(null),applyOptions=(object,options={})=>{if(options.level>3||options.level<0)throw new Error(\"The `level` option should be an integer from 0 to 3\");let colorLevel=stdoutColor?stdoutColor.level:0;object.level=options.level===void 0?colorLevel:options.level;},ChalkClass=class{constructor(options){return chalkFactory(options)}},chalkFactory=options=>{let chalk4={};return applyOptions(chalk4,options),chalk4.template=(...arguments_)=>chalkTag(chalk4.template,...arguments_),Object.setPrototypeOf(chalk4,Chalk.prototype),Object.setPrototypeOf(chalk4.template,chalk4),chalk4.template.constructor=()=>{throw new Error(\"`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.\")},chalk4.template.Instance=ChalkClass,chalk4.template};function Chalk(options){return chalkFactory(options)}for(let[styleName,style]of Object.entries(ansiStyles))styles[styleName]={get(){let builder=createBuilder(this,createStyler(style.open,style.close,this._styler),this._isEmpty);return Object.defineProperty(this,styleName,{value:builder}),builder}};styles.visible={get(){let builder=createBuilder(this,this._styler,!0);return Object.defineProperty(this,\"visible\",{value:builder}),builder}};var usedModels=[\"rgb\",\"hex\",\"keyword\",\"hsl\",\"hsv\",\"hwb\",\"ansi\",\"ansi256\"];for(let model of usedModels)styles[model]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.color[levelMapping[level]][model](...arguments_),ansiStyles.color.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};for(let model of usedModels){let bgModel=\"bg\"+model[0].toUpperCase()+model.slice(1);styles[bgModel]={get(){let{level}=this;return function(...arguments_){let styler=createStyler(ansiStyles.bgColor[levelMapping[level]][model](...arguments_),ansiStyles.bgColor.close,this._styler);return createBuilder(this,styler,this._isEmpty)}}};}var proto=Object.defineProperties(()=>{},{...styles,level:{enumerable:!0,get(){return this._generator.level},set(level){this._generator.level=level;}}}),createStyler=(open,close,parent)=>{let openAll,closeAll;return parent===void 0?(openAll=open,closeAll=close):(openAll=parent.openAll+open,closeAll=close+parent.closeAll),{open,close,openAll,closeAll,parent}},createBuilder=(self2,_styler,_isEmpty)=>{let builder=(...arguments_)=>applyStyle(builder,arguments_.length===1?\"\"+arguments_[0]:arguments_.join(\" \"));return builder.__proto__=proto,builder._generator=self2,builder._styler=_styler,builder._isEmpty=_isEmpty,builder},applyStyle=(self2,string2)=>{if(self2.level<=0||!string2)return self2._isEmpty?\"\":string2;let styler=self2._styler;if(styler===void 0)return string2;let{openAll,closeAll}=styler;if(string2.indexOf(\"\\x1B\")!==-1)for(;styler!==void 0;)string2=stringReplaceAll(string2,styler.close,styler.open),styler=styler.parent;let lfIndex=string2.indexOf(`\n`);return lfIndex!==-1&&(string2=stringEncaseCRLFWithFirstIndex(string2,closeAll,openAll,lfIndex)),openAll+string2+closeAll},template,chalkTag=(chalk4,...strings)=>{let[firstString]=strings;if(!Array.isArray(firstString))return strings.join(\" \");let arguments_=strings.slice(1),parts=[firstString.raw[0]];for(let i=1;i-1}module2.exports=arrayIncludes;}});var require_arrayIncludesWith=__commonJS({\"../../node_modules/lodash/_arrayIncludesWith.js\"(exports,module2){function arrayIncludesWith(array,value,comparator){for(var index=-1,length=array==null?0:array.length;++index=LARGE_ARRAY_SIZE){var set=iteratee?null:createSet(array);if(set)return setToArray(set);isCommon=!1,includes=cacheHas,seen=new SetCache;}else seen=iteratee?[]:result;outer:for(;++index=1&&codeUnit<=31||codeUnit==127||index==0&&codeUnit>=48&&codeUnit<=57||index==1&&codeUnit>=48&&codeUnit<=57&&firstCodeUnit==45){result+=\"\\\\\"+codeUnit.toString(16)+\" \";continue}if(index==0&&length==1&&codeUnit==45){result+=\"\\\\\"+string2.charAt(index);continue}if(codeUnit>=128||codeUnit==45||codeUnit==95||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122){result+=string2.charAt(index);continue}result+=\"\\\\\"+string2.charAt(index);}return result};return root.CSS||(root.CSS={}),root.CSS.escape=cssEscape,cssEscape});}});var require_ansi_styles3=__commonJS({\"node_modules/pretty-format/node_modules/ansi-styles/index.js\"(exports,module2){var wrapAnsi256=(offset=0)=>code=>`\\x1B[${38+offset};5;${code}m`,wrapAnsi16m=(offset=0)=>(red,green,blue)=>`\\x1B[${38+offset};2;${red};${green};${blue}m`;function assembleStyles(){let codes=new Map,styles={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};styles.color.gray=styles.color.blackBright,styles.bgColor.bgGray=styles.bgColor.bgBlackBright,styles.color.grey=styles.color.blackBright,styles.bgColor.bgGrey=styles.bgColor.bgBlackBright;for(let[groupName,group]of Object.entries(styles)){for(let[styleName,style]of Object.entries(group))styles[styleName]={open:`\\x1B[${style[0]}m`,close:`\\x1B[${style[1]}m`},group[styleName]=styles[styleName],codes.set(style[0],style[1]);Object.defineProperty(styles,groupName,{value:group,enumerable:!1});}return Object.defineProperty(styles,\"codes\",{value:codes,enumerable:!1}),styles.color.close=\"\\x1B[39m\",styles.bgColor.close=\"\\x1B[49m\",styles.color.ansi256=wrapAnsi256(),styles.color.ansi16m=wrapAnsi16m(),styles.bgColor.ansi256=wrapAnsi256(10),styles.bgColor.ansi16m=wrapAnsi16m(10),Object.defineProperties(styles,{rgbToAnsi256:{value:(red,green,blue)=>red===green&&green===blue?red<8?16:red>248?231:Math.round((red-8)/247*24)+232:16+36*Math.round(red/255*5)+6*Math.round(green/255*5)+Math.round(blue/255*5),enumerable:!1},hexToRgb:{value:hex=>{let matches3=/(?[a-f\\d]{6}|[a-f\\d]{3})/i.exec(hex.toString(16));if(!matches3)return [0,0,0];let{colorString}=matches3.groups;colorString.length===3&&(colorString=colorString.split(\"\").map(character=>character+character).join(\"\"));let integer=Number.parseInt(colorString,16);return [integer>>16&255,integer>>8&255,integer&255]},enumerable:!1},hexToAnsi256:{value:hex=>styles.rgbToAnsi256(...styles.hexToRgb(hex)),enumerable:!1}}),styles}Object.defineProperty(module2,\"exports\",{enumerable:!0,get:assembleStyles});}});var require_collections2=__commonJS({\"node_modules/pretty-format/build/collections.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printIteratorEntries=printIteratorEntries;exports.printIteratorValues=printIteratorValues;exports.printListItems=printListItems;exports.printObjectProperties=printObjectProperties;var getKeysOfEnumerableProperties=(object,compareKeys)=>{let keys2=Object.keys(object).sort(compareKeys);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(object).forEach(symbol=>{Object.getOwnPropertyDescriptor(object,symbol).enumerable&&keys2.push(symbol);}),keys2};function printIteratorEntries(iterator,config3,indentation,depth,refs,printer,separator=\": \"){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;){let name=printer(current.value[0],config3,indentationNext,depth,refs),value=printer(current.value[1],config3,indentationNext,depth,refs);result+=indentationNext+name+separator+value,current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;}result+=config3.spacingOuter+indentation;}return result}function printIteratorValues(iterator,config3,indentation,depth,refs,printer){let result=\"\",current=iterator.next();if(!current.done){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(;!current.done;)result+=indentationNext+printer(current.value,config3,indentationNext,depth,refs),current=iterator.next(),current.done?config3.min||(result+=\",\"):result+=\",\"+config3.spacingInner;result+=config3.spacingOuter+indentation;}return result}function printListItems(list,config3,indentation,depth,refs,printer){let result=\"\";if(list.length){result+=config3.spacingOuter;let indentationNext=indentation+config3.indent;for(let i=0;i{let stringedValue=val.toString();return stringedValue===\"ArrayContaining\"||stringedValue===\"ArrayNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"[\"+(0, _collections.printListItems)(val.sample,config3,indentation,depth,refs,printer)+\"]\":stringedValue===\"ObjectContaining\"||stringedValue===\"ObjectNotContaining\"?++depth>config3.maxDepth?\"[\"+stringedValue+\"]\":stringedValue+SPACE+\"{\"+(0, _collections.printObjectProperties)(val.sample,config3,indentation,depth,refs,printer)+\"}\":stringedValue===\"StringMatching\"||stringedValue===\"StringNotMatching\"||stringedValue===\"StringContaining\"||stringedValue===\"StringNotContaining\"?stringedValue+SPACE+printer(val.sample,config3,indentation,depth,refs):val.toAsymmetricMatcher()};exports.serialize=serialize;var test=val=>val&&val.$$typeof===asymmetricMatcher;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ansi_regex=__commonJS({\"../../node_modules/ansi-regex/index.js\"(exports,module2){module2.exports=({onlyFirst=!1}={})=>{let pattern=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(pattern,onlyFirst?void 0:\"g\")};}});var require_ConvertAnsi=__commonJS({\"node_modules/pretty-format/build/plugins/ConvertAnsi.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _ansiRegex=_interopRequireDefault(require_ansi_regex()),_ansiStyles=_interopRequireDefault(require_ansi_styles3());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toHumanReadableAnsi=text=>text.replace((0, _ansiRegex.default)(),match=>{switch(match){case _ansiStyles.default.red.close:case _ansiStyles.default.green.close:case _ansiStyles.default.cyan.close:case _ansiStyles.default.gray.close:case _ansiStyles.default.white.close:case _ansiStyles.default.yellow.close:case _ansiStyles.default.bgRed.close:case _ansiStyles.default.bgGreen.close:case _ansiStyles.default.bgYellow.close:case _ansiStyles.default.inverse.close:case _ansiStyles.default.dim.close:case _ansiStyles.default.bold.close:case _ansiStyles.default.reset.open:case _ansiStyles.default.reset.close:return \"\";case _ansiStyles.default.red.open:return \"\";case _ansiStyles.default.green.open:return \"\";case _ansiStyles.default.cyan.open:return \"\";case _ansiStyles.default.gray.open:return \"\";case _ansiStyles.default.white.open:return \"\";case _ansiStyles.default.yellow.open:return \"\";case _ansiStyles.default.bgRed.open:return \"\";case _ansiStyles.default.bgGreen.open:return \"\";case _ansiStyles.default.bgYellow.open:return \"\";case _ansiStyles.default.inverse.open:return \"\";case _ansiStyles.default.dim.open:return \"\";case _ansiStyles.default.bold.open:return \"\";default:return \"\"}}),test=val=>typeof val==\"string\"&&!!val.match((0, _ansiRegex.default)());exports.test=test;var serialize=(val,config3,indentation,depth,refs,printer)=>printer(toHumanReadableAnsi(val),config3,indentation,depth,refs);exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_DOMCollection2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMCollection.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),SPACE=\" \",OBJECT_NAMES=[\"DOMStringMap\",\"NamedNodeMap\"],ARRAY_REGEXP=/^(HTML\\w*Collection|NodeList)$/,testName=name=>OBJECT_NAMES.indexOf(name)!==-1||ARRAY_REGEXP.test(name),test=val=>val&&val.constructor&&!!val.constructor.name&&testName(val.constructor.name);exports.test=test;var isNamedNodeMap=collection=>collection.constructor.name===\"NamedNodeMap\",serialize=(collection,config3,indentation,depth,refs,printer)=>{let name=collection.constructor.name;return ++depth>config3.maxDepth?\"[\"+name+\"]\":(config3.min?\"\":name+SPACE)+(OBJECT_NAMES.indexOf(name)!==-1?\"{\"+(0, _collections.printObjectProperties)(isNamedNodeMap(collection)?Array.from(collection).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}):{...collection},config3,indentation,depth,refs,printer)+\"}\":\"[\"+(0, _collections.printListItems)(Array.from(collection),config3,indentation,depth,refs,printer)+\"]\")};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_escapeHTML2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/escapeHTML.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=escapeHTML2;function escapeHTML2(str){return str.replace(//g,\">\")}}});var require_markup2=__commonJS({\"node_modules/pretty-format/build/plugins/lib/markup.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.printText=exports.printProps=exports.printElementAsLeaf=exports.printElement=exports.printComment=exports.printChildren=void 0;var _escapeHTML=_interopRequireDefault(require_escapeHTML2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var printProps2=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")};exports.printProps=printProps2;var printChildren2=(children,config3,indentation,depth,refs,printer)=>children.map(child=>config3.spacingOuter+indentation+(typeof child==\"string\"?printText2(child,config3):printer(child,config3,indentation,depth,refs))).join(\"\");exports.printChildren=printChildren2;var printText2=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+(0, _escapeHTML.default)(text)+contentColor.close};exports.printText=printText2;var printComment2=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close};exports.printComment=printComment2;var printElement2=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close};exports.printElement=printElement2;var printElementAsLeaf2=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close};exports.printElementAsLeaf=printElementAsLeaf2;}});var require_DOMElement2=__commonJS({\"node_modules/pretty-format/build/plugins/DOMElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),ELEMENT_NODE2=1,TEXT_NODE2=3,COMMENT_NODE2=8,FRAGMENT_NODE2=11,ELEMENT_REGEXP2=/^((HTML|SVG)\\w*)?Element$/,testHasAttribute=val=>{try{return typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\")}catch{return !1}},testNode2=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||testHasAttribute(val);return nodeType===ELEMENT_NODE2&&(ELEMENT_REGEXP2.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE2&&constructorName===\"Text\"||nodeType===COMMENT_NODE2&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE2&&constructorName===\"DocumentFragment\"},test=val=>{var _val$constructor;return (val==null||(_val$constructor=val.constructor)===null||_val$constructor===void 0?void 0:_val$constructor.name)&&testNode2(val)};exports.test=test;function nodeIsText2(node){return node.nodeType===TEXT_NODE2}function nodeIsComment2(node){return node.nodeType===COMMENT_NODE2}function nodeIsFragment2(node){return node.nodeType===FRAGMENT_NODE2}var serialize=(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText2(node))return (0, _markup.printText)(node.data,config3);if(nodeIsComment2(node))return (0, _markup.printComment)(node.data,config3);let type3=nodeIsFragment2(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(type3,config3):(0, _markup.printElement)(type3,(0, _markup.printProps)(nodeIsFragment2(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment2(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(Array.prototype.slice.call(node.childNodes||node.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)};exports.serialize=serialize;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_Immutable2=__commonJS({\"node_modules/pretty-format/build/plugins/Immutable.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _collections=require_collections2(),IS_ITERABLE_SENTINEL=\"@@__IMMUTABLE_ITERABLE__@@\",IS_LIST_SENTINEL=\"@@__IMMUTABLE_LIST__@@\",IS_KEYED_SENTINEL2=\"@@__IMMUTABLE_KEYED__@@\",IS_MAP_SENTINEL=\"@@__IMMUTABLE_MAP__@@\",IS_ORDERED_SENTINEL2=\"@@__IMMUTABLE_ORDERED__@@\",IS_RECORD_SENTINEL=\"@@__IMMUTABLE_RECORD__@@\",IS_SEQ_SENTINEL=\"@@__IMMUTABLE_SEQ__@@\",IS_SET_SENTINEL2=\"@@__IMMUTABLE_SET__@@\",IS_STACK_SENTINEL=\"@@__IMMUTABLE_STACK__@@\",getImmutableName=name=>\"Immutable.\"+name,printAsLeaf=name=>\"[\"+name+\"]\",SPACE=\" \",LAZY=\"\\u2026\",printImmutableEntries=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"{\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer)+\"}\";function getRecordEntries(val){let i=0;return {next(){if(i{let name=getImmutableName(val._name||\"Record\");return ++depth>config3.maxDepth?printAsLeaf(name):name+SPACE+\"{\"+(0, _collections.printIteratorEntries)(getRecordEntries(val),config3,indentation,depth,refs,printer)+\"}\"},printImmutableSeq=(val,config3,indentation,depth,refs,printer)=>{let name=getImmutableName(\"Seq\");return ++depth>config3.maxDepth?printAsLeaf(name):val[IS_KEYED_SENTINEL2]?name+SPACE+\"{\"+(val._iter||val._object?(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer):LAZY)+\"}\":name+SPACE+\"[\"+(val._iter||val._array||val._collection||val._iterable?(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer):LAZY)+\"]\"},printImmutableValues=(val,config3,indentation,depth,refs,printer,type3)=>++depth>config3.maxDepth?printAsLeaf(getImmutableName(type3)):getImmutableName(type3)+SPACE+\"[\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"]\",serialize=(val,config3,indentation,depth,refs,printer)=>val[IS_MAP_SENTINEL]?printImmutableEntries(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedMap\":\"Map\"):val[IS_LIST_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"List\"):val[IS_SET_SENTINEL2]?printImmutableValues(val,config3,indentation,depth,refs,printer,val[IS_ORDERED_SENTINEL2]?\"OrderedSet\":\"Set\"):val[IS_STACK_SENTINEL]?printImmutableValues(val,config3,indentation,depth,refs,printer,\"Stack\"):val[IS_SEQ_SENTINEL]?printImmutableSeq(val,config3,indentation,depth,refs,printer):printImmutableRecord(val,config3,indentation,depth,refs,printer);exports.serialize=serialize;var test=val=>val&&(val[IS_ITERABLE_SENTINEL]===!0||val[IS_RECORD_SENTINEL]===!0);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_react_is_development2=__commonJS({\"node_modules/react-is/cjs/react-is.development.js\"(exports){(function(){var REACT_ELEMENT_TYPE=60103,REACT_PORTAL_TYPE=60106,REACT_FRAGMENT_TYPE=60107,REACT_STRICT_MODE_TYPE=60108,REACT_PROFILER_TYPE=60114,REACT_PROVIDER_TYPE=60109,REACT_CONTEXT_TYPE=60110,REACT_FORWARD_REF_TYPE=60112,REACT_SUSPENSE_TYPE=60113,REACT_SUSPENSE_LIST_TYPE=60120,REACT_MEMO_TYPE=60115,REACT_LAZY_TYPE=60116,REACT_BLOCK_TYPE=60121,REACT_SERVER_BLOCK_TYPE=60122,REACT_FUNDAMENTAL_TYPE=60117,REACT_DEBUG_TRACING_MODE_TYPE=60129,REACT_LEGACY_HIDDEN_TYPE=60131;if(typeof Symbol==\"function\"&&Symbol.for){var symbolFor=Symbol.for;REACT_ELEMENT_TYPE=symbolFor(\"react.element\"),REACT_PORTAL_TYPE=symbolFor(\"react.portal\"),REACT_FRAGMENT_TYPE=symbolFor(\"react.fragment\"),REACT_STRICT_MODE_TYPE=symbolFor(\"react.strict_mode\"),REACT_PROFILER_TYPE=symbolFor(\"react.profiler\"),REACT_PROVIDER_TYPE=symbolFor(\"react.provider\"),REACT_CONTEXT_TYPE=symbolFor(\"react.context\"),REACT_FORWARD_REF_TYPE=symbolFor(\"react.forward_ref\"),REACT_SUSPENSE_TYPE=symbolFor(\"react.suspense\"),REACT_SUSPENSE_LIST_TYPE=symbolFor(\"react.suspense_list\"),REACT_MEMO_TYPE=symbolFor(\"react.memo\"),REACT_LAZY_TYPE=symbolFor(\"react.lazy\"),REACT_BLOCK_TYPE=symbolFor(\"react.block\"),REACT_SERVER_BLOCK_TYPE=symbolFor(\"react.server.block\"),REACT_FUNDAMENTAL_TYPE=symbolFor(\"react.fundamental\"),symbolFor(\"react.scope\"),symbolFor(\"react.opaque.id\"),REACT_DEBUG_TRACING_MODE_TYPE=symbolFor(\"react.debug_trace_mode\"),symbolFor(\"react.offscreen\"),REACT_LEGACY_HIDDEN_TYPE=symbolFor(\"react.legacy_hidden\");}var enableScopeAPI=!1;function isValidElementType(type3){return !!(typeof type3==\"string\"||typeof type3==\"function\"||type3===REACT_FRAGMENT_TYPE||type3===REACT_PROFILER_TYPE||type3===REACT_DEBUG_TRACING_MODE_TYPE||type3===REACT_STRICT_MODE_TYPE||type3===REACT_SUSPENSE_TYPE||type3===REACT_SUSPENSE_LIST_TYPE||type3===REACT_LEGACY_HIDDEN_TYPE||enableScopeAPI||typeof type3==\"object\"&&type3!==null&&(type3.$$typeof===REACT_LAZY_TYPE||type3.$$typeof===REACT_MEMO_TYPE||type3.$$typeof===REACT_PROVIDER_TYPE||type3.$$typeof===REACT_CONTEXT_TYPE||type3.$$typeof===REACT_FORWARD_REF_TYPE||type3.$$typeof===REACT_FUNDAMENTAL_TYPE||type3.$$typeof===REACT_BLOCK_TYPE||type3[0]===REACT_SERVER_BLOCK_TYPE))}function typeOf(object){if(typeof object==\"object\"&&object!==null){var $$typeof=object.$$typeof;switch($$typeof){case REACT_ELEMENT_TYPE:var type3=object.type;switch(type3){case REACT_FRAGMENT_TYPE:case REACT_PROFILER_TYPE:case REACT_STRICT_MODE_TYPE:case REACT_SUSPENSE_TYPE:case REACT_SUSPENSE_LIST_TYPE:return type3;default:var $$typeofType=type3&&type3.$$typeof;switch($$typeofType){case REACT_CONTEXT_TYPE:case REACT_FORWARD_REF_TYPE:case REACT_LAZY_TYPE:case REACT_MEMO_TYPE:case REACT_PROVIDER_TYPE:return $$typeofType;default:return $$typeof}}case REACT_PORTAL_TYPE:return $$typeof}}}var ContextConsumer=REACT_CONTEXT_TYPE,ContextProvider=REACT_PROVIDER_TYPE,Element2=REACT_ELEMENT_TYPE,ForwardRef=REACT_FORWARD_REF_TYPE,Fragment=REACT_FRAGMENT_TYPE,Lazy=REACT_LAZY_TYPE,Memo=REACT_MEMO_TYPE,Portal=REACT_PORTAL_TYPE,Profiler=REACT_PROFILER_TYPE,StrictMode=REACT_STRICT_MODE_TYPE,Suspense=REACT_SUSPENSE_TYPE,hasWarnedAboutDeprecatedIsAsyncMode=!1,hasWarnedAboutDeprecatedIsConcurrentMode=!1;function isAsyncMode(object){return hasWarnedAboutDeprecatedIsAsyncMode||(hasWarnedAboutDeprecatedIsAsyncMode=!0,console.warn(\"The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isConcurrentMode(object){return hasWarnedAboutDeprecatedIsConcurrentMode||(hasWarnedAboutDeprecatedIsConcurrentMode=!0,console.warn(\"The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.\")),!1}function isContextConsumer(object){return typeOf(object)===REACT_CONTEXT_TYPE}function isContextProvider(object){return typeOf(object)===REACT_PROVIDER_TYPE}function isElement5(object){return typeof object==\"object\"&&object!==null&&object.$$typeof===REACT_ELEMENT_TYPE}function isForwardRef(object){return typeOf(object)===REACT_FORWARD_REF_TYPE}function isFragment(object){return typeOf(object)===REACT_FRAGMENT_TYPE}function isLazy(object){return typeOf(object)===REACT_LAZY_TYPE}function isMemo(object){return typeOf(object)===REACT_MEMO_TYPE}function isPortal(object){return typeOf(object)===REACT_PORTAL_TYPE}function isProfiler(object){return typeOf(object)===REACT_PROFILER_TYPE}function isStrictMode(object){return typeOf(object)===REACT_STRICT_MODE_TYPE}function isSuspense(object){return typeOf(object)===REACT_SUSPENSE_TYPE}exports.ContextConsumer=ContextConsumer,exports.ContextProvider=ContextProvider,exports.Element=Element2,exports.ForwardRef=ForwardRef,exports.Fragment=Fragment,exports.Lazy=Lazy,exports.Memo=Memo,exports.Portal=Portal,exports.Profiler=Profiler,exports.StrictMode=StrictMode,exports.Suspense=Suspense,exports.isAsyncMode=isAsyncMode,exports.isConcurrentMode=isConcurrentMode,exports.isContextConsumer=isContextConsumer,exports.isContextProvider=isContextProvider,exports.isElement=isElement5,exports.isForwardRef=isForwardRef,exports.isFragment=isFragment,exports.isLazy=isLazy,exports.isMemo=isMemo,exports.isPortal=isPortal,exports.isProfiler=isProfiler,exports.isStrictMode=isStrictMode,exports.isSuspense=isSuspense,exports.isValidElementType=isValidElementType,exports.typeOf=typeOf;})();}});var require_react_is2=__commonJS({\"node_modules/react-is/index.js\"(exports,module2){module2.exports=require_react_is_development2();}});var require_ReactElement2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactElement.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var ReactIs=_interopRequireWildcard(require_react_is2()),_markup=require_markup2();function _getRequireWildcardCache(nodeInterop){if(typeof WeakMap!=\"function\")return null;var cacheBabelInterop=new WeakMap,cacheNodeInterop=new WeakMap;return (_getRequireWildcardCache=function(nodeInterop2){return nodeInterop2?cacheNodeInterop:cacheBabelInterop})(nodeInterop)}function _interopRequireWildcard(obj,nodeInterop){if(!nodeInterop&&obj&&obj.__esModule)return obj;if(obj===null||typeof obj!=\"object\"&&typeof obj!=\"function\")return {default:obj};var cache=_getRequireWildcardCache(nodeInterop);if(cache&&cache.has(obj))return cache.get(obj);var newObj={},hasPropertyDescriptor=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var key in obj)if(key!==\"default\"&&Object.prototype.hasOwnProperty.call(obj,key)){var desc=hasPropertyDescriptor?Object.getOwnPropertyDescriptor(obj,key):null;desc&&(desc.get||desc.set)?Object.defineProperty(newObj,key,desc):newObj[key]=obj[key];}return newObj.default=obj,cache&&cache.set(obj,newObj),newObj}var getChildren=(arg,children=[])=>(Array.isArray(arg)?arg.forEach(item=>{getChildren(item,children);}):arg!=null&&arg!==!1&&children.push(arg),children),getType3=element=>{let type3=element.type;if(typeof type3==\"string\")return type3;if(typeof type3==\"function\")return type3.displayName||type3.name||\"Unknown\";if(ReactIs.isFragment(element))return \"React.Fragment\";if(ReactIs.isSuspense(element))return \"React.Suspense\";if(typeof type3==\"object\"&&type3!==null){if(ReactIs.isContextProvider(element))return \"Context.Provider\";if(ReactIs.isContextConsumer(element))return \"Context.Consumer\";if(ReactIs.isForwardRef(element)){if(type3.displayName)return type3.displayName;let functionName=type3.render.displayName||type3.render.name||\"\";return functionName!==\"\"?\"ForwardRef(\"+functionName+\")\":\"ForwardRef\"}if(ReactIs.isMemo(element)){let functionName=type3.displayName||type3.type.displayName||type3.type.name||\"\";return functionName!==\"\"?\"Memo(\"+functionName+\")\":\"Memo\"}}return \"UNDEFINED\"},getPropKeys=element=>{let{props}=element;return Object.keys(props).filter(key=>key!==\"children\"&&props[key]!==void 0).sort()},serialize=(element,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(getType3(element),config3):(0, _markup.printElement)(getType3(element),(0, _markup.printProps)(getPropKeys(element),element.props,config3,indentation+config3.indent,depth,refs,printer),(0, _markup.printChildren)(getChildren(element.props.children),config3,indentation+config3.indent,depth,refs,printer),config3,indentation);exports.serialize=serialize;var test=val=>val!=null&&ReactIs.isElement(val);exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_ReactTestComponent2=__commonJS({\"node_modules/pretty-format/build/plugins/ReactTestComponent.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.test=exports.serialize=exports.default=void 0;var _markup=require_markup2(),global2=function(){return typeof globalThis<\"u\"?globalThis:typeof global2<\"u\"?global2:typeof self<\"u\"?self:typeof window<\"u\"?window:Function(\"return this\")()}(),Symbol2=global2[\"jest-symbol-do-not-touch\"]||global2.Symbol,testSymbol=typeof Symbol2==\"function\"&&Symbol2.for?Symbol2.for(\"react.test.json\"):245830487,getPropKeys=object=>{let{props}=object;return props?Object.keys(props).filter(key=>props[key]!==void 0).sort():[]},serialize=(object,config3,indentation,depth,refs,printer)=>++depth>config3.maxDepth?(0, _markup.printElementAsLeaf)(object.type,config3):(0, _markup.printElement)(object.type,object.props?(0, _markup.printProps)(getPropKeys(object),object.props,config3,indentation+config3.indent,depth,refs,printer):\"\",object.children?(0, _markup.printChildren)(object.children,config3,indentation+config3.indent,depth,refs,printer):\"\",config3,indentation);exports.serialize=serialize;var test=val=>val&&val.$$typeof===testSymbol;exports.test=test;var plugin={serialize,test},_default=plugin;exports.default=_default;}});var require_build3=__commonJS({\"node_modules/pretty-format/build/index.js\"(exports){Object.defineProperty(exports,\"__esModule\",{value:!0});exports.default=exports.DEFAULT_OPTIONS=void 0;exports.format=format4;exports.plugins=void 0;var _ansiStyles=_interopRequireDefault(require_ansi_styles3()),_collections=require_collections2(),_AsymmetricMatcher=_interopRequireDefault(require_AsymmetricMatcher2()),_ConvertAnsi=_interopRequireDefault(require_ConvertAnsi()),_DOMCollection=_interopRequireDefault(require_DOMCollection2()),_DOMElement=_interopRequireDefault(require_DOMElement2()),_Immutable=_interopRequireDefault(require_Immutable2()),_ReactElement=_interopRequireDefault(require_ReactElement2()),_ReactTestComponent=_interopRequireDefault(require_ReactTestComponent2());function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj}}var toString=Object.prototype.toString,toISOString=Date.prototype.toISOString,errorToString=Error.prototype.toString,regExpToString=RegExp.prototype.toString,getConstructorName=val=>typeof val.constructor==\"function\"&&val.constructor.name||\"Object\",isWindow=val=>typeof window<\"u\"&&val===window,SYMBOL_REGEXP=/^Symbol\\((.*)\\)(.*)$/,NEWLINE_REGEXP=/\\n/gi,PrettyFormatPluginError=class extends Error{constructor(message,stack){super(message),this.stack=stack,this.name=this.constructor.name;}};function isToStringedArrayType(toStringed){return toStringed===\"[object Array]\"||toStringed===\"[object ArrayBuffer]\"||toStringed===\"[object DataView]\"||toStringed===\"[object Float32Array]\"||toStringed===\"[object Float64Array]\"||toStringed===\"[object Int8Array]\"||toStringed===\"[object Int16Array]\"||toStringed===\"[object Int32Array]\"||toStringed===\"[object Uint8Array]\"||toStringed===\"[object Uint8ClampedArray]\"||toStringed===\"[object Uint16Array]\"||toStringed===\"[object Uint32Array]\"}function printNumber(val){return Object.is(val,-0)?\"-0\":String(val)}function printBigInt(val){return `${val}n`}function printFunction(val,printFunctionName){return printFunctionName?\"[Function \"+(val.name||\"anonymous\")+\"]\":\"[Function]\"}function printSymbol(val){return String(val).replace(SYMBOL_REGEXP,\"Symbol($1)\")}function printError(val){return \"[\"+errorToString.call(val)+\"]\"}function printBasicValue(val,printFunctionName,escapeRegex,escapeString){if(val===!0||val===!1)return \"\"+val;if(val===void 0)return \"undefined\";if(val===null)return \"null\";let typeOf=typeof val;if(typeOf===\"number\")return printNumber(val);if(typeOf===\"bigint\")return printBigInt(val);if(typeOf===\"string\")return escapeString?'\"'+val.replace(/\"|\\\\/g,\"\\\\$&\")+'\"':'\"'+val+'\"';if(typeOf===\"function\")return printFunction(val,printFunctionName);if(typeOf===\"symbol\")return printSymbol(val);let toStringed=toString.call(val);return toStringed===\"[object WeakMap]\"?\"WeakMap {}\":toStringed===\"[object WeakSet]\"?\"WeakSet {}\":toStringed===\"[object Function]\"||toStringed===\"[object GeneratorFunction]\"?printFunction(val,printFunctionName):toStringed===\"[object Symbol]\"?printSymbol(val):toStringed===\"[object Date]\"?isNaN(+val)?\"Date { NaN }\":toISOString.call(val):toStringed===\"[object Error]\"?printError(val):toStringed===\"[object RegExp]\"?escapeRegex?regExpToString.call(val).replace(/[\\\\^$*+?.()|[\\]{}]/g,\"\\\\$&\"):regExpToString.call(val):val instanceof Error?printError(val):null}function printComplexValue(val,config3,indentation,depth,refs,hasCalledToJSON){if(refs.indexOf(val)!==-1)return \"[Circular]\";refs=refs.slice(),refs.push(val);let hitMaxDepth=++depth>config3.maxDepth,min=config3.min;if(config3.callToJSON&&!hitMaxDepth&&val.toJSON&&typeof val.toJSON==\"function\"&&!hasCalledToJSON)return printer(val.toJSON(),config3,indentation,depth,refs,!0);let toStringed=toString.call(val);return toStringed===\"[object Arguments]\"?hitMaxDepth?\"[Arguments]\":(min?\"\":\"Arguments \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":isToStringedArrayType(toStringed)?hitMaxDepth?\"[\"+val.constructor.name+\"]\":(min||!config3.printBasicPrototype&&val.constructor.name===\"Array\"?\"\":val.constructor.name+\" \")+\"[\"+(0, _collections.printListItems)(val,config3,indentation,depth,refs,printer)+\"]\":toStringed===\"[object Map]\"?hitMaxDepth?\"[Map]\":\"Map {\"+(0, _collections.printIteratorEntries)(val.entries(),config3,indentation,depth,refs,printer,\" => \")+\"}\":toStringed===\"[object Set]\"?hitMaxDepth?\"[Set]\":\"Set {\"+(0, _collections.printIteratorValues)(val.values(),config3,indentation,depth,refs,printer)+\"}\":hitMaxDepth||isWindow(val)?\"[\"+getConstructorName(val)+\"]\":(min||!config3.printBasicPrototype&&getConstructorName(val)===\"Object\"?\"\":getConstructorName(val)+\" \")+\"{\"+(0, _collections.printObjectProperties)(val,config3,indentation,depth,refs,printer)+\"}\"}function isNewPlugin(plugin){return plugin.serialize!=null}function printPlugin(plugin,val,config3,indentation,depth,refs){let printed;try{printed=isNewPlugin(plugin)?plugin.serialize(val,config3,indentation,depth,refs,printer):plugin.print(val,valChild=>printer(valChild,config3,indentation,depth,refs),str=>{let indentationNext=indentation+config3.indent;return indentationNext+str.replace(NEWLINE_REGEXP,`\n`+indentationNext)},{edgeSpacing:config3.spacingOuter,min:config3.min,spacing:config3.spacingInner},config3.colors);}catch(error){throw new PrettyFormatPluginError(error.message,error.stack)}if(typeof printed!=\"string\")throw new Error(`pretty-format: Plugin must return type \"string\" but instead returned \"${typeof printed}\".`);return printed}function findPlugin(plugins5,val){for(let p2=0;p2{if(!DEFAULT_OPTIONS.hasOwnProperty(key))throw new Error(`pretty-format: Unknown option \"${key}\".`)}),options.min&&options.indent!==void 0&&options.indent!==0)throw new Error('pretty-format: Options \"min\" and \"indent\" cannot be used together.');if(options.theme!==void 0){if(options.theme===null)throw new Error('pretty-format: Option \"theme\" must not be null.');if(typeof options.theme!=\"object\")throw new Error(`pretty-format: Option \"theme\" must be of type \"object\" but instead received \"${typeof options.theme}\".`)}}var getColorsHighlight=options=>DEFAULT_THEME_KEYS.reduce((colors,key)=>{let value=options.theme&&options.theme[key]!==void 0?options.theme[key]:DEFAULT_THEME[key],color=value&&_ansiStyles.default[value];if(color&&typeof color.close==\"string\"&&typeof color.open==\"string\")colors[key]=color;else throw new Error(`pretty-format: Option \"theme\" has a key \"${key}\" whose value \"${value}\" is undefined in ansi-styles.`);return colors},Object.create(null)),getColorsEmpty=()=>DEFAULT_THEME_KEYS.reduce((colors,key)=>(colors[key]={close:\"\",open:\"\"},colors),Object.create(null)),getPrintFunctionName=options=>options&&options.printFunctionName!==void 0?options.printFunctionName:DEFAULT_OPTIONS.printFunctionName,getEscapeRegex=options=>options&&options.escapeRegex!==void 0?options.escapeRegex:DEFAULT_OPTIONS.escapeRegex,getEscapeString=options=>options&&options.escapeString!==void 0?options.escapeString:DEFAULT_OPTIONS.escapeString,getConfig3=options=>{var _options$printBasicPr;return {callToJSON:options&&options.callToJSON!==void 0?options.callToJSON:DEFAULT_OPTIONS.callToJSON,colors:options&&options.highlight?getColorsHighlight(options):getColorsEmpty(),compareKeys:options&&typeof options.compareKeys==\"function\"?options.compareKeys:DEFAULT_OPTIONS.compareKeys,escapeRegex:getEscapeRegex(options),escapeString:getEscapeString(options),indent:options&&options.min?\"\":createIndent(options&&options.indent!==void 0?options.indent:DEFAULT_OPTIONS.indent),maxDepth:options&&options.maxDepth!==void 0?options.maxDepth:DEFAULT_OPTIONS.maxDepth,min:options&&options.min!==void 0?options.min:DEFAULT_OPTIONS.min,plugins:options&&options.plugins!==void 0?options.plugins:DEFAULT_OPTIONS.plugins,printBasicPrototype:(_options$printBasicPr=options?.printBasicPrototype)!==null&&_options$printBasicPr!==void 0?_options$printBasicPr:!0,printFunctionName:getPrintFunctionName(options),spacingInner:options&&options.min?\" \":`\n`,spacingOuter:options&&options.min?\"\":`\n`}};function createIndent(indent){return new Array(indent+1).join(\" \")}function format4(val,options){if(options&&(validateOptions(options),options.plugins)){let plugin=findPlugin(options.plugins,val);if(plugin!==null)return printPlugin(plugin,val,getConfig3(options),\"\",0,[])}let basicResult=printBasicValue(val,getPrintFunctionName(options),getEscapeRegex(options),getEscapeString(options));return basicResult!==null?basicResult:printComplexValue(val,getConfig3(options),\"\",0,[])}var plugins4={AsymmetricMatcher:_AsymmetricMatcher.default,ConvertAnsi:_ConvertAnsi.default,DOMCollection:_DOMCollection.default,DOMElement:_DOMElement.default,Immutable:_Immutable.default,ReactElement:_ReactElement.default,ReactTestComponent:_ReactTestComponent.default};exports.plugins=plugins4;var _default=format4;exports.default=_default;}});var require_lz_string=__commonJS({\"../../node_modules/lz-string/libs/lz-string.js\"(exports,module2){var LZString=function(){var f=String.fromCharCode,keyStrBase64=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\",keyStrUriSafe=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$\",baseReverseDic={};function getBaseValue(alphabet,character){if(!baseReverseDic[alphabet]){baseReverseDic[alphabet]={};for(var i=0;i>>8,buf[i*2+1]=current_value%256;}return buf},decompressFromUint8Array:function(compressed){if(compressed==null)return LZString2.decompress(compressed);for(var buf=new Array(compressed.length/2),i=0,TotalLen=buf.length;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),context_dictionary[context_wc]=context_dictSize++,context_w=String(context_c);}if(context_w!==\"\"){if(Object.prototype.hasOwnProperty.call(context_dictionaryToCreate,context_w)){if(context_w.charCodeAt(0)<256){for(i=0;i>1;}else {for(value=1,i=0;i>1;}context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++),delete context_dictionaryToCreate[context_w];}else for(value=context_dictionary[context_w],i=0;i>1;context_enlargeIn--,context_enlargeIn==0&&(context_enlargeIn=Math.pow(2,context_numBits),context_numBits++);}for(value=2,i=0;i>1;for(;;)if(context_data_val=context_data_val<<1,context_data_position==bitsPerChar-1){context_data.push(getCharFromInt(context_data_val));break}else context_data_position++;return context_data.join(\"\")},decompress:function(compressed){return compressed==null?\"\":compressed==\"\"?null:LZString2._decompress(compressed.length,32768,function(index){return compressed.charCodeAt(index)})},_decompress:function(length,resetValue,getNextValue){var dictionary=[],enlargeIn=4,dictSize=4,numBits=3,entry=\"\",result=[],i,w,bits,resb,maxpower,power,c,data={val:getNextValue(0),position:resetValue,index:1};for(i=0;i<3;i+=1)dictionary[i]=i;for(bits=0,maxpower=Math.pow(2,2),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;c=f(bits);break;case 2:return \"\"}for(dictionary[3]=c,w=c,result.push(c);;){if(data.index>length)return \"\";for(bits=0,maxpower=Math.pow(2,numBits),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;switch(c=bits){case 0:for(bits=0,maxpower=Math.pow(2,8),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 1:for(bits=0,maxpower=Math.pow(2,16),power=1;power!=maxpower;)resb=data.val&data.position,data.position>>=1,data.position==0&&(data.position=resetValue,data.val=getNextValue(data.index++)),bits|=(resb>0?1:0)*power,power<<=1;dictionary[dictSize++]=f(bits),c=dictSize-1,enlargeIn--;break;case 2:return result.join(\"\")}if(enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++),dictionary[c])entry=dictionary[c];else if(c===dictSize)entry=w+w.charAt(0);else return null;result.push(entry),dictionary[dictSize++]=w+entry.charAt(0),enlargeIn--,w=entry,enlargeIn==0&&(enlargeIn=Math.pow(2,numBits),numBits++);}}};return LZString2}();typeof define==\"function\"&&define.amd?define(function(){return LZString}):typeof module2<\"u\"&&module2!=null?module2.exports=LZString:typeof angular<\"u\"&&angular!=null&&angular.module(\"LZString\",[]).factory(\"LZString\",function(){return LZString});}});var import_index=__toESM(require_chai2(),1),expect=import_index.default.expect;import_index.default.version;import_index.default.Assertion;import_index.default.AssertionError;var util=import_index.default.util;import_index.default.config;var use=import_index.default.use;import_index.default.should;var assert=import_index.default.assert;import_index.default.core;var chai_default=import_index.default;var scope=(()=>{let win;return typeof window<\"u\"?win=window:typeof globalThis<\"u\"?win=globalThis:typeof global<\"u\"?win=global:typeof self<\"u\"?win=self:win={},win})();function assertTypes(value,name,types){let receivedType=typeof value;if(!types.includes(receivedType))throw new TypeError(`${name} value must be ${types.join(\" or \")}, received \"${receivedType}\"`)}function isObject(item){return item!=null&&typeof item==\"object\"&&!Array.isArray(item)}function isFinalObj(obj){return obj===Object.prototype||obj===Function.prototype||obj===RegExp.prototype}function getType(value){return Object.prototype.toString.apply(value).slice(8,-1)}function collectOwnProperties(obj,collector){let collect=typeof collector==\"function\"?collector:key=>collector.add(key);Object.getOwnPropertyNames(obj).forEach(collect),Object.getOwnPropertySymbols(obj).forEach(collect);}function getOwnProperties(obj){let ownProps=new Set;return isFinalObj(obj)?[]:(collectOwnProperties(obj,ownProps),Array.from(ownProps))}var defaultCloneOptions={forceWritable:!1};function deepClone(val,options=defaultCloneOptions){return clone(val,new WeakMap,options)}function clone(val,seen,options=defaultCloneOptions){let k,out;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){for(out=Array(k=val.length),seen.set(val,out);k--;)out[k]=clone(val[k],seen,options);return out}if(Object.prototype.toString.call(val)===\"[object Object]\"){out=Object.create(Object.getPrototypeOf(val)),seen.set(val,out);let props=getOwnProperties(val);for(let k2 of props){let descriptor=Object.getOwnPropertyDescriptor(val,k2);if(!descriptor)continue;let cloned=clone(val[k2],seen,options);\"get\"in descriptor?Object.defineProperty(out,k2,{...descriptor,get(){return cloned}}):Object.defineProperty(out,k2,{...descriptor,writable:options.forceWritable?!0:descriptor.writable,value:cloned});}return out}return val}var import_pretty_format=__toESM(require_build(),1),loupe=__toESM(require_loupe(),1),{AsymmetricMatcher,DOMCollection,DOMElement,Immutable,ReactElement,ReactTestComponent}=import_pretty_format.plugins,PLUGINS=[ReactTestComponent,ReactElement,DOMElement,DOMCollection,Immutable,AsymmetricMatcher];function stringify(object,maxDepth=10,{maxLength,...options}={}){let MAX_LENGTH=maxLength??1e4,result;try{result=(0,import_pretty_format.format)(object,{maxDepth,escapeString:!1,plugins:PLUGINS,...options});}catch{result=(0, import_pretty_format.format)(object,{callToJSON:!1,maxDepth,escapeString:!1,plugins:PLUGINS,...options});}return result.length>=MAX_LENGTH&&maxDepth>1?stringify(object,Math.floor(maxDepth/2)):result}var formatRegExp=/%[sdjifoOcj%]/g;function format(...args){if(typeof args[0]!=\"string\"){let objects=[];for(let i2=0;i2{if(x===\"%%\")return \"%\";if(i>=len)return x;switch(x){case\"%s\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:typeof value==\"number\"&&value===0&&1/value<0?\"-0\":typeof value==\"object\"&&value!==null?inspect2(value,{depth:0,colors:!1,compact:3}):String(value)}case\"%d\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number(value).toString()}case\"%i\":{let value=args[i++];return typeof value==\"bigint\"?`${value.toString()}n`:Number.parseInt(String(value)).toString()}case\"%f\":return Number.parseFloat(String(args[i++])).toString();case\"%o\":return inspect2(args[i++],{showHidden:!0,showProxy:!0});case\"%O\":return inspect2(args[i++]);case\"%c\":return i++,\"\";case\"%j\":try{return JSON.stringify(args[i++])}catch(err){let m2=err.message;if(m2.includes(\"circular structure\")||m2.includes(\"cyclic structures\")||m2.includes(\"cyclic object\"))return \"[Circular]\";throw err}default:return x}});for(let x=args[i];i(acc[key]=string,acc),{isColorSupported:!1});function getColors(){return globalThis[SAFE_COLORS_SYMBOL]||defaultColors}__toESM(require_build(),1);__toESM(require_loupe(),1);var LineTerminatorSequence;LineTerminatorSequence=/\\r?\\n|[\\r\\u2028\\u2029]/y;RegExp(LineTerminatorSequence.source);var reservedWords={keyword:[\"break\",\"case\",\"catch\",\"continue\",\"debugger\",\"default\",\"do\",\"else\",\"finally\",\"for\",\"function\",\"if\",\"return\",\"switch\",\"throw\",\"try\",\"var\",\"const\",\"while\",\"with\",\"new\",\"this\",\"super\",\"class\",\"extends\",\"export\",\"import\",\"null\",\"true\",\"false\",\"in\",\"instanceof\",\"typeof\",\"void\",\"delete\"],strict:[\"implements\",\"interface\",\"let\",\"package\",\"private\",\"protected\",\"public\",\"static\",\"yield\"]};new Set(reservedWords.keyword);new Set(reservedWords.strict);var import_pretty_format3=__toESM(require_build(),1),diff$1=__toESM(require_build2(),1);function getType2(value){if(value===void 0)return \"undefined\";if(value===null)return \"null\";if(Array.isArray(value))return \"array\";if(typeof value==\"boolean\")return \"boolean\";if(typeof value==\"function\")return \"function\";if(typeof value==\"number\")return \"number\";if(typeof value==\"string\")return \"string\";if(typeof value==\"bigint\")return \"bigint\";if(typeof value==\"object\"){if(value!=null){if(value.constructor===RegExp)return \"regexp\";if(value.constructor===Map)return \"map\";if(value.constructor===Set)return \"set\";if(value.constructor===Date)return \"date\"}return \"object\"}else if(typeof value==\"symbol\")return \"symbol\";throw new Error(`value of unknown type: ${value}`)}var DIFF_DELETE=-1,DIFF_INSERT=1,DIFF_EQUAL=0,Diff=class{0;1;constructor(op,text){this[0]=op,this[1]=text;}};var NO_DIFF_MESSAGE=\"Compared values have no visual difference.\",SIMILAR_MESSAGE=\"Compared values serialize to the same structure.\\nPrinting internal object structure without calling `toJSON` instead.\";function formatTrailingSpaces(line,trailingSpaceFormatter){return line.replace(/\\s+$/,match=>trailingSpaceFormatter(match))}function printDiffLine(line,isFirstOrLast,color,indicator,trailingSpaceFormatter,emptyFirstOrLastLinePlaceholder){return line.length!==0?color(`${indicator} ${formatTrailingSpaces(line,trailingSpaceFormatter)}`):indicator!==\" \"?color(indicator):isFirstOrLast&&emptyFirstOrLastLinePlaceholder.length!==0?color(`${indicator} ${emptyFirstOrLastLinePlaceholder}`):\"\"}function printDeleteLine(line,isFirstOrLast,{aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,aColor,aIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printInsertLine(line,isFirstOrLast,{bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,bColor,bIndicator,changeLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function printCommonLine(line,isFirstOrLast,{commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder}){return printDiffLine(line,isFirstOrLast,commonColor,commonIndicator,commonLineTrailingSpaceColor,emptyFirstOrLastLinePlaceholder)}function createPatchMark(aStart,aEnd,bStart,bEnd,{patchColor}){return patchColor(`@@ -${aStart+1},${aEnd-aStart} +${bStart+1},${bEnd-bStart} @@`)}function joinAlignedDiffsNoExpand(diffs,options){let iLength=diffs.length,nContextLines=options.contextLines,nContextLines2=nContextLines+nContextLines,jLength=iLength,hasExcessAtStartOrEnd=!1,nExcessesBetweenChanges=0,i=0;for(;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0)i>nContextLines&&(jLength-=i-nContextLines,hasExcessAtStartOrEnd=!0);else if(i===iLength){let n=i-iStart;n>nContextLines&&(jLength-=n-nContextLines,hasExcessAtStartOrEnd=!0);}else {let n=i-iStart;n>nContextLines2&&(jLength-=n-nContextLines2,nExcessesBetweenChanges+=1);}for(;i!==iLength&&diffs[i][0]!==DIFF_EQUAL;)i+=1;}let hasPatch=nExcessesBetweenChanges!==0||hasExcessAtStartOrEnd;nExcessesBetweenChanges!==0?jLength+=nExcessesBetweenChanges+1:hasExcessAtStartOrEnd&&(jLength+=1);let jLast=jLength-1,lines=[],jPatchMark=0;hasPatch&&lines.push(\"\");let aStart=0,bStart=0,aEnd=0,bEnd=0,pushCommonLine=line=>{let j=lines.length;lines.push(printCommonLine(line,j===0||j===jLast,options)),aEnd+=1,bEnd+=1;},pushDeleteLine=line=>{let j=lines.length;lines.push(printDeleteLine(line,j===0||j===jLast,options)),aEnd+=1;},pushInsertLine=line=>{let j=lines.length;lines.push(printInsertLine(line,j===0||j===jLast,options)),bEnd+=1;};for(i=0;i!==iLength;){let iStart=i;for(;i!==iLength&&diffs[i][0]===DIFF_EQUAL;)i+=1;if(iStart!==i)if(iStart===0){i>nContextLines&&(iStart=i-nContextLines,aStart=iStart,bStart=iStart,aEnd=aStart,bEnd=bStart);for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else if(i===iLength){let iEnd=i-iStart>nContextLines?iStart+nContextLines:i;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else {let nCommon=i-iStart;if(nCommon>nContextLines2){let iEnd=iStart+nContextLines;for(let iCommon=iStart;iCommon!==iEnd;iCommon+=1)pushCommonLine(diffs[iCommon][1]);lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options),jPatchMark=lines.length,lines.push(\"\");let nOmit=nCommon-nContextLines2;aStart=aEnd+nOmit,bStart=bEnd+nOmit,aEnd=aStart,bEnd=bStart;for(let iCommon=i-nContextLines;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}else for(let iCommon=iStart;iCommon!==i;iCommon+=1)pushCommonLine(diffs[iCommon][1]);}for(;i!==iLength&&diffs[i][0]===DIFF_DELETE;)pushDeleteLine(diffs[i][1]),i+=1;for(;i!==iLength&&diffs[i][0]===DIFF_INSERT;)pushInsertLine(diffs[i][1]),i+=1;}return hasPatch&&(lines[jPatchMark]=createPatchMark(aStart,aEnd,bStart,bEnd,options)),lines.join(`\n`)}function joinAlignedDiffsExpand(diffs,options){return diffs.map((diff2,i,diffs2)=>{let line=diff2[1],isFirstOrLast=i===0||i===diffs2.length-1;switch(diff2[0]){case DIFF_DELETE:return printDeleteLine(line,isFirstOrLast,options);case DIFF_INSERT:return printInsertLine(line,isFirstOrLast,options);default:return printCommonLine(line,isFirstOrLast,options)}}).join(`\n`)}var noColor=string2=>string2,DIFF_CONTEXT_DEFAULT=5;function getDefaultOptions(){let c=getColors();return {aAnnotation:\"Expected\",aColor:c.green,aIndicator:\"-\",bAnnotation:\"Received\",bColor:c.red,bIndicator:\"+\",changeColor:c.inverse,changeLineTrailingSpaceColor:noColor,commonColor:c.dim,commonIndicator:\" \",commonLineTrailingSpaceColor:noColor,compareKeys:void 0,contextLines:DIFF_CONTEXT_DEFAULT,emptyFirstOrLastLinePlaceholder:\"\",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:c.yellow}}function getCompareKeys(compareKeys){return compareKeys&&typeof compareKeys==\"function\"?compareKeys:void 0}function getContextLines(contextLines){return typeof contextLines==\"number\"&&Number.isSafeInteger(contextLines)&&contextLines>=0?contextLines:DIFF_CONTEXT_DEFAULT}function normalizeDiffOptions(options={}){return {...getDefaultOptions(),...options,compareKeys:getCompareKeys(options.compareKeys),contextLines:getContextLines(options.contextLines)}}function isEmptyString(lines){return lines.length===1&&lines[0].length===0}function countChanges(diffs){let a=0,b2=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:a+=1;break;case DIFF_INSERT:b2+=1;break}}),{a,b:b2}}function printAnnotation({aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator,includeChangeCounts,omitAnnotationLines},changeCounts){if(omitAnnotationLines)return \"\";let aRest=\"\",bRest=\"\";if(includeChangeCounts){let aCount=String(changeCounts.a),bCount=String(changeCounts.b),baAnnotationLengthDiff=bAnnotation.length-aAnnotation.length,aAnnotationPadding=\" \".repeat(Math.max(0,baAnnotationLengthDiff)),bAnnotationPadding=\" \".repeat(Math.max(0,-baAnnotationLengthDiff)),baCountLengthDiff=bCount.length-aCount.length,aCountPadding=\" \".repeat(Math.max(0,baCountLengthDiff)),bCountPadding=\" \".repeat(Math.max(0,-baCountLengthDiff));aRest=`${aAnnotationPadding} ${aIndicator} ${aCountPadding}${aCount}`,bRest=`${bAnnotationPadding} ${bIndicator} ${bCountPadding}${bCount}`;}let a=`${aIndicator} ${aAnnotation}${aRest}`,b2=`${bIndicator} ${bAnnotation}${bRest}`;return `${aColor(a)}\n${bColor(b2)}\n\n`}function printDiffLines(diffs,options){return printAnnotation(options,countChanges(diffs))+(options.expand?joinAlignedDiffsExpand(diffs,options):joinAlignedDiffsNoExpand(diffs,options))}function diffLinesUnified(aLines,bLines,options){return printDiffLines(diffLinesRaw(isEmptyString(aLines)?[]:aLines,isEmptyString(bLines)?[]:bLines),normalizeDiffOptions(options))}function diffLinesUnified2(aLinesDisplay,bLinesDisplay,aLinesCompare,bLinesCompare,options){if(isEmptyString(aLinesDisplay)&&isEmptyString(aLinesCompare)&&(aLinesDisplay=[],aLinesCompare=[]),isEmptyString(bLinesDisplay)&&isEmptyString(bLinesCompare)&&(bLinesDisplay=[],bLinesCompare=[]),aLinesDisplay.length!==aLinesCompare.length||bLinesDisplay.length!==bLinesCompare.length)return diffLinesUnified(aLinesDisplay,bLinesDisplay,options);let diffs=diffLinesRaw(aLinesCompare,bLinesCompare),aIndex=0,bIndex=0;return diffs.forEach(diff2=>{switch(diff2[0]){case DIFF_DELETE:diff2[1]=aLinesDisplay[aIndex],aIndex+=1;break;case DIFF_INSERT:diff2[1]=bLinesDisplay[bIndex],bIndex+=1;break;default:diff2[1]=bLinesDisplay[bIndex],aIndex+=1,bIndex+=1;}}),printDiffLines(diffs,normalizeDiffOptions(options))}function diffLinesRaw(aLines,bLines){let aLength=aLines.length,bLength=bLines.length,isCommon=(aIndex2,bIndex2)=>aLines[aIndex2]===bLines[bIndex2],diffs=[],aIndex=0,bIndex=0,foundSubsequence=(nCommon,aCommon,bCommon)=>{for(;aIndex!==aCommon;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bCommon;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));for(;nCommon!==0;nCommon-=1,aIndex+=1,bIndex+=1)diffs.push(new Diff(DIFF_EQUAL,bLines[bIndex]));};for((diff$1.default.default||diff$1.default)(aLength,bLength,isCommon,foundSubsequence);aIndex!==aLength;aIndex+=1)diffs.push(new Diff(DIFF_DELETE,aLines[aIndex]));for(;bIndex!==bLength;bIndex+=1)diffs.push(new Diff(DIFF_INSERT,bLines[bIndex]));return diffs}function getCommonMessage(message,options){let{commonColor}=normalizeDiffOptions(options);return commonColor(message)}var{AsymmetricMatcher:AsymmetricMatcher2,DOMCollection:DOMCollection2,DOMElement:DOMElement2,Immutable:Immutable2,ReactElement:ReactElement2,ReactTestComponent:ReactTestComponent2}=import_pretty_format3.plugins,PLUGINS2=[ReactTestComponent2,ReactElement2,DOMElement2,DOMCollection2,Immutable2,AsymmetricMatcher2],FORMAT_OPTIONS={plugins:PLUGINS2},FALLBACK_FORMAT_OPTIONS={callToJSON:!1,maxDepth:10,plugins:PLUGINS2};function diff(a,b2,options){if(Object.is(a,b2))return \"\";let aType=getType2(a),expectedType=aType,omitDifference=!1;if(aType===\"object\"&&typeof a.asymmetricMatch==\"function\"){if(a.$$typeof!==Symbol.for(\"jest.asymmetricMatcher\")||typeof a.getExpectedType!=\"function\")return null;expectedType=a.getExpectedType(),omitDifference=expectedType===\"string\";}if(expectedType!==getType2(b2)){let{aAnnotation,aColor,aIndicator,bAnnotation,bColor,bIndicator}=normalizeDiffOptions(options),formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options),aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions),aDiff=`${aColor(`${aIndicator} ${aAnnotation}:`)} \n${aDisplay}`,bDiff=`${bColor(`${bIndicator} ${bAnnotation}:`)} \n${bDisplay}`;return `${aDiff}\n\n${bDiff}`}if(omitDifference)return null;switch(aType){case\"string\":return diffLinesUnified(a.split(`\n`),b2.split(`\n`),options);case\"boolean\":case\"number\":return comparePrimitive(a,b2,options);case\"map\":return compareObjects(sortMap(a),sortMap(b2),options);case\"set\":return compareObjects(sortSet(a),sortSet(b2),options);default:return compareObjects(a,b2,options)}}function comparePrimitive(a,b2,options){let aFormat=(0, import_pretty_format3.format)(a,FORMAT_OPTIONS),bFormat=(0, import_pretty_format3.format)(b2,FORMAT_OPTIONS);return aFormat===bFormat?\"\":diffLinesUnified(aFormat.split(`\n`),bFormat.split(`\n`),options)}function sortMap(map){return new Map(Array.from(map.entries()).sort())}function sortSet(set){return new Set(Array.from(set.values()).sort())}function compareObjects(a,b2,options){let difference,hasThrown=!1;try{let formatOptions=getFormatOptions(FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options);}catch{hasThrown=!0;}let noDiffMessage=getCommonMessage(NO_DIFF_MESSAGE,options);if(difference===void 0||difference===noDiffMessage){let formatOptions=getFormatOptions(FALLBACK_FORMAT_OPTIONS,options);difference=getObjectsDifference(a,b2,formatOptions,options),difference!==noDiffMessage&&!hasThrown&&(difference=`${getCommonMessage(SIMILAR_MESSAGE,options)}\n\n${difference}`);}return difference}function getFormatOptions(formatOptions,options){let{compareKeys}=normalizeDiffOptions(options);return {...formatOptions,compareKeys}}function getObjectsDifference(a,b2,formatOptions,options){let formatOptionsZeroIndent={...formatOptions,indent:0},aCompare=(0, import_pretty_format3.format)(a,formatOptionsZeroIndent),bCompare=(0, import_pretty_format3.format)(b2,formatOptionsZeroIndent);if(aCompare===bCompare)return getCommonMessage(NO_DIFF_MESSAGE,options);{let aDisplay=(0, import_pretty_format3.format)(a,formatOptions),bDisplay=(0, import_pretty_format3.format)(b2,formatOptions);return diffLinesUnified2(aDisplay.split(`\n`),bDisplay.split(`\n`),aCompare.split(`\n`),bCompare.split(`\n`),options)}}function m(e,t){if(!e)throw new Error(t)}function y(e,t){return typeof t===e}function b(e){return e instanceof Promise}function d(e,t,n){Object.defineProperty(e,t,n);}function p(e,t,n){Object.defineProperty(e,t,{value:n});}var u=Symbol.for(\"tinyspy:spy\"),I=new Set,M=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.next=[];},C=e=>(d(e,u,{value:{reset:()=>M(e[u])}}),e[u]),v=e=>e[u]||C(e);function T(e){m(y(\"function\",e)||y(\"undefined\",e),\"cannot spy on a non-function value\");let t=function(...a){let r=v(t);r.called=!0,r.callCount++,r.calls.push(a);let i=r.next.shift();if(i){r.results.push(i);let[s,l]=i;if(s===\"ok\")return l;throw l}let o,c=\"ok\";if(r.impl)try{new.target?o=Reflect.construct(r.impl,a,new.target):o=r.impl.apply(this,a),c=\"ok\";}catch(s){throw o=s,c=\"error\",r.results.push([c,s]),s}let x=[c,o];if(b(o)){let s=o.then(l=>x[1]=l).catch(l=>{throw x[0]=\"error\",x[1]=l,l});Object.assign(s,o),o=s;}return r.results.push(x),o};p(t,\"_isMockFunction\",!0),p(t,\"length\",e?e.length:0),p(t,\"name\",e&&e.name||\"spy\");let n=v(t);return n.reset(),n.impl=e,t}var P=(e,t)=>Object.getOwnPropertyDescriptor(e,t);function E(e,t,n){m(!y(\"undefined\",e),\"spyOn could not find an object to spy upon\"),m(y(\"object\",e)||y(\"function\",e),\"cannot spyOn on a primitive value\");let a=()=>{if(!y(\"object\",t))return [t,\"value\"];if(\"getter\"in t&&\"setter\"in t)throw new Error(\"cannot spy on both getter and setter\");if(\"getter\"in t)return [t.getter,\"get\"];if(\"setter\"in t)return [t.setter,\"set\"];throw new Error(\"specify getter or setter to spy on\")},[r,i]=a(),o=P(e,r),c=Object.getPrototypeOf(e),x=c&&P(c,r),s=o||x;m(s||r in e,`${String(r)} does not exist`);let l=!1;i===\"value\"&&s&&!s.value&&s.get&&(i=\"get\",l=!0,n=s.get());let f;s?f=s[i]:i!==\"value\"?f=()=>e[r]:f=e[r],n||(n=f);let S=T(n),O=w=>{let{value:G,...k}=s||{configurable:!0,writable:!0};i!==\"value\"&&delete k.writable,k[i]=w,d(e,r,k);},K=()=>s?d(e,r,s):O(f),A=S[u];return p(A,\"restore\",K),p(A,\"getOriginal\",()=>l?f():f),p(A,\"willCall\",w=>(A.impl=w,S)),O(l?()=>S:S),I.add(S),S}var mocks=new Set;function isMockFunction(fn2){return typeof fn2==\"function\"&&\"_isMockFunction\"in fn2&&fn2._isMockFunction}function spyOn(obj,method,accessType){let objMethod=accessType?{[{get:\"getter\",set:\"setter\"}[accessType]]:method}:method,stub=E(obj,objMethod);return enhanceSpy(stub)}var callOrder=0;function enhanceSpy(spy){let stub=spy,implementation,instances=[],invocations=[],state=v(spy),mockContext={get calls(){return state.calls},get instances(){return instances},get invocationCallOrder(){return invocations},get results(){return state.results.map(([callType,value])=>({type:callType===\"error\"?\"throw\":\"return\",value}))},get lastCall(){return state.calls[state.calls.length-1]}},onceImplementations=[],implementationChangedTemporarily=!1;function mockCall(...args){return instances.push(this),invocations.push(++callOrder),(implementationChangedTemporarily?implementation:onceImplementations.shift()||implementation||state.getOriginal()||(()=>{})).apply(this,args)}let name=stub.name;stub.getMockName=()=>name||\"vi.fn()\",stub.mockName=n=>(name=n,stub),stub.mockClear=()=>(state.reset(),instances=[],invocations=[],stub),stub.mockReset=()=>(stub.mockClear(),implementation=()=>{},onceImplementations=[],stub),stub.mockRestore=()=>(stub.mockReset(),state.restore(),implementation=void 0,stub),stub.getMockImplementation=()=>implementation,stub.mockImplementation=fn2=>(implementation=fn2,state.willCall(mockCall),stub),stub.mockImplementationOnce=fn2=>(onceImplementations.push(fn2),stub);function withImplementation(fn2,cb){let originalImplementation=implementation;implementation=fn2,state.willCall(mockCall),implementationChangedTemporarily=!0;let reset=()=>{implementation=originalImplementation,implementationChangedTemporarily=!1;},result=cb();return result instanceof Promise?result.then(()=>(reset(),stub)):(reset(),stub)}return stub.withImplementation=withImplementation,stub.mockReturnThis=()=>stub.mockImplementation(function(){return this}),stub.mockReturnValue=val=>stub.mockImplementation(()=>val),stub.mockReturnValueOnce=val=>stub.mockImplementationOnce(()=>val),stub.mockResolvedValue=val=>stub.mockImplementation(()=>Promise.resolve(val)),stub.mockResolvedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.resolve(val)),stub.mockRejectedValue=val=>stub.mockImplementation(()=>Promise.reject(val)),stub.mockRejectedValueOnce=val=>stub.mockImplementationOnce(()=>Promise.reject(val)),Object.defineProperty(stub,\"mock\",{get:()=>mockContext}),state.willCall(mockCall),mocks.add(stub),stub}function fn(implementation){let enhancedSpy=enhanceSpy(E({spy:implementation||(()=>{})},\"spy\"));return implementation&&enhancedSpy.mockImplementation(implementation),enhancedSpy}__toESM(require_build(),1);__toESM(require_build2(),1);__toESM(require_loupe(),1);var IS_RECORD_SYMBOL=\"@@__IMMUTABLE_RECORD__@@\",IS_COLLECTION_SYMBOL=\"@@__IMMUTABLE_ITERABLE__@@\";function isImmutable(v2){return v2&&(v2[IS_COLLECTION_SYMBOL]||v2[IS_RECORD_SYMBOL])}var OBJECT_PROTO=Object.getPrototypeOf({});function getUnserializableMessage(err){return err instanceof Error?`: ${err.message}`:typeof err==\"string\"?`: ${err}`:\"\"}function serializeError(val,seen=new WeakMap){if(!val||typeof val==\"string\")return val;if(typeof val==\"function\")return `Function<${val.name||\"anonymous\"}>`;if(typeof val==\"symbol\")return val.toString();if(typeof val!=\"object\")return val;if(isImmutable(val))return serializeError(val.toJSON(),seen);if(val instanceof Promise||val.constructor&&val.constructor.prototype===\"AsyncFunction\")return \"Promise\";if(typeof Element<\"u\"&&val instanceof Element)return val.tagName;if(typeof val.asymmetricMatch==\"function\")return `${val.toString()} ${format(val.sample)}`;if(seen.has(val))return seen.get(val);if(Array.isArray(val)){let clone2=new Array(val.length);return seen.set(val,clone2),val.forEach((e,i)=>{try{clone2[i]=serializeError(e,seen);}catch(err){clone2[i]=getUnserializableMessage(err);}}),clone2}else {let clone2=Object.create(null);seen.set(val,clone2);let obj=val;for(;obj&&obj!==OBJECT_PROTO;)Object.getOwnPropertyNames(obj).forEach(key=>{if(!(key in clone2))try{clone2[key]=serializeError(val[key],seen);}catch(err){delete clone2[key],clone2[key]=getUnserializableMessage(err);}}),obj=Object.getPrototypeOf(obj);return clone2}}function normalizeErrorMessage(message){return message.replace(/__(vite_ssr_import|vi_import)_\\d+__\\./g,\"\")}function processError(err,diffOptions){if(!err||typeof err!=\"object\")return {message:err};if(err.stack&&(err.stackStr=String(err.stack)),err.name&&(err.nameStr=String(err.name)),err.showDiff||err.showDiff===void 0&&err.expected!==void 0&&err.actual!==void 0){let clonedActual=deepClone(err.actual,{forceWritable:!0}),clonedExpected=deepClone(err.expected,{forceWritable:!0}),{replacedActual,replacedExpected}=replaceAsymmetricMatcher(clonedActual,clonedExpected);err.diff=diff(replacedExpected,replacedActual,{...diffOptions,...err.diffOptions});}typeof err.expected!=\"string\"&&(err.expected=stringify(err.expected,10)),typeof err.actual!=\"string\"&&(err.actual=stringify(err.actual,10));try{typeof err.message==\"string\"&&(err.message=normalizeErrorMessage(err.message)),typeof err.cause==\"object\"&&typeof err.cause.message==\"string\"&&(err.cause.message=normalizeErrorMessage(err.cause.message));}catch{}try{return serializeError(err)}catch(e){return serializeError(new Error(`Failed to fully serialize error: ${e?.message}\nInner error message: ${err?.message}`))}}function isAsymmetricMatcher(data){return getType(data)===\"Object\"&&typeof data.asymmetricMatch==\"function\"}function isReplaceable(obj1,obj2){let obj1Type=getType(obj1),obj2Type=getType(obj2);return obj1Type===obj2Type&&(obj1Type===\"Object\"||obj1Type===\"Array\")}function replaceAsymmetricMatcher(actual,expected,actualReplaced=new WeakSet,expectedReplaced=new WeakSet){return isReplaceable(actual,expected)?actualReplaced.has(actual)||expectedReplaced.has(expected)?{replacedActual:actual,replacedExpected:expected}:(actualReplaced.add(actual),expectedReplaced.add(expected),getOwnProperties(expected).forEach(key=>{let expectedValue=expected[key],actualValue=actual[key];if(isAsymmetricMatcher(expectedValue))expectedValue.asymmetricMatch(actualValue)&&(actual[key]=expectedValue);else if(isAsymmetricMatcher(actualValue))actualValue.asymmetricMatch(expectedValue)&&(expected[key]=actualValue);else if(isReplaceable(actualValue,expectedValue)){let replaced=replaceAsymmetricMatcher(actualValue,expectedValue,actualReplaced,expectedReplaced);actual[key]=replaced.replacedActual,expected[key]=replaced.replacedExpected;}}),{replacedActual:actual,replacedExpected:expected}):{replacedActual:actual,replacedExpected:expected}}var MATCHERS_OBJECT=Symbol.for(\"matchers-object\"),JEST_MATCHERS_OBJECT=Symbol.for(\"$$jest-matchers-object-storybook\"),GLOBAL_EXPECT=Symbol.for(\"expect-global\"),ASYMMETRIC_MATCHERS_OBJECT=Symbol.for(\"asymmetric-matchers-object\");if(!Object.prototype.hasOwnProperty.call(globalThis,MATCHERS_OBJECT)){let globalState=new WeakMap;Object.defineProperty(globalThis,MATCHERS_OBJECT,{get:()=>globalState});}if(!Object.prototype.hasOwnProperty.call(globalThis,JEST_MATCHERS_OBJECT)){let matchers=Object.create(null),customEqualityTesters=[];Object.defineProperty(globalThis,JEST_MATCHERS_OBJECT,{configurable:!0,get:()=>({state:globalThis[MATCHERS_OBJECT].get(globalThis[GLOBAL_EXPECT]),matchers,customEqualityTesters})});}if(!Object.prototype.hasOwnProperty.call(globalThis,ASYMMETRIC_MATCHERS_OBJECT)){let assymetricMatchers=Object.create(null);Object.defineProperty(globalThis,ASYMMETRIC_MATCHERS_OBJECT,{get:()=>assymetricMatchers});}function getState(expect4){return globalThis[MATCHERS_OBJECT].get(expect4)}function setState(state,expect4){let map=globalThis[MATCHERS_OBJECT],current=map.get(expect4)||{};Object.assign(current,state),map.set(expect4,current);}function getMatcherUtils(){let c=()=>getColors(),EXPECTED_COLOR=c().green,RECEIVED_COLOR=c().red,INVERTED_COLOR=c().inverse,BOLD_WEIGHT=c().bold,DIM_COLOR=c().dim;function matcherHint(matcherName,received=\"received\",expected=\"expected\",options={}){let{comment=\"\",isDirectExpectCall=!1,isNot=!1,promise=\"\",secondArgument=\"\",expectedColor=EXPECTED_COLOR,receivedColor=RECEIVED_COLOR,secondArgumentColor=EXPECTED_COLOR}=options,hint=\"\",dimString=\"expect\";return !isDirectExpectCall&&received!==\"\"&&(hint+=DIM_COLOR(`${dimString}(`)+receivedColor(received),dimString=\")\"),promise!==\"\"&&(hint+=DIM_COLOR(`${dimString}.`)+promise,dimString=\"\"),isNot&&(hint+=`${DIM_COLOR(`${dimString}.`)}not`,dimString=\"\"),matcherName.includes(\".\")?dimString+=matcherName:(hint+=DIM_COLOR(`${dimString}.`)+matcherName,dimString=\"\"),expected===\"\"?dimString+=\"()\":(hint+=DIM_COLOR(`${dimString}(`)+expectedColor(expected),secondArgument&&(hint+=DIM_COLOR(\", \")+secondArgumentColor(secondArgument)),dimString=\")\"),comment!==\"\"&&(dimString+=` // ${comment}`),dimString!==\"\"&&(hint+=DIM_COLOR(dimString)),hint}let SPACE_SYMBOL=\"\\xB7\",replaceTrailingSpaces=text=>text.replace(/\\s+$/gm,spaces=>SPACE_SYMBOL.repeat(spaces.length));return {EXPECTED_COLOR,RECEIVED_COLOR,INVERTED_COLOR,BOLD_WEIGHT,DIM_COLOR,matcherHint,printReceived:object=>RECEIVED_COLOR(replaceTrailingSpaces(stringify(object))),printExpected:value=>EXPECTED_COLOR(replaceTrailingSpaces(stringify(value)))}}function getCustomEqualityTesters(){return globalThis[JEST_MATCHERS_OBJECT].customEqualityTesters}function equals(a,b2,customTesters,strictCheck){return customTesters=customTesters||[],eq(a,b2,[],[],customTesters,strictCheck?hasKey:hasDefinedKey)}function isAsymmetric(obj){return !!obj&&typeof obj==\"object\"&&\"asymmetricMatch\"in obj&&isA(\"Function\",obj.asymmetricMatch)}function asymmetricMatch(a,b2){let asymmetricA=isAsymmetric(a),asymmetricB=isAsymmetric(b2);if(!(asymmetricA&&asymmetricB)){if(asymmetricA)return a.asymmetricMatch(b2);if(asymmetricB)return b2.asymmetricMatch(a)}}function eq(a,b2,aStack,bStack,customTesters,hasKey2){let result=!0,asymmetricResult=asymmetricMatch(a,b2);if(asymmetricResult!==void 0)return asymmetricResult;let testerContext={equals};for(let i=0;iObject.getOwnPropertyDescriptor(obj,symbol).enumerable))}function hasDefinedKey(obj,key){return hasKey(obj,key)&&obj[key]!==void 0}function hasKey(obj,key){return Object.prototype.hasOwnProperty.call(obj,key)}function isA(typeName,value){return Object.prototype.toString.apply(value)===`[object ${typeName}]`}function isDomNode(obj){return obj!==null&&typeof obj==\"object\"&&\"nodeType\"in obj&&typeof obj.nodeType==\"number\"&&\"nodeName\"in obj&&typeof obj.nodeName==\"string\"&&\"isEqualNode\"in obj&&typeof obj.isEqualNode==\"function\"}var IS_KEYED_SENTINEL=\"@@__IMMUTABLE_KEYED__@@\",IS_SET_SENTINEL=\"@@__IMMUTABLE_SET__@@\",IS_ORDERED_SENTINEL=\"@@__IMMUTABLE_ORDERED__@@\";function isImmutableUnorderedKeyed(maybeKeyed){return !!(maybeKeyed&&maybeKeyed[IS_KEYED_SENTINEL]&&!maybeKeyed[IS_ORDERED_SENTINEL])}function isImmutableUnorderedSet(maybeSet){return !!(maybeSet&&maybeSet[IS_SET_SENTINEL]&&!maybeSet[IS_ORDERED_SENTINEL])}var IteratorSymbol=Symbol.iterator;function hasIterator(object){return !!(object!=null&&object[IteratorSymbol])}function iterableEquality(a,b2,customTesters=[],aStack=[],bStack=[]){if(typeof a!=\"object\"||typeof b2!=\"object\"||Array.isArray(a)||Array.isArray(b2)||!hasIterator(a)||!hasIterator(b2))return;if(a.constructor!==b2.constructor)return !1;let length=aStack.length;for(;length--;)if(aStack[length]===a)return bStack[length]===b2;aStack.push(a),bStack.push(b2);let filteredCustomTesters=[...customTesters.filter(t=>t!==iterableEquality),iterableEqualityWithStack];function iterableEqualityWithStack(a2,b22){return iterableEquality(a2,b22,[...filteredCustomTesters],[...aStack],[...bStack])}if(a.size!==void 0){if(a.size!==b2.size)return !1;if(isA(\"Set\",a)||isImmutableUnorderedSet(a)){let allFound=!0;for(let aValue of a)if(!b2.has(aValue)){let has=!1;for(let bValue of b2)equals(aValue,bValue,filteredCustomTesters)===!0&&(has=!0);if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}else if(isA(\"Map\",a)||isImmutableUnorderedKeyed(a)){let allFound=!0;for(let aEntry of a)if(!b2.has(aEntry[0])||!equals(aEntry[1],b2.get(aEntry[0]),filteredCustomTesters)){let has=!1;for(let bEntry of b2){let matchedKey=equals(aEntry[0],bEntry[0],filteredCustomTesters),matchedValue=!1;matchedKey===!0&&(matchedValue=equals(aEntry[1],bEntry[1],filteredCustomTesters)),matchedValue===!0&&(has=!0);}if(has===!1){allFound=!1;break}}return aStack.pop(),bStack.pop(),allFound}}let bIterator=b2[IteratorSymbol]();for(let aValue of a){let nextB=bIterator.next();if(nextB.done||!equals(aValue,nextB.value,filteredCustomTesters))return !1}return bIterator.next().done?(aStack.pop(),bStack.pop(),!0):!1}function hasPropertyInObject(object,key){return !object||typeof object!=\"object\"||object===Object.prototype?!1:Object.prototype.hasOwnProperty.call(object,key)||hasPropertyInObject(Object.getPrototypeOf(object),key)}function isObjectWithKeys(a){return isObject(a)&&!(a instanceof Error)&&!Array.isArray(a)&&!(a instanceof Date)}function subsetEquality(object,subset,customTesters=[]){let filteredCustomTesters=customTesters.filter(t=>t!==subsetEquality),subsetEqualityWithContext=(seenReferences=new WeakMap)=>(object2,subset2)=>{if(isObjectWithKeys(subset2))return Object.keys(subset2).every(key=>{if(isObjectWithKeys(subset2[key])){if(seenReferences.has(subset2[key]))return equals(object2[key],subset2[key],filteredCustomTesters);seenReferences.set(subset2[key],!0);}let result=object2!=null&&hasPropertyInObject(object2,key)&&equals(object2[key],subset2[key],[...filteredCustomTesters,subsetEqualityWithContext(seenReferences)]);return seenReferences.delete(subset2[key]),result})};return subsetEqualityWithContext()(object,subset)}function typeEquality(a,b2){if(!(a==null||b2==null||a.constructor===b2.constructor))return !1}function arrayBufferEquality(a,b2){let dataViewA=a,dataViewB=b2;if(!(a instanceof DataView&&b2 instanceof DataView)){if(!(a instanceof ArrayBuffer)||!(b2 instanceof ArrayBuffer))return;try{dataViewA=new DataView(a),dataViewB=new DataView(b2);}catch{return}}if(dataViewA.byteLength!==dataViewB.byteLength)return !1;for(let i=0;it!==sparseArrayEquality);return equals(a,b2,filteredCustomTesters,!0)&&equals(aKeys,bKeys)}function generateToBeMessage(deepEqualityName,expected=\"#{this}\",actual=\"#{exp}\"){let toBeMessage=`expected ${expected} to be ${actual} // Object.is equality`;return [\"toStrictEqual\",\"toEqual\"].includes(deepEqualityName)?`${toBeMessage}\n\nIf it should pass with deep equality, replace \"toBe\" with \"${deepEqualityName}\"\n\nExpected: ${expected}\nReceived: serializes to the same string\n`:toBeMessage}function pluralize(word,count){return `${count} ${word}${count===1?\"\":\"s\"}`}var AsymmetricMatcher3=class{constructor(sample,inverse=!1){this.sample=sample,this.inverse=inverse;}$$typeof=Symbol.for(\"jest.asymmetricMatcher\");getMatcherContext(expect4){return {...getState(expect4||globalThis[GLOBAL_EXPECT]),equals,isNot:this.inverse,customTesters:getCustomEqualityTesters(),utils:{...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality}}}[Symbol.for(\"chai/inspect\")](options){let result=stringify(this,options.depth,{min:!0});return result.length<=options.truncate?result:`${this.toString()}{\\u2026}`}},StringContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample))throw new Error(\"Expected is not a string\");super(sample,inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&other.includes(this.sample);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"string\"}},Anything=class extends AsymmetricMatcher3{asymmetricMatch(other){return other!=null}toString(){return \"Anything\"}toAsymmetricMatcher(){return \"Anything\"}},ObjectContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}getPrototype(obj){return Object.getPrototypeOf?Object.getPrototypeOf(obj):obj.constructor.prototype===obj?null:obj.constructor.prototype}hasProperty(obj,property){return obj?Object.prototype.hasOwnProperty.call(obj,property)?!0:this.hasProperty(this.getPrototype(obj),property):!1}asymmetricMatch(other){if(typeof this.sample!=\"object\")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let result=!0,matcherContext=this.getMatcherContext();for(let property in this.sample)if(!this.hasProperty(other,property)||!equals(this.sample[property],other[property],matcherContext.customTesters)){result=!1;break}return this.inverse?!result:result}toString(){return `Object${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"object\"}},ArrayContaining=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){super(sample,inverse);}asymmetricMatch(other){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let matcherContext=this.getMatcherContext(),result=this.sample.length===0||Array.isArray(other)&&this.sample.every(item=>other.some(another=>equals(item,another,matcherContext.customTesters)));return this.inverse?!result:result}toString(){return `Array${this.inverse?\"Not\":\"\"}Containing`}getExpectedType(){return \"array\"}},Any=class extends AsymmetricMatcher3{constructor(sample){if(typeof sample>\"u\")throw new TypeError(\"any() expects to be passed a constructor function. Please pass one or use anything() to match any object.\");super(sample);}fnNameFor(func){if(func.name)return func.name;let matches3=Function.prototype.toString.call(func).match(/^(?:async)?\\s*function\\s*\\*?\\s*([\\w$]+)\\s*\\(/);return matches3?matches3[1]:\"\"}asymmetricMatch(other){return this.sample===String?typeof other==\"string\"||other instanceof String:this.sample===Number?typeof other==\"number\"||other instanceof Number:this.sample===Function?typeof other==\"function\"||other instanceof Function:this.sample===Boolean?typeof other==\"boolean\"||other instanceof Boolean:this.sample===BigInt?typeof other==\"bigint\"||other instanceof BigInt:this.sample===Symbol?typeof other==\"symbol\"||other instanceof Symbol:this.sample===Object?typeof other==\"object\":other instanceof this.sample}toString(){return \"Any\"}getExpectedType(){return this.sample===String?\"string\":this.sample===Number?\"number\":this.sample===Function?\"function\":this.sample===Object?\"object\":this.sample===Boolean?\"boolean\":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return `Any<${this.fnNameFor(this.sample)}>`}},StringMatching=class extends AsymmetricMatcher3{constructor(sample,inverse=!1){if(!isA(\"String\",sample)&&!isA(\"RegExp\",sample))throw new Error(\"Expected is not a String or a RegExp\");super(new RegExp(sample),inverse);}asymmetricMatch(other){let result=isA(\"String\",other)&&this.sample.test(other);return this.inverse?!result:result}toString(){return `String${this.inverse?\"Not\":\"\"}Matching`}getExpectedType(){return \"string\"}},CloseTo=class extends AsymmetricMatcher3{precision;constructor(sample,precision=2,inverse=!1){if(!isA(\"Number\",sample))throw new Error(\"Expected is not a Number\");if(!isA(\"Number\",precision))throw new Error(\"Precision is not a Number\");super(sample),this.inverse=inverse,this.precision=precision;}asymmetricMatch(other){if(!isA(\"Number\",other))return !1;let result=!1;return other===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||other===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?result=!0:result=Math.abs(this.sample-other)<10**-this.precision/2,this.inverse?!result:result}toString(){return `Number${this.inverse?\"Not\":\"\"}CloseTo`}getExpectedType(){return \"number\"}toAsymmetricMatcher(){return [this.toString(),this.sample,`(${pluralize(\"digit\",this.precision)})`].join(\" \")}},JestAsymmetricMatchers=(chai2,utils)=>{utils.addMethod(chai2.expect,\"anything\",()=>new Anything),utils.addMethod(chai2.expect,\"any\",expected=>new Any(expected)),utils.addMethod(chai2.expect,\"stringContaining\",expected=>new StringContaining(expected)),utils.addMethod(chai2.expect,\"objectContaining\",expected=>new ObjectContaining(expected)),utils.addMethod(chai2.expect,\"arrayContaining\",expected=>new ArrayContaining(expected)),utils.addMethod(chai2.expect,\"stringMatching\",expected=>new StringMatching(expected)),utils.addMethod(chai2.expect,\"closeTo\",(expected,precision)=>new CloseTo(expected,precision)),chai2.expect.not={stringContaining:expected=>new StringContaining(expected,!0),objectContaining:expected=>new ObjectContaining(expected,!0),arrayContaining:expected=>new ArrayContaining(expected,!0),stringMatching:expected=>new StringMatching(expected,!0),closeTo:(expected,precision)=>new CloseTo(expected,precision,!0)};};function recordAsyncExpect(test,promise){return test&&promise instanceof Promise&&(promise=promise.finally(()=>{let index=test.promises.indexOf(promise);index!==-1&&test.promises.splice(index,1);}),test.promises||(test.promises=[]),test.promises.push(promise)),promise}function wrapSoft(utils,fn2){return function(...args){var _a;let test=utils.flag(this,\"vitest-test\");if(!(test?.context._local?test.context.expect.getState():getState(globalThis[GLOBAL_EXPECT])).soft)return fn2.apply(this,args);if(!test)throw new Error(\"expect.soft() can only be used inside a test\");try{return fn2.apply(this,args)}catch(err){test.result||(test.result={state:\"fail\"}),test.result.state=\"fail\",(_a=test.result).errors||(_a.errors=[]),test.result.errors.push(processError(err));}}}var JestChaiExpect=(chai2,utils)=>{let{AssertionError:AssertionError2}=chai2,c=()=>getColors(),customTesters=getCustomEqualityTesters();function def(name,fn2){let addMethod=n=>{let softWrapper=wrapSoft(utils,fn2);utils.addMethod(chai2.Assertion.prototype,n,softWrapper),utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,n,softWrapper);};Array.isArray(name)?name.forEach(n=>addMethod(n)):addMethod(name);}[\"throw\",\"throws\",\"Throw\"].forEach(m2=>{utils.overwriteMethod(chai2.Assertion.prototype,m2,_super=>function(...args){let promise=utils.flag(this,\"promise\"),object=utils.flag(this,\"object\"),isNot=utils.flag(this,\"negate\");if(promise===\"rejects\")utils.flag(this,\"object\",()=>{throw object});else if(promise===\"resolves\"&&typeof object!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}_super.apply(this,args);});}),def(\"withTest\",function(test){return utils.flag(this,\"vitest-test\",test),this}),def(\"toEqual\",function(expected){let actual=utils.flag(this,\"object\"),equal=equals(actual,expected,[...customTesters,iterableEquality]);return this.assert(equal,\"expected #{this} to deeply equal #{exp}\",\"expected #{this} to not deeply equal #{exp}\",expected,actual)}),def(\"toStrictEqual\",function(expected){let obj=utils.flag(this,\"object\"),equal=equals(obj,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0);return this.assert(equal,\"expected #{this} to strictly equal #{exp}\",\"expected #{this} to not strictly equal #{exp}\",expected,obj)}),def(\"toBe\",function(expected){let actual=this._obj,pass=Object.is(actual,expected),deepEqualityName=\"\";return pass||(equals(actual,expected,[...customTesters,iterableEquality,typeEquality,sparseArrayEquality,arrayBufferEquality],!0)?deepEqualityName=\"toStrictEqual\":equals(actual,expected,[...customTesters,iterableEquality])&&(deepEqualityName=\"toEqual\")),this.assert(pass,generateToBeMessage(deepEqualityName),\"expected #{this} not to be #{exp} // Object.is equality\",expected,actual)}),def(\"toMatchObject\",function(expected){let actual=this._obj;return this.assert(equals(actual,expected,[...customTesters,iterableEquality,subsetEquality]),\"expected #{this} to match object #{exp}\",\"expected #{this} to not match object #{exp}\",expected,actual)}),def(\"toMatch\",function(expected){return typeof expected==\"string\"?this.include(expected):this.match(expected)}),def(\"toContain\",function(item){let actual=this._obj;if(typeof Node<\"u\"&&actual instanceof Node){if(!(item instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof item}`);return this.assert(actual.contains(item),\"expected #{this} to contain element #{exp}\",\"expected #{this} not to contain element #{exp}\",item,actual)}if(typeof DOMTokenList<\"u\"&&actual instanceof DOMTokenList){assertTypes(item,\"class name\",[\"string\"]);let expectedClassList=utils.flag(this,\"negate\")?actual.value.replace(item,\"\").trim():`${actual.value} ${item}`;return this.assert(actual.contains(item),`expected \"${actual.value}\" to contain \"${item}\"`,`expected \"${actual.value}\" not to contain \"${item}\"`,expectedClassList,actual.value)}return actual!=null&&typeof actual!=\"string\"&&utils.flag(this,\"object\",Array.from(actual)),this.contain(item)}),def(\"toContainEqual\",function(expected){let obj=utils.flag(this,\"object\"),index=Array.from(obj).findIndex(item=>equals(item,expected,customTesters));this.assert(index!==-1,\"expected #{this} to deep equally contain #{exp}\",\"expected #{this} to not deep equally contain #{exp}\",expected);}),def(\"toBeTruthy\",function(){let obj=utils.flag(this,\"object\");this.assert(!!obj,\"expected #{this} to be truthy\",\"expected #{this} to not be truthy\",obj,!1);}),def(\"toBeFalsy\",function(){let obj=utils.flag(this,\"object\");this.assert(!obj,\"expected #{this} to be falsy\",\"expected #{this} to not be falsy\",obj,!1);}),def(\"toBeGreaterThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>expected,`expected ${actual} to be greater than ${expected}`,`expected ${actual} to be not greater than ${expected}`,actual,expected,!1)}),def(\"toBeGreaterThanOrEqual\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actual>=expected,`expected ${actual} to be greater than or equal to ${expected}`,`expected ${actual} to be not greater than or equal to ${expected}`,actual,expected,!1)}),def(\"toBeLessThan\",function(expected){let actual=this._obj;return assertTypes(actual,\"actual\",[\"number\",\"bigint\"]),assertTypes(expected,\"expected\",[\"number\",\"bigint\"]),this.assert(actualString(key).replace(/([.[\\]])/g,\"\\\\$1\")).join(\".\"));let actual=this._obj,[propertyName,expected]=args,getValue=()=>Object.prototype.hasOwnProperty.call(actual,propertyName)?{value:actual[propertyName],exists:!0}:utils.getPathInfo(actual,propertyName),{value,exists}=getValue(),pass=exists&&(args.length===1||equals(expected,value,customTesters)),valueString=args.length===1?\"\":` with value ${utils.objDisplay(expected)}`;return this.assert(pass,`expected #{this} to have property \"${propertyName}\"${valueString}`,`expected #{this} to not have property \"${propertyName}\"${valueString}`,expected,exists?value:void 0)}),def(\"toBeCloseTo\",function(received,precision=2){let expected=this._obj,pass=!1,expectedDiff2=0,receivedDiff=0;return received===Number.POSITIVE_INFINITY&&expected===Number.POSITIVE_INFINITY||received===Number.NEGATIVE_INFINITY&&expected===Number.NEGATIVE_INFINITY?pass=!0:(expectedDiff2=10**-precision/2,receivedDiff=Math.abs(expected-received),pass=receivedDiff{if(!isMockFunction(assertion._obj))throw new TypeError(`${utils.inspect(assertion._obj)} is not a spy or a call to a spy!`)},getSpy=assertion=>(assertIsMock(assertion),assertion._obj),ordinalOf=i=>{let j=i%10,k=i%100;return j===1&&k!==11?`${i}st`:j===2&&k!==12?`${i}nd`:j===3&&k!==13?`${i}rd`:`${i}th`},formatCalls=(spy,msg,actualCall)=>(spy.mock.calls&&(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.calls.map((callArg,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call:\n\n`);return actualCall?methodCall+=diff(actualCall,callArg,{omitAnnotationLines:!0}):methodCall+=stringify(callArg).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`)),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg),formatReturns=(spy,msg,actualReturn)=>(msg+=c().gray(`\n\nReceived: \n\n${spy.mock.results.map((callReturn,i)=>{let methodCall=c().bold(` ${ordinalOf(i+1)} ${spy.getMockName()} call return:\n\n`);return actualReturn?methodCall+=diff(actualReturn,callReturn.value,{omitAnnotationLines:!0}):methodCall+=stringify(callReturn).split(`\n`).map(line=>` ${line}`).join(`\n`),methodCall+=`\n`,methodCall}).join(`\n`)}`),msg+=c().gray(`\n\nNumber of calls: ${c().bold(spy.mock.calls.length)}\n`),msg);def([\"toHaveBeenCalledTimes\",\"toBeCalledTimes\"],function(number){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===number,`expected \"${spyName}\" to be called #{exp} times, but got ${callCount} times`,`expected \"${spyName}\" to not be called #{exp} times`,number,callCount,!1)}),def(\"toHaveBeenCalledOnce\",function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length;return this.assert(callCount===1,`expected \"${spyName}\" to be called once, but got ${callCount} times`,`expected \"${spyName}\" to not be called once`,1,callCount,!1)}),def([\"toHaveBeenCalled\",\"toBeCalled\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),callCount=spy.mock.calls.length,called=callCount>0,isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[called,`expected \"${spyName}\" to be called at least once`,`expected \"${spyName}\" to not be called at all, but actually been called ${callCount} times`,!0,called]);if(called&&isNot&&(msg=formatCalls(spy,msg)),called&&isNot||!called&&!isNot)throw new AssertionError2(msg)}),def([\"toHaveBeenCalledWith\",\"toBeCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.calls.some(callArg=>equals(callArg,args,[...customTesters,iterableEquality])),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to be called with arguments: #{exp}`,`expected \"${spyName}\" to not be called with arguments: #{exp}`,args]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatCalls(spy,msg,args))}),def([\"toHaveBeenNthCalledWith\",\"nthCalledWith\"],function(times,...args){let spy=getSpy(this),spyName=spy.getMockName(),nthCall=spy.mock.calls[times-1];this.assert(equals(nthCall,args,[...customTesters,iterableEquality]),`expected ${ordinalOf(times)} \"${spyName}\" call to have been called with #{exp}`,`expected ${ordinalOf(times)} \"${spyName}\" call to not have been called with #{exp}`,args,nthCall);}),def([\"toHaveBeenLastCalledWith\",\"lastCalledWith\"],function(...args){let spy=getSpy(this),spyName=spy.getMockName(),lastCall=spy.mock.calls[spy.mock.calls.length-1];this.assert(equals(lastCall,args,[...customTesters,iterableEquality]),`expected last \"${spyName}\" call to have been called with #{exp}`,`expected last \"${spyName}\" call to not have been called with #{exp}`,args,lastCall);}),def([\"toThrow\",\"toThrowError\"],function(expected){if(typeof expected==\"string\"||typeof expected>\"u\"||expected instanceof RegExp)return this.throws(expected);let obj=this._obj,promise=utils.flag(this,\"promise\"),isNot=utils.flag(this,\"negate\"),thrown=null;if(promise===\"rejects\")thrown=obj;else if(promise===\"resolves\"&&typeof obj!=\"function\"){if(isNot)return;{let message=utils.flag(this,\"message\")||\"expected promise to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}else {let isThrow=!1;try{obj();}catch(err){isThrow=!0,thrown=err;}if(!isThrow&&!isNot){let message=utils.flag(this,\"message\")||\"expected function to throw an error, but it didn't\",error={showDiff:!1};throw new AssertionError2(message,error,utils.flag(this,\"ssfi\"))}}if(typeof expected==\"function\"){let name=expected.name||expected.prototype.constructor.name;return this.assert(thrown&&thrown instanceof expected,`expected error to be instance of ${name}`,`expected error not to be instance of ${name}`,expected,thrown)}if(expected instanceof Error)return this.assert(thrown&&expected.message===thrown.message,`expected error to have message: ${expected.message}`,`expected error not to have message: ${expected.message}`,expected.message,thrown&&thrown.message);if(typeof expected==\"object\"&&\"asymmetricMatch\"in expected&&typeof expected.asymmetricMatch==\"function\"){let matcher=expected;return this.assert(thrown&&matcher.asymmetricMatch(thrown),\"expected error to match asymmetric matcher\",\"expected error not to match asymmetric matcher\",matcher,thrown)}throw new Error(`\"toThrow\" expects string, RegExp, function, Error instance or asymmetric matcher, got \"${typeof expected}\"`)}),def([\"toHaveReturned\",\"toReturn\"],function(){let spy=getSpy(this),spyName=spy.getMockName(),calledAndNotThrew=spy.mock.calls.length>0&&spy.mock.results.some(({type:type3})=>type3!==\"throw\");this.assert(calledAndNotThrew,`expected \"${spyName}\" to be successfully called at least once`,`expected \"${spyName}\" to not be successfully called`,calledAndNotThrew,!calledAndNotThrew,!1);}),def([\"toHaveReturnedTimes\",\"toReturnTimes\"],function(times){let spy=getSpy(this),spyName=spy.getMockName(),successfulReturns=spy.mock.results.reduce((success,{type:type3})=>type3===\"throw\"?success:++success,0);this.assert(successfulReturns===times,`expected \"${spyName}\" to be successfully called ${times} times`,`expected \"${spyName}\" to not be successfully called ${times} times`,`expected number of returns: ${times}`,`received number of returns: ${successfulReturns}`,!1);}),def([\"toHaveReturnedWith\",\"toReturnWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),pass=spy.mock.results.some(({type:type3,value:result})=>type3===\"return\"&&equals(value,result)),isNot=utils.flag(this,\"negate\"),msg=utils.getMessage(this,[pass,`expected \"${spyName}\" to return with: #{exp} at least once`,`expected \"${spyName}\" to not return with: #{exp}`,value]);if(pass&&isNot||!pass&&!isNot)throw new AssertionError2(formatReturns(spy,msg,value))}),def([\"toHaveLastReturnedWith\",\"lastReturnedWith\"],function(value){let spy=getSpy(this),spyName=spy.getMockName(),{value:lastResult}=spy.mock.results[spy.mock.results.length-1],pass=equals(lastResult,value);this.assert(pass,`expected last \"${spyName}\" call to return #{exp}`,`expected last \"${spyName}\" call to not return #{exp}`,value,lastResult);}),def([\"toHaveNthReturnedWith\",\"nthReturnedWith\"],function(nthCall,value){let spy=getSpy(this),spyName=spy.getMockName(),isNot=utils.flag(this,\"negate\"),{type:callType,value:callResult}=spy.mock.results[nthCall-1],ordinalCall=`${ordinalOf(nthCall)} call`;!isNot&&callType===\"throw\"&&chai2.assert.fail(`expected ${ordinalCall} to return #{exp}, but instead it threw an error`);let nthCallReturn=equals(callResult,value);this.assert(nthCallReturn,`expected ${ordinalCall} \"${spyName}\" call to return #{exp}`,`expected ${ordinalCall} \"${spyName}\" call to not return #{exp}`,value,callResult);}),def(\"toSatisfy\",function(matcher,message){return this.be.satisfy(matcher,message)}),utils.addProperty(chai2.Assertion.prototype,\"resolves\",function(){let error=new Error(\"resolves\");utils.flag(this,\"promise\",\"resolves\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\");if(typeof obj?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof obj}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=obj.then(value=>(utils.flag(this,\"object\",value),result.call(this,...args)),err=>{let _error=new AssertionError2(`promise rejected \"${utils.inspect(err)}\" instead of resolving`,{showDiff:!1});throw _error.cause=err,_error.stack=error.stack.replace(error.message,_error.message),_error});return recordAsyncExpect(test,promise)}}});return proxy}),utils.addProperty(chai2.Assertion.prototype,\"rejects\",function(){let error=new Error(\"rejects\");utils.flag(this,\"promise\",\"rejects\"),utils.flag(this,\"error\",error);let test=utils.flag(this,\"vitest-test\"),obj=utils.flag(this,\"object\"),wrapper=typeof obj==\"function\"?obj():obj;if(typeof wrapper?.then!=\"function\")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof wrapper}'.`);let proxy=new Proxy(this,{get:(target,key,receiver)=>{let result=Reflect.get(target,key,receiver);return typeof result!=\"function\"?result instanceof chai2.Assertion?proxy:result:async(...args)=>{let promise=wrapper.then(value=>{let _error=new AssertionError2(`promise resolved \"${utils.inspect(value)}\" instead of rejecting`,{showDiff:!0,expected:new Error(\"rejected promise\"),actual:value});throw _error.stack=error.stack.replace(error.message,_error.message),_error},err=>(utils.flag(this,\"object\",err),result.call(this,...args)));return recordAsyncExpect(test,promise)}}});return proxy});};function getMatcherState(assertion,expect4){let obj=assertion._obj,isNot=util.flag(assertion,\"negate\"),promise=util.flag(assertion,\"promise\")||\"\",jestUtils={...getMatcherUtils(),diff,stringify,iterableEquality,subsetEquality};return {state:{...getState(expect4),customTesters:getCustomEqualityTesters(),isNot,utils:jestUtils,promise,equals,suppressedErrors:[]},isNot,obj}}var JestExtendError=class extends Error{constructor(message,actual,expected){super(message),this.actual=actual,this.expected=expected;}};function JestExtendPlugin(expect4,matchers){return (c,utils)=>{Object.entries(matchers).forEach(([expectAssertionName,expectAssertion])=>{function expectWrapper(...args){let{state,isNot,obj}=getMatcherState(this,expect4),result=expectAssertion.call(state,obj,...args);if(result&&typeof result==\"object\"&&result instanceof Promise)return result.then(({pass:pass2,message:message2,actual:actual2,expected:expected2})=>{if(pass2&&isNot||!pass2&&!isNot)throw new JestExtendError(message2(),actual2,expected2)});let{pass,message,actual,expected}=result;if(pass&&isNot||!pass&&!isNot)throw new JestExtendError(message(),actual,expected)}let softWrapper=wrapSoft(utils,expectWrapper);utils.addMethod(globalThis[JEST_MATCHERS_OBJECT].matchers,expectAssertionName,softWrapper),utils.addMethod(c.Assertion.prototype,expectAssertionName,softWrapper);class CustomMatcher extends AsymmetricMatcher3{constructor(inverse=!1,...sample){super(sample,inverse);}asymmetricMatch(other){let{pass}=expectAssertion.call(this.getMatcherContext(expect4),other,...this.sample);return this.inverse?!pass:pass}toString(){return `${this.inverse?\"not.\":\"\"}${expectAssertionName}`}getExpectedType(){return \"any\"}toAsymmetricMatcher(){return `${this.toString()}<${this.sample.map(String).join(\", \")}>`}}let customMatcher=(...sample)=>new CustomMatcher(!1,...sample);Object.defineProperty(expect4,expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0}),Object.defineProperty(expect4.not,expectAssertionName,{configurable:!0,enumerable:!0,value:(...sample)=>new CustomMatcher(!0,...sample),writable:!0}),Object.defineProperty(globalThis[ASYMMETRIC_MATCHERS_OBJECT],expectAssertionName,{configurable:!0,enumerable:!0,value:customMatcher,writable:!0});});}}var JestExtend=(chai2,utils)=>{utils.addMethod(chai2.expect,\"extend\",(expect4,expects)=>{chai2.use(JestExtendPlugin(expect4,expects));});};var matchers_exports={};__export(matchers_exports,{toBeChecked:()=>toBeChecked,toBeDisabled:()=>toBeDisabled,toBeEmpty:()=>toBeEmpty,toBeEmptyDOMElement:()=>toBeEmptyDOMElement,toBeEnabled:()=>toBeEnabled,toBeInTheDOM:()=>toBeInTheDOM,toBeInTheDocument:()=>toBeInTheDocument,toBeInvalid:()=>toBeInvalid,toBePartiallyChecked:()=>toBePartiallyChecked,toBeRequired:()=>toBeRequired,toBeValid:()=>toBeValid,toBeVisible:()=>toBeVisible,toContainElement:()=>toContainElement,toContainHTML:()=>toContainHTML,toHaveAccessibleDescription:()=>toHaveAccessibleDescription,toHaveAccessibleErrorMessage:()=>toHaveAccessibleErrorMessage,toHaveAccessibleName:()=>toHaveAccessibleName,toHaveAttribute:()=>toHaveAttribute,toHaveClass:()=>toHaveClass,toHaveDescription:()=>toHaveDescription,toHaveDisplayValue:()=>toHaveDisplayValue,toHaveErrorMessage:()=>toHaveErrorMessage,toHaveFocus:()=>toHaveFocus,toHaveFormValues:()=>toHaveFormValues,toHaveRole:()=>toHaveRole,toHaveStyle:()=>toHaveStyle,toHaveTextContent:()=>toHaveTextContent,toHaveValue:()=>toHaveValue});var import_redent=__toESM(require_redent(),1),import_isEqual=__toESM(require_isEqual(),1);function $parcel$defineInteropFlag(a){Object.defineProperty(a,\"__esModule\",{value:!0,configurable:!0});}function $parcel$export(e,n,v2,s){Object.defineProperty(e,n,{get:v2,set:s,enumerable:!0,configurable:!0});}var $009ddb00d3ec72b8$exports={};$parcel$defineInteropFlag($009ddb00d3ec72b8$exports);$parcel$export($009ddb00d3ec72b8$exports,\"default\",()=>$009ddb00d3ec72b8$export$2e2bcd8739ae039);var $009ddb00d3ec72b8$export$2e2bcd8739ae039=class extends Error{constructor(filename,msg,lineno,column,css){super(filename+\":\"+lineno+\":\"+column+\": \"+msg),this.reason=msg,this.filename=filename,this.line=lineno,this.column=column,this.source=css;}},$0865a9fb4cc365fe$exports={};$parcel$defineInteropFlag($0865a9fb4cc365fe$exports);$parcel$export($0865a9fb4cc365fe$exports,\"default\",()=>$0865a9fb4cc365fe$export$2e2bcd8739ae039);var $0865a9fb4cc365fe$export$2e2bcd8739ae039=class{constructor(start,end,source){this.start=start,this.end=end,this.source=source;}},$b2e137848b48cf4f$exports={};$parcel$export($b2e137848b48cf4f$exports,\"CssTypes\",()=>$b2e137848b48cf4f$export$9be5dd6e61d5d73a);var $b2e137848b48cf4f$export$9be5dd6e61d5d73a;(function(CssTypes){CssTypes.stylesheet=\"stylesheet\",CssTypes.rule=\"rule\",CssTypes.declaration=\"declaration\",CssTypes.comment=\"comment\",CssTypes.container=\"container\",CssTypes.charset=\"charset\",CssTypes.document=\"document\",CssTypes.customMedia=\"custom-media\",CssTypes.fontFace=\"font-face\",CssTypes.host=\"host\",CssTypes.import=\"import\",CssTypes.keyframes=\"keyframes\",CssTypes.keyframe=\"keyframe\",CssTypes.layer=\"layer\",CssTypes.media=\"media\",CssTypes.namespace=\"namespace\",CssTypes.page=\"page\",CssTypes.supports=\"supports\";})($b2e137848b48cf4f$export$9be5dd6e61d5d73a||($b2e137848b48cf4f$export$9be5dd6e61d5d73a={}));var $d708735ed1303b43$var$commentre=/\\/\\*[^]*?(?:\\*\\/|$)/g,$d708735ed1303b43$export$98e6a39c04603d36=(css,options)=>{options=options||{};let lineno=1,column=1;function updatePosition(str){let lines=str.match(/\\n/g);lines&&(lineno+=lines.length);let i=str.lastIndexOf(`\n`);column=~i?str.length-i:column+str.length;}function position(){let start={line:lineno,column};return function(node){return node.position=new $0865a9fb4cc365fe$export$2e2bcd8739ae039(start,{line:lineno,column},options?.source||\"\"),whitespace(),node}}let errorsList=[];function error(msg){let err=new $009ddb00d3ec72b8$export$2e2bcd8739ae039(options?.source||\"\",msg,lineno,column,css);if(options?.silent)errorsList.push(err);else throw err}function stylesheet(){let rulesList=rules();return {type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.stylesheet,stylesheet:{source:options?.source,rules:rulesList,parsingErrors:errorsList}}}function open(){return match(/^{\\s*/)}function close(){return match(/^}/)}function rules(){let node,rules2=[];for(whitespace(),comments(rules2);css.length&&css.charAt(0)!==\"}\"&&(node=atrule()||rule());)node&&(rules2.push(node),comments(rules2));return rules2}function match(re){let m2=re.exec(css);if(!m2)return;let str=m2[0];return updatePosition(str),css=css.slice(str.length),m2}function whitespace(){match(/^\\s*/);}function comments(rules2){let c;for(rules2=rules2||[];c=comment();)c&&rules2.push(c);return rules2}function comment(){let pos=position();if(css.charAt(0)!==\"/\"||css.charAt(1)!==\"*\")return;let m2=match(/^\\/\\*[^]*?\\*\\//);return m2?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.comment,comment:m2[0].slice(2,-2)}):error(\"End of comment missing\")}function findClosingParenthese(str,start,depth){let ptr=start+1,found=!1,closeParentheses=str.indexOf(\")\",ptr);for(;!found&&closeParentheses!==-1;){let nextParentheses=str.indexOf(\"(\",ptr);nextParentheses!==-1&&nextParenthesesm3.replace(/,/g,\"\\u200C\")),res.split(\",\").map(s=>$d708735ed1303b43$var$trim(s.replace(/\\u200C/g,\",\")))}function declaration(){let pos=position(),propMatch=match(/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/);if(!propMatch)return;let propValue=$d708735ed1303b43$var$trim(propMatch[0]);if(!match(/^:\\s*/))return error(\"property missing ':'\");let val=match(/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/),ret=pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.declaration,property:propValue.replace($d708735ed1303b43$var$commentre,\"\"),value:val?$d708735ed1303b43$var$trim(val[0]).replace($d708735ed1303b43$var$commentre,\"\"):\"\"});return match(/^[;\\s]*/),ret}function declarations(){let decls=[];if(!open())return error(\"missing '{'\");comments(decls);let decl;for(;decl=declaration();)decl&&(decls.push(decl),comments(decls));return close()?decls:error(\"missing '}'\")}function keyframe(){let m2,vals=[],pos=position();for(;m2=match(/^((\\d+\\.\\d+|\\.\\d+|\\d+)%?|[a-z]+)\\s*/);)vals.push(m2[1]),match(/^,\\s*/);if(vals.length)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframe,values:vals,declarations:declarations()||[]})}function atkeyframes(){let pos=position(),m1=match(/^@([-\\w]+)?keyframes\\s*/);if(!m1)return;let vendor=m1[1],m2=match(/^([-\\w]+)\\s*/);if(!m2)return error(\"@keyframes missing name\");let name=m2[1];if(!open())return error(\"@keyframes missing '{'\");let frame,frames=comments();for(;frame=keyframe();)frames.push(frame),frames=frames.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.keyframes,name,vendor,keyframes:frames}):error(\"@keyframes missing '}'\")}function atsupports(){let pos=position(),m2=match(/^@supports *([^{]+)/);if(!m2)return;let supports=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@supports missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.supports,supports,rules:style}):error(\"@supports missing '}'\")}function athost(){let pos=position();if(!match(/^@host\\s*/))return;if(!open())return error(\"@host missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.host,rules:style}):error(\"@host missing '}'\")}function atcontainer(){let pos=position(),m2=match(/^@container *([^{]+)/);if(!m2)return;let container=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@container missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.container,container,rules:style}):error(\"@container missing '}'\")}function atlayer(){let pos=position(),m2=match(/^@layer *([^{;@]+)/);if(!m2)return;let layer=$d708735ed1303b43$var$trim(m2[1]);if(!open())return match(/^[;\\s]*/),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer});let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.layer,layer,rules:style}):error(\"@layer missing '}'\")}function atmedia(){let pos=position(),m2=match(/^@media *([^{]+)/);if(!m2)return;let media=$d708735ed1303b43$var$trim(m2[1]);if(!open())return error(\"@media missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.media,media,rules:style}):error(\"@media missing '}'\")}function atcustommedia(){let pos=position(),m2=match(/^@custom-media\\s+(--\\S+)\\s*([^{;\\s][^{;]*);/);if(m2)return pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.customMedia,name:$d708735ed1303b43$var$trim(m2[1]),media:$d708735ed1303b43$var$trim(m2[2])})}function atpage(){let pos=position();if(!match(/^@page */))return;let sel=selector()||[];if(!open())return error(\"@page missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.page,selectors:sel,declarations:decls}):error(\"@page missing '}'\")}function atdocument(){let pos=position(),m2=match(/^@([-\\w]+)?document *([^{]+)/);if(!m2)return;let vendor=$d708735ed1303b43$var$trim(m2[1]),doc=$d708735ed1303b43$var$trim(m2[2]);if(!open())return error(\"@document missing '{'\");let style=comments().concat(rules());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.document,document:doc,vendor,rules:style}):error(\"@document missing '}'\")}function atfontface(){let pos=position();if(!match(/^@font-face\\s*/))return;if(!open())return error(\"@font-face missing '{'\");let decls=comments(),decl;for(;decl=declaration();)decls.push(decl),decls=decls.concat(comments());return close()?pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.fontFace,declarations:decls}):error(\"@font-face missing '}'\")}let atimport=_compileAtrule(\"import\"),atcharset=_compileAtrule(\"charset\"),atnamespace=_compileAtrule(\"namespace\");function _compileAtrule(name){let re=new RegExp(\"^@\"+name+`\\\\s*((?::?[^;'\"]|\"(?:\\\\\\\\\"|[^\"])*?\"|'(?:\\\\\\\\'|[^'])*?')+)(?:;|$)`);return function(){let pos=position(),m2=match(re);if(!m2)return;let ret={type:name};return ret[name]=m2[1].trim(),pos(ret)}}function atrule(){if(css[0]===\"@\")return atkeyframes()||atmedia()||atcustommedia()||atsupports()||atimport()||atcharset()||atnamespace()||atdocument()||atpage()||athost()||atfontface()||atcontainer()||atlayer()}function rule(){let pos=position(),sel=selector();return sel?(comments(),pos({type:$b2e137848b48cf4f$export$9be5dd6e61d5d73a.rule,selectors:sel,declarations:declarations()||[]})):error(\"selector missing\")}return $d708735ed1303b43$var$addParent(stylesheet())};function $d708735ed1303b43$var$trim(str){return str?str.trim():\"\"}function $d708735ed1303b43$var$addParent(obj,parent){let isNode=obj&&typeof obj.type==\"string\",childParent=isNode?obj:parent;for(let k in obj){let value=obj[k];Array.isArray(value)?value.forEach(v2=>{$d708735ed1303b43$var$addParent(v2,childParent);}):value&&typeof value==\"object\"&&$d708735ed1303b43$var$addParent(value,childParent);}return isNode&&Object.defineProperty(obj,\"parent\",{configurable:!0,writable:!0,enumerable:!1,value:parent||null}),obj}var $d708735ed1303b43$export$2e2bcd8739ae039=$d708735ed1303b43$export$98e6a39c04603d36;var $149c1bd638913645$export$98e6a39c04603d36=$d708735ed1303b43$export$2e2bcd8739ae039;var toStr=Object.prototype.toString;function isCallable(fn2){return typeof fn2==\"function\"||toStr.call(fn2)===\"[object Function]\"}function toInteger(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger=Math.pow(2,53)-1;function toLength(value){var len=toInteger(value);return Math.min(Math.max(len,0),maxSafeInteger)}function arrayFrom(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength(items.length),A=isCallable(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck(this,SetLike3),_defineProperty(this,\"items\",void 0),this.items=items;}return _createClass(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default=typeof Set>\"u\"?Set:SetLike;function getLocalName(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),none:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-description\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole(element,implicitRole){return hasGlobalAriaAttributes(element,implicitRole)}function getRole(element){var explicitRole=getExplicitRole(element);if(explicitRole===null||presentationRoles.indexOf(explicitRole)!==-1){var implicitRole=getImplicitRole(element);if(presentationRoles.indexOf(explicitRole||\"\")===-1||ignorePresentationalRole(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole(element){var mappedByTag=localNameToRoleMappings[getLocalName(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}var presentationRoles=[\"presentation\",\"none\"];function isElement(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement(node){return isElement(node)&&getLocalName(node)===\"caption\"}function isHTMLInputElement(node){return isElement(node)&&getLocalName(node)===\"input\"}function isHTMLOptGroupElement(node){return isElement(node)&&getLocalName(node)===\"optgroup\"}function isHTMLSelectElement(node){return isElement(node)&&getLocalName(node)===\"select\"}function isHTMLTableElement(node){return isElement(node)&&getLocalName(node)===\"table\"}function isHTMLTextAreaElement(node){return isElement(node)&&getLocalName(node)===\"textarea\"}function safeWindow(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement(node){return isElement(node)&&getLocalName(node)===\"fieldset\"}function isHTMLLegendElement(node){return isElement(node)&&getLocalName(node)===\"legend\"}function isHTMLSlotElement(node){return isElement(node)&&getLocalName(node)===\"slot\"}function isSVGElement(node){return isElement(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement(node){return isElement(node)&&getLocalName(node)===\"svg\"}function isSVGTitleElement(node){return isSVGElement(node)&&getLocalName(node)===\"title\"}function queryIdRefs(node,attributeName){if(isElement(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles(node,roles3){return isElement(node)?roles3.indexOf(getRole(node))!==-1:!1}function asFlatString(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden(node,getComputedStyleImplementation){if(!isElement(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl(node){return hasAnyConcreteRoles(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole(node,\"range\")}function hasAbstractRole(node,role){if(!isElement(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree(element,selectors){var elements=arrayFrom(element.querySelectorAll(selectors));return queryIdRefs(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions(listbox){return isHTMLSelectElement(listbox)?listbox.selectedOptions||querySelectorAllSubtree(listbox,\"[selected]\"):querySelectorAllSubtree(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational(node){return hasAnyConcreteRoles(node,presentationRoles)}function isNativeHostLanguageTextAlternativeElement(node){return isHTMLTableCaptionElement(node)}function allowsNameFromContent(node){return hasAnyConcreteRoles(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement(node){return !1}function getValueOfTextbox(element){return isHTMLInputElement(element)||isHTMLTextAreaElement(element)?element.value:element.textContent||\"\"}function getTextualContent(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement(element){var localName=getLocalName(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement(element){if(isLabelableElement(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement(childNode)){var descendantLabelableElement=findLabelableElement(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement(label)}function getLabels(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom(labelsProperty);if(!isLabelableElement(element))return null;var document2=element.ownerDocument;return arrayFrom(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel(label)===element})}function getSlotContents(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom(slot.childNodes):assignedNodes}function computeTextAlternative(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default,window2=safeWindow(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement(node)?getSlotContents(node):arrayFrom(node.childNodes).concat(queryIdRefs(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement(node))return null;if(isHTMLFieldSetElement(node)){consultedNodes.add(node);for(var children=arrayFrom(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions(current);return selectedOptions.length===0?isHTMLInputElement(current)?current.value:\"\":arrayFrom(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox(current)}if(allowsNameFromContent(current)||isElement(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement(current)||isDescendantOfNativeHostLanguageTextAlternativeElement()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof2(o){\"@babel/helpers - typeof\";return _typeof2=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(o2){return typeof o2}:function(o2){return o2&&typeof Symbol==\"function\"&&o2.constructor===Symbol&&o2!==Symbol.prototype?\"symbol\":typeof o2},_typeof2(o)}function ownKeys(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter(function(r2){return Object.getOwnPropertyDescriptor(e,r2).enumerable})),t.push.apply(t,o);}return t}function _objectSpread(e){for(var r=1;r1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs(root,\"aria-describedby\").map(function(element){return computeTextAlternative(element,_objectSpread(_objectSpread({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var ariaDescription=root.getAttribute(\"aria-description\");description=ariaDescription===null?\"\":ariaDescription;}if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming(node){return hasAnyConcreteRoles(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"none\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming(root)?\"\":computeTextAlternative(root,options)}var import_aria_query=__toESM(require_lib(),1),import_chalk=__toESM(require_source(),1),import_isEqualWith=__toESM(require_isEqualWith(),1),import_uniq=__toESM(require_uniq(),1),import_css=__toESM(require_css_escape(),1),GenericTypeError=class extends Error{constructor(expectedString,received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn);let withType=\"\";try{withType=context.utils.printWithType(\"Received\",received,context.utils.printReceived);}catch{}this.message=[context.utils.matcherHint(`${context.isNot?\".not\":\"\"}.${matcherFn.name}`,\"received\",\"\"),\"\",`${context.utils.RECEIVED_COLOR(\"received\")} value must ${expectedString}.`,withType].join(`\n`);}},HtmlElementTypeError=class extends GenericTypeError{constructor(...args){super(\"be an HTMLElement or an SVGElement\",...args);}},NodeTypeError=class extends GenericTypeError{constructor(...args){super(\"be a Node\",...args);}};function checkHasWindow(htmlElement,ErrorClass,...args){if(!htmlElement||!htmlElement.ownerDocument||!htmlElement.ownerDocument.defaultView)throw new ErrorClass(htmlElement,...args)}function checkNode(node,...args){checkHasWindow(node,NodeTypeError,...args);let window2=node.ownerDocument.defaultView;if(!(node instanceof window2.Node))throw new NodeTypeError(node,...args)}function checkHtmlElement(htmlElement,...args){checkHasWindow(htmlElement,HtmlElementTypeError,...args);let window2=htmlElement.ownerDocument.defaultView;if(!(htmlElement instanceof window2.HTMLElement)&&!(htmlElement instanceof window2.SVGElement))throw new HtmlElementTypeError(htmlElement,...args)}var InvalidCSSError=class extends Error{constructor(received,matcherFn,context){super(),Error.captureStackTrace&&Error.captureStackTrace(this,matcherFn),this.message=[received.message,\"\",context.utils.RECEIVED_COLOR(\"Failing css:\"),context.utils.RECEIVED_COLOR(`${received.css}`)].join(`\n`);}};function parseCSS(css,...args){let ast=$149c1bd638913645$export$98e6a39c04603d36(`selector { ${css} }`,{silent:!0}).stylesheet;if(ast.parsingErrors&&ast.parsingErrors.length>0){let{reason,line}=ast.parsingErrors[0];throw new InvalidCSSError({css,message:`Syntax error parsing expected css: ${reason} on line: ${line}`},...args)}return ast.rules[0].declarations.filter(d2=>d2.type===\"declaration\").reduce((obj,{property,value})=>Object.assign(obj,{[property]:value}),{})}function display(context,value){return typeof value==\"string\"?value:context.utils.stringify(value)}function getMessage(context,matcher,expectedLabel,expectedValue,receivedLabel,receivedValue){return [`${matcher}\n`,`${expectedLabel}:\n${context.utils.EXPECTED_COLOR((0, import_redent.default)(display(context,expectedValue),2))}`,`${receivedLabel}:\n${context.utils.RECEIVED_COLOR((0, import_redent.default)(display(context,receivedValue),2))}`].join(`\n`)}function matches(textToMatch,matcher){return matcher instanceof RegExp?matcher.test(textToMatch):textToMatch.includes(String(matcher))}function deprecate(name,replacementText){console.warn(`Warning: ${name} has been deprecated and will be removed in future updates.`,replacementText);}function normalize(text){return text.replace(/\\s+/g,\" \").trim()}function getTag(element){return element.tagName&&element.tagName.toLowerCase()}function getSelectValue({multiple,options}){let selectedOptions=[...options].filter(option=>option.selected);if(multiple)return [...selectedOptions].map(opt=>opt.value);if(selectedOptions.length!==0)return selectedOptions[0].value}function getInputValue(inputElement){switch(inputElement.type){case\"number\":return inputElement.value===\"\"?null:Number(inputElement.value);case\"checkbox\":return inputElement.checked;default:return inputElement.value}}function getSingleElementValue(element){if(element)switch(element.tagName.toLowerCase()){case\"input\":return getInputValue(element);case\"select\":return getSelectValue(element);default:return element.value}}function compareArraysAsSet(a,b2){if(Array.isArray(a)&&Array.isArray(b2))return (0, import_isEqual.default)(new Set(a),new Set(b2))}function toSentence(array,{wordConnector=\", \",lastWordConnector=\" and \"}={}){return [array.slice(0,-1).join(wordConnector),array[array.length-1]].join(array.length>1?lastWordConnector:\"\")}function toBeInTheDOM(element,container){return deprecate(\"toBeInTheDOM\",\"Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container.\"),element&&checkHtmlElement(element,toBeInTheDOM,this),container&&checkHtmlElement(container,toBeInTheDOM,this),{pass:container?container.contains(element):!!element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDOM`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element&&element.cloneNode(!1))}`].join(`\n`)}}function toBeInTheDocument(element){(element!==null||!this.isNot)&&checkHtmlElement(element,toBeInTheDocument,this);let pass=element===null?!1:element.ownerDocument===element.getRootNode({composed:!0}),errorFound=()=>`expected document not to contain element, found ${this.utils.stringify(element.cloneNode(!0))} instead`,errorNotFound=()=>\"element could not be found in the document\";return {pass,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInTheDocument`,\"element\",\"\"),\"\",this.utils.RECEIVED_COLOR(this.isNot?errorFound():errorNotFound())].join(`\n`)}}function toBeEmpty(element){return deprecate(\"toBeEmpty\",\"Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM.\"),checkHtmlElement(element,toBeEmpty,this),{pass:element.innerHTML===\"\",message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmpty`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function toBeEmptyDOMElement(element){return checkHtmlElement(element,toBeEmptyDOMElement,this),{pass:isEmptyElement(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEmptyDOMElement`,\"element\",\"\"),\"\",\"Received:\",` ${this.utils.printReceived(element.innerHTML)}`].join(`\n`)}}function isEmptyElement(element){return [...element.childNodes].filter(node=>node.nodeType!==8).length===0}function toContainElement(container,element){return checkHtmlElement(container,toContainElement,this),element!==null&&checkHtmlElement(element,toContainElement,this),{pass:container.contains(element),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainElement`,\"element\",\"element\"),\"\",this.utils.RECEIVED_COLOR(`${this.utils.stringify(container.cloneNode(!1))} ${this.isNot?\"contains:\":\"does not contain:\"} ${this.utils.stringify(element&&element.cloneNode(!1))}\n `)].join(`\n`)}}function getNormalizedHtml(container,htmlText){let div=container.ownerDocument.createElement(\"div\");return div.innerHTML=htmlText,div.innerHTML}function toContainHTML(container,htmlText){if(checkHtmlElement(container,toContainHTML,this),typeof htmlText!=\"string\")throw new Error(`.toContainHTML() expects a string value, got ${htmlText}`);return {pass:container.outerHTML.includes(getNormalizedHtml(container,htmlText)),message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toContainHTML`,\"element\",\"\"),\"Expected:\",` ${this.utils.EXPECTED_COLOR(htmlText)}`,\"Received:\",` ${this.utils.printReceived(container.cloneNode(!0))}`].join(`\n`)}}function toHaveTextContent(node,checkWith,options={normalizeWhitespace:!0}){checkNode(node,toHaveTextContent,this);let textContent=options.normalizeWhitespace?normalize(node.textContent):node.textContent.replace(/\\u00a0/g,\" \"),checkingWithEmptyString=textContent!==\"\"&&checkWith===\"\";return {pass:!checkingWithEmptyString&&matches(textContent,checkWith),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveTextContent`,\"element\",\"\"),checkingWithEmptyString?\"Checking with empty string will always match, use .toBeEmptyDOMElement() instead\":`Expected element ${to} have text content`,checkWith,\"Received\",textContent)}}}function toHaveAccessibleDescription(htmlElement,expectedAccessibleDescription){checkHtmlElement(htmlElement,toHaveAccessibleDescription,this);let actualAccessibleDescription=computeAccessibleDescription(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleDescription!==\"\":pass=expectedAccessibleDescription instanceof RegExp?expectedAccessibleDescription.test(actualAccessibleDescription):this.equals(actualAccessibleDescription,expectedAccessibleDescription),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleDescription.name}`,\"element\",\"\"),`Expected element ${to} have accessible description`,expectedAccessibleDescription,\"Received\",actualAccessibleDescription)}}}var ariaInvalidName=\"aria-invalid\",validStates=[\"false\"];function toHaveAccessibleErrorMessage(htmlElement,expectedAccessibleErrorMessage){checkHtmlElement(htmlElement,toHaveAccessibleErrorMessage,this);let to=this.isNot?\"not to\":\"to\",method=this.isNot?\".not.toHaveAccessibleErrorMessage\":\".toHaveAccessibleErrorMessage\",errormessageId=htmlElement.getAttribute(\"aria-errormessage\");if(!!errormessageId&&/\\s+/.test(errormessageId))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID\",\"\",\"Received\",`aria-errormessage=\"${errormessageId}\"`)};let ariaInvalidVal=htmlElement.getAttribute(ariaInvalidName);if(!htmlElement.hasAttribute(ariaInvalidName)||validStates.includes(ariaInvalidVal))return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),\"Expected element to be marked as invalid with attribute\",`${ariaInvalidName}=\"${String(!0)}\"`,\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`${ariaInvalidName}=\"${htmlElement.getAttribute(ariaInvalidName)}`:null)};let error=normalize(htmlElement.ownerDocument.getElementById(errormessageId)?.textContent??\"\");return {pass:expectedAccessibleErrorMessage===void 0?!!error:expectedAccessibleErrorMessage instanceof RegExp?expectedAccessibleErrorMessage.test(error):this.equals(error,expectedAccessibleErrorMessage),message:()=>getMessage(this,this.utils.matcherHint(method,\"element\"),`Expected element ${to} have accessible error message`,expectedAccessibleErrorMessage??\"\",\"Received\",error)}}var elementRoleList=buildElementRoleList(import_aria_query.elementRoles);function toHaveRole(htmlElement,expectedRole){checkHtmlElement(htmlElement,toHaveRole,this);let actualRoles=getExplicitOrImplicitRoles(htmlElement);return {pass:actualRoles.some(el=>el===expectedRole),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveRole.name}`,\"element\",\"\"),`Expected element ${to} have role`,expectedRole,\"Received\",actualRoles.join(\", \"))}}}function getExplicitOrImplicitRoles(htmlElement){return htmlElement.hasAttribute(\"role\")?htmlElement.getAttribute(\"role\").split(\" \").filter(Boolean):getImplicitAriaRoles(htmlElement)}function getImplicitAriaRoles(currentNode){for(let{match,roles:roles3}of elementRoleList)if(match(currentNode))return [...roles3];return []}function buildElementRoleList(elementRolesMap){function makeElementSelector({name,attributes}){return `${name}${attributes.map(({name:attributeName,value,constraints=[]})=>constraints.indexOf(\"undefined\")!==-1?`:not([${attributeName}])`:value?`[${attributeName}=\"${value}\"]`:`[${attributeName}]`).join(\"\")}`}function getSelectorSpecificity({attributes=[]}){return attributes.length}function bySelectorSpecificity({specificity:leftSpecificity},{specificity:rightSpecificity}){return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function toHaveAccessibleName(htmlElement,expectedAccessibleName){checkHtmlElement(htmlElement,toHaveAccessibleName,this);let actualAccessibleName=computeAccessibleName(htmlElement),missingExpectedValue=arguments.length===1,pass=!1;return missingExpectedValue?pass=actualAccessibleName!==\"\":pass=expectedAccessibleName instanceof RegExp?expectedAccessibleName.test(actualAccessibleName):this.equals(actualAccessibleName,expectedAccessibleName),{pass,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.${toHaveAccessibleName.name}`,\"element\",\"\"),`Expected element ${to} have accessible name`,expectedAccessibleName,\"Received\",actualAccessibleName)}}}function printAttribute(stringify2,name,value){return value===void 0?name:`${name}=${stringify2(value)}`}function getAttributeComment(stringify2,name,value){return value===void 0?`element.hasAttribute(${stringify2(name)})`:`element.getAttribute(${stringify2(name)}) === ${stringify2(value)}`}function toHaveAttribute(htmlElement,name,expectedValue){checkHtmlElement(htmlElement,toHaveAttribute,this);let isExpectedValuePresent=expectedValue!==void 0,hasAttribute=htmlElement.hasAttribute(name),receivedValue=htmlElement.getAttribute(name);return {pass:isExpectedValuePresent?hasAttribute&&this.equals(receivedValue,expectedValue):hasAttribute,message:()=>{let to=this.isNot?\"not to\":\"to\",receivedAttribute=hasAttribute?printAttribute(this.utils.stringify,name,receivedValue):null,matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveAttribute`,\"element\",this.utils.printExpected(name),{secondArgument:isExpectedValuePresent?this.utils.printExpected(expectedValue):void 0,comment:getAttributeComment(this.utils.stringify,name,expectedValue)});return getMessage(this,matcher,`Expected the element ${to} have attribute`,printAttribute(this.utils.stringify,name,expectedValue),\"Received\",receivedAttribute)}}}function getExpectedClassNamesAndOptions(params){let lastParam=params.pop(),expectedClassNames,options;return typeof lastParam==\"object\"&&!(lastParam instanceof RegExp)?(expectedClassNames=params,options=lastParam):(expectedClassNames=params.concat(lastParam),options={exact:!1}),{expectedClassNames,options}}function splitClassNames(str){return str?str.split(/\\s+/).filter(s=>s.length>0):[]}function isSubset$1(subset,superset){return subset.every(strOrRegexp=>typeof strOrRegexp==\"string\"?superset.includes(strOrRegexp):superset.some(className=>strOrRegexp.test(className)))}function toHaveClass(htmlElement,...params){checkHtmlElement(htmlElement,toHaveClass,this);let{expectedClassNames,options}=getExpectedClassNamesAndOptions(params),received=splitClassNames(htmlElement.getAttribute(\"class\")),expected=expectedClassNames.reduce((acc,className)=>acc.concat(typeof className==\"string\"||!className?splitClassNames(className):className),[]),hasRegExp=expected.some(className=>className instanceof RegExp);if(options.exact&&hasRegExp)throw new Error(\"Exact option does not support RegExp expected class names\");return options.exact?{pass:isSubset$1(expected,received)&&expected.length===received.length,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have EXACTLY defined classes`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:expected.length>0?{pass:isSubset$1(expected,received),message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveClass`,\"element\",this.utils.printExpected(expected.join(\" \"))),`Expected the element ${to} have class`,expected.join(\" \"),\"Received\",received.join(\" \"))}}:{pass:this.isNot?received.length>0:!1,message:()=>this.isNot?getMessage(this,this.utils.matcherHint(\".not.toHaveClass\",\"element\",\"\"),\"Expected the element to have classes\",\"(none)\",\"Received\",received.join(\" \")):[this.utils.matcherHint(\".toHaveClass\",\"element\"),\"At least one expected class must be provided.\"].join(`\n`)}}function getStyleDeclaration(document2,css){let styles={},copy3=document2.createElement(\"div\");return Object.keys(css).forEach(property=>{copy3.style[property]=css[property],styles[property]=copy3.style[property];}),styles}function isSubset(styles,computedStyle){return !!Object.keys(styles).length&&Object.entries(styles).every(([prop,value])=>{let isCustomProperty=prop.startsWith(\"--\"),spellingVariants=[prop];return isCustomProperty||spellingVariants.push(prop.toLowerCase()),spellingVariants.some(name=>computedStyle[name]===value||computedStyle.getPropertyValue(name)===value)})}function printoutStyles(styles){return Object.keys(styles).sort().map(prop=>`${prop}: ${styles[prop]};`).join(`\n`)}function expectedDiff(diffFn,expected,computedStyles){let received=Array.from(computedStyles).filter(prop=>expected[prop]!==void 0).reduce((obj,prop)=>Object.assign(obj,{[prop]:computedStyles.getPropertyValue(prop)}),{});return diffFn(printoutStyles(expected),printoutStyles(received)).replace(`${import_chalk.default.red(\"+ Received\")}\n`,\"\")}function toHaveStyle(htmlElement,css){checkHtmlElement(htmlElement,toHaveStyle,this);let parsedCSS=typeof css==\"object\"?css:parseCSS(css,toHaveStyle,this),{getComputedStyle}=htmlElement.ownerDocument.defaultView,expected=getStyleDeclaration(htmlElement.ownerDocument,parsedCSS),received=getComputedStyle(htmlElement);return {pass:isSubset(expected,received),message:()=>{let matcher=`${this.isNot?\".not\":\"\"}.toHaveStyle`;return [this.utils.matcherHint(matcher,\"element\",\"\"),expectedDiff(this.utils.diff,expected,received)].join(`\n\n`)}}}function toHaveFocus(element){return checkHtmlElement(element,toHaveFocus,this),{pass:element.ownerDocument.activeElement===element,message:()=>[this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveFocus`,\"element\",\"\"),\"\",...this.isNot?[\"Received element is focused:\",` ${this.utils.printReceived(element)}`]:[\"Expected element with focus:\",` ${this.utils.printExpected(element)}`,\"Received element with focus:\",` ${this.utils.printReceived(element.ownerDocument.activeElement)}`]].join(`\n`)}}function getMultiElementValue(elements){let types=(0, import_uniq.default)(elements.map(element=>element.type));if(types.length!==1)throw new Error(\"Multiple form elements with the same name must be of the same type\");switch(types[0]){case\"radio\":{let theChosenOne=elements.find(radio=>radio.checked);return theChosenOne?theChosenOne.value:void 0}case\"checkbox\":return elements.filter(checkbox=>checkbox.checked).map(checkbox=>checkbox.value);default:return elements.map(element=>element.value)}}function getFormValue(container,name){let elements=[...container.querySelectorAll(`[name=\"${(0, import_css.default)(name)}\"]`)];if(elements.length!==0)switch(elements.length){case 1:return getSingleElementValue(elements[0]);default:return getMultiElementValue(elements)}}function getPureName(name){return /\\[\\]$/.test(name)?name.slice(0,-2):name}function getAllFormValues(container){return Array.from(container.elements).map(element=>element.name).reduce((obj,name)=>({...obj,[getPureName(name)]:getFormValue(container,name)}),{})}function toHaveFormValues(formElement,expectedValues){if(checkHtmlElement(formElement,toHaveFormValues,this),!formElement.elements)throw new Error(\"toHaveFormValues must be called on a form or a fieldset\");let formValues=getAllFormValues(formElement);return {pass:Object.entries(expectedValues).every(([name,expectedValue])=>(0, import_isEqualWith.default)(formValues[name],expectedValue,compareArraysAsSet)),message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=`${this.isNot?\".not\":\"\"}.toHaveFormValues`,commonKeyValues=Object.keys(formValues).filter(key=>expectedValues.hasOwnProperty(key)).reduce((obj,key)=>({...obj,[key]:formValues[key]}),{});return [this.utils.matcherHint(matcher,\"element\",\"\"),`Expected the element ${to} have form values`,this.utils.diff(expectedValues,commonKeyValues)].join(`\n\n`)}}}function isStyleVisible(element){let{getComputedStyle}=element.ownerDocument.defaultView,{display:display2,visibility,opacity}=getComputedStyle(element);return display2!==\"none\"&&visibility!==\"hidden\"&&visibility!==\"collapse\"&&opacity!==\"0\"&&opacity!==0}function isAttributeVisible(element,previousElement){let detailsVisibility;return previousElement?detailsVisibility=element.nodeName===\"DETAILS\"&&previousElement.nodeName!==\"SUMMARY\"?element.hasAttribute(\"open\"):!0:detailsVisibility=element.nodeName===\"DETAILS\"?element.hasAttribute(\"open\"):!0,!element.hasAttribute(\"hidden\")&&detailsVisibility}function isElementVisible(element,previousElement){return isStyleVisible(element)&&isAttributeVisible(element,previousElement)&&(!element.parentElement||isElementVisible(element.parentElement,element))}function toBeVisible(element){checkHtmlElement(element,toBeVisible,this);let isInDocument=element.ownerDocument===element.getRootNode({composed:!0}),isVisible2=isInDocument&&isElementVisible(element);return {pass:isVisible2,message:()=>{let is=isVisible2?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeVisible`,\"element\",\"\"),\"\",`Received element ${is} visible${isInDocument?\"\":\" (element is not in the document)\"}:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$2=[\"fieldset\",\"input\",\"select\",\"optgroup\",\"option\",\"button\",\"textarea\"];function isFirstLegendChildOfFieldset(element,parent){return getTag(element)===\"legend\"&&getTag(parent)===\"fieldset\"&&element.isSameNode(Array.from(parent.children).find(child=>getTag(child)===\"legend\"))}function isElementDisabledByParent(element,parent){return isElementDisabled(parent)&&!isFirstLegendChildOfFieldset(element,parent)}function isCustomElement(tag){return tag.includes(\"-\")}function canElementBeDisabled(element){let tag=getTag(element);return FORM_TAGS$2.includes(tag)||isCustomElement(tag)}function isElementDisabled(element){return canElementBeDisabled(element)&&element.hasAttribute(\"disabled\")}function isAncestorDisabled(element){let parent=element.parentElement;return !!parent&&(isElementDisabledByParent(element,parent)||isAncestorDisabled(parent))}function isElementOrAncestorDisabled(element){return canElementBeDisabled(element)&&(isElementDisabled(element)||isAncestorDisabled(element))}function toBeDisabled(element){checkHtmlElement(element,toBeDisabled,this);let isDisabled3=isElementOrAncestorDisabled(element);return {pass:isDisabled3,message:()=>{let is=isDisabled3?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeDisabled`,\"element\",\"\"),\"\",`Received element ${is} disabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeEnabled(element){checkHtmlElement(element,toBeEnabled,this);let isEnabled=!isElementOrAncestorDisabled(element);return {pass:isEnabled,message:()=>{let is=isEnabled?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeEnabled`,\"element\",\"\"),\"\",`Received element ${is} enabled:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS$1=[\"select\",\"textarea\"],ARIA_FORM_TAGS=[\"input\",\"select\",\"textarea\"],UNSUPPORTED_INPUT_TYPES=[\"color\",\"hidden\",\"range\",\"submit\",\"image\",\"reset\"],SUPPORTED_ARIA_ROLES=[\"combobox\",\"gridcell\",\"radiogroup\",\"spinbutton\",\"tree\"];function isRequiredOnFormTagsExceptInput(element){return FORM_TAGS$1.includes(getTag(element))&&element.hasAttribute(\"required\")}function isRequiredOnSupportedInput(element){return getTag(element)===\"input\"&&element.hasAttribute(\"required\")&&(element.hasAttribute(\"type\")&&!UNSUPPORTED_INPUT_TYPES.includes(element.getAttribute(\"type\"))||!element.hasAttribute(\"type\"))}function isElementRequiredByARIA(element){return element.hasAttribute(\"aria-required\")&&element.getAttribute(\"aria-required\")===\"true\"&&(ARIA_FORM_TAGS.includes(getTag(element))||element.hasAttribute(\"role\")&&SUPPORTED_ARIA_ROLES.includes(element.getAttribute(\"role\")))}function toBeRequired(element){checkHtmlElement(element,toBeRequired,this);let isRequired=isRequiredOnFormTagsExceptInput(element)||isRequiredOnSupportedInput(element)||isElementRequiredByARIA(element);return {pass:isRequired,message:()=>{let is=isRequired?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeRequired`,\"element\",\"\"),\"\",`Received element ${is} required:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}var FORM_TAGS=[\"form\",\"input\",\"select\",\"textarea\"];function isElementHavingAriaInvalid(element){return element.hasAttribute(\"aria-invalid\")&&element.getAttribute(\"aria-invalid\")!==\"false\"}function isSupportsValidityMethod(element){return FORM_TAGS.includes(getTag(element))}function isElementInvalid(element){let isHaveAriaInvalid=isElementHavingAriaInvalid(element);return isSupportsValidityMethod(element)?isHaveAriaInvalid||!element.checkValidity():isHaveAriaInvalid}function toBeInvalid(element){checkHtmlElement(element,toBeInvalid,this);let isInvalid=isElementInvalid(element);return {pass:isInvalid,message:()=>{let is=isInvalid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeInvalid`,\"element\",\"\"),\"\",`Received element ${is} currently invalid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toBeValid(element){checkHtmlElement(element,toBeValid,this);let isValid=!isElementInvalid(element);return {pass:isValid,message:()=>{let is=isValid?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeValid`,\"element\",\"\"),\"\",`Received element ${is} currently valid:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveValue(htmlElement,expectedValue){if(checkHtmlElement(htmlElement,toHaveValue,this),htmlElement.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(htmlElement.type))throw new Error(\"input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead\");let receivedValue=getSingleElementValue(htmlElement),expectsValue=expectedValue!==void 0,expectedTypedValue=expectedValue,receivedTypedValue=receivedValue;return expectedValue==receivedValue&&expectedValue!==receivedValue&&(expectedTypedValue=`${expectedValue} (${typeof expectedValue})`,receivedTypedValue=`${receivedValue} (${typeof receivedValue})`),{pass:expectsValue?(0, import_isEqualWith.default)(receivedValue,expectedValue,compareArraysAsSet):!!receivedValue,message:()=>{let to=this.isNot?\"not to\":\"to\",matcher=this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveValue`,\"element\",expectedValue);return getMessage(this,matcher,`Expected the element ${to} have value`,expectsValue?expectedTypedValue:\"(any)\",\"Received\",receivedTypedValue)}}}function toHaveDisplayValue(htmlElement,expectedValue){checkHtmlElement(htmlElement,toHaveDisplayValue,this);let tagName=htmlElement.tagName.toLowerCase();if(![\"select\",\"input\",\"textarea\"].includes(tagName))throw new Error(\".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.\");if(tagName===\"input\"&&[\"radio\",\"checkbox\"].includes(htmlElement.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type=\"${htmlElement.type}\"], try with another matcher instead.`);let values=getValues(tagName,htmlElement),expectedValues=getExpectedValues(expectedValue),numberOfMatchesWithValues=expectedValues.filter(expected=>values.some(value=>expected instanceof RegExp?expected.test(value):this.equals(value,String(expected)))).length,matchedWithAllValues=numberOfMatchesWithValues===values.length,matchedWithAllExpectedValues=numberOfMatchesWithValues===expectedValues.length;return {pass:matchedWithAllValues&&matchedWithAllExpectedValues,message:()=>getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDisplayValue`,\"element\",\"\"),`Expected element ${this.isNot?\"not \":\"\"}to have display value`,expectedValue,\"Received\",values)}}function getValues(tagName,htmlElement){return tagName===\"select\"?Array.from(htmlElement).filter(option=>option.selected).map(option=>option.textContent):[htmlElement.value]}function getExpectedValues(expectedValue){return expectedValue instanceof Array?expectedValue:[expectedValue]}function toBeChecked(element){checkHtmlElement(element,toBeChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&[\"checkbox\",\"radio\"].includes(element.type),isValidAriaElement=()=>roleSupportsChecked(element.getAttribute(\"role\"))&&[\"true\",\"false\"].includes(element.getAttribute(\"aria-checked\"));if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>`only inputs with type=\"checkbox\" or type=\"radio\" or elements with ${supportedRolesSentence()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let isChecked=()=>isValidInput()?element.checked:element.getAttribute(\"aria-checked\")===\"true\";return {pass:isChecked(),message:()=>{let is=isChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBeChecked`,\"element\",\"\"),\"\",`Received element ${is} checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function supportedRolesSentence(){return toSentence(supportedRoles().map(role=>`role=\"${role}\"`),{lastWordConnector:\" or \"})}function supportedRoles(){return import_aria_query.roles.keys().filter(roleSupportsChecked)}function roleSupportsChecked(role){return import_aria_query.roles.get(role)?.props[\"aria-checked\"]!==void 0}function toBePartiallyChecked(element){checkHtmlElement(element,toBePartiallyChecked,this);let isValidInput=()=>element.tagName.toLowerCase()===\"input\"&&element.type===\"checkbox\",isValidAriaElement=()=>element.getAttribute(\"role\")===\"checkbox\";if(!isValidInput()&&!isValidAriaElement())return {pass:!1,message:()=>'only inputs with type=\"checkbox\" or elements with role=\"checkbox\" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let isPartiallyChecked=()=>{let isAriaMixed=element.getAttribute(\"aria-checked\")===\"mixed\";return isValidInput()&&element.indeterminate||isAriaMixed};return {pass:isPartiallyChecked(),message:()=>{let is=isPartiallyChecked()?\"is\":\"is not\";return [this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toBePartiallyChecked`,\"element\",\"\"),\"\",`Received element ${is} partially checked:`,` ${this.utils.printReceived(element.cloneNode(!1))}`].join(`\n`)}}}function toHaveDescription(htmlElement,checkWith){deprecate(\"toHaveDescription\",\"Please use toHaveAccessibleDescription.\"),checkHtmlElement(htmlElement,toHaveDescription,this);let expectsDescription=checkWith!==void 0,descriptionIDs=(htmlElement.getAttribute(\"aria-describedby\")||\"\").split(/\\s+/).filter(Boolean),description=\"\";if(descriptionIDs.length>0){let document2=htmlElement.ownerDocument,descriptionEls=descriptionIDs.map(descriptionID=>document2.getElementById(descriptionID)).filter(Boolean);description=normalize(descriptionEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsDescription?checkWith instanceof RegExp?checkWith.test(description):this.equals(description,checkWith):!!description,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveDescription`,\"element\",\"\"),`Expected the element ${to} have description`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(description))}}}function toHaveErrorMessage(htmlElement,checkWith){if(deprecate(\"toHaveErrorMessage\",\"Please use toHaveAccessibleErrorMessage.\"),checkHtmlElement(htmlElement,toHaveErrorMessage,this),!htmlElement.hasAttribute(\"aria-invalid\")||htmlElement.getAttribute(\"aria-invalid\")===\"false\"){let not=this.isNot?\".not\":\"\";return {pass:!1,message:()=>getMessage(this,this.utils.matcherHint(`${not}.toHaveErrorMessage`,\"element\",\"\"),\"Expected the element to have invalid state indicated by\",'aria-invalid=\"true\"',\"Received\",htmlElement.hasAttribute(\"aria-invalid\")?`aria-invalid=\"${htmlElement.getAttribute(\"aria-invalid\")}\"`:this.utils.printReceived(\"\"))}}let expectsErrorMessage=checkWith!==void 0,errormessageIDs=(htmlElement.getAttribute(\"aria-errormessage\")||\"\").split(/\\s+/).filter(Boolean),errormessage=\"\";if(errormessageIDs.length>0){let document2=htmlElement.ownerDocument,errormessageEls=errormessageIDs.map(errormessageID=>document2.getElementById(errormessageID)).filter(Boolean);errormessage=normalize(errormessageEls.map(el=>el.textContent).join(\" \"));}return {pass:expectsErrorMessage?checkWith instanceof RegExp?checkWith.test(errormessage):this.equals(errormessage,checkWith):!!errormessage,message:()=>{let to=this.isNot?\"not to\":\"to\";return getMessage(this,this.utils.matcherHint(`${this.isNot?\".not\":\"\"}.toHaveErrorMessage`,\"element\",\"\"),`Expected the element ${to} have error message`,this.utils.printExpected(checkWith),\"Received\",this.utils.printReceived(errormessage))}}}__toESM(require_redent(),1);__toESM(require_isEqual(),1);__toESM(require_lib(),1);__toESM(require_source(),1);__toESM(require_isEqualWith(),1);__toESM(require_uniq(),1);__toESM(require_css_escape(),1);function createExpect(){use(JestExtend),use(JestChaiExpect),use(JestAsymmetricMatchers);let expect4=(value,message)=>{let{assertionCalls}=getState(expect4);return setState({assertionCalls:assertionCalls+1,soft:!1},expect4),expect(value,message)};Object.assign(expect4,expect),expect4.getState=()=>getState(expect4),expect4.setState=state=>setState(state,expect4),expect4.extend=expects=>expect.extend(expect4,expects),expect4.soft=(...args)=>{let assert2=expect4(...args);return expect4.setState({soft:!0}),assert2},expect4.unreachable=message=>{assert.fail(`expected${message?` \"${message}\" `:\" \"}not to be reached`);};function assertions(expected){let errorGen=()=>new Error(`expected number of assertions to be ${expected}, but got ${expect4.getState().assertionCalls}`);\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(errorGen(),assertions),expect4.setState({expectedAssertionsNumber:expected,expectedAssertionsNumberErrorGen:errorGen});}function hasAssertions(){let error=new Error(\"expected any number of assertion, but got none\");\"captureStackTrace\"in Error&&typeof Error.captureStackTrace==\"function\"&&Error.captureStackTrace(error,hasAssertions),expect4.setState({isExpectingAssertions:!0,isExpectingAssertionsError:error});}return setState({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},expect4),util.addMethod(expect4,\"assertions\",assertions),util.addMethod(expect4,\"hasAssertions\",hasAssertions),expect4.extend(matchers_exports),expect4}var expect2=createExpect();Object.defineProperty(globalThis,GLOBAL_EXPECT,{value:expect2,writable:!0,configurable:!0});function clearAllMocks(){mocks.forEach(spy=>spy.mockClear());}function resetAllMocks(){mocks.forEach(spy=>spy.mockReset());}function restoreAllMocks(){mocks.forEach(spy=>spy.mockRestore());}function mocked(item,_options={}){return item}var dom_esm_exports={};__export(dom_esm_exports,{buildQueries:()=>buildQueries,configure:()=>configure,createEvent:()=>createEvent,findAllByAltText:()=>findAllByAltText,findAllByDisplayValue:()=>findAllByDisplayValue,findAllByLabelText:()=>findAllByLabelText,findAllByPlaceholderText:()=>findAllByPlaceholderText,findAllByRole:()=>findAllByRole,findAllByTestId:()=>findAllByTestId,findAllByText:()=>findAllByText,findAllByTitle:()=>findAllByTitle,findByAltText:()=>findByAltText,findByDisplayValue:()=>findByDisplayValue,findByLabelText:()=>findByLabelText,findByPlaceholderText:()=>findByPlaceholderText,findByRole:()=>findByRole,findByTestId:()=>findByTestId,findByText:()=>findByText,findByTitle:()=>findByTitle,fireEvent:()=>fireEvent,getAllByAltText:()=>getAllByAltText,getAllByDisplayValue:()=>getAllByDisplayValue,getAllByLabelText:()=>getAllByLabelTextWithSuggestions,getAllByPlaceholderText:()=>getAllByPlaceholderText,getAllByRole:()=>getAllByRole,getAllByTestId:()=>getAllByTestId,getAllByText:()=>getAllByText,getAllByTitle:()=>getAllByTitle,getByAltText:()=>getByAltText,getByDisplayValue:()=>getByDisplayValue,getByLabelText:()=>getByLabelTextWithSuggestions,getByPlaceholderText:()=>getByPlaceholderText,getByRole:()=>getByRole,getByTestId:()=>getByTestId,getByText:()=>getByText,getByTitle:()=>getByTitle,getConfig:()=>getConfig,getDefaultNormalizer:()=>getDefaultNormalizer,getElementError:()=>getElementError,getMultipleElementsFoundError:()=>getMultipleElementsFoundError,getNodeText:()=>getNodeText,getQueriesForElement:()=>getQueriesForElement,getRoles:()=>getRoles,getSuggestedQuery:()=>getSuggestedQuery,isInaccessible:()=>isInaccessible,logDOM:()=>logDOM,logRoles:()=>logRoles,makeFindQuery:()=>makeFindQuery,makeGetAllQuery:()=>makeGetAllQuery,makeSingleQuery:()=>makeSingleQuery,prettyDOM:()=>prettyDOM,prettyFormat:()=>prettyFormat,queries:()=>queries,queryAllByAltText:()=>queryAllByAltTextWithSuggestions,queryAllByAttribute:()=>queryAllByAttribute,queryAllByDisplayValue:()=>queryAllByDisplayValueWithSuggestions,queryAllByLabelText:()=>queryAllByLabelTextWithSuggestions,queryAllByPlaceholderText:()=>queryAllByPlaceholderTextWithSuggestions,queryAllByRole:()=>queryAllByRoleWithSuggestions,queryAllByTestId:()=>queryAllByTestIdWithSuggestions,queryAllByText:()=>queryAllByTextWithSuggestions,queryAllByTitle:()=>queryAllByTitleWithSuggestions,queryByAltText:()=>queryByAltText,queryByAttribute:()=>queryByAttribute,queryByDisplayValue:()=>queryByDisplayValue,queryByLabelText:()=>queryByLabelText,queryByPlaceholderText:()=>queryByPlaceholderText,queryByRole:()=>queryByRole,queryByTestId:()=>queryByTestId,queryByText:()=>queryByText,queryByTitle:()=>queryByTitle,queryHelpers:()=>queryHelpers,screen:()=>screen,waitFor:()=>waitForWrapper,waitForElementToBeRemoved:()=>waitForElementToBeRemoved,within:()=>getQueriesForElement,wrapAllByQueryWithSuggestion:()=>wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion:()=>wrapSingleQueryWithSuggestion});var prettyFormat=__toESM(require_build3());var toStr2=Object.prototype.toString;function isCallable2(fn2){return typeof fn2==\"function\"||toStr2.call(fn2)===\"[object Function]\"}function toInteger2(value){var number=Number(value);return isNaN(number)?0:number===0||!isFinite(number)?number:(number>0?1:-1)*Math.floor(Math.abs(number))}var maxSafeInteger2=Math.pow(2,53)-1;function toLength2(value){var len=toInteger2(value);return Math.min(Math.max(len,0),maxSafeInteger2)}function arrayFrom2(arrayLike,mapFn){var C2=Array,items=Object(arrayLike);if(arrayLike==null)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if(typeof mapFn<\"u\"&&!isCallable2(mapFn))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");for(var len=toLength2(items.length),A=isCallable2(C2)?Object(new C2(len)):new Array(len),k=0,kValue;k0&&arguments[0]!==void 0?arguments[0]:[];_classCallCheck2(this,SetLike3),_defineProperty3(this,\"items\",void 0),this.items=items;}return _createClass2(SetLike3,[{key:\"add\",value:function(value){return this.has(value)===!1&&this.items.push(value),this}},{key:\"clear\",value:function(){this.items=[];}},{key:\"delete\",value:function(value){var previousLength=this.items.length;return this.items=this.items.filter(function(item){return item!==value}),previousLength!==this.items.length}},{key:\"forEach\",value:function(callbackfn){var _this=this;this.items.forEach(function(item){callbackfn(item,item,_this);});}},{key:\"has\",value:function(value){return this.items.indexOf(value)!==-1}},{key:\"size\",get:function(){return this.items.length}}]),SetLike3}(),SetLike_default2=typeof Set>\"u\"?Set:SetLike2;function getLocalName2(element){var _element$localName;return (_element$localName=element.localName)!==null&&_element$localName!==void 0?_element$localName:element.tagName.toLowerCase()}var localNameToRoleMappings2={article:\"article\",aside:\"complementary\",button:\"button\",datalist:\"listbox\",dd:\"definition\",details:\"group\",dialog:\"dialog\",dt:\"term\",fieldset:\"group\",figure:\"figure\",form:\"form\",footer:\"contentinfo\",h1:\"heading\",h2:\"heading\",h3:\"heading\",h4:\"heading\",h5:\"heading\",h6:\"heading\",header:\"banner\",hr:\"separator\",html:\"document\",legend:\"legend\",li:\"listitem\",math:\"math\",main:\"main\",menu:\"list\",nav:\"navigation\",ol:\"list\",optgroup:\"group\",option:\"option\",output:\"status\",progress:\"progressbar\",section:\"region\",summary:\"button\",table:\"table\",tbody:\"rowgroup\",textarea:\"textbox\",tfoot:\"rowgroup\",td:\"cell\",th:\"columnheader\",thead:\"rowgroup\",tr:\"row\",ul:\"list\"},prohibitedAttributes2={caption:new Set([\"aria-label\",\"aria-labelledby\"]),code:new Set([\"aria-label\",\"aria-labelledby\"]),deletion:new Set([\"aria-label\",\"aria-labelledby\"]),emphasis:new Set([\"aria-label\",\"aria-labelledby\"]),generic:new Set([\"aria-label\",\"aria-labelledby\",\"aria-roledescription\"]),insertion:new Set([\"aria-label\",\"aria-labelledby\"]),paragraph:new Set([\"aria-label\",\"aria-labelledby\"]),presentation:new Set([\"aria-label\",\"aria-labelledby\"]),strong:new Set([\"aria-label\",\"aria-labelledby\"]),subscript:new Set([\"aria-label\",\"aria-labelledby\"]),superscript:new Set([\"aria-label\",\"aria-labelledby\"])};function hasGlobalAriaAttributes2(element,role){return [\"aria-atomic\",\"aria-busy\",\"aria-controls\",\"aria-current\",\"aria-describedby\",\"aria-details\",\"aria-dropeffect\",\"aria-flowto\",\"aria-grabbed\",\"aria-hidden\",\"aria-keyshortcuts\",\"aria-label\",\"aria-labelledby\",\"aria-live\",\"aria-owns\",\"aria-relevant\",\"aria-roledescription\"].some(function(attributeName){var _prohibitedAttributes;return element.hasAttribute(attributeName)&&!((_prohibitedAttributes=prohibitedAttributes2[role])!==null&&_prohibitedAttributes!==void 0&&_prohibitedAttributes.has(attributeName))})}function ignorePresentationalRole2(element,implicitRole){return hasGlobalAriaAttributes2(element,implicitRole)}function getRole2(element){var explicitRole=getExplicitRole2(element);if(explicitRole===null||explicitRole===\"presentation\"){var implicitRole=getImplicitRole2(element);if(explicitRole!==\"presentation\"||ignorePresentationalRole2(element,implicitRole||\"\"))return implicitRole}return explicitRole}function getImplicitRole2(element){var mappedByTag=localNameToRoleMappings2[getLocalName2(element)];if(mappedByTag!==void 0)return mappedByTag;switch(getLocalName2(element)){case\"a\":case\"area\":case\"link\":if(element.hasAttribute(\"href\"))return \"link\";break;case\"img\":return element.getAttribute(\"alt\")===\"\"&&!ignorePresentationalRole2(element,\"img\")?\"presentation\":\"img\";case\"input\":{var _ref=element,type3=_ref.type;switch(type3){case\"button\":case\"image\":case\"reset\":case\"submit\":return \"button\";case\"checkbox\":case\"radio\":return type3;case\"range\":return \"slider\";case\"email\":case\"tel\":case\"text\":case\"url\":return element.hasAttribute(\"list\")?\"combobox\":\"textbox\";case\"search\":return element.hasAttribute(\"list\")?\"combobox\":\"searchbox\";case\"number\":return \"spinbutton\";default:return null}}case\"select\":return element.hasAttribute(\"multiple\")||element.size>1?\"listbox\":\"combobox\"}return null}function getExplicitRole2(element){var role=element.getAttribute(\"role\");if(role!==null){var explicitRole=role.trim().split(\" \")[0];if(explicitRole.length>0)return explicitRole}return null}function isElement2(node){return node!==null&&node.nodeType===node.ELEMENT_NODE}function isHTMLTableCaptionElement2(node){return isElement2(node)&&getLocalName2(node)===\"caption\"}function isHTMLInputElement2(node){return isElement2(node)&&getLocalName2(node)===\"input\"}function isHTMLOptGroupElement2(node){return isElement2(node)&&getLocalName2(node)===\"optgroup\"}function isHTMLSelectElement2(node){return isElement2(node)&&getLocalName2(node)===\"select\"}function isHTMLTableElement2(node){return isElement2(node)&&getLocalName2(node)===\"table\"}function isHTMLTextAreaElement2(node){return isElement2(node)&&getLocalName2(node)===\"textarea\"}function safeWindow2(node){var _ref=node.ownerDocument===null?node:node.ownerDocument,defaultView=_ref.defaultView;if(defaultView===null)throw new TypeError(\"no window available\");return defaultView}function isHTMLFieldSetElement2(node){return isElement2(node)&&getLocalName2(node)===\"fieldset\"}function isHTMLLegendElement2(node){return isElement2(node)&&getLocalName2(node)===\"legend\"}function isHTMLSlotElement2(node){return isElement2(node)&&getLocalName2(node)===\"slot\"}function isSVGElement2(node){return isElement2(node)&&node.ownerSVGElement!==void 0}function isSVGSVGElement2(node){return isElement2(node)&&getLocalName2(node)===\"svg\"}function isSVGTitleElement2(node){return isSVGElement2(node)&&getLocalName2(node)===\"title\"}function queryIdRefs2(node,attributeName){if(isElement2(node)&&node.hasAttribute(attributeName)){var ids=node.getAttribute(attributeName).split(\" \"),root=node.getRootNode?node.getRootNode():node.ownerDocument;return ids.map(function(id){return root.getElementById(id)}).filter(function(element){return element!==null})}return []}function hasAnyConcreteRoles2(node,roles3){return isElement2(node)?roles3.indexOf(getRole2(node))!==-1:!1}function asFlatString2(s){return s.trim().replace(/\\s\\s+/g,\" \")}function isHidden2(node,getComputedStyleImplementation){if(!isElement2(node))return !1;if(node.hasAttribute(\"hidden\")||node.getAttribute(\"aria-hidden\")===\"true\")return !0;var style=getComputedStyleImplementation(node);return style.getPropertyValue(\"display\")===\"none\"||style.getPropertyValue(\"visibility\")===\"hidden\"}function isControl2(node){return hasAnyConcreteRoles2(node,[\"button\",\"combobox\",\"listbox\",\"textbox\"])||hasAbstractRole2(node,\"range\")}function hasAbstractRole2(node,role){if(!isElement2(node))return !1;switch(role){case\"range\":return hasAnyConcreteRoles2(node,[\"meter\",\"progressbar\",\"scrollbar\",\"slider\",\"spinbutton\"]);default:throw new TypeError(\"No knowledge about abstract role '\".concat(role,\"'. This is likely a bug :(\"))}}function querySelectorAllSubtree2(element,selectors){var elements=arrayFrom2(element.querySelectorAll(selectors));return queryIdRefs2(element,\"aria-owns\").forEach(function(root){elements.push.apply(elements,arrayFrom2(root.querySelectorAll(selectors)));}),elements}function querySelectedOptions2(listbox){return isHTMLSelectElement2(listbox)?listbox.selectedOptions||querySelectorAllSubtree2(listbox,\"[selected]\"):querySelectorAllSubtree2(listbox,'[aria-selected=\"true\"]')}function isMarkedPresentational2(node){return hasAnyConcreteRoles2(node,[\"none\",\"presentation\"])}function isNativeHostLanguageTextAlternativeElement2(node){return isHTMLTableCaptionElement2(node)}function allowsNameFromContent2(node){return hasAnyConcreteRoles2(node,[\"button\",\"cell\",\"checkbox\",\"columnheader\",\"gridcell\",\"heading\",\"label\",\"legend\",\"link\",\"menuitem\",\"menuitemcheckbox\",\"menuitemradio\",\"option\",\"radio\",\"row\",\"rowheader\",\"switch\",\"tab\",\"tooltip\",\"treeitem\"])}function isDescendantOfNativeHostLanguageTextAlternativeElement2(node){return !1}function getValueOfTextbox2(element){return isHTMLInputElement2(element)||isHTMLTextAreaElement2(element)?element.value:element.textContent||\"\"}function getTextualContent2(declaration){var content=declaration.getPropertyValue(\"content\");return /^[\"'].*[\"']$/.test(content)?content.slice(1,-1):\"\"}function isLabelableElement2(element){var localName=getLocalName2(element);return localName===\"button\"||localName===\"input\"&&element.getAttribute(\"type\")!==\"hidden\"||localName===\"meter\"||localName===\"output\"||localName===\"progress\"||localName===\"select\"||localName===\"textarea\"}function findLabelableElement2(element){if(isLabelableElement2(element))return element;var labelableElement=null;return element.childNodes.forEach(function(childNode){if(labelableElement===null&&isElement2(childNode)){var descendantLabelableElement=findLabelableElement2(childNode);descendantLabelableElement!==null&&(labelableElement=descendantLabelableElement);}}),labelableElement}function getControlOfLabel2(label){if(label.control!==void 0)return label.control;var htmlFor=label.getAttribute(\"for\");return htmlFor!==null?label.ownerDocument.getElementById(htmlFor):findLabelableElement2(label)}function getLabels2(element){var labelsProperty=element.labels;if(labelsProperty===null)return labelsProperty;if(labelsProperty!==void 0)return arrayFrom2(labelsProperty);if(!isLabelableElement2(element))return null;var document2=element.ownerDocument;return arrayFrom2(document2.querySelectorAll(\"label\")).filter(function(label){return getControlOfLabel2(label)===element})}function getSlotContents2(slot){var assignedNodes=slot.assignedNodes();return assignedNodes.length===0?arrayFrom2(slot.childNodes):assignedNodes}function computeTextAlternative2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},consultedNodes=new SetLike_default2,window2=safeWindow2(root),_options$compute=options.compute,compute=_options$compute===void 0?\"name\":_options$compute,_options$computedStyl=options.computedStyleSupportsPseudoElements,computedStyleSupportsPseudoElements=_options$computedStyl===void 0?options.getComputedStyle!==void 0:_options$computedStyl,_options$getComputedS=options.getComputedStyle,getComputedStyle=_options$getComputedS===void 0?window2.getComputedStyle.bind(window2):_options$getComputedS,_options$hidden=options.hidden,hidden=_options$hidden===void 0?!1:_options$hidden;function computeMiscTextAlternative(node,context){var accumulatedText=\"\";if(isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoBefore=getComputedStyle(node,\"::before\"),beforeContent=getTextualContent2(pseudoBefore);accumulatedText=\"\".concat(beforeContent,\" \").concat(accumulatedText);}var childNodes=isHTMLSlotElement2(node)?getSlotContents2(node):arrayFrom2(node.childNodes).concat(queryIdRefs2(node,\"aria-owns\"));if(childNodes.forEach(function(child){var result=computeTextAlternative3(child,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),display2=isElement2(child)?getComputedStyle(child).getPropertyValue(\"display\"):\"inline\",separator=display2!==\"inline\"?\" \":\"\";accumulatedText+=\"\".concat(separator).concat(result).concat(separator);}),isElement2(node)&&computedStyleSupportsPseudoElements){var pseudoAfter=getComputedStyle(node,\"::after\"),afterContent=getTextualContent2(pseudoAfter);accumulatedText=\"\".concat(accumulatedText,\" \").concat(afterContent);}return accumulatedText.trim()}function useAttribute(element,attributeName){var attribute=element.getAttributeNode(attributeName);return attribute!==null&&!consultedNodes.has(attribute)&&attribute.value.trim()!==\"\"?(consultedNodes.add(attribute),attribute.value):null}function computeTooltipAttributeValue(node){return isElement2(node)?useAttribute(node,\"title\"):null}function computeElementTextAlternative(node){if(!isElement2(node))return null;if(isHTMLFieldSetElement2(node)){consultedNodes.add(node);for(var children=arrayFrom2(node.childNodes),i=0;i0}).join(\" \");if(isHTMLInputElement2(node)&&node.type===\"image\"){var _nameFromAlt=useAttribute(node,\"alt\");if(_nameFromAlt!==null)return _nameFromAlt;var nameFromTitle=useAttribute(node,\"title\");return nameFromTitle!==null?nameFromTitle:\"Submit Query\"}if(hasAnyConcreteRoles2(node,[\"button\"])){var nameFromSubTree=computeMiscTextAlternative(node,{isEmbeddedInLabel:!1,isReferenced:!1});if(nameFromSubTree!==\"\")return nameFromSubTree}return null}function computeTextAlternative3(current,context){if(consultedNodes.has(current))return \"\";if(!hidden&&isHidden2(current,getComputedStyle)&&!context.isReferenced)return consultedNodes.add(current),\"\";var labelAttributeNode=isElement2(current)?current.getAttributeNode(\"aria-labelledby\"):null,labelElements=labelAttributeNode!==null&&!consultedNodes.has(labelAttributeNode)?queryIdRefs2(current,\"aria-labelledby\"):[];if(compute===\"name\"&&!context.isReferenced&&labelElements.length>0)return consultedNodes.add(labelAttributeNode),labelElements.map(function(element){return computeTextAlternative3(element,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(\" \");var skipToStep2E=context.recursion&&isControl2(current)&&compute===\"name\";if(!skipToStep2E){var ariaLabel=(isElement2(current)&¤t.getAttribute(\"aria-label\")||\"\").trim();if(ariaLabel!==\"\"&&compute===\"name\")return consultedNodes.add(current),ariaLabel;if(!isMarkedPresentational2(current)){var elementTextAlternative=computeElementTextAlternative(current);if(elementTextAlternative!==null)return consultedNodes.add(current),elementTextAlternative}}if(hasAnyConcreteRoles2(current,[\"menu\"]))return consultedNodes.add(current),\"\";if(skipToStep2E||context.isEmbeddedInLabel||context.isReferenced){if(hasAnyConcreteRoles2(current,[\"combobox\",\"listbox\"])){consultedNodes.add(current);var selectedOptions=querySelectedOptions2(current);return selectedOptions.length===0?isHTMLInputElement2(current)?current.value:\"\":arrayFrom2(selectedOptions).map(function(selectedOption){return computeTextAlternative3(selectedOption,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(\" \")}if(hasAbstractRole2(current,\"range\"))return consultedNodes.add(current),current.hasAttribute(\"aria-valuetext\")?current.getAttribute(\"aria-valuetext\"):current.hasAttribute(\"aria-valuenow\")?current.getAttribute(\"aria-valuenow\"):current.getAttribute(\"value\")||\"\";if(hasAnyConcreteRoles2(current,[\"textbox\"]))return consultedNodes.add(current),getValueOfTextbox2(current)}if(allowsNameFromContent2(current)||isElement2(current)&&context.isReferenced||isNativeHostLanguageTextAlternativeElement2(current)||isDescendantOfNativeHostLanguageTextAlternativeElement2()){var accumulatedText2F=computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});if(accumulatedText2F!==\"\")return consultedNodes.add(current),accumulatedText2F}if(current.nodeType===current.TEXT_NODE)return consultedNodes.add(current),current.textContent||\"\";if(context.recursion)return consultedNodes.add(current),computeMiscTextAlternative(current,{isEmbeddedInLabel:context.isEmbeddedInLabel,isReferenced:!1});var tooltipAttributeValue=computeTooltipAttributeValue(current);return tooltipAttributeValue!==null?(consultedNodes.add(current),tooltipAttributeValue):(consultedNodes.add(current),\"\")}return asFlatString2(computeTextAlternative3(root,{isEmbeddedInLabel:!1,isReferenced:compute===\"description\",recursion:!1}))}function _typeof4(obj){\"@babel/helpers - typeof\";return _typeof4=typeof Symbol==\"function\"&&typeof Symbol.iterator==\"symbol\"?function(obj2){return typeof obj2}:function(obj2){return obj2&&typeof Symbol==\"function\"&&obj2.constructor===Symbol&&obj2!==Symbol.prototype?\"symbol\":typeof obj2},_typeof4(obj)}function ownKeys2(object,enumerableOnly){var keys2=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable})),keys2.push.apply(keys2,symbols);}return keys2}function _objectSpread2(target){for(var i=1;i1&&arguments[1]!==void 0?arguments[1]:{},description=queryIdRefs2(root,\"aria-describedby\").map(function(element){return computeTextAlternative2(element,_objectSpread2(_objectSpread2({},options),{},{compute:\"description\"}))}).join(\" \");if(description===\"\"){var title=root.getAttribute(\"title\");description=title===null?\"\":title;}return description}function prohibitsNaming2(node){return hasAnyConcreteRoles2(node,[\"caption\",\"code\",\"deletion\",\"emphasis\",\"generic\",\"insertion\",\"paragraph\",\"presentation\",\"strong\",\"subscript\",\"superscript\"])}function computeAccessibleName2(root){var options=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return prohibitsNaming2(root)?\"\":computeTextAlternative2(root,options)}var import_aria_query3=__toESM(require_lib()),import_lz_string=__toESM(require_lz_string());function escapeHTML(str){return str.replace(//g,\">\")}var printProps=(keys2,props,config3,indentation,depth,refs,printer)=>{let indentationNext=indentation+config3.indent,colors=config3.colors;return keys2.map(key=>{let value=props[key],printed=printer(value,config3,indentationNext,depth,refs);return typeof value!=\"string\"&&(printed.indexOf(`\n`)!==-1&&(printed=config3.spacingOuter+indentationNext+printed+config3.spacingOuter+indentation),printed=\"{\"+printed+\"}\"),config3.spacingInner+indentation+colors.prop.open+key+colors.prop.close+\"=\"+colors.value.open+printed+colors.value.close}).join(\"\")},NodeTypeTextNode=3,printChildren=(children,config3,indentation,depth,refs,printer)=>children.map(child=>{let printedChild=typeof child==\"string\"?printText(child,config3):printer(child,config3,indentation,depth,refs);return printedChild===\"\"&&typeof child==\"object\"&&child!==null&&child.nodeType!==NodeTypeTextNode?\"\":config3.spacingOuter+indentation+printedChild}).join(\"\"),printText=(text,config3)=>{let contentColor=config3.colors.content;return contentColor.open+escapeHTML(text)+contentColor.close},printComment=(comment,config3)=>{let commentColor=config3.colors.comment;return commentColor.open+\"\"+commentColor.close},printElement=(type3,printedProps,printedChildren,config3,indentation)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+(printedProps&&tagColor.close+printedProps+config3.spacingOuter+indentation+tagColor.open)+(printedChildren?\">\"+tagColor.close+printedChildren+config3.spacingOuter+indentation+tagColor.open+\"\"+tagColor.close},printElementAsLeaf=(type3,config3)=>{let tagColor=config3.colors.tag;return tagColor.open+\"<\"+type3+tagColor.close+\" \\u2026\"+tagColor.open+\" />\"+tagColor.close},ELEMENT_NODE$1=1,TEXT_NODE$1=3,COMMENT_NODE$1=8,FRAGMENT_NODE=11,ELEMENT_REGEXP=/^((HTML|SVG)\\w*)?Element$/,testNode=val=>{let constructorName=val.constructor.name,{nodeType,tagName}=val,isCustomElement2=typeof tagName==\"string\"&&tagName.includes(\"-\")||typeof val.hasAttribute==\"function\"&&val.hasAttribute(\"is\");return nodeType===ELEMENT_NODE$1&&(ELEMENT_REGEXP.test(constructorName)||isCustomElement2)||nodeType===TEXT_NODE$1&&constructorName===\"Text\"||nodeType===COMMENT_NODE$1&&constructorName===\"Comment\"||nodeType===FRAGMENT_NODE&&constructorName===\"DocumentFragment\"};function nodeIsText(node){return node.nodeType===TEXT_NODE$1}function nodeIsComment(node){return node.nodeType===COMMENT_NODE$1}function nodeIsFragment(node){return node.nodeType===FRAGMENT_NODE}function createDOMElementFilter(filterNode){return {test:val=>{var _val$constructor2;return (val==null||(_val$constructor2=val.constructor)==null?void 0:_val$constructor2.name)&&testNode(val)},serialize:(node,config3,indentation,depth,refs,printer)=>{if(nodeIsText(node))return printText(node.data,config3);if(nodeIsComment(node))return printComment(node.data,config3);let type3=nodeIsFragment(node)?\"DocumentFragment\":node.tagName.toLowerCase();return ++depth>config3.maxDepth?printElementAsLeaf(type3,config3):printElement(type3,printProps(nodeIsFragment(node)?[]:Array.from(node.attributes).map(attr=>attr.name).sort(),nodeIsFragment(node)?{}:Array.from(node.attributes).reduce((props,attribute)=>(props[attribute.name]=attribute.value,props),{}),config3,indentation+config3.indent,depth,refs,printer),printChildren(Array.prototype.slice.call(node.childNodes||node.children).filter(filterNode),config3,indentation+config3.indent,depth,refs,printer),config3,indentation)}}}var chalk2=null,readFileSync=null,codeFrameColumns=null;try{let nodeRequire=module&&module.require;readFileSync=nodeRequire.call(module,\"fs\").readFileSync,codeFrameColumns=nodeRequire.call(module,\"@babel/code-frame\").codeFrameColumns,chalk2=nodeRequire.call(module,\"chalk\");}catch{}function getCodeFrame(frame){let locationStart=frame.indexOf(\"(\")+1,locationEnd=frame.indexOf(\")\"),frameLocation=frame.slice(locationStart,locationEnd),frameLocationElements=frameLocation.split(\":\"),[filename,line,column]=[frameLocationElements[0],parseInt(frameLocationElements[1],10),parseInt(frameLocationElements[2],10)],rawFileContents=\"\";try{rawFileContents=readFileSync(filename,\"utf-8\");}catch{return \"\"}let codeFrame=codeFrameColumns(rawFileContents,{start:{line,column}},{highlightCode:!0,linesBelow:0});return chalk2.dim(frameLocation)+`\n`+codeFrame+`\n`}function getUserCodeFrame(){if(!readFileSync||!codeFrameColumns)return \"\";let firstClientCodeFrame=new Error().stack.split(`\n`).slice(1).find(frame=>!frame.includes(\"node_modules/\"));return getCodeFrame(firstClientCodeFrame)}var TEXT_NODE=3;function jestFakeTimersAreEnabled(){return typeof jest<\"u\"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,\"clock\"):!1}function getDocument(){if(typeof window>\"u\")throw new Error(\"Could not find default container\");return window.document}function getWindowFromNode(node){if(node.defaultView)return node.defaultView;if(node.ownerDocument&&node.ownerDocument.defaultView)return node.ownerDocument.defaultView;if(node.window)return node.window;throw node.ownerDocument&&node.ownerDocument.defaultView===null?new Error(\"It looks like the window object is not available for the provided node.\"):node.then instanceof Function?new Error(\"It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?\"):Array.isArray(node)?new Error(\"It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?\"):typeof node.debug==\"function\"&&typeof node.logTestingPlaygroundURL==\"function\"?new Error(\"It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?\"):new Error(\"The given node is not an Element, the node type is: \"+typeof node+\".\")}function checkContainerType(container){if(!container||typeof container.querySelector!=\"function\"||typeof container.querySelectorAll!=\"function\")throw new TypeError(\"Expected container to be an Element, a Document or a DocumentFragment but got \"+getTypeName(container)+\".\");function getTypeName(object){return typeof object==\"object\"?object===null?\"null\":object.constructor.name:typeof object}}var shouldHighlight=()=>{let colors;try{var _process;colors=JSON.parse((_process=process)==null||(_process=_process.env)==null?void 0:_process.COLORS);}catch{}return typeof colors==\"boolean\"?colors:typeof process<\"u\"&&process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:DOMCollection3}=prettyFormat.plugins,ELEMENT_NODE=1,COMMENT_NODE=8;function filterCommentsAndDefaultIgnoreTagsTags(value){return value.nodeType!==COMMENT_NODE&&(value.nodeType!==ELEMENT_NODE||!value.matches(getConfig().defaultIgnore))}function prettyDOM(dom,maxLength,options){if(options===void 0&&(options={}),dom||(dom=getDocument().body),typeof maxLength!=\"number\"&&(maxLength=typeof process<\"u\"&&process.env.DEBUG_PRINT_LIMIT||7e3),maxLength===0)return \"\";dom.documentElement&&(dom=dom.documentElement);let domTypeName=typeof dom;if(domTypeName===\"object\"?domTypeName=dom.constructor.name:dom={},!(\"outerHTML\"in dom))throw new TypeError(\"Expected an element or document but got \"+domTypeName);let{filterNode=filterCommentsAndDefaultIgnoreTagsTags,...prettyFormatOptions}=options,debugContent=prettyFormat.format(dom,{plugins:[createDOMElementFilter(filterNode),DOMCollection3],printFunctionName:!1,highlight:shouldHighlight(),...prettyFormatOptions});return maxLength!==void 0&&dom.outerHTML.length>maxLength?debugContent.slice(0,maxLength)+\"...\":debugContent}var logDOM=function(){let userCodeFrame=getUserCodeFrame();console.log(userCodeFrame?prettyDOM(...arguments)+`\n\n`+userCodeFrame:prettyDOM(...arguments));},config2={testIdAttribute:\"data-testid\",asyncUtilTimeout:1e3,asyncWrapper:cb=>cb(),unstable_advanceTimersWrapper:cb=>cb(),eventWrapper:cb=>cb(),defaultHidden:!1,defaultIgnore:\"script, style\",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(message,container){let prettifiedDOM=prettyDOM(container),error=new Error([message,\"Ignored nodes: comments, \"+config2.defaultIgnore+`\n`+prettifiedDOM].filter(Boolean).join(`\n\n`));return error.name=\"TestingLibraryElementError\",error},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function runWithExpensiveErrorDiagnosticsDisabled(callback){try{return config2._disableExpensiveErrorDiagnostics=!0,callback()}finally{config2._disableExpensiveErrorDiagnostics=!1;}}function configure(newConfig){typeof newConfig==\"function\"&&(newConfig=newConfig(config2)),config2={...config2,...newConfig};}function getConfig(){return config2}var labelledNodeNames=[\"button\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\",\"input\"];function getTextContent(node){return labelledNodeNames.includes(node.nodeName.toLowerCase())?\"\":node.nodeType===TEXT_NODE?node.textContent:Array.from(node.childNodes).map(childNode=>getTextContent(childNode)).join(\"\")}function getLabelContent(element){let textContent;return element.tagName.toLowerCase()===\"label\"?textContent=getTextContent(element):textContent=element.value||element.textContent,textContent}function getRealLabels(element){if(element.labels!==void 0){var _labels;return (_labels=element.labels)!=null?_labels:[]}if(!isLabelable(element))return [];let labels=element.ownerDocument.querySelectorAll(\"label\");return Array.from(labels).filter(label=>label.control===element)}function isLabelable(element){return /BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(element.tagName)||element.tagName===\"INPUT\"&&element.getAttribute(\"type\")!==\"hidden\"}function getLabels3(container,element,_temp){let{selector=\"*\"}=_temp===void 0?{}:_temp,ariaLabelledBy=element.getAttribute(\"aria-labelledby\"),labelsId=ariaLabelledBy?ariaLabelledBy.split(\" \"):[];return labelsId.length?labelsId.map(labelId=>{let labellingElement=container.querySelector('[id=\"'+labelId+'\"]');return labellingElement?{content:getLabelContent(labellingElement),formControl:null}:{content:\"\",formControl:null}}):Array.from(getRealLabels(element)).map(label=>{let textToMatch=getLabelContent(label),labelledFormControl=Array.from(label.querySelectorAll(\"button, input, meter, output, progress, select, textarea\")).filter(formControlElement=>formControlElement.matches(selector))[0];return {content:textToMatch,formControl:labelledFormControl}})}function assertNotNullOrUndefined(matcher){if(matcher==null)throw new Error(\"It looks like \"+matcher+\" was passed instead of a matcher. Did you do something like getByText(\"+matcher+\")?\")}function fuzzyMatches(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return typeof matcher==\"string\"||typeof matcher==\"number\"?normalizedText.toLowerCase().includes(matcher.toString().toLowerCase()):typeof matcher==\"function\"?matcher(normalizedText,node):matchRegExp(matcher,normalizedText)}function matches2(textToMatch,node,matcher,normalizer){if(typeof textToMatch!=\"string\")return !1;assertNotNullOrUndefined(matcher);let normalizedText=normalizer(textToMatch);return matcher instanceof Function?matcher(normalizedText,node):matcher instanceof RegExp?matchRegExp(matcher,normalizedText):normalizedText===String(matcher)}function getDefaultNormalizer(_temp){let{trim=!0,collapseWhitespace=!0}=_temp===void 0?{}:_temp;return text=>{let normalizedText=text;return normalizedText=trim?normalizedText.trim():normalizedText,normalizedText=collapseWhitespace?normalizedText.replace(/\\s+/g,\" \"):normalizedText,normalizedText}}function makeNormalizer(_ref){let{trim,collapseWhitespace,normalizer}=_ref;if(!normalizer)return getDefaultNormalizer({trim,collapseWhitespace});if(typeof trim<\"u\"||typeof collapseWhitespace<\"u\")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use \"getDefaultNormalizer({trim, collapseWhitespace})\" and compose that into your normalizer');return normalizer}function matchRegExp(matcher,text){let match=matcher.test(text);return matcher.global&&matcher.lastIndex!==0&&(console.warn(\"To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp.\"),matcher.lastIndex=0),match}function getNodeText(node){return node.matches(\"input[type=submit], input[type=button], input[type=reset]\")?node.value:Array.from(node.childNodes).filter(child=>child.nodeType===TEXT_NODE&&!!child.textContent).map(c=>c.textContent).join(\"\")}var elementRoleList2=buildElementRoleList2(import_aria_query3.elementRoles);function isSubtreeInaccessible(element){return element.hidden===!0||element.getAttribute(\"aria-hidden\")===\"true\"||element.ownerDocument.defaultView.getComputedStyle(element).display===\"none\"}function isInaccessible(element,options){options===void 0&&(options={});let{isSubtreeInaccessible:isSubtreeInaccessibleImpl=isSubtreeInaccessible}=options;if(element.ownerDocument.defaultView.getComputedStyle(element).visibility===\"hidden\")return !0;let currentElement=element;for(;currentElement;){if(isSubtreeInaccessibleImpl(currentElement))return !0;currentElement=currentElement.parentElement;}return !1}function getImplicitAriaRoles2(currentNode){for(let{match,roles:roles3}of elementRoleList2)if(match(currentNode))return [...roles3];return []}function buildElementRoleList2(elementRolesMap){function makeElementSelector(_ref){let{name,attributes}=_ref;return \"\"+name+attributes.map(_ref2=>{let{name:attributeName,value,constraints=[]}=_ref2;return constraints.indexOf(\"undefined\")!==-1?\":not([\"+attributeName+\"])\":value?\"[\"+attributeName+'=\"'+value+'\"]':\"[\"+attributeName+\"]\"}).join(\"\")}function getSelectorSpecificity(_ref3){let{attributes=[]}=_ref3;return attributes.length}function bySelectorSpecificity(_ref4,_ref5){let{specificity:leftSpecificity}=_ref4,{specificity:rightSpecificity}=_ref5;return rightSpecificity-leftSpecificity}function match(element){let{attributes=[]}=element,typeTextIndex=attributes.findIndex(attribute=>attribute.value&&attribute.name===\"type\"&&attribute.value===\"text\");typeTextIndex>=0&&(attributes=[...attributes.slice(0,typeTextIndex),...attributes.slice(typeTextIndex+1)]);let selector=makeElementSelector({...element,attributes});return node=>typeTextIndex>=0&&node.type!==\"text\"?!1:node.matches(selector)}let result=[];for(let[element,roles3]of elementRolesMap.entries())result=[...result,{match:match(element),roles:Array.from(roles3),specificity:getSelectorSpecificity(element)}];return result.sort(bySelectorSpecificity)}function getRoles(container,_temp){let{hidden=!1}=_temp===void 0?{}:_temp;function flattenDOM(node){return [node,...Array.from(node.children).reduce((acc,child)=>[...acc,...flattenDOM(child)],[])]}return flattenDOM(container).filter(element=>hidden===!1?isInaccessible(element)===!1:!0).reduce((acc,node)=>{let roles3=[];return node.hasAttribute(\"role\")?roles3=node.getAttribute(\"role\").split(\" \").slice(0,1):roles3=getImplicitAriaRoles2(node),roles3.reduce((rolesAcc,role)=>Array.isArray(rolesAcc[role])?{...rolesAcc,[role]:[...rolesAcc[role],node]}:{...rolesAcc,[role]:[node]},acc)},{})}function prettyRoles(dom,_ref6){let{hidden,includeDescription}=_ref6,roles3=getRoles(dom,{hidden});return Object.entries(roles3).filter(_ref7=>{let[role]=_ref7;return role!==\"generic\"}).map(_ref8=>{let[role,elements]=_ref8,delimiterBar=\"-\".repeat(50),elementsString=elements.map(el=>{let nameString='Name \"'+computeAccessibleName2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`,domString=prettyDOM(el.cloneNode(!1));if(includeDescription){let descriptionString='Description \"'+computeAccessibleDescription2(el,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})+`\":\n`;return \"\"+nameString+descriptionString+domString}return \"\"+nameString+domString}).join(`\n\n`);return role+`:\n\n`+elementsString+`\n\n`+delimiterBar}).join(`\n`)}var logRoles=function(dom,_temp2){let{hidden=!1}=_temp2===void 0?{}:_temp2;return console.log(prettyRoles(dom,{hidden}))};function computeAriaSelected(element){return element.tagName===\"OPTION\"?element.selected:checkBooleanAttribute(element,\"aria-selected\")}function computeAriaBusy(element){return element.getAttribute(\"aria-busy\")===\"true\"}function computeAriaChecked(element){if(!(\"indeterminate\"in element&&element.indeterminate))return \"checked\"in element?element.checked:checkBooleanAttribute(element,\"aria-checked\")}function computeAriaPressed(element){return checkBooleanAttribute(element,\"aria-pressed\")}function computeAriaCurrent(element){var _ref9,_checkBooleanAttribut;return (_ref9=(_checkBooleanAttribut=checkBooleanAttribute(element,\"aria-current\"))!=null?_checkBooleanAttribut:element.getAttribute(\"aria-current\"))!=null?_ref9:!1}function computeAriaExpanded(element){return checkBooleanAttribute(element,\"aria-expanded\")}function checkBooleanAttribute(element,attribute){let attributeValue=element.getAttribute(attribute);if(attributeValue===\"true\")return !0;if(attributeValue===\"false\")return !1}function computeHeadingLevel(element){let implicitHeadingLevels={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return element.getAttribute(\"aria-level\")&&Number(element.getAttribute(\"aria-level\"))||implicitHeadingLevels[element.tagName]}function computeAriaValueNow(element){let valueNow=element.getAttribute(\"aria-valuenow\");return valueNow===null?void 0:+valueNow}function computeAriaValueMax(element){let valueMax=element.getAttribute(\"aria-valuemax\");return valueMax===null?void 0:+valueMax}function computeAriaValueMin(element){let valueMin=element.getAttribute(\"aria-valuemin\");return valueMin===null?void 0:+valueMin}function computeAriaValueText(element){let valueText=element.getAttribute(\"aria-valuetext\");return valueText===null?void 0:valueText}var normalize2=getDefaultNormalizer();function escapeRegExp(string2){return string2.replace(/[.*+\\-?^${}()|[\\]\\\\]/g,\"\\\\$&\")}function getRegExpMatcher(string2){return new RegExp(escapeRegExp(string2.toLowerCase()),\"i\")}function makeSuggestion(queryName,element,content,_ref){let{variant,name}=_ref,warning=\"\",queryOptions={},queryArgs=[[\"Role\",\"TestId\"].includes(queryName)?content:getRegExpMatcher(content)];name&&(queryOptions.name=getRegExpMatcher(name)),queryName===\"Role\"&&isInaccessible(element)&&(queryOptions.hidden=!0,warning=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n `),Object.keys(queryOptions).length>0&&queryArgs.push(queryOptions);let queryMethod=variant+\"By\"+queryName;return {queryName,queryMethod,queryArgs,variant,warning,toString(){warning&&console.warn(warning);let[text,options]=queryArgs;return text=typeof text==\"string\"?\"'\"+text+\"'\":text,options=options?\", { \"+Object.entries(options).map(_ref2=>{let[k,v2]=_ref2;return k+\": \"+v2}).join(\", \")+\" }\":\"\",queryMethod+\"(\"+text+options+\")\"}}}function canSuggest(currentMethod,requestedMethod,data){return data&&(!requestedMethod||requestedMethod.toLowerCase()===currentMethod.toLowerCase())}function getSuggestedQuery(element,variant,method){var _element$getAttribute,_getImplicitAriaRoles;if(variant===void 0&&(variant=\"get\"),element.matches(getConfig().defaultIgnore))return;let role=(_element$getAttribute=element.getAttribute(\"role\"))!=null?_element$getAttribute:(_getImplicitAriaRoles=getImplicitAriaRoles2(element))==null?void 0:_getImplicitAriaRoles[0];if(role!==\"generic\"&&canSuggest(\"Role\",method,role))return makeSuggestion(\"Role\",element,role,{variant,name:computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements})});let labelText=getLabels3(document,element).map(label=>label.content).join(\" \");if(canSuggest(\"LabelText\",method,labelText))return makeSuggestion(\"LabelText\",element,labelText,{variant});let placeholderText=element.getAttribute(\"placeholder\");if(canSuggest(\"PlaceholderText\",method,placeholderText))return makeSuggestion(\"PlaceholderText\",element,placeholderText,{variant});let textContent=normalize2(getNodeText(element));if(canSuggest(\"Text\",method,textContent))return makeSuggestion(\"Text\",element,textContent,{variant});if(canSuggest(\"DisplayValue\",method,element.value))return makeSuggestion(\"DisplayValue\",element,normalize2(element.value),{variant});let alt=element.getAttribute(\"alt\");if(canSuggest(\"AltText\",method,alt))return makeSuggestion(\"AltText\",element,alt,{variant});let title=element.getAttribute(\"title\");if(canSuggest(\"Title\",method,title))return makeSuggestion(\"Title\",element,title,{variant});let testId=element.getAttribute(getConfig().testIdAttribute);if(canSuggest(\"TestId\",method,testId))return makeSuggestion(\"TestId\",element,testId,{variant})}function copyStackTrace(target,source){target.stack=source.stack.replace(source.message,target.message);}function waitFor(callback,_ref){let{container=getDocument(),timeout=getConfig().asyncUtilTimeout,showOriginalStackTrace=getConfig().showOriginalStackTrace,stackTraceError,interval=50,onTimeout=error=>(Object.defineProperty(error,\"message\",{value:getConfig().getElementError(error.message,container).message}),error),mutationObserverOptions={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=_ref;if(typeof callback!=\"function\")throw new TypeError(\"Received `callback` arg must be a function\");return new Promise(async(resolve,reject)=>{let lastError,intervalId,observer,finished=!1,promiseStatus=\"idle\",overallTimeoutTimer=setTimeout(handleTimeout,timeout),usingJestFakeTimers=jestFakeTimersAreEnabled();if(usingJestFakeTimers){let{unstable_advanceTimersWrapper:advanceTimersWrapper}=getConfig();for(checkCallback();!finished;){if(!jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error);return}if(await advanceTimersWrapper(async()=>{jest.advanceTimersByTime(interval);}),finished)break;checkCallback();}}else {try{checkContainerType(container);}catch(e){reject(e);return}intervalId=setInterval(checkRealTimersCallback,interval);let{MutationObserver}=getWindowFromNode(container);observer=new MutationObserver(checkRealTimersCallback),observer.observe(container,mutationObserverOptions),checkCallback();}function onDone(error,result){finished=!0,clearTimeout(overallTimeoutTimer),usingJestFakeTimers||(clearInterval(intervalId),observer.disconnect()),error?reject(error):resolve(result);}function checkRealTimersCallback(){if(jestFakeTimersAreEnabled()){let error=new Error(\"Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830\");return showOriginalStackTrace||copyStackTrace(error,stackTraceError),reject(error)}else return checkCallback()}function checkCallback(){if(promiseStatus!==\"pending\")try{let result=runWithExpensiveErrorDiagnosticsDisabled(callback);typeof result?.then==\"function\"?(promiseStatus=\"pending\",result.then(resolvedValue=>{promiseStatus=\"resolved\",onDone(null,resolvedValue);},rejectedValue=>{promiseStatus=\"rejected\",lastError=rejectedValue;})):onDone(null,result);}catch(error){lastError=error;}}function handleTimeout(){let error;lastError?(error=lastError,!showOriginalStackTrace&&error.name===\"TestingLibraryElementError\"&©StackTrace(error,stackTraceError)):(error=new Error(\"Timed out in waitFor.\"),showOriginalStackTrace||copyStackTrace(error,stackTraceError)),onDone(onTimeout(error),null);}})}function waitForWrapper(callback,options){let stackTraceError=new Error(\"STACK_TRACE_MESSAGE\");return getConfig().asyncWrapper(()=>waitFor(callback,{stackTraceError,...options}))}function getElementError(message,container){return getConfig().getElementError(message,container)}function getMultipleElementsFoundError(message,container){return getElementError(message+\"\\n\\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).\",container)}function queryAllByAttribute(attribute,container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[\"+attribute+\"]\")).filter(node=>matcher(node.getAttribute(attribute),node,text,matchNormalizer))}function queryByAttribute(attribute,container,text,options){let els=queryAllByAttribute(attribute,container,text,options);if(els.length>1)throw getMultipleElementsFoundError(\"Found multiple elements by [\"+attribute+\"=\"+text+\"]\",container);return els[0]||null}function makeSingleQuery(allQuery,getMultipleError2){return function(container){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];let els=allQuery(container,...args);if(els.length>1){let elementStrings=els.map(element=>getElementError(null,element).message).join(`\n\n`);throw getMultipleElementsFoundError(getMultipleError2(container,...args)+`\n\nHere are the matching elements:\n\n`+elementStrings,container)}return els[0]||null}}function getSuggestionError(suggestion,container){return getConfig().getElementError(`A better query is available, try this:\n`+suggestion.toString()+`\n`,container)}function makeGetAllQuery(allQuery,getMissingError2){return function(container){for(var _len2=arguments.length,args=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)args[_key2-1]=arguments[_key2];let els=allQuery(container,...args);if(!els.length)throw getConfig().getElementError(getMissingError2(container,...args),container);return els}}function makeFindQuery(getter){return (container,text,options,waitForOptions)=>waitForWrapper(()=>getter(container,text,options),{container,...waitForOptions})}var wrapSingleQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len3=arguments.length,args=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)args[_key3-1]=arguments[_key3];let element=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(element&&suggest){let suggestion=getSuggestedQuery(element,variant);if(suggestion&&!queryAllByName.endsWith(suggestion.queryName))throw getSuggestionError(suggestion.toString(),container)}return element},wrapAllByQueryWithSuggestion=(query,queryAllByName,variant)=>function(container){for(var _len4=arguments.length,args=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)args[_key4-1]=arguments[_key4];let els=query(container,...args),[{suggest=getConfig().throwSuggestions}={}]=args.slice(-1);if(els.length&&suggest){let uniqueSuggestionMessages=[...new Set(els.map(element=>{var _getSuggestedQuery;return (_getSuggestedQuery=getSuggestedQuery(element,variant))==null?void 0:_getSuggestedQuery.toString()}))];if(uniqueSuggestionMessages.length===1&&!queryAllByName.endsWith(getSuggestedQuery(els[0],variant).queryName))throw getSuggestionError(uniqueSuggestionMessages[0],container)}return els};function buildQueries(queryAllBy,getMultipleError2,getMissingError2){let queryBy=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllBy,getMultipleError2),queryAllBy.name,\"query\"),getAllBy=makeGetAllQuery(queryAllBy,getMissingError2),getBy=makeSingleQuery(getAllBy,getMultipleError2),getByWithSuggestions=wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"get\"),getAllWithSuggestions=wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name.replace(\"query\",\"get\"),\"getAll\"),findAllBy=makeFindQuery(wrapAllByQueryWithSuggestion(getAllBy,queryAllBy.name,\"findAll\")),findBy=makeFindQuery(wrapSingleQueryWithSuggestion(getBy,queryAllBy.name,\"find\"));return [queryBy,getAllWithSuggestions,getByWithSuggestions,findAllBy,findBy]}var queryHelpers=Object.freeze({__proto__:null,getElementError,wrapAllByQueryWithSuggestion,wrapSingleQueryWithSuggestion,getMultipleElementsFoundError,queryAllByAttribute,queryByAttribute,makeSingleQuery,makeGetAllQuery,makeFindQuery,buildQueries});function queryAllLabels(container){return Array.from(container.querySelectorAll(\"label,input\")).map(node=>({node,textToMatch:getLabelContent(node)})).filter(_ref=>{let{textToMatch}=_ref;return textToMatch!==null})}var queryAllLabelsByText=function(container,text,_temp){let{exact=!0,trim,collapseWhitespace,normalizer}=_temp===void 0?{}:_temp,matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return queryAllLabels(container).filter(_ref2=>{let{node,textToMatch}=_ref2;return matcher(textToMatch,node,text,matchNormalizer)}).map(_ref3=>{let{node}=_ref3;return node})},queryAllByLabelText=function(container,text,_temp2){let{selector=\"*\",exact=!0,collapseWhitespace,trim,normalizer}=_temp2===void 0?{}:_temp2;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),matchingLabelledElements=Array.from(container.querySelectorAll(\"*\")).filter(element=>getRealLabels(element).length||element.hasAttribute(\"aria-labelledby\")).reduce((labelledElements,labelledElement)=>{let labelList=getLabels3(container,labelledElement,{selector});labelList.filter(label=>!!label.formControl).forEach(label=>{matcher(label.content,label.formControl,text,matchNormalizer)&&label.formControl&&labelledElements.push(label.formControl);});let labelsValue=labelList.filter(label=>!!label.content).map(label=>label.content);return matcher(labelsValue.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement),labelsValue.length>1&&labelsValue.forEach((labelValue,index)=>{matcher(labelValue,labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);let labelsFiltered=[...labelsValue];labelsFiltered.splice(index,1),labelsFiltered.length>1&&matcher(labelsFiltered.join(\" \"),labelledElement,text,matchNormalizer)&&labelledElements.push(labelledElement);}),labelledElements},[]).concat(queryAllByAttribute(\"aria-label\",container,text,{exact,normalizer:matchNormalizer}));return Array.from(new Set(matchingLabelledElements)).filter(element=>element.matches(selector))},getAllByLabelText=function(container,text){for(var _len=arguments.length,rest=new Array(_len>2?_len-2:0),_key=2;_key<_len;_key++)rest[_key-2]=arguments[_key];let els=queryAllByLabelText(container,text,...rest);if(!els.length){let labels=queryAllLabelsByText(container,text,...rest);if(labels.length){let tagNames=labels.map(label=>getTagNameOfElementAssociatedWithLabelViaFor(container,label)).filter(tagName=>!!tagName);throw tagNames.length?getConfig().getElementError(tagNames.map(tagName=>\"Found a label with the text of: \"+text+\", however the element associated with this label (<\"+tagName+\" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <\"+tagName+\" />, you can use aria-label or aria-labelledby instead.\").join(`\n\n`),container):getConfig().getElementError(\"Found a label with the text of: \"+text+`, however no form control was found associated to that label. Make sure you're using the \"for\" attribute or \"aria-labelledby\" attribute correctly.`,container)}else throw getConfig().getElementError(\"Unable to find a label with the text of: \"+text,container)}return els};function getTagNameOfElementAssociatedWithLabelViaFor(container,label){let htmlFor=label.getAttribute(\"for\");if(!htmlFor)return null;let element=container.querySelector('[id=\"'+htmlFor+'\"]');return element?element.tagName.toLowerCase():null}var getMultipleError$7=(c,text)=>\"Found multiple elements with the text of: \"+text,queryByLabelText=wrapSingleQueryWithSuggestion(makeSingleQuery(queryAllByLabelText,getMultipleError$7),queryAllByLabelText.name,\"query\"),getByLabelText=makeSingleQuery(getAllByLabelText,getMultipleError$7),findAllByLabelText=makeFindQuery(wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"findAll\")),findByLabelText=makeFindQuery(wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"find\")),getAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(getAllByLabelText,getAllByLabelText.name,\"getAll\"),getByLabelTextWithSuggestions=wrapSingleQueryWithSuggestion(getByLabelText,getAllByLabelText.name,\"get\"),queryAllByLabelTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByLabelText,queryAllByLabelText.name,\"queryAll\"),queryAllByPlaceholderText=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(\"placeholder\",...args)},getMultipleError$6=(c,text)=>\"Found multiple elements with the placeholder text of: \"+text,getMissingError$6=(c,text)=>\"Unable to find an element with the placeholder text of: \"+text,queryAllByPlaceholderTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByPlaceholderText,queryAllByPlaceholderText.name,\"queryAll\"),[queryByPlaceholderText,getAllByPlaceholderText,getByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText]=buildQueries(queryAllByPlaceholderText,getMultipleError$6,getMissingError$6),queryAllByText=function(container,text,_temp){let{selector=\"*\",exact=!0,collapseWhitespace,trim,ignore=getConfig().defaultIgnore,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer}),baseArray=[];return typeof container.matches==\"function\"&&container.matches(selector)&&(baseArray=[container]),[...baseArray,...Array.from(container.querySelectorAll(selector))].filter(node=>!ignore||!node.matches(ignore)).filter(node=>matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$5=(c,text)=>\"Found multiple elements with the text: \"+text,getMissingError$5=function(c,text,options){options===void 0&&(options={});let{collapseWhitespace,trim,normalizer,selector}=options,normalizedText=makeNormalizer({collapseWhitespace,trim,normalizer})(text.toString()),isNormalizedDifferent=normalizedText!==text.toString(),isCustomSelector=(selector??\"*\")!==\"*\";return \"Unable to find an element with the text: \"+(isNormalizedDifferent?normalizedText+\" (normalized from '\"+text+\"')\":text)+(isCustomSelector?\", which matches selector '\"+selector+\"'\":\"\")+\". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible.\"},queryAllByTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByText,queryAllByText.name,\"queryAll\"),[queryByText,getAllByText,getByText,findAllByText,findByText]=buildQueries(queryAllByText,getMultipleError$5,getMissingError$5),queryAllByDisplayValue=function(container,value,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"input,textarea,select\")).filter(node=>node.tagName===\"SELECT\"?Array.from(node.options).filter(option=>option.selected).some(optionNode=>matcher(getNodeText(optionNode),optionNode,value,matchNormalizer)):matcher(node.value,node,value,matchNormalizer))},getMultipleError$4=(c,value)=>\"Found multiple elements with the display value: \"+value+\".\",getMissingError$4=(c,value)=>\"Unable to find an element with the display value: \"+value+\".\",queryAllByDisplayValueWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByDisplayValue,queryAllByDisplayValue.name,\"queryAll\"),[queryByDisplayValue,getAllByDisplayValue,getByDisplayValue,findAllByDisplayValue,findByDisplayValue]=buildQueries(queryAllByDisplayValue,getMultipleError$4,getMissingError$4),VALID_TAG_REGEXP=/^(img|input|area|.+-.+)$/i,queryAllByAltText=function(container,alt,options){return options===void 0&&(options={}),checkContainerType(container),queryAllByAttribute(\"alt\",container,alt,options).filter(node=>VALID_TAG_REGEXP.test(node.tagName))},getMultipleError$3=(c,alt)=>\"Found multiple elements with the alt text: \"+alt,getMissingError$3=(c,alt)=>\"Unable to find an element with the alt text: \"+alt,queryAllByAltTextWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByAltText,queryAllByAltText.name,\"queryAll\"),[queryByAltText,getAllByAltText,getByAltText,findAllByAltText,findByAltText]=buildQueries(queryAllByAltText,getMultipleError$3,getMissingError$3),isSvgTitle=node=>{var _node$parentElement;return node.tagName.toLowerCase()===\"title\"&&((_node$parentElement=node.parentElement)==null?void 0:_node$parentElement.tagName.toLowerCase())===\"svg\"},queryAllByTitle=function(container,text,_temp){let{exact=!0,collapseWhitespace,trim,normalizer}=_temp===void 0?{}:_temp;checkContainerType(container);let matcher=exact?matches2:fuzzyMatches,matchNormalizer=makeNormalizer({collapseWhitespace,trim,normalizer});return Array.from(container.querySelectorAll(\"[title], svg > title\")).filter(node=>matcher(node.getAttribute(\"title\"),node,text,matchNormalizer)||isSvgTitle(node)&&matcher(getNodeText(node),node,text,matchNormalizer))},getMultipleError$2=(c,title)=>\"Found multiple elements with the title: \"+title+\".\",getMissingError$2=(c,title)=>\"Unable to find an element with the title: \"+title+\".\",queryAllByTitleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTitle,queryAllByTitle.name,\"queryAll\"),[queryByTitle,getAllByTitle,getByTitle,findAllByTitle,findByTitle]=buildQueries(queryAllByTitle,getMultipleError$2,getMissingError$2),queryAllByRole=function(container,role,_temp){let{hidden=getConfig().defaultHidden,name,description,queryFallbacks=!1,selected,busy,checked,pressed,current,level,expanded,value:{now:valueNow,min:valueMin,max:valueMax,text:valueText}={}}=_temp===void 0?{}:_temp;if(checkContainerType(container),selected!==void 0){var _allRoles$get;if(((_allRoles$get=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get.props[\"aria-selected\"])===void 0)throw new Error('\"aria-selected\" is not supported on role \"'+role+'\".')}if(busy!==void 0){var _allRoles$get2;if(((_allRoles$get2=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get2.props[\"aria-busy\"])===void 0)throw new Error('\"aria-busy\" is not supported on role \"'+role+'\".')}if(checked!==void 0){var _allRoles$get3;if(((_allRoles$get3=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get3.props[\"aria-checked\"])===void 0)throw new Error('\"aria-checked\" is not supported on role \"'+role+'\".')}if(pressed!==void 0){var _allRoles$get4;if(((_allRoles$get4=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get4.props[\"aria-pressed\"])===void 0)throw new Error('\"aria-pressed\" is not supported on role \"'+role+'\".')}if(current!==void 0){var _allRoles$get5;if(((_allRoles$get5=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get5.props[\"aria-current\"])===void 0)throw new Error('\"aria-current\" is not supported on role \"'+role+'\".')}if(level!==void 0&&role!==\"heading\")throw new Error('Role \"'+role+'\" cannot have \"level\" property.');if(valueNow!==void 0){var _allRoles$get6;if(((_allRoles$get6=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get6.props[\"aria-valuenow\"])===void 0)throw new Error('\"aria-valuenow\" is not supported on role \"'+role+'\".')}if(valueMax!==void 0){var _allRoles$get7;if(((_allRoles$get7=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get7.props[\"aria-valuemax\"])===void 0)throw new Error('\"aria-valuemax\" is not supported on role \"'+role+'\".')}if(valueMin!==void 0){var _allRoles$get8;if(((_allRoles$get8=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get8.props[\"aria-valuemin\"])===void 0)throw new Error('\"aria-valuemin\" is not supported on role \"'+role+'\".')}if(valueText!==void 0){var _allRoles$get9;if(((_allRoles$get9=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get9.props[\"aria-valuetext\"])===void 0)throw new Error('\"aria-valuetext\" is not supported on role \"'+role+'\".')}if(expanded!==void 0){var _allRoles$get10;if(((_allRoles$get10=import_aria_query3.roles.get(role))==null?void 0:_allRoles$get10.props[\"aria-expanded\"])===void 0)throw new Error('\"aria-expanded\" is not supported on role \"'+role+'\".')}let subtreeIsInaccessibleCache=new WeakMap;function cachedIsSubtreeInaccessible(element){return subtreeIsInaccessibleCache.has(element)||subtreeIsInaccessibleCache.set(element,isSubtreeInaccessible(element)),subtreeIsInaccessibleCache.get(element)}return Array.from(container.querySelectorAll(makeRoleSelector(role))).filter(node=>{if(node.hasAttribute(\"role\")){let roleValue=node.getAttribute(\"role\");if(queryFallbacks)return roleValue.split(\" \").filter(Boolean).some(roleAttributeToken=>roleAttributeToken===role);let[firstRoleAttributeToken]=roleValue.split(\" \");return firstRoleAttributeToken===role}return getImplicitAriaRoles2(node).some(implicitRole=>implicitRole===role)}).filter(element=>{if(selected!==void 0)return selected===computeAriaSelected(element);if(busy!==void 0)return busy===computeAriaBusy(element);if(checked!==void 0)return checked===computeAriaChecked(element);if(pressed!==void 0)return pressed===computeAriaPressed(element);if(current!==void 0)return current===computeAriaCurrent(element);if(expanded!==void 0)return expanded===computeAriaExpanded(element);if(level!==void 0)return level===computeHeadingLevel(element);if(valueNow!==void 0||valueMax!==void 0||valueMin!==void 0||valueText!==void 0){let valueMatches=!0;if(valueNow!==void 0&&valueMatches&&(valueMatches=valueNow===computeAriaValueNow(element)),valueMax!==void 0&&valueMatches&&(valueMatches=valueMax===computeAriaValueMax(element)),valueMin!==void 0&&valueMatches&&(valueMatches=valueMin===computeAriaValueMin(element)),valueText!==void 0){var _computeAriaValueText;valueMatches&&(valueMatches=matches2((_computeAriaValueText=computeAriaValueText(element))!=null?_computeAriaValueText:null,element,valueText,text=>text));}return valueMatches}return !0}).filter(element=>name===void 0?!0:matches2(computeAccessibleName2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,name,text=>text)).filter(element=>description===void 0?!0:matches2(computeAccessibleDescription2(element,{computedStyleSupportsPseudoElements:getConfig().computedStyleSupportsPseudoElements}),element,description,text=>text)).filter(element=>hidden===!1?isInaccessible(element,{isSubtreeInaccessible:cachedIsSubtreeInaccessible})===!1:!0)};function makeRoleSelector(role){var _roleElements$get;let explicitRoleSelector='*[role~=\"'+role+'\"]',roleRelations=(_roleElements$get=import_aria_query3.roleElements.get(role))!=null?_roleElements$get:new Set,implicitRoleSelectors=new Set(Array.from(roleRelations).map(_ref=>{let{name}=_ref;return name}));return [explicitRoleSelector].concat(Array.from(implicitRoleSelectors)).join(\",\")}var getNameHint=name=>{let nameHint=\"\";return name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\",nameHint},getMultipleError$1=function(c,role,_temp2){let{name}=_temp2===void 0?{}:_temp2;return 'Found multiple elements with the role \"'+role+'\"'+getNameHint(name)},getMissingError$1=function(container,role,_temp3){let{hidden=getConfig().defaultHidden,name,description}=_temp3===void 0?{}:_temp3;if(getConfig()._disableExpensiveErrorDiagnostics)return 'Unable to find role=\"'+role+'\"'+getNameHint(name);let roles3=\"\";Array.from(container.children).forEach(childElement=>{roles3+=prettyRoles(childElement,{hidden,includeDescription:description!==void 0});});let roleMessage;roles3.length===0?hidden===!1?roleMessage=\"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole\":roleMessage=\"There are no available roles.\":roleMessage=(`\nHere are the `+(hidden===!1?\"accessible\":\"available\")+` roles:\n\n `+roles3.replace(/\\n/g,`\n `).replace(/\\n\\s\\s\\n/g,`\n\n`)+`\n`).trim();let nameHint=\"\";name===void 0?nameHint=\"\":typeof name==\"string\"?nameHint=' and name \"'+name+'\"':nameHint=\" and name `\"+name+\"`\";let descriptionHint=\"\";return description===void 0?descriptionHint=\"\":typeof description==\"string\"?descriptionHint=' and description \"'+description+'\"':descriptionHint=\" and description `\"+description+\"`\",(`\nUnable to find an `+(hidden===!1?\"accessible \":\"\")+'element with the role \"'+role+'\"'+nameHint+descriptionHint+`\n\n`+roleMessage).trim()},queryAllByRoleWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByRole,queryAllByRole.name,\"queryAll\"),[queryByRole,getAllByRole,getByRole,findAllByRole,findByRole]=buildQueries(queryAllByRole,getMultipleError$1,getMissingError$1),getTestIdAttribute=()=>getConfig().testIdAttribute,queryAllByTestId=function(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return checkContainerType(args[0]),queryAllByAttribute(getTestIdAttribute(),...args)},getMultipleError=(c,id)=>\"Found multiple elements by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',getMissingError=(c,id)=>\"Unable to find an element by: [\"+getTestIdAttribute()+'=\"'+id+'\"]',queryAllByTestIdWithSuggestions=wrapAllByQueryWithSuggestion(queryAllByTestId,queryAllByTestId.name,\"queryAll\"),[queryByTestId,getAllByTestId,getByTestId,findAllByTestId,findByTestId]=buildQueries(queryAllByTestId,getMultipleError,getMissingError),queries=Object.freeze({__proto__:null,queryAllByLabelText:queryAllByLabelTextWithSuggestions,queryByLabelText,getAllByLabelText:getAllByLabelTextWithSuggestions,getByLabelText:getByLabelTextWithSuggestions,findAllByLabelText,findByLabelText,queryByPlaceholderText,queryAllByPlaceholderText:queryAllByPlaceholderTextWithSuggestions,getByPlaceholderText,getAllByPlaceholderText,findAllByPlaceholderText,findByPlaceholderText,queryByText,queryAllByText:queryAllByTextWithSuggestions,getByText,getAllByText,findAllByText,findByText,queryByDisplayValue,queryAllByDisplayValue:queryAllByDisplayValueWithSuggestions,getByDisplayValue,getAllByDisplayValue,findAllByDisplayValue,findByDisplayValue,queryByAltText,queryAllByAltText:queryAllByAltTextWithSuggestions,getByAltText,getAllByAltText,findAllByAltText,findByAltText,queryByTitle,queryAllByTitle:queryAllByTitleWithSuggestions,getByTitle,getAllByTitle,findAllByTitle,findByTitle,queryByRole,queryAllByRole:queryAllByRoleWithSuggestions,getAllByRole,getByRole,findAllByRole,findByRole,queryByTestId,queryAllByTestId:queryAllByTestIdWithSuggestions,getByTestId,getAllByTestId,findAllByTestId,findByTestId});function getQueriesForElement(element,queries$1,initialValue2){return queries$1===void 0&&(queries$1=queries),initialValue2===void 0&&(initialValue2={}),Object.keys(queries$1).reduce((helpers,key)=>{let fn2=queries$1[key];return helpers[key]=fn2.bind(null,element),helpers},initialValue2)}var isRemoved=result=>!result||Array.isArray(result)&&!result.length;function initialCheck(elements){if(isRemoved(elements))throw new Error(\"The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.\")}async function waitForElementToBeRemoved(callback,options){let timeoutError=new Error(\"Timed out in waitForElementToBeRemoved.\");if(typeof callback!=\"function\"){initialCheck(callback);let getRemainingElements=(Array.isArray(callback)?callback:[callback]).map(element=>{let parent=element.parentElement;if(parent===null)return ()=>null;for(;parent.parentElement;)parent=parent.parentElement;return ()=>parent.contains(element)?element:null});callback=()=>getRemainingElements.map(c=>c()).filter(Boolean);}return initialCheck(callback()),waitForWrapper(()=>{let result;try{result=callback();}catch(error){if(error.name===\"TestingLibraryElementError\")return;throw error}if(!isRemoved(result))throw timeoutError},options)}var eventMap={copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:\"CompositionEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:\"FocusEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:\"FocusEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:\"DragEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:\"TouchEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:\"UIEvent\",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:\"WheelEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:\"ProgressEvent\",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:\"AnimationEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:\"TransitionEvent\",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:\"PopStateEvent\",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:\"Event\",defaultInit:{bubbles:!1,cancelable:!1}}},eventAliasMap={doubleClick:\"dblClick\"};function fireEvent(element,event){return getConfig().eventWrapper(()=>{if(!event)throw new Error(\"Unable to fire an event - please provide an event object.\");if(!element)throw new Error('Unable to fire a \"'+event.type+'\" event - please provide a DOM element.');return element.dispatchEvent(event)})}function createEvent(eventName,node,init,_temp){let{EventType=\"Event\",defaultInit={}}=_temp===void 0?{}:_temp;if(!node)throw new Error('Unable to fire a \"'+eventName+'\" event - please provide a DOM element.');let eventInit={...defaultInit,...init},{target:{value,files,...targetProperties}={}}=eventInit;value!==void 0&&setNativeValue(node,value),files!==void 0&&Object.defineProperty(node,\"files\",{configurable:!0,enumerable:!0,writable:!0,value:files}),Object.assign(node,targetProperties);let window2=getWindowFromNode(node),EventConstructor=window2[EventType]||window2.Event,event;if(typeof EventConstructor==\"function\")event=new EventConstructor(eventName,eventInit);else {event=window2.document.createEvent(EventType);let{bubbles,cancelable,detail,...otherInit}=eventInit;event.initEvent(eventName,bubbles,cancelable,detail),Object.keys(otherInit).forEach(eventKey=>{event[eventKey]=otherInit[eventKey];});}return [\"dataTransfer\",\"clipboardData\"].forEach(dataTransferKey=>{let dataTransferValue=eventInit[dataTransferKey];typeof dataTransferValue==\"object\"&&(typeof window2.DataTransfer==\"function\"?Object.defineProperty(event,dataTransferKey,{value:Object.getOwnPropertyNames(dataTransferValue).reduce((acc,propName)=>(Object.defineProperty(acc,propName,{value:dataTransferValue[propName]}),acc),new window2.DataTransfer)}):Object.defineProperty(event,dataTransferKey,{value:dataTransferValue}));}),event}Object.keys(eventMap).forEach(key=>{let{EventType,defaultInit}=eventMap[key],eventName=key.toLowerCase();createEvent[key]=(node,init)=>createEvent(eventName,node,init,{EventType,defaultInit}),fireEvent[key]=(node,init)=>fireEvent(node,createEvent[key](node,init));});function setNativeValue(element,value){let{set:valueSetter}=Object.getOwnPropertyDescriptor(element,\"value\")||{},prototype=Object.getPrototypeOf(element),{set:prototypeValueSetter}=Object.getOwnPropertyDescriptor(prototype,\"value\")||{};if(prototypeValueSetter&&valueSetter!==prototypeValueSetter)prototypeValueSetter.call(element,value);else if(valueSetter)valueSetter.call(element,value);else throw new Error(\"The given element does not have a value setter\")}Object.keys(eventAliasMap).forEach(aliasKey=>{let key=eventAliasMap[aliasKey];fireEvent[aliasKey]=function(){return fireEvent[key](...arguments)};});function unindent(string2){return string2.replace(/[ \\t]*[\\n][ \\t]*/g,`\n`)}function encode(value){return import_lz_string.default.compressToEncodedURIComponent(unindent(value))}function getPlaygroundUrl(markup){return \"https://testing-playground.com/#markup=\"+encode(markup)}var debug=(element,maxLength,options)=>Array.isArray(element)?element.forEach(el=>logDOM(el,maxLength,options)):logDOM(element,maxLength,options),logTestingPlaygroundURL=function(element){if(element===void 0&&(element=getDocument().body),!element||!(\"innerHTML\"in element)){console.log(\"The element you're providing isn't a valid DOM element.\");return}if(!element.innerHTML){console.log(\"The provided element doesn't have any children.\");return}let playgroundUrl=getPlaygroundUrl(element.innerHTML);return console.log(`Open this URL in your browser\n\n`+playgroundUrl),playgroundUrl},initialValue={debug,logTestingPlaygroundURL},screen=typeof document<\"u\"&&document.body?getQueriesForElement(document.body,queries,initialValue):Object.keys(queries).reduce((helpers,key)=>(helpers[key]=()=>{throw new TypeError(\"For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error\")},helpers),initialValue);function isElementType(element,tag,props){return element.namespaceURI&&element.namespaceURI!==\"http://www.w3.org/1999/xhtml\"||(tag=Array.isArray(tag)?tag:[tag],!tag.includes(element.tagName.toLowerCase()))?!1:props?Object.entries(props).every(([k,v2])=>element[k]===v2):!0}var clickableInputTypes;(function(clickableInputTypes2){clickableInputTypes2.button=\"button\",clickableInputTypes2.color=\"color\",clickableInputTypes2.file=\"file\",clickableInputTypes2.image=\"image\",clickableInputTypes2.reset=\"reset\",clickableInputTypes2.submit=\"submit\",clickableInputTypes2.checkbox=\"checkbox\",clickableInputTypes2.radio=\"radio\";})(clickableInputTypes||(clickableInputTypes={}));function isClickableInput(element){return isElementType(element,\"button\")||isElementType(element,\"input\")&&element.type in clickableInputTypes}function getWindow(node){var _node_ownerDocument;if(isDocument(node)&&node.defaultView)return node.defaultView;if(!((_node_ownerDocument=node.ownerDocument)===null||_node_ownerDocument===void 0)&&_node_ownerDocument.defaultView)return node.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${describe(node)}`)}function isDocument(node){return node.nodeType===9}function describe(val){return typeof val==\"function\"?`function ${val.name}`:val===null?\"null\":String(val)}function readBlobText(blob,FileReader){return new Promise((res,rej)=>{let fr=new FileReader;fr.onerror=rej,fr.onabort=rej,fr.onload=()=>{res(String(fr.result));},fr.readAsText(blob);})}function createFileList(window2,files){let list={...files,length:files.length,item:index=>list[index],[Symbol.iterator]:function*(){for(let i=0;iexact?item.type===(isGroup?group:type3):isGroup?item.type.startsWith(`${group}/`):item.type===group}function createDataTransferStub(window2){return new class{getData(format4){var _this_items_find;let match=(_this_items_find=this.items.find(getTypeMatcher(format4,!0)))!==null&&_this_items_find!==void 0?_this_items_find:this.items.find(getTypeMatcher(format4,!1)),text=\"\";return match?.getAsString(t=>{text=t;}),text}setData(format4,data){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0)),item=new DataTransferItemStub(data,format4);matchIndex>=0?this.items.splice(matchIndex,1,item):this.items.push(item);}clearData(format4){if(format4){let matchIndex=this.items.findIndex(getTypeMatcher(format4,!0));matchIndex>=0&&this.items.remove(matchIndex);}else this.items.clear();}get types(){let t=[];return this.files.length&&t.push(\"Files\"),this.items.forEach(i=>t.push(i.type)),Object.freeze(t),t}setDragImage(){}constructor(){_define_property(this,\"dropEffect\",\"none\"),_define_property(this,\"effectAllowed\",\"uninitialized\"),_define_property(this,\"items\",new DataTransferItemListStub),_define_property(this,\"files\",createFileList(window2,[]));}}}function createDataTransfer(window2,files=[]){let dt=typeof window2.DataTransfer>\"u\"?createDataTransferStub(window2):new window2.DataTransfer;return Object.defineProperty(dt,\"files\",{get:()=>createFileList(window2,files)}),dt}function getBlobFromDataTransferItem(window2,item){if(item.kind===\"file\")return item.getAsFile();let data=\"\";return item.getAsString(s=>{data=s;}),new window2.Blob([data],{type:item.type})}function _define_property2(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function createClipboardItem(window2,...blobs){let dataMap=Object.fromEntries(blobs.map(b2=>[typeof b2==\"string\"?\"text/plain\":b2.type,Promise.resolve(b2)]));return typeof window2.ClipboardItem<\"u\"?new window2.ClipboardItem(dataMap):new class{get types(){return Array.from(Object.keys(this.data))}async getType(type3){let value=await this.data[type3];if(!value)throw new Error(`${type3} is not one of the available MIME types on this item.`);return value instanceof window2.Blob?value:new window2.Blob([value],{type:type3})}constructor(d2){_define_property2(this,\"data\",void 0),this.data=d2;}}(dataMap)}var ClipboardStubControl=Symbol(\"Manage ClipboardSub\");function createClipboardStub(window2,control){return Object.assign(new class extends window2.EventTarget{async read(){return Array.from(this.items)}async readText(){let text=\"\";for(let item of this.items){let type3=item.types.includes(\"text/plain\")?\"text/plain\":item.types.find(t=>t.startsWith(\"text/\"));type3&&(text+=await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));}return text}async write(data){this.items=data;}async writeText(text){this.items=[createClipboardItem(window2,text)];}constructor(...args){super(...args),_define_property2(this,\"items\",[]);}},{[ClipboardStubControl]:control})}function isClipboardStub(clipboard){return !!clipboard?.[ClipboardStubControl]}function attachClipboardStubToView(window2){if(isClipboardStub(window2.navigator.clipboard))return window2.navigator.clipboard[ClipboardStubControl];let realClipboard=Object.getOwnPropertyDescriptor(window2.navigator,\"clipboard\"),stub,control={resetClipboardStub:()=>{stub=createClipboardStub(window2,control);},detachClipboardStub:()=>{realClipboard?Object.defineProperty(window2.navigator,\"clipboard\",realClipboard):Object.defineProperty(window2.navigator,\"clipboard\",{value:void 0,configurable:!0});}};return stub=createClipboardStub(window2,control),Object.defineProperty(window2.navigator,\"clipboard\",{get:()=>stub,configurable:!0}),stub[ClipboardStubControl]}function resetClipboardStubOnView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].resetClipboardStub();}function detachClipboardStubFromView(window2){isClipboardStub(window2.navigator.clipboard)&&window2.navigator.clipboard[ClipboardStubControl].detachClipboardStub();}async function readDataTransferFromClipboard(document2){let window2=document2.defaultView,clipboard=window2?.navigator.clipboard,items=clipboard&&await clipboard.read();if(!items)throw new Error(\"The Clipboard API is unavailable.\");let dt=createDataTransfer(window2);for(let item of items)for(let type3 of item.types)dt.setData(type3,await item.getType(type3).then(b2=>readBlobText(b2,window2.FileReader)));return dt}async function writeDataTransferToClipboard(document2,clipboardData){let window2=getWindow(document2),clipboard=window2.navigator.clipboard,items=[];for(let i=0;i!0,()=>!1)))throw new Error(\"The Clipboard API is unavailable.\")}var g=globalThis;typeof g.afterEach==\"function\"&&g.afterEach(()=>resetClipboardStubOnView(globalThis.window));typeof g.afterAll==\"function\"&&g.afterAll(()=>detachClipboardStubFromView(globalThis.window));function isContentEditable(element){return element.hasAttribute(\"contenteditable\")&&(element.getAttribute(\"contenteditable\")==\"true\"||element.getAttribute(\"contenteditable\")==\"\")}function getContentEditable(node){let element=getElement(node);return element&&(element.closest('[contenteditable=\"\"]')||element.closest('[contenteditable=\"true\"]'))}function getElement(node){return node.nodeType===1?node:node.parentElement}function isEditable(element){return isEditableInputOrTextArea(element)&&!element.readOnly||isContentEditable(element)}var editableInputTypes;(function(editableInputTypes2){editableInputTypes2.text=\"text\",editableInputTypes2.date=\"date\",editableInputTypes2[\"datetime-local\"]=\"datetime-local\",editableInputTypes2.email=\"email\",editableInputTypes2.month=\"month\",editableInputTypes2.number=\"number\",editableInputTypes2.password=\"password\",editableInputTypes2.search=\"search\",editableInputTypes2.tel=\"tel\",editableInputTypes2.time=\"time\",editableInputTypes2.url=\"url\",editableInputTypes2.week=\"week\";})(editableInputTypes||(editableInputTypes={}));function isEditableInputOrTextArea(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in editableInputTypes}var maxLengthSupportedTypes;(function(maxLengthSupportedTypes2){maxLengthSupportedTypes2.email=\"email\",maxLengthSupportedTypes2.password=\"password\",maxLengthSupportedTypes2.search=\"search\",maxLengthSupportedTypes2.telephone=\"telephone\",maxLengthSupportedTypes2.text=\"text\",maxLengthSupportedTypes2.url=\"url\";})(maxLengthSupportedTypes||(maxLengthSupportedTypes={}));function getMaxLength(element){var _element_getAttribute;let attr=(_element_getAttribute=element.getAttribute(\"maxlength\"))!==null&&_element_getAttribute!==void 0?_element_getAttribute:\"\";return /^\\d+$/.test(attr)&&Number(attr)>=0?Number(attr):void 0}function supportsMaxLength(element){return isElementType(element,\"textarea\")||isElementType(element,\"input\")&&element.type in maxLengthSupportedTypes}var FOCUSABLE_SELECTOR=[\"input:not([type=hidden]):not([disabled])\",\"button:not([disabled])\",\"select:not([disabled])\",\"textarea:not([disabled])\",'[contenteditable=\"\"]','[contenteditable=\"true\"]',\"a[href]\",\"[tabindex]:not([disabled])\"].join(\", \");function isFocusable(element){return element.matches(FOCUSABLE_SELECTOR)}var bracketDict;(function(bracketDict2){bracketDict2[\"{\"]=\"}\",bracketDict2[\"[\"]=\"]\";})(bracketDict||(bracketDict={}));function readNextDescriptor(text,context){let pos=0,startBracket=text[pos]in bracketDict?text[pos]:\"\";pos+=startBracket.length;let type3=new RegExp(`^\\\\${startBracket}{2}`).test(text)?\"\":startBracket;return {type:type3,...type3===\"\"?readPrintableChar(text,pos,context):readTag(text,pos,type3,context)}}function readPrintableChar(text,pos,context){let descriptor=text[pos];return assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length,{consumedLength:pos,descriptor,releasePrevious:!1,releaseSelf:!0,repeat:1}}function readTag(text,pos,startBracket,context){var _text_slice_match,_text_slice_match1;let releasePreviousModifier=text[pos]===\"/\"?\"/\":\"\";pos+=releasePreviousModifier.length;let escapedDescriptor=startBracket===\"{\"&&text[pos]===\"\\\\\";pos+=Number(escapedDescriptor);let descriptor=escapedDescriptor?text[pos]:(_text_slice_match=text.slice(pos).match(startBracket===\"{\"?/^\\w+|^[^}>/]/:/^\\w+/))===null||_text_slice_match===void 0?void 0:_text_slice_match[0];assertDescriptor(descriptor,text,pos,context),pos+=descriptor.length;var _text_slice_match_;let repeatModifier=(_text_slice_match_=(_text_slice_match1=text.slice(pos).match(/^>\\d+/))===null||_text_slice_match1===void 0?void 0:_text_slice_match1[0])!==null&&_text_slice_match_!==void 0?_text_slice_match_:\"\";pos+=repeatModifier.length;let releaseSelfModifier=text[pos]===\"/\"||!repeatModifier&&text[pos]===\">\"?text[pos]:\"\";pos+=releaseSelfModifier.length;let expectedEndBracket=bracketDict[startBracket],endBracket=text[pos]===expectedEndBracket?expectedEndBracket:\"\";if(!endBracket)throw new Error(getErrorMessage([!repeatModifier&&\"repeat modifier\",!releaseSelfModifier&&\"release modifier\",`\"${expectedEndBracket}\"`].filter(Boolean).join(\" or \"),text[pos],text,context));return pos+=endBracket.length,{consumedLength:pos,descriptor,releasePrevious:!!releasePreviousModifier,repeat:repeatModifier?Math.max(Number(repeatModifier.substr(1)),1):1,releaseSelf:hasReleaseSelf(releaseSelfModifier,repeatModifier)}}function assertDescriptor(descriptor,text,pos,context){if(!descriptor)throw new Error(getErrorMessage(\"key descriptor\",text[pos],text,context))}function hasReleaseSelf(releaseSelfModifier,repeatModifier){if(releaseSelfModifier)return releaseSelfModifier===\"/\";if(repeatModifier)return !1}function getErrorMessage(expected,found,text,context){return `Expected ${expected} but found \"${found??\"\"}\" in \"${text}\"\n See ${context===\"pointer\"?\"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen\":\"https://testing-library.com/docs/user-event/keyboard\"}\n for more information about how userEvent parses your input.`}function cloneEvent(event){return new event.constructor(event.type,event)}var ApiLevel;(function(ApiLevel2){ApiLevel2[ApiLevel2.Trigger=2]=\"Trigger\",ApiLevel2[ApiLevel2.Call=1]=\"Call\";})(ApiLevel||(ApiLevel={}));function setLevelRef(instance,level){instance.levelRefs[level]={};}function getLevelRef(instance,level){return instance.levelRefs[level]}var PointerEventsCheckLevel;(function(PointerEventsCheckLevel2){PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTrigger=4]=\"EachTrigger\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachApiCall=2]=\"EachApiCall\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.EachTarget=1]=\"EachTarget\",PointerEventsCheckLevel2[PointerEventsCheckLevel2.Never=0]=\"Never\";})(PointerEventsCheckLevel||(PointerEventsCheckLevel={}));function isDisabled2(element){for(let el=element;el;el=el.parentElement)if(isElementType(el,[\"button\",\"input\",\"select\",\"textarea\",\"optgroup\",\"option\"])){if(el.hasAttribute(\"disabled\"))return !0}else if(isElementType(el,\"fieldset\")){var _el_querySelector;if(el.hasAttribute(\"disabled\")&&!(!((_el_querySelector=el.querySelector(\":scope > legend\"))===null||_el_querySelector===void 0)&&_el_querySelector.contains(element)))return !0}else if(el.tagName.includes(\"-\")&&el.constructor.formAssociated&&el.hasAttribute(\"disabled\"))return !0;return !1}function getActiveElement(document2){let activeElement=document2.activeElement;return activeElement?.shadowRoot?getActiveElement(activeElement.shadowRoot):isDisabled2(activeElement)?document2.ownerDocument?document2.ownerDocument.body:document2.body:activeElement}function getActiveElementOrBody(document2){var _getActiveElement;return (_getActiveElement=getActiveElement(document2))!==null&&_getActiveElement!==void 0?_getActiveElement:document2.body}function findClosest(element,callback){let el=element;do{if(callback(el))return el;el=el.parentElement;}while(el&&el!==element.ownerDocument.body)}function hasOwnSelection(node){return isElement3(node)&&isEditableInputOrTextArea(node)}function hasNoSelection(node){return isElement3(node)&&isClickableInput(node)}function isElement3(node){return node.nodeType===1}function updateSelectionOnFocus(element){let selection=element.ownerDocument.getSelection();if(selection?.focusNode&&hasOwnSelection(element)){let contenteditable=getContentEditable(selection.focusNode);if(contenteditable){if(!selection.isCollapsed){var _contenteditable_firstChild;let focusNode=((_contenteditable_firstChild=contenteditable.firstChild)===null||_contenteditable_firstChild===void 0?void 0:_contenteditable_firstChild.nodeType)===3?contenteditable.firstChild:contenteditable;selection.setBaseAndExtent(focusNode,0,focusNode,0);}}else selection.setBaseAndExtent(element,0,element,0);}}function wrapEvent(cb,_element){return getConfig().eventWrapper(cb)}function focusElement(element){let target=findClosest(element,isFocusable),activeElement=getActiveElement(element.ownerDocument);(target??element.ownerDocument.body)!==activeElement&&(target?wrapEvent(()=>target.focus()):wrapEvent(()=>activeElement?.blur()),updateSelectionOnFocus(target??element.ownerDocument.body));}function blurElement(element){!isFocusable(element)||!(getActiveElement(element.ownerDocument)===element)||wrapEvent(()=>element.blur());}var behavior={};behavior.click=(event,target,instance)=>{let context=target.closest(\"button,input,label,select,textarea\"),control=context&&isElementType(context,\"label\")&&context.control;if(control)return ()=>{isFocusable(control)&&focusElement(control),instance.dispatchEvent(control,cloneEvent(event));};if(isElementType(target,\"input\",{type:\"file\"}))return ()=>{blurElement(target),target.dispatchEvent(new(getWindow(target)).Event(\"fileDialog\")),focusElement(target);}};var UIValue=Symbol(\"Displayed value in UI\"),UISelection=Symbol(\"Displayed selection in UI\"),InitialValue=Symbol(\"Initial value to compare on blur\");function isUIValue(value){return typeof value==\"object\"&&UIValue in value}function isUISelectionStart(start){return !!start&&typeof start==\"object\"&&UISelection in start}function setUIValue(element,value){element[InitialValue]===void 0&&(element[InitialValue]=element.value),element[UIValue]=value,element.value=Object.assign(new String(value),{[UIValue]:!0});}function getUIValue(element){return element[UIValue]===void 0?element.value:String(element[UIValue])}function setUIValueClean(element){element[UIValue]=void 0;}function clearInitialValue(element){element[InitialValue]=void 0;}function getInitialValue(element){return element[InitialValue]}function setUISelectionRaw(element,selection){element[UISelection]=selection;}function setUISelection(element,{focusOffset:focusOffsetParam,anchorOffset:anchorOffsetParam=focusOffsetParam},mode=\"replace\"){let valueLength=getUIValue(element).length,sanitizeOffset=o=>Math.max(0,Math.min(valueLength,o)),anchorOffset=mode===\"replace\"||element[UISelection]===void 0?sanitizeOffset(anchorOffsetParam):element[UISelection].anchorOffset,focusOffset=sanitizeOffset(focusOffsetParam),startOffset=Math.min(anchorOffset,focusOffset),endOffset=Math.max(anchorOffset,focusOffset);if(element[UISelection]={anchorOffset,focusOffset},element.selectionStart===startOffset&&element.selectionEnd===endOffset)return;let startObj=Object.assign(new Number(startOffset),{[UISelection]:!0});try{element.setSelectionRange(startObj,endOffset);}catch{}}function getUISelection(element){var _element_selectionStart,_element_selectionEnd,_element_UISelection;let sel=(_element_UISelection=element[UISelection])!==null&&_element_UISelection!==void 0?_element_UISelection:{anchorOffset:(_element_selectionStart=element.selectionStart)!==null&&_element_selectionStart!==void 0?_element_selectionStart:0,focusOffset:(_element_selectionEnd=element.selectionEnd)!==null&&_element_selectionEnd!==void 0?_element_selectionEnd:0};return {...sel,startOffset:Math.min(sel.anchorOffset,sel.focusOffset),endOffset:Math.max(sel.anchorOffset,sel.focusOffset)}}function hasUISelection(element){return !!element[UISelection]}function setUISelectionClean(element){element[UISelection]=void 0;}var parseInt2=globalThis.parseInt;function buildTimeValue(value){let onlyDigitsValue=value.replace(/\\D/g,\"\");if(onlyDigitsValue.length<2)return value;let firstDigit=parseInt2(onlyDigitsValue[0],10),secondDigit=parseInt2(onlyDigitsValue[1],10);if(firstDigit>=3||firstDigit===2&&secondDigit>=4){let index;return firstDigit>=3?index=1:index=2,build(onlyDigitsValue,index)}return value.length===2?value:build(onlyDigitsValue,2)}function build(onlyDigitsValue,index){let hours=onlyDigitsValue.slice(0,index),validHours=Math.min(parseInt2(hours,10),23),minuteCharacters=onlyDigitsValue.slice(index),parsedMinutes=parseInt2(minuteCharacters,10),validMinutes=Math.min(parsedMinutes,59);return `${validHours.toString().padStart(2,\"0\")}:${validMinutes.toString().padStart(2,\"0\")}`}function isValidDateOrTimeValue(element,value){let clone2=element.cloneNode();return clone2.value=value,clone2.value===value}function getNextCursorPosition(node,offset,direction,inputType){if(isTextNode(node)&&offset+direction>=0&&offset+direction<=node.nodeValue.length)return {node,offset:offset+direction};let nextNode=getNextCharacterContentNode(node,offset,direction);if(nextNode){if(isTextNode(nextNode))return {node:nextNode,offset:direction>0?Math.min(1,nextNode.nodeValue.length):Math.max(nextNode.nodeValue.length-1,0)};if(isElementType(nextNode,\"br\")){let nextPlusOne=getNextCharacterContentNode(nextNode,void 0,direction);return nextPlusOne?isTextNode(nextPlusOne)?{node:nextPlusOne,offset:direction>0?0:nextPlusOne.nodeValue.length}:direction<0&&isElementType(nextPlusOne,\"br\")?{node:nextNode.parentNode,offset:getOffset(nextNode)}:{node:nextPlusOne.parentNode,offset:getOffset(nextPlusOne)+(direction>0?0:1)}:direction<0&&inputType===\"deleteContentBackward\"?{node:nextNode.parentNode,offset:getOffset(nextNode)}:void 0}else return {node:nextNode.parentNode,offset:getOffset(nextNode)+(direction>0?1:0)}}}function getNextCharacterContentNode(node,offset,direction){let nextOffset=Number(offset)+(direction<0?-1:0);return offset!==void 0&&isElement4(node)&&nextOffset>=0&&nextOffsetk.startsWith(\"__react\"))&&getWindow(element).REACT_VERSION===17}function startTrackValue(element){isReact17Element(element)&&(element[TrackChanges]={previousValue:String(element.value),tracked:[]});}function trackOrSetValue(element,v2){var _element_TrackChanges_tracked,_element_TrackChanges;(_element_TrackChanges=element[TrackChanges])===null||_element_TrackChanges===void 0||(_element_TrackChanges_tracked=_element_TrackChanges.tracked)===null||_element_TrackChanges_tracked===void 0||_element_TrackChanges_tracked.push(v2),element[TrackChanges]||(setUIValueClean(element),setUISelection(element,{focusOffset:v2.length}));}function commitValueAfterInput(element,cursorOffset){var _changes_tracked;let changes=element[TrackChanges];if(element[TrackChanges]=void 0,!(!(changes==null||(_changes_tracked=changes.tracked)===null||_changes_tracked===void 0)&&_changes_tracked.length))return;let isJustReactStateUpdate=changes.tracked.length===2&&changes.tracked[0]===changes.previousValue&&changes.tracked[1]===element.value;isJustReactStateUpdate||setUIValueClean(element),hasUISelection(element)&&setUISelection(element,{focusOffset:isJustReactStateUpdate?cursorOffset:element.value.length});}function getTargetTypeAndSelection(node){let element=getElement2(node);if(element&&hasOwnSelection(element))return {type:\"input\",selection:getUISelection(element)};let selection=element?.ownerDocument.getSelection();return {type:getContentEditable(node)&&selection?.anchorNode&&getContentEditable(selection.anchorNode)?\"contenteditable\":\"default\",selection}}function getElement2(node){return node.nodeType===1?node:node.parentElement}function getInputRange(focusNode){let typeAndSelection=getTargetTypeAndSelection(focusNode);if(typeAndSelection.type===\"input\")return typeAndSelection.selection;if(typeAndSelection.type===\"contenteditable\"){var _typeAndSelection_selection;return (_typeAndSelection_selection=typeAndSelection.selection)===null||_typeAndSelection_selection===void 0?void 0:_typeAndSelection_selection.getRangeAt(0)}}function setSelection({focusNode,focusOffset,anchorNode=focusNode,anchorOffset=focusOffset}){var _anchorNode_ownerDocument_getSelection,_anchorNode_ownerDocument;if(getTargetTypeAndSelection(focusNode).type===\"input\")return setUISelection(focusNode,{anchorOffset,focusOffset});(_anchorNode_ownerDocument=anchorNode.ownerDocument)===null||_anchorNode_ownerDocument===void 0||(_anchorNode_ownerDocument_getSelection=_anchorNode_ownerDocument.getSelection())===null||_anchorNode_ownerDocument_getSelection===void 0||_anchorNode_ownerDocument_getSelection.setBaseAndExtent(anchorNode,anchorOffset,focusNode,focusOffset);}function isDateOrTime(element){return isElementType(element,\"input\")&&[\"date\",\"time\"].includes(element.type)}function input(instance,element,data,inputType=\"insertText\"){let inputRange=getInputRange(element);inputRange&&(!isDateOrTime(element)&&!instance.dispatchUIEvent(element,\"beforeinput\",{inputType,data})||(\"startContainer\"in inputRange?editContenteditable(instance,element,inputRange,data,inputType):editInputElement(instance,element,inputRange,data,inputType)));}function editContenteditable(instance,element,inputRange,data,inputType){let del=!1;if(!inputRange.collapsed)del=!0,inputRange.deleteContents();else if([\"deleteContentBackward\",\"deleteContentForward\"].includes(inputType)){let nextPosition=getNextCursorPosition(inputRange.startContainer,inputRange.startOffset,inputType===\"deleteContentBackward\"?-1:1,inputType);if(nextPosition){del=!0;let delRange=inputRange.cloneRange();delRange.comparePoint(nextPosition.node,nextPosition.offset)<0?delRange.setStart(nextPosition.node,nextPosition.offset):delRange.setEnd(nextPosition.node,nextPosition.offset),delRange.deleteContents();}}if(data)if(inputRange.endContainer.nodeType===3){let offset=inputRange.endOffset;inputRange.endContainer.insertData(offset,data),inputRange.setStart(inputRange.endContainer,offset+data.length),inputRange.setEnd(inputRange.endContainer,offset+data.length);}else {let text=element.ownerDocument.createTextNode(data);inputRange.insertNode(text),inputRange.setStart(text,data.length),inputRange.setEnd(text,data.length);}(del||data)&&instance.dispatchUIEvent(element,\"input\",{inputType});}function editInputElement(instance,element,inputRange,data,inputType){let dataToInsert=data;if(supportsMaxLength(element)){let maxLength=getMaxLength(element);if(maxLength!==void 0&&data.length>0){let spaceUntilMaxLength=maxLength-element.value.length;if(spaceUntilMaxLength>0)dataToInsert=data.substring(0,spaceUntilMaxLength);else return}}let{newValue,newOffset,oldValue}=calculateNewValue(dataToInsert,element,inputRange,inputType);newValue===oldValue&&newOffset===inputRange.startOffset&&newOffset===inputRange.endOffset||isElementType(element,\"input\",{type:\"number\"})&&!isValidNumberInput(newValue)||(setUIValue(element,newValue),setSelection({focusNode:element,anchorOffset:newOffset,focusOffset:newOffset}),isDateOrTime(element)?isValidDateOrTimeValue(element,newValue)&&(commitInput(instance,element,newOffset,{}),instance.dispatchUIEvent(element,\"change\"),clearInitialValue(element)):commitInput(instance,element,newOffset,{data,inputType}));}function calculateNewValue(inputData,node,{startOffset,endOffset},inputType){let value=getUIValue(node),prologEnd=Math.max(0,startOffset===endOffset&&inputType===\"deleteContentBackward\"?startOffset-1:startOffset),prolog=value.substring(0,prologEnd),epilogStart=Math.min(value.length,startOffset===endOffset&&inputType===\"deleteContentForward\"?startOffset+1:endOffset),epilog=value.substring(epilogStart,value.length),newValue=`${prolog}${inputData}${epilog}`,newOffset=prologEnd+inputData.length;if(isElementType(node,\"input\",{type:\"time\"})){let builtValue=buildTimeValue(newValue);builtValue!==\"\"&&isValidDateOrTimeValue(node,builtValue)&&(newValue=builtValue,newOffset=builtValue.length);}return {oldValue:value,newValue,newOffset}}function commitInput(instance,element,newOffset,inputInit){instance.dispatchUIEvent(element,\"input\",inputInit),commitValueAfterInput(element,newOffset);}function isValidNumberInput(value){var _value_match,_value_match1;let valueParts=value.split(\"e\",2);return !(/[^\\d.\\-e]/.test(value)||Number((_value_match=value.match(/-/g))===null||_value_match===void 0?void 0:_value_match.length)>2||Number((_value_match1=value.match(/\\./g))===null||_value_match1===void 0?void 0:_value_match1.length)>1||valueParts[1]&&!/^-?\\d*$/.test(valueParts[1]))}behavior.cut=(event,target,instance)=>()=>{isEditable(target)&&input(instance,target,\"\",\"deleteByCut\");};function getValueOrTextContent(element){return element?isContentEditable(element)?element.textContent:getUIValue(element):null}function isVisible(element){let window2=getWindow(element);for(let el=element;el?.ownerDocument;el=el.parentElement){let{display:display2,visibility}=window2.getComputedStyle(el);if(display2===\"none\"||visibility===\"hidden\")return !1}return !0}function getTabDestination(activeElement,shift){let document2=activeElement.ownerDocument,focusableElements=document2.querySelectorAll(FOCUSABLE_SELECTOR),enabledElements=Array.from(focusableElements).filter(el=>el===activeElement||!(Number(el.getAttribute(\"tabindex\"))<0||isDisabled2(el)));Number(activeElement.getAttribute(\"tabindex\"))>=0&&enabledElements.sort((a,b2)=>{let i=Number(a.getAttribute(\"tabindex\")),j=Number(b2.getAttribute(\"tabindex\"));return i===j?0:i===0?1:j===0?-1:i-j});let checkedRadio={},prunedElements=[document2.body],activeRadioGroup=isElementType(activeElement,\"input\",{type:\"radio\"})?activeElement.name:void 0;enabledElements.forEach(currentElement=>{let el=currentElement;if(isElementType(el,\"input\",{type:\"radio\"})&&el.name){if(el===activeElement){prunedElements.push(el);return}else if(el.name===activeRadioGroup)return;if(el.checked){prunedElements=prunedElements.filter(e=>!isElementType(e,\"input\",{type:\"radio\",name:el.name})),prunedElements.push(el),checkedRadio[el.name]=el;return}if(typeof checkedRadio[el.name]<\"u\")return}prunedElements.push(el);});for(let index=prunedElements.findIndex(el=>el===activeElement);;)if(index+=shift?-1:1,index===prunedElements.length?index=0:index===-1&&(index=prunedElements.length-1),prunedElements[index]===activeElement||prunedElements[index]===document2.body||isVisible(prunedElements[index]))return prunedElements[index]}function moveSelection(node,direction){if(hasOwnSelection(node)){let selection=getUISelection(node);setSelection({focusNode:node,focusOffset:selection.startOffset===selection.endOffset?selection.focusOffset+direction:direction<0?selection.startOffset:selection.endOffset});}else {let selection=node.ownerDocument.getSelection();if(!selection?.focusNode)return;if(selection.isCollapsed){let nextPosition=getNextCursorPosition(selection.focusNode,selection.focusOffset,direction);nextPosition&&setSelection({focusNode:nextPosition.node,focusOffset:nextPosition.offset});}else selection[direction<0?\"collapseToStart\":\"collapseToEnd\"]();}}function selectAll(target){if(hasOwnSelection(target))return setSelection({focusNode:target,anchorOffset:0,focusOffset:getUIValue(target).length});var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body;setSelection({focusNode,anchorOffset:0,focusOffset:focusNode.childNodes.length});}function isAllSelected(target){if(hasOwnSelection(target))return getUISelection(target).startOffset===0&&getUISelection(target).endOffset===getUIValue(target).length;var _getContentEditable;let focusNode=(_getContentEditable=getContentEditable(target))!==null&&_getContentEditable!==void 0?_getContentEditable:target.ownerDocument.body,selection=target.ownerDocument.getSelection();return selection?.anchorNode===focusNode&&selection.focusNode===focusNode&&selection.anchorOffset===0&&selection.focusOffset===focusNode.childNodes.length}function setSelectionRange(element,anchorOffset,focusOffset){var _element_firstChild;if(hasOwnSelection(element))return setSelection({focusNode:element,anchorOffset,focusOffset});if(isContentEditable(element)&&((_element_firstChild=element.firstChild)===null||_element_firstChild===void 0?void 0:_element_firstChild.nodeType)===3)return setSelection({focusNode:element.firstChild,anchorOffset,focusOffset});throw new Error(\"Not implemented. The result of this interaction is unreliable.\")}function walkRadio(instance,el,direction){let window2=getWindow(el),group=Array.from(el.ownerDocument.querySelectorAll(el.name?`input[type=\"radio\"][name=\"${window2.CSS.escape(el.name)}\"]`:'input[type=\"radio\"][name=\"\"], input[type=\"radio\"]:not([name])'));for(let i=group.findIndex(e=>e===el)+direction;;i+=direction){if(group[i]||(i=direction>0?0:group.length-1),group[i]===el)return;isDisabled2(group[i])||(focusElement(group[i]),instance.dispatchUIEvent(group[i],\"click\"));}}behavior.keydown=(event,target,instance)=>{var _keydownBehavior_event_key,_keydownBehavior_event_key1;return (_keydownBehavior_event_key1=(_keydownBehavior_event_key=keydownBehavior[event.key])===null||_keydownBehavior_event_key===void 0?void 0:_keydownBehavior_event_key.call(keydownBehavior,event,target,instance))!==null&&_keydownBehavior_event_key1!==void 0?_keydownBehavior_event_key1:combinationBehavior(event,target,instance)};var keydownBehavior={ArrowDown:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,-1)},ArrowLeft:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,-1):()=>moveSelection(target,-1),ArrowRight:(event,target,instance)=>isElementType(target,\"input\",{type:\"radio\"})?()=>walkRadio(instance,target,1):()=>moveSelection(target,1),ArrowUp:(event,target,instance)=>{if(isElementType(target,\"input\",{type:\"radio\"}))return ()=>walkRadio(instance,target,1)},Backspace:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentBackward\");}},Delete:(event,target,instance)=>{if(isEditable(target))return ()=>{input(instance,target,\"\",\"deleteContentForward\");}},End:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{var _getValueOrTextContent,_getValueOrTextContent_length;let newPos=(_getValueOrTextContent_length=(_getValueOrTextContent=getValueOrTextContent(target))===null||_getValueOrTextContent===void 0?void 0:_getValueOrTextContent.length)!==null&&_getValueOrTextContent_length!==void 0?_getValueOrTextContent_length:0;setSelectionRange(target,newPos,newPos);}},Home:(event,target)=>{if(isElementType(target,[\"input\",\"textarea\"])||isContentEditable(target))return ()=>{setSelectionRange(target,0,0);}},PageDown:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{let newPos=getUIValue(target).length;setSelectionRange(target,newPos,newPos);}},PageUp:(event,target)=>{if(isElementType(target,[\"input\"]))return ()=>{setSelectionRange(target,0,0);}},Tab:(event,target,instance)=>()=>{let dest=getTabDestination(target,instance.system.keyboard.modifiers.Shift);focusElement(dest),hasOwnSelection(dest)&&setUISelection(dest,{anchorOffset:0,focusOffset:dest.value.length});}},combinationBehavior=(event,target,instance)=>{if(event.code===\"KeyA\"&&instance.system.keyboard.modifiers.Control)return ()=>selectAll(target)};behavior.keypress=(event,target,instance)=>{if(event.key===\"Enter\"){if(isElementType(target,\"button\")||isElementType(target,\"input\")&&ClickInputOnEnter.includes(target.type)||isElementType(target,\"a\")&&target.href)return ()=>{instance.dispatchUIEvent(target,\"click\");};if(isElementType(target,\"input\")){let form=target.form,submit=form?.querySelector('input[type=\"submit\"], button:not([type]), button[type=\"submit\"]');return submit?()=>instance.dispatchUIEvent(submit,\"click\"):form&&SubmitSingleInputOnEnter.includes(target.type)&&form.querySelectorAll(\"input\").length===1?()=>instance.dispatchUIEvent(form,\"submit\"):void 0}}if(isEditable(target)){let inputType=event.key===\"Enter\"?isContentEditable(target)&&!instance.system.keyboard.modifiers.Shift?\"insertParagraph\":\"insertLineBreak\":\"insertText\",inputData=event.key===\"Enter\"?`\n`:event.key;return ()=>input(instance,target,inputData,inputType)}};var ClickInputOnEnter=[\"button\",\"color\",\"file\",\"image\",\"reset\",\"submit\"],SubmitSingleInputOnEnter=[\"email\",\"month\",\"password\",\"search\",\"tel\",\"text\",\"url\",\"week\"];behavior.keyup=(event,target,instance)=>{var _keyupBehavior_event_key;return (_keyupBehavior_event_key=keyupBehavior[event.key])===null||_keyupBehavior_event_key===void 0?void 0:_keyupBehavior_event_key.call(keyupBehavior,event,target,instance)};var keyupBehavior={\" \":(event,target,instance)=>{if(isClickableInput(target))return ()=>instance.dispatchUIEvent(target,\"click\")}};behavior.paste=(event,target,instance)=>{if(isEditable(target))return ()=>{var _event_clipboardData;let insertData=(_event_clipboardData=event.clipboardData)===null||_event_clipboardData===void 0?void 0:_event_clipboardData.getData(\"text\");insertData&&input(instance,target,insertData,\"insertFromPaste\");}};var eventMap2={auxclick:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:\"KeyboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:\"ClipboardEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:\"InputEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:\"MouseEvent\",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:\"MouseEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:\"PointerEvent\",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:\"PointerEvent\",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:\"Event\",defaultInit:{bubbles:!0,cancelable:!0}}};function getEventClass(type3){return eventMap2[type3].EventType}var mouseEvents=[\"MouseEvent\",\"PointerEvent\"];function isMouseEvent(type3){return mouseEvents.includes(getEventClass(type3))}function isKeyboardEvent(type3){return getEventClass(type3)===\"KeyboardEvent\"}var eventInitializer={ClipboardEvent:[initClipboardEvent],Event:[],InputEvent:[initUIEvent,initInputEvent],MouseEvent:[initUIEvent,initUIEventModififiers,initMouseEvent],PointerEvent:[initUIEvent,initUIEventModififiers,initMouseEvent,initPointerEvent],KeyboardEvent:[initUIEvent,initUIEventModififiers,initKeyboardEvent]};function createEvent2(type3,target,init){let window2=getWindow(target),{EventType,defaultInit}=eventMap2[type3],event=new(getEventConstructors(window2))[EventType](type3,defaultInit);return eventInitializer[EventType].forEach(f=>f(event,init??{})),event}function getEventConstructors(window2){var _window_Event;let Event=(_window_Event=window2.Event)!==null&&_window_Event!==void 0?_window_Event:class{};var _window_AnimationEvent;let AnimationEvent=(_window_AnimationEvent=window2.AnimationEvent)!==null&&_window_AnimationEvent!==void 0?_window_AnimationEvent:class extends Event{};var _window_ClipboardEvent;let ClipboardEvent=(_window_ClipboardEvent=window2.ClipboardEvent)!==null&&_window_ClipboardEvent!==void 0?_window_ClipboardEvent:class extends Event{};var _window_PopStateEvent;let PopStateEvent=(_window_PopStateEvent=window2.PopStateEvent)!==null&&_window_PopStateEvent!==void 0?_window_PopStateEvent:class extends Event{};var _window_ProgressEvent;let ProgressEvent=(_window_ProgressEvent=window2.ProgressEvent)!==null&&_window_ProgressEvent!==void 0?_window_ProgressEvent:class extends Event{};var _window_TransitionEvent;let TransitionEvent=(_window_TransitionEvent=window2.TransitionEvent)!==null&&_window_TransitionEvent!==void 0?_window_TransitionEvent:class extends Event{};var _window_UIEvent;let UIEvent=(_window_UIEvent=window2.UIEvent)!==null&&_window_UIEvent!==void 0?_window_UIEvent:class extends Event{};var _window_CompositionEvent;let CompositionEvent=(_window_CompositionEvent=window2.CompositionEvent)!==null&&_window_CompositionEvent!==void 0?_window_CompositionEvent:class extends UIEvent{};var _window_FocusEvent;let FocusEvent=(_window_FocusEvent=window2.FocusEvent)!==null&&_window_FocusEvent!==void 0?_window_FocusEvent:class extends UIEvent{};var _window_InputEvent;let InputEvent=(_window_InputEvent=window2.InputEvent)!==null&&_window_InputEvent!==void 0?_window_InputEvent:class extends UIEvent{};var _window_KeyboardEvent;let KeyboardEvent=(_window_KeyboardEvent=window2.KeyboardEvent)!==null&&_window_KeyboardEvent!==void 0?_window_KeyboardEvent:class extends UIEvent{};var _window_MouseEvent;let MouseEvent=(_window_MouseEvent=window2.MouseEvent)!==null&&_window_MouseEvent!==void 0?_window_MouseEvent:class extends UIEvent{};var _window_DragEvent;let DragEvent=(_window_DragEvent=window2.DragEvent)!==null&&_window_DragEvent!==void 0?_window_DragEvent:class extends MouseEvent{};var _window_PointerEvent;let PointerEvent=(_window_PointerEvent=window2.PointerEvent)!==null&&_window_PointerEvent!==void 0?_window_PointerEvent:class extends MouseEvent{};var _window_TouchEvent;let TouchEvent=(_window_TouchEvent=window2.TouchEvent)!==null&&_window_TouchEvent!==void 0?_window_TouchEvent:class extends UIEvent{};return {Event,AnimationEvent,ClipboardEvent,PopStateEvent,ProgressEvent,TransitionEvent,UIEvent,CompositionEvent,FocusEvent,InputEvent,KeyboardEvent,MouseEvent,DragEvent,PointerEvent,TouchEvent}}function assignProps(obj,props){for(let[key,value]of Object.entries(props))Object.defineProperty(obj,key,{get:()=>value??null});}function sanitizeNumber(n){return Number(n??0)}function initClipboardEvent(event,{clipboardData}){assignProps(event,{clipboardData});}function initInputEvent(event,{data,inputType,isComposing}){assignProps(event,{data,isComposing:!!isComposing,inputType:String(inputType)});}function initUIEvent(event,{view,detail}){assignProps(event,{view,detail:sanitizeNumber(detail??0)});}function initUIEventModififiers(event,{altKey,ctrlKey,metaKey,shiftKey,modifierAltGraph,modifierCapsLock,modifierFn,modifierFnLock,modifierNumLock,modifierScrollLock,modifierSymbol,modifierSymbolLock}){assignProps(event,{altKey:!!altKey,ctrlKey:!!ctrlKey,metaKey:!!metaKey,shiftKey:!!shiftKey,getModifierState(k){return !!{Alt:altKey,AltGraph:modifierAltGraph,CapsLock:modifierCapsLock,Control:ctrlKey,Fn:modifierFn,FnLock:modifierFnLock,Meta:metaKey,NumLock:modifierNumLock,ScrollLock:modifierScrollLock,Shift:shiftKey,Symbol:modifierSymbol,SymbolLock:modifierSymbolLock}[k]}});}function initKeyboardEvent(event,{key,code,location,repeat,isComposing,charCode}){assignProps(event,{key:String(key),code:String(code),location:sanitizeNumber(location),repeat:!!repeat,isComposing:!!isComposing,charCode});}function initMouseEvent(event,{x,y:y2,screenX,screenY,clientX=x,clientY=y2,button,buttons,relatedTarget}){assignProps(event,{screenX:sanitizeNumber(screenX),screenY:sanitizeNumber(screenY),clientX:sanitizeNumber(clientX),x:sanitizeNumber(clientX),clientY:sanitizeNumber(clientY),y:sanitizeNumber(clientY),button:sanitizeNumber(button),buttons:sanitizeNumber(buttons),relatedTarget});}function initPointerEvent(event,{pointerId,width,height,pressure,tangentialPressure,tiltX,tiltY,twist,pointerType,isPrimary}){assignProps(event,{pointerId:sanitizeNumber(pointerId),width:sanitizeNumber(width),height:sanitizeNumber(height),pressure:sanitizeNumber(pressure),tangentialPressure:sanitizeNumber(tangentialPressure),tiltX:sanitizeNumber(tiltX),tiltY:sanitizeNumber(tiltY),twist:sanitizeNumber(twist),pointerType:String(pointerType),isPrimary:!!isPrimary});}function dispatchUIEvent(target,type3,init,preventDefault=!1){(isMouseEvent(type3)||isKeyboardEvent(type3))&&(init={...init,...this.system.getUIEventModifiers()});let event=createEvent2(type3,target,init);return dispatchEvent.call(this,target,event,preventDefault)}function dispatchEvent(target,event,preventDefault=!1){var _behavior_type;let type3=event.type,behaviorImplementation=preventDefault?()=>{}:(_behavior_type=behavior[type3])===null||_behavior_type===void 0?void 0:_behavior_type.call(behavior,event,target,this);if(behaviorImplementation){event.preventDefault();let defaultPrevented=!1;return Object.defineProperty(event,\"defaultPrevented\",{get:()=>defaultPrevented}),Object.defineProperty(event,\"preventDefault\",{value:()=>{defaultPrevented=event.cancelable;}}),wrapEvent(()=>target.dispatchEvent(event)),defaultPrevented||behaviorImplementation(),!defaultPrevented}return wrapEvent(()=>target.dispatchEvent(event))}function dispatchDOMEvent(target,type3,init){let event=createEvent2(type3,target,init);wrapEvent(()=>target.dispatchEvent(event));}var Interceptor=Symbol(\"Interceptor for programmatical calls\");function prepareInterceptor(element,propName,interceptorImpl){let prototypeDescriptor=Object.getOwnPropertyDescriptor(element.constructor.prototype,propName),objectDescriptor=Object.getOwnPropertyDescriptor(element,propName),target=prototypeDescriptor?.set?\"set\":\"value\";if(typeof prototypeDescriptor?.[target]!=\"function\"||prototypeDescriptor[target][Interceptor])throw new Error(`Element ${element.tagName} does not implement \"${String(propName)}\".`);function intercept(...args){let{applyNative=!1,realArgs,then}=interceptorImpl.call(this,...args),realFunc=(!applyNative&&objectDescriptor||prototypeDescriptor)[target];target===\"set\"?realFunc.call(this,realArgs):realFunc.call(this,...realArgs),then?.();}intercept[Interceptor]=Interceptor,Object.defineProperty(element,propName,{...objectDescriptor??prototypeDescriptor,[target]:intercept});}function prepareValueInterceptor(element){prepareInterceptor(element,\"value\",function(v2){let isUI=isUIValue(v2);return isUI&&startTrackValue(this),{applyNative:!!isUI,realArgs:sanitizeValue(this,v2),then:isUI?void 0:()=>trackOrSetValue(this,String(v2))}});}function sanitizeValue(element,v2){return isElementType(element,\"input\",{type:\"number\"})&&String(v2)!==\"\"&&!Number.isNaN(Number(v2))?String(Number(v2)):String(v2)}function prepareSelectionInterceptor(element){prepareInterceptor(element,\"setSelectionRange\",function(start,...others){let isUI=isUISelectionStart(start);return {applyNative:!!isUI,realArgs:[Number(start),...others],then:()=>isUI?void 0:setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionStart\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"selectionEnd\",function(v2){return {realArgs:v2,then:()=>setUISelectionClean(element)}}),prepareInterceptor(element,\"select\",function(){return {realArgs:[],then:()=>setUISelectionRaw(element,{anchorOffset:0,focusOffset:getUIValue(element).length})}});}function prepareRangeTextInterceptor(element){prepareInterceptor(element,\"setRangeText\",function(...realArgs){return {realArgs,then:()=>{setUIValueClean(element),setUISelectionClean(element);}}});}var isPrepared=Symbol(\"Node prepared with document state workarounds\");function prepareDocument(document2){document2[isPrepared]||(document2.addEventListener(\"focus\",e=>{let el=e.target;prepareElement(el);},{capture:!0,passive:!0}),document2.activeElement&&prepareElement(document2.activeElement),document2.addEventListener(\"blur\",e=>{let el=e.target,initialValue2=getInitialValue(el);initialValue2!==void 0&&(el.value!==initialValue2&&dispatchDOMEvent(el,\"change\"),clearInitialValue(el));},{capture:!0,passive:!0}),document2[isPrepared]=isPrepared);}function prepareElement(el){el[isPrepared]||(isElementType(el,[\"input\",\"textarea\"])&&(prepareValueInterceptor(el),prepareSelectionInterceptor(el),prepareRangeTextInterceptor(el)),el[isPrepared]=isPrepared);}function getDocumentFromNode(el){return isDocument2(el)?el:el.ownerDocument}function isDocument2(node){return node.nodeType===9}function wait(config3){let delay=config3.delay;if(typeof delay==\"number\")return Promise.all([new Promise(resolve=>globalThis.setTimeout(()=>resolve(),delay)),config3.advanceTimers(delay)])}function _define_property3(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var DOM_KEY_LOCATION;(function(DOM_KEY_LOCATION2){DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.STANDARD=0]=\"STANDARD\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.LEFT=1]=\"LEFT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.RIGHT=2]=\"RIGHT\",DOM_KEY_LOCATION2[DOM_KEY_LOCATION2.NUMPAD=3]=\"NUMPAD\";})(DOM_KEY_LOCATION||(DOM_KEY_LOCATION={}));var modifierKeys=[\"Alt\",\"AltGraph\",\"Control\",\"Fn\",\"Meta\",\"Shift\",\"Symbol\"];function isModifierKey(key){return modifierKeys.includes(key)}var modifierLocks=[\"CapsLock\",\"FnLock\",\"NumLock\",\"ScrollLock\",\"SymbolLock\"];function isModifierLock(key){return modifierLocks.includes(key)}var KeyboardHost=class{isKeyPressed(keyDef){return !!this.pressed[String(keyDef.code)]}getPressedKeys(){return Object.values(this.pressed).map(p2=>p2.keyDef)}async keydown(instance,keyDef){var _this_pressed,_code,_this_pressed_code;let key=String(keyDef.key),code=String(keyDef.code),target=getActiveElementOrBody(instance.config.document);this.setKeydownTarget(target);var _;(_=(_this_pressed=this.pressed)[_code=code])!==null&&_!==void 0||(_this_pressed[_code]={keyDef,unpreventedDefault:!1}),isModifierKey(key)&&(this.modifiers[key]=!0);let unprevented=instance.dispatchUIEvent(target,\"keydown\",{key,code});isModifierLock(key)&&!this.modifiers[key]&&(this.modifiers[key]=!0,this.modifierLockStart[key]=!0),(_this_pressed_code=this.pressed[code]).unpreventedDefault||(_this_pressed_code.unpreventedDefault=unprevented),unprevented&&this.hasKeyPress(key)&&instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keypress\",{key,code,charCode:keyDef.key===\"Enter\"?13:String(keyDef.key).charCodeAt(0)});}async keyup(instance,keyDef){let key=String(keyDef.key),code=String(keyDef.code),unprevented=this.pressed[code].unpreventedDefault;delete this.pressed[code],isModifierKey(key)&&!Object.values(this.pressed).find(p2=>p2.keyDef.key===key)&&(this.modifiers[key]=!1),instance.dispatchUIEvent(getActiveElementOrBody(instance.config.document),\"keyup\",{key,code},!unprevented),isModifierLock(key)&&this.modifiers[key]&&(this.modifierLockStart[key]?this.modifierLockStart[key]=!1:this.modifiers[key]=!1);}setKeydownTarget(target){target!==this.lastKeydownTarget&&(this.carryChar=\"\"),this.lastKeydownTarget=target;}hasKeyPress(key){return (key.length===1||key===\"Enter\")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(system){_define_property3(this,\"system\",void 0),_define_property3(this,\"modifiers\",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),_define_property3(this,\"pressed\",{}),_define_property3(this,\"carryChar\",\"\"),_define_property3(this,\"lastKeydownTarget\",void 0),_define_property3(this,\"modifierLockStart\",{}),this.system=system;}};var defaultKeyMap=[...\"0123456789\".split(\"\").map(c=>({code:`Digit${c}`,key:c})),...\")!@#$%^&*(\".split(\"\").map((c,i)=>({code:`Digit${i}`,key:c,shiftKey:!0})),...\"abcdefghijklmnopqrstuvwxyz\".split(\"\").map(c=>({code:`Key${c.toUpperCase()}`,key:c})),...\"ABCDEFGHIJKLMNOPQRSTUVWXYZ\".split(\"\").map(c=>({code:`Key${c}`,key:c,shiftKey:!0})),{code:\"Space\",key:\" \"},{code:\"AltLeft\",key:\"Alt\",location:DOM_KEY_LOCATION.LEFT},{code:\"AltRight\",key:\"Alt\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ShiftLeft\",key:\"Shift\",location:DOM_KEY_LOCATION.LEFT},{code:\"ShiftRight\",key:\"Shift\",location:DOM_KEY_LOCATION.RIGHT},{code:\"ControlLeft\",key:\"Control\",location:DOM_KEY_LOCATION.LEFT},{code:\"ControlRight\",key:\"Control\",location:DOM_KEY_LOCATION.RIGHT},{code:\"MetaLeft\",key:\"Meta\",location:DOM_KEY_LOCATION.LEFT},{code:\"MetaRight\",key:\"Meta\",location:DOM_KEY_LOCATION.RIGHT},{code:\"OSLeft\",key:\"OS\",location:DOM_KEY_LOCATION.LEFT},{code:\"OSRight\",key:\"OS\",location:DOM_KEY_LOCATION.RIGHT},{code:\"Tab\",key:\"Tab\"},{code:\"CapsLock\",key:\"CapsLock\"},{code:\"Backspace\",key:\"Backspace\"},{code:\"Enter\",key:\"Enter\"},{code:\"Escape\",key:\"Escape\"},{code:\"ArrowUp\",key:\"ArrowUp\"},{code:\"ArrowDown\",key:\"ArrowDown\"},{code:\"ArrowLeft\",key:\"ArrowLeft\"},{code:\"ArrowRight\",key:\"ArrowRight\"},{code:\"Home\",key:\"Home\"},{code:\"End\",key:\"End\"},{code:\"Delete\",key:\"Delete\"},{code:\"PageUp\",key:\"PageUp\"},{code:\"PageDown\",key:\"PageDown\"},{code:\"Fn\",key:\"Fn\"},{code:\"Symbol\",key:\"Symbol\"},{code:\"AltRight\",key:\"AltGraph\"}];var defaultKeyMap2=[{name:\"MouseLeft\",pointerType:\"mouse\",button:\"primary\"},{name:\"MouseRight\",pointerType:\"mouse\",button:\"secondary\"},{name:\"MouseMiddle\",pointerType:\"mouse\",button:\"auxiliary\"},{name:\"TouchA\",pointerType:\"touch\"},{name:\"TouchB\",pointerType:\"touch\"},{name:\"TouchC\",pointerType:\"touch\"}];function _define_property4(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Buttons=class{getButtons(){let v2=0;for(let button of Object.keys(this.pressed))v2|=2**Number(button);return v2}down(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed){this.pressed[button].push(keyDef);return}return this.pressed[button]=[keyDef],button}up(keyDef){let button=getMouseButtonId(keyDef.button);if(button in this.pressed&&(this.pressed[button]=this.pressed[button].filter(k=>k.name!==keyDef.name),this.pressed[button].length===0))return delete this.pressed[button],button}constructor(){_define_property4(this,\"pressed\",{});}},MouseButton={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function getMouseButtonId(button=0){return button in MouseButton?MouseButton[button]:Number(button)}var MouseButtonFlip={1:2,2:1};function getMouseEventButton(button){return button=getMouseButtonId(button),button in MouseButtonFlip?MouseButtonFlip[button]:button}function _define_property5(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Device=class{get countPressed(){return this.pressedKeys.size}isPressed(keyDef){return this.pressedKeys.has(keyDef.name)}addPressed(keyDef){return this.pressedKeys.add(keyDef.name)}removePressed(keyDef){return this.pressedKeys.delete(keyDef.name)}constructor(){_define_property5(this,\"pressedKeys\",new Set);}};function getTreeDiff(a,b2){let treeA=[];for(let el=a;el;el=el.parentElement)treeA.push(el);let treeB=[];for(let el=b2;el;el=el.parentElement)treeB.push(el);let i=0;for(;!(i>=treeA.length||i>=treeB.length||treeA[treeA.length-1-i]!==treeB[treeB.length-1-i]);i++);return [treeA.slice(0,treeA.length-i),treeB.slice(0,treeB.length-i),treeB.slice(treeB.length-i)]}function resolveCaretPosition({target,node,offset}){return hasOwnSelection(target)?{node:target,offset:offset??getUIValue(target).length}:node?{node,offset:offset??(node.nodeType===3?node.nodeValue.length:node.childNodes.length)}:findNodeAtTextOffset(target,offset)}function findNodeAtTextOffset(node,offset,isRoot=!0){let i=offset===void 0?node.childNodes.length-1:0,step=offset===void 0?-1:1;for(;offset===void 0?i>=(isRoot?Math.max(node.childNodes.length-1,0):0):i<=node.childNodes.length;){if(offset&&i===node.childNodes.length)throw new Error(\"The given offset is out of bounds.\");let c=node.childNodes.item(i),text=String(c.textContent);if(text.length)if(offset!==void 0&&text.lengthselectionRange.end||selectionFocus.offset0&&range.setEnd(selectionFocus.node,selectionFocus.offset);let selection=document2.getSelection();selection?.removeAllRanges(),selection?.addRange(range.cloneRange());}}function isDifferentPointerPosition(positionA,positionB){var _positionA_coords,_positionB_coords,_positionA_coords1,_positionB_coords1,_positionA_caret,_positionB_caret,_positionA_caret1,_positionB_caret1;return positionA.target!==positionB.target||((_positionA_coords=positionA.coords)===null||_positionA_coords===void 0?void 0:_positionA_coords.x)!==((_positionB_coords=positionB.coords)===null||_positionB_coords===void 0?void 0:_positionB_coords.y)||((_positionA_coords1=positionA.coords)===null||_positionA_coords1===void 0?void 0:_positionA_coords1.y)!==((_positionB_coords1=positionB.coords)===null||_positionB_coords1===void 0?void 0:_positionB_coords1.y)||((_positionA_caret=positionA.caret)===null||_positionA_caret===void 0?void 0:_positionA_caret.node)!==((_positionB_caret=positionB.caret)===null||_positionB_caret===void 0?void 0:_positionB_caret.node)||((_positionA_caret1=positionA.caret)===null||_positionA_caret1===void 0?void 0:_positionA_caret1.offset)!==((_positionB_caret1=positionB.caret)===null||_positionB_caret1===void 0?void 0:_positionB_caret1.offset)}function _define_property6(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Mouse=class{move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(\"mousemove\"),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"mouseout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"mouseleave\",init)));},enter:()=>{prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"mouseover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"mouseenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"mousemove\",init),this.modifySelecting(instance);}}}down(instance,keyDef,pointer3){let button=this.buttons.down(keyDef);if(button===void 0)return;let target=this.getTarget(instance);this.buttonDownTarget[button]=target;let disabled=isDisabled2(target),init=this.getEventInit(\"mousedown\",keyDef.button);(disabled||instance.dispatchUIEvent(target,\"mousedown\",init))&&(this.startSelecting(instance,init.detail),focusElement(target)),!disabled&&getMouseEventButton(keyDef.button)===2&&instance.dispatchUIEvent(target,\"contextmenu\",this.getEventInit(\"contextmenu\",keyDef.button,pointer3));}up(instance,keyDef,pointer3){let button=this.buttons.up(keyDef);if(button===void 0)return;let target=this.getTarget(instance);if(!isDisabled2(target)){instance.dispatchUIEvent(target,\"mouseup\",this.getEventInit(\"mouseup\",keyDef.button)),this.endSelecting();let clickTarget=getTreeDiff(this.buttonDownTarget[button],target)[2][0];if(clickTarget){let init=this.getEventInit(\"click\",keyDef.button,pointer3);init.detail&&(instance.dispatchUIEvent(clickTarget,init.button===0?\"click\":\"auxclick\",init),init.button===0&&init.detail===2&&instance.dispatchUIEvent(clickTarget,\"dblclick\",{...this.getEventInit(\"dblclick\",keyDef.button),detail:init.detail}));}}}resetClickCount(){this.clickCount.reset();}getEventInit(type3,button,pointer3){let init={...this.position.coords};return pointer3&&(init.pointerId=pointer3.pointerId,init.pointerType=pointer3.pointerType,init.isPrimary=pointer3.isPrimary),init.button=getMouseEventButton(button),init.buttons=this.buttons.getButtons(),type3===\"mousedown\"?init.detail=this.clickCount.getOnDown(init.button):type3===\"mouseup\"?init.detail=this.clickCount.getOnUp(init.button):(type3===\"click\"||type3===\"auxclick\")&&(init.detail=this.clickCount.incOnClick(init.button)),init}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}startSelecting(instance,clickCount){var _this_position_caret,_this_position_caret1;this.selecting=setSelectionPerMouseDown({document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset,clickCount});}modifySelecting(instance){var _this_position_caret,_this_position_caret1;this.selecting&&modifySelectionPerMouseMove(this.selecting,{document:instance.config.document,target:this.getTarget(instance),node:(_this_position_caret=this.position.caret)===null||_this_position_caret===void 0?void 0:_this_position_caret.node,offset:(_this_position_caret1=this.position.caret)===null||_this_position_caret1===void 0?void 0:_this_position_caret1.offset});}endSelecting(){this.selecting=void 0;}constructor(){_define_property6(this,\"position\",{}),_define_property6(this,\"buttons\",new Buttons),_define_property6(this,\"selecting\",void 0),_define_property6(this,\"buttonDownTarget\",{}),_define_property6(this,\"clickCount\",new class{incOnClick(button){let current=this.down[button]===void 0?void 0:Number(this.down[button])+1;return this.count=this.count[button]===void 0?{}:{[button]:Number(this.count[button])+1},current}getOnDown(button){var _this_count_button;this.down={[button]:(_this_count_button=this.count[button])!==null&&_this_count_button!==void 0?_this_count_button:0};var _this_count_button1;return this.count={[button]:(_this_count_button1=this.count[button])!==null&&_this_count_button1!==void 0?_this_count_button1:0},Number(this.count[button])+1}getOnUp(button){return this.down[button]===void 0?void 0:Number(this.down[button])+1}reset(){this.count={};}constructor(){_define_property6(this,\"down\",{}),_define_property6(this,\"count\",{});}});}};function hasPointerEvents(instance,element){var _checkPointerEvents;return ((_checkPointerEvents=checkPointerEvents(instance,element))===null||_checkPointerEvents===void 0?void 0:_checkPointerEvents.pointerEvents)!==\"none\"}function closestPointerEventsDeclaration(element){let window2=getWindow(element);for(let el=element,tree=[];el?.ownerDocument;el=el.parentElement){tree.push(el);let pointerEvents=window2.getComputedStyle(el).pointerEvents;if(pointerEvents&&![\"inherit\",\"unset\"].includes(pointerEvents))return {pointerEvents,tree}}}var PointerEventsCheck=Symbol(\"Last check for pointer-events\");function checkPointerEvents(instance,element){let lastCheck=element[PointerEventsCheck];if(!(instance.config.pointerEventsCheck!==PointerEventsCheckLevel.Never&&(!lastCheck||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachApiCall)&&lastCheck[ApiLevel.Call]!==getLevelRef(instance,ApiLevel.Call)||hasBitFlag(instance.config.pointerEventsCheck,PointerEventsCheckLevel.EachTrigger)&&lastCheck[ApiLevel.Trigger]!==getLevelRef(instance,ApiLevel.Trigger))))return lastCheck?.result;let declaration=closestPointerEventsDeclaration(element);return element[PointerEventsCheck]={[ApiLevel.Call]:getLevelRef(instance,ApiLevel.Call),[ApiLevel.Trigger]:getLevelRef(instance,ApiLevel.Trigger),result:declaration},declaration}function assertPointerEvents(instance,element){let declaration=checkPointerEvents(instance,element);if(declaration?.pointerEvents===\"none\")throw new Error([`Unable to perform pointer interaction as the element ${declaration.tree.length>1?\"inherits\":\"has\"} \\`pointer-events: none\\`:`,\"\",printTree(declaration.tree)].join(`\n`))}function printTree(tree){return tree.reverse().map((el,i)=>[\"\".padEnd(i),el.tagName,el.id&&`#${el.id}`,el.hasAttribute(\"data-testid\")&&`(testId=${el.getAttribute(\"data-testid\")})`,getLabelDescr(el),tree.length>1&&i===0&&\" <-- This element declared `pointer-events: none`\",tree.length>1&&i===tree.length-1&&\" <-- Asserted pointer events here\"].filter(Boolean).join(\"\")).join(`\n`)}function getLabelDescr(element){var _element_labels;let label;if(element.hasAttribute(\"aria-label\"))label=element.getAttribute(\"aria-label\");else if(element.hasAttribute(\"aria-labelledby\")){var _element_ownerDocument_getElementById_textContent,_element_ownerDocument_getElementById;label=(_element_ownerDocument_getElementById=element.ownerDocument.getElementById(element.getAttribute(\"aria-labelledby\")))===null||_element_ownerDocument_getElementById===void 0||(_element_ownerDocument_getElementById_textContent=_element_ownerDocument_getElementById.textContent)===null||_element_ownerDocument_getElementById_textContent===void 0?void 0:_element_ownerDocument_getElementById_textContent.trim();}else if(isElementType(element,[\"button\",\"input\",\"meter\",\"output\",\"progress\",\"select\",\"textarea\"])&&(!((_element_labels=element.labels)===null||_element_labels===void 0)&&_element_labels.length))label=Array.from(element.labels).map(el=>{var _el_textContent;return (_el_textContent=el.textContent)===null||_el_textContent===void 0?void 0:_el_textContent.trim()}).join(\"|\");else if(isElementType(element,\"button\")){var _element_textContent;label=(_element_textContent=element.textContent)===null||_element_textContent===void 0?void 0:_element_textContent.trim();}return label=label?.replace(/\\n/g,\" \"),Number(label?.length)>30&&(label=`${label?.substring(0,29)}\\u2026`),label?`(label=${label})`:\"\"}function hasBitFlag(conf,flag){return (conf&flag)>0}function _define_property7(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var Pointer=class{init(instance,position){this.position=position;let target=this.getTarget(instance),[,enter]=getTreeDiff(null,target),init=this.getEventInit();return assertPointerEvents(instance,target),instance.dispatchUIEvent(target,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)),this}move(instance,position){let prevPosition=this.position,prevTarget=this.getTarget(instance);if(this.position=position,!isDifferentPointerPosition(prevPosition,position))return;let nextTarget=this.getTarget(instance),init=this.getEventInit(),[leave,enter]=getTreeDiff(prevTarget,nextTarget);return {leave:()=>{hasPointerEvents(instance,prevTarget)&&prevTarget!==nextTarget&&(instance.dispatchUIEvent(prevTarget,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init)));},enter:()=>{assertPointerEvents(instance,nextTarget),prevTarget!==nextTarget&&(instance.dispatchUIEvent(nextTarget,\"pointerover\",init),enter.forEach(el=>instance.dispatchUIEvent(el,\"pointerenter\",init)));},move:()=>{instance.dispatchUIEvent(nextTarget,\"pointermove\",init);}}}down(instance,_keyDef){if(this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!0,this.isPrevented=!instance.dispatchUIEvent(target,\"pointerdown\",this.getEventInit());}up(instance,_keyDef){if(!this.isDown)return;let target=this.getTarget(instance);assertPointerEvents(instance,target),this.isDown=!1,instance.dispatchUIEvent(target,\"pointerup\",this.getEventInit());}release(instance){let target=this.getTarget(instance),[leave]=getTreeDiff(target,null),init=this.getEventInit();hasPointerEvents(instance,target)&&(instance.dispatchUIEvent(target,\"pointerout\",init),leave.forEach(el=>instance.dispatchUIEvent(el,\"pointerleave\",init))),this.isCancelled=!0;}getTarget(instance){var _this_position_target;return (_this_position_target=this.position.target)!==null&&_this_position_target!==void 0?_this_position_target:instance.config.document.body}getEventInit(){return {...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId,pointerType,isPrimary}){_define_property7(this,\"pointerId\",void 0),_define_property7(this,\"pointerType\",void 0),_define_property7(this,\"isPrimary\",void 0),_define_property7(this,\"isMultitouch\",!1),_define_property7(this,\"isCancelled\",!1),_define_property7(this,\"isDown\",!1),_define_property7(this,\"isPrevented\",!1),_define_property7(this,\"position\",{}),this.pointerId=pointerId,this.pointerType=pointerType,this.isPrimary=isPrimary,this.isMultitouch=!isPrimary;}};function _define_property8(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var PointerHost=class{isKeyPressed(keyDef){return this.devices.get(keyDef.pointerType).isPressed(keyDef)}async press(instance,keyDef,position){let pointerName=this.getPointerName(keyDef),pointer3=keyDef.pointerType===\"touch\"?this.pointers.new(pointerName,keyDef).init(instance,position):this.pointers.get(pointerName);pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),this.devices.get(keyDef.pointerType).addPressed(keyDef),this.buttons.down(keyDef),pointer3.down(instance,keyDef),pointer3.pointerType!==\"touch\"&&!pointer3.isPrevented&&this.mouse.down(instance,keyDef,pointer3);}async move(instance,pointerName,position){let pointer3=this.pointers.get(pointerName),pointermove=pointer3.move(instance,position),mousemove=pointer3.pointerType===\"touch\"||pointer3.isPrevented&&pointer3.isDown?void 0:this.mouse.move(instance,position);pointermove?.leave(),mousemove?.leave(),pointermove?.enter(),mousemove?.enter(),pointermove?.move(),mousemove?.move();}async release(instance,keyDef,position){let device=this.devices.get(keyDef.pointerType);device.removePressed(keyDef),this.buttons.up(keyDef);let pointer3=this.pointers.get(this.getPointerName(keyDef));if(pointer3.position=position,pointer3.pointerType!==\"touch\"&&(this.mouse.position=position),device.countPressed===0&&pointer3.up(instance,keyDef),pointer3.pointerType===\"touch\"&&pointer3.release(instance),!pointer3.isPrevented){if(pointer3.pointerType===\"touch\"&&!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.down(instance,keyDef,pointer3);}if(!pointer3.isMultitouch){let mousemove=this.mouse.move(instance,pointer3.position);mousemove?.leave(),mousemove?.enter(),mousemove?.move(),this.mouse.up(instance,keyDef,pointer3);}}}getPointerName(keyDef){return keyDef.pointerType===\"touch\"?keyDef.name:keyDef.pointerType}getPreviousPosition(pointerName){return this.pointers.has(pointerName)?this.pointers.get(pointerName).position:void 0}resetClickCount(){this.mouse.resetClickCount();}getMouseTarget(instance){var _this_mouse_position_target;return (_this_mouse_position_target=this.mouse.position.target)!==null&&_this_mouse_position_target!==void 0?_this_mouse_position_target:instance.config.document.body}setMousePosition(position){this.mouse.position=position,this.pointers.get(\"mouse\").position=position;}constructor(system){_define_property8(this,\"system\",void 0),_define_property8(this,\"mouse\",void 0),_define_property8(this,\"buttons\",void 0),_define_property8(this,\"devices\",new class{get(k){var _this_registry,_k,_;return (_=(_this_registry=this.registry)[_k=k])!==null&&_!==void 0||(_this_registry[_k]=new Device),this.registry[k]}constructor(){_define_property8(this,\"registry\",{});}}),_define_property8(this,\"pointers\",new class{new(pointerName,keyDef){let isPrimary=keyDef.pointerType!==\"touch\"||!Object.values(this.registry).some(p2=>p2.pointerType===\"touch\"&&!p2.isCancelled);return isPrimary||Object.values(this.registry).forEach(p2=>{p2.pointerType===keyDef.pointerType&&!p2.isCancelled&&(p2.isMultitouch=!0);}),this.registry[pointerName]=new Pointer({pointerId:this.nextId++,pointerType:keyDef.pointerType,isPrimary}),this.registry[pointerName]}get(pointerName){if(!this.has(pointerName))throw new Error(`Trying to access pointer \"${pointerName}\" which does not exist.`);return this.registry[pointerName]}has(pointerName){return pointerName in this.registry}constructor(){_define_property8(this,\"registry\",{mouse:new Pointer({pointerId:1,pointerType:\"mouse\",isPrimary:!0})}),_define_property8(this,\"nextId\",2);}}),this.system=system,this.buttons=new Buttons,this.mouse=new Mouse;}};function _define_property9(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}var System=class{getUIEventModifiers(){return {altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){_define_property9(this,\"keyboard\",new KeyboardHost(this)),_define_property9(this,\"pointer\",new PointerHost(this));}};async function click(element){let pointerIn=[];return this.config.skipHover||pointerIn.push({target:element}),pointerIn.push({keys:\"[MouseLeft]\",target:element}),this.pointer(pointerIn)}async function dblClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft]\"])}async function tripleClick(element){return this.pointer([{target:element},\"[MouseLeft][MouseLeft][MouseLeft]\"])}async function hover(element){return this.pointer({target:element})}async function unhover(element){return assertPointerEvents(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:element.ownerDocument.body})}async function tab({shift}={}){return this.keyboard(shift===!0?\"{Shift>}{Tab}{/Shift}\":shift===!1?\"[/ShiftLeft][/ShiftRight]{Tab}\":\"{Tab}\")}function parseKeyDef(keyboardMap,text){let defs=[];do{let{type:type3,descriptor,consumedLength,releasePrevious,releaseSelf=!0,repeat}=readNextDescriptor(text,\"keyboard\");var _keyboardMap_find;let keyDef=(_keyboardMap_find=keyboardMap.find(def=>{if(type3===\"[\"){var _def_code;return ((_def_code=def.code)===null||_def_code===void 0?void 0:_def_code.toLowerCase())===descriptor.toLowerCase()}else if(type3===\"{\"){var _def_key;return ((_def_key=def.key)===null||_def_key===void 0?void 0:_def_key.toLowerCase())===descriptor.toLowerCase()}return def.key===descriptor}))!==null&&_keyboardMap_find!==void 0?_keyboardMap_find:{key:\"Unknown\",code:\"Unknown\",[type3===\"[\"?\"code\":\"key\"]:descriptor};defs.push({keyDef,releasePrevious,releaseSelf,repeat}),text=text.slice(consumedLength);}while(text);return defs}async function keyboard(text){let actions=parseKeyDef(this.config.keyboardMap,text);for(let i=0;i{throw new Error(\"`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.\")});this.dispatchUIEvent(target,\"paste\",{clipboardData:dataTransfer});}function getClipboardDataFromString(doc,text){let dt=createDataTransfer(getWindow(doc));return dt.setData(\"text\",text),dt}function parseKeyDef2(pointerMap,keys2){let defs=[];do{let{descriptor,consumedLength,releasePrevious,releaseSelf=!0}=readNextDescriptor(keys2,\"pointer\"),keyDef=pointerMap.find(p2=>p2.name===descriptor);keyDef&&defs.push({keyDef,releasePrevious,releaseSelf}),keys2=keys2.slice(consumedLength);}while(keys2);return defs}async function pointer(input2){let{pointerMap}=this.config,actions=[];(Array.isArray(input2)?input2:[input2]).forEach(actionInput=>{typeof actionInput==\"string\"?actions.push(...parseKeyDef2(pointerMap,actionInput)):\"keys\"in actionInput?actions.push(...parseKeyDef2(pointerMap,actionInput.keys).map(i=>({...actionInput,...i}))):actions.push(actionInput);});for(let i=0;i{if(typeof val!=\"string\"&&allOptions.includes(val))return val;{let matchingOption=allOptions.find(o=>o.value===val||o.innerHTML===val);if(matchingOption)return matchingOption;throw getConfig().getElementError(`Value \"${String(val)}\" not found in options`,select)}}).filter(option=>!isDisabled2(option));if(isDisabled2(select)||!selectedOptions.length)return;let selectOption=option=>{option.selected=newValue,this.dispatchUIEvent(select,\"input\",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(select,\"change\");};if(isElementType(select,\"select\"))if(select.multiple)for(let option of selectedOptions){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,option);withPointerEvents&&(this.dispatchUIEvent(option,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(option,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(option,\"pointermove\"),this.dispatchUIEvent(option,\"mousemove\"),this.dispatchUIEvent(option,\"pointerdown\"),this.dispatchUIEvent(option,\"mousedown\")),focusElement(select),withPointerEvents&&(this.dispatchUIEvent(option,\"pointerup\"),this.dispatchUIEvent(option,\"mouseup\")),selectOption(option),withPointerEvents&&this.dispatchUIEvent(option,\"click\"),await wait(this.config);}else if(selectedOptions.length===1){let withPointerEvents=this.config.pointerEventsCheck===0?!0:hasPointerEvents(this,select);withPointerEvents?await this.click(select):focusElement(select),selectOption(selectedOptions[0]),withPointerEvents&&(this.dispatchUIEvent(select,\"pointerover\"),this.dispatchUIEvent(select,\"pointerenter\"),this.dispatchUIEvent(select,\"mouseover\"),this.dispatchUIEvent(select,\"mouseenter\"),this.dispatchUIEvent(select,\"pointerup\"),this.dispatchUIEvent(select,\"mouseup\"),this.dispatchUIEvent(select,\"click\")),await wait(this.config);}else throw getConfig().getElementError(\"Cannot select multiple options on a non-multiple select\",select);else if(select.getAttribute(\"role\")===\"listbox\")for(let option of selectedOptions)await this.click(option),await this.unhover(option);else throw getConfig().getElementError(\"Cannot select options on elements that are neither select nor listbox elements\",select)}async function type(element,text,{skipClick=this.config.skipClick,skipAutoClose=this.config.skipAutoClose,initialSelectionStart,initialSelectionEnd}={}){element.disabled||(skipClick||await this.click(element),initialSelectionStart!==void 0&&setSelectionRange(element,initialSelectionStart,initialSelectionEnd??initialSelectionStart),await this.keyboard(text),skipAutoClose||await releaseAllKeys(this));}var fakeFiles=Symbol(\"files and value properties are mocked\");function restoreProperty(obj,prop,descriptor){descriptor?Object.defineProperty(obj,prop,descriptor):delete obj[prop];}function setFiles(el,files){var _el_fakeFiles;(_el_fakeFiles=el[fakeFiles])===null||_el_fakeFiles===void 0||_el_fakeFiles.restore();let typeDescr=Object.getOwnPropertyDescriptor(el,\"type\"),valueDescr=Object.getOwnPropertyDescriptor(el,\"value\"),filesDescr=Object.getOwnPropertyDescriptor(el,\"files\");function restore(){restoreProperty(el,\"type\",typeDescr),restoreProperty(el,\"value\",valueDescr),restoreProperty(el,\"files\",filesDescr);}el[fakeFiles]={restore},Object.defineProperties(el,{files:{configurable:!0,get:()=>files},value:{configurable:!0,get:()=>files.length?`C:\\\\fakepath\\\\${files[0].name}`:\"\",set(v2){if(v2===\"\")restore();else {var _valueDescr_set;valueDescr==null||(_valueDescr_set=valueDescr.set)===null||_valueDescr_set===void 0||_valueDescr_set.call(el,v2);}}},type:{configurable:!0,get:()=>\"file\",set(v2){v2!==\"file\"&&(restore(),el.type=v2);}}});}async function upload(element,fileOrFiles){let input2=isElementType(element,\"label\")?element.control:element;if(!input2||!isElementType(input2,\"input\",{type:\"file\"}))throw new TypeError(`The ${input2===element?\"given\":\"associated\"} ${input2?.tagName} element does not accept file uploads`);if(isDisabled2(element))return;let files=(Array.isArray(fileOrFiles)?fileOrFiles:[fileOrFiles]).filter(file=>!this.config.applyAccept||isAcceptableFile(file,input2.accept)).slice(0,input2.multiple?void 0:1),fileDialog=()=>{var _input_files;files.length===((_input_files=input2.files)===null||_input_files===void 0?void 0:_input_files.length)&&files.every((f,i)=>{var _input_files2;return f===((_input_files2=input2.files)===null||_input_files2===void 0?void 0:_input_files2.item(i))})||(setFiles(input2,createFileList(getWindow(element),files)),this.dispatchUIEvent(input2,\"input\"),this.dispatchUIEvent(input2,\"change\"));};input2.addEventListener(\"fileDialog\",fileDialog),await this.click(element),input2.removeEventListener(\"fileDialog\",fileDialog);}function isAcceptableFile(file,accept){if(!accept)return !0;let wildcards=[\"audio/*\",\"image/*\",\"video/*\"];return accept.split(\",\").some(acceptToken=>acceptToken.startsWith(\".\")?file.name.endsWith(acceptToken):wildcards.includes(acceptToken)?file.type.startsWith(acceptToken.substr(0,acceptToken.length-1)):file.type===acceptToken)}var userEventApi={click,dblClick,tripleClick,hover,unhover,tab,keyboard,copy,cut,paste,pointer,clear,deselectOptions,selectOptions,type,upload};function wrapAsync(implementation){return getConfig().asyncWrapper(implementation)}var defaultOptionsDirect={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:defaultKeyMap,pointerMap:defaultKeyMap2,pointerEventsCheck:PointerEventsCheckLevel.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},defaultOptionsSetup={...defaultOptionsDirect,writeToClipboard:!0};function createConfig(options={},defaults=defaultOptionsSetup,node){let document2=getDocument2(options,node,defaults);return {...defaults,...options,document:document2}}function setupMain(options={}){let config3=createConfig(options);prepareDocument(config3.document);var _config_document_defaultView;let view=(_config_document_defaultView=config3.document.defaultView)!==null&&_config_document_defaultView!==void 0?_config_document_defaultView:globalThis.window;return attachClipboardStubToView(view),createInstance(config3).api}function setupDirect({keyboardState,pointerState,...options}={},node){let config3=createConfig(options,defaultOptionsDirect,node);prepareDocument(config3.document);var _ref;let system=(_ref=pointerState??keyboardState)!==null&&_ref!==void 0?_ref:new System;return {api:createInstance(config3,system).api,system}}function setupSub(options){return createInstance({...this.config,...options},this.system).api}function wrapAndBindImpl(instance,impl){function method(...args){return setLevelRef(instance,ApiLevel.Call),wrapAsync(()=>impl.apply(instance,args).then(async ret=>(await wait(instance.config),ret)))}return Object.defineProperty(method,\"name\",{get:()=>impl.name}),method}function createInstance(config3,system=new System){let instance={};return Object.assign(instance,{config:config3,dispatchEvent:dispatchEvent.bind(instance),dispatchUIEvent:dispatchUIEvent.bind(instance),system,levelRefs:{},...userEventApi}),{instance,api:{...Object.fromEntries(Object.entries(userEventApi).map(([name,api])=>[name,wrapAndBindImpl(instance,api)])),setup:setupSub.bind(instance)}}}function getDocument2(options,node,defaults){var _options_document,_ref;return (_ref=(_options_document=options.document)!==null&&_options_document!==void 0?_options_document:node&&getDocumentFromNode(node))!==null&&_ref!==void 0?_ref:defaults.document}var directApi_exports={};__export(directApi_exports,{clear:()=>clear2,click:()=>click2,copy:()=>copy2,cut:()=>cut2,dblClick:()=>dblClick2,deselectOptions:()=>deselectOptions2,hover:()=>hover2,keyboard:()=>keyboard2,paste:()=>paste2,pointer:()=>pointer2,selectOptions:()=>selectOptions2,tab:()=>tab2,tripleClick:()=>tripleClick2,type:()=>type2,unhover:()=>unhover2,upload:()=>upload2});function clear2(element){return setupDirect().api.clear(element)}function click2(element,options={}){return setupDirect(options,element).api.click(element)}function copy2(options={}){return setupDirect(options).api.copy()}function cut2(options={}){return setupDirect(options).api.cut()}function dblClick2(element,options={}){return setupDirect(options).api.dblClick(element)}function deselectOptions2(select,values,options={}){return setupDirect(options).api.deselectOptions(select,values)}function hover2(element,options={}){return setupDirect(options).api.hover(element)}async function keyboard2(text,options={}){let{api,system}=setupDirect(options);return api.keyboard(text).then(()=>system)}async function pointer2(input2,options={}){let{api,system}=setupDirect(options);return api.pointer(input2).then(()=>system)}function paste2(clipboardData,options){return setupDirect(options).api.paste(clipboardData)}function selectOptions2(select,values,options={}){return setupDirect(options).api.selectOptions(select,values)}function tripleClick2(element,options={}){return setupDirect(options).api.tripleClick(element)}function type2(element,text,options={}){return setupDirect(options,element).api.type(element,text,options)}function unhover2(element,options={}){let{api,system}=setupDirect(options);return system.pointer.setMousePosition({target:element}),api.unhover(element)}function upload2(element,fileOrFiles,options={}){return setupDirect(options).api.upload(element,fileOrFiles)}function tab2(options={}){return setupDirect().api.tab(options)}var userEvent={...directApi_exports,setup:setupMain};function dedent(templ){for(var values=[],_i=1;_ipath[0]===\"fireEvent\"||method.startsWith(\"find\")||method.startsWith(\"waitFor\")});testingLibrary.screen=new Proxy(testingLibrary.screen,{get(target,prop,receiver){return once.warn(esm_default`\n You are using Testing Library's \\`screen\\` object. Use \\`within(canvasElement)\\` instead.\n More info: https://storybook.js.org/docs/react/essentials/interactions\n `),Reflect.get(target,prop,receiver)}});var {buildQueries:buildQueries2,configure:configure2,createEvent:createEvent3,fireEvent:fireEvent2,findAllByAltText:findAllByAltText2,findAllByDisplayValue:findAllByDisplayValue2,findAllByLabelText:findAllByLabelText2,findAllByPlaceholderText:findAllByPlaceholderText2,findAllByRole:findAllByRole2,findAllByTestId:findAllByTestId2,findAllByText:findAllByText2,findAllByTitle:findAllByTitle2,findByAltText:findByAltText2,findByDisplayValue:findByDisplayValue2,findByLabelText:findByLabelText2,findByPlaceholderText:findByPlaceholderText2,findByRole:findByRole2,findByTestId:findByTestId2,findByText:findByText2,findByTitle:findByTitle2,getAllByAltText:getAllByAltText2,getAllByDisplayValue:getAllByDisplayValue2,getAllByLabelText:getAllByLabelText2,getAllByPlaceholderText:getAllByPlaceholderText2,getAllByRole:getAllByRole2,getAllByTestId:getAllByTestId2,getAllByText:getAllByText2,getAllByTitle:getAllByTitle2,getByAltText:getByAltText2,getByDisplayValue:getByDisplayValue2,getByLabelText:getByLabelText2,getByPlaceholderText:getByPlaceholderText2,getByRole:getByRole2,getByTestId:getByTestId2,getByText:getByText2,getByTitle:getByTitle2,getConfig:getConfig2,getDefaultNormalizer:getDefaultNormalizer2,getElementError:getElementError2,getNodeText:getNodeText2,getQueriesForElement:getQueriesForElement2,getRoles:getRoles2,getSuggestedQuery:getSuggestedQuery2,isInaccessible:isInaccessible2,logDOM:logDOM2,logRoles:logRoles2,prettyDOM:prettyDOM2,queries:queries2,queryAllByAltText:queryAllByAltText2,queryAllByAttribute:queryAllByAttribute2,queryAllByDisplayValue:queryAllByDisplayValue2,queryAllByLabelText:queryAllByLabelText2,queryAllByPlaceholderText:queryAllByPlaceholderText2,queryAllByRole:queryAllByRole2,queryAllByTestId:queryAllByTestId2,queryAllByText:queryAllByText2,queryAllByTitle:queryAllByTitle2,queryByAltText:queryByAltText2,queryByAttribute:queryByAttribute2,queryByDisplayValue:queryByDisplayValue2,queryByLabelText:queryByLabelText2,queryByPlaceholderText:queryByPlaceholderText2,queryByRole:queryByRole2,queryByTestId:queryByTestId2,queryByText:queryByText2,queryByTitle:queryByTitle2,queryHelpers:queryHelpers2,screen:screen2,waitFor:waitFor2,waitForElementToBeRemoved:waitForElementToBeRemoved2,within,prettyFormat:prettyFormat2}=testingLibrary,{userEvent:userEvent2}=instrument({userEvent},{intercept:!0});var {expect:expect3}=instrument({expect:expect2},{getKeys:(obj,depth)=>{let privateApi=[\"assert\",\"__methods\",\"__flags\",\"_obj\"];if(obj.constructor===chai_default.Assertion){let keys2=Object.keys(Object.getPrototypeOf(obj)).filter(it=>!privateApi.includes(it));return depth>2?keys2:[...keys2,\"not\"]}return Object.keys(obj)},intercept:method=>method!==\"expect\"}),resetAllMocksLoader=({parameters})=>{parameters?.test?.mockReset===!0?resetAllMocks():parameters?.test?.clearMocks===!0?clearAllMocks():parameters?.test?.restoreMocks!==!1&&restoreAllMocks();};scope.__STORYBOOK_TEST_LOADERS__=[resetAllMocksLoader];\n\nexport { buildQueries2 as buildQueries, clearAllMocks, configure2 as configure, createEvent3 as createEvent, expect3 as expect, findAllByAltText2 as findAllByAltText, findAllByDisplayValue2 as findAllByDisplayValue, findAllByLabelText2 as findAllByLabelText, findAllByPlaceholderText2 as findAllByPlaceholderText, findAllByRole2 as findAllByRole, findAllByTestId2 as findAllByTestId, findAllByText2 as findAllByText, findAllByTitle2 as findAllByTitle, findByAltText2 as findByAltText, findByDisplayValue2 as findByDisplayValue, findByLabelText2 as findByLabelText, findByPlaceholderText2 as findByPlaceholderText, findByRole2 as findByRole, findByTestId2 as findByTestId, findByText2 as findByText, findByTitle2 as findByTitle, fireEvent2 as fireEvent, fn, getAllByAltText2 as getAllByAltText, getAllByDisplayValue2 as getAllByDisplayValue, getAllByLabelText2 as getAllByLabelText, getAllByPlaceholderText2 as getAllByPlaceholderText, getAllByRole2 as getAllByRole, getAllByTestId2 as getAllByTestId, getAllByText2 as getAllByText, getAllByTitle2 as getAllByTitle, getByAltText2 as getByAltText, getByDisplayValue2 as getByDisplayValue, getByLabelText2 as getByLabelText, getByPlaceholderText2 as getByPlaceholderText, getByRole2 as getByRole, getByTestId2 as getByTestId, getByText2 as getByText, getByTitle2 as getByTitle, getConfig2 as getConfig, getDefaultNormalizer2 as getDefaultNormalizer, getElementError2 as getElementError, getNodeText2 as getNodeText, getQueriesForElement2 as getQueriesForElement, getRoles2 as getRoles, getSuggestedQuery2 as getSuggestedQuery, isInaccessible2 as isInaccessible, isMockFunction, logDOM2 as logDOM, logRoles2 as logRoles, mocked, mocks, prettyDOM2 as prettyDOM, prettyFormat2 as prettyFormat, queries2 as queries, queryAllByAltText2 as queryAllByAltText, queryAllByAttribute2 as queryAllByAttribute, queryAllByDisplayValue2 as queryAllByDisplayValue, queryAllByLabelText2 as queryAllByLabelText, queryAllByPlaceholderText2 as queryAllByPlaceholderText, queryAllByRole2 as queryAllByRole, queryAllByTestId2 as queryAllByTestId, queryAllByText2 as queryAllByText, queryAllByTitle2 as queryAllByTitle, queryByAltText2 as queryByAltText, queryByAttribute2 as queryByAttribute, queryByDisplayValue2 as queryByDisplayValue, queryByLabelText2 as queryByLabelText, queryByPlaceholderText2 as queryByPlaceholderText, queryByRole2 as queryByRole, queryByTestId2 as queryByTestId, queryByText2 as queryByText, queryByTitle2 as queryByTitle, queryHelpers2 as queryHelpers, resetAllMocks, restoreAllMocks, screen2 as screen, spyOn, userEvent2 as userEvent, waitFor2 as waitFor, waitForElementToBeRemoved2 as waitForElementToBeRemoved, within };\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/3562.780bcf5c.iframe.bundle.js b/3562.780bcf5c.iframe.bundle.js new file mode 100644 index 000000000..c11712795 --- /dev/null +++ b/3562.780bcf5c.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[3562],{"../../node_modules/@storybook/components/dist/WithTooltip-Y7J54OF7.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{WithToolTipState:()=>_chunk_T3L4SIIA_mjs__WEBPACK_IMPORTED_MODULE_0__.v,WithTooltip:()=>_chunk_T3L4SIIA_mjs__WEBPACK_IMPORTED_MODULE_0__.v,WithTooltipPure:()=>_chunk_T3L4SIIA_mjs__WEBPACK_IMPORTED_MODULE_0__.o});var _chunk_T3L4SIIA_mjs__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/@storybook/components/dist/chunk-T3L4SIIA.mjs")}}]); \ No newline at end of file diff --git a/4252.8e5f2da7.iframe.bundle.js b/4252.8e5f2da7.iframe.bundle.js new file mode 100644 index 000000000..9734bc780 --- /dev/null +++ b/4252.8e5f2da7.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[4252],{"./dist/esm/gcds-alert_42.entry.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{gcds_alert:()=>GcdsAlert,gcds_breadcrumbs:()=>GcdsBreadcrumbs,gcds_breadcrumbs_item:()=>GcdsBreadcrumbsItem,gcds_button:()=>GcdsButton,gcds_card:()=>GcdsCard,gcds_checkbox:()=>GcdsCheckbox,gcds_container:()=>GcdsContainer,gcds_date_input:()=>GcdsDateInput,gcds_date_modified:()=>GcdsDateModified,gcds_details:()=>GcdsDetails,gcds_error_message:()=>GcdsErrorMessage,gcds_error_summary:()=>GcdsErrorSummary,gcds_fieldset:()=>GcdsFieldset,gcds_file_uploader:()=>GcdsFileUploader,gcds_footer:()=>GcdsFooter,gcds_grid:()=>GcdsGrid,gcds_grid_col:()=>GcdsGridCol,gcds_header:()=>GcdsHeader,gcds_heading:()=>GcdsHeading,gcds_hint:()=>GcdsHint,gcds_icon:()=>GcdsIcon,gcds_input:()=>GcdsInput,gcds_label:()=>GcdsLabel,gcds_lang_toggle:()=>GcdsLangToggle,gcds_link:()=>GcdsLink,gcds_nav_group:()=>GcdsNavGroup,gcds_nav_link:()=>GcdsNavLink,gcds_notice:()=>GcdsNotice,gcds_pagination:()=>GcdsPagination,gcds_phase_banner:()=>GcdsPhaseBanner,gcds_radio_group:()=>GcdsRadioGroup,gcds_search:()=>GcdsSearch,gcds_select:()=>GcdsSelect,gcds_side_nav:()=>GcdsSideNav,gcds_signature:()=>GcdsSignature,gcds_sr_only:()=>GcdsSrOnly,gcds_stepper:()=>GcdsStepper,gcds_text:()=>GcdsText,gcds_textarea:()=>GcdsTextarea,gcds_top_nav:()=>GcdsTopNav,gcds_topic_menu:()=>GcdsTopicMenu,gcds_verify_banner:()=>GcdsVerifyBanner});var _index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("./dist/esm/index-04fcdc9c.js");const inheritAttributes=(el,shadowElement,attributes=[])=>{let attributeObject={};for(let i=0;i{if(el.hasAttribute(attr)||shadowElement&&shadowElement.hasAttribute(attr)){null!==(el.getAttribute(attr)||shadowElement.getAttribute(attr))&&(attributeObject[attr]=el.getAttribute(attr)||shadowElement.getAttribute(attr)),el.removeAttribute(attr)}})),attributeObject},assignLanguage=el=>{var _a;let lang="";if(el.getAttribute("lang"))lang="en"==el.getAttribute("lang")?"en":"fr";else{const closestLangAttribute=null===(_a=closestElement("[lang]",el))||void 0===_a?void 0:_a.getAttribute("lang");lang="en"!=closestLangAttribute&&closestLangAttribute?"fr":"en"}return lang},closestElement=(selector,el)=>el?el&&el!=document&&"undefined"!=typeof window&&el!=window&&el.closest(selector)||closestElement(selector,el.getRootNode().host):null,observerConfig={attributes:!0,attributeOldValue:!0,attributeFilter:["lang"]},elementGroupCheck=name=>{let hasCheck=!1;const element=document.querySelectorAll(`input[name=${name}]`);for(let i=0;i!customEvent.emit(value).defaultPrevented&&!e.defaultPrevented||(e.preventDefault(),!1),logError=(name,errorArr,optionalAttrsArrToRemove)=>{let errors=[...errorArr];if(optionalAttrsArrToRemove&&optionalAttrsArrToRemove.length>0)for(const optionalAttr of optionalAttrsArrToRemove)errors.includes(optionalAttr)&&errors.splice(errors.indexOf(optionalAttr),1);console.error(`${name}: Render error, please check required properties. (${errors}) | ${name}: Erreur de rendu, veuillez vérifier les propriétés requises. (${errors})`)},isValidDate=(dateString,forceFormat)=>{let format="";if(/^\d{4}-\d{2}-\d{2}$/.test(dateString))format="full";else{if(!/^\d{4}-\d{2}$/.test(dateString))return!1;format="compact"}if(forceFormat&&format!=forceFormat)return!1;const formattedDate=`${dateString}${"compact"===format?"-15":""}`,[year,month,day]=formattedDate.split("-").map(Number);return!(month<1||month>12)&&((![4,6,9,11].includes(month)||!(day<1||day>30))&&((![1,3,5,7,8,10,12].includes(month)||!(day<1||day>31))&&(!(!isLeapYear(year)&&2===month&&(day<1||day>28))&&(!isLeapYear(year)||2!==month||!(day<1||day>29)))))};function isLeapYear(y){return!(3&y||!(y%25)&&15&y)}const I18N$n={en:{label:{danger:"This is a critical alert.",info:"This is an info alert.",success:"This is a success alert.",warning:"This is a warning alert."},closeBtn:"Close alert."},fr:{label:{danger:"Ceci est une alerte d'effacement.",info:"Ceci est une alerte d'information.",success:"Ceci est une alerte de succès.",warning:"Ceci est une alerte d'avertissement."},closeBtn:"Fermer l'alerte."}},GcdsAlert=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsDismiss=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsDismiss",7),this.alertRole="info",this.container="full",this.heading=void 0,this.hideCloseBtn=!1,this.hideRoleIcon=!1,this.isFixed=!1,this.isOpen=!0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{alertRole,container,heading,hideCloseBtn,hideRoleIcon,isFixed,isOpen,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"f0856a42192ff33a6157989152da33915175b3a7"},isOpen?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:`gcds-alert alert--role-${alertRole} ${isFixed?"alert--is-fixed":""}`,role:"alert","aria-label":"danger"===alertRole?I18N$n[lang].label.danger:"info"===alertRole?I18N$n[lang].label.info:"success"===alertRole?I18N$n[lang].label.success:"warning"===alertRole?I18N$n[lang].label.warning:null},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-container",{size:isFixed?container:"full",centered:!0},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"alert__container"},!hideRoleIcon&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"aria-hidden":"true",class:"alert__icon",size:"h5","margin-right":"175",name:"danger"===alertRole?"exclamation-circle":"info"===alertRole?"info-circle":"success"===alertRole?"check-circle":"warning"===alertRole?"exclamation-triangle":null}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"alert__content"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{class:"alert__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("strong",null,heading)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)),!hideCloseBtn&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{class:"alert__close-btn",onClick:e=>{emitEvent(e,this.gcdsDismiss)&&(this.isOpen=!1)},"aria-label":I18N$n[lang].closeBtn},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"aria-hidden":"true",name:"times",size:"text"}))))):null)}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsAlert.style="@layer reset, default, fixed, role, wide, compact, hover, focus;@layer reset{:host{display:block}:host .gcds-alert{box-sizing:border-box;text-align:left}:host .gcds-alert .alert__close-btn{box-sizing:border-box;cursor:pointer;padding:0}:host .gcds-alert slot{display:initial}}@layer default{:host .gcds-alert{border-inline-start:var(--gcds-alert-border-width) solid transparent;color:var(--gcds-alert-text);container:component alert/inline-size;font:var(--gcds-alert-font);padding:var(--gcds-alert-padding)}:host .gcds-alert .alert__content{flex:1 1 auto}:host .gcds-alert .alert__content .alert__heading{font:var(--gcds-alert-content-heading-font);margin:var(--gcds-alert-content-heading-margin)}:host .gcds-alert .alert__content ::slotted(*){margin-block-start:0}:host .gcds-alert .alert__content ::slotted(:last-child){margin-block-end:0}:host .gcds-alert .alert__content ::slotted(:not(:last-child)){margin-block-end:var(--gcds-alert-content-slotted-margin)}:host .gcds-alert .alert__content ::slotted(ol),:host .gcds-alert .alert__content ::slotted(ul){margin-inline-start:var(--gcds-alert-content-slotted-list-margin);padding:0}:host .gcds-alert .alert__close-btn{background-color:var(--gcds-alert-button-default-background);border:var(--gcds-alert-button-border-width) solid transparent;border-radius:var(--gcds-alert-button-border-radius);color:var(--gcds-alert-button-default-text);margin:var(--gcds-alert-button-margin);transition:all .15s ease-in-out}:host .gcds-alert .alert__close-btn gcds-icon{align-items:center;display:flex;height:var(--gcds-alert-button-icon-width-and-height);justify-content:center;padding:var(--gcds-alert-button-icon-padding);width:var(--gcds-alert-button-icon-width-and-height)}}@layer fixed{:host .gcds-alert.alert--is-fixed{border:0;position:sticky;top:0;width:100%;z-index:9999}}@layer role{:host .gcds-alert.alert--role-danger{background-color:var(--gcds-alert-danger-background);border-color:var(--gcds-alert-danger-icon);color:var(--gcds-alert-danger-text)}:host .gcds-alert.alert--role-danger .alert__icon{color:var(--gcds-alert-danger-icon)}:host .gcds-alert.alert--role-info{background-color:var(--gcds-alert-info-background);border-color:var(--gcds-alert-info-icon);color:var(--gcds-alert-info-text)}:host .gcds-alert.alert--role-info .alert__icon{color:var(--gcds-alert-info-icon)}:host .gcds-alert.alert--role-success{background-color:var(--gcds-alert-success-background);border-color:var(--gcds-alert-success-icon);color:var(--gcds-alert-success-text)}:host .gcds-alert.alert--role-success .alert__icon{color:var(--gcds-alert-success-icon)}:host .gcds-alert.alert--role-warning{background-color:var(--gcds-alert-warning-background);border-color:var(--gcds-alert-warning-icon);color:var(--gcds-alert-warning-text)}:host .gcds-alert.alert--role-warning .alert__icon{color:var(--gcds-alert-warning-icon)}}@layer wide{@container alert (width >= 36em){:host .gcds-alert .alert__container{align-items:flex-start;display:flex}}}@layer compact{@container alert (width < 36em){:host .gcds-alert .alert__icon{margin:var(--gcds-alert-icon-mobile-margin)}:host .gcds-alert .alert__heading{margin:var(--gcds-alert-content-heading-mobile-margin)}:host .gcds-alert .alert__close-btn{margin:var(--gcds-alert-button-mobile-margin)}}}@layer hover{:is(:host .gcds-alert .alert__close-btn:active,:host .gcds-alert .alert__close-btn:hover){border-color:currentColor}}@layer focus{:host .gcds-alert .alert__close-btn:focus{background-color:var(--gcds-alert-button-focus-background);border-color:var(--gcds-alert-button-focus-background);box-shadow:0 0 0 var(--gcds-alert-button-border-width) var(--gcds-alert-button-focus-text);color:var(--gcds-alert-button-focus-text);outline:var(--gcds-alert-button-outline-width) solid var(--gcds-alert-button-focus-background);outline-offset:var(--gcds-alert-button-border-width)}}";const I18N$m={en:{label:"Breadcrumb",link:"https://www.canada.ca/en.html"},fr:{label:"Chemin de navigation",link:"https://www.canada.ca/fr.html"}},GcdsBreadcrumbs=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.hideCanadaLink=!1,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{hideCanadaLink,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"b491e1522dfdc3320619a47f4de098ba18948fc2"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"448a711e139c76385faa9dc68a9fc848b8756fae","aria-label":I18N$m[lang].label,class:"gcds-breadcrumbs"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ol",{key:"a2a2793c7ffc1ffe313d97be01d038d6367994fc",class:hideCanadaLink?"":"has-canada-link"},hideCanadaLink?null:(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-breadcrumbs-item",{href:I18N$m[lang].link},"Canada.ca"),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"cecaeb514adb99fc32d0edc9692290832292a853"}))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsBreadcrumbs.style="@layer reset, default;@layer reset{:host{display:block}:host .gcds-breadcrumbs ol{list-style:none;overflow-x:hidden}}@layer default{:host .gcds-breadcrumbs ol{margin:var(--gcds-breadcrumbs-margin);padding:var(--gcds-breadcrumbs-padding)}:host .gcds-breadcrumbs ol.has-canada-link gcds-breadcrumbs-item:first-child:before,:host .gcds-breadcrumbs ol:not(.has-canada-link) ::slotted(:first-child):before{display:none}:host .gcds-breadcrumbs ol.has-canada-link gcds-breadcrumbs-item:first-child:before{display:none}}";const GcdsBreadcrumbsItem=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.href=void 0}render(){const{href}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"3da5881b7eba6bede5ffaf1e9640b99152332478",role:"listitem",class:"gcds-breadcrumbs-item"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{key:"91361ed032a6ddfe13cef12783df531c1178c2b4",size:"regular",href},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"5053ab0d54759ef4080731fe78976a3d648be17c"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsBreadcrumbsItem.style='@layer reset, default, hover, focus, mobile;@layer reset{:host(.gcds-breadcrumbs-item){display:inline-block}:host(.gcds-breadcrumbs-item) gcds-link::part(link){display:inline-block;white-space:normal}:host(.gcds-breadcrumbs-item) slot{display:block}}@layer default{@media screen and (width >= 30rem){:host(.gcds-breadcrumbs-item){margin:var(--gcds-breadcrumbs-item-margin)!important}}:host(.gcds-breadcrumbs-item):before{content:url(\'data:image/svg+xml;charset=utf-8,\');display:inline-block;margin:var(--gcds-breadcrumbs-item-arrow-margin);width:.375rem}}@layer mobile{@media screen and (width < 30rem){:host(.gcds-breadcrumbs-item){display:block;margin:var(--gcds-breadcrumbs-mobile-item-margin)!important}}}';const I18N$l={en:{label:"Opens in a new tab."},fr:{label:"S'ouvre dans un nouvel onglet."}},GcdsButton=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.handleClick=e=>{const emitValue="submit"===this.type?this.value:void 0;if(emitEvent(e,this.gcdsClick,emitValue)){if(!this.disabled&&"button"!=this.type&&"link"!=this.type){const form=this.el.closest("form");if(form){e.preventDefault();const formButton=document.createElement("button");formButton.type=this.type,this.name&&(formButton.name=this.name),this.value&&(formButton.value=this.value),formButton.style.display="none",form.appendChild(formButton),formButton.click(),formButton.remove()}}this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement)}},this.type="button",this.buttonRole="primary",this.size="regular",this.buttonId=void 0,this.name=void 0,this.disabled=void 0,this.value=void 0,this.href=void 0,this.rel=void 0,this.target=void 0,this.download=void 0,this.inheritedAttributes={},this.lang=void 0}validateType(newValue){["submit","reset","button","link"].includes(newValue)||(this.type="button")}validateButtonRole(newValue){["primary","secondary","danger"].includes(newValue)||(this.buttonRole="primary")}validateSize(newValue){["regular","small"].includes(newValue)||(this.size="regular")}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}componentWillLoad(){this.validateType(this.type),this.validateButtonRole(this.buttonRole),this.validateSize(this.size),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement),this.lang=assignLanguage(this.el),this.updateLang()}render(){const{type,buttonRole,size,buttonId,disabled,lang,name,href,rel,target,download,value,inheritedAttributes}=this,Tag="link"!=type?"button":"a",attrs="button"===Tag?{type,ariaDisabled:disabled,name,value}:{href,rel,target,download};return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"f879906e23b82587fd539f65f4089d52f7ebac8f"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,Object.assign({key:"a2193325c515bcafa420a4c3b70aac52c4a4d248"},attrs,{id:buttonId,onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>this.handleClick(e),class:`gcds-button button--role-${buttonRole} button--${size}`,ref:element=>this.shadowElement=element},inheritedAttributes,{part:"button"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"5d106a6af6fa23a394fc1387c3ccb96c93b7b490"}),"link"===type&&"_blank"===target?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{name:"external-link",label:I18N$l[lang].label,"margin-left":"150"}):null))}static get delegatesFocus(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{type:["validateType"],buttonRole:["validateButtonRole"],size:["validateSize"]}}};GcdsButton.style="@layer reset, default, roles, size, disabled, hover, focus, active, mobile;@layer reset{:host{display:inline-block}:host .gcds-button{box-sizing:border-box;cursor:pointer;text-decoration:none}:host slot{display:initial}}@layer default{:host .gcds-button{display:inline-block;font:var(--gcds-button-font);text-align:center;width:var(--gcds-button-width);text-wrap:balance;border:var(--gcds-button-border-width) solid transparent;border-radius:var(--gcds-button-border-radius);padding:var(--gcds-button-padding);transition:all .15s ease-in-out}}@layer roles{:host .gcds-button.button--role-danger{background-color:var(--gcds-button-danger-default-background);color:var(--gcds-button-danger-default-text)}:host .gcds-button.button--role-primary{background-color:var(--gcds-button-primary-default-background);color:var(--gcds-button-primary-default-text)}:host .gcds-button.button--role-secondary{background-color:var(--gcds-button-secondary-default-background);border:var(--gcds-button-border-width) solid;color:var(--gcds-button-secondary-default-text)}}@layer size{:host .gcds-button.button--small{font:var(--gcds-button-small-font);padding:var(--gcds-button-small-padding)}}@layer disabled{:host .gcds-button[aria-disabled=true]{background-color:var(--gcds-button-shared-disabled-background);border:var(--gcds-button-border-width) solid;color:var(--gcds-button-shared-disabled-text);cursor:not-allowed;pointer-events:none}}@layer hover{@media (hover:hover){:host .gcds-button:hover.button--role-danger{background-color:var(--gcds-button-danger-hover-background)}:host .gcds-button:hover.button--role-primary{background-color:var(--gcds-button-primary-hover-background)}:host .gcds-button:hover.button--role-secondary{background-color:var(--gcds-button-secondary-hover-background)}}}@layer focus{:host .gcds-button:focus{background-color:var(--gcds-button-shared-focus-background);border-color:var(--gcds-button-shared-focus-background);box-shadow:var(--gcds-button-shared-focus-box-shadow);color:var(--gcds-button-shared-focus-text);outline:var(--gcds-button-shared-focus-outline-width) solid var(--gcds-button-shared-focus-background);outline-offset:var(--gcds-button-border-width)}}@layer active{:host .gcds-button:active{background-color:var(--gcds-button-shared-active-background);border-color:var(--gcds-button-shared-active-background)}}@layer mobile{@media screen and (max-width:30rem){:host{display:block}:host .gcds-button{margin:var(--gcds-button-mobile-margin);width:var(--gcds-button-mobile-width)}}}";const I18N$k={en:{tagged:"Tagged:",badgeError:"gcds-card: The badge attribute has a character limit of 20 characters."},fr:{tagged:"Baliser :",badgeError:"gcds-card: L'attribut badge a une limite de caractères de 20 caractères."}},GcdsCard=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.cardTitle=void 0,this.href=void 0,this.cardTitleTag="a",this.description=void 0,this.badge=void 0,this.imgSrc=void 0,this.imgAlt=void 0,this.lang=void 0,this.errors=[]}validateCardTitle(){this.cardTitle&&""!=this.cardTitle.trim()?this.errors.includes("cardTitle")&&this.errors.splice(this.errors.indexOf("cardTitle"),1):this.errors.push("cardTitle")}validateHref(){this.href&&""!=this.href.trim()?this.errors.includes("href")&&this.errors.splice(this.errors.indexOf("href"),1):this.errors.push("href")}validateBadge(){this.badge&&this.badge.length>20?(console.error(`${I18N$k.en.badgeError} | ${I18N$k.fr.badgeError}`),this.errors.push("badge")):this.errors.includes("badge")&&this.errors.splice(this.errors.indexOf("badge"),1)}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}validateRequiredProps(){return this.validateCardTitle(),this.validateHref(),!this.errors.includes("href")&&!this.errors.includes("cardTitle")}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateBadge(),this.validateRequiredProps()||logError("gcds-card",this.errors,["badge"])}get renderDescription(){return""!=this.el.innerHTML.trim()?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-card__description"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)):this.description?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-card__description"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{"margin-bottom":"0"},this.description)):null}render(){const{cardTitle,cardTitleTag,href,badge,imgSrc,imgAlt,renderDescription,lang,errors}=this,Element=cardTitleTag,taggedAttr={};if(badge&&(taggedAttr["aria-describedby"]="gcds-badge"),this.validateRequiredProps())return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"124e17eb577553da16ff506265dd5d7cba152b4b"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"97a3007905773f8d492d2e922db6492e754bee78",class:"gcds-card"},badge&&!errors.includes("badge")&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{key:"a80df555afd0a45a199647e81ee2dec228802612",id:"gcds-badge",class:"gcds-badge","text-role":"light","margin-bottom":"0",size:"small"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("strong",{key:"f12b963c86c4d79ad42b58fefffb6421d636bfc8"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"1a803e937a2f52812f3b89bcd496b3181f933f6c"},I18N$k[lang].tagged),badge)),imgSrc&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("img",{key:"b4a7c3d05fca6a235690d216e0ea9803a478f5b4",src:imgSrc,alt:imgAlt||"",class:"gcds-card__image"}),"a"!=Element?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Element,Object.assign({class:"gcds-card__title"},taggedAttr),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{href},cardTitle)):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",Object.assign({href,class:"gcds-card__title"},taggedAttr),cardTitle),renderDescription))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{cardTitle:["validateCardTitle"],href:["validateHref"],badge:["validateBadge"]}}};GcdsCard.style='@layer reset, default, link, hover, focus;@layer reset{:host{display:block}:host *{box-sizing:border-box;margin:0;padding:0}:host slot{display:initial}}@layer default{:host .gcds-card{background-color:var(--gcds-card-background-color);box-shadow:var(--gcds-card-box-shadow);color:var(--gcds-card-color);display:block;height:100%;max-width:var(--gcds-card-max-width);overflow:hidden;padding:var(--gcds-card-padding);position:relative}:host .gcds-card .gcds-badge{background-color:var(--gcds-card-badge-background-color);left:0;padding:var(--gcds-card-badge-padding);position:absolute;top:0;text-wrap:nowrap}@media only screen and (width < 48em){:host .gcds-card .gcds-badge{padding:var(--gcds-card-badge-mobile-padding)}}:host .gcds-card .gcds-card__image{margin:var(--gcds-card-image-margin);width:100%}:host .gcds-card .gcds-card__title{font:var(--gcds-card-title-font-desktop);width:fit-content}@media only screen and (width < 48em){:host .gcds-card .gcds-card__title{font:var(--gcds-card-title-font-mobile)}}:host .gcds-card .gcds-card__title:has(+.gcds-card__description){margin:var(--gcds-card-title-margin)}:host .gcds-card .gcds-card__description{--gcds-text-size-body-desktop:var(--gcds-card-description-font-desktop)}@media only screen and (width < 48em){:host .gcds-card .gcds-card__description{font:var(--gcds-card-description-font-mobile)}}}@layer link{:host .gcds-card gcds-link::part(link):after{bottom:0;content:"";left:0;pointer-events:auto;position:absolute;right:0;top:0;z-index:1}}@layer hover{@media (hover:hover){:host .gcds-card:hover{background-color:var(--gcds-card-hover-background-color);box-shadow:var(--gcds-card-hover-box-shadow);cursor:pointer}}}@layer focus{:host .gcds-card:has(:focus-within){box-shadow:var(--gcds-card-focus-box-shadow);outline:var(--gcds-card-focus-outline);outline-offset:var(--gcds-card-focus-outline-offset)}:host gcds-link::part(link):focus{background-color:var(--gcds-card-focus-link-background-color);border:var(--gcds-card-focus-link-border);box-shadow:var(--gcds-card-focus-link-box-shadow);color:var(--gcds-card-focus-link-color);outline:var(--gcds-card-focus-link-outline);text-decoration:underline currentColor var(--gcds-card-focus-link-text-decoration-thickness)}}';const defaultValidator={validate:_x=>!0};function combineValidators(v1,v2){let combined;return combined={validate:x=>{const res1=v1.validate(x),res2=v2.validate(x);return res1?res2||(combined.errorMessage=v2.errorMessage):combined.errorMessage=v1.errorMessage,res1&&res2}},combined}function requiredValidator(element,type,subtype){if(element.required)switch(type){case"input":if("email"===subtype)element.validator?element.validator.unshift("requiredEmailField"):element.validator=["requiredEmailField"];else element.validator?element.validator.unshift("requiredField"):element.validator=["requiredField"];break;case"select":element.validator?element.validator.unshift("requiredSelectField"):element.validator=["requiredSelectField"];break;case"textarea":element.validator?element.validator.unshift("requiredField"):element.validator=["requiredField"];break;case"file":element.validator?element.validator.unshift("requiredFileInput"):element.validator=["requiredFileInput"];break;case"checkbox":element.validator?element.validator.unshift("requiredCheck"):element.validator=["requiredCheck"];break;case"fieldset":element.validator?element.validator.unshift("requiredFieldset"):element.validator=["requiredFieldset"];break;case"date-input":element.validator?element.validator.unshift("requiredDateInput"):element.validator=["requiredDateInput"]}}const emailPattern=/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,requiredField={validate:value=>null!=value&&""!=value.trim(),errorMessage:{en:"Enter information to continue.",fr:"Saisissez des renseignements pour continuer."}},requiredEmailField={validate:value=>null!=value&&""!=value.trim()&&!!value.toLowerCase().match(emailPattern),errorMessage:{en:"Enter a valid email address to continue. Use a standard format. Example: name@address.ca.",fr:"Saisissez votre adresse courriel pour continuer. Utilisez un format standard. Exemple: nom@adresse.ca."}},requiredFileInput={validate:value=>value.length>0,errorMessage:{en:"You must upload a file to continue.",fr:"Vous devez téléverser un fichier pour continuer."}},requiredSelectField={validate:value=>null!=value&&""!=value.trim(),errorMessage:{en:"Choose an option to continue.",fr:"Choisissez une option pour continuer."}},dateInputErrorMessage={en:{all:"Enter the date.",missingmonth:"Select the month.",missingyear:"Enter the year.",missingday:"Enter the day.",missingmonthday:"Select the month and enter the day.",missingmonthyear:"Select the month and enter the year.",missingdayyear:"Enter the day and year.",invalidyearlength:"Year must be 4 digits.",invalidyear:"Enter a valid year.",invalidday:"Enter a valid day."},fr:{all:"Saisissez la date.",missingmonth:"Sélectionnez un mois.",missingyear:"Saisissez l'année.",missingday:"Saisissez le jour.",missingmonthday:"Saisissez le jour et sélectionnez un mois.",missingmonthyear:"Sélectionnez un mois et saisissez l'année.",missingdayyear:"Saisissez le jour et l'année.",invalidyearlength:"L'année doit inclure 4 chiffres.",invalidyear:"Entrez une année valide.",invalidday:"Saisissez un jour valide."}},requiredDateInput={validate:date=>{if(isValidDate(date))return{valid:!0};let splitDate=date.split("-"),dateObject={day:splitDate[2],month:splitDate[1],year:splitDate[0]},format=3===splitDate.length?"full":"compact";return getDateInputError(dateObject,format)},errorMessage:dateInputErrorMessage},getDateInputError=(dateValues,format)=>{const{day,month,year}=dateValues;let errorResponse={valid:!1,errors:{day:!1,month:!1,year:!1},reason:{en:"",fr:""}};return day||month||year?!day&&month&&year?(errorResponse.errors.day=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingday,errorResponse.reason.fr=dateInputErrorMessage.fr.missingday):day&&!month&&year||!day&&!month&&year&&"compact"===format?(errorResponse.errors.month=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingmonth,errorResponse.reason.fr=dateInputErrorMessage.fr.missingmonth):day&&month&&!year||!day&&month&&!year&&"compact"===format?(errorResponse.errors.year=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingyear,errorResponse.reason.fr=dateInputErrorMessage.fr.missingyear):day||month||!year?day||!month||year?!day||month||year?4!=year.length?(errorResponse.errors.year=!0,errorResponse.reason.en=dateInputErrorMessage.en.invalidyearlength,errorResponse.reason.fr=dateInputErrorMessage.fr.invalidyearlength):year<0||year>9999?(errorResponse.errors.year=!0,errorResponse.reason.en=dateInputErrorMessage.en.invalidyear,errorResponse.reason.fr=dateInputErrorMessage.fr.invalidyear):(errorResponse.errors.day=!0,errorResponse.reason.en=dateInputErrorMessage.en.invalidday,errorResponse.reason.fr=dateInputErrorMessage.fr.invalidday):(errorResponse.errors.year=!0,errorResponse.errors.month=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingmonthyear,errorResponse.reason.fr=dateInputErrorMessage.fr.missingmonthyear):(errorResponse.errors.day=!0,errorResponse.errors.year=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingdayyear,errorResponse.reason.fr=dateInputErrorMessage.fr.missingdayyear):(errorResponse.errors.day=!0,errorResponse.errors.month=!0,errorResponse.reason.en=dateInputErrorMessage.en.missingmonthday,errorResponse.reason.fr=dateInputErrorMessage.fr.missingmonthday):(errorResponse.errors.day=!0,errorResponse.errors.month=!0,errorResponse.errors.year=!0,errorResponse.reason.en=dateInputErrorMessage.en.all,errorResponse.reason.fr=dateInputErrorMessage.fr.all),errorResponse},requiredCheck={validate:value=>value,errorMessage:{en:"You must check the box to continue.",fr:"Vous devez cocher la case pour continuer."}},requiredFieldset={validate:id=>{const el=document.querySelector(`[fieldset-id=${id}]`);return!validateFieldsetElements(el,el.children).includes(!1)},errorMessage:{en:"Choose an option to continue.",fr:"Choisissez une option pour continuer."}};function validateFieldsetElements(element,nodeList){let isValid=[];for(let i=0;i1){for(let c=0;c"string"==typeof v?validatorFactory(v):v&&v.name?validatorFactory(v.name):v)).reduce(combineValidators,defaultValidator)}function validatorFactory(name,options){switch(name){case ValidatorsName.requiredField:return requiredField;case ValidatorsName.requiredEmailField:return requiredEmailField;case ValidatorsName.requiredSelectField:return requiredSelectField;case ValidatorsName.requiredCheck:return requiredCheck;case ValidatorsName.requiredFieldset:return requiredFieldset;case ValidatorsName.requiredDateInput:return requiredDateInput;case ValidatorsName.requiredFileInput:return requiredFileInput;default:return defaultValidator}}!function(ValidatorsName){ValidatorsName.requiredField="requiredField",ValidatorsName.requiredEmailField="requiredEmailField",ValidatorsName.requiredCheck="requiredCheck",ValidatorsName.requiredFieldset="requiredFieldset",ValidatorsName.requiredFileInput="requiredFileInput",ValidatorsName.requiredSelectField="requiredSelectField",ValidatorsName.requiredDateInput="requiredDateInput"}(ValidatorsName||(ValidatorsName={}));const GcdsCheckbox=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.onBlur=()=>{"blur"==this.validateOn&&this.validate(),this.gcdsBlur.emit()},this.onChange=e=>{this.checked=!this.checked,this.internals.setFormValue(e.target.value,"checked"),this.checked||this.internals.setFormValue(null,"checked");const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt),this.gcdsChange.emit(this.checked)},this.checkboxId=void 0,this.label=void 0,this.name=void 0,this.required=void 0,this.disabled=void 0,this.value=void 0,this.checked=void 0,this.errorMessage=void 0,this.hint=void 0,this.validator=void 0,this.validateOn=void 0,this.parentError=void 0,this.inheritedAttributes={},this.hasError=void 0,this.lang=void 0}validateDisabledCheckbox(){this.required&&(this.disabled=!1)}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}gcdsGroupError(e){e.srcElement.contains(this.el)&&elementGroupCheck(this.name)?(this.hasError=!0,this.parentError=e.detail):elementGroupCheck(this.name)||(this.hasError=!1,this.parentError="")}gcdsGroupErrorClear(e){e.srcElement.contains(this.el)&&this.hasError&&(this.hasError=!1,this.parentError="")}validateHasError(){this.disabled&&(this.hasError=!1)}async validate(){!this._validator.validate(this.checked)&&this._validator.errorMessage?(this.errorMessage=this._validator.errorMessage[this.lang],this.gcdsError.emit({id:`#${this.checkboxId}`,message:`${this.label} - ${this.errorMessage}`})):(this.errorMessage="",this.gcdsValid.emit({id:`#${this.checkboxId}`}))}submitListener(e){e.target==this.el.closest("form")&&(this.validateOn&&"other"!=this.validateOn&&this.validate(),this.hasError&&"other"!=this.validateOn&&e.preventDefault())}formResetCallback(){this.checked!=this.initialState&&(this.checked=this.initialState)}formStateRestoreCallback(state){this.internals.setFormValue(state),this.checked=state}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledCheckbox(),this.validateHasError(),this.validateErrorMessage(),this.validateValidator(),requiredValidator(this.el,"checkbox"),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement),this.internals.setFormValue(this.checked?this.value:null),this.initialState=this.checked?this.checked:null}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{lang,checkboxId,label,name,required,disabled,value,checked,hint,errorMessage,hasError,parentError,inheritedAttributes}=this,attrsInput=Object.assign({name,disabled,required,value,checked},inheritedAttributes),attrsLabel={label,required};if(hint||errorMessage||parentError){const hintID=hint?`hint-${checkboxId} `:"",errorID=errorMessage?`error-message-${checkboxId} `:"",parentErrorID=parentError?`parent-error-${checkboxId} `:"";attrsInput["aria-describedby"]=`${hintID}${errorID}${parentErrorID}${attrsInput["aria-describedby"]?`${attrsInput["aria-describedby"]}`:""}`}return hasError&&(attrsInput["aria-invalid"]="true"),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"d33ae5e2f2adeecdbfb572561d4e62d762a3af02"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"3a39d170c5a14b657f57cd9ff6c2cd0379d0353f",class:`gcds-checkbox ${disabled?"gcds-checkbox--disabled":""} ${hasError?"gcds-checkbox--error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("input",Object.assign({key:"930020ba3646ecfea94aae1a4b014f60668eae37",id:checkboxId,type:"checkbox"},attrsInput,{onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),onChange:e=>this.onChange(e),onClick:e=>emitEvent(e,this.gcdsClick),ref:element=>this.shadowElement=element})),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",Object.assign({key:"3fc18cb30532e327c2b34b8bced1d7e8b8eb4e89"},attrsLabel,{"label-for":checkboxId,lang})),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":checkboxId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:checkboxId},errorMessage):null,parentError?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{id:`parent-error-${checkboxId}`,hidden:!0},parentError):null))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{disabled:["validateDisabledCheckbox"],errorMessage:["validateErrorMessage"],validator:["validateValidator"],hasError:["validateHasError"]}}};GcdsCheckbox.style='@layer reset, default, disabled, error, focus;@layer reset{:host{display:block}:host .gcds-checkbox{padding:0}:host .gcds-checkbox gcds-label:after,:host .gcds-checkbox gcds-label:before{box-sizing:border-box;content:"";cursor:pointer}}@layer default{:host .gcds-checkbox{color:var(--gcds-checkbox-default-text);font:var(--gcds-checkbox-font);margin:var(--gcds-checkbox-margin)!important;max-width:var(--gcds-checkbox-max-width);min-height:calc(var(--gcds-checkbox-input-height-and-width) - var(--gcds-checkbox-padding));padding:var(--gcds-checkbox-padding) 0 0;position:relative;transition:color .15s ease-in-out}:host .gcds-checkbox :is(gcds-label,gcds-hint,gcds-error-message){padding:var(--gcds-checkbox-label-padding)!important}:host .gcds-checkbox gcds-hint::part(hint){margin:0}:host .gcds-checkbox gcds-label:after,:host .gcds-checkbox gcds-label:before,:host .gcds-checkbox input{position:absolute}:host .gcds-checkbox gcds-label:before,:host .gcds-checkbox input{height:var(--gcds-checkbox-input-height-and-width);left:0;top:0;width:var(--gcds-checkbox-input-height-and-width)}:host .gcds-checkbox input{opacity:0}:host .gcds-checkbox gcds-label{width:fit-content}:host .gcds-checkbox gcds-label:before{border:var(--gcds-checkbox-input-border-width) solid;border-radius:var(--gcds-checkbox-input-border-radius);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,outline .15s ease-in-out}:host .gcds-checkbox gcds-label:after{border:var(--gcds-checkbox-check-border-width) solid;border-block-start:0!important;border-inline-start:0!important;height:var(--gcds-checkbox-check-height);left:var(--gcds-checkbox-check-left);opacity:0;top:var(--gcds-checkbox-check-top);transform:rotate(40deg);transition:opacity .2s ease-in-out;width:var(--gcds-checkbox-check-width)}:host .gcds-checkbox input:checked+gcds-label:after{opacity:1}}@layer disabled{:host .gcds-checkbox.gcds-checkbox--disabled{color:var(--gcds-checkbox-disabled-text)}:host .gcds-checkbox.gcds-checkbox--disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-checkbox.gcds-checkbox--disabled gcds-label:after,:host .gcds-checkbox.gcds-checkbox--disabled gcds-label:before{cursor:not-allowed}:host .gcds-checkbox.gcds-checkbox--disabled gcds-label:before{background-color:var(--gcds-checkbox-disabled-background);border-color:currentcolor}:host .gcds-checkbox.gcds-checkbox--disabled gcds-hint{--gcds-hint-text:currentColor}}@layer error{:host .gcds-checkbox.gcds-checkbox--error:not(:focus-within) gcds-label:before{border-color:var(--gcds-checkbox-danger-border)}:host .gcds-checkbox.gcds-checkbox--error:not(:focus-within) gcds-label:after{color:var(--gcds-checkbox-danger-border)}}@layer focus{:host .gcds-checkbox:focus-within{color:var(--gcds-checkbox-focus-color)}:host .gcds-checkbox:focus-within input:focus+gcds-label:before{background:var(--gcds-checkbox-focus-background);box-shadow:var(--gcds-checkbox-focus-box-shadow);outline:var(--gcds-checkbox-focus-outline-width) solid currentcolor;outline-offset:var(--gcds-checkbox-input-border-width)}}';const GcdsContainer=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.border=!1,this.centered=!1,this.mainContainer=!1,this.margin=void 0,this.padding=void 0,this.size="full",this.tag="div"}render(){const{border,centered,mainContainer,margin,padding,size,tag}=this,Tag=tag;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"1a0d300e83cc191fccd62309d50acf2651fcf0de"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{key:"57ebd74a5c1ffce5d67f85cac933bf108f36b450",class:`\n gcds-container\n ${border?"container-border":""}\n ${centered?"container-centered":""}\n ${mainContainer?"container-main":""}\n ${margin?`m-${margin}`:""}\n ${padding?`p-${padding}`:""}\n ${size?`size-${size}`:""}\n `},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"8ad3d9262e75693298a9a567aac2b9731c5ad96d"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsContainer.style="@layer reset, default, border, centered, main, margin, padding, size;@layer reset{:host{display:block}:host .gcds-container{box-sizing:border-box;display:block;margin:0;padding:0}:host .gcds-container slot{display:initial}}@layer default{:host .gcds-container[class*=size]{width:var(--gcds-container-size-full)}}@layer border{:host .gcds-container.container-border{border:var(--gcds-container-border)}}@layer centered{:host .gcds-container.container-centered{margin-inline:auto!important}}@layer main{:host .gcds-container.container-main:not(.size-full){width:90%}}@layer margin{:host .gcds-container.m-0{margin:var(--gcds-container-spacing-0)}:host .gcds-container.m-25{margin:var(--gcds-container-spacing-25)}:host .gcds-container.m-50{margin:var(--gcds-container-spacing-50)}:host .gcds-container.m-75{margin:var(--gcds-container-spacing-75)}:host .gcds-container.m-100{margin:var(--gcds-container-spacing-100)}:host .gcds-container.m-125{margin:var(--gcds-container-spacing-125)}:host .gcds-container.m-150{margin:var(--gcds-container-spacing-150)}:host .gcds-container.m-175{margin:var(--gcds-container-spacing-175)}:host .gcds-container.m-200{margin:var(--gcds-container-spacing-200)}:host .gcds-container.m-225{margin:var(--gcds-container-spacing-225)}:host .gcds-container.m-250{margin:var(--gcds-container-spacing-250)}:host .gcds-container.m-300{margin:var(--gcds-container-spacing-300)}:host .gcds-container.m-350{margin:var(--gcds-container-spacing-350)}:host .gcds-container.m-400{margin:var(--gcds-container-spacing-400)}:host .gcds-container.m-450{margin:var(--gcds-container-spacing-450)}:host .gcds-container.m-500{margin:var(--gcds-container-spacing-500)}:host .gcds-container.m-550{margin:var(--gcds-container-spacing-550)}:host .gcds-container.m-600{margin:var(--gcds-container-spacing-600)}:host .gcds-container.m-650{margin:var(--gcds-container-spacing-650)}:host .gcds-container.m-700{margin:var(--gcds-container-spacing-700)}:host .gcds-container.m-750{margin:var(--gcds-container-spacing-750)}:host .gcds-container.m-800{margin:var(--gcds-container-spacing-800)}:host .gcds-container.m-850{margin:var(--gcds-container-spacing-850)}:host .gcds-container.m-900{margin:var(--gcds-container-spacing-900)}:host .gcds-container.m-950{margin:var(--gcds-container-spacing-950)}:host .gcds-container.m-1000{margin:var(--gcds-container-spacing-1000)}:host .gcds-container.m-1050{margin:var(--gcds-container-spacing-1050)}:host .gcds-container.m-1100{margin:var(--gcds-container-spacing-1100)}:host .gcds-container.m-1150{margin:var(--gcds-container-spacing-1150)}:host .gcds-container.m-1200{margin:var(--gcds-container-spacing-1200)}:host .gcds-container.m-1250{margin:var(--gcds-container-spacing-1250)}}@layer padding{:host .gcds-container.p-0{padding:var(--gcds-container-spacing-0)}:host .gcds-container.p-25{padding:var(--gcds-container-spacing-25)}:host .gcds-container.p-50{padding:var(--gcds-container-spacing-50)}:host .gcds-container.p-75{padding:var(--gcds-container-spacing-75)}:host .gcds-container.p-100{padding:var(--gcds-container-spacing-100)}:host .gcds-container.p-125{padding:var(--gcds-container-spacing-125)}:host .gcds-container.p-150{padding:var(--gcds-container-spacing-150)}:host .gcds-container.p-175{padding:var(--gcds-container-spacing-175)}:host .gcds-container.p-200{padding:var(--gcds-container-spacing-200)}:host .gcds-container.p-225{padding:var(--gcds-container-spacing-225)}:host .gcds-container.p-250{padding:var(--gcds-container-spacing-250)}:host .gcds-container.p-300{padding:var(--gcds-container-spacing-300)}:host .gcds-container.p-350{padding:var(--gcds-container-spacing-350)}:host .gcds-container.p-400{padding:var(--gcds-container-spacing-400)}:host .gcds-container.p-450{padding:var(--gcds-container-spacing-450)}:host .gcds-container.p-500{padding:var(--gcds-container-spacing-500)}:host .gcds-container.p-550{padding:var(--gcds-container-spacing-550)}:host .gcds-container.p-600{padding:var(--gcds-container-spacing-600)}:host .gcds-container.p-650{padding:var(--gcds-container-spacing-650)}:host .gcds-container.p-700{padding:var(--gcds-container-spacing-700)}:host .gcds-container.p-750{padding:var(--gcds-container-spacing-750)}:host .gcds-container.p-800{padding:var(--gcds-container-spacing-800)}:host .gcds-container.p-850{padding:var(--gcds-container-spacing-850)}:host .gcds-container.p-900{padding:var(--gcds-container-spacing-900)}:host .gcds-container.p-950{padding:var(--gcds-container-spacing-950)}:host .gcds-container.p-1000{padding:var(--gcds-container-spacing-1000)}:host .gcds-container.p-1050{padding:var(--gcds-container-spacing-1050)}:host .gcds-container.p-1100{padding:var(--gcds-container-spacing-1100)}:host .gcds-container.p-1150{padding:var(--gcds-container-spacing-1150)}:host .gcds-container.p-1200{padding:var(--gcds-container-spacing-1200)}:host .gcds-container.p-1250{padding:var(--gcds-container-spacing-1250)}}@layer size{:host .gcds-container.size-xl{max-width:var(--gcds-container-size-xl)}:host .gcds-container.size-lg{max-width:var(--gcds-container-size-lg)}:host .gcds-container.size-md{max-width:var(--gcds-container-size-md)}:host .gcds-container.size-sm{max-width:var(--gcds-container-size-sm)}:host .gcds-container.size-xs{max-width:var(--gcds-container-size-xs)}}";const I18N$j={en:{year:"Year",month:"Month",day:"Day",selectmonth:"Select a month",months:{"01":"January","02":"February","03":"March","04":"April","05":"May","06":"June","07":"July","08":"August","09":"September",10:"October",11:"November",12:"December"},valueError:"gcds-date-input: Value attribute contains an invalid date format. Expected format: ",valueFormatfull:"YYYY-MM-DD",valueFormatcompact:"YYYY-MM"},fr:{year:"Année",month:"Mois",day:"Jour",selectmonth:"Sélectionnez un mois",months:{"01":"janvier","02":"février","03":"mars","04":"avril","05":"mai","06":"juin","07":"juillet","08":"août","09":"septembre",10:"octobre",11:"novembre",12:"décembre"},valueError:"gcds-date-input: Value attribute contains an invalid date format. Expected format: ",valueFormatfull:"YYYY-MM-DD",valueFormatcompact:"YYYY-MM"}},GcdsDateInput=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.onBlur=()=>{"blur"==this.validateOn&&this.validate()},this.handleInput=(e,type)=>{const val=e.target&&e.target.value;if("year"===type?this.yearValue=val:"month"===type?this.monthValue=val:"day"===type&&(this.dayValue=val),this.setValue(),"change"===e.type){const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)}},this.name=void 0,this.legend=void 0,this.format=void 0,this.value=void 0,this.required=!1,this.hint=void 0,this.errorMessage=void 0,this.disabled=!1,this.validator=void 0,this.validateOn=void 0,this.monthValue="",this.dayValue="",this.yearValue="",this.hasError={day:!1,month:!1,year:!1},this.errors=[],this.lang=void 0}validateName(){this.name?this.errors.includes("name")&&this.errors.splice(this.errors.indexOf("name"),1):this.errors.push("name")}validateLegend(){this.legend?this.errors.includes("legend")&&this.errors.splice(this.errors.indexOf("legend"),1):this.errors.push("legend")}validateFormat(){!this.format||"full"!=this.format&&"compact"!=this.format?this.errors.push("format"):this.errors.includes("format")&&this.errors.splice(this.errors.indexOf("format"),1)}validateValue(){this.value&&!isValidDate(this.value)?(this.errors.push("value"),this.value="",console.error(`${I18N$j.en.valueError}${I18N$j.en[`valueFormat${this.format}`]} | ${I18N$j.fr.valueError}${I18N$j.fr[`valueFormat${this.format}`]}`)):this.errors.includes("value")&&this.errors.splice(this.errors.indexOf("value"),1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}async validate(){const validationResult=this._validator.validate("full"===this.format?`${this.yearValue}-${this.monthValue}-${this.dayValue}`:`${this.yearValue}-${this.monthValue}`);validationResult.valid?(this.errorMessage="",this.gcdsValid.emit(),this.hasError={day:!1,month:!1,year:!1}):(this.errorMessage=validationResult.reason[this.lang],this.hasError=Object.assign({},validationResult.errors),this.gcdsError.emit({message:`${this.legend} - ${this.errorMessage}`,errors:validationResult.errors}))}async submitListener(e){if(e.target==this.el.closest("form")){this.validateOn&&"other"!=this.validateOn&&this.validate();for(const key in this.hasError)this.hasError[key]&&"other"!=this.validateOn&&e.preventDefault()}}formResetCallback(){this.value!=this.initialValue&&(this.internals.setFormValue(this.initialValue),this.value=this.initialValue)}formStateRestoreCallback(state){this.internals.setFormValue(state),this.value=state}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}setValue(){const{yearValue,dayValue,monthValue,format}=this;if(yearValue&&monthValue&&dayValue&&"full"==format){if(!isValidDate(`${yearValue}-${monthValue}-${dayValue}`,format))return this.value=null,this.internals.setFormValue(null),!1;this.value=`${yearValue}-${monthValue}-${dayValue}`,this.internals.setFormValue(this.value)}else{if(!yearValue||!monthValue||"compact"!=format)return this.value=null,this.internals.setFormValue(null),!1;if(!isValidDate(`${yearValue}-${monthValue}`,format))return this.value=null,this.internals.setFormValue(null),!1;this.value=`${yearValue}-${monthValue}`,this.internals.setFormValue(this.value)}return!0}splitFormValue(){if(this.value&&isValidDate(this.value,this.format))if("compact"==this.format){let splitValue=this.value.split("-");this.yearValue=splitValue[0],this.monthValue=splitValue[1]}else{let splitValue=this.value.split("-");this.yearValue=splitValue[0],this.monthValue=splitValue[1],this.dayValue=splitValue[2]}}formatDay(e){isNaN(e.target.value)||1!==e.target.value.length||(this.dayValue="0"+e.target.value)}validateRequiredProps(){return this.validateName(),this.validateLegend(),this.validateFormat(),!(this.errors.includes("name")||this.errors.includes("legend")||this.errors.includes("format"))}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateValidator(),requiredValidator(this.el,"date-input"),this.validator&&(this._validator=getValidator(this.validator)),this.validateRequiredProps()||logError("gcds-date-input",this.errors),this.validateValue(),this.value&&isValidDate(this.value)&&(this.splitFormValue(),this.setValue(),this.initialValue=this.value)}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{legend,name,format,required,hint,errorMessage,disabled,lang,hasError}=this;let requiredAttr={};required&&(requiredAttr["aria-required"]="true");const options=Array.from({length:12},((_,i)=>i+1<10?`0${i+1}`:`${i+1}`)),month=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-select",Object.assign({key:"dce99a8ec0ca1035795bb1981b45c2d6ddcb1b97",label:I18N$j[lang].month,selectId:"month",name:"month",defaultValue:I18N$j[lang].selectmonth,disabled,onInput:e=>this.handleInput(e,"month"),onChange:e=>this.handleInput(e,"month"),value:this.monthValue,class:"gcds-date-input__month "+(hasError.month?"gcds-date-input--error":"")},requiredAttr,{"aria-invalid":hasError.month.toString(),"aria-description":hasError.month&&errorMessage}),options.map((option=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("option",{key:option,value:option},I18N$j[lang].months[option])))),year=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-input",Object.assign({key:"79adb2319306d6bcd4959d113945902bbfc40728",name:"year",label:I18N$j[lang].year,inputId:"year",type:"number",size:4,disabled,value:this.yearValue,onInput:e=>this.handleInput(e,"year"),onChange:e=>this.handleInput(e,"year"),class:"gcds-date-input__year "+(hasError.year?"gcds-date-input--error":"")},requiredAttr,{"aria-invalid":hasError.year.toString(),"aria-description":hasError.year&&errorMessage})),day=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-input",Object.assign({key:"d9f341a356c4e4d7dc5cc3e38cdac2931dd98a87",name:"day",label:I18N$j[lang].day,inputId:"day",type:"number",size:2,disabled,value:this.dayValue,onInput:e=>this.handleInput(e,"day"),onChange:e=>{this.handleInput(e,"day"),this.formatDay(e)},class:"gcds-date-input__day "+(hasError.day?"gcds-date-input--error":"")},requiredAttr,{"aria-invalid":hasError.day.toString(),"aria-description":hasError.day&&errorMessage}));return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"00e97ecb52e332d43e6917b72005cbab39254c25",name,onBlur:()=>this.onBlur()},this.validateRequiredProps()&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-fieldset",{key:"9909941d6ab3bde3b630dfcbfbcf6a475b44be2c",legend,fieldsetId:"date-input",hint,errorMessage,required,class:`gcds-date-input__fieldset${hint?" gcds-date-input--hint":""}${errorMessage?" gcds-date-input--error":""}`,lang,"data-date":"true"},"compact"==format?[month,year]:"en"==lang?[month,day,year]:[day,month,year]))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{name:["validateName"],legend:["validateLegend"],format:["validateFormat"],value:["validateValue"],validator:["validateValidator"]}}};GcdsDateInput.style="@layer reset, default, hint, error;@layer reset{:host{display:block}}@layer default{:host .gcds-date-input__fieldset{--gcds-fieldset-font-desktop:var(--gcds-date-input-fieldset-font-desktop);--gcds-fieldset-font-mobile:var(--gcds-date-input-fieldset-font-mobile);--gcds-fieldset-legend-margin:var(--gcds-date-input-fieldset-margin)}:host .gcds-date-input__day,:host .gcds-date-input__month,:host .gcds-date-input__year{display:inline-block;margin-inline-end:var(--gcds-date-input-margin);--gcds-label-font-desktop:var(--gcds-date-input-label-font-desktop);--gcds-label-font-mobile:var(--gcds-date-input-label-font-mobile )}}@layer hint{:host .gcds-date-input--hint{--gcds-fieldset-legend-margin:var(--gcds-date-input-fieldset-hint-margin)}}@layer error{:host .gcds-date-input--error{--gcds-fieldset-legend-margin:var(--gcds-date-input-fieldset-error-margin )}:host gcds-input.gcds-date-input--error::part(input),:host gcds-select.gcds-date-input--error::part(select){border-color:var(--gcds-date-input-danger-border)}}";const I18N$i={en:{date:"Date modified:",version:"Version "},fr:{date:"Date de modification :",version:"Version "}},GcdsDateModified=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.type="date",this.errors=[],this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}validateChildren(){""==this.el.innerHTML.trim()?this.errors.push("children"):this.errors.includes("children")&&this.errors.splice(this.errors.indexOf("children"),1)}validateRequiredProps(){return this.validateChildren(),!this.errors.includes("children")}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateRequiredProps()||logError("gcds-date-modified",this.errors)}render(){const{lang,type}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"39fca62bf69af99e9d52995d1cea0c22d9c13949"},this.validateRequiredProps()&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("dl",{key:"f9dfcb28b36f5481480233e54e4f66c19016addc",class:"gcds-date-modified"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("dt",{key:"71c512bd925df8bf35ad55ba20377340878c670d"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{key:"8964d2b21c1c3660eb5ee4321795275c0006847d",display:"inline","margin-bottom":"0"},"version"===type?I18N$i[lang].version:I18N$i[lang].date)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("dd",{key:"f203c814fb4da7ddaf1fab80233b2c1d2448fc68"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{key:"8d20378fb151f0faea84fbfab13a723b0b3d3727",display:"inline","margin-bottom":"0"},"version"===type?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("time",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsDateModified.style="@layer reset, default;@layer reset{:host{display:block}:host dl{margin:0}:host slot{display:initial}}@layer default{:host .gcds-date-modified{margin:var(--gcds-date-modified-margin)}:host .gcds-date-modified :is(dt,gcds-text,dd){display:inline}:host .gcds-date-modified dd{margin:var(--gcds-date-modified-description-margin)}}";const GcdsDetails=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.detailsTitle=void 0,this.open=!1}async toggle(){this.open=!this.open}render(){const{detailsTitle,open}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"6a7b027fb3c8f1c64e1e55c6be71acff23b8641c"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"3a1b6576b108a69f7790f0698ccf0180743bd882",class:"gcds-details"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{key:"ac9a5185db8182a144ebbd9275a9da7d04076608","aria-expanded":open.toString(),"aria-controls":"details__panel",onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>{emitEvent(e,this.gcdsClick)&&this.toggle()},class:"details__summary",id:"details__summary"},detailsTitle),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"21d41431237eaf81e5f41de477961ba24aeb05ba",id:"details__panel",class:"details__panel","aria-labelledby":"details__summary"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"7f1525c909982ea86e1ece24ca34559f3f7731c6"}))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsDetails.style='@layer reset, default, hover, focus, print;@layer reset{:host{display:block}:host .details__summary{background-color:transparent;border-color:transparent;cursor:pointer;display:block}:host .details__panel slot{display:initial}:host .details__panel ::slotted(:first-child){margin-block-start:0}:host .details__panel ::slotted(:last-child){margin-block-end:0}:host .details__panel ::slotted(ol),:host .details__panel ::slotted(ul){padding:0}}@layer default{:host .gcds-details .details__summary{color:var(--gcds-details-default-text);font:var(--gcds-details-font-desktop);padding:var(--gcds-details-summary-padding);position:relative;text-align:left;text-decoration-color:currentColor;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:var(\n --gcds-details-default-decoration-thickness\n );text-underline-offset:.2em;transition:background-color .15s ease-in-out,color .15s ease-in-out}@media only screen and (width < 48em){:host .gcds-details .details__summary{font:var(--gcds-details-font-mobile)}}:host .gcds-details .details__summary:before{border-block-end:var(--gcds-details-summary-arrow-border-top-bottom) solid transparent;border-block-start:var(--gcds-details-summary-arrow-border-top-bottom) solid transparent;border-inline-start:var(--gcds-details-summary-arrow-border-left) solid currentColor;content:"";height:0;left:var(--gcds-details-summary-arrow-left);position:absolute;top:var(--gcds-details-summary-arrow-top);transition:transform .15s ease-in-out;width:0}:host .gcds-details .details__summary[aria-expanded=false]+.details__panel{display:none}:host .gcds-details .details__summary[aria-expanded=true]:before{transform:rotate(90deg)}:host .gcds-details .details__panel{margin:var(--gcds-details-panel-margin);padding:var(--gcds-details-panel-padding);position:relative}:host .gcds-details .details__panel:before{background-color:var(--gcds-details-panel-border-color);content:"";display:block;height:100%;left:0;position:absolute;top:0;width:var(--gcds-details-panel-border-width)}:host .gcds-details .details__panel ::slotted(*){font:var(--gcds-details-font-desktop)}@media only screen and (width < 48em){:host .gcds-details .details__panel ::slotted(*){font:var(--gcds-details-font-mobile)}}:host .gcds-details .details__panel ::slotted(:not(:last-child)){margin:0 0 var(--gcds-details-panel-slotted-margin)!important}:host .gcds-details .details__panel ::slotted(ol),:host .gcds-details .details__panel ::slotted(ul){margin-inline-start:var(\n --gcds-details-panel-slotted-margin\n )!important}:host .gcds-details .details__panel ::slotted(small){font:var(--gcds-details-font-small-desktop)}@media only screen and (width < 48em){:host .gcds-details .details__panel ::slotted(small){font:var(--gcds-details-font-small-mobile)}}}@layer hover{@media (hover:hover){:host .gcds-details .details__summary:hover:not(:focus){color:var(--gcds-details-hover-text);text-decoration-thickness:var(--gcds-details-hover-decoration-thickness);text-underline-offset:.2em}:host .gcds-details .details__summary:hover:not(:focus):before{color:var(--gcds-details-hover-text)}}}@layer focus{:host .gcds-details .details__summary:focus{background-color:var(--gcds-details-focus-background);border-radius:var(--gcds-details-focus-border-radius);box-shadow:var(--gcds-details-focus-box-shadow);color:var(--gcds-details-focus-text);outline:var(--gcds-details-focus-outline);outline-offset:var(--gcds-details-focus-outline-offset);text-decoration:none}}@layer print{@media print{:host .gcds-details .details__summary{color:var(--gcds-details-print-summary-text);font-weight:var(--gcds-details-print-summary-font-weight);text-decoration:none}:host .gcds-details .details__summary:before{transform:rotate(90deg)}:host .gcds-details .details__panel{border-left:var(--gcds-details-panel-border-width) solid var(--gcds-details-panel-border-color);display:block}}}';const GcdsErrorMessage=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.messageId=void 0}render(){const{messageId}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"c772a009299851d08165315989a3459ba148c69f",id:`error-message-${messageId}`,class:"gcds-error-message-wrapper"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{key:"7d56288b047bc42825e42659d4bd860d4fc8a21f",class:"error-message",role:"alert","margin-bottom":"75"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{key:"3e33a446e6f881f76bd223039bf70c658c9b58fc",name:"triangle-exclamation","margin-right":"50"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("strong",{key:"6e5821532c050461514a6dd72476c9f8ceec65e5"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"f214238880df37d722080260bebc1ac1a4d0c4ae"}))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsErrorMessage.style="@layer reset, default;@layer reset{:host{display:inline-block}:host slot{display:initial}}@layer default{:host .error-message gcds-icon,:host .error-message::part(text){color:var(--gcds-error-message-text-color)}}";const I18N$h={en:{heading:"There was a problem",subheading:"Errors were found on this page:"},fr:{heading:"Un problème est survenu",subheading:"Des erreurs ont été trouvées sur cette page :"}},GcdsErrorSummary=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.errorLinksObject={},this.heading=void 0,this.listen=!0,this.errorLinks=void 0,this.lang=void 0,this.errorQueue={},this.hasSubmitted=!1}listenChanged(){this.errorLinks&&(this.listen=!1)}errorLinksChanged(newErrorLinks){"string"==typeof newErrorLinks?this.errorLinks=JSON.parse(newErrorLinks):"object"==typeof newErrorLinks&&(this.errorLinks=newErrorLinks),this.errorQueue=this.errorLinks,this.listen&&(this.listen=!1)}errorListener(e){this.listen&&e.target.closest("form")==this.el.closest("form")&&(this.errorLinksObject[e.detail.message]=e.target)}validListener(e){if(this.listen&&e.target.closest("form")==this.el.closest("form")){for(const[key,value]of Object.entries(this.errorLinksObject))value==e.target&&delete this.errorLinksObject[key];if(this.errorQueue){const sortedErrorList=this.sortErrors();this.errorQueue=Object.assign({},sortedErrorList)}}}submitListener(e){this.listen&&e.target.closest("form")==this.el.closest("form")&&(this.hasSubmitted=!0,setTimeout((()=>{const sortedErrorList=this.sortErrors();this.errorQueue=Object.assign({},sortedErrorList),setTimeout((()=>{this.shadowElement.focus()}),50)}),100))}sortErrors(){const sortable=Object.entries(this.errorLinksObject).map((([key,value])=>[key,value,value.getBoundingClientRect().y]));sortable.sort((function(a,b){return a[2]-b[2]}));const objSorted={};return sortable.forEach((function(item){objSorted[item[0]]=item[1]})),objSorted}focusElement(id){var _a;const element=document.querySelector(id);let target=`[for=${id.replace("#","")}]`;null===(_a=element.closest("form").querySelector(target))||void 0===_a||_a.scrollIntoView(),element.focus()}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.listenChanged(),this.errorLinks&&"string"==typeof this.errorLinks?this.errorQueue=Object.assign({},JSON.parse(this.errorLinks)):this.errorLinks&&"object"==typeof this.errorLinks&&(this.errorQueue=Object.assign({},this.errorLinks))}render(){const{heading,errorQueue,lang,hasSubmitted,errorLinks}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"1e78ebc181c6f25c95316a980d0618ce30854e71"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"5bc1d9c797665c4fcbc3483ee0075fa0d30498f4",role:"alert",tabindex:"-1",ref:element=>this.shadowElement=element,class:"gcds-error-summary "+((hasSubmitted||errorLinks)&&Object.keys(errorQueue).length>0?"gcds-show":"")},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-heading",{key:"b25ea686a38672748271ac291d09af604344883a",tag:"h2","margin-top":"0","margin-bottom":"225"},null!=heading?heading:I18N$h[lang].heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ol",{key:"059c002f1c0bc84e9c1ced147bce03f8f95640c2",class:"summary__errorlist"},(hasSubmitted||errorLinks)&&Object.keys(errorQueue).length>0&&Object.keys(errorQueue).map((key=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{class:"summary__listitem"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"regular",href:errorLinks?key:"#",onClick:e=>{e.preventDefault(),errorLinks?this.focusElement(key):errorQueue[key].focus()}},errorLinks?errorQueue[key]:key)))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{listen:["listenChanged"],errorLinks:["errorLinksChanged"]}}};GcdsErrorSummary.style="@layer reset, default, compact;@layer reset{:host{display:block}}@layer default{:host{container:component summary/inline-size}:host .gcds-error-summary{border:var(--gcds-error-summary-border-width) solid var(--gcds-error-summary-border-color);color:var(--gcds-error-summary-text);display:none;margin:var(--gcds-error-summary-margin);padding:var(--gcds-error-summary-padding);transition:background .15s ease-in-out,border .15s ease-in-out,color .15s ease-in-out}:host .gcds-error-summary.gcds-show{display:block}:host .gcds-error-summary .summary__errorlist{margin:var(--gcds-error-summary-list-margin);padding:0}:host .gcds-error-summary .summary__errorlist .summary__listitem{max-width:var(--gcds-error-summary-max-width)}:host .gcds-error-summary .summary__errorlist .summary__listitem:not(:last-child){padding:var(--gcds-error-summary-list-item-padding)}:host .gcds-error-summary .summary__errorlist .summary__listitem gcds-link::part(link):not(:focus){color:var(--gcds-error-summary-link-color)}}@layer compact{@container summary (width < 24em){:host .gcds-error-summary{padding:var(--gcds-error-summary-mobile-padding)}}}";const I18N$g={en:{required:"required"},fr:{required:"obligatoire"}},GcdsFieldset=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsGroupError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsGroupError",7),this.gcdsGroupErrorClear=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsGroupErrorClear",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),this.isDateInput=!1,this._validator=defaultValidator,this.fieldsetId=void 0,this.legend=void 0,this.required=void 0,this.errorMessage=void 0,this.hint=void 0,this.disabled=void 0,this.validator=void 0,this.validateOn=void 0,this.hasError=void 0,this.lang=void 0,this.inheritedAttributes={}}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateDisabledFieldset(){if(this.required&&(this.disabled=!1),1==this.disabled)for(let i=0;i{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledFieldset(),this.validateErrorMessage(),this.validateValidator(),this.el.getAttribute("data-date")?this.isDateInput=!0:requiredValidator(this.el,"fieldset"),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement)}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{lang,fieldsetId,legend,required,errorMessage,hasError,hint,disabled,inheritedAttributes}=this,fieldsetAttrs=Object.assign({disabled},inheritedAttributes);return errorMessage&&(fieldsetAttrs["aria-describedby"]=`error-message-${fieldsetId} ${fieldsetAttrs["aria-describedby"]?` ${fieldsetAttrs["aria-describedby"]}`:""}`),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"89556f83e10ae99e70fefaf649e3b43f4e770699"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("fieldset",Object.assign({key:"b788701b3e9c46afab93206a55ee28223383bf5b",class:"gcds-fieldset "+(hasError?"gcds-fieldset--error":""),id:fieldsetId},fieldsetAttrs,{"aria-labelledby":hint?`legend-${fieldsetId} hint-${fieldsetId}`:`legend-${fieldsetId}`,tabindex:"-1",ref:element=>this.shadowElement=element}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("legend",{key:"2ed88bb08d1f52e9054df6efafe51a94c2ac0b2c",id:`legend-${fieldsetId}`},legend,required?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{class:"legend__required"},"(",I18N$g[lang].required,")"):null),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":fieldsetId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:fieldsetId},errorMessage):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"cf54188dacee5ac7f098303d68befe7ae251f751"})))}static get delegatesFocus(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{errorMessage:["validateErrorMessage"],disabled:["validateDisabledFieldset","handleDisabledChange"],validator:["validateValidator"]}}};GcdsFieldset.style="@layer reset, default, disabled;@layer reset{:host{display:block}:host .gcds-fieldset{border:0;min-inline-size:auto;padding:0}:host legend{padding:0}:host slot{display:block;margin:0}}@layer default{.gcds-fieldset{color:var(--gcds-fieldset-default-text)}.gcds-fieldset legend{font:var(--gcds-fieldset-font-desktop);margin:var(--gcds-fieldset-legend-margin)!important}@media only screen and (width < 48em){.gcds-fieldset legend{font:var(--gcds-fieldset-font-mobile)}}.gcds-fieldset legend .legend__required{font:var(--gcds-fieldset-legend-required-font-desktop);margin:var(--gcds-fieldset-legend-required-margin)!important;vertical-align:middle}@media only screen and (width < 48em){.gcds-fieldset legend .legend__required{font:var(--gcds-fieldset-legend-required-font-mobile)}}}@layer disabled{:host .gcds-fieldset:disabled{color:var(--gcds-fieldset-disabled-text)}:host .gcds-fieldset:disabled gcds-hint{--gcds-hint-text:currentColor}}";const I18N$f={en:{button:{remove:"Remove",upload:"Choose file"},summary:{selected:"Currently selected:",unselected:"No file currently selected."},removeFile:"Remove file"},fr:{button:{remove:"Supprimer",upload:"Choisir un fichier"},summary:{selected:"Actuellement sélectionné:",unselected:"Aucun fichier actuellement sélectionné."},removeFile:"Supprimer le fichier"}},GcdsFileUploader=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsRemoveFile=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsRemoveFile",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.onBlur=()=>{"blur"==this.validateOn&&this.validate(),this.gcdsBlur.emit()},this.handleInput=(e,customEvent)=>{const filesContainer=[],files=Array.from(e.target.files);if(this.files=e.target.files,files.map((file=>{filesContainer.push(file.name)})),this.addFilesToFormData(files),this.value=[...filesContainer],"blur"==this.validateOn&&setTimeout((()=>{this.validate()}),100),"change"===e.type){const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)}customEvent.emit(this.value)},this.removeFile=e=>{e.preventDefault();const fileName=e.target.closest(".file-uploader__uploaded-file").childNodes[0].textContent,filesContainer=this.value,file=filesContainer.indexOf(fileName);if(file>-1){filesContainer.splice(file,1);const dt=new DataTransfer;for(let f=0;f{const formData=new FormData;files.length>0&&files.forEach((file=>{formData.append(this.name,file,file.name)})),this.internals.setFormValue(formData)},this.uploaderId=void 0,this.name=void 0,this.label=void 0,this.required=!1,this.disabled=!1,this.value=[],this.accept=void 0,this.multiple=void 0,this.files=void 0,this.errorMessage=void 0,this.hint=void 0,this.validator=void 0,this.validateOn=void 0,this.hasError=void 0,this.inheritedAttributes={},this.lang=void 0}validateDisabledSelect(){this.required&&(this.disabled=!1)}watchFiles(){const filesContainer=[],files=Array.from(this.files);files.map((file=>{filesContainer.push(file.name)})),this.addFilesToFormData(files),this.value=[...filesContainer]}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}validateHasError(){this.disabled&&(this.hasError=!1)}async validate(){!this._validator.validate(this.shadowElement.files)&&this._validator.errorMessage?(this.errorMessage=this._validator.errorMessage[this.lang],this.gcdsError.emit({id:`#${this.uploaderId}`,message:`${this.label} - ${this.errorMessage}`})):(this.errorMessage="",this.gcdsValid.emit({id:`#${this.uploaderId}`}))}submitListener(e){e.target==this.el.closest("form")&&(this.validateOn&&"other"!=this.validateOn&&this.validate(),this.hasError&&"other"!=this.validateOn&&e.preventDefault())}formResetCallback(){this.internals.setFormValue(""),this.value=[]}formStateRestoreCallback(state){this.internals.setFormValue(state),this.value=state}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledSelect(),this.validateHasError(),this.validateErrorMessage(),this.validateValidator(),requiredValidator(this.el,"file"),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement)}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{accept,disabled,errorMessage,hasError,hint,label,lang,multiple,name,required,uploaderId,value,inheritedAttributes}=this,attrsInput=Object.assign(Object.assign({accept,disabled,multiple,name,required,value},inheritedAttributes),{"aria-describedby":(inheritedAttributes["aria-describedby"]?`${inheritedAttributes["aria-describedby"]} `:"")+"file-uploader__summary"}),attrsLabel={label,required};if(hint||errorMessage){const hintID=hint?`hint-${uploaderId} `:"",errorID=errorMessage?`error-message-${uploaderId} `:"";attrsInput["aria-describedby"]=`${hintID}${errorID}${attrsInput["aria-describedby"]}`}return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"99186272d4f4b070dca7d917d3a32811463df83e"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"c1ca92dd9cc40ad0c5fe7606b9292647be311b7d",class:`gcds-file-uploader-wrapper ${disabled?"gcds-disabled":""} ${hasError?"gcds-error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",Object.assign({key:"9a34edfcfa902b8353c8bd654ab46e31ae38e83d"},attrsLabel,{"label-for":uploaderId,lang})),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":uploaderId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:uploaderId},errorMessage):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"83fc533d49d0f593eada09f8fd06bdaca621b9be",class:"file-uploader__input "+(value.length>0?"uploaded-files":"")},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{key:"3a11627ececd9a0527a9a140ea4f318786111135",type:"button",tabindex:"-1",onClick:()=>this.shadowElement.click()},I18N$f[lang].button.upload),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("input",Object.assign({key:"68dc829e09e98a100be6fe790b3e5bc2d2b7ac81",type:"file",id:uploaderId},attrsInput,{onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),onInput:e=>this.handleInput(e,this.gcdsInput),onChange:e=>this.handleInput(e,this.gcdsChange),"aria-invalid":hasError?"true":"false",ref:element=>this.shadowElement=element})),value.length>0?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{id:"file-uploader__summary"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",null,I18N$f[lang].summary.selected," "),value.map((file=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",null,file," ")))):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{id:"file-uploader__summary"},I18N$f[lang].summary.unselected)),value.length>0?value.map((file=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"file-uploader__uploaded-file","aria-label":`${I18N$f[lang].removeFile} ${file}.`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{"margin-bottom":"0"},file),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{onClick:e=>this.removeFile(e)},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",null,I18N$f[lang].button.remove),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{name:"times",size:"text","margin-left":"150"}))))):null))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{disabled:["validateDisabledSelect"],files:["watchFiles"],errorMessage:["validateErrorMessage"],validator:["validateValidator"],hasError:["validateHasError"]}}};GcdsFileUploader.style="@layer reset, default, input, files, disabled, error, focus, active;@layer reset{:host{display:block}:host .gcds-file-uploader-wrapper{border:0;margin:0;padding:0}:host .gcds-file-uploader-wrapper button{cursor:pointer;font:inherit;outline:0}}@layer default{:host .gcds-file-uploader-wrapper{align-items:flex-start;color:var(--gcds-file-uploader-default-text);display:flex;flex-direction:column;font:var(--gcds-file-uploader-font);max-width:90%;transition:color .15s ease-in-out}:host .gcds-file-uploader-wrapper button{border-radius:var(--gcds-file-uploader-file-button-border-radius);transition:all .15s ease-in-out}}@layer input{:host .gcds-file-uploader-wrapper .file-uploader__input{display:inline-block;position:relative}:host .gcds-file-uploader-wrapper .file-uploader__input button{background-color:var(--gcds-file-uploader-button-background);border:var(--gcds-file-uploader-button-border-width) solid var(--gcds-file-uploader-button-text);color:var(--gcds-file-uploader-button-text);font-weight:var(--gcds-file-uploader-button-font-weight);margin:var(--gcds-file-uploader-button-margin);padding:var(--gcds-file-uploader-button-padding)}:host .gcds-file-uploader-wrapper .file-uploader__input input{cursor:pointer;height:100%;left:0;opacity:0;position:absolute;top:0;width:100%}:host .gcds-file-uploader-wrapper .file-uploader__input #file-uploader__summary{height:0;margin:0;overflow:hidden;visibility:hidden}}@layer files{:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file{align-items:center;border:var(--gcds-file-uploader-file-border-width) solid var(--gcds-file-uploader-file-border-color);cursor:pointer;display:flex;justify-content:space-between;max-width:var(--gcds-file-uploader-file-max-width);padding:var(--gcds-file-uploader-file-padding);width:100%}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file:not(:last-of-type){border-block-end:0}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file:last-of-type{margin:var(--gcds-file-uploader-button-margin)}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file gcds-text{overflow:auto}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file gcds-text::part(text){overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file button{align-items:center;background:transparent;border:0;color:var(--gcds-file-uploader-file-button-default-text);display:flex;font-weight:var(--gcds-file-uploader-button-font-weight);margin:var(--gcds-file-uploader-file-button-margin);padding:var(--gcds-file-uploader-file-button-padding)}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file button:not(:focus) span{overflow:visible;text-decoration:underline var(--gcds-file-uploader-file-button-default-decoration-thickness);text-underline-offset:var(\n --gcds-file-uploader-file-button-underline-offset\n )}}@layer disabled{:host .gcds-file-uploader-wrapper.gcds-disabled{color:var(--gcds-file-uploader-disabled-text)}:host .gcds-file-uploader-wrapper.gcds-disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-file-uploader-wrapper.gcds-disabled gcds-hint{--gcds-hint-text:currentColor}:host .gcds-file-uploader-wrapper.gcds-disabled :is(.file-uploader__input,.file-uploader__uploaded-file){pointer-events:none}:host .gcds-file-uploader-wrapper.gcds-disabled .file-uploader__input button,:host .gcds-file-uploader-wrapper.gcds-disabled .file-uploader__uploaded-file,:host .gcds-file-uploader-wrapper.gcds-disabled .file-uploader__uploaded-file button{color:inherit}:host .gcds-file-uploader-wrapper.gcds-disabled .file-uploader__input button{background-color:var(--gcds-file-uploader-disabled-background);border-color:currentColor}}@layer error{:host .gcds-file-uploader-wrapper.gcds-error .file-uploader__uploaded-file{border-color:var(--gcds-file-uploader-file-danger-border-color)}}@layer hover{@media (hover:hover){:host .gcds-file-uploader-wrapper .file-uploader__input:not(:focus-within):hover button{background-color:var(--gcds-file-uploader-hover-button-background)}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file button:not(:focus):hover{color:var(--gcds-file-uploader-file-button-hover-text)}:host .gcds-file-uploader-wrapper .file-uploader__uploaded-file button:not(:focus):hover span{text-decoration-thickness:var(\n --gcds-file-uploader-file-button-hover-decoration-thickness\n )}}}@layer focus{:host .gcds-file-uploader-wrapper:focus-within .file-uploader__uploaded-file:focus-within{border-color:var(--gcds-file-uploader-file-focus-border-color)}:host .gcds-file-uploader-wrapper:focus-within .file-uploader__input:focus-within button,:host .gcds-file-uploader-wrapper:focus-within .file-uploader__uploaded-file button:focus{background-color:var(--gcds-file-uploader-focus-button-background);border-color:var(--gcds-file-uploader-focus-button-background);color:var(--gcds-file-uploader-focus-button-text);outline:var(--gcds-file-uploader-button-outline-width) solid var(--gcds-file-uploader-focus-button-background);outline-offset:var(--gcds-file-uploader-focus-button-outline-offset)}}@layer active{:host .gcds-file-uploader-wrapper .file-uploader__input:has(input:active) button{background-color:var(--gcds-file-uploader-active-button-background);border-color:var(--gcds-file-uploader-active-button-background);color:var(--gcds-file-uploader-active-button-text)}}";const I18N$e={en:{gov:{heading:"Government of Canada",menu:{contacts:{text:"All Contacts",link:"https://www.canada.ca/en/contact.html"},dept:{text:"Departments and agencies",link:"https://www.canada.ca/en/government/dept.html"},about:{text:"About government",link:"https://www.canada.ca/en/government/system.html"}}},themes:{heading:"Themes and topics",menu:{jobs:{text:"Jobs",link:"https://www.canada.ca/en/services/jobs.html"},immigration:{text:"Immigration and citizenship",link:"https://www.canada.ca/en/services/immigration-citizenship.html"},travel:{text:"Travel and tourism",link:"https://travel.gc.ca/"},business:{text:"Business",link:"https://www.canada.ca/en/services/business.html"},benefits:{text:"Benefits",link:"https://www.canada.ca/en/services/benefits.html"},health:{text:"Health",link:"https://www.canada.ca/en/services/health.html"},taxes:{text:"Taxes",link:"https://www.canada.ca/en/services/taxes.html"},enviro:{text:"Environment and natural resources",link:"https://www.canada.ca/en/services/environment.html"},defence:{text:"National security and defence",link:"https://www.canada.ca/en/services/defence.html"},culture:{text:"Culture, history and sport",link:"https://www.canada.ca/en/services/culture.html"},policing:{text:"Policing, justice and emergencies",link:"https://www.canada.ca/en/services/policing.html"},transport:{text:"Transport and infrastructure",link:"https://www.canada.ca/en/services/transport.html"},world:{text:"Canada and the world",link:"https://international.gc.ca/world-monde/index.aspx?lang=eng"},finance:{text:"Money and finance",link:"https://www.canada.ca/en/services/finance.html"},science:{text:"Science and innovation",link:"https://www.canada.ca/en/services/science.html"},indigenous:{text:"Indigenous peoples",link:"https://www.canada.ca/en/services/indigenous-peoples.html"},veterans:{text:"Veterans and military",link:"https://www.canada.ca/en/services/veterans.html"},youth:{text:"Youth",link:"https://www.canada.ca/en/services/youth.html"}}},site:{heading:"Government of Canada Corporate",menu:{social:{text:"Social media",link:"https://www.canada.ca/en/social.html"},mobile:{text:"Mobile applications",link:"https://www.canada.ca/en/mobile.html"},about:{text:"About Canada.ca",link:"https://www.canada.ca/en/government/about.html"},terms:{text:"Terms and conditions",link:"https://www.canada.ca/en/transparency/terms.html"},privacy:{text:"Privacy",link:"https://www.canada.ca/en/transparency/privacy.html"}}},about:"About this site",topofpage:"Top of page"},fr:{gov:{heading:"Gouvernement du Canada",menu:{contacts:{text:"Toutes les coordonnées",link:"https://www.canada.ca/fr/contact.html"},dept:{text:"Ministères et organismes",link:"https://www.canada.ca/fr/gouvernement/min.html"},about:{text:"À propos du gouvernement",link:"https://www.canada.ca/fr/gouvernement/systeme.html"}}},themes:{heading:"Thèmes et sujets",menu:{jobs:{text:"Emplois",link:"https://www.canada.ca/fr/services/emplois.html"},immigration:{text:"Immigration et citoyenneté",link:"https://www.canada.ca/fr/services/immigration-citoyennete.html"},travel:{text:"Voyage et tourisme",link:"https://voyage.gc.ca/"},business:{text:"Entreprises",link:"https://www.canada.ca/fr/services/entreprises.html"},benefits:{text:"Prestations",link:"https://www.canada.ca/fr/services/prestations.html"},health:{text:"Santé",link:"https://www.canada.ca/fr/services/sante.html"},taxes:{text:"Impôts",link:"https://www.canada.ca/fr/services/impots.html"},enviro:{text:"Environnement et ressources naturelles",link:"https://www.canada.ca/fr/services/environnement.html"},defence:{text:"Sécurité nationale et défense",link:"https://www.canada.ca/fr/services/defense.html"},culture:{text:"Culture, histoire et sport",link:"https://www.canada.ca/fr/services/culture.html"},policing:{text:"Services de police, justice et urgences",link:"https://www.canada.ca/fr/services/police.html"},transport:{text:"Transport et infrastructure",link:"https://www.canada.ca/fr/services/transport.html"},world:{text:" Le Canada et le monde",link:"https://www.international.gc.ca/world-monde/index.aspx?lang=fra"},finance:{text:"Argent et finance",link:"https://www.canada.ca/fr/services/finance.html"},science:{text:"Science et innovation",link:"https://www.canada.ca/fr/services/science.html"},indigenous:{text:"Autochtones",link:"https://www.canada.ca/fr/services/autochtones.html"},veterans:{text:"Vétérans et militaires",link:"https://www.canada.ca/fr/services/veterans.html"},youth:{text:"Jeunesse",link:"https://www.canada.ca/fr/services/jeunesse.html"}}},site:{heading:"Organisation du gouvernement du Canada",menu:{social:{text:"Médias sociaux",link:"https://www.canada.ca/fr/sociaux.html"},mobile:{text:"Applications mobiles",link:"https://www.canada.ca/fr/mobile.html"},about:{text:"À propos de Canada.ca",link:"https://www.canada.ca/fr/gouvernement/a-propos.html"},terms:{text:"Avis",link:"https://www.canada.ca/fr/transparence/avis.html"},privacy:{text:"Confidentialité",link:"https://www.canada.ca/fr/transparence/confidentialite.html"}}},about:"À propos de ce site",topofpage:"Haut de la page"}},GcdsFooter=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.display="compact",this.wordmarkVariant=void 0,this.contextualHeading=void 0,this.contextualLinks=void 0,this.subLinks=void 0,this.lang=void 0}contextualLinksChanged(newContextualLinks){"string"==typeof newContextualLinks?this.contextualLinksObject=JSON.parse(newContextualLinks):"object"==typeof newContextualLinks&&(this.contextualLinksObject=newContextualLinks)}subLinksChanged(newSubLinks){"string"==typeof newSubLinks?this.subLinksObject=JSON.parse(newSubLinks):"object"==typeof newSubLinks&&(this.subLinksObject=newSubLinks)}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.contextualLinks&&"string"==typeof this.contextualLinks?this.contextualLinksObject=JSON.parse(this.contextualLinks):this.contextualLinks&&"object"==typeof this.contextualLinks&&(this.contextualLinksObject=this.contextualLinks),this.subLinks&&"string"==typeof this.subLinks?this.subLinksObject=JSON.parse(this.subLinks):this.subLinks&&"object"==typeof this.subLinks&&(this.subLinksObject=this.subLinks)}get renderSignature(){const signVariant=this.wordmarkVariant?this.wordmarkVariant:"colour";return this.el.querySelector('[slot="signature"]')?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"wordmark"}):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"sub__wordmark"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-signature",{type:"wordmark",variant:signVariant,lang:this.lang}))}render(){const{lang,display,contextualHeading,contextualLinksObject,subLinks,subLinksObject,renderSignature}=this,govNav=I18N$e[lang].gov.menu,themeNav=I18N$e[lang].themes.menu,siteNav=I18N$e[lang].site.menu;let contextualLinkCount=0,subLinkCount=0;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"d1db0f4906c46f81dfef9216c16ed60ecb181ca0",role:"contentinfo","aria-label":"Footer"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"f1a49651dc54e05e5d35b8e9032acfdd301aea8f",tag:"h2"},I18N$e[lang].about),contextualLinksObject&&contextualHeading&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"0653b6f5184d59e0c05097ec58a002c1196cc6a5",class:"gcds-footer__contextual"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"57eaa5f31ada47ae4caad4b18b277288c9f53bab",class:"contextual__container"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"ac6f6e81891dd1915f6e68d6b95c6d54b5d4f60b","aria-labelledby":"contextual__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h3",{key:"ae738dfd4f19c28c17b385084b3a0a42de474ad4",id:"contextual__heading",class:"contextual__heading"},contextualHeading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"d8cb78f64e69d82a18105eb4f5c9669947a3bb07",class:"contextual__list"},Object.keys(contextualLinksObject).map((key=>{if(contextualLinkCount<3)return contextualLinkCount++,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"small",href:contextualLinksObject[key]},key))})))))),"full"===display?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-footer__main"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"main__container"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{class:"main__govnav","aria-labelledby":"govnav__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h3",{id:"govnav__heading"},I18N$e[lang].gov.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{class:"govnav__list"},Object.keys(govNav).map((value=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"small",href:govNav[value].link},govNav[value].text)))))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{class:"main__themenav","aria-labelledby":"themenav__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{tag:"h4",id:"themenav__heading"},I18N$e[lang].themes.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{class:"themenav__list"},Object.keys(themeNav).map((value=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"small",href:themeNav[value].link},themeNav[value].text)))))))):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"21eef26e7495178731f8a463e148a137ffd724fc",class:"gcds-footer__sub"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"d00863d474fdc71d492e0bac3f25e9edeea764ed",class:"sub__container"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"8638c7c81ca3f4eaa957494e761222f6a232b3c4","aria-labelledby":"sub__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"eefe1e5294f3c0f99500381203da332c3209586b",tag:"h3",id:"sub__heading"},I18N$e[lang].site.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"d2c6324afb1553d345d9613f43432890d3f7e56c"},subLinks?Object.keys(subLinksObject).map((key=>{if(subLinkCount<5)return subLinkCount++,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"small",href:subLinksObject[key]},key))})):Object.keys(siteNav).map((value=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{size:"small",href:siteNav[value].link},siteNav[value].text)))))),renderSignature)))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{contextualLinks:["contextualLinksChanged"],subLinks:["subLinksChanged"]}}};GcdsFooter.style='@layer reset, default, contextual, main, sub, small, compact, medium, wide;@layer reset{:host{display:block}:host slot{display:initial}:host gcds-link::part(link):not(:hover){text-decoration:none}:host .gcds-footer__sub ul{list-style-type:none;margin:0;padding:0}:host .gcds-footer__sub ul li{display:block}}@layer default{:host{font:var(--gcds-footer-font)}:host .gcds-footer__header,:host .sub__header,:host .themenav__header{clip:rect(1px,1px,1px,1px);height:1px;margin:0;overflow:hidden;position:absolute;width:1px}:host [class$=__container]{justify-content:space-between;margin:var(--gcds-footer-container-margin);max-width:var(--gcds-footer-container-width);width:90%}:host nav{position:relative}:host nav li{margin:var(--gcds-footer-listitem-margin)}:host [class$=__list]{display:grid;grid-template-columns:1fr;list-style:none;padding:var(--gcds-footer-list-padding);grid-gap:var(--gcds-footer-list-grid-gap)}:host [class$=__list] li gcds-link::part(link){color:var(--gcds-footer-main-text)}:host h3{font:var(--gcds-footer-font-heading-desktop)}@media only screen and (width < 48em){:host h3{font:var(--gcds-footer-font-heading-mobile)}}}@layer contextual{:host .gcds-footer__contextual{background-color:var(--gcds-footer-contextual-background);color:var(--gcds-footer-contextual-text);container:component contextual/inline-size;margin-block-end:-1px;padding:var(--gcds-footer-contextual-padding)}}@layer main{:host .gcds-footer__main{background-color:var(--gcds-footer-main-background);background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAmgAAAC9CAMAAAAwXXHOAAAAe1BMVEUAAAAYJjgbKDogIDkcOTkgMDgoKEMdJzgdKDcAAAAgKTkfLj4gKDgfKjgeJjgeKjgcKDgfJzhAQEAfKzceKDgdKDcdKjcAVVUhN0MeKDceKzcAAFUdKjgcKzkeLTwaMzMdKjcfKTYZJjIcKzkaKDgcKDgYKjgbKTgYKDjo9/gwAAAAKXRSTlMASTkoCSATe/8BUCHNSWXct1sEU+D9nQMXeIoD8zYiCsN1PST/bZK221OBjhQAAA8qSURBVHgB7NVVAUNRDAWwPr5jZp5/jwMR/Us0HAgAAAAAAAAAAAAAAAAAAAAgS1U3TRt/XdNHEqiGUurReBIxLUOQSNBm88VytRa0ZIK22Zbd/iBo2Vzn8XS+hKCRqDpdr7e4PyKe11ckger9Zdc+bGULYSAMj2uZMab/Bl/mJoWXLiuvNV8HiH/PYgSGMIdmFvhjZg7NHJoZEcRtZmQEbjOj5NDMoZlDM3No1kxIidvMUlowuy2lgtltS9qE2WUlTwN2H7fGTQMkrBtqYGhBWDMhjRs7KcKaSWnc2BkOrZ8lSRujpALWMjQOW1PCmil9F8PWtNCQbzekHLamgvUSmhda9DsLWOqHmramgHUMbU+bbxLWypLGjZ3V7wraSj/FsPmm0JCHTimHzTc7YI2E5oWWjRfk0Na00AKNWOqXcmgX2ZLuj50OzUoHh/14Em1Y5NaRgSGq26HTUm/UrBubTZhDe8CiAheZQ1uPuBk0hxaPGKPNobHZciz4PjSmv2gXWOmDTQ8DduMa4KOYFFqiBQsdVXvQ3lTPZwJ+xL1IxJzbdO53w42RPUJbQACsKXsTzU6cDm3pbEec/dl4fvn+xGmMZIPQCj9D45TQlo6EgVnKDjuyfjQ/KLTSsWAAI7PLXyeCI/46480scE6cRAs+o+ln7lwDQstz1nwzDSR6cGh7EYilIV+01KtoFJpDk3bVloZ80ZZeJcBEEw7teP7QikDp1QJi+bl+Ep/NoXHrVQFZvt8Ih/a5vrJ3J8iJK0EQQCvPkplVdf8T/rBFB61vYYStMWCTMYA2b82j1Qti2A5rSuMFLcKMOwZVvQGtKhnPGmpAG0HkayIK94Vm5AY0w4xnDVSRmpNRr4moRNw3/m2nTqtZmlPsF7QXtKNjbcWvXide0A5NvqBthDIfAFq5ytnv988OrbSV+vPQKh4AGoLjH+u5obG1lWbcP68ajXFOqn9dE+31/kf/ROvhBe3VSKsXtB9oor0aaUjJeEE7LmhtpxF/ON5TqTv8gnZ7hdZlzcn4u2G9oP2TPmdXGkEtsV1/u9+JXZ/mWd0vaHuTGn8Ps7WEoy38Z2MT16u0Ur2g3dbpBJylke7uPz2+wUKA14bS2Gq+oO0MtJ0/DQ1CICj5WtE5vpoXtHb/dWi5QCMyLoeWlIwb8oJWTI048o9DY5FEIGB+7kwy/ym0mtK/ABrCtE7mgv23oUEIMBCQr54K/Hqb0A3QGAyfCy7/MDRGpDygZQTvCq0M1/vdnaBhvfJtaDGgYSz+VWhkyeEIBGHyvtAQEXBEsO4DzeuVY6CNRfxlaJKIBVqAKdwVGge0uBO05LzygnZYqKJjQAsLsRVCOro3AD4gtMJ5mfUNsBehOf5koIwFmhnmJWjQiOOo2I8Hje0YCTe/DvYitPqr0IpFNqIcKf1xaFDOvxIOaAnkq0abBRmdURfLAVLa6d8OzXOFk/KrjfYPhq8a/Rk0RAR/O7RUcyyzlS9ox0Jrd7sq+97QAMAJAPeBVhMESv2CdiC0ZmZUhSvqX0LjuF/CLnyA5rekfaeZAc6vNEjNx4BGgPF0sWOEASnDiHIgwxL+GTSP+yUp1aVTJxZoxTu0WHP+jXBEZ+AAaBLj6QLEEhphyZGMdLACljfn1iFVZta3oPEtu6ClluAODYmah8L8GNAs5RPXaBTYSkZFlCOKkSpCvNDrtOsb0Fpvae6AVlriO0BLTtBya84udgRHQmNLxXi2ZK4Ko4K5QLNHk3z71ImI/DY07YDGPvqKIe+/Sgdz8xUbFnFcG42xI6xeGhLxXGHVqjAc9glajuuh7gvtH1xtm/t7nZwaRrVFsWIz4M3QiJuGOhlPFai5LoxEvN/YDO+p0bhoI/GFSx25vJBRUuEKtGZ8P+Q7NB8AjWGpHdysNG+GBt801Il4qiw9y3PrgWySCZICKUn5CbQ0gx0Rkb2cWjjcxhL6tM7zIyLQo7jYCL6v1SVoR5YtHChGHQDNWZIqt4AUbm6juX4ztJSWko+l0LIqz3fVkvoTaNKAVpISgI33JN5CuPiezOWxEJERqSUZkIPaBc3x/djVatfuNtrlcTRfbjuyfTO0auzDv8RPd1V6BevcrbLfln2qypFS7YHm1s50MokeazxD6/bn0PK4WbY6YHjDl9uOVt06qc7eY4edlqRMM54oXJ7rikCDzYjigLbwIwufQatgB7P19VTmkPQ5tIrvp3Z/ugprOo4tqbgJrRng5VnSwUsgUHpPvmUNzbv+PmRw+TriCWfRmyyHvehaoC3mkOHiJ9Aa7Codk21oR/YGsH+sBJokbI30pE5BJDcnr0a84wLi2qMfVcSpyZHJZ/wM3yKLEfYZ2gKPkb4IbeRnoMk2D/qDi/ug5apOiiksnWK2Pw71fnYBcb1FkjDblHe/TipsxBNCay+eEmdoyIhwBhv3hzaCoz5L1vtq+5oLynFJjz8Ua/MytI3OgPe1DWZoT/kGtAo2Y7kb0FjvdwwXfwZafXz3Rh4KzRpR3QStPpxv2RegjV3YD21Ibvx6aFhwOeMMLZLLJpZ/CFqeUroUHPURn43boXnjzLmk/OEE50+hcQVtsM1fD62rGRGJGZodSyWHRkzJ46Ft5Xhobp2T+9tom52B1Bx/8MxPoeWAtjqi+cuhjZIqztCQY9o9ay62flZoqSnNPdD8BWi+XqO5sYKWV/88cgWNzwUNGilOb+UoTxMpaIPKGGHpSaGxt2wcX6NRb8m9n4+GStZ2NevyWMx2eK6S8zmheSF1AjbA1fu9iu7yVAsOaOXM0V7PsdynhXTXer9G1JnLv/pBaNYqxX3Q3N09+uZ7oGHUmPvG0WY97VVSg1OWHP20n+jtdYU2iqtrnn7D22qNP5k9QcsAhlaM5Qpw6TDUej9XzwsjOCZi0EvRWWN1PC5uM13O+jo0AhG1H+0MDXMt4vRWZ0Bd57QkMLu6q97u+lNo0TtGfEoyW3Pq2Wq0ZLVXb+PrHA651NoMdGFZ0QwN9kmHPJbrtGBUrfdvVABYlNcYY1mqgtTyWEt5EhGIwJehoVS31WhTrxMzp1ZXdXW3Pg0itSMgydbllAe0D2k+WY3GcMdiiOOSpIhJHoSIHKfXGdrN2YZ2+lYZUWN1PC7Q/C1orJJMUqs49kCDSzdnQDsgnbwATc8HLTNIogTAdqr9FljJt8gRHLPCzwctv9TcS30nRumTJOq20cXe2sHngobwtTNBV5VGjoCWPiUljT5BZfZYPf/QApyAAR8KrXk0tP0pBkvfzvNBU6XtUgIArSLeYtl2tmoN8bmGN3gBWtwPmiPC+ka6+qmgYfmrfRquFdafokNhtN2I1BTDQOlH0tXVN0IDpmXdAVqxr1RF0MWYLTWtOY1pPQP9dNBwGVpjQIvwsXhqvCyvJgNRRdB7odFlg2P5SGiVWVlVWedfvqpWt7dk9Mbez6E1OXaXlAHNqeDsOOoZT50DGtfQYgx7XIZWrrHY6ezTQvWy0/OG+ZAgu4KLdBCWigBLTYA5VsdHWFfc0BkYw3Ek0tIx0Exa8scZejPI6ZaSTqOrydUeXoEWu6FpBzQ8HrS8Bg2XqvriAKj2fN2cW0pGcN7QY0F9GhbGVOy5PL01X/af16DBhZjDjUbZMdAi1tDyvGOEY/uAFqv8KLTsR4NGtBwR7P4/tMrlqOIlaOftOb6jV9eqcWzI88IZGr8HjU6J6w2gtSfNGCHSV6FVVUk9ZexYZ1TmvbHrMrQVpXRJ5dScct4Cza0HnIJaoKljA9rAw3ECAQ6DNmagAEsFAKUGgByry49kFkmvoY2qC4kATSCQ2h/O3wY/2uvcbopUWntT1VegSfEwQc8TtD5DqwGtlsPW/6cM90DLz6GNfGt4g1qSJ7BZX/lWbkkwgjSJa52BVme936RyjW2n28hYHijKdRXakeNozAeC5p6bVyz5/1clun2SlhHuAe37NZoyO6uzDoFmWrcn17PjRUqS19DM1hKAHj0nywEta2pGje0aWfaryK5lf34JWldfh0YsRW1yHk94OGfKpbybA9pYOk+3N5ai91sOqNEYDjqgkXOvEzBLSp78NNBmJlMSGOdY30luVouFNbSoM3FIDAjB99uypgq6GRaDGsGynBGZERY9gyFWv3yyB+qmNdK0KnLynqwBeRpHQypP7VVj6ZO47wmNxLSSvWoWW8qPl7+WihHBvjBrUnbeCs1LG80Ra2g5/c/GOdWdFVEIYzl4ftXWhp6sL0KrU4HcBo1SZakjLHwCbbMLO4LI5aFWfcsMqsf7wmscOJ6yAS2yJJDQW8oEy6U7QqNV2JqX8ekE4o8X9KeEsxJrM9+Axv9/g7wGTUozgsSWMyGsnSkjIgitU7wIjVvQ3nIztMK8jZHjIcPb0HL113VwQMvWhcR9gpREbjR1x1Pqc42GiJUOS833e9tuzfnJGm1Qy9R2TGp3ENxwSeKWU+eoYSwE9kLTRWiTm+Jn0LQUMEsPBW38QpUkQdRoBEg9RnUcLOP0LC8Z9Rwk5Tu0ZeuqF7Yk8ZaUjLfUacHnDedD1EACxg3QDOvgmOnSxyQHNJ0PSNuSnUpb6dSyNvbWqmeZ9qlpUTWOmtPchLZx3DVoejRoWjLXzfW+XEMSAlKaE7ScoBVT6mF2eiUflK6q6vGgestpe1f1MW8E25cB7YeyDW1kExoHND8uNGjEYalBBi3J5ocxJsmrrkOTqM1e54PEAX07noc3Nh2XS4cFN0IbIeF6NGj+2C0zF0j8WGr48KldpTnfhVakpSRTByeD+nZyo42mJtQMH+d5xK7boY08ADQmyLkrsD1NzPpkXPRwaOsuXEAHx5n/ClpANQoSpI4OXNeg8RGhwWPYiUB//taLi9BqQOsngXZI0t6G1oTukanqfzho41ezndrOdWgsJf8eNKm8eep8qsQPhLFtaO/oJhkRXCrFdETwAjTAvwza/k7sCxozsaeAMlIX0mmjRs8rgjo0/x6aXol/HLoOuYLiHAd9NDRSAuH/2rtXI4tiIAaidizSfPKPcGvBpQ9ZrA+ZBLqGykg5YeXXpsdv7a4Rlv9nSSC0K527jgKhadw1TgCh6buSY0BodWtuSe0cENr9xlvbOSA0+V/XHceA0DROA6HptNNAaJoqh4HQ1E4CoamqZ9c5IDTVrMNAaBrHgdDuOg+E1s4DoWmcBkJTrdNAaGrngdDaT4DQ9jc/AULzM8Af2qL98u71t1EAAAAASUVORK5CYII=);background-position:100% 100%;background-repeat:no-repeat;color:var(--gcds-footer-main-text);container:component main/inline-size}:host .gcds-footer__main nav:first-of-type:after{border-block-end:var(--gcds-footer-main-nav-first-after-border-width) solid var(--gcds-footer-main-nav-first-after-border-color);content:"";display:block;width:var(--gcds-footer-main-nav-first-after-width)}:host .gcds-footer__main nav.main__govnav{padding:var(--gcds-footer-main-govnav-padding)}:host .gcds-footer__main nav.main__themenav{padding:var(--gcds-footer-main-themenav-padding)}:host .gcds-footer__main nav.main__themenav .themenav__list{display:grid;grid-auto-flow:column;grid-template-rows:repeat(18,1fr)}}@layer sub{:host .gcds-footer__sub{background-color:var(--gcds-footer-sub-background);container:component sub/inline-size}:host .gcds-footer__sub .sub__container{display:grid;grid-gap:var(--gcds-footer-sub-grid-gap);grid-template-areas:"list wordmark";grid-template-columns:3fr 1fr}:host .gcds-footer__sub .sub__container nav{align-items:center;display:flex;grid-area:list;padding:var(--gcds-footer-sub-nav-padding)}:host .gcds-footer__sub .sub__container .sub__wordmark,:host .gcds-footer__sub .sub__container slot[name=wordmark]{display:flex;grid-area:wordmark}:host .gcds-footer__sub .sub__container .sub__wordmark gcds-signature,:host .gcds-footer__sub .sub__container slot[name=wordmark] gcds-signature{align-self:end;width:var(--gcds-footer-sub-signature-md-width)}}@layer small{@layer compact{@container sub (width <= 19em){:host .gcds-footer__sub .sub__container .sub__wordmark gcds-signature,:host .gcds-footer__sub .sub__container slot[name=wordmark] gcds-signature{width:var(--gcds-footer-sub-signature-sm-width)}}}}@layer compact{@container sub (width >= 28.2em){:host .gcds-footer__sub .sub__container .sub__wordmark gcds-signature,:host .gcds-footer__sub .sub__container slot[name=wordmark] gcds-signature{margin:var(--gcds-footer-sub-signature-margin);min-width:var(--gcds-footer-sub-signature-lg-min-width);width:var(--gcds-footer-sub-signature-lg-width)!important}}}@layer medium{@container contextual (width >= 45em){:host .gcds-footer__contextual [class$=__list]{grid-template-columns:1fr 1fr}}@container main (width >= 45em){:host .gcds-footer__main [class$=__list]{grid-template-columns:1fr 1fr}:host .gcds-footer__main nav.main__themenav .themenav__list{grid-template-rows:repeat(9,1fr)}}}@layer wide{@container contextual (width >= 60.2em){:host .gcds-footer__contextual [class$=__list]{grid-template-columns:1fr 1fr 1fr}}@container main (width >= 60.2em){:host .gcds-footer__main [class$=__list]{grid-template-columns:1fr 1fr 1fr}:host .gcds-footer__main nav.main__themenav .themenav__list{grid-template-rows:repeat(6,1fr)}}@container sub (width >= 60.2em){:host .gcds-footer__sub .sub__container ul li{display:inline-block;margin-block-end:0}:host .gcds-footer__sub .sub__container ul li:first-of-type:before{content:"";margin:0}:host .gcds-footer__sub .sub__container ul li:before{content:"\\2022";display:inline;margin:var(--gcds-footer-sub-listitem-before-margin)}:host .gcds-footer__sub .sub__container .sub__wordmark,:host .gcds-footer__sub .sub__container slot[name=wordmark]{display:inline-block}:host .gcds-footer__sub .sub__container .sub__wordmark gcds-signature,:host .gcds-footer__sub .sub__container slot[name=wordmark] gcds-signature{margin:var(--gcds-footer-sub-signature-lg-margin)}}}';const GcdsGrid=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.columns=void 0,this.columnsTablet=void 0,this.columnsDesktop=void 0,this.container=void 0,this.centered=!1,this.display="grid",this.equalRowHeight=!1,this.tag="div",this.alignContent=void 0,this.justifyContent=void 0,this.placeContent=void 0,this.alignItems=void 0,this.justifyItems=void 0,this.placeItems=void 0}validateTag(newValue){["article","aside","div","dl","main","nav","ol","section","ul"].includes(newValue)||(this.tag="div")}componentWillLoad(){this.validateTag(this.tag)}render(){const{alignContent,alignItems,columns,columnsDesktop,columnsTablet,container,centered,display,equalRowHeight,justifyContent,justifyItems,placeContent,placeItems,tag}=this,Tag=tag,classNames=`\n gcds-grid\n ${alignContent?`align-content-${alignContent}`:""}\n ${alignItems?`align-items-${alignItems}`:""}\n ${void 0===(columns||columnsTablet||columnsDesktop)?"display-grid-with-cols":`display-${display}`}\n ${equalRowHeight?"equal-row-height":""}\n ${justifyContent?`justify-content-${justifyContent}`:""}\n ${justifyItems?`justify-items-${justifyItems}`:""}\n ${placeContent?`place-content-${placeContent}`:""}\n ${placeItems?`place-items-${placeItems}`:""}\n `;function handleColumns(){const responsiveColumns={};return columns&&(responsiveColumns["--gcds-grid-columns"]=columns),columnsTablet&&(responsiveColumns["--gcds-grid-columns-tablet"]=columnsTablet),columnsDesktop&&(responsiveColumns["--gcds-grid-columns-desktop"]=columnsDesktop),responsiveColumns}return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,null,container?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-container",{size:container,centered},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{class:classNames,style:handleColumns()},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null))):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{class:classNames,style:handleColumns()},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{tag:["validateTag"]}}};GcdsGrid.style="@layer reset, default, display, align, justify, place, equalHeight, tablet, desktop;@layer reset{:host{display:block}:host .gcds-grid{box-sizing:border-box;margin:0;padding:0}}@layer default{:host .gcds-grid{gap:var(--gcds-grid-gap);grid-template-columns:var(--gcds-grid-columns,1fr)}}@layer display{:host .gcds-grid.display-grid-with-cols{display:grid;grid-template-columns:1fr}:host .gcds-grid.display-grid{display:grid}:host .gcds-grid.display-inline-grid{display:inline-grid}}@layer align{:host .gcds-grid.align-content-center{align-content:center}:host .gcds-grid.align-content-end{align-content:end}:host .gcds-grid.align-content-space-around{align-content:space-around}:host .gcds-grid.align-content-space-between{align-content:space-between}:host .gcds-grid.align-content-space-evenly{align-content:space-evenly}:host .gcds-grid.align-content-start{align-content:start}:host .gcds-grid.align-content-stretch{align-content:stretch}:host .gcds-grid.align-items-baseline{align-items:baseline}:host .gcds-grid.align-items-center{align-items:center}:host .gcds-grid.align-items-end{align-items:end}:host .gcds-grid.align-items-start{align-items:start}:host .gcds-grid.align-items-stretch{align-items:stretch}}@layer justify{:host .gcds-grid.justify-content-center{justify-content:center}:host .gcds-grid.justify-content-end{justify-content:end}:host .gcds-grid.justify-content-space-around{justify-content:space-around}:host .gcds-grid.justify-content-space-between{justify-content:space-between}:host .gcds-grid.justify-content-space-evenly{justify-content:space-evenly}:host .gcds-grid.justify-content-start{justify-content:start}:host .gcds-grid.justify-content-stretch{justify-content:stretch}:host .gcds-grid.justify-items-center{justify-items:center}:host .gcds-grid.justify-items-end{justify-items:end}:host .gcds-grid.justify-items-start{justify-items:start}:host .gcds-grid.justify-items-stretch{justify-items:stretch}}@layer place{:host .gcds-grid.place-content-center{place-content:center}:host .gcds-grid.place-content-end{place-content:end}:host .gcds-grid.place-content-space-around{place-content:space-around}:host .gcds-grid.place-content-space-between{place-content:space-between}:host .gcds-grid.place-content-space-evenly{place-content:space-evenly}:host .gcds-grid.place-content-start{place-content:start}:host .gcds-grid.place-content-stretch{place-content:stretch}:host .gcds-grid.place-items-center{place-items:center}:host .gcds-grid.place-items-end{place-items:end}:host .gcds-grid.place-items-start{place-items:start}:host .gcds-grid.place-items-stretch{place-items:stretch}}@layer equalHeight{:host .gcds-grid.equal-row-height{align-items:stretch;grid-auto-rows:1fr}}@layer tablet{@media screen and (width >= 48em){:host .gcds-grid{grid-template-columns:var(\n --gcds-grid-columns-tablet,var(--gcds-grid-columns,1fr)\n )}:host .gcds-grid.display-grid-with-cols{grid-template-columns:repeat(var(--gcds-grid-columns-default-tablet),minmax(0,1fr))}}}@layer desktop{@media screen and (width >= 64em){:host .gcds-grid{grid-template-columns:var(\n --gcds-grid-columns-desktop,var(--gcds-grid-columns-tablet,var(--gcds-grid-columns,1fr))\n )}:host .gcds-grid.display-grid-with-cols{grid-template-columns:repeat(var(--gcds-grid-columns-default-desktop),minmax(0,1fr))}}}";const GcdsGridCol=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.tag="div",this.tablet=6,this.desktop=void 0}validateTablet(newValue){[1,2,3,4,5,6].includes(newValue)||(this.tablet=6)}validateDesktop(newValue){this.desktop&&![1,2,3,4,5,6,7,8,9,10,11,12].includes(newValue)&&(this.desktop=12)}componentWillLoad(){this.validateTablet(this.tablet),this.validateDesktop(this.desktop)}render(){const{desktop,tablet,tag}=this,Tag=tag;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{style:function handleColSize(){const colSize={};return tablet&&(colSize["--gcds-grid-col-tablet"]=tablet),desktop?colSize["--gcds-grid-col-desktop"]=desktop:tablet&&(colSize["--gcds-grid-col-desktop"]=2*tablet),colSize}()},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{class:"gcds-grid-col"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{tablet:["validateTablet"],desktop:["validateDesktop"]}}};GcdsGridCol.style="@layer reset, default, tablet, desktop;@layer reset{:host{display:block}:host .gcds-grid-col{box-sizing:border-box;display:block;margin:0;padding:0}}@layer default{:host{grid-column:span var(--gcds-grid-columns-default-base) /span var(--gcds-grid-columns-default-base)}:host .gcds-grid-col{height:100%;width:100%}}@layer tablet{@media screen and (width >= 48em){:host{grid-column:span var(--gcds-grid-col-tablet,var(--gcds-grid-columns-default-tablet)) /span var(--gcds-grid-col-tablet,var(--gcds-grid-columns-default-tablet))}}}@layer desktop{@media screen and (width >= 64em){:host{grid-column:span var(--gcds-grid-col-desktop,var(--gcds-grid-columns-default-desktop)) /span var(--gcds-grid-col-desktop,var(--gcds-grid-columns-default-desktop))}}}";const I18N$d={en:{skip:"Skip to main content",skipLabel:"Skip to"},fr:{skip:"Passer au contenu principal",skipLabel:"Passer au"}},GcdsHeader=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.langHref=void 0,this.signatureVariant=void 0,this.signatureHasLink=!0,this.skipToHref=void 0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}get renderSkipToNav(){return this.el.querySelector('[slot="skip-to-nav"]')?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"skip-to-nav"}):this.skipToHref?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{class:"gcds-header__skip-to-nav","aria-label":I18N$d[this.lang].skipLabel},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{href:this.skipToHref},I18N$d[this.lang].skip)):void 0}get renderToggle(){return this.el.querySelector('[slot="toggle"]')?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"toggle"}):this.langHref?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("section",{class:"brand__toggle"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-lang-toggle",{lang:this.lang,href:this.langHref})):void 0}get renderSignature(){const signVariant=this.signatureVariant?this.signatureVariant:"colour";return this.el.querySelector('[slot="signature"]')?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"signature"}):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"brand__signature"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-signature",{type:"signature",variant:signVariant,"has-link":this.signatureHasLink,lang:this.lang}))}get renderSearch(){return this.el.querySelector('[slot="search"]')?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"brand__search"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"search"})):void 0}get hasSearch(){return!!this.el.querySelector('[slot="search"]')}get hasBanner(){return!!this.el.querySelector('[slot="banner"]')}get hasBreadcrumb(){return!!this.el.querySelector('[slot="breadcrumb"]')}render(){const{renderSkipToNav,renderToggle,renderSignature,renderSearch,hasSearch,hasBanner,hasBreadcrumb}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"f52ff86ea5f438fa5b8b91a2aa2dbbda002e5302",role:"banner"},renderSkipToNav,hasBanner?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"banner"}):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"7e518fb76a2727b298079f283d15acf91e83d4d1",class:"gcds-header__brand"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"f667c6c6cf241700dcc03086fbca4fa2d3f3ea4b",class:"brand__container "+(hasSearch?"":"container--simple")},renderToggle,renderSignature,renderSearch)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"a31b379ff70560651143c9d5f9299128b13eeff4",name:"menu"}),hasBreadcrumb?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-header__container"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{name:"breadcrumb"})):null)}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsHeader.style='@layer reset, default, brand, wide;@layer reset{:host{display:block}:host slot{display:initial}}@layer default{:host{margin:var(--gcds-header-margin)!important}:host .gcds-header__container{justify-content:space-between;margin:0 auto;max-width:var(--gcds-header-container-max-width);width:90%}:host .gcds-header__skip-to-nav{margin-inline:auto;position:absolute;text-align:center;top:var(--gcds-header-skiptonav-top);width:100%}:host .gcds-header__skip-to-nav gcds-link{left:0;position:absolute;top:var(--gcds-header-skiptonav-top);width:inherit;z-index:3}:host .gcds-header__skip-to-nav gcds-link:not(:focus){height:0;overflow:hidden;width:0;clip:rect(0,0,0,0)}}@layer brand{:host .gcds-header__brand{border-block-end:var(--gcds-header-brand-border-width) solid var(--gcds-header-brand-border-color);container:component brand/inline-size;margin:var(--gcds-header-brand-margin);padding:var(--gcds-header-brand-padding)}:host .gcds-header__brand .brand__container{display:grid;grid-gap:var(--gcds-header-brand-grid-gap);grid-template-areas:"signature toggle" "search search";grid-template-columns:1fr .1fr;margin:0 auto;max-width:var(--gcds-header-container-max-width);width:90%}:host .gcds-header__brand .brand__container.container--simple{grid-template-areas:"signature toggle"}:host .gcds-header__brand .brand__container :is(.brand__toggle,slot[name=toggle]){grid-area:toggle;text-align:right}:host .gcds-header__brand .brand__container :is(.brand__signature,slot[name=signature]){grid-area:signature}:host .gcds-header__brand .brand__container :is(.brand__signature,slot[name=signature]) gcds-signature{margin:var(--gcds-header-brand-signature-margin)}:host .gcds-header__brand .brand__container .brand__search{display:block;grid-area:search;max-width:100%}}@layer wide{@container brand (width >= 51em){:host .gcds-header__brand .brand__container{grid-template-areas:"toggle toggle" "signature search";grid-template-columns:1fr 1fr}:host .gcds-header__brand .brand__container .brand__search,:host .gcds-header__brand .brand__container slot[name=search]{margin-inline-start:auto;width:fit-content}}}';const SpacingArray=function generateSpacingArray(){const values=[];for(let i=0;i<=1250;i+=25)values.push(i.toString());return values}(),GcdsHeading=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.tag=void 0,this.characterLimit=!0,this.marginTop=void 0,this.marginBottom="300"}validateTag(newValue){["h1","h2","h3","h4","h5","h6"].includes(newValue)||console.error("Not a valid tag.")}validateMarginTop(newValue){(!this.marginTop||this.marginTop&&!SpacingArray.includes(newValue))&&(this.marginTop="h1"===this.tag?"0":"600")}validateMarginBottom(newValue){this.marginBottom&&!SpacingArray.includes(newValue)&&(this.marginBottom="300")}componentWillLoad(){this.validateTag(this.tag),this.validateMarginTop(this.marginTop),this.validateMarginBottom(this.marginBottom)}render(){const{characterLimit,marginTop,marginBottom,tag}=this,Tag=tag;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"decf305fa7a128be6b541d3ad3a831a1a52797a6"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{key:"8b3b768c40221bcd42efe0da080b0aeeb77fec9e",class:`\n gcds-heading\n ${characterLimit?"limit":""}\n ${marginTop?`mt-${marginTop}`:""}\n ${marginBottom?`mb-${marginBottom}`:""}\n `},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"447128aaa454ae0f840331cc2eea4098627f9d30"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{tag:["validateTag"],marginTop:["validateMarginTop"],marginBottom:["validateMarginBottom"]}}};GcdsHeading.style='@layer reset, default, limit, margin;@layer reset{:host{color:var(--gcds-heading-default-text);display:block}:host :is(h1,h2,h3,h4,h5,h6){box-sizing:border-box;margin:0}:host slot{display:initial}}@layer default{:host :is(h1,h2,h3,h4,h5,h6){text-wrap:balance}:host h1.gcds-heading{font:var(--gcds-heading-h1-desktop)}@media only screen and (width < 48em){:host h1.gcds-heading{font:var(--gcds-heading-h1-mobile)}}:host h1.gcds-heading:after{background-color:var(--gcds-heading-h1-border-background);content:"";display:block;height:var(--gcds-heading-h1-border-height);margin-block-start:var(--gcds-heading-h1-border-margin);width:var(--gcds-heading-h1-border-width)}:host h2.gcds-heading{font:var(--gcds-heading-h2-desktop)}@media only screen and (width < 48em){:host h2.gcds-heading{font:var(--gcds-heading-h2-mobile)}}:host h3.gcds-heading{font:var(--gcds-heading-h3-desktop)}@media only screen and (width < 48em){:host h3.gcds-heading{font:var(--gcds-heading-h3-mobile)}}:host h4.gcds-heading{font:var(--gcds-heading-h4-desktop)}@media only screen and (width < 48em){:host h4.gcds-heading{font:var(--gcds-heading-h4-mobile)}}:host h5.gcds-heading{font:var(--gcds-heading-h5-desktop)}@media only screen and (width < 48em){:host h5.gcds-heading{font:var(--gcds-heading-h5-mobile)}}:host h6.gcds-heading{font:var(--gcds-heading-h6-desktop)}@media only screen and (width < 48em){:host h6.gcds-heading{font:var(--gcds-heading-h6-mobile)}}}@layer limit{:host h1.limit{max-width:var(--gcds-heading-character-limit-h1)}:host h2.limit{max-width:var(--gcds-heading-character-limit-h2)}:host h3.limit{max-width:var(--gcds-heading-character-limit-h3)}:host h4.limit{max-width:var(--gcds-heading-character-limit-h4)}:host h5.limit{max-width:var(--gcds-heading-character-limit-h5)}:host h6.limit{max-width:var(--gcds-heading-character-limit-h6)}}@layer margin{:host :is(h1,h2,h3,h4,h5,h6).mt-0{margin-block-start:var(--gcds-heading-spacing-0)}:host :is(h1,h2,h3,h4,h5,h6).mt-25{margin-block-start:var(--gcds-heading-spacing-25)}:host :is(h1,h2,h3,h4,h5,h6).mt-50{margin-block-start:var(--gcds-heading-spacing-50)}:host :is(h1,h2,h3,h4,h5,h6).mt-75{margin-block-start:var(--gcds-heading-spacing-75)}:host :is(h1,h2,h3,h4,h5,h6).mt-100{margin-block-start:var(--gcds-heading-spacing-100)}:host :is(h1,h2,h3,h4,h5,h6).mt-125{margin-block-start:var(--gcds-heading-spacing-125)}:host :is(h1,h2,h3,h4,h5,h6).mt-150{margin-block-start:var(--gcds-heading-spacing-150)}:host :is(h1,h2,h3,h4,h5,h6).mt-175{margin-block-start:var(--gcds-heading-spacing-175)}:host :is(h1,h2,h3,h4,h5,h6).mt-200{margin-block-start:var(--gcds-heading-spacing-200)}:host :is(h1,h2,h3,h4,h5,h6).mt-225{margin-block-start:var(--gcds-heading-spacing-225)}:host :is(h1,h2,h3,h4,h5,h6).mt-250{margin-block-start:var(--gcds-heading-spacing-250)}:host :is(h1,h2,h3,h4,h5,h6).mt-300{margin-block-start:var(--gcds-heading-spacing-300)}:host :is(h1,h2,h3,h4,h5,h6).mt-350{margin-block-start:var(--gcds-heading-spacing-350)}:host :is(h1,h2,h3,h4,h5,h6).mt-400{margin-block-start:var(--gcds-heading-spacing-400)}:host :is(h1,h2,h3,h4,h5,h6).mt-450{margin-block-start:var(--gcds-heading-spacing-450)}:host :is(h1,h2,h3,h4,h5,h6).mt-500{margin-block-start:var(--gcds-heading-spacing-500)}:host :is(h1,h2,h3,h4,h5,h6).mt-550{margin-block-start:var(--gcds-heading-spacing-550)}:host :is(h1,h2,h3,h4,h5,h6).mt-600{margin-block-start:var(--gcds-heading-spacing-600)}:host :is(h1,h2,h3,h4,h5,h6).mt-650{margin-block-start:var(--gcds-heading-spacing-650)}:host :is(h1,h2,h3,h4,h5,h6).mt-700{margin-block-start:var(--gcds-heading-spacing-700)}:host :is(h1,h2,h3,h4,h5,h6).mt-750{margin-block-start:var(--gcds-heading-spacing-750)}:host :is(h1,h2,h3,h4,h5,h6).mt-800{margin-block-start:var(--gcds-heading-spacing-800)}:host :is(h1,h2,h3,h4,h5,h6).mt-850{margin-block-start:var(--gcds-heading-spacing-850)}:host :is(h1,h2,h3,h4,h5,h6).mt-900{margin-block-start:var(--gcds-heading-spacing-900)}:host :is(h1,h2,h3,h4,h5,h6).mt-950{margin-block-start:var(--gcds-heading-spacing-950)}:host :is(h1,h2,h3,h4,h5,h6).mt-1000{margin-block-start:var(--gcds-heading-spacing-1000)}:host :is(h1,h2,h3,h4,h5,h6).mt-1050{margin-block-start:var(--gcds-heading-spacing-1050)}:host :is(h1,h2,h3,h4,h5,h6).mt-1100{margin-block-start:var(--gcds-heading-spacing-1100)}:host :is(h1,h2,h3,h4,h5,h6).mt-1150{margin-block-start:var(--gcds-heading-spacing-1150)}:host :is(h1,h2,h3,h4,h5,h6).mt-1200{margin-block-start:var(--gcds-heading-spacing-1200)}:host :is(h1,h2,h3,h4,h5,h6).mt-1250{margin-block-start:var(--gcds-heading-spacing-1250)}:host :is(h1,h2,h3,h4,h5,h6).mb-0{margin-block-end:var(--gcds-heading-spacing-0)}:host :is(h1,h2,h3,h4,h5,h6).mb-25{margin-block-end:var(--gcds-heading-spacing-25)}:host :is(h1,h2,h3,h4,h5,h6).mb-50{margin-block-end:var(--gcds-heading-spacing-50)}:host :is(h1,h2,h3,h4,h5,h6).mb-75{margin-block-end:var(--gcds-heading-spacing-75)}:host :is(h1,h2,h3,h4,h5,h6).mb-100{margin-block-end:var(--gcds-heading-spacing-100)}:host :is(h1,h2,h3,h4,h5,h6).mb-125{margin-block-end:var(--gcds-heading-spacing-125)}:host :is(h1,h2,h3,h4,h5,h6).mb-150{margin-block-end:var(--gcds-heading-spacing-150)}:host :is(h1,h2,h3,h4,h5,h6).mb-175{margin-block-end:var(--gcds-heading-spacing-175)}:host :is(h1,h2,h3,h4,h5,h6).mb-200{margin-block-end:var(--gcds-heading-spacing-200)}:host :is(h1,h2,h3,h4,h5,h6).mb-225{margin-block-end:var(--gcds-heading-spacing-225)}:host :is(h1,h2,h3,h4,h5,h6).mb-250{margin-block-end:var(--gcds-heading-spacing-250)}:host :is(h1,h2,h3,h4,h5,h6).mb-300{margin-block-end:var(--gcds-heading-spacing-300)}:host :is(h1,h2,h3,h4,h5,h6).mb-350{margin-block-end:var(--gcds-heading-spacing-350)}:host :is(h1,h2,h3,h4,h5,h6).mb-400{margin-block-end:var(--gcds-heading-spacing-400)}:host :is(h1,h2,h3,h4,h5,h6).mb-450{margin-block-end:var(--gcds-heading-spacing-450)}:host :is(h1,h2,h3,h4,h5,h6).mb-500{margin-block-end:var(--gcds-heading-spacing-500)}:host :is(h1,h2,h3,h4,h5,h6).mb-550{margin-block-end:var(--gcds-heading-spacing-550)}:host :is(h1,h2,h3,h4,h5,h6).mb-600{margin-block-end:var(--gcds-heading-spacing-600)}:host :is(h1,h2,h3,h4,h5,h6).mb-650{margin-block-end:var(--gcds-heading-spacing-650)}:host :is(h1,h2,h3,h4,h5,h6).mb-700{margin-block-end:var(--gcds-heading-spacing-700)}:host :is(h1,h2,h3,h4,h5,h6).mb-750{margin-block-end:var(--gcds-heading-spacing-750)}:host :is(h1,h2,h3,h4,h5,h6).mb-800{margin-block-end:var(--gcds-heading-spacing-800)}:host :is(h1,h2,h3,h4,h5,h6).mb-850{margin-block-end:var(--gcds-heading-spacing-850)}:host :is(h1,h2,h3,h4,h5,h6).mb-900{margin-block-end:var(--gcds-heading-spacing-900)}:host :is(h1,h2,h3,h4,h5,h6).mb-950{margin-block-end:var(--gcds-heading-spacing-950)}:host :is(h1,h2,h3,h4,h5,h6).mb-1000{margin-block-end:var(--gcds-heading-spacing-1000)}:host :is(h1,h2,h3,h4,h5,h6).mb-1050{margin-block-end:var(--gcds-heading-spacing-1050)}:host :is(h1,h2,h3,h4,h5,h6).mb-1100{margin-block-end:var(--gcds-heading-spacing-1100)}:host :is(h1,h2,h3,h4,h5,h6).mb-1150{margin-block-end:var(--gcds-heading-spacing-1150)}:host :is(h1,h2,h3,h4,h5,h6).mb-1200{margin-block-end:var(--gcds-heading-spacing-1200)}:host :is(h1,h2,h3,h4,h5,h6).mb-1250{margin-block-end:var(--gcds-heading-spacing-1250)}}';const GcdsHint=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.hintId=void 0}render(){const{hintId}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"70f6130f318cfea9a1743eb60472aa832fb213ee",id:`hint-${hintId}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{key:"4d159a2f81cac7b9e442b4268143400b334858ef",class:"gcds-hint","margin-bottom":"0",part:"hint"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"cf8b840c22e2238b051c5804bb46fbd8272e764d"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsHint.style="@layer reset, default;@layer reset{:host{display:block}:host slot{display:initial}}@layer default{:host .gcds-hint,:host gcds-text::part(text){color:var(--gcds-hint-text)}:host .gcds-hint{margin:var(--gcds-hint-margin)}}";const GcdsIcon=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.iconStyle="solid",this.label=void 0,this.marginLeft=void 0,this.marginRight=void 0,this.name=void 0,this.fixedWidth=!1,this.size="text"}render(){const{iconStyle,label,marginLeft,marginRight,name,fixedWidth,size}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"33a2027afb36b43c62addcd9bf3762a2e214ed25"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"8c4bf985eff79cbe01526fb158ca0155c854c9a5",class:`\n gcds-icon fa fa-${iconStyle} fa-${name}\n ${marginLeft?`ml-${marginLeft}`:""}\n ${marginRight?`mr-${marginRight}`:""}\n ${size?`size-${size}`:""}\n ${fixedWidth?"fixed-width":""}\n `,role:"img","aria-label":label||!1,"aria-hidden":label?"false":"true"}))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsIcon.style='/*!\n * Font Awesome Free 6.5.1 by @fontawesome - https://fontawesome.com\n * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)\n * Copyright 2023 Fonticons, Inc.\n */.fa{font-family:var(--fa-style-family, "Font Awesome 6 Free");font-weight:var(--fa-style, 900)}.fa,.fa-brands,.fa-classic,.fa-regular,.fa-sharp,.fa-solid,.fab,.far,.fas{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;display:var(--fa-display, inline-block);font-style:normal;font-variant:normal;line-height:1;text-rendering:auto}.fa-classic,.fa-regular,.fa-solid,.far,.fas{font-family:"Font Awesome 6 Free"}.fa-brands,.fab{font-family:"Font Awesome 6 Brands"}.fa-1x{font-size:1em}.fa-2x{font-size:2em}.fa-3x{font-size:3em}.fa-4x{font-size:4em}.fa-5x{font-size:5em}.fa-6x{font-size:6em}.fa-7x{font-size:7em}.fa-8x{font-size:8em}.fa-9x{font-size:9em}.fa-10x{font-size:10em}.fa-2xs{font-size:0.625em;line-height:0.1em;vertical-align:0.225em}.fa-xs{font-size:0.75em;line-height:0.08333em;vertical-align:0.125em}.fa-sm{font-size:0.875em;line-height:0.07143em;vertical-align:0.05357em}.fa-lg{font-size:1.25em;line-height:0.05em;vertical-align:-0.075em}.fa-xl{font-size:1.5em;line-height:0.04167em;vertical-align:-0.125em}.fa-2xl{font-size:2em;line-height:0.03125em;vertical-align:-0.1875em}.fa-fw{text-align:center;width:1.25em}.fa-ul{list-style-type:none;margin-left:var(--fa-li-margin, 2.5em);padding-left:0}.fa-ul>li{position:relative}.fa-li{left:calc(var(--fa-li-width, 2em) * -1);position:absolute;text-align:center;width:var(--fa-li-width, 2em);line-height:inherit}.fa-border{border-radius:var(--fa-border-radius, 0.1em);border:var(--fa-border-width, 0.08em) var(--fa-border-style, solid) var(--fa-border-color, #eee);padding:var(--fa-border-padding, 0.2em 0.25em 0.15em)}.fa-pull-left{float:left;margin-right:var(--fa-pull-margin, 0.3em)}.fa-pull-right{float:right;margin-left:var(--fa-pull-margin, 0.3em)}.fa-beat{-webkit-animation-name:fa-beat;animation-name:fa-beat;-webkit-animation-delay:var(--fa-animation-delay, 0s);animation-delay:var(--fa-animation-delay, 0s);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-bounce{-webkit-animation-name:fa-bounce;animation-name:fa-bounce;-webkit-animation-delay:var(--fa-animation-delay, 0s);animation-delay:var(--fa-animation-delay, 0s);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1))}.fa-fade{-webkit-animation-name:fa-fade;animation-name:fa-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1))}.fa-beat-fade,.fa-fade{-webkit-animation-delay:var(--fa-animation-delay, 0s);animation-delay:var(--fa-animation-delay, 0s);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s)}.fa-beat-fade{-webkit-animation-name:fa-beat-fade;animation-name:fa-beat-fade;-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));animation-timing-function:var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1))}.fa-flip{-webkit-animation-name:fa-flip;animation-name:fa-flip;-webkit-animation-delay:var(--fa-animation-delay, 0s);animation-delay:var(--fa-animation-delay, 0s);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, ease-in-out);animation-timing-function:var(--fa-animation-timing, ease-in-out)}.fa-shake{-webkit-animation-name:fa-shake;animation-name:fa-shake;-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-shake,.fa-spin{-webkit-animation-delay:var(--fa-animation-delay, 0s);animation-delay:var(--fa-animation-delay, 0s);-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal)}.fa-spin{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-duration:var(--fa-animation-duration, 2s);animation-duration:var(--fa-animation-duration, 2s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, linear);animation-timing-function:var(--fa-animation-timing, linear)}.fa-spin-reverse{--fa-animation-direction:reverse}.fa-pulse,.fa-spin-pulse{-webkit-animation-name:fa-spin;animation-name:fa-spin;-webkit-animation-direction:var(--fa-animation-direction, normal);animation-direction:var(--fa-animation-direction, normal);-webkit-animation-duration:var(--fa-animation-duration, 1s);animation-duration:var(--fa-animation-duration, 1s);-webkit-animation-iteration-count:var(--fa-animation-iteration-count, infinite);animation-iteration-count:var(--fa-animation-iteration-count, infinite);-webkit-animation-timing-function:var(--fa-animation-timing, steps(8));animation-timing-function:var(--fa-animation-timing, steps(8))}@media (prefers-reduced-motion: reduce){.fa-beat,.fa-beat-fade,.fa-bounce,.fa-fade,.fa-flip,.fa-pulse,.fa-shake,.fa-spin,.fa-spin-pulse{-webkit-animation-delay:-1ms;animation-delay:-1ms;-webkit-animation-duration:1ms;animation-duration:1ms;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-transition-delay:0s;transition-delay:0s;-webkit-transition-duration:0s;transition-duration:0s}}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale, 1.25));transform:scale(var(--fa-beat-scale, 1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));transform:scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -0.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -0.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));transform:scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound, -0.125em));transform:scale(1) translateY(var(--fa-bounce-rebound, -0.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, 0.4)}}@keyframes fa-fade{50%{opacity:var(--fa-fade-opacity, 0.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, 0.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity, 0.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale, 1.125));transform:scale(var(--fa-beat-fade-scale, 1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg))}}@keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));transform:rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0deg)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.fa-rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.fa-rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.fa-rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.fa-flip-horizontal{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.fa-flip-vertical{-webkit-transform:scaleY(-1);transform:scaleY(-1)}.fa-flip-both,.fa-flip-horizontal.fa-flip-vertical{-webkit-transform:scale(-1);transform:scale(-1)}.fa-rotate-by{-webkit-transform:rotate(var(--fa-rotate-angle, none));transform:rotate(var(--fa-rotate-angle, none))}.fa-stack{display:inline-block;height:2em;line-height:2em;position:relative;vertical-align:middle;width:2.5em}.fa-stack-1x,.fa-stack-2x{left:0;position:absolute;text-align:center;width:100%;z-index:var(--fa-stack-z-index, auto)}.fa-stack-1x{line-height:inherit}.fa-stack-2x{font-size:2em}.fa-inverse{color:var(--fa-inverse, #fff)}.fa-0:before{content:"0"}.fa-1:before{content:"1"}.fa-2:before{content:"2"}.fa-3:before{content:"3"}.fa-4:before{content:"4"}.fa-5:before{content:"5"}.fa-6:before{content:"6"}.fa-7:before{content:"7"}.fa-8:before{content:"8"}.fa-9:before{content:"9"}.fa-fill-drip:before{content:"\\f576"}.fa-arrows-to-circle:before{content:"\\e4bd"}.fa-chevron-circle-right:before,.fa-circle-chevron-right:before{content:"\\f138"}.fa-at:before{content:"@"}.fa-trash-alt:before,.fa-trash-can:before{content:"\\f2ed"}.fa-text-height:before{content:"\\f034"}.fa-user-times:before,.fa-user-xmark:before{content:"\\f235"}.fa-stethoscope:before{content:"\\f0f1"}.fa-comment-alt:before,.fa-message:before{content:"\\f27a"}.fa-info:before{content:"\\f129"}.fa-compress-alt:before,.fa-down-left-and-up-right-to-center:before{content:"\\f422"}.fa-explosion:before{content:"\\e4e9"}.fa-file-alt:before,.fa-file-lines:before,.fa-file-text:before{content:"\\f15c"}.fa-wave-square:before{content:"\\f83e"}.fa-ring:before{content:"\\f70b"}.fa-building-un:before{content:"\\e4d9"}.fa-dice-three:before{content:"\\f527"}.fa-calendar-alt:before,.fa-calendar-days:before{content:"\\f073"}.fa-anchor-circle-check:before{content:"\\e4aa"}.fa-building-circle-arrow-right:before{content:"\\e4d1"}.fa-volleyball-ball:before,.fa-volleyball:before{content:"\\f45f"}.fa-arrows-up-to-line:before{content:"\\e4c2"}.fa-sort-desc:before,.fa-sort-down:before{content:"\\f0dd"}.fa-circle-minus:before,.fa-minus-circle:before{content:"\\f056"}.fa-door-open:before{content:"\\f52b"}.fa-right-from-bracket:before,.fa-sign-out-alt:before{content:"\\f2f5"}.fa-atom:before{content:"\\f5d2"}.fa-soap:before{content:"\\e06e"}.fa-heart-music-camera-bolt:before,.fa-icons:before{content:"\\f86d"}.fa-microphone-alt-slash:before,.fa-microphone-lines-slash:before{content:"\\f539"}.fa-bridge-circle-check:before{content:"\\e4c9"}.fa-pump-medical:before{content:"\\e06a"}.fa-fingerprint:before{content:"\\f577"}.fa-hand-point-right:before{content:"\\f0a4"}.fa-magnifying-glass-location:before,.fa-search-location:before{content:"\\f689"}.fa-forward-step:before,.fa-step-forward:before{content:"\\f051"}.fa-face-smile-beam:before,.fa-smile-beam:before{content:"\\f5b8"}.fa-flag-checkered:before{content:"\\f11e"}.fa-football-ball:before,.fa-football:before{content:"\\f44e"}.fa-school-circle-exclamation:before{content:"\\e56c"}.fa-crop:before{content:"\\f125"}.fa-angle-double-down:before,.fa-angles-down:before{content:"\\f103"}.fa-users-rectangle:before{content:"\\e594"}.fa-people-roof:before{content:"\\e537"}.fa-people-line:before{content:"\\e534"}.fa-beer-mug-empty:before,.fa-beer:before{content:"\\f0fc"}.fa-diagram-predecessor:before{content:"\\e477"}.fa-arrow-up-long:before,.fa-long-arrow-up:before{content:"\\f176"}.fa-burn:before,.fa-fire-flame-simple:before{content:"\\f46a"}.fa-male:before,.fa-person:before{content:"\\f183"}.fa-laptop:before{content:"\\f109"}.fa-file-csv:before{content:"\\f6dd"}.fa-menorah:before{content:"\\f676"}.fa-truck-plane:before{content:"\\e58f"}.fa-record-vinyl:before{content:"\\f8d9"}.fa-face-grin-stars:before,.fa-grin-stars:before{content:"\\f587"}.fa-bong:before{content:"\\f55c"}.fa-pastafarianism:before,.fa-spaghetti-monster-flying:before{content:"\\f67b"}.fa-arrow-down-up-across-line:before{content:"\\e4af"}.fa-spoon:before,.fa-utensil-spoon:before{content:"\\f2e5"}.fa-jar-wheat:before{content:"\\e517"}.fa-envelopes-bulk:before,.fa-mail-bulk:before{content:"\\f674"}.fa-file-circle-exclamation:before{content:"\\e4eb"}.fa-circle-h:before,.fa-hospital-symbol:before{content:"\\f47e"}.fa-pager:before{content:"\\f815"}.fa-address-book:before,.fa-contact-book:before{content:"\\f2b9"}.fa-strikethrough:before{content:"\\f0cc"}.fa-k:before{content:"K"}.fa-landmark-flag:before{content:"\\e51c"}.fa-pencil-alt:before,.fa-pencil:before{content:"\\f303"}.fa-backward:before{content:"\\f04a"}.fa-caret-right:before{content:"\\f0da"}.fa-comments:before{content:"\\f086"}.fa-file-clipboard:before,.fa-paste:before{content:"\\f0ea"}.fa-code-pull-request:before{content:"\\e13c"}.fa-clipboard-list:before{content:"\\f46d"}.fa-truck-loading:before,.fa-truck-ramp-box:before{content:"\\f4de"}.fa-user-check:before{content:"\\f4fc"}.fa-vial-virus:before{content:"\\e597"}.fa-sheet-plastic:before{content:"\\e571"}.fa-blog:before{content:"\\f781"}.fa-user-ninja:before{content:"\\f504"}.fa-person-arrow-up-from-line:before{content:"\\e539"}.fa-scroll-torah:before,.fa-torah:before{content:"\\f6a0"}.fa-broom-ball:before,.fa-quidditch-broom-ball:before,.fa-quidditch:before{content:"\\f458"}.fa-toggle-off:before{content:"\\f204"}.fa-archive:before,.fa-box-archive:before{content:"\\f187"}.fa-person-drowning:before{content:"\\e545"}.fa-arrow-down-9-1:before,.fa-sort-numeric-desc:before,.fa-sort-numeric-down-alt:before{content:"\\f886"}.fa-face-grin-tongue-squint:before,.fa-grin-tongue-squint:before{content:"\\f58a"}.fa-spray-can:before{content:"\\f5bd"}.fa-truck-monster:before{content:"\\f63b"}.fa-w:before{content:"W"}.fa-earth-africa:before,.fa-globe-africa:before{content:"\\f57c"}.fa-rainbow:before{content:"\\f75b"}.fa-circle-notch:before{content:"\\f1ce"}.fa-tablet-alt:before,.fa-tablet-screen-button:before{content:"\\f3fa"}.fa-paw:before{content:"\\f1b0"}.fa-cloud:before{content:"\\f0c2"}.fa-trowel-bricks:before{content:"\\e58a"}.fa-face-flushed:before,.fa-flushed:before{content:"\\f579"}.fa-hospital-user:before{content:"\\f80d"}.fa-tent-arrow-left-right:before{content:"\\e57f"}.fa-gavel:before,.fa-legal:before{content:"\\f0e3"}.fa-binoculars:before{content:"\\f1e5"}.fa-microphone-slash:before{content:"\\f131"}.fa-box-tissue:before{content:"\\e05b"}.fa-motorcycle:before{content:"\\f21c"}.fa-bell-concierge:before,.fa-concierge-bell:before{content:"\\f562"}.fa-pen-ruler:before,.fa-pencil-ruler:before{content:"\\f5ae"}.fa-people-arrows-left-right:before,.fa-people-arrows:before{content:"\\e068"}.fa-mars-and-venus-burst:before{content:"\\e523"}.fa-caret-square-right:before,.fa-square-caret-right:before{content:"\\f152"}.fa-cut:before,.fa-scissors:before{content:"\\f0c4"}.fa-sun-plant-wilt:before{content:"\\e57a"}.fa-toilets-portable:before{content:"\\e584"}.fa-hockey-puck:before{content:"\\f453"}.fa-table:before{content:"\\f0ce"}.fa-magnifying-glass-arrow-right:before{content:"\\e521"}.fa-digital-tachograph:before,.fa-tachograph-digital:before{content:"\\f566"}.fa-users-slash:before{content:"\\e073"}.fa-clover:before{content:"\\e139"}.fa-mail-reply:before,.fa-reply:before{content:"\\f3e5"}.fa-star-and-crescent:before{content:"\\f699"}.fa-house-fire:before{content:"\\e50c"}.fa-minus-square:before,.fa-square-minus:before{content:"\\f146"}.fa-helicopter:before{content:"\\f533"}.fa-compass:before{content:"\\f14e"}.fa-caret-square-down:before,.fa-square-caret-down:before{content:"\\f150"}.fa-file-circle-question:before{content:"\\e4ef"}.fa-laptop-code:before{content:"\\f5fc"}.fa-swatchbook:before{content:"\\f5c3"}.fa-prescription-bottle:before{content:"\\f485"}.fa-bars:before,.fa-navicon:before{content:"\\f0c9"}.fa-people-group:before{content:"\\e533"}.fa-hourglass-3:before,.fa-hourglass-end:before{content:"\\f253"}.fa-heart-broken:before,.fa-heart-crack:before{content:"\\f7a9"}.fa-external-link-square-alt:before,.fa-square-up-right:before{content:"\\f360"}.fa-face-kiss-beam:before,.fa-kiss-beam:before{content:"\\f597"}.fa-film:before{content:"\\f008"}.fa-ruler-horizontal:before{content:"\\f547"}.fa-people-robbery:before{content:"\\e536"}.fa-lightbulb:before{content:"\\f0eb"}.fa-caret-left:before{content:"\\f0d9"}.fa-circle-exclamation:before,.fa-exclamation-circle:before{content:"\\f06a"}.fa-school-circle-xmark:before{content:"\\e56d"}.fa-arrow-right-from-bracket:before,.fa-sign-out:before{content:"\\f08b"}.fa-chevron-circle-down:before,.fa-circle-chevron-down:before{content:"\\f13a"}.fa-unlock-alt:before,.fa-unlock-keyhole:before{content:"\\f13e"}.fa-cloud-showers-heavy:before{content:"\\f740"}.fa-headphones-alt:before,.fa-headphones-simple:before{content:"\\f58f"}.fa-sitemap:before{content:"\\f0e8"}.fa-circle-dollar-to-slot:before,.fa-donate:before{content:"\\f4b9"}.fa-memory:before{content:"\\f538"}.fa-road-spikes:before{content:"\\e568"}.fa-fire-burner:before{content:"\\e4f1"}.fa-flag:before{content:"\\f024"}.fa-hanukiah:before{content:"\\f6e6"}.fa-feather:before{content:"\\f52d"}.fa-volume-down:before,.fa-volume-low:before{content:"\\f027"}.fa-comment-slash:before{content:"\\f4b3"}.fa-cloud-sun-rain:before{content:"\\f743"}.fa-compress:before{content:"\\f066"}.fa-wheat-alt:before,.fa-wheat-awn:before{content:"\\e2cd"}.fa-ankh:before{content:"\\f644"}.fa-hands-holding-child:before{content:"\\e4fa"}.fa-asterisk:before{content:"*"}.fa-check-square:before,.fa-square-check:before{content:"\\f14a"}.fa-peseta-sign:before{content:"\\e221"}.fa-header:before,.fa-heading:before{content:"\\f1dc"}.fa-ghost:before{content:"\\f6e2"}.fa-list-squares:before,.fa-list:before{content:"\\f03a"}.fa-phone-square-alt:before,.fa-square-phone-flip:before{content:"\\f87b"}.fa-cart-plus:before{content:"\\f217"}.fa-gamepad:before{content:"\\f11b"}.fa-circle-dot:before,.fa-dot-circle:before{content:"\\f192"}.fa-dizzy:before,.fa-face-dizzy:before{content:"\\f567"}.fa-egg:before{content:"\\f7fb"}.fa-house-medical-circle-xmark:before{content:"\\e513"}.fa-campground:before{content:"\\f6bb"}.fa-folder-plus:before{content:"\\f65e"}.fa-futbol-ball:before,.fa-futbol:before,.fa-soccer-ball:before{content:"\\f1e3"}.fa-paint-brush:before,.fa-paintbrush:before{content:"\\f1fc"}.fa-lock:before{content:"\\f023"}.fa-gas-pump:before{content:"\\f52f"}.fa-hot-tub-person:before,.fa-hot-tub:before{content:"\\f593"}.fa-map-location:before,.fa-map-marked:before{content:"\\f59f"}.fa-house-flood-water:before{content:"\\e50e"}.fa-tree:before{content:"\\f1bb"}.fa-bridge-lock:before{content:"\\e4cc"}.fa-sack-dollar:before{content:"\\f81d"}.fa-edit:before,.fa-pen-to-square:before{content:"\\f044"}.fa-car-side:before{content:"\\f5e4"}.fa-share-alt:before,.fa-share-nodes:before{content:"\\f1e0"}.fa-heart-circle-minus:before{content:"\\e4ff"}.fa-hourglass-2:before,.fa-hourglass-half:before{content:"\\f252"}.fa-microscope:before{content:"\\f610"}.fa-sink:before{content:"\\e06d"}.fa-bag-shopping:before,.fa-shopping-bag:before{content:"\\f290"}.fa-arrow-down-z-a:before,.fa-sort-alpha-desc:before,.fa-sort-alpha-down-alt:before{content:"\\f881"}.fa-mitten:before{content:"\\f7b5"}.fa-person-rays:before{content:"\\e54d"}.fa-users:before{content:"\\f0c0"}.fa-eye-slash:before{content:"\\f070"}.fa-flask-vial:before{content:"\\e4f3"}.fa-hand-paper:before,.fa-hand:before{content:"\\f256"}.fa-om:before{content:"\\f679"}.fa-worm:before{content:"\\e599"}.fa-house-circle-xmark:before{content:"\\e50b"}.fa-plug:before{content:"\\f1e6"}.fa-chevron-up:before{content:"\\f077"}.fa-hand-spock:before{content:"\\f259"}.fa-stopwatch:before{content:"\\f2f2"}.fa-face-kiss:before,.fa-kiss:before{content:"\\f596"}.fa-bridge-circle-xmark:before{content:"\\e4cb"}.fa-face-grin-tongue:before,.fa-grin-tongue:before{content:"\\f589"}.fa-chess-bishop:before{content:"\\f43a"}.fa-face-grin-wink:before,.fa-grin-wink:before{content:"\\f58c"}.fa-deaf:before,.fa-deafness:before,.fa-ear-deaf:before,.fa-hard-of-hearing:before{content:"\\f2a4"}.fa-road-circle-check:before{content:"\\e564"}.fa-dice-five:before{content:"\\f523"}.fa-rss-square:before,.fa-square-rss:before{content:"\\f143"}.fa-land-mine-on:before{content:"\\e51b"}.fa-i-cursor:before{content:"\\f246"}.fa-stamp:before{content:"\\f5bf"}.fa-stairs:before{content:"\\e289"}.fa-i:before{content:"I"}.fa-hryvnia-sign:before,.fa-hryvnia:before{content:"\\f6f2"}.fa-pills:before{content:"\\f484"}.fa-face-grin-wide:before,.fa-grin-alt:before{content:"\\f581"}.fa-tooth:before{content:"\\f5c9"}.fa-v:before{content:"V"}.fa-bangladeshi-taka-sign:before{content:"\\e2e6"}.fa-bicycle:before{content:"\\f206"}.fa-rod-asclepius:before,.fa-rod-snake:before,.fa-staff-aesculapius:before,.fa-staff-snake:before{content:"\\e579"}.fa-head-side-cough-slash:before{content:"\\e062"}.fa-ambulance:before,.fa-truck-medical:before{content:"\\f0f9"}.fa-wheat-awn-circle-exclamation:before{content:"\\e598"}.fa-snowman:before{content:"\\f7d0"}.fa-mortar-pestle:before{content:"\\f5a7"}.fa-road-barrier:before{content:"\\e562"}.fa-school:before{content:"\\f549"}.fa-igloo:before{content:"\\f7ae"}.fa-joint:before{content:"\\f595"}.fa-angle-right:before{content:"\\f105"}.fa-horse:before{content:"\\f6f0"}.fa-q:before{content:"Q"}.fa-g:before{content:"G"}.fa-notes-medical:before{content:"\\f481"}.fa-temperature-2:before,.fa-temperature-half:before,.fa-thermometer-2:before,.fa-thermometer-half:before{content:"\\f2c9"}.fa-dong-sign:before{content:"\\e169"}.fa-capsules:before{content:"\\f46b"}.fa-poo-bolt:before,.fa-poo-storm:before{content:"\\f75a"}.fa-face-frown-open:before,.fa-frown-open:before{content:"\\f57a"}.fa-hand-point-up:before{content:"\\f0a6"}.fa-money-bill:before{content:"\\f0d6"}.fa-bookmark:before{content:"\\f02e"}.fa-align-justify:before{content:"\\f039"}.fa-umbrella-beach:before{content:"\\f5ca"}.fa-helmet-un:before{content:"\\e503"}.fa-bullseye:before{content:"\\f140"}.fa-bacon:before{content:"\\f7e5"}.fa-hand-point-down:before{content:"\\f0a7"}.fa-arrow-up-from-bracket:before{content:"\\e09a"}.fa-folder-blank:before,.fa-folder:before{content:"\\f07b"}.fa-file-medical-alt:before,.fa-file-waveform:before{content:"\\f478"}.fa-radiation:before{content:"\\f7b9"}.fa-chart-simple:before{content:"\\e473"}.fa-mars-stroke:before{content:"\\f229"}.fa-vial:before{content:"\\f492"}.fa-dashboard:before,.fa-gauge-med:before,.fa-gauge:before,.fa-tachometer-alt-average:before{content:"\\f624"}.fa-magic-wand-sparkles:before,.fa-wand-magic-sparkles:before{content:"\\e2ca"}.fa-e:before{content:"E"}.fa-pen-alt:before,.fa-pen-clip:before{content:"\\f305"}.fa-bridge-circle-exclamation:before{content:"\\e4ca"}.fa-user:before{content:"\\f007"}.fa-school-circle-check:before{content:"\\e56b"}.fa-dumpster:before{content:"\\f793"}.fa-shuttle-van:before,.fa-van-shuttle:before{content:"\\f5b6"}.fa-building-user:before{content:"\\e4da"}.fa-caret-square-left:before,.fa-square-caret-left:before{content:"\\f191"}.fa-highlighter:before{content:"\\f591"}.fa-key:before{content:"\\f084"}.fa-bullhorn:before{content:"\\f0a1"}.fa-globe:before{content:"\\f0ac"}.fa-synagogue:before{content:"\\f69b"}.fa-person-half-dress:before{content:"\\e548"}.fa-road-bridge:before{content:"\\e563"}.fa-location-arrow:before{content:"\\f124"}.fa-c:before{content:"C"}.fa-tablet-button:before{content:"\\f10a"}.fa-building-lock:before{content:"\\e4d6"}.fa-pizza-slice:before{content:"\\f818"}.fa-money-bill-wave:before{content:"\\f53a"}.fa-area-chart:before,.fa-chart-area:before{content:"\\f1fe"}.fa-house-flag:before{content:"\\e50d"}.fa-person-circle-minus:before{content:"\\e540"}.fa-ban:before,.fa-cancel:before{content:"\\f05e"}.fa-camera-rotate:before{content:"\\e0d8"}.fa-air-freshener:before,.fa-spray-can-sparkles:before{content:"\\f5d0"}.fa-star:before{content:"\\f005"}.fa-repeat:before{content:"\\f363"}.fa-cross:before{content:"\\f654"}.fa-box:before{content:"\\f466"}.fa-venus-mars:before{content:"\\f228"}.fa-arrow-pointer:before,.fa-mouse-pointer:before{content:"\\f245"}.fa-expand-arrows-alt:before,.fa-maximize:before{content:"\\f31e"}.fa-charging-station:before{content:"\\f5e7"}.fa-shapes:before,.fa-triangle-circle-square:before{content:"\\f61f"}.fa-random:before,.fa-shuffle:before{content:"\\f074"}.fa-person-running:before,.fa-running:before{content:"\\f70c"}.fa-mobile-retro:before{content:"\\e527"}.fa-grip-lines-vertical:before{content:"\\f7a5"}.fa-spider:before{content:"\\f717"}.fa-hands-bound:before{content:"\\e4f9"}.fa-file-invoice-dollar:before{content:"\\f571"}.fa-plane-circle-exclamation:before{content:"\\e556"}.fa-x-ray:before{content:"\\f497"}.fa-spell-check:before{content:"\\f891"}.fa-slash:before{content:"\\f715"}.fa-computer-mouse:before,.fa-mouse:before{content:"\\f8cc"}.fa-arrow-right-to-bracket:before,.fa-sign-in:before{content:"\\f090"}.fa-shop-slash:before,.fa-store-alt-slash:before{content:"\\e070"}.fa-server:before{content:"\\f233"}.fa-virus-covid-slash:before{content:"\\e4a9"}.fa-shop-lock:before{content:"\\e4a5"}.fa-hourglass-1:before,.fa-hourglass-start:before{content:"\\f251"}.fa-blender-phone:before{content:"\\f6b6"}.fa-building-wheat:before{content:"\\e4db"}.fa-person-breastfeeding:before{content:"\\e53a"}.fa-right-to-bracket:before,.fa-sign-in-alt:before{content:"\\f2f6"}.fa-venus:before{content:"\\f221"}.fa-passport:before{content:"\\f5ab"}.fa-heart-pulse:before,.fa-heartbeat:before{content:"\\f21e"}.fa-people-carry-box:before,.fa-people-carry:before{content:"\\f4ce"}.fa-temperature-high:before{content:"\\f769"}.fa-microchip:before{content:"\\f2db"}.fa-crown:before{content:"\\f521"}.fa-weight-hanging:before{content:"\\f5cd"}.fa-xmarks-lines:before{content:"\\e59a"}.fa-file-prescription:before{content:"\\f572"}.fa-weight-scale:before,.fa-weight:before{content:"\\f496"}.fa-user-friends:before,.fa-user-group:before{content:"\\f500"}.fa-arrow-up-a-z:before,.fa-sort-alpha-up:before{content:"\\f15e"}.fa-chess-knight:before{content:"\\f441"}.fa-face-laugh-squint:before,.fa-laugh-squint:before{content:"\\f59b"}.fa-wheelchair:before{content:"\\f193"}.fa-arrow-circle-up:before,.fa-circle-arrow-up:before{content:"\\f0aa"}.fa-toggle-on:before{content:"\\f205"}.fa-person-walking:before,.fa-walking:before{content:"\\f554"}.fa-l:before{content:"L"}.fa-fire:before{content:"\\f06d"}.fa-bed-pulse:before,.fa-procedures:before{content:"\\f487"}.fa-shuttle-space:before,.fa-space-shuttle:before{content:"\\f197"}.fa-face-laugh:before,.fa-laugh:before{content:"\\f599"}.fa-folder-open:before{content:"\\f07c"}.fa-heart-circle-plus:before{content:"\\e500"}.fa-code-fork:before{content:"\\e13b"}.fa-city:before{content:"\\f64f"}.fa-microphone-alt:before,.fa-microphone-lines:before{content:"\\f3c9"}.fa-pepper-hot:before{content:"\\f816"}.fa-unlock:before{content:"\\f09c"}.fa-colon-sign:before{content:"\\e140"}.fa-headset:before{content:"\\f590"}.fa-store-slash:before{content:"\\e071"}.fa-road-circle-xmark:before{content:"\\e566"}.fa-user-minus:before{content:"\\f503"}.fa-mars-stroke-up:before,.fa-mars-stroke-v:before{content:"\\f22a"}.fa-champagne-glasses:before,.fa-glass-cheers:before{content:"\\f79f"}.fa-clipboard:before{content:"\\f328"}.fa-house-circle-exclamation:before{content:"\\e50a"}.fa-file-arrow-up:before,.fa-file-upload:before{content:"\\f574"}.fa-wifi-3:before,.fa-wifi-strong:before,.fa-wifi:before{content:"\\f1eb"}.fa-bath:before,.fa-bathtub:before{content:"\\f2cd"}.fa-underline:before{content:"\\f0cd"}.fa-user-edit:before,.fa-user-pen:before{content:"\\f4ff"}.fa-signature:before{content:"\\f5b7"}.fa-stroopwafel:before{content:"\\f551"}.fa-bold:before{content:"\\f032"}.fa-anchor-lock:before{content:"\\e4ad"}.fa-building-ngo:before{content:"\\e4d7"}.fa-manat-sign:before{content:"\\e1d5"}.fa-not-equal:before{content:"\\f53e"}.fa-border-style:before,.fa-border-top-left:before{content:"\\f853"}.fa-map-location-dot:before,.fa-map-marked-alt:before{content:"\\f5a0"}.fa-jedi:before{content:"\\f669"}.fa-poll:before,.fa-square-poll-vertical:before{content:"\\f681"}.fa-mug-hot:before{content:"\\f7b6"}.fa-battery-car:before,.fa-car-battery:before{content:"\\f5df"}.fa-gift:before{content:"\\f06b"}.fa-dice-two:before{content:"\\f528"}.fa-chess-queen:before{content:"\\f445"}.fa-glasses:before{content:"\\f530"}.fa-chess-board:before{content:"\\f43c"}.fa-building-circle-check:before{content:"\\e4d2"}.fa-person-chalkboard:before{content:"\\e53d"}.fa-mars-stroke-h:before,.fa-mars-stroke-right:before{content:"\\f22b"}.fa-hand-back-fist:before,.fa-hand-rock:before{content:"\\f255"}.fa-caret-square-up:before,.fa-square-caret-up:before{content:"\\f151"}.fa-cloud-showers-water:before{content:"\\e4e4"}.fa-bar-chart:before,.fa-chart-bar:before{content:"\\f080"}.fa-hands-bubbles:before,.fa-hands-wash:before{content:"\\e05e"}.fa-less-than-equal:before{content:"\\f537"}.fa-train:before{content:"\\f238"}.fa-eye-low-vision:before,.fa-low-vision:before{content:"\\f2a8"}.fa-crow:before{content:"\\f520"}.fa-sailboat:before{content:"\\e445"}.fa-window-restore:before{content:"\\f2d2"}.fa-plus-square:before,.fa-square-plus:before{content:"\\f0fe"}.fa-torii-gate:before{content:"\\f6a1"}.fa-frog:before{content:"\\f52e"}.fa-bucket:before{content:"\\e4cf"}.fa-image:before{content:"\\f03e"}.fa-microphone:before{content:"\\f130"}.fa-cow:before{content:"\\f6c8"}.fa-caret-up:before{content:"\\f0d8"}.fa-screwdriver:before{content:"\\f54a"}.fa-folder-closed:before{content:"\\e185"}.fa-house-tsunami:before{content:"\\e515"}.fa-square-nfi:before{content:"\\e576"}.fa-arrow-up-from-ground-water:before{content:"\\e4b5"}.fa-glass-martini-alt:before,.fa-martini-glass:before{content:"\\f57b"}.fa-rotate-back:before,.fa-rotate-backward:before,.fa-rotate-left:before,.fa-undo-alt:before{content:"\\f2ea"}.fa-columns:before,.fa-table-columns:before{content:"\\f0db"}.fa-lemon:before{content:"\\f094"}.fa-head-side-mask:before{content:"\\e063"}.fa-handshake:before{content:"\\f2b5"}.fa-gem:before{content:"\\f3a5"}.fa-dolly-box:before,.fa-dolly:before{content:"\\f472"}.fa-smoking:before{content:"\\f48d"}.fa-compress-arrows-alt:before,.fa-minimize:before{content:"\\f78c"}.fa-monument:before{content:"\\f5a6"}.fa-snowplow:before{content:"\\f7d2"}.fa-angle-double-right:before,.fa-angles-right:before{content:"\\f101"}.fa-cannabis:before{content:"\\f55f"}.fa-circle-play:before,.fa-play-circle:before{content:"\\f144"}.fa-tablets:before{content:"\\f490"}.fa-ethernet:before{content:"\\f796"}.fa-eur:before,.fa-euro-sign:before,.fa-euro:before{content:"\\f153"}.fa-chair:before{content:"\\f6c0"}.fa-check-circle:before,.fa-circle-check:before{content:"\\f058"}.fa-circle-stop:before,.fa-stop-circle:before{content:"\\f28d"}.fa-compass-drafting:before,.fa-drafting-compass:before{content:"\\f568"}.fa-plate-wheat:before{content:"\\e55a"}.fa-icicles:before{content:"\\f7ad"}.fa-person-shelter:before{content:"\\e54f"}.fa-neuter:before{content:"\\f22c"}.fa-id-badge:before{content:"\\f2c1"}.fa-marker:before{content:"\\f5a1"}.fa-face-laugh-beam:before,.fa-laugh-beam:before{content:"\\f59a"}.fa-helicopter-symbol:before{content:"\\e502"}.fa-universal-access:before{content:"\\f29a"}.fa-chevron-circle-up:before,.fa-circle-chevron-up:before{content:"\\f139"}.fa-lari-sign:before{content:"\\e1c8"}.fa-volcano:before{content:"\\f770"}.fa-person-walking-dashed-line-arrow-right:before{content:"\\e553"}.fa-gbp:before,.fa-pound-sign:before,.fa-sterling-sign:before{content:"\\f154"}.fa-viruses:before{content:"\\e076"}.fa-square-person-confined:before{content:"\\e577"}.fa-user-tie:before{content:"\\f508"}.fa-arrow-down-long:before,.fa-long-arrow-down:before{content:"\\f175"}.fa-tent-arrow-down-to-line:before{content:"\\e57e"}.fa-certificate:before{content:"\\f0a3"}.fa-mail-reply-all:before,.fa-reply-all:before{content:"\\f122"}.fa-suitcase:before{content:"\\f0f2"}.fa-person-skating:before,.fa-skating:before{content:"\\f7c5"}.fa-filter-circle-dollar:before,.fa-funnel-dollar:before{content:"\\f662"}.fa-camera-retro:before{content:"\\f083"}.fa-arrow-circle-down:before,.fa-circle-arrow-down:before{content:"\\f0ab"}.fa-arrow-right-to-file:before,.fa-file-import:before{content:"\\f56f"}.fa-external-link-square:before,.fa-square-arrow-up-right:before{content:"\\f14c"}.fa-box-open:before{content:"\\f49e"}.fa-scroll:before{content:"\\f70e"}.fa-spa:before{content:"\\f5bb"}.fa-location-pin-lock:before{content:"\\e51f"}.fa-pause:before{content:"\\f04c"}.fa-hill-avalanche:before{content:"\\e507"}.fa-temperature-0:before,.fa-temperature-empty:before,.fa-thermometer-0:before,.fa-thermometer-empty:before{content:"\\f2cb"}.fa-bomb:before{content:"\\f1e2"}.fa-registered:before{content:"\\f25d"}.fa-address-card:before,.fa-contact-card:before,.fa-vcard:before{content:"\\f2bb"}.fa-balance-scale-right:before,.fa-scale-unbalanced-flip:before{content:"\\f516"}.fa-subscript:before{content:"\\f12c"}.fa-diamond-turn-right:before,.fa-directions:before{content:"\\f5eb"}.fa-burst:before{content:"\\e4dc"}.fa-house-laptop:before,.fa-laptop-house:before{content:"\\e066"}.fa-face-tired:before,.fa-tired:before{content:"\\f5c8"}.fa-money-bills:before{content:"\\e1f3"}.fa-smog:before{content:"\\f75f"}.fa-crutch:before{content:"\\f7f7"}.fa-cloud-arrow-up:before,.fa-cloud-upload-alt:before,.fa-cloud-upload:before{content:"\\f0ee"}.fa-palette:before{content:"\\f53f"}.fa-arrows-turn-right:before{content:"\\e4c0"}.fa-vest:before{content:"\\e085"}.fa-ferry:before{content:"\\e4ea"}.fa-arrows-down-to-people:before{content:"\\e4b9"}.fa-seedling:before,.fa-sprout:before{content:"\\f4d8"}.fa-arrows-alt-h:before,.fa-left-right:before{content:"\\f337"}.fa-boxes-packing:before{content:"\\e4c7"}.fa-arrow-circle-left:before,.fa-circle-arrow-left:before{content:"\\f0a8"}.fa-group-arrows-rotate:before{content:"\\e4f6"}.fa-bowl-food:before{content:"\\e4c6"}.fa-candy-cane:before{content:"\\f786"}.fa-arrow-down-wide-short:before,.fa-sort-amount-asc:before,.fa-sort-amount-down:before{content:"\\f160"}.fa-cloud-bolt:before,.fa-thunderstorm:before{content:"\\f76c"}.fa-remove-format:before,.fa-text-slash:before{content:"\\f87d"}.fa-face-smile-wink:before,.fa-smile-wink:before{content:"\\f4da"}.fa-file-word:before{content:"\\f1c2"}.fa-file-powerpoint:before{content:"\\f1c4"}.fa-arrows-h:before,.fa-arrows-left-right:before{content:"\\f07e"}.fa-house-lock:before{content:"\\e510"}.fa-cloud-arrow-down:before,.fa-cloud-download-alt:before,.fa-cloud-download:before{content:"\\f0ed"}.fa-children:before{content:"\\e4e1"}.fa-blackboard:before,.fa-chalkboard:before{content:"\\f51b"}.fa-user-alt-slash:before,.fa-user-large-slash:before{content:"\\f4fa"}.fa-envelope-open:before{content:"\\f2b6"}.fa-handshake-alt-slash:before,.fa-handshake-simple-slash:before{content:"\\e05f"}.fa-mattress-pillow:before{content:"\\e525"}.fa-guarani-sign:before{content:"\\e19a"}.fa-arrows-rotate:before,.fa-refresh:before,.fa-sync:before{content:"\\f021"}.fa-fire-extinguisher:before{content:"\\f134"}.fa-cruzeiro-sign:before{content:"\\e152"}.fa-greater-than-equal:before{content:"\\f532"}.fa-shield-alt:before,.fa-shield-halved:before{content:"\\f3ed"}.fa-atlas:before,.fa-book-atlas:before{content:"\\f558"}.fa-virus:before{content:"\\e074"}.fa-envelope-circle-check:before{content:"\\e4e8"}.fa-layer-group:before{content:"\\f5fd"}.fa-arrows-to-dot:before{content:"\\e4be"}.fa-archway:before{content:"\\f557"}.fa-heart-circle-check:before{content:"\\e4fd"}.fa-house-chimney-crack:before,.fa-house-damage:before{content:"\\f6f1"}.fa-file-archive:before,.fa-file-zipper:before{content:"\\f1c6"}.fa-square:before{content:"\\f0c8"}.fa-glass-martini:before,.fa-martini-glass-empty:before{content:"\\f000"}.fa-couch:before{content:"\\f4b8"}.fa-cedi-sign:before{content:"\\e0df"}.fa-italic:before{content:"\\f033"}.fa-church:before{content:"\\f51d"}.fa-comments-dollar:before{content:"\\f653"}.fa-democrat:before{content:"\\f747"}.fa-z:before{content:"Z"}.fa-person-skiing:before,.fa-skiing:before{content:"\\f7c9"}.fa-road-lock:before{content:"\\e567"}.fa-a:before{content:"A"}.fa-temperature-arrow-down:before,.fa-temperature-down:before{content:"\\e03f"}.fa-feather-alt:before,.fa-feather-pointed:before{content:"\\f56b"}.fa-p:before{content:"P"}.fa-snowflake:before{content:"\\f2dc"}.fa-newspaper:before{content:"\\f1ea"}.fa-ad:before,.fa-rectangle-ad:before{content:"\\f641"}.fa-arrow-circle-right:before,.fa-circle-arrow-right:before{content:"\\f0a9"}.fa-filter-circle-xmark:before{content:"\\e17b"}.fa-locust:before{content:"\\e520"}.fa-sort:before,.fa-unsorted:before{content:"\\f0dc"}.fa-list-1-2:before,.fa-list-numeric:before,.fa-list-ol:before{content:"\\f0cb"}.fa-person-dress-burst:before{content:"\\e544"}.fa-money-check-alt:before,.fa-money-check-dollar:before{content:"\\f53d"}.fa-vector-square:before{content:"\\f5cb"}.fa-bread-slice:before{content:"\\f7ec"}.fa-language:before{content:"\\f1ab"}.fa-face-kiss-wink-heart:before,.fa-kiss-wink-heart:before{content:"\\f598"}.fa-filter:before{content:"\\f0b0"}.fa-question:before{content:"?"}.fa-file-signature:before{content:"\\f573"}.fa-arrows-alt:before,.fa-up-down-left-right:before{content:"\\f0b2"}.fa-house-chimney-user:before{content:"\\e065"}.fa-hand-holding-heart:before{content:"\\f4be"}.fa-puzzle-piece:before{content:"\\f12e"}.fa-money-check:before{content:"\\f53c"}.fa-star-half-alt:before,.fa-star-half-stroke:before{content:"\\f5c0"}.fa-code:before{content:"\\f121"}.fa-glass-whiskey:before,.fa-whiskey-glass:before{content:"\\f7a0"}.fa-building-circle-exclamation:before{content:"\\e4d3"}.fa-magnifying-glass-chart:before{content:"\\e522"}.fa-arrow-up-right-from-square:before,.fa-external-link:before{content:"\\f08e"}.fa-cubes-stacked:before{content:"\\e4e6"}.fa-krw:before,.fa-won-sign:before,.fa-won:before{content:"\\f159"}.fa-virus-covid:before{content:"\\e4a8"}.fa-austral-sign:before{content:"\\e0a9"}.fa-f:before{content:"F"}.fa-leaf:before{content:"\\f06c"}.fa-road:before{content:"\\f018"}.fa-cab:before,.fa-taxi:before{content:"\\f1ba"}.fa-person-circle-plus:before{content:"\\e541"}.fa-chart-pie:before,.fa-pie-chart:before{content:"\\f200"}.fa-bolt-lightning:before{content:"\\e0b7"}.fa-sack-xmark:before{content:"\\e56a"}.fa-file-excel:before{content:"\\f1c3"}.fa-file-contract:before{content:"\\f56c"}.fa-fish-fins:before{content:"\\e4f2"}.fa-building-flag:before{content:"\\e4d5"}.fa-face-grin-beam:before,.fa-grin-beam:before{content:"\\f582"}.fa-object-ungroup:before{content:"\\f248"}.fa-poop:before{content:"\\f619"}.fa-location-pin:before,.fa-map-marker:before{content:"\\f041"}.fa-kaaba:before{content:"\\f66b"}.fa-toilet-paper:before{content:"\\f71e"}.fa-hard-hat:before,.fa-hat-hard:before,.fa-helmet-safety:before{content:"\\f807"}.fa-eject:before{content:"\\f052"}.fa-arrow-alt-circle-right:before,.fa-circle-right:before{content:"\\f35a"}.fa-plane-circle-check:before{content:"\\e555"}.fa-face-rolling-eyes:before,.fa-meh-rolling-eyes:before{content:"\\f5a5"}.fa-object-group:before{content:"\\f247"}.fa-chart-line:before,.fa-line-chart:before{content:"\\f201"}.fa-mask-ventilator:before{content:"\\e524"}.fa-arrow-right:before{content:"\\f061"}.fa-map-signs:before,.fa-signs-post:before{content:"\\f277"}.fa-cash-register:before{content:"\\f788"}.fa-person-circle-question:before{content:"\\e542"}.fa-h:before{content:"H"}.fa-tarp:before{content:"\\e57b"}.fa-screwdriver-wrench:before,.fa-tools:before{content:"\\f7d9"}.fa-arrows-to-eye:before{content:"\\e4bf"}.fa-plug-circle-bolt:before{content:"\\e55b"}.fa-heart:before{content:"\\f004"}.fa-mars-and-venus:before{content:"\\f224"}.fa-home-user:before,.fa-house-user:before{content:"\\e1b0"}.fa-dumpster-fire:before{content:"\\f794"}.fa-house-crack:before{content:"\\e3b1"}.fa-cocktail:before,.fa-martini-glass-citrus:before{content:"\\f561"}.fa-face-surprise:before,.fa-surprise:before{content:"\\f5c2"}.fa-bottle-water:before{content:"\\e4c5"}.fa-circle-pause:before,.fa-pause-circle:before{content:"\\f28b"}.fa-toilet-paper-slash:before{content:"\\e072"}.fa-apple-alt:before,.fa-apple-whole:before{content:"\\f5d1"}.fa-kitchen-set:before{content:"\\e51a"}.fa-r:before{content:"R"}.fa-temperature-1:before,.fa-temperature-quarter:before,.fa-thermometer-1:before,.fa-thermometer-quarter:before{content:"\\f2ca"}.fa-cube:before{content:"\\f1b2"}.fa-bitcoin-sign:before{content:"\\e0b4"}.fa-shield-dog:before{content:"\\e573"}.fa-solar-panel:before{content:"\\f5ba"}.fa-lock-open:before{content:"\\f3c1"}.fa-elevator:before{content:"\\e16d"}.fa-money-bill-transfer:before{content:"\\e528"}.fa-money-bill-trend-up:before{content:"\\e529"}.fa-house-flood-water-circle-arrow-right:before{content:"\\e50f"}.fa-poll-h:before,.fa-square-poll-horizontal:before{content:"\\f682"}.fa-circle:before{content:"\\f111"}.fa-backward-fast:before,.fa-fast-backward:before{content:"\\f049"}.fa-recycle:before{content:"\\f1b8"}.fa-user-astronaut:before{content:"\\f4fb"}.fa-plane-slash:before{content:"\\e069"}.fa-trademark:before{content:"\\f25c"}.fa-basketball-ball:before,.fa-basketball:before{content:"\\f434"}.fa-satellite-dish:before{content:"\\f7c0"}.fa-arrow-alt-circle-up:before,.fa-circle-up:before{content:"\\f35b"}.fa-mobile-alt:before,.fa-mobile-screen-button:before{content:"\\f3cd"}.fa-volume-high:before,.fa-volume-up:before{content:"\\f028"}.fa-users-rays:before{content:"\\e593"}.fa-wallet:before{content:"\\f555"}.fa-clipboard-check:before{content:"\\f46c"}.fa-file-audio:before{content:"\\f1c7"}.fa-burger:before,.fa-hamburger:before{content:"\\f805"}.fa-wrench:before{content:"\\f0ad"}.fa-bugs:before{content:"\\e4d0"}.fa-rupee-sign:before,.fa-rupee:before{content:"\\f156"}.fa-file-image:before{content:"\\f1c5"}.fa-circle-question:before,.fa-question-circle:before{content:"\\f059"}.fa-plane-departure:before{content:"\\f5b0"}.fa-handshake-slash:before{content:"\\e060"}.fa-book-bookmark:before{content:"\\e0bb"}.fa-code-branch:before{content:"\\f126"}.fa-hat-cowboy:before{content:"\\f8c0"}.fa-bridge:before{content:"\\e4c8"}.fa-phone-alt:before,.fa-phone-flip:before{content:"\\f879"}.fa-truck-front:before{content:"\\e2b7"}.fa-cat:before{content:"\\f6be"}.fa-anchor-circle-exclamation:before{content:"\\e4ab"}.fa-truck-field:before{content:"\\e58d"}.fa-route:before{content:"\\f4d7"}.fa-clipboard-question:before{content:"\\e4e3"}.fa-panorama:before{content:"\\e209"}.fa-comment-medical:before{content:"\\f7f5"}.fa-teeth-open:before{content:"\\f62f"}.fa-file-circle-minus:before{content:"\\e4ed"}.fa-tags:before{content:"\\f02c"}.fa-wine-glass:before{content:"\\f4e3"}.fa-fast-forward:before,.fa-forward-fast:before{content:"\\f050"}.fa-face-meh-blank:before,.fa-meh-blank:before{content:"\\f5a4"}.fa-parking:before,.fa-square-parking:before{content:"\\f540"}.fa-house-signal:before{content:"\\e012"}.fa-bars-progress:before,.fa-tasks-alt:before{content:"\\f828"}.fa-faucet-drip:before{content:"\\e006"}.fa-cart-flatbed:before,.fa-dolly-flatbed:before{content:"\\f474"}.fa-ban-smoking:before,.fa-smoking-ban:before{content:"\\f54d"}.fa-terminal:before{content:"\\f120"}.fa-mobile-button:before{content:"\\f10b"}.fa-house-medical-flag:before{content:"\\e514"}.fa-basket-shopping:before,.fa-shopping-basket:before{content:"\\f291"}.fa-tape:before{content:"\\f4db"}.fa-bus-alt:before,.fa-bus-simple:before{content:"\\f55e"}.fa-eye:before{content:"\\f06e"}.fa-face-sad-cry:before,.fa-sad-cry:before{content:"\\f5b3"}.fa-audio-description:before{content:"\\f29e"}.fa-person-military-to-person:before{content:"\\e54c"}.fa-file-shield:before{content:"\\e4f0"}.fa-user-slash:before{content:"\\f506"}.fa-pen:before{content:"\\f304"}.fa-tower-observation:before{content:"\\e586"}.fa-file-code:before{content:"\\f1c9"}.fa-signal-5:before,.fa-signal-perfect:before,.fa-signal:before{content:"\\f012"}.fa-bus:before{content:"\\f207"}.fa-heart-circle-xmark:before{content:"\\e501"}.fa-home-lg:before,.fa-house-chimney:before{content:"\\e3af"}.fa-window-maximize:before{content:"\\f2d0"}.fa-face-frown:before,.fa-frown:before{content:"\\f119"}.fa-prescription:before{content:"\\f5b1"}.fa-shop:before,.fa-store-alt:before{content:"\\f54f"}.fa-floppy-disk:before,.fa-save:before{content:"\\f0c7"}.fa-vihara:before{content:"\\f6a7"}.fa-balance-scale-left:before,.fa-scale-unbalanced:before{content:"\\f515"}.fa-sort-asc:before,.fa-sort-up:before{content:"\\f0de"}.fa-comment-dots:before,.fa-commenting:before{content:"\\f4ad"}.fa-plant-wilt:before{content:"\\e5aa"}.fa-diamond:before{content:"\\f219"}.fa-face-grin-squint:before,.fa-grin-squint:before{content:"\\f585"}.fa-hand-holding-dollar:before,.fa-hand-holding-usd:before{content:"\\f4c0"}.fa-bacterium:before{content:"\\e05a"}.fa-hand-pointer:before{content:"\\f25a"}.fa-drum-steelpan:before{content:"\\f56a"}.fa-hand-scissors:before{content:"\\f257"}.fa-hands-praying:before,.fa-praying-hands:before{content:"\\f684"}.fa-arrow-right-rotate:before,.fa-arrow-rotate-forward:before,.fa-arrow-rotate-right:before,.fa-redo:before{content:"\\f01e"}.fa-biohazard:before{content:"\\f780"}.fa-location-crosshairs:before,.fa-location:before{content:"\\f601"}.fa-mars-double:before{content:"\\f227"}.fa-child-dress:before{content:"\\e59c"}.fa-users-between-lines:before{content:"\\e591"}.fa-lungs-virus:before{content:"\\e067"}.fa-face-grin-tears:before,.fa-grin-tears:before{content:"\\f588"}.fa-phone:before{content:"\\f095"}.fa-calendar-times:before,.fa-calendar-xmark:before{content:"\\f273"}.fa-child-reaching:before{content:"\\e59d"}.fa-head-side-virus:before{content:"\\e064"}.fa-user-cog:before,.fa-user-gear:before{content:"\\f4fe"}.fa-arrow-up-1-9:before,.fa-sort-numeric-up:before{content:"\\f163"}.fa-door-closed:before{content:"\\f52a"}.fa-shield-virus:before{content:"\\e06c"}.fa-dice-six:before{content:"\\f526"}.fa-mosquito-net:before{content:"\\e52c"}.fa-bridge-water:before{content:"\\e4ce"}.fa-person-booth:before{content:"\\f756"}.fa-text-width:before{content:"\\f035"}.fa-hat-wizard:before{content:"\\f6e8"}.fa-pen-fancy:before{content:"\\f5ac"}.fa-digging:before,.fa-person-digging:before{content:"\\f85e"}.fa-trash:before{content:"\\f1f8"}.fa-gauge-simple-med:before,.fa-gauge-simple:before,.fa-tachometer-average:before{content:"\\f629"}.fa-book-medical:before{content:"\\f7e6"}.fa-poo:before{content:"\\f2fe"}.fa-quote-right-alt:before,.fa-quote-right:before{content:"\\f10e"}.fa-shirt:before,.fa-t-shirt:before,.fa-tshirt:before{content:"\\f553"}.fa-cubes:before{content:"\\f1b3"}.fa-divide:before{content:"\\f529"}.fa-tenge-sign:before,.fa-tenge:before{content:"\\f7d7"}.fa-headphones:before{content:"\\f025"}.fa-hands-holding:before{content:"\\f4c2"}.fa-hands-clapping:before{content:"\\e1a8"}.fa-republican:before{content:"\\f75e"}.fa-arrow-left:before{content:"\\f060"}.fa-person-circle-xmark:before{content:"\\e543"}.fa-ruler:before{content:"\\f545"}.fa-align-left:before{content:"\\f036"}.fa-dice-d6:before{content:"\\f6d1"}.fa-restroom:before{content:"\\f7bd"}.fa-j:before{content:"J"}.fa-users-viewfinder:before{content:"\\e595"}.fa-file-video:before{content:"\\f1c8"}.fa-external-link-alt:before,.fa-up-right-from-square:before{content:"\\f35d"}.fa-table-cells:before,.fa-th:before{content:"\\f00a"}.fa-file-pdf:before{content:"\\f1c1"}.fa-bible:before,.fa-book-bible:before{content:"\\f647"}.fa-o:before{content:"O"}.fa-medkit:before,.fa-suitcase-medical:before{content:"\\f0fa"}.fa-user-secret:before{content:"\\f21b"}.fa-otter:before{content:"\\f700"}.fa-female:before,.fa-person-dress:before{content:"\\f182"}.fa-comment-dollar:before{content:"\\f651"}.fa-briefcase-clock:before,.fa-business-time:before{content:"\\f64a"}.fa-table-cells-large:before,.fa-th-large:before{content:"\\f009"}.fa-book-tanakh:before,.fa-tanakh:before{content:"\\f827"}.fa-phone-volume:before,.fa-volume-control-phone:before{content:"\\f2a0"}.fa-hat-cowboy-side:before{content:"\\f8c1"}.fa-clipboard-user:before{content:"\\f7f3"}.fa-child:before{content:"\\f1ae"}.fa-lira-sign:before{content:"\\f195"}.fa-satellite:before{content:"\\f7bf"}.fa-plane-lock:before{content:"\\e558"}.fa-tag:before{content:"\\f02b"}.fa-comment:before{content:"\\f075"}.fa-birthday-cake:before,.fa-cake-candles:before,.fa-cake:before{content:"\\f1fd"}.fa-envelope:before{content:"\\f0e0"}.fa-angle-double-up:before,.fa-angles-up:before{content:"\\f102"}.fa-paperclip:before{content:"\\f0c6"}.fa-arrow-right-to-city:before{content:"\\e4b3"}.fa-ribbon:before{content:"\\f4d6"}.fa-lungs:before{content:"\\f604"}.fa-arrow-up-9-1:before,.fa-sort-numeric-up-alt:before{content:"\\f887"}.fa-litecoin-sign:before{content:"\\e1d3"}.fa-border-none:before{content:"\\f850"}.fa-circle-nodes:before{content:"\\e4e2"}.fa-parachute-box:before{content:"\\f4cd"}.fa-indent:before{content:"\\f03c"}.fa-truck-field-un:before{content:"\\e58e"}.fa-hourglass-empty:before,.fa-hourglass:before{content:"\\f254"}.fa-mountain:before{content:"\\f6fc"}.fa-user-doctor:before,.fa-user-md:before{content:"\\f0f0"}.fa-circle-info:before,.fa-info-circle:before{content:"\\f05a"}.fa-cloud-meatball:before{content:"\\f73b"}.fa-camera-alt:before,.fa-camera:before{content:"\\f030"}.fa-square-virus:before{content:"\\e578"}.fa-meteor:before{content:"\\f753"}.fa-car-on:before{content:"\\e4dd"}.fa-sleigh:before{content:"\\f7cc"}.fa-arrow-down-1-9:before,.fa-sort-numeric-asc:before,.fa-sort-numeric-down:before{content:"\\f162"}.fa-hand-holding-droplet:before,.fa-hand-holding-water:before{content:"\\f4c1"}.fa-water:before{content:"\\f773"}.fa-calendar-check:before{content:"\\f274"}.fa-braille:before{content:"\\f2a1"}.fa-prescription-bottle-alt:before,.fa-prescription-bottle-medical:before{content:"\\f486"}.fa-landmark:before{content:"\\f66f"}.fa-truck:before{content:"\\f0d1"}.fa-crosshairs:before{content:"\\f05b"}.fa-person-cane:before{content:"\\e53c"}.fa-tent:before{content:"\\e57d"}.fa-vest-patches:before{content:"\\e086"}.fa-check-double:before{content:"\\f560"}.fa-arrow-down-a-z:before,.fa-sort-alpha-asc:before,.fa-sort-alpha-down:before{content:"\\f15d"}.fa-money-bill-wheat:before{content:"\\e52a"}.fa-cookie:before{content:"\\f563"}.fa-arrow-left-rotate:before,.fa-arrow-rotate-back:before,.fa-arrow-rotate-backward:before,.fa-arrow-rotate-left:before,.fa-undo:before{content:"\\f0e2"}.fa-hard-drive:before,.fa-hdd:before{content:"\\f0a0"}.fa-face-grin-squint-tears:before,.fa-grin-squint-tears:before{content:"\\f586"}.fa-dumbbell:before{content:"\\f44b"}.fa-list-alt:before,.fa-rectangle-list:before{content:"\\f022"}.fa-tarp-droplet:before{content:"\\e57c"}.fa-house-medical-circle-check:before{content:"\\e511"}.fa-person-skiing-nordic:before,.fa-skiing-nordic:before{content:"\\f7ca"}.fa-calendar-plus:before{content:"\\f271"}.fa-plane-arrival:before{content:"\\f5af"}.fa-arrow-alt-circle-left:before,.fa-circle-left:before{content:"\\f359"}.fa-subway:before,.fa-train-subway:before{content:"\\f239"}.fa-chart-gantt:before{content:"\\e0e4"}.fa-indian-rupee-sign:before,.fa-indian-rupee:before,.fa-inr:before{content:"\\e1bc"}.fa-crop-alt:before,.fa-crop-simple:before{content:"\\f565"}.fa-money-bill-1:before,.fa-money-bill-alt:before{content:"\\f3d1"}.fa-left-long:before,.fa-long-arrow-alt-left:before{content:"\\f30a"}.fa-dna:before{content:"\\f471"}.fa-virus-slash:before{content:"\\e075"}.fa-minus:before,.fa-subtract:before{content:"\\f068"}.fa-chess:before{content:"\\f439"}.fa-arrow-left-long:before,.fa-long-arrow-left:before{content:"\\f177"}.fa-plug-circle-check:before{content:"\\e55c"}.fa-street-view:before{content:"\\f21d"}.fa-franc-sign:before{content:"\\e18f"}.fa-volume-off:before{content:"\\f026"}.fa-american-sign-language-interpreting:before,.fa-asl-interpreting:before,.fa-hands-american-sign-language-interpreting:before,.fa-hands-asl-interpreting:before{content:"\\f2a3"}.fa-cog:before,.fa-gear:before{content:"\\f013"}.fa-droplet-slash:before,.fa-tint-slash:before{content:"\\f5c7"}.fa-mosque:before{content:"\\f678"}.fa-mosquito:before{content:"\\e52b"}.fa-star-of-david:before{content:"\\f69a"}.fa-person-military-rifle:before{content:"\\e54b"}.fa-cart-shopping:before,.fa-shopping-cart:before{content:"\\f07a"}.fa-vials:before{content:"\\f493"}.fa-plug-circle-plus:before{content:"\\e55f"}.fa-place-of-worship:before{content:"\\f67f"}.fa-grip-vertical:before{content:"\\f58e"}.fa-arrow-turn-up:before,.fa-level-up:before{content:"\\f148"}.fa-u:before{content:"U"}.fa-square-root-alt:before,.fa-square-root-variable:before{content:"\\f698"}.fa-clock-four:before,.fa-clock:before{content:"\\f017"}.fa-backward-step:before,.fa-step-backward:before{content:"\\f048"}.fa-pallet:before{content:"\\f482"}.fa-faucet:before{content:"\\e005"}.fa-baseball-bat-ball:before{content:"\\f432"}.fa-s:before{content:"S"}.fa-timeline:before{content:"\\e29c"}.fa-keyboard:before{content:"\\f11c"}.fa-caret-down:before{content:"\\f0d7"}.fa-clinic-medical:before,.fa-house-chimney-medical:before{content:"\\f7f2"}.fa-temperature-3:before,.fa-temperature-three-quarters:before,.fa-thermometer-3:before,.fa-thermometer-three-quarters:before{content:"\\f2c8"}.fa-mobile-android-alt:before,.fa-mobile-screen:before{content:"\\f3cf"}.fa-plane-up:before{content:"\\e22d"}.fa-piggy-bank:before{content:"\\f4d3"}.fa-battery-3:before,.fa-battery-half:before{content:"\\f242"}.fa-mountain-city:before{content:"\\e52e"}.fa-coins:before{content:"\\f51e"}.fa-khanda:before{content:"\\f66d"}.fa-sliders-h:before,.fa-sliders:before{content:"\\f1de"}.fa-folder-tree:before{content:"\\f802"}.fa-network-wired:before{content:"\\f6ff"}.fa-map-pin:before{content:"\\f276"}.fa-hamsa:before{content:"\\f665"}.fa-cent-sign:before{content:"\\e3f5"}.fa-flask:before{content:"\\f0c3"}.fa-person-pregnant:before{content:"\\e31e"}.fa-wand-sparkles:before{content:"\\f72b"}.fa-ellipsis-v:before,.fa-ellipsis-vertical:before{content:"\\f142"}.fa-ticket:before{content:"\\f145"}.fa-power-off:before{content:"\\f011"}.fa-long-arrow-alt-right:before,.fa-right-long:before{content:"\\f30b"}.fa-flag-usa:before{content:"\\f74d"}.fa-laptop-file:before{content:"\\e51d"}.fa-teletype:before,.fa-tty:before{content:"\\f1e4"}.fa-diagram-next:before{content:"\\e476"}.fa-person-rifle:before{content:"\\e54e"}.fa-house-medical-circle-exclamation:before{content:"\\e512"}.fa-closed-captioning:before{content:"\\f20a"}.fa-hiking:before,.fa-person-hiking:before{content:"\\f6ec"}.fa-venus-double:before{content:"\\f226"}.fa-images:before{content:"\\f302"}.fa-calculator:before{content:"\\f1ec"}.fa-people-pulling:before{content:"\\e535"}.fa-n:before{content:"N"}.fa-cable-car:before,.fa-tram:before{content:"\\f7da"}.fa-cloud-rain:before{content:"\\f73d"}.fa-building-circle-xmark:before{content:"\\e4d4"}.fa-ship:before{content:"\\f21a"}.fa-arrows-down-to-line:before{content:"\\e4b8"}.fa-download:before{content:"\\f019"}.fa-face-grin:before,.fa-grin:before{content:"\\f580"}.fa-backspace:before,.fa-delete-left:before{content:"\\f55a"}.fa-eye-dropper-empty:before,.fa-eye-dropper:before,.fa-eyedropper:before{content:"\\f1fb"}.fa-file-circle-check:before{content:"\\e5a0"}.fa-forward:before{content:"\\f04e"}.fa-mobile-android:before,.fa-mobile-phone:before,.fa-mobile:before{content:"\\f3ce"}.fa-face-meh:before,.fa-meh:before{content:"\\f11a"}.fa-align-center:before{content:"\\f037"}.fa-book-dead:before,.fa-book-skull:before{content:"\\f6b7"}.fa-drivers-license:before,.fa-id-card:before{content:"\\f2c2"}.fa-dedent:before,.fa-outdent:before{content:"\\f03b"}.fa-heart-circle-exclamation:before{content:"\\e4fe"}.fa-home-alt:before,.fa-home-lg-alt:before,.fa-home:before,.fa-house:before{content:"\\f015"}.fa-calendar-week:before{content:"\\f784"}.fa-laptop-medical:before{content:"\\f812"}.fa-b:before{content:"B"}.fa-file-medical:before{content:"\\f477"}.fa-dice-one:before{content:"\\f525"}.fa-kiwi-bird:before{content:"\\f535"}.fa-arrow-right-arrow-left:before,.fa-exchange:before{content:"\\f0ec"}.fa-redo-alt:before,.fa-rotate-forward:before,.fa-rotate-right:before{content:"\\f2f9"}.fa-cutlery:before,.fa-utensils:before{content:"\\f2e7"}.fa-arrow-up-wide-short:before,.fa-sort-amount-up:before{content:"\\f161"}.fa-mill-sign:before{content:"\\e1ed"}.fa-bowl-rice:before{content:"\\e2eb"}.fa-skull:before{content:"\\f54c"}.fa-broadcast-tower:before,.fa-tower-broadcast:before{content:"\\f519"}.fa-truck-pickup:before{content:"\\f63c"}.fa-long-arrow-alt-up:before,.fa-up-long:before{content:"\\f30c"}.fa-stop:before{content:"\\f04d"}.fa-code-merge:before{content:"\\f387"}.fa-upload:before{content:"\\f093"}.fa-hurricane:before{content:"\\f751"}.fa-mound:before{content:"\\e52d"}.fa-toilet-portable:before{content:"\\e583"}.fa-compact-disc:before{content:"\\f51f"}.fa-file-arrow-down:before,.fa-file-download:before{content:"\\f56d"}.fa-caravan:before{content:"\\f8ff"}.fa-shield-cat:before{content:"\\e572"}.fa-bolt:before,.fa-zap:before{content:"\\f0e7"}.fa-glass-water:before{content:"\\e4f4"}.fa-oil-well:before{content:"\\e532"}.fa-vault:before{content:"\\e2c5"}.fa-mars:before{content:"\\f222"}.fa-toilet:before{content:"\\f7d8"}.fa-plane-circle-xmark:before{content:"\\e557"}.fa-cny:before,.fa-jpy:before,.fa-rmb:before,.fa-yen-sign:before,.fa-yen:before{content:"\\f157"}.fa-rouble:before,.fa-rub:before,.fa-ruble-sign:before,.fa-ruble:before{content:"\\f158"}.fa-sun:before{content:"\\f185"}.fa-guitar:before{content:"\\f7a6"}.fa-face-laugh-wink:before,.fa-laugh-wink:before{content:"\\f59c"}.fa-horse-head:before{content:"\\f7ab"}.fa-bore-hole:before{content:"\\e4c3"}.fa-industry:before{content:"\\f275"}.fa-arrow-alt-circle-down:before,.fa-circle-down:before{content:"\\f358"}.fa-arrows-turn-to-dots:before{content:"\\e4c1"}.fa-florin-sign:before{content:"\\e184"}.fa-arrow-down-short-wide:before,.fa-sort-amount-desc:before,.fa-sort-amount-down-alt:before{content:"\\f884"}.fa-less-than:before{content:"<"}.fa-angle-down:before{content:"\\f107"}.fa-car-tunnel:before{content:"\\e4de"}.fa-head-side-cough:before{content:"\\e061"}.fa-grip-lines:before{content:"\\f7a4"}.fa-thumbs-down:before{content:"\\f165"}.fa-user-lock:before{content:"\\f502"}.fa-arrow-right-long:before,.fa-long-arrow-right:before{content:"\\f178"}.fa-anchor-circle-xmark:before{content:"\\e4ac"}.fa-ellipsis-h:before,.fa-ellipsis:before{content:"\\f141"}.fa-chess-pawn:before{content:"\\f443"}.fa-first-aid:before,.fa-kit-medical:before{content:"\\f479"}.fa-person-through-window:before{content:"\\e5a9"}.fa-toolbox:before{content:"\\f552"}.fa-hands-holding-circle:before{content:"\\e4fb"}.fa-bug:before{content:"\\f188"}.fa-credit-card-alt:before,.fa-credit-card:before{content:"\\f09d"}.fa-automobile:before,.fa-car:before{content:"\\f1b9"}.fa-hand-holding-hand:before{content:"\\e4f7"}.fa-book-open-reader:before,.fa-book-reader:before{content:"\\f5da"}.fa-mountain-sun:before{content:"\\e52f"}.fa-arrows-left-right-to-line:before{content:"\\e4ba"}.fa-dice-d20:before{content:"\\f6cf"}.fa-truck-droplet:before{content:"\\e58c"}.fa-file-circle-xmark:before{content:"\\e5a1"}.fa-temperature-arrow-up:before,.fa-temperature-up:before{content:"\\e040"}.fa-medal:before{content:"\\f5a2"}.fa-bed:before{content:"\\f236"}.fa-h-square:before,.fa-square-h:before{content:"\\f0fd"}.fa-podcast:before{content:"\\f2ce"}.fa-temperature-4:before,.fa-temperature-full:before,.fa-thermometer-4:before,.fa-thermometer-full:before{content:"\\f2c7"}.fa-bell:before{content:"\\f0f3"}.fa-superscript:before{content:"\\f12b"}.fa-plug-circle-xmark:before{content:"\\e560"}.fa-star-of-life:before{content:"\\f621"}.fa-phone-slash:before{content:"\\f3dd"}.fa-paint-roller:before{content:"\\f5aa"}.fa-hands-helping:before,.fa-handshake-angle:before{content:"\\f4c4"}.fa-location-dot:before,.fa-map-marker-alt:before{content:"\\f3c5"}.fa-file:before{content:"\\f15b"}.fa-greater-than:before{content:">"}.fa-person-swimming:before,.fa-swimmer:before{content:"\\f5c4"}.fa-arrow-down:before{content:"\\f063"}.fa-droplet:before,.fa-tint:before{content:"\\f043"}.fa-eraser:before{content:"\\f12d"}.fa-earth-america:before,.fa-earth-americas:before,.fa-earth:before,.fa-globe-americas:before{content:"\\f57d"}.fa-person-burst:before{content:"\\e53b"}.fa-dove:before{content:"\\f4ba"}.fa-battery-0:before,.fa-battery-empty:before{content:"\\f244"}.fa-socks:before{content:"\\f696"}.fa-inbox:before{content:"\\f01c"}.fa-section:before{content:"\\e447"}.fa-gauge-high:before,.fa-tachometer-alt-fast:before,.fa-tachometer-alt:before{content:"\\f625"}.fa-envelope-open-text:before{content:"\\f658"}.fa-hospital-alt:before,.fa-hospital-wide:before,.fa-hospital:before{content:"\\f0f8"}.fa-wine-bottle:before{content:"\\f72f"}.fa-chess-rook:before{content:"\\f447"}.fa-bars-staggered:before,.fa-reorder:before,.fa-stream:before{content:"\\f550"}.fa-dharmachakra:before{content:"\\f655"}.fa-hotdog:before{content:"\\f80f"}.fa-blind:before,.fa-person-walking-with-cane:before{content:"\\f29d"}.fa-drum:before{content:"\\f569"}.fa-ice-cream:before{content:"\\f810"}.fa-heart-circle-bolt:before{content:"\\e4fc"}.fa-fax:before{content:"\\f1ac"}.fa-paragraph:before{content:"\\f1dd"}.fa-check-to-slot:before,.fa-vote-yea:before{content:"\\f772"}.fa-star-half:before{content:"\\f089"}.fa-boxes-alt:before,.fa-boxes-stacked:before,.fa-boxes:before{content:"\\f468"}.fa-chain:before,.fa-link:before{content:"\\f0c1"}.fa-assistive-listening-systems:before,.fa-ear-listen:before{content:"\\f2a2"}.fa-tree-city:before{content:"\\e587"}.fa-play:before{content:"\\f04b"}.fa-font:before{content:"\\f031"}.fa-rupiah-sign:before{content:"\\e23d"}.fa-magnifying-glass:before,.fa-search:before{content:"\\f002"}.fa-ping-pong-paddle-ball:before,.fa-table-tennis-paddle-ball:before,.fa-table-tennis:before{content:"\\f45d"}.fa-diagnoses:before,.fa-person-dots-from-line:before{content:"\\f470"}.fa-trash-can-arrow-up:before,.fa-trash-restore-alt:before{content:"\\f82a"}.fa-naira-sign:before{content:"\\e1f6"}.fa-cart-arrow-down:before{content:"\\f218"}.fa-walkie-talkie:before{content:"\\f8ef"}.fa-file-edit:before,.fa-file-pen:before{content:"\\f31c"}.fa-receipt:before{content:"\\f543"}.fa-pen-square:before,.fa-pencil-square:before,.fa-square-pen:before{content:"\\f14b"}.fa-suitcase-rolling:before{content:"\\f5c1"}.fa-person-circle-exclamation:before{content:"\\e53f"}.fa-chevron-down:before{content:"\\f078"}.fa-battery-5:before,.fa-battery-full:before,.fa-battery:before{content:"\\f240"}.fa-skull-crossbones:before{content:"\\f714"}.fa-code-compare:before{content:"\\e13a"}.fa-list-dots:before,.fa-list-ul:before{content:"\\f0ca"}.fa-school-lock:before{content:"\\e56f"}.fa-tower-cell:before{content:"\\e585"}.fa-down-long:before,.fa-long-arrow-alt-down:before{content:"\\f309"}.fa-ranking-star:before{content:"\\e561"}.fa-chess-king:before{content:"\\f43f"}.fa-person-harassing:before{content:"\\e549"}.fa-brazilian-real-sign:before{content:"\\e46c"}.fa-landmark-alt:before,.fa-landmark-dome:before{content:"\\f752"}.fa-arrow-up:before{content:"\\f062"}.fa-television:before,.fa-tv-alt:before,.fa-tv:before{content:"\\f26c"}.fa-shrimp:before{content:"\\e448"}.fa-list-check:before,.fa-tasks:before{content:"\\f0ae"}.fa-jug-detergent:before{content:"\\e519"}.fa-circle-user:before,.fa-user-circle:before{content:"\\f2bd"}.fa-user-shield:before{content:"\\f505"}.fa-wind:before{content:"\\f72e"}.fa-car-burst:before,.fa-car-crash:before{content:"\\f5e1"}.fa-y:before{content:"Y"}.fa-person-snowboarding:before,.fa-snowboarding:before{content:"\\f7ce"}.fa-shipping-fast:before,.fa-truck-fast:before{content:"\\f48b"}.fa-fish:before{content:"\\f578"}.fa-user-graduate:before{content:"\\f501"}.fa-adjust:before,.fa-circle-half-stroke:before{content:"\\f042"}.fa-clapperboard:before{content:"\\e131"}.fa-circle-radiation:before,.fa-radiation-alt:before{content:"\\f7ba"}.fa-baseball-ball:before,.fa-baseball:before{content:"\\f433"}.fa-jet-fighter-up:before{content:"\\e518"}.fa-diagram-project:before,.fa-project-diagram:before{content:"\\f542"}.fa-copy:before{content:"\\f0c5"}.fa-volume-mute:before,.fa-volume-times:before,.fa-volume-xmark:before{content:"\\f6a9"}.fa-hand-sparkles:before{content:"\\e05d"}.fa-grip-horizontal:before,.fa-grip:before{content:"\\f58d"}.fa-share-from-square:before,.fa-share-square:before{content:"\\f14d"}.fa-child-combatant:before,.fa-child-rifle:before{content:"\\e4e0"}.fa-gun:before{content:"\\e19b"}.fa-phone-square:before,.fa-square-phone:before{content:"\\f098"}.fa-add:before,.fa-plus:before{content:"+"}.fa-expand:before{content:"\\f065"}.fa-computer:before{content:"\\e4e5"}.fa-close:before,.fa-multiply:before,.fa-remove:before,.fa-times:before,.fa-xmark:before{content:"\\f00d"}.fa-arrows-up-down-left-right:before,.fa-arrows:before{content:"\\f047"}.fa-chalkboard-teacher:before,.fa-chalkboard-user:before{content:"\\f51c"}.fa-peso-sign:before{content:"\\e222"}.fa-building-shield:before{content:"\\e4d8"}.fa-baby:before{content:"\\f77c"}.fa-users-line:before{content:"\\e592"}.fa-quote-left-alt:before,.fa-quote-left:before{content:"\\f10d"}.fa-tractor:before{content:"\\f722"}.fa-trash-arrow-up:before,.fa-trash-restore:before{content:"\\f829"}.fa-arrow-down-up-lock:before{content:"\\e4b0"}.fa-lines-leaning:before{content:"\\e51e"}.fa-ruler-combined:before{content:"\\f546"}.fa-copyright:before{content:"\\f1f9"}.fa-equals:before{content:"="}.fa-blender:before{content:"\\f517"}.fa-teeth:before{content:"\\f62e"}.fa-ils:before,.fa-shekel-sign:before,.fa-shekel:before,.fa-sheqel-sign:before,.fa-sheqel:before{content:"\\f20b"}.fa-map:before{content:"\\f279"}.fa-rocket:before{content:"\\f135"}.fa-photo-film:before,.fa-photo-video:before{content:"\\f87c"}.fa-folder-minus:before{content:"\\f65d"}.fa-store:before{content:"\\f54e"}.fa-arrow-trend-up:before{content:"\\e098"}.fa-plug-circle-minus:before{content:"\\e55e"}.fa-sign-hanging:before,.fa-sign:before{content:"\\f4d9"}.fa-bezier-curve:before{content:"\\f55b"}.fa-bell-slash:before{content:"\\f1f6"}.fa-tablet-android:before,.fa-tablet:before{content:"\\f3fb"}.fa-school-flag:before{content:"\\e56e"}.fa-fill:before{content:"\\f575"}.fa-angle-up:before{content:"\\f106"}.fa-drumstick-bite:before{content:"\\f6d7"}.fa-holly-berry:before{content:"\\f7aa"}.fa-chevron-left:before{content:"\\f053"}.fa-bacteria:before{content:"\\e059"}.fa-hand-lizard:before{content:"\\f258"}.fa-notdef:before{content:"\\e1fe"}.fa-disease:before{content:"\\f7fa"}.fa-briefcase-medical:before{content:"\\f469"}.fa-genderless:before{content:"\\f22d"}.fa-chevron-right:before{content:"\\f054"}.fa-retweet:before{content:"\\f079"}.fa-car-alt:before,.fa-car-rear:before{content:"\\f5de"}.fa-pump-soap:before{content:"\\e06b"}.fa-video-slash:before{content:"\\f4e2"}.fa-battery-2:before,.fa-battery-quarter:before{content:"\\f243"}.fa-radio:before{content:"\\f8d7"}.fa-baby-carriage:before,.fa-carriage-baby:before{content:"\\f77d"}.fa-traffic-light:before{content:"\\f637"}.fa-thermometer:before{content:"\\f491"}.fa-vr-cardboard:before{content:"\\f729"}.fa-hand-middle-finger:before{content:"\\f806"}.fa-percent:before,.fa-percentage:before{content:"%"}.fa-truck-moving:before{content:"\\f4df"}.fa-glass-water-droplet:before{content:"\\e4f5"}.fa-display:before{content:"\\e163"}.fa-face-smile:before,.fa-smile:before{content:"\\f118"}.fa-thumb-tack:before,.fa-thumbtack:before{content:"\\f08d"}.fa-trophy:before{content:"\\f091"}.fa-person-praying:before,.fa-pray:before{content:"\\f683"}.fa-hammer:before{content:"\\f6e3"}.fa-hand-peace:before{content:"\\f25b"}.fa-rotate:before,.fa-sync-alt:before{content:"\\f2f1"}.fa-spinner:before{content:"\\f110"}.fa-robot:before{content:"\\f544"}.fa-peace:before{content:"\\f67c"}.fa-cogs:before,.fa-gears:before{content:"\\f085"}.fa-warehouse:before{content:"\\f494"}.fa-arrow-up-right-dots:before{content:"\\e4b7"}.fa-splotch:before{content:"\\f5bc"}.fa-face-grin-hearts:before,.fa-grin-hearts:before{content:"\\f584"}.fa-dice-four:before{content:"\\f524"}.fa-sim-card:before{content:"\\f7c4"}.fa-transgender-alt:before,.fa-transgender:before{content:"\\f225"}.fa-mercury:before{content:"\\f223"}.fa-arrow-turn-down:before,.fa-level-down:before{content:"\\f149"}.fa-person-falling-burst:before{content:"\\e547"}.fa-award:before{content:"\\f559"}.fa-ticket-alt:before,.fa-ticket-simple:before{content:"\\f3ff"}.fa-building:before{content:"\\f1ad"}.fa-angle-double-left:before,.fa-angles-left:before{content:"\\f100"}.fa-qrcode:before{content:"\\f029"}.fa-clock-rotate-left:before,.fa-history:before{content:"\\f1da"}.fa-face-grin-beam-sweat:before,.fa-grin-beam-sweat:before{content:"\\f583"}.fa-arrow-right-from-file:before,.fa-file-export:before{content:"\\f56e"}.fa-shield-blank:before,.fa-shield:before{content:"\\f132"}.fa-arrow-up-short-wide:before,.fa-sort-amount-up-alt:before{content:"\\f885"}.fa-house-medical:before{content:"\\e3b2"}.fa-golf-ball-tee:before,.fa-golf-ball:before{content:"\\f450"}.fa-chevron-circle-left:before,.fa-circle-chevron-left:before{content:"\\f137"}.fa-house-chimney-window:before{content:"\\e00d"}.fa-pen-nib:before{content:"\\f5ad"}.fa-tent-arrow-turn-left:before{content:"\\e580"}.fa-tents:before{content:"\\e582"}.fa-magic:before,.fa-wand-magic:before{content:"\\f0d0"}.fa-dog:before{content:"\\f6d3"}.fa-carrot:before{content:"\\f787"}.fa-moon:before{content:"\\f186"}.fa-wine-glass-alt:before,.fa-wine-glass-empty:before{content:"\\f5ce"}.fa-cheese:before{content:"\\f7ef"}.fa-yin-yang:before{content:"\\f6ad"}.fa-music:before{content:"\\f001"}.fa-code-commit:before{content:"\\f386"}.fa-temperature-low:before{content:"\\f76b"}.fa-biking:before,.fa-person-biking:before{content:"\\f84a"}.fa-broom:before{content:"\\f51a"}.fa-shield-heart:before{content:"\\e574"}.fa-gopuram:before{content:"\\f664"}.fa-earth-oceania:before,.fa-globe-oceania:before{content:"\\e47b"}.fa-square-xmark:before,.fa-times-square:before,.fa-xmark-square:before{content:"\\f2d3"}.fa-hashtag:before{content:"#"}.fa-expand-alt:before,.fa-up-right-and-down-left-from-center:before{content:"\\f424"}.fa-oil-can:before{content:"\\f613"}.fa-t:before{content:"T"}.fa-hippo:before{content:"\\f6ed"}.fa-chart-column:before{content:"\\e0e3"}.fa-infinity:before{content:"\\f534"}.fa-vial-circle-check:before{content:"\\e596"}.fa-person-arrow-down-to-line:before{content:"\\e538"}.fa-voicemail:before{content:"\\f897"}.fa-fan:before{content:"\\f863"}.fa-person-walking-luggage:before{content:"\\e554"}.fa-arrows-alt-v:before,.fa-up-down:before{content:"\\f338"}.fa-cloud-moon-rain:before{content:"\\f73c"}.fa-calendar:before{content:"\\f133"}.fa-trailer:before{content:"\\e041"}.fa-bahai:before,.fa-haykal:before{content:"\\f666"}.fa-sd-card:before{content:"\\f7c2"}.fa-dragon:before{content:"\\f6d5"}.fa-shoe-prints:before{content:"\\f54b"}.fa-circle-plus:before,.fa-plus-circle:before{content:"\\f055"}.fa-face-grin-tongue-wink:before,.fa-grin-tongue-wink:before{content:"\\f58b"}.fa-hand-holding:before{content:"\\f4bd"}.fa-plug-circle-exclamation:before{content:"\\e55d"}.fa-chain-broken:before,.fa-chain-slash:before,.fa-link-slash:before,.fa-unlink:before{content:"\\f127"}.fa-clone:before{content:"\\f24d"}.fa-person-walking-arrow-loop-left:before{content:"\\e551"}.fa-arrow-up-z-a:before,.fa-sort-alpha-up-alt:before{content:"\\f882"}.fa-fire-alt:before,.fa-fire-flame-curved:before{content:"\\f7e4"}.fa-tornado:before{content:"\\f76f"}.fa-file-circle-plus:before{content:"\\e494"}.fa-book-quran:before,.fa-quran:before{content:"\\f687"}.fa-anchor:before{content:"\\f13d"}.fa-border-all:before{content:"\\f84c"}.fa-angry:before,.fa-face-angry:before{content:"\\f556"}.fa-cookie-bite:before{content:"\\f564"}.fa-arrow-trend-down:before{content:"\\e097"}.fa-feed:before,.fa-rss:before{content:"\\f09e"}.fa-draw-polygon:before{content:"\\f5ee"}.fa-balance-scale:before,.fa-scale-balanced:before{content:"\\f24e"}.fa-gauge-simple-high:before,.fa-tachometer-fast:before,.fa-tachometer:before{content:"\\f62a"}.fa-shower:before{content:"\\f2cc"}.fa-desktop-alt:before,.fa-desktop:before{content:"\\f390"}.fa-m:before{content:"M"}.fa-table-list:before,.fa-th-list:before{content:"\\f00b"}.fa-comment-sms:before,.fa-sms:before{content:"\\f7cd"}.fa-book:before{content:"\\f02d"}.fa-user-plus:before{content:"\\f234"}.fa-check:before{content:"\\f00c"}.fa-battery-4:before,.fa-battery-three-quarters:before{content:"\\f241"}.fa-house-circle-check:before{content:"\\e509"}.fa-angle-left:before{content:"\\f104"}.fa-diagram-successor:before{content:"\\e47a"}.fa-truck-arrow-right:before{content:"\\e58b"}.fa-arrows-split-up-and-left:before{content:"\\e4bc"}.fa-fist-raised:before,.fa-hand-fist:before{content:"\\f6de"}.fa-cloud-moon:before{content:"\\f6c3"}.fa-briefcase:before{content:"\\f0b1"}.fa-person-falling:before{content:"\\e546"}.fa-image-portrait:before,.fa-portrait:before{content:"\\f3e0"}.fa-user-tag:before{content:"\\f507"}.fa-rug:before{content:"\\e569"}.fa-earth-europe:before,.fa-globe-europe:before{content:"\\f7a2"}.fa-cart-flatbed-suitcase:before,.fa-luggage-cart:before{content:"\\f59d"}.fa-rectangle-times:before,.fa-rectangle-xmark:before,.fa-times-rectangle:before,.fa-window-close:before{content:"\\f410"}.fa-baht-sign:before{content:"\\e0ac"}.fa-book-open:before{content:"\\f518"}.fa-book-journal-whills:before,.fa-journal-whills:before{content:"\\f66a"}.fa-handcuffs:before{content:"\\e4f8"}.fa-exclamation-triangle:before,.fa-triangle-exclamation:before,.fa-warning:before{content:"\\f071"}.fa-database:before{content:"\\f1c0"}.fa-mail-forward:before,.fa-share:before{content:"\\f064"}.fa-bottle-droplet:before{content:"\\e4c4"}.fa-mask-face:before{content:"\\e1d7"}.fa-hill-rockslide:before{content:"\\e508"}.fa-exchange-alt:before,.fa-right-left:before{content:"\\f362"}.fa-paper-plane:before{content:"\\f1d8"}.fa-road-circle-exclamation:before{content:"\\e565"}.fa-dungeon:before{content:"\\f6d9"}.fa-align-right:before{content:"\\f038"}.fa-money-bill-1-wave:before,.fa-money-bill-wave-alt:before{content:"\\f53b"}.fa-life-ring:before{content:"\\f1cd"}.fa-hands:before,.fa-sign-language:before,.fa-signing:before{content:"\\f2a7"}.fa-calendar-day:before{content:"\\f783"}.fa-ladder-water:before,.fa-swimming-pool:before,.fa-water-ladder:before{content:"\\f5c5"}.fa-arrows-up-down:before,.fa-arrows-v:before{content:"\\f07d"}.fa-face-grimace:before,.fa-grimace:before{content:"\\f57f"}.fa-wheelchair-alt:before,.fa-wheelchair-move:before{content:"\\e2ce"}.fa-level-down-alt:before,.fa-turn-down:before{content:"\\f3be"}.fa-person-walking-arrow-right:before{content:"\\e552"}.fa-envelope-square:before,.fa-square-envelope:before{content:"\\f199"}.fa-dice:before{content:"\\f522"}.fa-bowling-ball:before{content:"\\f436"}.fa-brain:before{content:"\\f5dc"}.fa-band-aid:before,.fa-bandage:before{content:"\\f462"}.fa-calendar-minus:before{content:"\\f272"}.fa-circle-xmark:before,.fa-times-circle:before,.fa-xmark-circle:before{content:"\\f057"}.fa-gifts:before{content:"\\f79c"}.fa-hotel:before{content:"\\f594"}.fa-earth-asia:before,.fa-globe-asia:before{content:"\\f57e"}.fa-id-card-alt:before,.fa-id-card-clip:before{content:"\\f47f"}.fa-magnifying-glass-plus:before,.fa-search-plus:before{content:"\\f00e"}.fa-thumbs-up:before{content:"\\f164"}.fa-user-clock:before{content:"\\f4fd"}.fa-allergies:before,.fa-hand-dots:before{content:"\\f461"}.fa-file-invoice:before{content:"\\f570"}.fa-window-minimize:before{content:"\\f2d1"}.fa-coffee:before,.fa-mug-saucer:before{content:"\\f0f4"}.fa-brush:before{content:"\\f55d"}.fa-mask:before{content:"\\f6fa"}.fa-magnifying-glass-minus:before,.fa-search-minus:before{content:"\\f010"}.fa-ruler-vertical:before{content:"\\f548"}.fa-user-alt:before,.fa-user-large:before{content:"\\f406"}.fa-train-tram:before{content:"\\e5b4"}.fa-user-nurse:before{content:"\\f82f"}.fa-syringe:before{content:"\\f48e"}.fa-cloud-sun:before{content:"\\f6c4"}.fa-stopwatch-20:before{content:"\\e06f"}.fa-square-full:before{content:"\\f45c"}.fa-magnet:before{content:"\\f076"}.fa-jar:before{content:"\\e516"}.fa-note-sticky:before,.fa-sticky-note:before{content:"\\f249"}.fa-bug-slash:before{content:"\\e490"}.fa-arrow-up-from-water-pump:before{content:"\\e4b6"}.fa-bone:before{content:"\\f5d7"}.fa-user-injured:before{content:"\\f728"}.fa-face-sad-tear:before,.fa-sad-tear:before{content:"\\f5b4"}.fa-plane:before{content:"\\f072"}.fa-tent-arrows-down:before{content:"\\e581"}.fa-exclamation:before{content:"!"}.fa-arrows-spin:before{content:"\\e4bb"}.fa-print:before{content:"\\f02f"}.fa-try:before,.fa-turkish-lira-sign:before,.fa-turkish-lira:before{content:"\\e2bb"}.fa-dollar-sign:before,.fa-dollar:before,.fa-usd:before{content:"$"}.fa-x:before{content:"X"}.fa-magnifying-glass-dollar:before,.fa-search-dollar:before{content:"\\f688"}.fa-users-cog:before,.fa-users-gear:before{content:"\\f509"}.fa-person-military-pointing:before{content:"\\e54a"}.fa-bank:before,.fa-building-columns:before,.fa-institution:before,.fa-museum:before,.fa-university:before{content:"\\f19c"}.fa-umbrella:before{content:"\\f0e9"}.fa-trowel:before{content:"\\e589"}.fa-d:before{content:"D"}.fa-stapler:before{content:"\\e5af"}.fa-masks-theater:before,.fa-theater-masks:before{content:"\\f630"}.fa-kip-sign:before{content:"\\e1c4"}.fa-hand-point-left:before{content:"\\f0a5"}.fa-handshake-alt:before,.fa-handshake-simple:before{content:"\\f4c6"}.fa-fighter-jet:before,.fa-jet-fighter:before{content:"\\f0fb"}.fa-share-alt-square:before,.fa-square-share-nodes:before{content:"\\f1e1"}.fa-barcode:before{content:"\\f02a"}.fa-plus-minus:before{content:"\\e43c"}.fa-video-camera:before,.fa-video:before{content:"\\f03d"}.fa-graduation-cap:before,.fa-mortar-board:before{content:"\\f19d"}.fa-hand-holding-medical:before{content:"\\e05c"}.fa-person-circle-check:before{content:"\\e53e"}.fa-level-up-alt:before,.fa-turn-up:before{content:"\\f3bf"}.fa-sr-only,.fa-sr-only-focusable:not(:focus),.sr-only,.sr-only-focusable:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}:host,:root{--fa-style-family-brands:"Font Awesome 6 Brands";--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"), url(../webfonts/fa-brands-400.ttf) format("truetype")}.fa-brands,.fab{font-weight:400}.fa-monero:before{content:"\\f3d0"}.fa-hooli:before{content:"\\f427"}.fa-yelp:before{content:"\\f1e9"}.fa-cc-visa:before{content:"\\f1f0"}.fa-lastfm:before{content:"\\f202"}.fa-shopware:before{content:"\\f5b5"}.fa-creative-commons-nc:before{content:"\\f4e8"}.fa-aws:before{content:"\\f375"}.fa-redhat:before{content:"\\f7bc"}.fa-yoast:before{content:"\\f2b1"}.fa-cloudflare:before{content:"\\e07d"}.fa-ups:before{content:"\\f7e0"}.fa-pixiv:before{content:"\\e640"}.fa-wpexplorer:before{content:"\\f2de"}.fa-dyalog:before{content:"\\f399"}.fa-bity:before{content:"\\f37a"}.fa-stackpath:before{content:"\\f842"}.fa-buysellads:before{content:"\\f20d"}.fa-first-order:before{content:"\\f2b0"}.fa-modx:before{content:"\\f285"}.fa-guilded:before{content:"\\e07e"}.fa-vnv:before{content:"\\f40b"}.fa-js-square:before,.fa-square-js:before{content:"\\f3b9"}.fa-microsoft:before{content:"\\f3ca"}.fa-qq:before{content:"\\f1d6"}.fa-orcid:before{content:"\\f8d2"}.fa-java:before{content:"\\f4e4"}.fa-invision:before{content:"\\f7b0"}.fa-creative-commons-pd-alt:before{content:"\\f4ed"}.fa-centercode:before{content:"\\f380"}.fa-glide-g:before{content:"\\f2a6"}.fa-drupal:before{content:"\\f1a9"}.fa-hire-a-helper:before{content:"\\f3b0"}.fa-creative-commons-by:before{content:"\\f4e7"}.fa-unity:before{content:"\\e049"}.fa-whmcs:before{content:"\\f40d"}.fa-rocketchat:before{content:"\\f3e8"}.fa-vk:before{content:"\\f189"}.fa-untappd:before{content:"\\f405"}.fa-mailchimp:before{content:"\\f59e"}.fa-css3-alt:before{content:"\\f38b"}.fa-reddit-square:before,.fa-square-reddit:before{content:"\\f1a2"}.fa-vimeo-v:before{content:"\\f27d"}.fa-contao:before{content:"\\f26d"}.fa-square-font-awesome:before{content:"\\e5ad"}.fa-deskpro:before{content:"\\f38f"}.fa-brave:before{content:"\\e63c"}.fa-sistrix:before{content:"\\f3ee"}.fa-instagram-square:before,.fa-square-instagram:before{content:"\\e055"}.fa-battle-net:before{content:"\\f835"}.fa-the-red-yeti:before{content:"\\f69d"}.fa-hacker-news-square:before,.fa-square-hacker-news:before{content:"\\f3af"}.fa-edge:before{content:"\\f282"}.fa-threads:before{content:"\\e618"}.fa-napster:before{content:"\\f3d2"}.fa-snapchat-square:before,.fa-square-snapchat:before{content:"\\f2ad"}.fa-google-plus-g:before{content:"\\f0d5"}.fa-artstation:before{content:"\\f77a"}.fa-markdown:before{content:"\\f60f"}.fa-sourcetree:before{content:"\\f7d3"}.fa-google-plus:before{content:"\\f2b3"}.fa-diaspora:before{content:"\\f791"}.fa-foursquare:before{content:"\\f180"}.fa-stack-overflow:before{content:"\\f16c"}.fa-github-alt:before{content:"\\f113"}.fa-phoenix-squadron:before{content:"\\f511"}.fa-pagelines:before{content:"\\f18c"}.fa-algolia:before{content:"\\f36c"}.fa-red-river:before{content:"\\f3e3"}.fa-creative-commons-sa:before{content:"\\f4ef"}.fa-safari:before{content:"\\f267"}.fa-google:before{content:"\\f1a0"}.fa-font-awesome-alt:before,.fa-square-font-awesome-stroke:before{content:"\\f35c"}.fa-atlassian:before{content:"\\f77b"}.fa-linkedin-in:before{content:"\\f0e1"}.fa-digital-ocean:before{content:"\\f391"}.fa-nimblr:before{content:"\\f5a8"}.fa-chromecast:before{content:"\\f838"}.fa-evernote:before{content:"\\f839"}.fa-hacker-news:before{content:"\\f1d4"}.fa-creative-commons-sampling:before{content:"\\f4f0"}.fa-adversal:before{content:"\\f36a"}.fa-creative-commons:before{content:"\\f25e"}.fa-watchman-monitoring:before{content:"\\e087"}.fa-fonticons:before{content:"\\f280"}.fa-weixin:before{content:"\\f1d7"}.fa-shirtsinbulk:before{content:"\\f214"}.fa-codepen:before{content:"\\f1cb"}.fa-git-alt:before{content:"\\f841"}.fa-lyft:before{content:"\\f3c3"}.fa-rev:before{content:"\\f5b2"}.fa-windows:before{content:"\\f17a"}.fa-wizards-of-the-coast:before{content:"\\f730"}.fa-square-viadeo:before,.fa-viadeo-square:before{content:"\\f2aa"}.fa-meetup:before{content:"\\f2e0"}.fa-centos:before{content:"\\f789"}.fa-adn:before{content:"\\f170"}.fa-cloudsmith:before{content:"\\f384"}.fa-opensuse:before{content:"\\e62b"}.fa-pied-piper-alt:before{content:"\\f1a8"}.fa-dribbble-square:before,.fa-square-dribbble:before{content:"\\f397"}.fa-codiepie:before{content:"\\f284"}.fa-node:before{content:"\\f419"}.fa-mix:before{content:"\\f3cb"}.fa-steam:before{content:"\\f1b6"}.fa-cc-apple-pay:before{content:"\\f416"}.fa-scribd:before{content:"\\f28a"}.fa-debian:before{content:"\\e60b"}.fa-openid:before{content:"\\f19b"}.fa-instalod:before{content:"\\e081"}.fa-expeditedssl:before{content:"\\f23e"}.fa-sellcast:before{content:"\\f2da"}.fa-square-twitter:before,.fa-twitter-square:before{content:"\\f081"}.fa-r-project:before{content:"\\f4f7"}.fa-delicious:before{content:"\\f1a5"}.fa-freebsd:before{content:"\\f3a4"}.fa-vuejs:before{content:"\\f41f"}.fa-accusoft:before{content:"\\f369"}.fa-ioxhost:before{content:"\\f208"}.fa-fonticons-fi:before{content:"\\f3a2"}.fa-app-store:before{content:"\\f36f"}.fa-cc-mastercard:before{content:"\\f1f1"}.fa-itunes-note:before{content:"\\f3b5"}.fa-golang:before{content:"\\e40f"}.fa-kickstarter:before{content:"\\f3bb"}.fa-grav:before{content:"\\f2d6"}.fa-weibo:before{content:"\\f18a"}.fa-uncharted:before{content:"\\e084"}.fa-firstdraft:before{content:"\\f3a1"}.fa-square-youtube:before,.fa-youtube-square:before{content:"\\f431"}.fa-wikipedia-w:before{content:"\\f266"}.fa-rendact:before,.fa-wpressr:before{content:"\\f3e4"}.fa-angellist:before{content:"\\f209"}.fa-galactic-republic:before{content:"\\f50c"}.fa-nfc-directional:before{content:"\\e530"}.fa-skype:before{content:"\\f17e"}.fa-joget:before{content:"\\f3b7"}.fa-fedora:before{content:"\\f798"}.fa-stripe-s:before{content:"\\f42a"}.fa-meta:before{content:"\\e49b"}.fa-laravel:before{content:"\\f3bd"}.fa-hotjar:before{content:"\\f3b1"}.fa-bluetooth-b:before{content:"\\f294"}.fa-square-letterboxd:before{content:"\\e62e"}.fa-sticker-mule:before{content:"\\f3f7"}.fa-creative-commons-zero:before{content:"\\f4f3"}.fa-hips:before{content:"\\f452"}.fa-behance:before{content:"\\f1b4"}.fa-reddit:before{content:"\\f1a1"}.fa-discord:before{content:"\\f392"}.fa-chrome:before{content:"\\f268"}.fa-app-store-ios:before{content:"\\f370"}.fa-cc-discover:before{content:"\\f1f2"}.fa-wpbeginner:before{content:"\\f297"}.fa-confluence:before{content:"\\f78d"}.fa-shoelace:before{content:"\\e60c"}.fa-mdb:before{content:"\\f8ca"}.fa-dochub:before{content:"\\f394"}.fa-accessible-icon:before{content:"\\f368"}.fa-ebay:before{content:"\\f4f4"}.fa-amazon:before{content:"\\f270"}.fa-unsplash:before{content:"\\e07c"}.fa-yarn:before{content:"\\f7e3"}.fa-square-steam:before,.fa-steam-square:before{content:"\\f1b7"}.fa-500px:before{content:"\\f26e"}.fa-square-vimeo:before,.fa-vimeo-square:before{content:"\\f194"}.fa-asymmetrik:before{content:"\\f372"}.fa-font-awesome-flag:before,.fa-font-awesome-logo-full:before,.fa-font-awesome:before{content:"\\f2b4"}.fa-gratipay:before{content:"\\f184"}.fa-apple:before{content:"\\f179"}.fa-hive:before{content:"\\e07f"}.fa-gitkraken:before{content:"\\f3a6"}.fa-keybase:before{content:"\\f4f5"}.fa-apple-pay:before{content:"\\f415"}.fa-padlet:before{content:"\\e4a0"}.fa-amazon-pay:before{content:"\\f42c"}.fa-github-square:before,.fa-square-github:before{content:"\\f092"}.fa-stumbleupon:before{content:"\\f1a4"}.fa-fedex:before{content:"\\f797"}.fa-phoenix-framework:before{content:"\\f3dc"}.fa-shopify:before{content:"\\e057"}.fa-neos:before{content:"\\f612"}.fa-square-threads:before{content:"\\e619"}.fa-hackerrank:before{content:"\\f5f7"}.fa-researchgate:before{content:"\\f4f8"}.fa-swift:before{content:"\\f8e1"}.fa-angular:before{content:"\\f420"}.fa-speakap:before{content:"\\f3f3"}.fa-angrycreative:before{content:"\\f36e"}.fa-y-combinator:before{content:"\\f23b"}.fa-empire:before{content:"\\f1d1"}.fa-envira:before{content:"\\f299"}.fa-google-scholar:before{content:"\\e63b"}.fa-gitlab-square:before,.fa-square-gitlab:before{content:"\\e5ae"}.fa-studiovinari:before{content:"\\f3f8"}.fa-pied-piper:before{content:"\\f2ae"}.fa-wordpress:before{content:"\\f19a"}.fa-product-hunt:before{content:"\\f288"}.fa-firefox:before{content:"\\f269"}.fa-linode:before{content:"\\f2b8"}.fa-goodreads:before{content:"\\f3a8"}.fa-odnoklassniki-square:before,.fa-square-odnoklassniki:before{content:"\\f264"}.fa-jsfiddle:before{content:"\\f1cc"}.fa-sith:before{content:"\\f512"}.fa-themeisle:before{content:"\\f2b2"}.fa-page4:before{content:"\\f3d7"}.fa-hashnode:before{content:"\\e499"}.fa-react:before{content:"\\f41b"}.fa-cc-paypal:before{content:"\\f1f4"}.fa-squarespace:before{content:"\\f5be"}.fa-cc-stripe:before{content:"\\f1f5"}.fa-creative-commons-share:before{content:"\\f4f2"}.fa-bitcoin:before{content:"\\f379"}.fa-keycdn:before{content:"\\f3ba"}.fa-opera:before{content:"\\f26a"}.fa-itch-io:before{content:"\\f83a"}.fa-umbraco:before{content:"\\f8e8"}.fa-galactic-senate:before{content:"\\f50d"}.fa-ubuntu:before{content:"\\f7df"}.fa-draft2digital:before{content:"\\f396"}.fa-stripe:before{content:"\\f429"}.fa-houzz:before{content:"\\f27c"}.fa-gg:before{content:"\\f260"}.fa-dhl:before{content:"\\f790"}.fa-pinterest-square:before,.fa-square-pinterest:before{content:"\\f0d3"}.fa-xing:before{content:"\\f168"}.fa-blackberry:before{content:"\\f37b"}.fa-creative-commons-pd:before{content:"\\f4ec"}.fa-playstation:before{content:"\\f3df"}.fa-quinscape:before{content:"\\f459"}.fa-less:before{content:"\\f41d"}.fa-blogger-b:before{content:"\\f37d"}.fa-opencart:before{content:"\\f23d"}.fa-vine:before{content:"\\f1ca"}.fa-signal-messenger:before{content:"\\e663"}.fa-paypal:before{content:"\\f1ed"}.fa-gitlab:before{content:"\\f296"}.fa-typo3:before{content:"\\f42b"}.fa-reddit-alien:before{content:"\\f281"}.fa-yahoo:before{content:"\\f19e"}.fa-dailymotion:before{content:"\\e052"}.fa-affiliatetheme:before{content:"\\f36b"}.fa-pied-piper-pp:before{content:"\\f1a7"}.fa-bootstrap:before{content:"\\f836"}.fa-odnoklassniki:before{content:"\\f263"}.fa-nfc-symbol:before{content:"\\e531"}.fa-mintbit:before{content:"\\e62f"}.fa-ethereum:before{content:"\\f42e"}.fa-speaker-deck:before{content:"\\f83c"}.fa-creative-commons-nc-eu:before{content:"\\f4e9"}.fa-patreon:before{content:"\\f3d9"}.fa-avianex:before{content:"\\f374"}.fa-ello:before{content:"\\f5f1"}.fa-gofore:before{content:"\\f3a7"}.fa-bimobject:before{content:"\\f378"}.fa-brave-reverse:before{content:"\\e63d"}.fa-facebook-f:before{content:"\\f39e"}.fa-google-plus-square:before,.fa-square-google-plus:before{content:"\\f0d4"}.fa-mandalorian:before{content:"\\f50f"}.fa-first-order-alt:before{content:"\\f50a"}.fa-osi:before{content:"\\f41a"}.fa-google-wallet:before{content:"\\f1ee"}.fa-d-and-d-beyond:before{content:"\\f6ca"}.fa-periscope:before{content:"\\f3da"}.fa-fulcrum:before{content:"\\f50b"}.fa-cloudscale:before{content:"\\f383"}.fa-forumbee:before{content:"\\f211"}.fa-mizuni:before{content:"\\f3cc"}.fa-schlix:before{content:"\\f3ea"}.fa-square-xing:before,.fa-xing-square:before{content:"\\f169"}.fa-bandcamp:before{content:"\\f2d5"}.fa-wpforms:before{content:"\\f298"}.fa-cloudversify:before{content:"\\f385"}.fa-usps:before{content:"\\f7e1"}.fa-megaport:before{content:"\\f5a3"}.fa-magento:before{content:"\\f3c4"}.fa-spotify:before{content:"\\f1bc"}.fa-optin-monster:before{content:"\\f23c"}.fa-fly:before{content:"\\f417"}.fa-aviato:before{content:"\\f421"}.fa-itunes:before{content:"\\f3b4"}.fa-cuttlefish:before{content:"\\f38c"}.fa-blogger:before{content:"\\f37c"}.fa-flickr:before{content:"\\f16e"}.fa-viber:before{content:"\\f409"}.fa-soundcloud:before{content:"\\f1be"}.fa-digg:before{content:"\\f1a6"}.fa-tencent-weibo:before{content:"\\f1d5"}.fa-letterboxd:before{content:"\\e62d"}.fa-symfony:before{content:"\\f83d"}.fa-maxcdn:before{content:"\\f136"}.fa-etsy:before{content:"\\f2d7"}.fa-facebook-messenger:before{content:"\\f39f"}.fa-audible:before{content:"\\f373"}.fa-think-peaks:before{content:"\\f731"}.fa-bilibili:before{content:"\\e3d9"}.fa-erlang:before{content:"\\f39d"}.fa-x-twitter:before{content:"\\e61b"}.fa-cotton-bureau:before{content:"\\f89e"}.fa-dashcube:before{content:"\\f210"}.fa-42-group:before,.fa-innosoft:before{content:"\\e080"}.fa-stack-exchange:before{content:"\\f18d"}.fa-elementor:before{content:"\\f430"}.fa-pied-piper-square:before,.fa-square-pied-piper:before{content:"\\e01e"}.fa-creative-commons-nd:before{content:"\\f4eb"}.fa-palfed:before{content:"\\f3d8"}.fa-superpowers:before{content:"\\f2dd"}.fa-resolving:before{content:"\\f3e7"}.fa-xbox:before{content:"\\f412"}.fa-searchengin:before{content:"\\f3eb"}.fa-tiktok:before{content:"\\e07b"}.fa-facebook-square:before,.fa-square-facebook:before{content:"\\f082"}.fa-renren:before{content:"\\f18b"}.fa-linux:before{content:"\\f17c"}.fa-glide:before{content:"\\f2a5"}.fa-linkedin:before{content:"\\f08c"}.fa-hubspot:before{content:"\\f3b2"}.fa-deploydog:before{content:"\\f38e"}.fa-twitch:before{content:"\\f1e8"}.fa-ravelry:before{content:"\\f2d9"}.fa-mixer:before{content:"\\e056"}.fa-lastfm-square:before,.fa-square-lastfm:before{content:"\\f203"}.fa-vimeo:before{content:"\\f40a"}.fa-mendeley:before{content:"\\f7b3"}.fa-uniregistry:before{content:"\\f404"}.fa-figma:before{content:"\\f799"}.fa-creative-commons-remix:before{content:"\\f4ee"}.fa-cc-amazon-pay:before{content:"\\f42d"}.fa-dropbox:before{content:"\\f16b"}.fa-instagram:before{content:"\\f16d"}.fa-cmplid:before{content:"\\e360"}.fa-upwork:before{content:"\\e641"}.fa-facebook:before{content:"\\f09a"}.fa-gripfire:before{content:"\\f3ac"}.fa-jedi-order:before{content:"\\f50e"}.fa-uikit:before{content:"\\f403"}.fa-fort-awesome-alt:before{content:"\\f3a3"}.fa-phabricator:before{content:"\\f3db"}.fa-ussunnah:before{content:"\\f407"}.fa-earlybirds:before{content:"\\f39a"}.fa-trade-federation:before{content:"\\f513"}.fa-autoprefixer:before{content:"\\f41c"}.fa-whatsapp:before{content:"\\f232"}.fa-slideshare:before{content:"\\f1e7"}.fa-google-play:before{content:"\\f3ab"}.fa-viadeo:before{content:"\\f2a9"}.fa-line:before{content:"\\f3c0"}.fa-google-drive:before{content:"\\f3aa"}.fa-servicestack:before{content:"\\f3ec"}.fa-simplybuilt:before{content:"\\f215"}.fa-bitbucket:before{content:"\\f171"}.fa-imdb:before{content:"\\f2d8"}.fa-deezer:before{content:"\\e077"}.fa-raspberry-pi:before{content:"\\f7bb"}.fa-jira:before{content:"\\f7b1"}.fa-docker:before{content:"\\f395"}.fa-screenpal:before{content:"\\e570"}.fa-bluetooth:before{content:"\\f293"}.fa-gitter:before{content:"\\f426"}.fa-d-and-d:before{content:"\\f38d"}.fa-microblog:before{content:"\\e01a"}.fa-cc-diners-club:before{content:"\\f24c"}.fa-gg-circle:before{content:"\\f261"}.fa-pied-piper-hat:before{content:"\\f4e5"}.fa-kickstarter-k:before{content:"\\f3bc"}.fa-yandex:before{content:"\\f413"}.fa-readme:before{content:"\\f4d5"}.fa-html5:before{content:"\\f13b"}.fa-sellsy:before{content:"\\f213"}.fa-sass:before{content:"\\f41e"}.fa-wirsindhandwerk:before,.fa-wsh:before{content:"\\e2d0"}.fa-buromobelexperte:before{content:"\\f37f"}.fa-salesforce:before{content:"\\f83b"}.fa-octopus-deploy:before{content:"\\e082"}.fa-medapps:before{content:"\\f3c6"}.fa-ns8:before{content:"\\f3d5"}.fa-pinterest-p:before{content:"\\f231"}.fa-apper:before{content:"\\f371"}.fa-fort-awesome:before{content:"\\f286"}.fa-waze:before{content:"\\f83f"}.fa-cc-jcb:before{content:"\\f24b"}.fa-snapchat-ghost:before,.fa-snapchat:before{content:"\\f2ab"}.fa-fantasy-flight-games:before{content:"\\f6dc"}.fa-rust:before{content:"\\e07a"}.fa-wix:before{content:"\\f5cf"}.fa-behance-square:before,.fa-square-behance:before{content:"\\f1b5"}.fa-supple:before{content:"\\f3f9"}.fa-webflow:before{content:"\\e65c"}.fa-rebel:before{content:"\\f1d0"}.fa-css3:before{content:"\\f13c"}.fa-staylinked:before{content:"\\f3f5"}.fa-kaggle:before{content:"\\f5fa"}.fa-space-awesome:before{content:"\\e5ac"}.fa-deviantart:before{content:"\\f1bd"}.fa-cpanel:before{content:"\\f388"}.fa-goodreads-g:before{content:"\\f3a9"}.fa-git-square:before,.fa-square-git:before{content:"\\f1d2"}.fa-square-tumblr:before,.fa-tumblr-square:before{content:"\\f174"}.fa-trello:before{content:"\\f181"}.fa-creative-commons-nc-jp:before{content:"\\f4ea"}.fa-get-pocket:before{content:"\\f265"}.fa-perbyte:before{content:"\\e083"}.fa-grunt:before{content:"\\f3ad"}.fa-weebly:before{content:"\\f5cc"}.fa-connectdevelop:before{content:"\\f20e"}.fa-leanpub:before{content:"\\f212"}.fa-black-tie:before{content:"\\f27e"}.fa-themeco:before{content:"\\f5c6"}.fa-python:before{content:"\\f3e2"}.fa-android:before{content:"\\f17b"}.fa-bots:before{content:"\\e340"}.fa-free-code-camp:before{content:"\\f2c5"}.fa-hornbill:before{content:"\\f592"}.fa-js:before{content:"\\f3b8"}.fa-ideal:before{content:"\\e013"}.fa-git:before{content:"\\f1d3"}.fa-dev:before{content:"\\f6cc"}.fa-sketch:before{content:"\\f7c6"}.fa-yandex-international:before{content:"\\f414"}.fa-cc-amex:before{content:"\\f1f3"}.fa-uber:before{content:"\\f402"}.fa-github:before{content:"\\f09b"}.fa-php:before{content:"\\f457"}.fa-alipay:before{content:"\\f642"}.fa-youtube:before{content:"\\f167"}.fa-skyatlas:before{content:"\\f216"}.fa-firefox-browser:before{content:"\\e007"}.fa-replyd:before{content:"\\f3e6"}.fa-suse:before{content:"\\f7d6"}.fa-jenkins:before{content:"\\f3b6"}.fa-twitter:before{content:"\\f099"}.fa-rockrms:before{content:"\\f3e9"}.fa-pinterest:before{content:"\\f0d2"}.fa-buffer:before{content:"\\f837"}.fa-npm:before{content:"\\f3d4"}.fa-yammer:before{content:"\\f840"}.fa-btc:before{content:"\\f15a"}.fa-dribbble:before{content:"\\f17d"}.fa-stumbleupon-circle:before{content:"\\f1a3"}.fa-internet-explorer:before{content:"\\f26b"}.fa-stubber:before{content:"\\e5c7"}.fa-telegram-plane:before,.fa-telegram:before{content:"\\f2c6"}.fa-old-republic:before{content:"\\f510"}.fa-odysee:before{content:"\\e5c6"}.fa-square-whatsapp:before,.fa-whatsapp-square:before{content:"\\f40c"}.fa-node-js:before{content:"\\f3d3"}.fa-edge-legacy:before{content:"\\e078"}.fa-slack-hash:before,.fa-slack:before{content:"\\f198"}.fa-medrt:before{content:"\\f3c8"}.fa-usb:before{content:"\\f287"}.fa-tumblr:before{content:"\\f173"}.fa-vaadin:before{content:"\\f408"}.fa-quora:before{content:"\\f2c4"}.fa-square-x-twitter:before{content:"\\e61a"}.fa-reacteurope:before{content:"\\f75d"}.fa-medium-m:before,.fa-medium:before{content:"\\f23a"}.fa-amilia:before{content:"\\f36d"}.fa-mixcloud:before{content:"\\f289"}.fa-flipboard:before{content:"\\f44d"}.fa-viacoin:before{content:"\\f237"}.fa-critical-role:before{content:"\\f6c9"}.fa-sitrox:before{content:"\\e44a"}.fa-discourse:before{content:"\\f393"}.fa-joomla:before{content:"\\f1aa"}.fa-mastodon:before{content:"\\f4f6"}.fa-airbnb:before{content:"\\f834"}.fa-wolf-pack-battalion:before{content:"\\f514"}.fa-buy-n-large:before{content:"\\f8a6"}.fa-gulp:before{content:"\\f3ae"}.fa-creative-commons-sampling-plus:before{content:"\\f4f1"}.fa-strava:before{content:"\\f428"}.fa-ember:before{content:"\\f423"}.fa-canadian-maple-leaf:before{content:"\\f785"}.fa-teamspeak:before{content:"\\f4f9"}.fa-pushed:before{content:"\\f3e1"}.fa-wordpress-simple:before{content:"\\f411"}.fa-nutritionix:before{content:"\\f3d6"}.fa-wodu:before{content:"\\e088"}.fa-google-pay:before{content:"\\e079"}.fa-intercom:before{content:"\\f7af"}.fa-zhihu:before{content:"\\f63f"}.fa-korvue:before{content:"\\f42f"}.fa-pix:before{content:"\\e43a"}.fa-steam-symbol:before{content:"\\f3f6"}:host,:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.ttf) format("truetype")}.fa-regular,.far{font-weight:400}:host,:root{--fa-style-family-classic:"Font Awesome 6 Free";--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.ttf) format("truetype")}.fa-solid,.fas{font-weight:900}@font-face{font-family:"Font Awesome 5 Brands";font-display:block;font-weight:400;src:url(../webfonts/fa-brands-400.woff2) format("woff2"), url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:900;src:url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"Font Awesome 5 Free";font-display:block;font-weight:400;src:url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-solid-900.woff2) format("woff2"), url(../webfonts/fa-solid-900.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-brands-400.woff2) format("woff2"), url(../webfonts/fa-brands-400.ttf) format("truetype")}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-regular-400.woff2) format("woff2"), url(../webfonts/fa-regular-400.ttf) format("truetype");unicode-range:u+f003, u+f006, u+f014, u+f016-f017, u+f01a-f01b, u+f01d, u+f022, u+f03e, u+f044, u+f046, u+f05c-f05d, u+f06e, u+f070, u+f087-f088, u+f08a, u+f094, u+f096-f097, u+f09d, u+f0a0, u+f0a2, u+f0a4-f0a7, u+f0c5, u+f0c7, u+f0e5-f0e6, u+f0eb, u+f0f6-f0f8, u+f10c, u+f114-f115, u+f118-f11a, u+f11c-f11d, u+f133, u+f147, u+f14e, u+f150-f152, u+f185-f186, u+f18e, u+f190-f192, u+f196, u+f1c1-f1c9, u+f1d9, u+f1db, u+f1e3, u+f1ea, u+f1f7, u+f1f9, u+f20a, u+f247-f248, u+f24a, u+f24d, u+f255-f25b, u+f25d, u+f271-f274, u+f278, u+f27b, u+f28c, u+f28e, u+f29c, u+f2b5, u+f2b7, u+f2ba, u+f2bc, u+f2be, u+f2c0-f2c1, u+f2c3, u+f2d0, u+f2d2, u+f2d4, u+f2dc}@font-face{font-family:"FontAwesome";font-display:block;src:url(../webfonts/fa-v4compatibility.woff2) format("woff2"), url(../webfonts/fa-v4compatibility.ttf) format("truetype");unicode-range:u+f041, u+f047, u+f065-f066, u+f07d-f07e, u+f080, u+f08b, u+f08e, u+f090, u+f09a, u+f0ac, u+f0ae, u+f0b2, u+f0d0, u+f0d6, u+f0e4, u+f0ec, u+f10a-f10b, u+f123, u+f13e, u+f148-f149, u+f14c, u+f156, u+f15e, u+f160-f161, u+f163, u+f175-f178, u+f195, u+f1f8, u+f219, u+f27a}:host .gcds-icon{font-family:var(--gcds-icon-font-family);font-size:inherit;line-height:inherit;color:inherit;}:host .gcds-icon.ml-0{margin-inline-start:var(--gcds-icon-margin-0)}:host .gcds-icon.ml-25{margin-inline-start:var(--gcds-icon-margin-25)}:host .gcds-icon.ml-50{margin-inline-start:var(--gcds-icon-margin-50)}:host .gcds-icon.ml-75{margin-inline-start:var(--gcds-icon-margin-75)}:host .gcds-icon.ml-100{margin-inline-start:var(--gcds-icon-margin-100)}:host .gcds-icon.ml-125{margin-inline-start:var(--gcds-icon-margin-125)}:host .gcds-icon.ml-150{margin-inline-start:var(--gcds-icon-margin-150)}:host .gcds-icon.ml-175{margin-inline-start:var(--gcds-icon-margin-175)}:host .gcds-icon.ml-200{margin-inline-start:var(--gcds-icon-margin-200)}:host .gcds-icon.ml-225{margin-inline-start:var(--gcds-icon-margin-225)}:host .gcds-icon.ml-250{margin-inline-start:var(--gcds-icon-margin-250)}:host .gcds-icon.ml-300{margin-inline-start:var(--gcds-icon-margin-300)}:host .gcds-icon.ml-350{margin-inline-start:var(--gcds-icon-margin-350)}:host .gcds-icon.ml-400{margin-inline-start:var(--gcds-icon-margin-400)}:host .gcds-icon.ml-450{margin-inline-start:var(--gcds-icon-margin-450)}:host .gcds-icon.ml-500{margin-inline-start:var(--gcds-icon-margin-500)}:host .gcds-icon.ml-550{margin-inline-start:var(--gcds-icon-margin-550)}:host .gcds-icon.ml-600{margin-inline-start:var(--gcds-icon-margin-600)}:host .gcds-icon.ml-650{margin-inline-start:var(--gcds-icon-margin-650)}:host .gcds-icon.ml-700{margin-inline-start:var(--gcds-icon-margin-700)}:host .gcds-icon.ml-750{margin-inline-start:var(--gcds-icon-margin-750)}:host .gcds-icon.ml-800{margin-inline-start:var(--gcds-icon-margin-800)}:host .gcds-icon.ml-850{margin-inline-start:var(--gcds-icon-margin-850)}:host .gcds-icon.ml-900{margin-inline-start:var(--gcds-icon-margin-900)}:host .gcds-icon.ml-950{margin-inline-start:var(--gcds-icon-margin-950)}:host .gcds-icon.ml-1000{margin-inline-start:var(--gcds-icon-margin-1000)}:host .gcds-icon.ml-1050{margin-inline-start:var(--gcds-icon-margin-1050)}:host .gcds-icon.ml-1100{margin-inline-start:var(--gcds-icon-margin-1100)}:host .gcds-icon.ml-1150{margin-inline-start:var(--gcds-icon-margin-1150)}:host .gcds-icon.ml-1200{margin-inline-start:var(--gcds-icon-margin-1200)}:host .gcds-icon.ml-1250{margin-inline-start:var(--gcds-icon-margin-1250)}:host .gcds-icon.mr-0{margin-inline-end:var(--gcds-icon-margin-0)}:host .gcds-icon.mr-25{margin-inline-end:var(--gcds-icon-margin-25)}:host .gcds-icon.mr-50{margin-inline-end:var(--gcds-icon-margin-50)}:host .gcds-icon.mr-75{margin-inline-end:var(--gcds-icon-margin-75)}:host .gcds-icon.mr-100{margin-inline-end:var(--gcds-icon-margin-100)}:host .gcds-icon.mr-125{margin-inline-end:var(--gcds-icon-margin-125)}:host .gcds-icon.mr-150{margin-inline-end:var(--gcds-icon-margin-150)}:host .gcds-icon.mr-175{margin-inline-end:var(--gcds-icon-margin-175)}:host .gcds-icon.mr-200{margin-inline-end:var(--gcds-icon-margin-200)}:host .gcds-icon.mr-225{margin-inline-end:var(--gcds-icon-margin-225)}:host .gcds-icon.mr-250{margin-inline-end:var(--gcds-icon-margin-250)}:host .gcds-icon.mr-300{margin-inline-end:var(--gcds-icon-margin-300)}:host .gcds-icon.mr-350{margin-inline-end:var(--gcds-icon-margin-350)}:host .gcds-icon.mr-400{margin-inline-end:var(--gcds-icon-margin-400)}:host .gcds-icon.mr-450{margin-inline-end:var(--gcds-icon-margin-450)}:host .gcds-icon.mr-500{margin-inline-end:var(--gcds-icon-margin-500)}:host .gcds-icon.mr-550{margin-inline-end:var(--gcds-icon-margin-550)}:host .gcds-icon.mr-600{margin-inline-end:var(--gcds-icon-margin-600)}:host .gcds-icon.mr-650{margin-inline-end:var(--gcds-icon-margin-650)}:host .gcds-icon.mr-700{margin-inline-end:var(--gcds-icon-margin-700)}:host .gcds-icon.mr-750{margin-inline-end:var(--gcds-icon-margin-750)}:host .gcds-icon.mr-800{margin-inline-end:var(--gcds-icon-margin-800)}:host .gcds-icon.mr-850{margin-inline-end:var(--gcds-icon-margin-850)}:host .gcds-icon.mr-900{margin-inline-end:var(--gcds-icon-margin-900)}:host .gcds-icon.mr-950{margin-inline-end:var(--gcds-icon-margin-950)}:host .gcds-icon.mr-1000{margin-inline-end:var(--gcds-icon-margin-1000)}:host .gcds-icon.mr-1050{margin-inline-end:var(--gcds-icon-margin-1050)}:host .gcds-icon.mr-1100{margin-inline-end:var(--gcds-icon-margin-1100)}:host .gcds-icon.mr-1150{margin-inline-end:var(--gcds-icon-margin-1150)}:host .gcds-icon.mr-1200{margin-inline-end:var(--gcds-icon-margin-1200)}:host .gcds-icon.mr-1250{margin-inline-end:var(--gcds-icon-margin-1250)}:host .gcds-icon.fixed-width{text-align:center}:host .gcds-icon.size-text-small.fixed-width{width:calc(var(--gcds-icon-fixed-width-text-small) * 1em)}:host .gcds-icon.size-text.fixed-width{width:calc(var(--gcds-icon-fixed-width-text) * 1em)}:host .gcds-icon.size-h6.fixed-width{width:calc(var(--gcds-icon-fixed-width-h6) * 1em)}:host .gcds-icon.size-h5.fixed-width{width:calc(var(--gcds-icon-fixed-width-h5) * 1em)}:host .gcds-icon.size-h4.fixed-width{width:calc(var(--gcds-icon-fixed-width-h4) * 1em)}:host .gcds-icon.size-h3.fixed-width{width:calc(var(--gcds-icon-fixed-width-h3) * 1em)}:host .gcds-icon.size-h2.fixed-width{width:calc(var(--gcds-icon-fixed-width-h2) * 1em)}:host .gcds-icon.size-h1.fixed-width{width:calc(var(--gcds-icon-fixed-width-h1) * 1em)}:host .gcds-icon.size-text-small{font-size:var(--gcds-icon-font-size-text-small);line-height:var(--gcds-icon-line-height-text-small)}:host .gcds-icon.size-text{font-size:var(--gcds-icon-font-size-text);line-height:var(--gcds-icon-line-height-text)}:host .gcds-icon.size-h6{font-size:var(--gcds-icon-font-size-h6);line-height:var(--gcds-icon-line-height-h6)}:host .gcds-icon.size-h5{font-size:var(--gcds-icon-font-size-h5);line-height:var(--gcds-icon-line-height-h5)}:host .gcds-icon.size-h4{font-size:var(--gcds-icon-font-size-h4);line-height:var(--gcds-icon-line-height-h4)}:host .gcds-icon.size-h3{font-size:var(--gcds-icon-font-size-h3);line-height:var(--gcds-icon-line-height-h3)}:host .gcds-icon.size-h2{font-size:var(--gcds-icon-font-size-h2);line-height:var(--gcds-icon-line-height-h2)}:host .gcds-icon.size-h1{font-size:var(--gcds-icon-font-size-h1);line-height:var(--gcds-icon-line-height-h1)}';const GcdsInput=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.onBlur=()=>{"blur"==this.validateOn&&this.validate(),this.gcdsBlur.emit()},this.handleInput=(e,customEvent)=>{const val=e.target&&e.target.value;if(this.value=val,this.internals.setFormValue(val||null),"change"===e.type){const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)}customEvent.emit(this.value)},this.disabled=!1,this.errorMessage=void 0,this.hideLabel=!1,this.hint=void 0,this.inputId=void 0,this.name=void 0,this.label=void 0,this.required=!1,this.size=void 0,this.type="text",this.value=void 0,this.autocomplete=void 0,this.validator=void 0,this.validateOn=void 0,this.inheritedAttributes={},this.hasError=void 0,this.lang=void 0}validateDisabledInput(){this.required&&(this.disabled=!1)}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}validateHasError(){this.disabled&&(this.hasError=!1)}ariaInvalidWatcher(){this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement,["placeholder"])}ariaDescriptiondWatcher(){this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement,["placeholder"])}async validate(){!this._validator.validate(this.value)&&this._validator.errorMessage?(this.errorMessage=this._validator.errorMessage[this.lang],this.gcdsError.emit({id:`#${this.inputId}`,message:`${this.label} - ${this.errorMessage}`})):(this.errorMessage="",this.gcdsValid.emit({id:`#${this.inputId}`}))}submitListener(e){e.target==this.el.closest("form")&&(this.validateOn&&"other"!=this.validateOn&&this.validate(),this.hasError&&"other"!=this.validateOn&&e.preventDefault())}keyDownListener(e){if(e.target==this.el&&"Enter"===e.key){const formButton=document.createElement("button");formButton.type="submit",formButton.style.display="none",this.el.closest("form").appendChild(formButton),formButton.click(),formButton.remove()}}formResetCallback(){this.value!=this.initialValue&&(this.internals.setFormValue(this.initialValue),this.value=this.initialValue)}formStateRestoreCallback(state){this.internals.setFormValue(state),this.value=state}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledInput(),this.validateHasError(),this.validateErrorMessage(),this.validateValidator(),requiredValidator(this.el,"input",this.type),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement,["placeholder"]),this.internals.setFormValue(this.value?this.value:null),this.initialValue=this.value?this.value:null}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{disabled,errorMessage,hideLabel,hint,inputId,name,label,required,size,type,value,hasError,autocomplete,inheritedAttributes,lang}=this,style={maxWidth:`calc(${2*size}ch + 1.5rem)`},attrsInput=Object.assign({disabled,required,type,value,autocomplete},inheritedAttributes),attrsLabel={label,required};if(hint||errorMessage){const hintID=hint?`hint-${inputId} `:"",errorID=errorMessage?`error-message-${inputId} `:"";attrsInput["aria-describedby"]=`${hintID}${errorID}${attrsInput["aria-describedby"]?` ${attrsInput["aria-describedby"]}`:""}`}return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"d9c49e1340c06410d98de32db1daadca9eea965c"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"9875d1410f94a25c8f3954b2f6edec56936d4cb2",class:`gcds-input-wrapper ${disabled?"gcds-disabled":""} ${hasError?"gcds-error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",Object.assign({key:"a4b06df9bc51070a59ae84b3417d6432342b61eb"},attrsLabel,{"hide-label":hideLabel,"label-for":inputId,lang})),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":inputId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:inputId},errorMessage):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("input",Object.assign({key:"a6a727f9d25f50365ba5658fff59695bdd597e78"},attrsInput,{class:hasError?"gcds-error":null,id:inputId,name,onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),onInput:e=>this.handleInput(e,this.gcdsInput),onChange:e=>this.handleInput(e,this.gcdsChange),"aria-labelledby":`label-for-${inputId}`,"aria-invalid":"true"===inheritedAttributes["aria-invalid"]?inheritedAttributes["aria-invalid"]:errorMessage?"true":"false",size,style:size?style:null,part:"input",ref:element=>this.shadowElement=element}))))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{disabled:["validateDisabledInput"],errorMessage:["validateErrorMessage"],validator:["validateValidator"],hasError:["validateHasError"],"aria-invalid":["ariaInvalidWatcher"],"aria-description":["ariaDescriptiondWatcher"]}}};GcdsInput.style="@layer reset, default, disabled, error, focus;@layer reset{:host{display:block}:host .gcds-input-wrapper{border:0;margin:0;padding:0}:host .gcds-input-wrapper input{box-sizing:border-box}}@layer default{:host .gcds-input-wrapper{color:var(--gcds-input-default-text);font:var(--gcds-input-font);max-width:75ch;transition:color .15s ease-in-out;width:100%}:host .gcds-input-wrapper input{background-color:var(--gcds-input-default-background);background-image:none;border:var(--gcds-input-border-width) solid;border-radius:var(--gcds-input-border-radius);color:var(--gcds-input-default-text);display:block;font:inherit!important;height:auto;margin:var(--gcds-input-margin)!important;max-width:100%;min-height:var(--gcds-input-min-width-and-height);min-width:var(--gcds-input-min-width-and-height);padding:var(--gcds-input-padding)!important;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,outline .15s ease-in-out;width:100%}:host .gcds-input-wrapper input[type=number]{-moz-appearance:textfield}:host .gcds-input-wrapper input[type=number]::-webkit-inner-spin-button,:host .gcds-input-wrapper input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none}}@layer disabled{:host .gcds-input-wrapper.gcds-disabled{color:var(--gcds-input-disabled-text)}:host .gcds-input-wrapper.gcds-disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-input-wrapper.gcds-disabled gcds-hint{--gcds-hint-text:currentColor}:host .gcds-input-wrapper.gcds-disabled input:disabled{background-color:var(--gcds-input-disabled-background);border-color:var(--gcds-input-disabled-text);cursor:not-allowed}}@layer error{:host .gcds-input-wrapper input.gcds-error:not(:focus){border-color:var(--gcds-input-danger-border)}}@layer focus{:host .gcds-input-wrapper:focus-within input:focus{border-color:var(--gcds-input-focus-border);box-shadow:var(--gcds-input-focus-box-shadow);outline:var(--gcds-input-outline-width) solid var(--gcds-input-focus-border);outline-offset:var(--gcds-input-border-width)}}";const I18N$c={en:{required:"required"},fr:{required:"obligatoire"}},GcdsLabel=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.onClick=ev=>{"GCDS-LABEL"==ev.srcElement.tagName&&this.clickEl()},this.hideLabel=void 0,this.label=void 0,this.labelFor=void 0,this.required=void 0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}clickEl(){this.focusEl&&this.focusEl.click()}render(){const{hideLabel,labelFor,label,required,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"2571828246ca42f80c10f9008ccbf9767b65e101",id:`label-for-${labelFor}`,onClick:this.onClick},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("label",{key:"66523fc42c2cdda0204dc8747ec9adf935b69466",htmlFor:labelFor,class:"gcds-label "+(hideLabel?"label--hidden":""),ref:focusEl=>this.focusEl=focusEl},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"6dd8fbc5012750873da600a1b2e2f20b193c7dc3"},label),required?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{"aria-hidden":"true",class:"label--required"},"(",I18N$c[lang].required,")"):null))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsLabel.style="@layer reset, default;@layer reset{.sc-gcds-label-h{display:block}}@layer default{.sc-gcds-label-h .gcds-label{color:var(--gcds-label-text);cursor:pointer;display:block;font:var(--gcds-label-font-desktop);margin:var(--gcds-label-margin)!important;max-width:100%}@media only screen and (width < 48em){.sc-gcds-label-h .gcds-label{font:var(--gcds-label-font-mobile)}}.sc-gcds-label-h .gcds-label.label--hidden{height:0;margin:0;opacity:0;overflow:hidden;width:0}.sc-gcds-label-h .gcds-label .label--required{font-weight:var(--gcds-label-required-font-weight);margin:var(--gcds-label-required-margin)!important}}";const I18N$b={en:{abbreviation:"fr",heading:"Language selection",language:"Français"},fr:{abbreviation:"en",heading:"Sélection de la langue",language:"English"}},GcdsLangToggle=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.href=void 0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{lang,href}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"eb21f31e07263f63e9e6bd81e03b7d69e7fc5c22"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"f259bdd2095c8fbec75ac4958192de54f1446efd",class:"gcds-lang-toggle"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"5f1c04d337fd5b8b190be3e9c5731f640b80f89c",id:"lang-toggle__heading",tag:"h2"},I18N$b[lang].heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-link",{key:"c0343104552957383ad0e0c06929cb7987f568b1",size:"regular",href,lang:I18N$b[lang].abbreviation},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"dbf125e2a0b95bcab90bc38ba8a508b18cdbe1a0"},I18N$b[lang].language),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("abbr",{key:"4959f73d060789b0666d0cae393833437c54de5c",title:I18N$b[lang].language},I18N$b[lang].abbreviation))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsLangToggle.style="@layer reset, default, desktop;@layer reset{:host{display:block}:host .gcds-lang-toggle h2{margin:0;overflow:hidden;position:absolute;width:0}}@layer default{:host .gcds-lang-toggle gcds-link::part(link){padding:var(--gcds-lang-toggle-padding)}:host .gcds-lang-toggle span{display:none}:host .gcds-lang-toggle abbr{text-decoration:none;text-transform:uppercase}}@layer desktop{@media screen and (width >= 64em){:host .gcds-lang-toggle gcds-link::part(link){padding:0}:host .gcds-lang-toggle span{display:initial}:host .gcds-lang-toggle abbr{display:none}}}";const I18N$a={en:{external:" (Opens destination in a new tab.)",phone:" (Attempts to open a phone app.)",download:" (Attempts to download a file to the device.)",email:" (Opens new message in email program.)"},fr:{external:" (Ouvre l'emplacement dans un nouvel onglet.)",phone:" (Tente d'ouvrir une application de téléphonie.)",download:" (Tente de télécharger un fichier sur l'appareil.)",email:" (Ouvre un nouveau message dans le logiciel de messagerie.)"}},GcdsLink=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.variant="default",this.size="inherit",this.display="inline",this.href=void 0,this.rel=void 0,this.target="_self",this.external=!1,this.download=void 0,this.type=void 0,this.inheritedAttributes={},this.lang=void 0}validateVariant(newValue){["default","light"].includes(newValue)||(this.variant="default")}validateSize(newValue){["regular","small","inherit"].includes(newValue)||(this.size="inherit")}validateDisplay(newValue){["block","inline"].includes(newValue)||(this.display="inline")}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}componentWillLoad(){this.validateVariant(this.variant),this.validateSize(this.size),this.validateDisplay(this.display),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement,["referrerpolicy"]),this.lang=assignLanguage(this.el),this.updateLang()}render(){const{size,lang,display,href,rel,target,external,download,type,inheritedAttributes,variant}=this,attrs={href,rel,target,download,type},isExternal="_blank"===target||external;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"2f5fa0130a3e0b19656292d58e0d703ba79c7f6e"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",Object.assign({key:"a6a4b271ec1a520db5f00f213a6a97246eb8eaa9",role:"link",tabIndex:0},attrs,{class:`gcds-link link--${size} ${"inline"!=display?`d-${display}`:""} ${"default"!=variant?`variant-${variant}`:""}`,ref:element=>this.shadowElement=element,target:isExternal?"_blank":target,rel:isExternal?"noopener noreferrer":rel},inheritedAttributes,{part:"link",onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>emitEvent(e,this.gcdsClick,href)}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"e5437f0d528b07e057630de5adb362bdae075567"}),"_blank"===target||external?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{name:"external-link",label:I18N$a[lang].external,"margin-left":"75"}):void 0!==download?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{name:"download",label:I18N$a[lang].download,"margin-left":"75"}):href&&href.toLowerCase().startsWith("mailto:")?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"icon-style":"regular",name:"envelope",label:I18N$a[lang].email,"margin-left":"75"}):href&&href.toLowerCase().startsWith("tel:")&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{name:"phone",label:I18N$a[lang].phone,"margin-left":"75"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{variant:["validateVariant"],size:["validateSize"],display:["validateDisplay"]}}};GcdsLink.style="@layer reset, default, display, size, variant, hover, visited, focus;@layer reset{:host{display:inline-block}:host slot{display:initial}}@layer default{:host .gcds-link{color:var(--gcds-link-default);cursor:pointer;text-decoration-color:currentColor;text-decoration-style:solid;text-decoration-thickness:var(--gcds-link-decoration-thickness);text-underline-offset:var(--gcds-link-underline-offset);transition:all .35s}}@layer display{:host .gcds-link.d-block{display:block}}@layer size{:host .gcds-link.link--small{font:var(--gcds-link-font-small-desktop)}@media only screen and (width < 48em){:host .gcds-link.link--small{font:var(--gcds-link-font-small-mobile)}}:host .gcds-link.link--regular{font:var(--gcds-link-font-regular-desktop)}@media only screen and (width < 48em){:host .gcds-link.link--regular{font:var(--gcds-link-font-regular-mobile)}}:host .gcds-link.link--inherit{font:inherit}}@layer variant{:host .gcds-link.variant-light{color:var(--gcds-link-light)}}@layer hover{@media (hover:hover){:host .gcds-link:hover{text-decoration-thickness:var(--gcds-link-hover-decoration-thickness)}:host .gcds-link:hover:not(.variant-light){color:var(--gcds-link-hover)}}}@layer visited{:host .gcds-link:not(.variant-light):visited{color:var(--gcds-link-visited)}}@layer focus{:host .gcds-link:focus{background-color:var(--gcds-link-focus-background);border-radius:var(--gcds-link-focus-border-radius);box-shadow:var(--gcds-link-focus-box-shadow);color:var(--gcds-link-focus-text);outline:var(--gcds-link-focus-outline-width) solid var(--gcds-link-focus-background);outline-offset:var(--gcds-link-focus-outline-offset);text-decoration:none}}";const GcdsNavGroup=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.closeTrigger=void 0,this.menuLabel=void 0,this.openTrigger=void 0,this.open=!1,this.lang=void 0,this.navStyle=void 0}async focusOutListener(e){e.target!==this.el&&!this.el.contains(e.target)||this.el.contains(e.relatedTarget)||"dropdown"!==this.navStyle||!this.open||setTimeout((()=>this.toggleNav()),200)}async focusTrigger(){this.triggerElement.focus()}async toggleNav(){this.open=!this.open;for(let i=0;i{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),"GCDS-TOP-NAV"==this.el.parentNode.nodeName?(this.navStyle="dropdown",this.open&&(this.open=!1)):this.navStyle="expandable","GCDS-NAV-GROUP"==this.el.parentNode.nodeName&&!this.el.parentNode.classList.contains("gcds-mobile-nav")&&this.el.closest("gcds-top-nav")&&this.el.remove()}render(){const{closeTrigger,menuLabel,open,openTrigger}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"6fe3f6a06fea7b9c241677067db425025c270441",role:"listitem",open},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{key:"4feff5c93049102d984e060089f58abd1681da7e","aria-haspopup":"true","aria-expanded":open.toString(),ref:element=>this.triggerElement=element,class:`gcds-nav-group__trigger gcds-trigger--${this.navStyle}`,onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>{emitEvent(e,this.gcdsClick)&&this.toggleNav()}},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{key:"5016a068e5bab57d0798d0c0d2627c89ceeebc0e",name:open?"angle-up":"angle-down"}),closeTrigger&&open?closeTrigger:openTrigger),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"e819774f1293463901873c38362168ee885b43a0","aria-label":menuLabel,class:`gcds-nav-group__list gcds-nav--${this.navStyle}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"4b4074e7a73796c06f135f1b15fef1f6d110eb86"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsNavGroup.style="@layer reset, defaults, sideNav, topNav, mobileNav, desktop, mobile, hover, focus;@layer reset{:host *{box-sizing:border-box;margin:0;padding:0}}@layer defaults{:host{align-self:flex-end;display:flex;flex-direction:column;position:relative}:host .gcds-nav-group__trigger{align-items:center;background:transparent;border:0;color:var(--gcds-nav-group-trigger-text);cursor:pointer;display:flex;font:var(--gcds-nav-group-trigger-font);padding:var(--gcds-nav-group-trigger-padding);text-align:left;width:100%}:host .gcds-nav-group__trigger[aria-expanded=false]+.gcds-nav-group__list{display:none}:host .gcds-nav-group__trigger-desc{display:none}:host ul{list-style:none}}@layer sideNav{:host .gcds-trigger--expandable{font-weight:var(--gcds-nav-group-side-nav-trigger-font-weight);margin-block-end:var(--gcds-nav-group-side-nav-trigger-margin)}:host .gcds-trigger--expandable gcds-icon{margin-inline-end:var(--gcds-nav-group-side-nav-trigger-icon-margin)}}@layer topNav{:host .gcds-trigger--dropdown{border-block-end:var(--gcds-nav-group-top-nav-trigger-border-width) solid transparent;margin-inline-start:var(\n --gcds-nav-group-top-nav-trigger-margin-inline-start\n );padding:var(--gcds-nav-group-top-nav-trigger-padding);text-decoration:underline solid currentColor var(--gcds-nav-group-top-nav-trigger-decoration-thickness);text-decoration-color:transparent;text-underline-offset:var(\n --gcds-nav-group-top-nav-trigger-underline-offset\n );transition:all .25s ease-in-out}:host .gcds-trigger--dropdown[aria-expanded=true]{background-color:var(\n --gcds-nav-group-top-nav-trigger-expanded-background-color\n )}:host .gcds-trigger--dropdown gcds-icon{margin-inline-start:var(--gcds-nav-group-top-nav-trigger-icon-margin);order:2}}@layer mobileNav{:host(.gcds-mobile-nav){width:100%}:host(.gcds-mobile-nav) .gcds-trigger--expandable{border:var(--gcds-nav-group-mobile-trigger-border-width) solid;border-radius:var(--gcds-nav-group-mobile-trigger-border-radius);color:var(--gcds-nav-group-mobile-trigger-text);flex-direction:row-reverse;justify-content:center;margin-block-start:var(--gcds-nav-group-mobile-trigger-margin);text-align:center}:host(.gcds-mobile-nav) .gcds-trigger--expandable gcds-icon{display:none}:host([open].gcds-mobile-nav){background-color:var(--gcds-nav-group-mobile-background);height:100vh;left:0;overflow-y:scroll;padding:var(--gcds-nav-group-mobile-padding);position:fixed;top:0;width:100%;z-index:100}}@layer desktop{@media only screen and (width >= 64em){:host .gcds-nav-group__trigger{max-width:var(--gcds-nav-group-trigger-max-width)}:host .gcds-nav--expandable{padding-inline-start:var(--gcds-nav-group-side-nav-dropdown-padding)}:host .gcds-nav--dropdown{background-color:var(--gcds-nav-group-top-nav-dropdown-background);border-radius:var(--gcds-border-radius-md);box-shadow:var(--gcds-nav-group-top-nav-dropdown-box-shadow);margin-block-start:var(--gcds-spacing-200);padding:var(--gcds-nav-group-top-nav-dropdown-padding);position:absolute;top:100%;width:var(--gcds-nav-group-top-nav-dropdown-width);z-index:1}:host(.gcds-mobile-nav)>.gcds-nav--expandable{display:block;padding:0}:host(.gcds-mobile-nav) .gcds-trigger--expandable{display:none}:host(.gcds-mobile-nav-topnav)>.gcds-nav--expandable{display:flex}}@media only screen and (width >= 64em) and (width < 96em){:host .gcds-nav--dropdown{right:0}}}@layer mobile{@media only screen and (width < 64em){:host(.gcds-mobile-nav)>.gcds-nav--expandable{margin:var(--gcds-nav-group-mobile-list-margin)}:host([open]:not(.gcds-mobile-nav)) .gcds-nav-group__list{padding-inline-start:var(--gcds-nav-group-side-nav-dropdown-padding)}}@media only screen and (48em < width < 64em){:host(.gcds-mobile-nav) .gcds-trigger--expandable{align-self:flex-start;width:auto}}}@layer hover{@media (hover:hover){:host .gcds-nav-group__trigger:hover{color:var(--gcds-nav-group-trigger-hover-text)}:host .gcds-trigger--dropdown:hover{color:var(--gcds-nav-group-top-nav-trigger-hover-text);text-decoration-color:var(--gcds-nav-group-top-nav-trigger-hover-text);text-decoration-thickness:var(\n --gcds-nav-group-top-nav-trigger-hover-decoration-thickness\n )}:host .gcds-trigger--expandable:hover{background-color:var(\n --gcds-nav-group-side-nav-trigger-hover-background\n )}}}@layer focus{:host .gcds-nav-group__trigger:focus{background-color:var(--gcds-nav-group-trigger-focus-background);border-color:var(--gcds-nav-group-trigger-focus-background);border-radius:var(--gcds-nav-group-trigger-focus-border-radius);box-shadow:var(--gcds-nav-group-trigger-focus-box-shadow);color:var(--gcds-nav-group-trigger-focus-text);outline:var(--gcds-nav-group-trigger-focus-outline);outline-offset:var(--gcds-nav-group-trigger-focus-outline-offset);text-decoration:none}}";const GcdsNavLink=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.href=void 0,this.current=void 0,this.lang=void 0,this.navStyle=void 0}async focusLink(){this.linkElement.focus()}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.el.closest("gcds-top-nav")?"GCDS-TOP-NAV"==this.el.parentNode.nodeName?this.navStyle="topnav":this.navStyle="dropdown":this.navStyle="sidenav"}render(){const{current,href}=this,linkAttrs={};return current&&(linkAttrs["aria-current"]="page"),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"a5bb7d97f3b52083346b6c795e261028c787195a",role:"listitem"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",Object.assign({key:"1fd2194fb01fffb0671b1720696d145cad9826ac",class:`gcds-nav-link gcds-nav-link--${this.navStyle}`,href},linkAttrs,{onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>emitEvent(e,this.gcdsClick,href),ref:element=>this.linkElement=element}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"05503dee7159a649d3d6ba88af6e0bd61f08222e"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsNavLink.style="@layer reset, default, variants, hover, active, focus;@layer reset{:host .gcds-nav-link{box-sizing:border-box}:host .gcds-nav-link slot{display:initial}}@layer default{:host .gcds-nav-link{border-inline:var(--gcds-nav-link-border-width) solid transparent;color:var(--gcds-nav-link-default-text);display:flex;font:var(--gcds-nav-link-font);margin-block-end:var(--gcds-nav-link-margin);padding:var(--gcds-nav-link-padding);text-decoration-color:currentColor;text-decoration-line:underline;text-decoration-style:solid;text-decoration-thickness:var(--gcds-nav-link-default-decoration-thickness);text-underline-offset:var(--gcds-nav-link-default-underline-offset);transition:all .25s ease-in-out}@media only screen and (width < 64em){:host .gcds-nav-link{min-width:50%}}@media only screen and (width > 48em){:host .gcds-nav-link{max-width:var(--gcds-nav-link-default-max-width)}}:host .gcds-nav-link[aria-current=page]{pointer-events:none;text-decoration:none}}@layer variants{@media only screen and (width >= 64em){:host>.gcds-nav-link--topnav.gcds-nav-link{border-block-end:var(--gcds-nav-link-border-width) solid transparent;border-inline:0;color:var(--gcds-nav-link-top-nav-text);margin:var(--gcds-nav-link-top-nav-margin);padding:var(--gcds-nav-link-top-nav-padding)}:host>.gcds-nav-link--topnav.gcds-nav-link:not(:hover){text-decoration-color:transparent}:host([slot=home])>.gcds-nav-link{font:var(--gcds-nav-link-top-nav-home-font);padding:var(--gcds-nav-link-top-nav-home-padding)}}:host>.gcds-nav-link--sidenav.gcds-nav-link{padding:var(--gcds-nav-link-side-nav-padding)}}@layer hover{@media (hover:hover){:host .gcds-nav-link:hover{color:var(--gcds-nav-link-hover-text);text-decoration-thickness:var(\n --gcds-nav-link-hover-decoration-thickness\n )}:host>.gcds-nav-link--dropdown.gcds-nav-link:hover,:host>.gcds-nav-link--sidenav.gcds-nav-link:hover{color:var(--gcds-nav-link-hover-text)}:host>.gcds-nav-link--sidenav.gcds-nav-link:hover{background-color:var(--gcds-nav-link-side-nav-hover-background)}:host>.gcds-nav-link--dropdown.gcds-nav-link:hover{background-color:var(--gcds-nav-link-top-nav-hover-background)}}}@layer active{:host .gcds-nav-link[aria-current=page]{background-color:var(--gcds-nav-link-active-background);border-inline-start-color:var(--gcds-nav-link-active-border-color);color:var(--gcds-nav-link-active-text);font-weight:var(--gcds-nav-link-active-font-weight)}@media only screen and (width >= 64em){:host>.gcds-nav-link--topnav.gcds-nav-link[aria-current=page]{background-color:transparent;border-block-end-color:var(--gcds-nav-link-active-border-color);color:var(--gcds-nav-link-top-nav-text);font:var(--gcds-nav-link-font)}}}@layer focus{:host .gcds-nav-link:focus{background-color:var(--gcds-nav-link-focus-background);border-color:var(--gcds-nav-link-focus-background);border-radius:var(--gcds-nav-link-focus-border-radius);box-shadow:var(--gcds-nav-link-focus-box-shadow);color:var(--gcds-nav-link-focus-text);outline:var(--gcds-nav-link-focus-outline);outline-offset:var(--gcds-nav-link-focus-outline-offset);text-decoration:none}}";const GcdsNotice=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.type=void 0,this.noticeTitle=void 0,this.noticeTitleTag=void 0,this.errors=[],this.lang=void 0}validateType(){this.type?this.errors.includes("type")&&this.errors.splice(this.errors.indexOf("type"),1):this.errors.push("type")}validateNoticeTitle(){this.noticeTitle&&""!==this.noticeTitle?this.errors.includes("noticeTitle")&&this.errors.splice(this.errors.indexOf("noticeTitle"),1):this.errors.push("noticeTitle")}validateNoticeTitleTag(){this.noticeTitleTag&&["h2","h3","h4","h5"].includes(this.noticeTitleTag)?this.errors.includes("noticeTitleTag")&&this.errors.splice(this.errors.indexOf("noticeTitleTag"),1):this.errors.push("noticeTitleTag")}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}validateChildren(){""==this.el.innerHTML.trim()?this.errors.push("children"):this.errors.includes("children")&&this.errors.splice(this.errors.indexOf("children"),1)}validateRequiredProps(){return this.validateNoticeTitle(),this.validateType(),this.validateNoticeTitleTag(),this.validateChildren(),!(this.errors.includes("type")||this.errors.includes("noticeTitle")||this.errors.includes("noticeTitleTag")||this.errors.includes("children"))}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateRequiredProps()||logError("gcds-notice",this.errors)}render(){const{type,noticeTitle,noticeTitleTag}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"b2e164006dfa7bdbefbfea565e99b56107d4b860"},this.validateRequiredProps()&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("section",{key:"53c1c6def3c260efea32c5d024eac59750be8dab",class:`gcds-notice notice--type-${type}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{key:"f4b88229b0723e63edef882d44faf155eccd7ea2",class:"notice__icon",size:"h4",name:{danger:"exclamation-circle",info:"info-circle",success:"check-circle",warning:"exclamation-triangle"}[type]}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"551792b1a73d873aa1139151af829f3dd83d97f5"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-heading",{key:"fd790db93fac16a22103243af53c0385ac9b955b",tag:noticeTitleTag,"margin-top":"0","margin-bottom":"100",class:"notice__heading"},noticeTitle),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"5755a641b120de8f93b3fab7e8438d4c2764f528"}))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsNotice.style='@layer reset, default, type;@layer reset{:host{display:block}:host .gcds-notice{box-sizing:border-box;text-align:left}:host .gcds-notice slot{display:initial}}@layer default{:host .gcds-notice{color:var(--gcds-notice-text);display:grid;gap:var(--gcds-notice-icon-gap);grid-template-columns:var(--gcds-notice-icon-width) auto}:host .gcds-notice .notice__heading{--gcds-heading-h2-desktop:var(\n --gcds-notice-content-heading-font-desktop\n );--gcds-heading-h2-mobile:var(--gcds-notice-content-heading-font-mobile);--gcds-heading-h4-desktop:var(\n --gcds-notice-content-heading-font-desktop\n );--gcds-heading-h4-mobile:var(--gcds-notice-content-heading-font-mobile);--gcds-heading-h5-desktop:var(\n --gcds-notice-content-heading-font-desktop\n );--gcds-heading-h5-mobile:var(--gcds-notice-content-heading-font-mobile);margin-block-start:var(--gcds-notice-content-heading-margin-block-start-desktop)}@media only screen and (width < 48em){:host .gcds-notice .notice__heading{margin-block-start:var(--gcds-notice-content-heading-margin-block-start-mobile)}}:host .gcds-notice .notice__icon{margin:var(--gcds-notice-icon-margin)}:host .gcds-notice .notice__icon:before{background-color:currentColor;content:"";display:block;height:var(--gcds-notice-icon-before-height);margin:0 auto;width:var(--gcds-notice-border-width)}:host .gcds-notice .notice__icon:after{background-color:currentColor;content:"";display:block;height:var(--gcds-notice-icon-after-height);margin:0 auto;width:var(--gcds-notice-border-width)}:host .gcds-notice ::slotted(*){font:var(--gcds-notice-content-slotted-font-desktop);margin-block-start:0}@media only screen and (width < 48em){:host .gcds-notice ::slotted(*){font:var(--gcds-notice-content-slotted-font-mobile)}}:host .gcds-notice ::slotted(:last-child){margin-block-end:0}:host .gcds-notice ::slotted(:not(:last-child)){margin-block-end:var(--gcds-notice-content-slotted-margin)}:host .gcds-notice ::slotted(ol),:host .gcds-notice ::slotted(ul){margin-inline-start:var(--gcds-notice-content-slotted-list-margin);padding:0}}@layer type{:host .gcds-notice.notice--type-danger .notice__icon{color:var(--gcds-notice-danger-text)}:host .gcds-notice.notice--type-info .notice__icon{color:var(--gcds-notice-info-text)}:host .gcds-notice.notice--type-success .notice__icon{color:var(--gcds-notice-success-text)}:host .gcds-notice.notice--type-warning .notice__icon{color:var(--gcds-notice-warning-text)}}';const I18N$9={en:{next:"Next",previous:"Previous",previousMobile:"Prev",nextPage:"Next page",previousPage:"Previous page",pageNumber:"Page {#}",pageNumberOf:"Page {#} of {total} of {label}"},fr:{next:"Suivante",previous:"Précédent",previousMobile:"Préc.",nextPage:"Page suivante",previousPage:"Page précédente",pageNumber:"Page {#}",pageNumberOf:"Page {#} sur {total} des {label}"}};function constructClasses(page,current,total){if(total<=5)return"";if(1==current||current==total){if(current-page==4||current-page==-4)return"gcds-pagination-list-breakpoint-xxs";if(current-page==5||current-page==-5)return"gcds-pagination-list-breakpoint-xs";if(current-page>5||current-page<-5)return"gcds-pagination-list-breakpoint-sm"}else if(2==current||current==total-1){if(current-page==3||current-page==-3)return"gcds-pagination-list-breakpoint-xxs";if(current-page==4||current-page==-4)return"gcds-pagination-list-breakpoint-xs";if(current-page>4||current-page<-4)return"gcds-pagination-list-breakpoint-sm"}else if(current>2&¤t=3||current-page<=-3)return"gcds-pagination-list-breakpoint-sm"}else if(current>2&¤t3||current-page<-3)return"gcds-pagination-list-breakpoint-sm"}}const GcdsPagination=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsClick=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsClick",7),this.listitems=[],this.mobilePrevNext=[],this.display="list",this.label=void 0,this.previousHref=void 0,this.previousLabel=void 0,this.nextHref=void 0,this.nextLabel=void 0,this.totalPages=void 0,this.currentPage=void 0,this.url=void 0,this.currentStep=void 0,this.lang=void 0}watchCurrentPage(newValue){this.currentStep=newValue}urlChanged(newUrl){"string"==typeof newUrl?this.urlObject=JSON.parse(newUrl):"object"==typeof newUrl&&(this.urlObject=newUrl)}watchLang(){"list"==this.display&&this.configureListPagination()}configurePaginationStep(page,end,mobile){const href=this.urlObject?function constructHref(url,page,end){let fragment="",qs="",count=0;for(const key in url.queryStrings){let queryKey=key,queryValue=url.queryStrings[key];if(key.includes("::")){const incrementer=key.split("::")[1],matches=/\{\{([^)]+)\}\}/.exec(url.queryStrings[key]);if("offset"==incrementer){let pageNumber=page;"next"==end?++pageNumber:"previous"==end&&--pageNumber,queryValue=matches?url.queryStrings[key].replace(`{{${matches[1]}}}`,""+(pageNumber-1)*Number(matches[1])):(pageNumber-1)*url.queryStrings[key],queryKey=queryKey.replace("::offset","")}if("match"==incrementer){let pageNumber=page;"next"==end?++pageNumber:"previous"==end&&--pageNumber,queryValue=matches?url.queryStrings[key].replace(`{{${matches[1]}}}`,""+pageNumber*Number(matches[1])):pageNumber*url.queryStrings[key],queryKey=queryKey.replace("::match","")}}qs+=0==count?`?${queryKey}=${queryValue}`:`&${queryKey}=${queryValue}`,++count}return url.fragment&&(fragment=`#${url.fragment}`),`${qs}${fragment}`}(this.urlObject,page,end):"javascript:void(0)",linkAttrs={href,"aria-label":end?"next"==end?`${I18N$9[this.lang].nextPage}: ${I18N$9[this.lang].pageNumberOf.replace("{#}",++page).replace("{total}",this.totalPages).replace("{label}",this.label)}`:`${I18N$9[this.lang].previousPage}: ${I18N$9[this.lang].pageNumberOf.replace("{#}",--page).replace("{total}",this.totalPages).replace("{label}",this.label)}`:I18N$9[this.lang].pageNumberOf.replace("{#}",page).replace("{total}",this.totalPages).replace("{label}",this.label),onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>emitEvent(e,this.gcdsClick,{page,href})};return page!=this.currentPage||end||(linkAttrs["aria-current"]="page"),end?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",null,"next"===end?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",Object.assign({},linkAttrs,{class:mobile?"gcds-pagination-end-button-mobile":"gcds-pagination-end-button"}),I18N$9[this.lang].next,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"margin-left":"150",name:"arrow-right"})):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",Object.assign({},linkAttrs,{class:mobile?"gcds-pagination-end-button-mobile":"gcds-pagination-end-button"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"margin-right":"150",name:"arrow-left"}),mobile?I18N$9[this.lang].previousMobile:I18N$9[this.lang].previous)):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{class:1!=page&&page!=this.totalPages?constructClasses(page,this.currentPage,this.totalPages):""},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",Object.assign({},linkAttrs),page))}configureListPagination(){this.listitems=[],this.mobilePrevNext=[],1!=this.currentPage&&(this.listitems.push(this.configurePaginationStep(this.currentPage,"previous")),this.mobilePrevNext.push(this.configurePaginationStep(this.currentPage,"previous",!0)));let previousEllipses=!1,nextEllipses=!1;for(let i=1;i<=this.totalPages;i++)(2==i&&this.currentPage<6&&this.currentPage>3&&this.totalPages>9||2==i&&this.totalPages<10&&this.totalPages>5&&this.currentPage>3)&&this.listitems.push((0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{class:"gcds-pagination-list-mobile-ellipses","aria-hidden":"true"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{class:"gcds-pagination-list-ellipses"},"..."))),i==this.currentPage||1==i||i==this.totalPages||i>=this.currentPage-2&&i<=this.currentPage+2||this.totalPages<10||this.currentPage<=5&&i<=7||this.currentPage>=this.totalPages-4&&i>=this.totalPages-6||5==this.currentPage&&2==i||this.currentPage==this.totalPages-4&&i==this.totalPages-1?this.listitems.push(this.configurePaginationStep(i)):!previousEllipses&&ithis.currentPage+2&&ithis.totalPages-5&&this.currentPage9||i==this.totalPages-1&&this.totalPages<10&&this.totalPages>5&&this.currentPage{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.url&&"string"==typeof this.url?this.urlObject=JSON.parse(this.url):this.url&&"object"==typeof this.url&&(this.urlObject=this.url),"list"==this.display&&this.configureListPagination()}componentDidUpdate(){"list"==this.display&&this.configureListPagination()}render(){const{display,label,previousHref,previousLabel,nextHref,nextLabel,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"656ddb9d8d820d56dc2246ca3da4e1c09a0a346b",role:"navigation","aria-label":label},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"a8fc0c37588e8cf0700999b3875b4cfad7195129",class:"gcds-pagination"},"list"===display?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{class:"gcds-pagination-list"},this.listitems),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{class:"gcds-pagination-list-mobile-prevnext"},this.mobilePrevNext)):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{class:"gcds-pagination-simple"},previousHref&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{class:"gcds-pagination-simple-previous"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",{href:previousHref,"aria-label":`${I18N$9[lang].previousPage}${previousLabel?`: ${previousLabel}`:""}`,onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>emitEvent(e,this.gcdsClick,previousHref)},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"margin-right":"150",name:"arrow-left"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-pagination-simple-text"},I18N$9[lang].previous),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",null,previousLabel))),nextHref&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{class:"gcds-pagination-simple-next"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("a",{href:nextHref,"aria-label":`${I18N$9[lang].nextPage}${nextLabel?`: ${nextLabel}`:""}`,onBlur:()=>this.gcdsBlur.emit(),onFocus:()=>this.gcdsFocus.emit(),onClick:e=>emitEvent(e,this.gcdsClick,nextHref)},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-pagination-simple-text"},I18N$9[lang].next),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",null,nextLabel),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{"margin-left":"150",name:"arrow-right"}))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{currentPage:["watchCurrentPage"],url:["urlChanged"],lang:["watchLang"]}}};GcdsPagination.style='@layer reset, default, list, simple, wide, compact, hover, active, focus;@layer reset{:host{display:block}:host .gcds-pagination ul{list-style:none;padding:0}}@layer default{:host .gcds-pagination{container:component pagination/inline-size}:host .gcds-pagination li{margin:var(--gcds-pagination-listitem-margin)}:host .gcds-pagination li a{border-radius:var(--gcds-pagination-border-radius);color:var(--gcds-pagination-default-text);font:var(--gcds-pagination-font)}}@layer list{:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext){display:flex;flex-direction:row;margin:0 auto;width:fit-content}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li a,:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li>span.gcds-pagination-list-ellipses{align-items:center;display:flex;height:3rem;justify-content:center;min-width:3rem}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li a.gcds-pagination-end-button,:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li a.gcds-pagination-end-button-mobile,:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li>span.gcds-pagination-list-ellipses.gcds-pagination-end-button,:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li>span.gcds-pagination-list-ellipses.gcds-pagination-end-button-mobile{height:auto;min-width:auto;padding:var(--gcds-pagination-list-end-button-padding);width:auto}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li.gcds-pagination-mobile-prevnext{display:none}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li.gcds-pagination-list-mobile-ellipses{display:none}:host .gcds-pagination .gcds-pagination-list-mobile-prevnext{display:flex;margin:var(--gcds-pagination-mobile-list-prevnext-margin)}}@layer simple{:host .gcds-pagination-simple{display:flex;flex-direction:column;justify-content:space-between}:host .gcds-pagination-simple li{display:inline-block;justify-content:space-between;margin:var(--gcds-pagination-simple-listitem-margin);width:fit-content}:host .gcds-pagination-simple li a{display:grid;padding:var(--gcds-pagination-simple-padding)}:host .gcds-pagination-simple li a>gcds-icon{grid-area:icon}:host .gcds-pagination-simple li a>.gcds-pagination-simple-text{grid-area:text;margin:var(--gcds-pagination-simple-listitem-text-margin)}:host .gcds-pagination-simple li a>span{font-weight:var(--gcds-pagination-simple-label-font-weight);grid-area:label}:host .gcds-pagination-simple .gcds-pagination-simple-previous a{grid-template-areas:"icon text" "icon label";grid-template-columns:.25fr 1fr}:host .gcds-pagination-simple .gcds-pagination-simple-next a{grid-template-areas:"text icon" "label icon";grid-template-columns:1fr .25fr}}@layer wide{@container pagination (width > 44em){:host .gcds-pagination-list-mobile-prevnext{display:none}}@container pagination (width > 20em){:host .gcds-pagination-simple{flex-direction:row}:host .gcds-pagination-simple .gcds-pagination-simple-next{margin-left:auto}}}@layer compact{@container pagination (width <= 44em){:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li a{border:var(--gcds-pagination-border-width) solid}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li>span.gcds-pagination-list-ellipses{min-width:auto}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li:has(>a.gcds-pagination-end-button){margin:0}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li .gcds-pagination-end-button{display:none}:host .gcds-pagination :is(.gcds-pagination-list,.gcds-pagination-list-mobile-prevnext) li.gcds-pagination-mobile-prevnext{display:block}}@container pagination (width <= 30em){:host .gcds-pagination-list .gcds-pagination-list-breakpoint-sm{display:none}}@container pagination (width <= 27.5em){:host .gcds-pagination-list .gcds-pagination-list-breakpoint-xs{display:none}}@container pagination (width <= 25em){:host .gcds-pagination-list .gcds-pagination-list-breakpoint-xxs{display:none}}@container pagination (width <= 19em){:host .gcds-pagination-list li{margin:var(--gcds-pagination-mobile-list-item-margin)}}}@layer hover{@media (hover:hover){:host .gcds-pagination ul li a:hover{background:var(--gcds-pagination-hover-background);color:var(--gcds-pagination-hover-text)}}}@layer active{:host .gcds-pagination ul li a:active:not(:focus),:host .gcds-pagination ul li a[aria-current*=page]:not(:focus){background:var(--gcds-pagination-active-background);border-color:var(--gcds-pagination-active-background);color:var(--gcds-pagination-active-text);pointer-events:none;text-decoration:none}}@layer focus{:host .gcds-pagination ul li a:focus{background-color:var(--gcds-pagination-focus-background);border-color:var(--gcds-pagination-focus-background);box-shadow:var(--gcds-pagination-focus-box-shadow);color:var(--gcds-pagination-focus-text);outline:var(--gcds-pagination-focus-outline-width) solid var(--gcds-pagination-focus-background);outline-offset:var(--gcds-pagination-border-width);text-decoration:none}}';const I18N$8={en:{label:"Banner"},fr:{label:"Bannière"}},GcdsPhaseBanner=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.bannerRole="primary",this.container="xl",this.isFixed=void 0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{bannerRole,container,isFixed,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"03d1a8de7df2a91d9a8b79cca4bef17377585269"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"e6194d8cf29385c2c6079393ff7c235735d7d807",class:`gcds-phase-banner banner--role-${bannerRole} ${isFixed?"banner--is-fixed":""}`,role:"status","aria-label":I18N$8[lang].label},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-container",{key:"5b05537336d102ca070af8199acdf2444f729de8",size:container,centered:!0},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"8ac815e722f021f7d23f7b23267410f1dbefd613",class:"banner__content"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("figure",{key:"afec7938dc8628e23a73b46baa6f01490d9d1d6c",class:"banner__icon icon--left"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"749ff139daab3c0d92cc1bcc707d36beb860c6eb",name:"banner-icon-left"})),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"17adb8cb3b7f9b0a076407c611748e1f665e7eca",class:"banner__details"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"8482f2af1178f5f070f81c54c0e4f7e886055a14",name:"banner-text"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"6b240f9a45c7466b145610020cc45bacf23c82d7",name:"banner-cta"})),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("figure",{key:"15046443505ce0469c648d914b14f990a1c61a8c",class:"banner__icon icon--right"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"e539510f180473f2497c2634b16e91202af86cdf",name:"banner-icon-right"}))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsPhaseBanner.style="@layer reset, default, fixed, role, wide, compact;@layer reset{:host{display:block}:host slot{display:initial}}@layer default{:host .gcds-phase-banner{container:component banner/inline-size;font:var(--gcds-phase-banner-font);line-height:var(--gcds-phase-banner-line-height)}:host .gcds-phase-banner .banner__content{padding:var(--gcds-phase-banner-padding)}:host .gcds-phase-banner .banner__icon{display:flex;margin:0}:host .gcds-phase-banner .banner__icon.icon--left{margin-inline-end:var(--gcds-phase-banner-icon-margin)}:host .gcds-phase-banner .banner__icon.icon--right{margin-inline-start:var(--gcds-phase-banner-icon-margin)}:host .gcds-phase-banner .banner__icon ::slotted(img),:host .gcds-phase-banner .banner__icon ::slotted(svg){max-height:var(--gcds-phase-banner-icon-max-height)}:host .gcds-phase-banner .banner__details{align-items:baseline;display:flex;flex-wrap:wrap}:host .gcds-phase-banner .banner__details ::slotted(a),:host .gcds-phase-banner .banner__details ::slotted(gcds-button){flex:0 0 auto}:host .gcds-phase-banner .banner__details ::slotted(a),:host .gcds-phase-banner .banner__details ::slotted(small),:host .gcds-phase-banner .banner__details ::slotted(span){font-size:80%!important}:host .gcds-phase-banner .banner__details ::slotted(p){font:var(--gcds-phase-banner-font);margin:0}:host .gcds-phase-banner .banner__details ::slotted(a){color:inherit}:host .gcds-phase-banner .banner__details ::slotted(gcds-button){margin:var(--gcds-phase-banner-details-cta-margin);transform:scale(90%)}}@layer fixed{:host .gcds-phase-banner.banner-is-fixed{position:sticky;top:0;width:100%;z-index:9999}}@layer role{:host .gcds-phase-banner.banner--role-primary{background-color:var(--gcds-phase-banner-primary-background);color:var(--gcds-phase-banner-primary-text)}:host .gcds-phase-banner.banner--role-secondary{background-color:var(--gcds-phase-banner-secondary-background);color:var(--gcds-phase-banner-secondary-text)}}@layer wide{@container banner (width >= 36em){:host .gcds-phase-banner .banner__content{display:flex}}}@layer compact{@container banner (width < 36em){:host .gcds-phase-banner .banner__content .banner__icon{display:none}}}";const GcdsRadioGroup=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this.onBlur=()=>{this.gcdsBlur.emit()},this.onChange=e=>{this.gcdsChange.emit(e.target.value),this.internals.setFormValue(e.target.value,"checked");const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)},this.options=void 0,this.name=void 0,this.hasError=void 0,this.parentError=void 0,this.inheritedAttributes={},this.lang=void 0}validateOptions(){"object"==typeof this.options?this.optionObject=this.options:"string"==typeof this.options&&(this.optionObject=JSON.parse(this.options))}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateOptions(),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement),this.optionObject&&this.optionObject.map((radio=>{radio.checked&&this.internals.setFormValue(radio.value,"checked")}))}gcdsGroupError(e){e.srcElement.contains(this.el)&&(this.hasError=!0,this.parentError=e.detail)}gcdsGroupErrorClear(e){e.srcElement.contains(this.el)&&this.hasError&&(this.hasError=!1,this.parentError="")}render(){const{lang,name,hasError,parentError,inheritedAttributes}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"1b1197d92fe73076a39aed5beb6659ebca4d6dea"},this.optionObject&&this.optionObject.map((radio=>{const attrsInput=Object.assign({name,disabled:radio.disabled,required:radio.required,value:radio.value,checked:radio.checked},inheritedAttributes);if(radio.hint||parentError){const hintID=radio.hint?`hint-${radio.id} `:"",errorID=parentError?"parent-error ":"";attrsInput["aria-describedby"]=`${hintID}${errorID}${attrsInput["aria-describedby"]?`${attrsInput["aria-describedby"]}`:""}`}return hasError&&(attrsInput["aria-invalid"]="true"),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:`gcds-radio ${radio.disabled?"gcds-radio--disabled":""} ${hasError?"gcds-radio--error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("input",Object.assign({id:radio.id,type:"radio"},attrsInput,{onChange:e=>this.onChange(e),onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),ref:element=>this.shadowElement=element})),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",{label:radio.label,"label-for":radio.id,lang}),radio.hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":radio.id},radio.hint):null)})),parentError&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"b60d8d247b2f194432e70a23e1b65fab31ef2f6e",id:"parent-error",hidden:!0},parentError))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{options:["validateOptions"]}}};GcdsRadioGroup.style='@layer reset, default, disabled, error, focus;@layer reset{:host{display:block}:host .gcds-radio{border:0;padding:0}:host .gcds-radio gcds-label:after,:host .gcds-radio gcds-label:before{box-sizing:border-box;content:"";cursor:pointer}}@layer default{:host .gcds-radio{color:var(--gcds-radio-default-text);font:var(--gcds-radio-font);margin:var(--gcds-radio-margin)!important;max-width:var(--gcds-radio-max-width);min-height:calc(var(--gcds-radio-input-height-and-width) - var(--gcds-radio-padding));padding:var(--gcds-radio-padding) 0 0;position:relative;transition:color .15s ease-in-out}:host .gcds-radio :is(gcds-label,gcds-hint){padding:var(--gcds-radio-label-padding)!important}:host .gcds-radio gcds-hint::part(hint){margin:0}:host .gcds-radio gcds-label:after,:host .gcds-radio gcds-label:before,:host .gcds-radio input{position:absolute}:host .gcds-radio gcds-label:before,:host .gcds-radio input{height:var(--gcds-radio-input-height-and-width);left:0;top:0;width:var(--gcds-radio-input-height-and-width)}:host .gcds-radio input{opacity:0}:host .gcds-radio gcds-label{width:fit-content}:host .gcds-radio gcds-label:after,:host .gcds-radio gcds-label:before{border-radius:var(--gcds-radio-border-radius)}:host .gcds-radio gcds-label:before{border:var(--gcds-radio-input-border-width) solid;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,outline .15s ease-in-out}:host .gcds-radio gcds-label:after{background-color:currentcolor;height:var(--gcds-radio-check-height-and-width);left:var(--gcds-radio-check-left);opacity:0;top:var(--gcds-radio-check-top);transition:opacity .2s ease-in-out;width:var(--gcds-radio-check-height-and-width)}:host .gcds-radio input:checked+gcds-label:after{opacity:1}}@layer disabled{:host .gcds-radio.gcds-radio--disabled{color:var(--gcds-radio-disabled-text)}:host .gcds-radio.gcds-radio--disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-radio.gcds-radio--disabled gcds-label:after,:host .gcds-radio.gcds-radio--disabled gcds-label:before{cursor:not-allowed}:host .gcds-radio.gcds-radio--disabled gcds-label:before{background-color:var(--gcds-radio-disabled-background);border-color:var(--gcds-radio-disabled-border)}:host .gcds-radio.gcds-radio--disabled gcds-hint{--gcds-hint-text:currentColor}}@layer error{:host .gcds-radio.gcds-radio--error:not(:focus-within) gcds-label:before{border-color:var(--gcds-radio-danger-border)}:host .gcds-radio.gcds-radio--error:not(:focus-within) gcds-label:after{background-color:var(--gcds-radio-danger-border)}}@layer focus{:host .gcds-radio:focus-within{color:var(--gcds-radio-focus-color)}:host .gcds-radio:focus-within input:focus+gcds-label:before{background:var(--gcds-radio-focus-background);box-shadow:var(--gcds-radio-focus-box-shadow);outline:var(--gcds-radio-focus-outline-width) solid currentcolor;outline-offset:var(--gcds-radio-input-border-width)}:host .gcds-radio:focus-within input:focus+gcds-label:after{background-color:currentcolor}}';const I18N$7={en:{search:"Search",searchLabel:"Search {$}"},fr:{search:"Recherche",searchLabel:"Rechercher dans {$}"}},GcdsSearch=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsSubmit=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsSubmit",7),this.handleInput=(e,customEvent)=>{const input=e.target;this.value=input.value,customEvent.emit(this.value)},this.placeholder="Canada.ca",this.action="/sr/srb.html",this.method="get",this.name="q",this.searchId="search",this.value=void 0,this.suggested=void 0,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el)}render(){const{placeholder,action,method,name,value,lang,searchId,suggested}=this,labelText=`${I18N$7[lang].searchLabel.replace("{$}",placeholder)}`,attrsInput={name,placeholder:labelText},formAction="/sr/srb.html"===action?`https://www.canada.ca/${lang}/sr/srb.html`:action;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"127843a74f45499fd5470727bbb846b1ee203ec7"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"3211fee418e7019ba50ca9c64ab3ddac6861ea9c",class:"gcds-search"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"20a1386129bd0d9d53a4b3052d7fd7d9232bbcc7",tag:"h2"},I18N$7[lang].search),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("form",{key:"b538c34be842faf9c5dc834779b835cce1a76348",action:formAction,method,role:"search",onSubmit:e=>emitEvent(e,this.gcdsSubmit,this.value),class:"gcds-search__form"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",{key:"9b6f44ab0e9b8e8f929ca45438a8315856cecfd7",label:labelText,"label-for":searchId,"hide-label":!0}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("input",Object.assign({key:"989b67be6bb92553cae5bb76912e84f05fdb90e4",type:"search",id:searchId,list:"search-list",size:34,maxLength:170,onInput:e=>this.handleInput(e,this.gcdsInput),onChange:e=>this.handleInput(e,this.gcdsChange),onFocus:()=>this.gcdsFocus.emit(),onBlur:()=>this.gcdsBlur.emit()},attrsInput,{class:"gcds-search__input",value})),suggested&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("datalist",{key:"d7bf8d367ccf1166f18aa01098fdf3874fb1256d",id:"search-list"},suggested.map(((k,v)=>(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("option",{value:k,key:v})))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-button",{key:"d3952275da85ba06b8147d6d954256ef1b0f4079",type:"submit",class:"gcds-search__button",exportparts:"button"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{key:"a043d69293738b5beeee1c2ff2c81596e15a39a6",name:"search",label:I18N$7[lang].search,"fixed-width":!0})))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsSearch.style="@layer reset, default, focus;@layer reset{:host{display:block}:host .gcds-search input{background-image:none;box-sizing:border-box}:host [type=search]::-webkit-search-cancel-button,:host [type=search]::-webkit-search-decoration{-webkit-appearance:none;appearance:none}}@layer default{:host .gcds-search .gcds-search__header{display:block;height:0;margin:0;overflow:hidden;width:0}:host .gcds-search .gcds-search__form{display:flex;margin:var(--gcds-search-margin)!important}:host .gcds-search input{background-color:var(--gcds-search-default-background);border:var(--gcds-search-border-width) solid;border-radius:var(--gcds-search-border-radius);color:var(--gcds-search-default-text);font:var(--gcds-search-font-desktop);height:auto;min-height:var(--gcds-search-min-width-and-height);padding:var(--gcds-search-padding)!important;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;width:100%}@media only screen and (width < 48em){:host .gcds-search input{font:var(--gcds-search-font-mobile)}}:host .gcds-search ::part(button){border-end-start-radius:0;border-start-start-radius:0;height:100%;margin:0;--gcds-button-padding:var(--gcds-search-button-padding)}}@layer focus{:host .gcds-search input:focus{border-color:var(--gcds-search-focus-border-color);border-radius:var(--gcds-search-focus-border-radius);box-shadow:var(--gcds-search-focus-box-shadow);outline:var(--gcds-search-outline-width) solid var(--gcds-search-focus-border-color);outline-offset:var(--gcds-search-border-width);z-index:30}:host .gcds-search ::part(button):focus{border-radius:var(--gcds-search-focus-border-radius);box-shadow:var(--gcds-search-focus-box-shadow)}}";const GcdsSelect=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.handleInput=(e,customEvent)=>{const val=e.target&&e.target.value;if(this.value=val,this.internals.setFormValue(val),"change"===e.type){const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)}customEvent.emit(this.value)},this.onBlur=()=>{"blur"===this.validateOn&&this.validate(),this.gcdsBlur.emit()},this.selectId=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.disabled=!1,this.defaultValue=void 0,this.value=void 0,this.errorMessage=void 0,this.hint=void 0,this.validator=void 0,this.validateOn=void 0,this.hasError=void 0,this.inheritedAttributes={},this.lang=void 0,this.options=void 0}validateDisabledSelect(){this.required&&(this.disabled=!1)}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}validateHasError(){this.disabled&&(this.hasError=!1)}ariaInvalidWatcher(){this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement)}ariaDescriptiondWatcher(){this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement)}async validate(){!this._validator.validate(this.value)&&this._validator.errorMessage?(this.errorMessage=this._validator.errorMessage[this.lang],this.gcdsError.emit({id:`#${this.selectId}`,message:`${this.label} - ${this.errorMessage}`})):(this.errorMessage="",this.gcdsValid.emit({id:`#${this.selectId}`}))}submitListener(e){e.target==this.el.closest("form")&&(this.validateOn&&"other"!=this.validateOn&&this.validate(),this.hasError&&"other"!=this.validateOn&&e.preventDefault())}checkValueOrSelected(option){const value=option.getAttribute("value");this.value===value&&(option.setAttribute("selected","true"),this.internals.setFormValue(value),this.initialValue=this.value),option.hasAttribute("selected")&&(this.value=value,this.initialValue=this.value?this.value:null)}formResetCallback(){this.value!=this.initialValue&&(this.internals.setFormValue(this.initialValue),this.value=this.initialValue)}formStateRestoreCallback(state){this.internals.setFormValue(state),this.value=state}observeOptions(){new MutationObserver((()=>{this.options=Array.from(this.el.children),this.value=null})).observe(this.el,{attributes:!1,childList:!0,characterData:!0,subtree:!0})}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledSelect(),this.validateHasError(),this.validateErrorMessage(),this.validateValidator(),requiredValidator(this.el,"select"),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement),this.el.children&&(this.options=Array.from(this.el.children),this.options.forEach((option=>{if("OPTION"===option.nodeName)this.checkValueOrSelected(option);else if("OPTGROUP"===option.nodeName){Array.from(option.children).map((sub=>{this.checkValueOrSelected(sub)}))}})))}async componentDidLoad(){this.observeOptions()}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{lang,selectId,label,required,disabled,defaultValue,value,hint,errorMessage,inheritedAttributes,hasError,name,options}=this,attrsSelect=Object.assign({name,disabled,required,value},inheritedAttributes),attrsLabel={label,required};if(hint||errorMessage){const hintID=hint?`hint-${selectId} `:"",errorID=errorMessage?`error-message-${selectId} `:"";attrsSelect["aria-describedby"]=`${hintID}${errorID}${attrsSelect["aria-describedby"]?`${attrsSelect["aria-describedby"]}`:""}`}return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"fb6aeb223639f75aa5bc28b155f076bc1ad6871f"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"71ac8ed56fb8ac745f782b556527666a128b178a",class:`gcds-select-wrapper ${disabled?"gcds-disabled":""} ${hasError?"gcds-error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",Object.assign({key:"a73c320132850c5d14ada4228abdd6fb008ef32d"},attrsLabel,{"label-for":selectId,lang})),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":selectId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:selectId},errorMessage):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("select",Object.assign({key:"594ab71c7f1d11cf158a37457b570f12e33157db"},attrsSelect,{id:selectId,onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),onInput:e=>this.handleInput(e,this.gcdsInput),onChange:e=>this.handleInput(e,this.gcdsChange),"aria-invalid":"true"===inheritedAttributes["aria-invalid"]?inheritedAttributes["aria-invalid"]:errorMessage?"true":"false",part:"select",ref:element=>this.shadowElement=element}),defaultValue?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("option",{value:"",disabled:!0,selected:!0},defaultValue):null,options.map((opt=>{if("OPTION"===opt.nodeName){const selected=opt.hasAttribute("selected")?{selected:!0}:null;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("option",Object.assign({value:opt.getAttribute("value")},selected),opt.innerHTML)}if("OPTGROUP"===opt.nodeName){const optGroupChildren=Array.from(opt.children).map((sub=>{const selected=sub.hasAttribute("selected")?{selected:!0}:null;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("option",Object.assign({value:sub.getAttribute("value")},selected),sub.innerHTML)}));return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("optgroup",{label:opt.getAttribute("label")},optGroupChildren)}})))))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{disabled:["validateDisabledSelect"],errorMessage:["validateErrorMessage"],validator:["validateValidator"],hasError:["validateHasError"],"aria-invalid":["ariaInvalidWatcher"],"aria-description":["ariaDescriptiondWatcher"]}}};async function handleKeyDownNav(event,nav,queue){const key=event.key,currentIndex=queue.indexOf(document.activeElement==nav?document.activeElement.shadowRoot.activeElement:document.activeElement),activeElement=queue[currentIndex];switch(key){case"ArrowDown":event.preventDefault(),currentIndex+1>queue.length-1?await focusNavItem(0,queue):await focusNavItem(currentIndex+1,queue);break;case"ArrowUp":event.preventDefault(),currentIndex-1<0?await focusNavItem(queue.length-1,queue):await focusNavItem(currentIndex-1,queue);break;case"ArrowRight":event.preventDefault(),"GCDS-NAV-GROUP"!=activeElement.nodeName||activeElement.hasAttribute("open")||await toggleNavGroup(activeElement,nav);break;case"ArrowLeft":case"Escape":event.preventDefault(),"GCDS-NAV-GROUP"==activeElement.nodeName&&activeElement.hasAttribute("open")?await toggleNavGroup(activeElement,nav):"GCDS-NAV-GROUP"==activeElement.parentNode.nodeName?await toggleNavGroup(activeElement.parentNode,nav):activeElement.parentNode==nav&&"mobile"==await activeElement.parentNode.getNavSize()&&await toggleNavGroup(queue[queue.length-1],nav);break;case"Tab":"GCDS-SIDE-NAV"!=nav.nodeName&&("GCDS-NAV-GROUP"==activeElement.nodeName&&activeElement.hasAttribute("open")?(event.preventDefault(),await toggleNavGroup(activeElement,nav)):"GCDS-NAV-GROUP"==activeElement.parentNode.nodeName&&(event.preventDefault(),await toggleNavGroup(activeElement.parentNode,nav)));break;case"Enter":case" ":"GCDS-NAV-GROUP"==activeElement.nodeName&&(event.preventDefault(),await toggleNavGroup(activeElement,nav))}}async function focusNavItem(index,queue){"GCDS-NAV-LINK"==queue[index].nodeName?queue[index].focusLink():"GCDS-NAV-GROUP"==queue[index].nodeName&&queue[index].focusTrigger()}async function toggleNavGroup(group,nav){const navGroup=group;navGroup.hasAttribute("open")?(await navGroup.toggleNav(),navGroup.focusTrigger(),nav.updateNavItemQueue(nav)):(await navGroup.toggleNav(),setTimeout((async()=>{await focusNavItem(0,document.activeElement==nav?nav.children:navGroup.children)}),10),"GCDS-SIDE-NAV"==nav.nodeName?nav.updateNavItemQueue(nav):nav.updateNavItemQueue(document.activeElement==nav?nav:navGroup,document.activeElement!=nav))}async function getNavItems(el){const indexedItems=Array.from(el.children);return indexedItems.forEach((async item=>{if("GCDS-NAV-GROUP"==item.nodeName&&item.open){const groupChildren=await getNavItems(item);indexedItems.splice(indexedItems.indexOf(item)+1,0,...groupChildren)}})),indexedItems}GcdsSelect.style="@layer reset, default, disabled, error, focus;@layer reset{:host{display:block}:host .gcds-select-wrapper{border:0;margin:0;padding:0}:host .gcds-select-wrapper select{box-sizing:border-box}:host .gcds-select-wrapper slot{display:initial}}@layer default{:host .gcds-select-wrapper{color:var(--gcds-select-default-text);font:var(--gcds-select-font);max-width:75ch;transition:color .15s ease-in-out}:host .gcds-select-wrapper select{-webkit-appearance:none;-moz-appearance:none;background-color:var(--gcds-select-default-background);background-image:url(\"data:image/svg+xml;utf8,\");background-position-x:var(--gcds-select-arrow-position-x);background-position-y:50%;background-repeat:no-repeat;border:var(--gcds-select-border-width) solid;border-radius:var(--gcds-select-border-radius);box-sizing:border-box;color:var(--gcds-select-default-text);display:block;font:inherit;height:auto;margin:var(--gcds-select-margin)!important;max-width:100%;min-height:var(--gcds-select-min-width-and-height);min-width:var(--gcds-select-min-width-and-height);padding:var(--gcds-select-padding)!important;transition:all .15s ease-in-out}}@layer disabled{:host .gcds-select-wrapper.gcds-disabled{color:var(--gcds-select-disabled-text)}:host .gcds-select-wrapper.gcds-disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-select-wrapper.gcds-disabled gcds-hint{--gcds-hint-text:currentColor}:host .gcds-select-wrapper.gcds-disabled select:disabled{background-color:var(--gcds-select-disabled-background);border-color:var(--gcds-select-disabled-text);cursor:not-allowed}}@layer error{:host .gcds-select-wrapper.gcds-error:not(:focus-within) select{border-color:var(--gcds-select-danger-border)}}@layer focus{:host .gcds-select-wrapper:focus-within select:focus{border-color:var(--gcds-select-focus-border);box-shadow:var(--gcds-select-focus-box-shadow);outline:var(--gcds-select-outline-width) solid var(--gcds-select-focus-border);outline-offset:var(--gcds-select-border-width)}}";const I18N$6={en:{closeTrigger:"Close",menuLabel:"Menu",navLabel:" - Use the enter key to select a menu item and travel to its page. Use the left and right arrow keys to navigate between menu and submenu items. Use the right arrow key to open submenus when they are available. Use the left arrow or escape keys to close a menu."},fr:{closeTrigger:"Fermer",menuLabel:"Menu",navLabel:" - Utiliser la touche d'entrée pour sélectionner un élément du menu et voyager à la page indiquée. Utiliser les flèches gauches et droites pour naviguer entre les éléments et les sous-éléments du menu. Ouvrir les sous-éléments du menu avec la flèche droite lorsqu'il sont disponible. Fermer le menu avec la flèche gauche ou la touche d'échappement."}},GcdsSideNav=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.label=void 0,this.lang=void 0,this.navItems=[],this.navSize=void 0}async focusInListener(e){if(this.el.contains(e.target)&&!this.navSize){const mediaQuery=window.matchMedia("screen and (min-width: 64em)"),nav=this.el,mobileTrigger=this.mobile;mediaQuery.matches?this.navSize="desktop":this.navSize="mobile",await this.updateNavItemQueue(this.el),mediaQuery.addEventListener("change",(async function(e){e.matches?(nav.updateNavSize("desktop"),await nav.updateNavItemQueue(nav),mobileTrigger.hasAttribute("open")&&mobileTrigger.toggleNav()):(nav.updateNavSize("mobile"),await nav.updateNavItemQueue(nav))}))}}async focusOutListener(e){this.el.contains(e.relatedTarget)||"mobile"==this.navSize&&this.mobile.hasAttribute("open")&&await this.mobile.toggleNav()}async keyDownListener(e){this.el.contains(document.activeElement)&&handleKeyDownNav(e,this.el,this.navItems)}async gcdsClickListener(e){this.el.contains(e.target)&&(e.target==this.el&&"mobile"==this.navSize?await this.updateNavItemQueue(e.target):"GCDS-NAV-GROUP"!=e.target.nodeName||e.target.hasAttribute("open")||await this.updateNavItemQueue(this.el))}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async getNavSize(){return this.navSize}async updateNavSize(size){this.navSize=size}async updateNavItemQueue(el,includeElement){if(includeElement){const childElements=await getNavItems(el);this.navItems=[el,...childElements]}else this.navItems=await getNavItems(el);"mobile"==this.navSize&&(this.navItems=[...this.navItems,this.mobile])}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{label,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"2176c26610444e641bf07d616472085f3442f2f0"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"7a707a1f2043e1b5aa630254bfb007bc8effd88c","aria-label":`${label}${I18N$6[lang].navLabel}`,class:"gcds-side-nav"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h2",{key:"e0fcbd5dc9e0324b711ca5df1275b3c2cd6d1e90",class:"gcds-side-nav__heading"},label),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"0dab78de769b83b3cf021849459d514f966c163a"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-nav-group",{key:"381bce26ca561d4c005c33ed705142f9fd596d61",menuLabel:I18N$6[lang].menuLabel,closeTrigger:I18N$6[lang].closeTrigger,openTrigger:I18N$6[lang].menuLabel,class:"gcds-mobile-nav",ref:element=>this.mobile=element,lang},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"aeef38c5147b2673fc48aada575f6f0635b48e30"})))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsSideNav.style="@layer reset, default, desktop, mobile;@layer reset{:host{display:block}:host *{box-sizing:border-box;margin:0;padding:0}}@layer default{:host{width:100%}:host .gcds-side-nav__heading{font:var(--gcds-side-nav-heading-font);margin-block-end:var(--gcds-side-nav-heading-margin);padding:var(--gcds-side-nav-heading-padding)}}@layer desktop{@media only screen and (width >= 64em){:host .gcds-side-nav{max-width:var(--gcds-side-nav-max-width)}}}@layer mobile{@media only screen and (width < 64em){:host .gcds-side-nav__heading{display:block;height:0;margin:0;overflow:hidden;padding:0;width:0}}}";const I18N$5={en:{link:"https://canada.ca/en.html",gc:"Government of Canada"},fr:{link:"https://canada.ca/fr.html",gc:"Gouvernement du Canada"}},GcdsSignature=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.type="signature",this.variant="colour",this.hasLink=!1,this.lang=void 0}validateType(newValue){"signature"!=newValue&&"wordmark"!=newValue&&(this.type="signature")}validateVariant(newValue){"colour"!=newValue&&"white"!=newValue&&(this.variant="colour")}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}get selectSVG(){return"wordmark"===this.type?"en"==this.lang?'\n\tSymbol of the Government of Canada\n\t\n\t\t\n\t\t\n\t\n':'\n\tSymbole du Gouvernement du Canada\n\t\n\t\t\n\t\t\n\t\n':"en"==this.lang?'\n\tGovernment of Canada / Gouvernement du Canada\n\t\n\t\n\t\n\n':'\n\tGouvernement du Canada / Government of Canada\n\t\n\t\n\t\n\n'}get svgLabel(){let altText="";return altText="en"===this.lang?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.F,null,I18N$5.en.gc," / ",(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{lang:"fr"},I18N$5.fr.gc)):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.F,null,I18N$5.fr.gc," / ",(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{lang:"en"},I18N$5.en.gc)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{tag:"span",id:"signature-title"},altText)}render(){const{type,hasLink,lang,selectSVG,svgLabel}=this,sigAttrs={class:"gcds-signature"},Tag=hasLink?"a":"div";return"a"===Tag&&(sigAttrs.href=I18N$5[lang].link),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"9e7b4e9eb3ddd7d4826140ecf3214b6e3c011e2e"},"signature"===type?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,Object.assign({},sigAttrs),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{innerHTML:selectSVG}),svgLabel):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{class:"gcds-signature",innerHTML:selectSVG}))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{type:["validateType"],variant:["validateVariant"]}}};GcdsSignature.style="@layer reset, default, type.signature, type.wordmark, variant.colour, variant.white, desktop;@layer reset{:host{display:block;width:fit-content}}@layer default{:host .gcds-signature{display:flex}:host svg{max-width:100%}:host svg .fip_flag{fill:var(--gcds-signature-color-flag)}}@layer type.signature{:host(:not([type=wordmark])) svg{height:var(--gcds-signature-signature-height)}}@layer type.wordmark{:host([type=wordmark]) svg{height:var(--gcds-signature-wordmark-height);width:auto}}@layer variant.colour{:host(:not([variant=white])) svg .fip_text{fill:var(--gcds-signature-color-text)}}@layer variant.white{:host([variant=white]) svg :is(.fip_text){fill:var(--gcds-signature-white-default)}}@layer desktop{@media screen and (width >= 64em){:host(:not([type=wordmark])) svg{height:2.125rem}}}";const GcdsSrOnly=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.tag="p"}validateTag(newValue){["h1","h2","h3","h4","h5","h6","p","span"].includes(newValue)||(this.tag="p")}componentWillLoad(){this.validateTag(this.tag)}render(){const Tag=this.tag;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"18f77ee5b2c271548f52b660390dfdee8747f8a0"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(Tag,{key:"9e4b70e16cec0a8521ce8cb67cb62a7638afce42"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"e9f5a29ea054a829dea24766042990dfcf2eefac"})))}static get watchers(){return{tag:["validateTag"]}}};GcdsSrOnly.style="@layer reset, default;@layer reset{:host slot{display:initial}}@layer default{:host{clip-path:inset(100%);clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}}";const I18N$4={en:{step:"Step",of:"of"},fr:{step:"Étape",of:"sur"}},GcdsStepper=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.currentStep=void 0,this.totalSteps=void 0,this.tag="h2",this.errors=[],this.lang=void 0}validateCurrentStep(){this.currentStep<=0||isNaN(this.currentStep)||this.currentStep>this.totalSteps?this.errors.push("currentStep"):this.errors.includes("currentStep")&&this.errors.splice(this.errors.indexOf("currentStep"),1)}validateTotalSteps(){this.totalSteps<=0||isNaN(this.totalSteps)||this.totalSteps{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}validateChildren(){""==this.el.innerHTML.trim()?this.errors.push("children"):this.errors.includes("children")&&this.errors.splice(this.errors.indexOf("children"),1)}validateRequiredProps(){return this.validateCurrentStep(),this.validateTotalSteps(),this.validateChildren(),!(this.errors.includes("totalSteps")||this.errors.includes("currentStep")||this.errors.includes("children"))}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateRequiredProps()||logError("gcds-stepper",this.errors)}render(){const{currentStep,lang,totalSteps,tag}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"6e9ef763863d74aabd0e06b6126638c680c9de68"},this.validateRequiredProps()&&(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-heading",{key:"d6d6b6e34b726d0c878b42a5fe9acfff1ef15a09",tag,class:"gcds-stepper","margin-top":"0","margin-bottom":"225"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"832e9f340126888cbde32219a4bc5c41c64768de",class:"gcds-stepper__steps"},`${I18N$4[lang].step} ${currentStep} ${I18N$4[lang].of} ${totalSteps}`,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"09142960d870e811eae871d22c8e217025747080"}," : ")),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"1e03b643830f949011400d1c0b25e849359a74d1"})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{currentStep:["validateCurrentStep"],totalSteps:["validateTotalSteps"]}}};GcdsStepper.style="@layer reset, default;@layer reset{:host{display:block}}@layer default{:host .gcds-stepper .gcds-stepper__steps{display:block;font:var(--gcds-stepper-font-desktop);margin:var(--gcds-stepper-margin-desktop)}@media only screen and (width < 48em){:host .gcds-stepper .gcds-stepper__steps{font:var(--gcds-stepper-font-mobile);margin:var(--gcds-stepper-margin-mobile)}}}";const GcdsText=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.textRole="primary",this.characterLimit=!0,this.display="block",this.marginTop="0",this.marginBottom="300",this.size="body"}validateTextRole(newValue){["light","primary","secondary"].includes(newValue)||(this.textRole="primary")}validateDisplay(newValue){["block","flex","inline","inline-block","inline-flex","none"].includes(newValue)||(this.display="block")}validateMarginTop(newValue){SpacingArray.includes(newValue)||(this.marginTop="0")}validateMarginBottom(newValue){SpacingArray.includes(newValue)||(this.marginBottom="300")}validateSize(newValue){["body","small"].includes(newValue)||(this.size="body")}componentWillLoad(){this.validateTextRole(this.textRole),this.validateDisplay(this.display),this.validateMarginTop(this.marginTop),this.validateMarginBottom(this.marginBottom),this.validateSize(this.size)}render(){const{characterLimit,display,marginTop,marginBottom,size,textRole}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"b0b6d2eef2c482062861893a43f7508d984a398f",class:""+("block"!=display?`d-${display}`:"")},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"6d1c418740f62a70b5dd130adbd471eda5702288",class:`\n gcds-text\n ${textRole?`role-${textRole}`:""}\n ${characterLimit?"limit":""}\n ${marginTop?`mt-${marginTop}`:""}\n ${marginBottom?`mb-${marginBottom}`:""}\n ${"small"===size?"size-small":""}\n `,part:"text"},"small"===size?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",null)))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{textRole:["validateTextRole"],display:["validateDisplay"],marginTop:["validateMarginTop"],marginBottom:["validateMarginBottom"],size:["validateSize"]}}};GcdsText.style="@layer reset, default, display, limit, margin, role, size, style, weight;@layer reset{:host{color:var(--gcds-text-role-primary);display:block}:host .gcds-text{box-sizing:border-box;display:inherit;margin:0}:host .gcds-text slot{display:initial}}@layer default{:host .gcds-text{font:var(--gcds-text-size-body-desktop)}@media only screen and (width < 48em){:host .gcds-text{font:var(--gcds-text-size-body-mobile)}}}@layer display{:host.d-block{display:block}:host.d-flex{display:flex}:host.d-inline{display:inline}:host.d-inline-block{display:inline-block}:host.d-inline-flex{display:inline-flex}:host.d-none{display:none}}@layer limit{:host .gcds-text.limit{max-width:var(--gcds-text-character-limit)}}@layer margin{:host .gcds-text.mt-0{margin-block-start:var(--gcds-text-spacing-0)}:host .gcds-text.mt-25{margin-block-start:var(--gcds-text-spacing-25)}:host .gcds-text.mt-50{margin-block-start:var(--gcds-text-spacing-50)}:host .gcds-text.mt-75{margin-block-start:var(--gcds-text-spacing-75)}:host .gcds-text.mt-100{margin-block-start:var(--gcds-text-spacing-100)}:host .gcds-text.mt-125{margin-block-start:var(--gcds-text-spacing-125)}:host .gcds-text.mt-150{margin-block-start:var(--gcds-text-spacing-150)}:host .gcds-text.mt-175{margin-block-start:var(--gcds-text-spacing-175)}:host .gcds-text.mt-200{margin-block-start:var(--gcds-text-spacing-200)}:host .gcds-text.mt-225{margin-block-start:var(--gcds-text-spacing-225)}:host .gcds-text.mt-250{margin-block-start:var(--gcds-text-spacing-250)}:host .gcds-text.mt-300{margin-block-start:var(--gcds-text-spacing-300)}:host .gcds-text.mt-350{margin-block-start:var(--gcds-text-spacing-350)}:host .gcds-text.mt-400{margin-block-start:var(--gcds-text-spacing-400)}:host .gcds-text.mt-450{margin-block-start:var(--gcds-text-spacing-450)}:host .gcds-text.mt-500{margin-block-start:var(--gcds-text-spacing-500)}:host .gcds-text.mt-550{margin-block-start:var(--gcds-text-spacing-550)}:host .gcds-text.mt-600{margin-block-start:var(--gcds-text-spacing-600)}:host .gcds-text.mt-650{margin-block-start:var(--gcds-text-spacing-650)}:host .gcds-text.mt-700{margin-block-start:var(--gcds-text-spacing-700)}:host .gcds-text.mt-750{margin-block-start:var(--gcds-text-spacing-750)}:host .gcds-text.mt-800{margin-block-start:var(--gcds-text-spacing-800)}:host .gcds-text.mt-850{margin-block-start:var(--gcds-text-spacing-850)}:host .gcds-text.mt-900{margin-block-start:var(--gcds-text-spacing-900)}:host .gcds-text.mt-950{margin-block-start:var(--gcds-text-spacing-950)}:host .gcds-text.mt-1000{margin-block-start:var(--gcds-text-spacing-1000)}:host .gcds-text.mt-1050{margin-block-start:var(--gcds-text-spacing-1050)}:host .gcds-text.mt-1100{margin-block-start:var(--gcds-text-spacing-1100)}:host .gcds-text.mt-1150{margin-block-start:var(--gcds-text-spacing-1150)}:host .gcds-text.mt-1200{margin-block-start:var(--gcds-text-spacing-1200)}:host .gcds-text.mt-1250{margin-block-start:var(--gcds-text-spacing-1250)}:host .gcds-text.mb-0{margin-block-end:var(--gcds-text-spacing-0)}:host .gcds-text.mb-25{margin-block-end:var(--gcds-text-spacing-25)}:host .gcds-text.mb-50{margin-block-end:var(--gcds-text-spacing-50)}:host .gcds-text.mb-75{margin-block-end:var(--gcds-text-spacing-75)}:host .gcds-text.mb-100{margin-block-end:var(--gcds-text-spacing-100)}:host .gcds-text.mb-125{margin-block-end:var(--gcds-text-spacing-125)}:host .gcds-text.mb-150{margin-block-end:var(--gcds-text-spacing-150)}:host .gcds-text.mb-175{margin-block-end:var(--gcds-text-spacing-175)}:host .gcds-text.mb-200{margin-block-end:var(--gcds-text-spacing-200)}:host .gcds-text.mb-225{margin-block-end:var(--gcds-text-spacing-225)}:host .gcds-text.mb-250{margin-block-end:var(--gcds-text-spacing-250)}:host .gcds-text.mb-300{margin-block-end:var(--gcds-text-spacing-300)}:host .gcds-text.mb-350{margin-block-end:var(--gcds-text-spacing-350)}:host .gcds-text.mb-400{margin-block-end:var(--gcds-text-spacing-400)}:host .gcds-text.mb-450{margin-block-end:var(--gcds-text-spacing-450)}:host .gcds-text.mb-500{margin-block-end:var(--gcds-text-spacing-500)}:host .gcds-text.mb-550{margin-block-end:var(--gcds-text-spacing-550)}:host .gcds-text.mb-600{margin-block-end:var(--gcds-text-spacing-600)}:host .gcds-text.mb-650{margin-block-end:var(--gcds-text-spacing-650)}:host .gcds-text.mb-700{margin-block-end:var(--gcds-text-spacing-700)}:host .gcds-text.mb-750{margin-block-end:var(--gcds-text-spacing-750)}:host .gcds-text.mb-800{margin-block-end:var(--gcds-text-spacing-800)}:host .gcds-text.mb-850{margin-block-end:var(--gcds-text-spacing-850)}:host .gcds-text.mb-900{margin-block-end:var(--gcds-text-spacing-900)}:host .gcds-text.mb-950{margin-block-end:var(--gcds-text-spacing-950)}:host .gcds-text.mb-1000{margin-block-end:var(--gcds-text-spacing-1000)}:host .gcds-text.mb-1050{margin-block-end:var(--gcds-text-spacing-1050)}:host .gcds-text.mb-1100{margin-block-end:var(--gcds-text-spacing-1100)}:host .gcds-text.mb-1150{margin-block-end:var(--gcds-text-spacing-1150)}:host .gcds-text.mb-1200{margin-block-end:var(--gcds-text-spacing-1200)}:host .gcds-text.mb-1250{margin-block-end:var(--gcds-text-spacing-1250)}}@layer variants.role{:host .gcds-text.role-primary{color:var(--gcds-text-role-primary)}:host .gcds-text.role-secondary{color:var(--gcds-text-role-secondary)}:host .gcds-text.role-light{color:var(--gcds-text-role-light)}}@layer variants.size{:host .gcds-text :is(small,::slotted(small)),:host .gcds-text.size-small{font:var(--gcds-text-size-small-desktop)}@media only screen and (width < 48em){:host .gcds-text :is(small,::slotted(small)),:host .gcds-text.size-small{font:var(--gcds-text-size-small-mobile)}}}@layer variants.style{:host .gcds-text ::slotted(em){font-style:italic}}@layer variants.weight{:host .gcds-text ::slotted(strong){font-weight:var(--gcds-text-weight-bold)}}";const I18N$3={en:{characters:{allowed:"characters allowed",left:"characters left"}},fr:{characters:{allowed:"caractères maximum",left:"caractères restants"}}},GcdsTextarea=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.gcdsFocus=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsFocus",7),this.gcdsBlur=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsBlur",7),this.gcdsChange=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsChange",7),this.gcdsInput=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsInput",7),this.gcdsError=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsError",7),this.gcdsValid=(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.c)(this,"gcdsValid",7),hostRef.$hostElement$["s-ei"]?this.internals=hostRef.$hostElement$["s-ei"]:(this.internals=hostRef.$hostElement$.attachInternals(),hostRef.$hostElement$["s-ei"]=this.internals),this._validator=defaultValidator,this.onBlur=()=>{"blur"==this.validateOn&&this.validate(),this.gcdsBlur.emit()},this.handleInput=(e,customEvent)=>{const val=e.target&&e.target.value;if(this.value=val,this.internals.setFormValue(val||null),"change"===e.type){const changeEvt=new e.constructor(e.type,e);this.el.dispatchEvent(changeEvt)}customEvent.emit(this.value)},this.characterCount=void 0,this.cols=void 0,this.disabled=!1,this.errorMessage=void 0,this.hideLabel=!1,this.hint=void 0,this.label=void 0,this.name=void 0,this.required=!1,this.rows=5,this.textareaId=void 0,this.value=void 0,this.validator=void 0,this.validateOn=void 0,this.inheritedAttributes={},this.hasError=void 0,this.lang=void 0}validateDisabledTextarea(){this.required&&(this.disabled=!1)}validateErrorMessage(){this.disabled?this.errorMessage="":!this.hasError&&this.errorMessage?this.hasError=!0:""==this.errorMessage&&(this.hasError=!1)}validateValidator(){this.validator&&!this.validateOn&&(this.validateOn="blur")}validateHasError(){this.disabled&&(this.hasError=!1)}async validate(){!this._validator.validate(this.value)&&this._validator.errorMessage?(this.errorMessage=this._validator.errorMessage[this.lang],this.gcdsError.emit({id:`#${this.textareaId}`,message:`${this.label} - ${this.errorMessage}`})):(this.errorMessage="",this.gcdsValid.emit({id:`#${this.textareaId}`}))}submitListener(e){e.target==this.el.closest("form")&&(this.validateOn&&"other"!=this.validateOn&&this.validate(),this.hasError&&"other"!=this.validateOn&&e.preventDefault())}formResetCallback(){this.value!=this.initialValue&&(this.internals.setFormValue(this.initialValue),this.value=this.initialValue,this.shadowElement.value=this.initialValue)}formStateRestoreCallback(state){this.internals.setFormValue(state),this.value=state}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang(),this.validateDisabledTextarea(),this.validateHasError(),this.validateErrorMessage(),this.validateValidator(),requiredValidator(this.el,"textarea"),this.validator&&(this._validator=getValidator(this.validator)),this.inheritedAttributes=inheritAttributes(this.el,this.shadowElement,["placeholder"]),this.internals.setFormValue(this.value?this.value:null),this.initialValue=this.value?this.value:null}componentWillUpdate(){this.validator&&(this._validator=getValidator(this.validator))}render(){const{characterCount,cols,disabled,errorMessage,hideLabel,hint,label,required,rows,textareaId,value,hasError,inheritedAttributes,lang,name}=this,style={maxWidth:1.5*cols+"ch"},attrsLabel={label,required},attrsTextarea=Object.assign({name,disabled,required,rows},inheritedAttributes);if(hint||errorMessage||characterCount){const hintID=hint?`hint-${textareaId} `:"",errorID=errorMessage?`error-message-${textareaId} `:"",countID=characterCount?`textarea__count-${textareaId} `:"";attrsTextarea["aria-describedby"]=`${hintID}${errorID}${countID}${attrsTextarea["aria-describedby"]?`${attrsTextarea["aria-describedby"]}`:""}`}return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"eddcbe5d7d6704ab4f4ac7452e4c716537f222d0"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"f11ccf8faf0ed5ade048612804c36bebb4ba9a1f",class:`gcds-textarea-wrapper ${disabled?"gcds-disabled":""} ${hasError?"gcds-error":""}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-label",Object.assign({key:"0ce48cd18d70fc0712aa29d21bf6d7e32a2a85eb"},attrsLabel,{"hide-label":hideLabel,"label-for":textareaId,lang})),hint?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-hint",{"hint-id":textareaId},hint):null,errorMessage?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-error-message",{messageId:textareaId},errorMessage):null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("textarea",Object.assign({key:"2f6686d4bc5b4b28cb9b9739e8bc2e18edc5b465"},attrsTextarea,{class:hasError?"gcds-error":null,id:textareaId,onBlur:()=>this.onBlur(),onFocus:()=>this.gcdsFocus.emit(),onInput:e=>this.handleInput(e,this.gcdsInput),onChange:e=>this.handleInput(e,this.gcdsChange),"aria-labelledby":`label-for-${textareaId}`,"aria-invalid":errorMessage?"true":"false",maxlength:characterCount||null,style:cols?style:null,ref:element=>this.shadowElement=element}),value),characterCount?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-text",{id:`textarea__count-${textareaId}`,"aria-live":"polite"},null==value?`${characterCount} ${I18N$3[lang].characters.allowed}`:`${characterCount-value.length} ${I18N$3[lang].characters.left}`):null))}static get delegatesFocus(){return!0}static get formAssociated(){return!0}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}static get watchers(){return{disabled:["validateDisabledTextarea"],errorMessage:["validateErrorMessage"],validator:["validateValidator"],hasError:["validateHasError"]}}};GcdsTextarea.style="@layer reset, default, disabled, error, focus;@layer reset{:host{display:block}:host .gcds-textarea-wrapper{border:0;margin:0;padding:0}:host .gcds-textarea-wrapper textarea{box-sizing:border-box}}@layer default{:host .gcds-textarea-wrapper{color:var(--gcds-textarea-default-text);font:var(--gcds-textarea-font);max-width:75ch;transition:color .15s ease-in-out;width:100%}:host .gcds-textarea-wrapper textarea{background-color:var(--gcds-textarea-default-background);background-image:none;border:var(--gcds-textarea-border-width) solid;border-radius:var(--gcds-textarea-border-radius);color:var(--gcds-textarea-default-text);display:block;font:inherit;height:auto;margin:var(--gcds-textarea-margin)!important;max-width:100%;min-height:var(--gcds-textarea-min-height);min-width:50%;padding:var(--gcds-textarea-padding)!important;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out,outline .15s ease-in-out;width:100%}}@layer disabled{:host .gcds-textarea-wrapper.gcds-disabled{color:var(--gcds-textarea-disabled-text)}:host .gcds-textarea-wrapper.gcds-disabled gcds-label{--gcds-label-text:currentColor}:host .gcds-textarea-wrapper.gcds-disabled gcds-hint{--gcds-hint-text:currentColor}:host .gcds-textarea-wrapper.gcds-disabled textarea:disabled{background-color:var(--gcds-textarea-disabled-background);border-color:var(--gcds-textarea-disabled-text);cursor:not-allowed}}@layer error{:host .gcds-textarea-wrapper .error-message-container{display:block}:host .gcds-textarea-wrapper textarea.gcds-error:not(:focus){border-color:var(--gcds-textarea-danger-border)}}@layer focus{:host .gcds-textarea-wrapper:focus-within textarea:focus{border-color:var(--gcds-textarea-focus-border);box-shadow:var(--gcds-textarea-focus-box-shadow);outline:var(--gcds-textarea-outline-width) solid var(--gcds-textarea-focus-border);outline-offset:var(--gcds-textarea-border-width)}}";const I18N$2={en:{closeTrigger:"Close",menuLabel:"Menu",navLabel:" - Use the enter key to select a menu item and travel to its page. Use the left and right arrow keys to navigate between menu and submenu items. Use the right arrow key to open submenus when they are available. Use the left arrow or escape keys to close a menu."},fr:{closeTrigger:"Fermer",menuLabel:"Menu",navLabel:" - Utiliser la touche d'entrée pour sélectionner un élément du menu et voyager à la page indiquée. Utiliser les flèches gauches et droites pour naviguer entre les éléments et les sous-éléments du menu. Ouvrir les sous-éléments du menu avec la flèche droite lorsqu'il sont disponible. Fermer le menu avec la flèche gauche ou la touche d'échappement."}},GcdsTopNav=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.label=void 0,this.alignment="left",this.lang=void 0,this.navItems=[],this.navSize=void 0}async focusInListener(e){if(this.el.contains(e.target)&&!this.navSize){const mediaQuery=window.matchMedia("screen and (min-width: 64em)"),nav=this.el,mobileTrigger=this.mobile;mediaQuery.matches?this.navSize="desktop":this.navSize="mobile",await this.updateNavItemQueue(this.el),mediaQuery.addEventListener("change",(async function(e){e.matches?(nav.updateNavSize("desktop"),await nav.updateNavItemQueue(nav),mobileTrigger.hasAttribute("open")&&mobileTrigger.toggleNav()):(nav.updateNavSize("mobile"),await nav.updateNavItemQueue(nav))}))}}async focusOutListener(e){this.el.contains(e.relatedTarget)||"mobile"==this.navSize&&this.mobile.hasAttribute("open")&&await this.mobile.toggleNav()}async keyDownListener(e){this.el.contains(document.activeElement)&&handleKeyDownNav(e,this.el,this.navItems)}async gcdsClickListener(e){this.el.contains(e.target)&&(e.target==this.el&&"mobile"==this.navSize?await this.updateNavItemQueue(e.target):"GCDS-NAV-GROUP"!=e.target.nodeName||e.target.hasAttribute("open")||(await this.updateNavItemQueue(e.target,!0),e.target.focusTrigger()))}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async getNavSize(){return this.navSize}async updateNavSize(size){this.navSize=size}async updateNavItemQueue(el,includeElement){if(includeElement){const childElements=await getNavItems(el);this.navItems=[el,...childElements]}else this.navItems=await getNavItems(el);el==this.el&&"mobile"==this.navSize&&(this.navItems=[...this.navItems,this.mobile])}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{label,alignment,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"a6f1a411d942315d91c809dc01964919726c6a17"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"c7aa58465b9c8b00c0fc98c5cb2076f71b93eab5",class:"gcds-top-nav"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"64d8b3477818fd28fe31d02b00813320bcc76b37","aria-label":`${label}${I18N$2[lang].navLabel}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"cbf98a6a884f5c60026e733f112081888f05b172",class:"gcds-top-nav__container"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-nav-group",{key:"c5e65207c4b11272261a2ec8737631a2c622227b",menuLabel:I18N$2[lang].menuLabel,closeTrigger:I18N$2[lang].closeTrigger,openTrigger:I18N$2[lang].menuLabel,class:"gcds-mobile-nav gcds-mobile-nav-topnav",ref:element=>this.mobile=element,lang},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"5007a00f24466cdced473c1f0dcad5f6239d3dd3",name:"home"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{key:"4814d9192b12c45325d5cb6c4d1443b84143b09e",class:`nav-container__list nav-list--${alignment}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"db7082dfac66582051f5324adc8fe00821fc6b5d",class:`nav-container__list nav-list--${alignment}`},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("slot",{key:"90dac207f2befecdd758079afa957dcb47de3231"}))))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsTopNav.style="@layer reset, default, desktop;@layer reset{:host{display:block}:host *{box-sizing:border-box;margin:0}:host ul{padding:0}}@layer default{:host .gcds-top-nav .gcds-top-nav__container{display:flex;flex-direction:column;margin-inline:auto;max-width:var(--gcds-top-nav-max-width);width:90%}}@layer desktop{@media only screen and (width >= 64em){:host .gcds-top-nav{background-color:var(--gcds-top-nav-background)}:host .gcds-top-nav .gcds-top-nav__container{align-items:flex-end;flex-direction:row}:host .gcds-top-nav .nav-container__list{align-items:flex-end;display:flex;width:fit-content}:host .gcds-top-nav .nav-container__list.nav-list--right{margin-inline-start:auto}:host .gcds-top-nav .nav-container__list.nav-list--center{margin-inline:auto}}}";const I18N$1={en:{buttonLabel:"Press the SPACEBAR to expand or the escape key to collapse this menu. Use the Up and Down arrow keys to choose a submenu item. Press the Enter or Right arrow key to expand it, or the Left arrow or Escape key to collapse it. Use the Up and Down arrow keys to choose an item on that level and the Enter key to access it.",menuLabelFull:"Main menu",menuLabelHidden:"Main ",menuToggle:"Menu"},fr:{buttonLabel:"Appuyez sur la barre d'espacement pour ouvrir ou sur la touche d'échappement pour fermer le menu. Utilisez les flèches haut et bas pour choisir un élément de sous-menu. Appuyez sur la touche Entrée ou sur la flèche vers la droite pour le développer, ou sur la flèche vers la gauche ou la touche Échap pour le réduire. Utilisez les flèches haut et bas pour choisir un élément de ce niveau et la touche Entrée pour y accéder.",menuLabelFull:"Menu principal",menuLabelHidden:" principal",menuToggle:"Menu"}},snapshots={en:'
  • ',fr:'
  • '},GcdsTopicMenu=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.home=!1,this.open=!1,this.lang=void 0,this.navItems=[],this.navSize=void 0}async keyDownListener(e){if(this.el==document.activeElement&&this.themeList.contains(document.activeElement.shadowRoot.activeElement)){const key=e.key,currentIndex=this.navItems.indexOf(document.activeElement.shadowRoot.activeElement),activeElement=this.navItems[currentIndex];switch(key){case"ArrowDown":e.preventDefault(),currentIndex+1>this.navItems.length-1?await this.focusMenuLink(this.navItems,activeElement,0):await this.focusMenuLink(this.navItems,activeElement,currentIndex+1);break;case"ArrowUp":e.preventDefault(),currentIndex-1<0?await this.focusMenuLink(this.navItems,activeElement,this.navItems.length-1):await this.focusMenuLink(this.navItems,activeElement,currentIndex-1);break;case"ArrowRight":e.preventDefault(),activeElement.hasAttribute("aria-haspopup")&&!activeElement.hasAttribute("data-keep-expanded")?(await this.updateNavItemQueue(activeElement.parentNode.children[1]),activeElement.setAttribute("aria-expanded","true"),this.navItems[0].focus()):activeElement.hasAttribute("aria-haspopup")&&"desktop"==this.navSize?await this.focusMenuLink(this.navItems,activeElement,currentIndex+1):activeElement.hasAttribute("aria-haspopup")&&"mobile"==this.navSize&&(await this.updateNavItemQueue(activeElement.parentNode.children[1]),activeElement.setAttribute("aria-expanded","true"),this.navItems[0].focus());break;case"Enter":activeElement.closest("ul").hasAttribute("data-top-menu")&&(await this.updateNavItemQueue(activeElement.parentNode.children[1]),this.navItems[0].focus());break;case"ArrowLeft":case"Escape":{e.preventDefault();const parentList=activeElement.closest("ul");parentList.parentNode.querySelector("a").hasAttribute("data-keep-expanded")||parentList.parentNode.closest("ul")?(await this.updateNavItemQueue(parentList.parentNode.closest("ul")),await this.focusMenuLink(this.navItems,activeElement,this.navItems.indexOf(parentList.parentNode.querySelector("a"))),"mobile"==this.navSize&&parentList.parentNode.querySelector("a").setAttribute("aria-expanded","false")):(this.menuButton.focus(),await this.toggleNav());break}case"Tab":await this.toggleNav()}}}async closeAllMenus(){for(let x=0;x{e.matches?(nav.updateNavSize("mobile"),nav.shadowRoot.querySelectorAll("[data-keep-expanded]").forEach((el=>{el.setAttribute("aria-expanded","false")}))):(nav.updateNavSize("desktop"),nav.shadowRoot.querySelectorAll("[data-keep-expanded]").forEach((el=>{el.setAttribute("aria-expanded","true")})))})),"desktop"==this.navSize?this.themeList.children[0].children[0].setAttribute("aria-expanded","true"):this.el.shadowRoot.querySelectorAll("[data-keep-expanded]").forEach((el=>{el.setAttribute("aria-expanded","false")})),setTimeout((()=>{this.themeList.children[0].querySelector("a").focus()}),50),await this.updateNavItemQueue(this.themeList)}else this.closeAllMenus()}async updateNavSize(size){this.navSize=size}async getNavSize(){return this.navSize}async updateNavItemQueue(parent){const focusableElements=[];for(let x=0;x{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang();try{const response=await fetch(`https://www.canada.ca/content/dam/canada/sitemenu/sitemenu-v2-${this.lang}.html`);this.listItems=await response.text()}catch(error){this.listItems=snapshots[this.lang]}}async componentDidLoad(){const hostElement=this.el;let menuEnterTimer;for(let x=0;x{e.preventDefault(),"desktop"==await hostElement.getNavSize()?(await hostElement.closeAllMenus(),themeLink.setAttribute("aria-expanded","true")):"false"==themeLink.getAttribute("aria-expanded")?(themeLink.setAttribute("aria-expanded","true"),await hostElement.updateNavItemQueue(themeLink.parentNode.children[1]),setTimeout((()=>{themeLink.parentNode.children[1].children[0].querySelector("a").focus()}),50)):(await hostElement.closeAllMenus(),await hostElement.updateNavItemQueue(themeLink.closest("ul")),setTimeout((()=>{themeLink.focus()}),50))})),themeLink.addEventListener("mouseenter",(async()=>{"desktop"==await hostElement.getNavSize()&&(menuEnterTimer=setTimeout((async function(){await hostElement.closeAllMenus(),themeLink.setAttribute("aria-expanded","true")}),400))})),themeLink.addEventListener("mouseleave",(()=>{clearTimeout(menuEnterTimer)}));const mostRequested=this.themeList.children[x].querySelector("ul").querySelector("[aria-haspopup]");mostRequested.addEventListener("click",(async e=>{if(e.preventDefault(),"mobile"==await hostElement.getNavSize())if("true"==mostRequested.getAttribute("aria-expanded"))mostRequested.setAttribute("aria-expanded","false");else{mostRequested.setAttribute("aria-expanded","true");const mostRequestedList=mostRequested.parentNode.querySelector("ul");mostRequestedList.children[0].querySelector("a").focus(),await hostElement.updateNavItemQueue(mostRequestedList)}}))}}render(){const{home,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"11a4e6cac47292c67d67f2860368ad937610475e"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("nav",{key:"9649d4b517f8a95ccfcbf5130a3429c639d45e1a",class:"gcds-topic-menu","aria-labelledby":"gcds-topic-menu__heading"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{key:"8b11792760daf57c8991c78b0258dba19f78d57f",id:"gcds-topic-menu__heading",tag:"h2"},I18N$1[lang].menuLabelFull),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{key:"41190295fe3d65d13aa28f44fedf010bef4059d6","aria-haspopup":"true","aria-expanded":this.open.toString(),"aria-label":I18N$1[lang].buttonLabel,onClick:async()=>await this.toggleNav(),ref:element=>this.menuButton=element,class:home&&"gcds-topic-menu--home"},"en"==this.lang?(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.F,null,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{tag:"span"},I18N$1[lang].menuLabelHidden),I18N$1[lang].menuToggle):(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.F,null,I18N$1[lang].menuToggle,(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-sr-only",{tag:"span"},I18N$1[lang].menuLabelHidden)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-icon",{key:"1f378ba85facaa6aa9610ef2cf45b504870b7064",name:"chevron-down","margin-left":"100",size:"text-small"})),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("ul",{key:"a9250f162fe7f32ec9c0b561366d2723834e0990",role:"menu","aria-orientation":"vertical","data-top-menu":!0,innerHTML:this.listItems,ref:element=>this.themeList=element})))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsTopicMenu.style='@layer reset, default, mobile, xsMobile, focus;@layer reset{:host{display:block}:host *{box-sizing:border-box;margin:0}}@layer default{:host .gcds-topic-menu__heading,:host .gcds-topic-menu__main{display:inherit;height:0;margin:0;overflow:hidden;width:0}:host .visible-sm-inline{display:none}:host .gcds-topic-menu{font:var(--gcds-topic-menu-font);margin-inline:auto;max-width:var(--gcds-topic-menu-max-width);position:relative;width:90%}:host .gcds-topic-menu button[aria-haspopup=true]{background-color:var(--gcds-topic-menu-button-background);border:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-button-border);color:var(--gcds-topic-menu-button-text);cursor:pointer;font:var(--gcds-topic-menu-button-font);margin-inline-start:0;padding:var(--gcds-topic-menu-button-padding);text-transform:uppercase}:host .gcds-topic-menu button[aria-haspopup=true].gcds-topic-menu--home{background-color:var(--gcds-topic-menu-button-home-background);border-color:var(--gcds-topic-menu-button-home-border-color);color:var(--gcds-topic-menu-button-home-text)}:host .gcds-topic-menu button[aria-haspopup=true]:hover,:host .gcds-topic-menu button[aria-haspopup=true][aria-expanded=true]{background-color:var(--gcds-topic-menu-button-expanded-background);border-color:var(--gcds-topic-menu-button-expanded-border-color);color:var(--gcds-topic-menu-button-expanded-text)}:host .gcds-topic-menu [aria-haspopup=true][aria-expanded=false]+[role=menu]{display:none}:host .gcds-topic-menu button[aria-haspopup=true][aria-expanded=true]+[role=menu]{z-index:9991}:host .gcds-topic-menu button[aria-haspopup=true][aria-expanded=true]+[role=menu] [role=menuitem]{position:relative;z-index:9991}:host .gcds-topic-menu [aria-haspopup=true][aria-expanded=true]+[role=menu]{z-index:9990}:host .gcds-topic-menu [role=menu]{background-color:var(--gcds-topic-menu-topiclist-background);color:var(--gcds-topic-menu-themelist-text);list-style:none;margin:0;padding:0;position:absolute;width:var(--gcds-topic-menu-themelist-width)}:host .gcds-topic-menu [role=menu][data-top-menu]{-webkit-box-shadow:var(--gcds-topic-menu-topiclist-box-shadow);box-shadow:var(--gcds-topic-menu-topiclist-box-shadow)}:host .gcds-topic-menu [role=menu]>li{border-inline-start:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-themelist-item-border)}:host .gcds-topic-menu [role=menu]>li:first-child{border-block-start:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-themelist-item-border)}:host .gcds-topic-menu [role=menu] [role=menu]{border-block-start:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-topiclist-border);color:var(--gcds-topic-menu-topiclist-text);left:var(--gcds-topic-menu-topiclist-left);margin-block-end:var(--gcds-topic-menu-topiclist-margin-block-end);min-height:var(--gcds-topic-menu-topiclist-min-height);padding:var(--gcds-topic-menu-topiclist-padding);top:0;width:var(--gcds-topic-menu-topiclist-width)}:host .gcds-topic-menu [role=menu] [role=menu] li{border:0;width:45%}:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem]{border-block-end:0;border-inline-end:0;color:var(--gcds-topic-menu-topiclist-menuitem-text);padding:var(--gcds-topic-menu-topiclist-menuitem-padding);text-decoration:underline;width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem][aria-haspopup=true],:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem][aria-haspopup=true]:hover{color:var(--gcds-topic-menu-topiclist-menuitem-popup-text);font:var(--gcds-topic-menu-topiclist-menuitem-popup-font);text-decoration:none}@media (hover:hover){:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem]:hover{color:var(--gcds-topic-menu-topiclist-menuitem-hover-text);text-decoration-thickness:var(\n --gcds-topic-menu-topiclist-menuitem-hover-text-decoration-thickness\n )}}:host .gcds-topic-menu [role=menu] [role=menu] li:first-child{margin-block-end:var(\n --gcds-topic-menu-topiclist-item-first-margin-block-end\n );width:100%}:host .gcds-topic-menu [role=menu] [role=menu] li:first-child [role=menuitem]{font:var(--gcds-topic-menu-topiclist-item-first-font);text-decoration:underline}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child{left:var(--gcds-topic-menu-topiclist-item-last-left);position:absolute;top:var(--gcds-topic-menu-topiclist-item-last-top)}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [aria-expanded=true]{background:transparent}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menu]{list-style:disc;padding-block-start:0}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu]{background:transparent;border-block-start:0;-webkit-box-shadow:none;box-shadow:none;left:auto;min-height:auto;top:auto;width:auto}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu] li{width:var(--gcds-topic-menu-mostrequested-item-width)}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu] li:first-child{margin-block-end:var(\n --gcds-topic-menu-mostrequested-item-first-margin-block-end\n )}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu] li:first-child [role=menuitem]{font:var(--gcds-topic-menu-mostrequested-item-first-font);text-decoration:underline;width:auto}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu] li:last-child{left:auto;position:relative;top:auto}@media screen and (61.9375rem <= width <= 74.9375rem){:host .gcds-topic-menu [role=menu] [role=menu] li{width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child{left:auto;margin-block-start:var(\n --gcds-topic-menu-mostrequested-item-last-margin-block-start\n );position:relative;top:auto}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu]{margin-block-end:0;padding-block-end:0;position:relative}:host .gcds-topic-menu [role=menu] [role=menu] [role=menu] li:last-child{margin-block-start:0}}:host .gcds-topic-menu [role=menuitem],:host .gcds-topic-menu [role=menuitem]:visited{border-block-end:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-menuitem-border-block-end);box-sizing:border-box;color:var(--gcds-topic-menu-menuitem-text);display:block;font:var(--gcds-topic-menu-menuitem-font);padding:var(--gcds-topic-menu-menuitem-padding);text-decoration:none;text-underline-offset:var(\n --gcds-topic-menu-menuitem-text-underline-offset\n );width:var(--gcds-topic-menu-menuitem-width)}:host .gcds-topic-menu [role=menuitem]:focus,:host .gcds-topic-menu [role=menuitem]:visited:focus{z-index:9999!important}:host .gcds-topic-menu [role=menuitem]:hover,:host .gcds-topic-menu [role=menuitem]:visited:hover,:host .gcds-topic-menu [role=menuitem]:visited[aria-expanded=true],:host .gcds-topic-menu [role=menuitem][aria-expanded=true]{background-color:var(--gcds-topic-menu-menuitem-expanded-background);color:var(--gcds-topic-menu-menuitem-expanded-text)}:host .gcds-topic-menu [role=menuitem][aria-haspopup=true][aria-expanded=false][aria-controls]:not([aria-controls*=sub]){background-color:var(--gcds-topic-menu-themelist-background)}}@layer mobile{@media screen and (width <= 61.9375rem){:host .gcds-topic-menu .visible-sm-inline{display:inline-block;text-decoration:underline}:host .gcds-topic-menu .hidden-sm{display:none}:host .gcds-topic-menu [role=menu]{margin-block-end:var(\n --gcds-topic-menu-mobile-themelist-margin-block-start\n );position:static;width:auto}:host .gcds-topic-menu [role=menu] [role=menu]{border-block-start:0;-webkit-box-shadow:none;box-shadow:none;margin-block-end:0;min-height:auto;padding:0;width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li{width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem]{border-block-end:var(--gcds-topic-menu-border-width) solid var(\n --gcds-topic-menu-mobile-topiclist-menuitem-border-block-end\n );padding:var(--gcds-topic-menu-mobile-topiclist-menuitem-padding)}@media (hover:hover){:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem]:hover{background-color:transparent;color:var(\n --gcds-topic-menu-mobile-topiclist-menuitem-hover-text\n )}}:host .gcds-topic-menu [role=menu] [role=menu] li [role=menuitem][aria-haspopup]{font:var(\n --gcds-topic-menu-mobile-topiclist-menuitem-haspopup-font\n )}:host .gcds-topic-menu [role=menu] [role=menu] li:first-child{margin-block-end:0}:host .gcds-topic-menu [role=menu] [role=menu] li:first-child [role=menuitem]{border-block-end:var(--gcds-topic-menu-border-width) solid var(\n --gcds-topic-menu-mobile-topiclist-item-first-menuitem-border\n );color:var(\n --gcds-topic-menu-mobile-topiclist-item-first-menuitem-text\n );font:var(\n --gcds-topic-menu-mobile-topiclist-menuitem-haspopup-font\n );text-decoration:underline;width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child{left:auto;position:static;top:auto}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menuitem]{border-block-end:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-mobile-mostrequested-border);color:var(\n --gcds-topic-menu-mobile-topiclist-item-last-menuitem-text\n );text-decoration:none}@media (hover:hover){:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menuitem]:hover{color:var(\n --gcds-topic-menu-mobile-topiclist-item-last-menuitem-hover-text\n );text-decoration:underline}}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menu]{list-style:none;padding-block-start:0}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menu] li{width:auto}:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menu] li [role=menuitem]{border-block-end:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-mobile-mostrequested-border)}@media (hover:hover){:host .gcds-topic-menu [role=menu] [role=menu] li:last-child [role=menu] li [role=menuitem]:hover{color:var(\n --gcds-topic-menu-mobile-mostrequested-hover-text\n );text-decoration:underline}}:host .gcds-topic-menu [role=menu] [role=menu] li:first-child,:host .gcds-topic-menu [role=menu] [role=menu] li:last-child{background-color:var(\n --gcds-topic-menu-mobile-mostrequested-background\n )}:host .gcds-topic-menu [role=menuitem]{width:auto}:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li{margin-inline-start:var(\n --gcds-topic-menu-mobile-item-expanded-margin-inline-start\n )}:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li:first-child,:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li:last-child{margin-inline-start:0}:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li:first-child [role=menuitem],:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li:last-child [role=menuitem]{padding-inline-start:var(\n --gcds-topic-menu-mobile-item-expanded-padding-inline-start\n )}:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] li:last-child [role=menu] [role=menuitem]{padding-inline-start:0}:host .gcds-topic-menu [aria-expanded=true]:not(button)+[role=menu] [role=menu] li{margin-inline-start:var(\n --gcds-topic-menu-mobile-mostrequested-expanded-margin-inline-start\n )}:host .gcds-topic-menu [aria-expanded=true]+[role=menu] [role=menu] [role=menu]{background-color:var(\n --gcds-topic-menu-mobile-mostrequested-background\n )}:host .gcds-topic-menu [aria-haspopup]:not(button):before{content:"\\25BA\\a0"}:host .gcds-topic-menu [aria-haspopup][aria-expanded=true]:not(button):before{content:"\\25BC\\a0"}:host .gcds-topic-menu button[aria-haspopup=true][aria-expanded=true]+[role=menu]{border-inline-end:var(--gcds-topic-menu-border-width) solid var(--gcds-topic-menu-mobile-themelist-border)}}}@layer xsMobile{@media screen and (width <= 47.9375rem){:host .gcds-topic-menu>[role=menu]{margin-inline:calc(-50vw - -50%)}}}@layer focus{:host .gcds-topic-menu :is(button[aria-haspopup=true],[role=menuitem]):focus{background-color:var(--gcds-topic-menu-focus-background);border-color:var(--gcds-topic-menu-focus-background);border-inline-end:0;border-radius:var(--gcds-topic-menu-focus-border-radius);box-shadow:var(--gcds-topic-menu-focus-box-shadow);color:var(--gcds-topic-menu-focus-text);outline:var(--gcds-topic-menu-focus-outline);outline-offset:var(--gcds-topic-menu-focus-outline-offset)}}';const I18N={en:{summary:{text:"An official website of the Government of Canada.",link:"Learn to recognize one"},content:{description:"It can be hard to know what sites to trust. Here's how to identify a Government of Canada website before you share any info:",url:{heading:"Canada.ca or gc.ca",text:"Government of Canada website's normally use Canada.ca or gc.ca in the URL."},languages:{heading:"Available in both of Canada's Official Languages",text:"Information will be available in both English and French."},https:{heading:"HTTPS",text:"Secure Government of Canada websites use"},contact:{heading:"A point of contact",text:"Contact information will have Canada.ca, gc.ca, or the department name in the email address."}}},fr:{summary:{text:"Les sites Web officiels du gouvernement du Canada.",link:"Comment les reconnaître"},content:{description:"Il peut être difficile de savoir quels sites sont fiables. Avant de partager des renseignements, vérifiez les points suivant pour déterminer s'il s'agit bien d'un site du gouvernement du Canada:",url:{heading:"Canada.ca ou gc.ca",text:"On retrouve normalement Canada.ca ou gc.ca dans l'adresse URL d'un site Web du gouvernement du Canada."},languages:{heading:"Offert dans les deux langues officielles",text:"Vérifiez que les renseignements sont accessibles en français et en anglais."},https:{heading:"HTTPS",text:"Lorsqu'un navigateur affiche les sites Web sécuritaires du gouvernement du Canada, on retrouve"},contact:{heading:"Un point de communication",text:"On retrouve Canada.ca, gc.ca ou le nom du ministère dans l'URL de toute adresse courriel du gouvernement du Canada."}}}},GcdsVerifyBanner=class{constructor(hostRef){(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.r)(this,hostRef),this.container="xl",this.isFixed=!1,this.lang=void 0}updateLang(){new MutationObserver((mutations=>{mutations[0].oldValue!=this.el.lang&&(this.lang=this.el.lang)})).observe(this.el,observerConfig)}async componentWillLoad(){this.lang=assignLanguage(this.el),this.updateLang()}render(){const{container,isFixed,lang}=this;return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)(_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.a,{key:"48153c15ce4d671d0bf60ddbe3d336e5e0be81af"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("details",{key:"2e617043b0000ff20429eb9a46324a2f40fb1a95",class:"gcds-verify-banner "+(isFixed?"verify-banner--is-fixed":"")},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("summary",{key:"4fa310845587a590815de9ffcb7e7c50354020b9",class:container?`container-${container}`:"","aria-expanded":"false",role:"button"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"094552cb86ed9ac56935441e352e2ea9ec4671c8",class:"svg-container",innerHTML:'\n \n'}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"813aa039eddf1b68d3db854e90165f9314a59888"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"2161ed4e25a9680194da06614344365fafe327d1"},I18N[lang].summary.text),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("button",{key:"5192428be907c4e5d951b5871fd5af436b40c4fd",class:"verify-banner__toggle"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"b18b2fccc1b7bd85dacd2a07a590cad716fe8bc9"},I18N[lang].summary.link),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("span",{key:"53007393e80408a5486ed2539ca8abdfb2e3808a",class:"svg-container",innerHTML:'\n \n'})))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("div",{key:"e7737a8d5fbc9f70aa1579d5258dd5e8053b849c",class:"verify-banner__content "+(container?`container-${container}`:"")},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"474171c6a6bbbb8772e7f0485dfffb51a864ff05"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"3bf99ee8fcf04df4f1fdce2e637b561137c38188"},I18N[lang].content.description)),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("br",{key:"fd2af592a4462cf079ee227bbe15934fb8d4d5b4"}),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("gcds-grid",{key:"2c3f42400363486e7b662dbc70b4a4a9c873255a",tag:"ul",container:"lg",columns:"1fr","columns-tablet":"xs"===container||"sm"===container?"1fr":"1fr 1fr"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{key:"e251f3f8663eebe19d3a59aa9d46822bdc097273"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h4",{key:"277e4d0462a8b78280e5636d87026998efeb9361"},I18N[lang].content.url.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"8e0b9981deaf0221533ceb24f2f733eec19825f7"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"be67900e62262b8d019e7bdeee7b63e90a1075b3"},I18N[lang].content.url.text))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{key:"0893412462dfff8f9f214395295447d9fdd34f16"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h4",{key:"7d3562b810abdd8d961744cb239181e2e1b50580"},I18N[lang].content.languages.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"0aba8b207788f423a8e4566fccf77d86d3e56ef8"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"c9b4012e2ed096b86a5eefa1f7fe917daa573049"},I18N[lang].content.languages.text))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{key:"e232beacff8ce2f22889e661dbbb0d866f029e28"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h4",{key:"4303bdb3c1209eceba4076dc53162d62d9671a8d"},I18N[lang].content.https.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"5807627918a98faa18893bd85829561afb3d5746"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"7d1b8e8e56cade3c18cac32837c3d5adc3c88889"},I18N[lang].content.https.text," ",(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("strong",{key:"f4fcc669ccaa40756d3d69a23b8466188e78a47c"},"https://"),"."))),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("li",{key:"5e388710ae4ef3923909cc9f0442a18a185243f0"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("h4",{key:"c92b10a99089c96363e126358acf26d2c6098404"},I18N[lang].content.contact.heading),(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("p",{key:"9a6736ffdd9bbd9111411c4aaddbe97256b0db21"},(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.h)("small",{key:"b7d1b456d226778ecb8087f4086f9cef5dd7593b"},I18N[lang].content.contact.text)))))))}get el(){return(0,_index_04fcdc9c_js__WEBPACK_IMPORTED_MODULE_0__.g)(this)}};GcdsVerifyBanner.style="@layer reset, default, fixed, container;@layer reset{:host{display:block}}@layer default{:host .gcds-verify-banner{background-color:var(--gcds-verify-banner-background);color:var(--gcds-verify-banner-text);font:var(--gcds-verify-banner-font)}:host .gcds-verify-banner :is(summary,.verify-banner__content){font-size:90%}:host .gcds-verify-banner summary{cursor:pointer;display:flex;margin-inline:auto;padding-block:var(--gcds-verify-banner-summary-padding)}:host .gcds-verify-banner summary :is(.svg-container,p small){margin:var(--gcds-verify-banner-summary-content-margin)}:host .gcds-verify-banner summary p{align-items:center;display:flex;flex-wrap:wrap;line-height:var(--gcds-verify-banner-line-height);margin:0}:host .gcds-verify-banner summary .verify-banner__toggle{background:none;border:0;color:var(--gcds-verify-banner-toggle-text);flex:0 0 auto;font-weight:var(--gcds-verify-banner-toggle-font-weight);padding:0;pointer-events:none;text-decoration:underline}:host .gcds-verify-banner summary .verify-banner__toggle .svg-container path{fill:var(--gcds-verify-banner-toggle-text)}:host .gcds-verify-banner .verify-banner__content{border-block-start:var(--gcds-verify-banner-content-border-width) solid var(--gcds-verify-banner-content-border-color);margin:0 auto;padding-block-end:var(--gcds-verify-banner-content-padding-block-end);padding-block-start:var(\n --gcds-verify-banner-content-padding-block-start\n )}:host .gcds-verify-banner .verify-banner__content li{list-style:none}:host .gcds-verify-banner .verify-banner__content li :is(h4,p){width:90%}:host .gcds-verify-banner .verify-banner__content h4{margin:var(--gcds-verify-banner-content-heading-margin)}:host .gcds-verify-banner .verify-banner__content p{line-height:var(--gcds-verify-banner-line-height);margin:0}:host .gcds-verify-banner[open] summary .verify-banner__toggle svg{transform:rotate(-180deg)}}@layer fixed{:host .gcds-verify-banner.verify-banner--is-fixed{position:sticky;top:0;width:var(--gcds-verify-banner-max-content-width-full);z-index:9999}}@layer container{:host .gcds-verify-banner .container-lg,:host .gcds-verify-banner .container-md,:host .gcds-verify-banner .container-sm,:host .gcds-verify-banner .container-xl,:host .gcds-verify-banner .container-xs{width:90%}:host .gcds-verify-banner .container-full{max-width:var(--gcds-verify-banner-container-full);padding-inline:var(--gcds-verify-banner-container-padding)}:host .gcds-verify-banner .container-xl{max-width:var(--gcds-verify-banner-container-xl)}:host .gcds-verify-banner .container-lg{max-width:var(--gcds-verify-banner-container-lg)}:host .gcds-verify-banner .container-md{max-width:var(--gcds-verify-banner-container-md)}:host .gcds-verify-banner .container-sm{max-width:var(--gcds-verify-banner-container-sm)}:host .gcds-verify-banner .container-xs{max-width:var(--gcds-verify-banner-container-xs)}}"}}]); \ No newline at end of file diff --git a/4757.7c8234c3.iframe.bundle.js b/4757.7c8234c3.iframe.bundle.js new file mode 100644 index 000000000..ff67e147a --- /dev/null +++ b/4757.7c8234c3.iframe.bundle.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[4757],{"../../node_modules/@storybook/components/dist/formatter-B5HCVTEV.mjs":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{formatter:()=>formatter});var memoizerific__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/memoizerific/memoizerific.js"),memoizerific__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(memoizerific__WEBPACK_IMPORTED_MODULE_0__),Ks=Object.defineProperty,Yr=(t8,e)=>{for(var r in e)Ks(t8,r,{get:e[r],enumerable:!0})},jr=(t8,e,r)=>{if(!e.has(t8))throw TypeError("Cannot "+r)},Q=(t8,e,r)=>(jr(t8,e,"read from private field"),r?r.call(t8):e.get(t8)),Ur={};Yr(Ur,{languages:()=>zs,options:()=>Ys,parsers:()=>Hr,printers:()=>To});var v=(t8,e,r,n)=>{if(!t8||null!=e)return e.replaceAll?e.replaceAll(r,n):r.global?e.replace(r,n):e.split(r).join(n)},we="string",be="array",Te="cursor",oe="indent",ue="align",xe="trim",ee="group",le="fill",ce="if-break",pe="indent-if-break",ke="line-suffix",Be="line-suffix-boundary",G="line",Le="label",he="break-parent",ft=new Set([Te,oe,ue,xe,ee,le,ce,pe,ke,Be,G,Le,he]);var Fe=function Xs(t8){if("string"==typeof t8)return we;if(Array.isArray(t8))return be;if(!t8)return;let{type:e}=t8;return ft.has(e)?e:void 0};function Zs(t8){let e=null===t8?"null":typeof t8;if("string"!==e&&"object"!==e)return`Unexpected doc '${e}', \nExpected it to be 'string' or 'object'.`;if(Fe(t8))throw new Error("doc is valid.");let r=Object.prototype.toString.call(t8);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=(t8=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t8))([...ft].map((s=>`'${s}'`)));return`Unexpected doc.type '${t8.type}'.\nExpected it to be ${n}.`}var mt=class extends Error{name="InvalidDocError";constructor(e){super(Zs(e)),this.doc=e}},dt=()=>{};function R(t8){return{type:oe,contents:t8}}function Jr(t8,e){return{type:ue,contents:e,n:t8}}function E(t8,e={}){return dt(e.expandedStates),{type:ee,id:e.id,contents:t8,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function gt(t8){return{type:le,parts:t8}}function fe(t8,e="",r={}){return{type:ce,breakContents:t8,flatContents:e,groupId:r.groupId}}var re={type:he},A={type:G},b={type:G,soft:!0},S=[{type:G,hard:!0},re],rn=[{type:G,hard:!0,literal:!0},re];function Y(t8,e){let r=[];for(let n=0;n{if(!t8||null!=e)return Array.isArray(e)||"string"==typeof e?e[r<0?e.length+r:r]:e.at(r)};function Ct(t8,e){if("string"==typeof t8)return e(t8);let r=new Map;return n(t8);function n(i){if(r.has(i))return r.get(i);let a=function s(i){switch(Fe(i)){case be:return e(i.map(n));case le:return e({...i,parts:i.parts.map(n)});case ce:return e({...i,breakContents:n(i.breakContents),flatContents:n(i.flatContents)});case ee:{let{expandedStates:a,contents:o}=i;return a?(a=a.map(n),o=a[0]):o=n(o),e({...i,contents:o,expandedStates:a})}case ue:case oe:case pe:case Le:case ke:return e({...i,contents:n(i.contents)});case we:case Te:case xe:case Be:case G:case he:return e(i);default:throw new mt(i)}}(i);return r.set(i,a),a}}function nn(t8){return Ct(t8,(e=>function ni(t8){switch(Fe(t8)){case le:if(t8.parts.every((e=>""===e)))return"";break;case ee:if(!(t8.contents||t8.id||t8.break||t8.expandedStates))return"";if(t8.contents.type===ee&&t8.contents.id===t8.id&&t8.contents.break===t8.break&&t8.contents.expandedStates===t8.expandedStates)return t8.contents;break;case ue:case oe:case pe:case ke:if(!t8.contents)return"";break;case ce:if(!t8.flatContents&&!t8.breakContents)return"";break;case be:{let e=[];for(let r of t8){if(!r)continue;let[n,...s]=Array.isArray(r)?r:[r];"string"==typeof n&&"string"==typeof me(!1,e,-1)?e[e.length-1]+=n:e.push(n),e.push(...s)}return 0===e.length?"":1===e.length?e[0]:e}case we:case Te:case xe:case Be:case G:case Le:case he:break;default:throw new mt(t8)}return t8}(e)))}function T(t8,e=rn){return Ct(t8,(r=>"string"==typeof r?Y(e,r.split("\n")):r))}var sn=class extends Error{name="UnexpectedNodeError";constructor(e,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}};var on=function si(t8,e){let r=!0===e||"'"===e?"'":'"',n="'"===r?'"':"'",s=0,i=0;for(let a of t8)a===r?s++:a===n&&i++;return s>i?n:r};var O;O=new WeakMap;var un=class{constructor(e){((t8,e,r)=>{if(e.has(t8))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t8):e.set(t8,r)})(this,O,void 0),((t8,e,r,n)=>{jr(t8,e,"write to private field"),n?n.call(t8,r):e.set(t8,r)})(this,O,new Set(e))}getLeadingWhitespaceCount(e){let r=Q(this,O),n=0;for(let s=0;s=0&&r.has(e.charAt(s));s--)n++;return n}getLeadingWhitespace(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(0,r)}getTrailingWhitespace(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(e.length-r)}hasLeadingWhitespace(e){return Q(this,O).has(e.charAt(0))}hasTrailingWhitespace(e){return Q(this,O).has(me(!1,e,-1))}trimStart(e){let r=this.getLeadingWhitespaceCount(e);return e.slice(r)}trimEnd(e){let r=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-r)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,r=!1){let n=`[${function sr(t8){if("string"!=typeof t8)throw new TypeError("Expected a string");return t8.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}([...Q(this,O)].join(""))}]+`,s=new RegExp(r?`(${n})`:n);return e.split(s)}hasWhitespaceCharacter(e){let r=Q(this,O);return Array.prototype.some.call(e,(n=>r.has(n)))}hasNonWhitespaceCharacter(e){let r=Q(this,O);return Array.prototype.some.call(e,(n=>!r.has(n)))}isWhitespaceOnly(e){let r=Q(this,O);return Array.prototype.every.call(e,(n=>r.has(n)))}},H=new un(["\t","\n","\f","\r"," "]);var Pe=function oi(t8){return"front-matter"===t8?.type},ui=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens"]),li=new Set(["if","else if","for","switch","case"]);function ln(t8,e){var r;if("text"===t8.type||"comment"===t8.type||Pe(t8)||"yaml"===t8.type||"toml"===t8.type)return null;if("attribute"===t8.type&&delete e.value,"docType"===t8.type&&delete e.value,"angularControlFlowBlock"===t8.type&&null!=(r=e.parameters)&&r.children)for(let n of e.parameters.children)li.has(t8.name)?delete n.expression:n.expression=n.expression.trim()}ln.ignoredProperties=ui;var cn=ln;function pn(t8,e){if(!e)return;let r=(t8=>String(t8).split(/[/\\]/).pop())(e).toLowerCase();return t8.find((n=>{var s,i;return(null==(s=n.extensions)?void 0:s.some((a=>r.endsWith(a))))||(null==(i=n.filenames)?void 0:i.some((a=>a.toLowerCase()===r)))}))}var Ne=function hi(t8,e){let r=t8.plugins.flatMap((s=>s.languages??[])),n=function pi(t8,e){if(e)return t8.find((({name:r})=>r.toLowerCase()===e))??t8.find((({aliases:r})=>r?.includes(e)))??t8.find((({extensions:r})=>r?.includes(`.${e}`)))}(r,e.language)??pn(r,e.physicalFile)??pn(r,e.file)??void e.physicalFile;return n?.parsers[0]},fn={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},dn={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"};var de=function fi(t8){return"element"===t8.type&&!t8.hasExplicitNamespace&&!["html","svg"].includes(t8.namespace)},ar=t8=>(t8=>v(!1,t8,/^[\t\f\r ]*\n/g,""))(H.trimEnd(t8)),gn=t8=>{let e=t8,r=H.getLeadingWhitespace(e);r&&(e=e.slice(r.length));let n=H.getTrailingWhitespace(e);return n&&(e=e.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:e}};function _t(t8,e){return!!("ieConditionalComment"===t8.type&&t8.lastChild&&!t8.lastChild.isSelfClosing&&!t8.lastChild.endSourceSpan||"ieConditionalComment"===t8.type&&!t8.complete||ge(t8)&&t8.children.some((r=>"text"!==r.type&&"interpolation"!==r.type))||Dt(t8,e)&&!V(t8)&&"interpolation"!==t8.type)}function Ge(t8){return!("attribute"===t8.type||!t8.parent||!t8.prev)&&function di(t8){return"comment"===t8.type&&"prettier-ignore"===t8.value.trim()}(t8.prev)}function N(t8){return"text"===t8.type||"comment"===t8.type}function V(t8){return"element"===t8.type&&("script"===t8.fullName||"style"===t8.fullName||"svg:style"===t8.fullName||"svg:script"===t8.fullName||de(t8)&&("script"===t8.name||"style"===t8.name))}function or(t8){return kn(t8).startsWith("pre")}function _n(t8,e){var s,i;let r=function n(){return!Pe(t8)&&"angularControlFlowBlock"!==t8.type&&(!("text"!==t8.type&&"interpolation"!==t8.type||!t8.prev||"text"!==t8.prev.type&&"interpolation"!==t8.prev.type)||!(!t8.parent||"none"===t8.parent.cssDisplay)&&(!!ge(t8.parent)||!(!t8.prev&&("root"===t8.parent.type||ge(t8)&&t8.parent||V(t8.parent)||Ke(t8.parent,e)||!function Ai(t8){return!je(t8)&&"inline-block"!==t8}(t8.parent.cssDisplay))||t8.prev&&!function yi(t8){return!je(t8)}(t8.prev.cssDisplay))))}();return r&&!t8.prev&&null!=(i=null==(s=t8.parent)?void 0:s.tagDefinition)&&i.ignoreFirstLf?"interpolation"===t8.type:r}function En(t8,e){return!Pe(t8)&&"angularControlFlowBlock"!==t8.type&&(!("text"!==t8.type&&"interpolation"!==t8.type||!t8.next||"text"!==t8.next.type&&"interpolation"!==t8.next.type)||!(!t8.parent||"none"===t8.parent.cssDisplay)&&(!!ge(t8.parent)||!(!t8.next&&("root"===t8.parent.type||ge(t8)&&t8.parent||V(t8.parent)||Ke(t8.parent,e)||!function Di(t8){return!je(t8)&&"inline-block"!==t8}(t8.parent.cssDisplay))||t8.next&&!function vi(t8){return!je(t8)}(t8.next.cssDisplay))))}function An(t8){return function wi(t8){return!je(t8)&&"inline-block"!==t8}(t8.cssDisplay)&&!V(t8)}function Ye(t8){return Pe(t8)||t8.next&&t8.sourceSpan.end&&t8.sourceSpan.end.line+10&&(["body","script","style"].includes(t8.name)||t8.children.some((e=>function Ci(t8){var e;return null==(e=t8.children)?void 0:e.some((r=>"text"!==r.type))}(e))))||t8.firstChild&&t8.firstChild===t8.lastChild&&"text"!==t8.firstChild.type&&yn(t8.firstChild)&&(!t8.lastChild.isTrailingSpaceSensitive||wn(t8.lastChild))}function ur(t8){return"element"===t8.type&&t8.children.length>0&&(["html","head","ul","ol","select"].includes(t8.name)||t8.cssDisplay.startsWith("table")&&"table-cell"!==t8.cssDisplay)}function Et(t8){return bn(t8)||t8.prev&&function gi(t8){return bn(t8)||"element"===t8.type&&"br"===t8.fullName||vn(t8)}(t8.prev)||vn(t8)}function vn(t8){return yn(t8)&&wn(t8)}function yn(t8){return t8.hasLeadingSpaces&&(t8.prev?t8.prev.sourceSpan.end.linet8.sourceSpan.end.line:"root"===t8.parent.type||t8.parent.endSourceSpan&&t8.parent.endSourceSpan.start.line>t8.sourceSpan.end.line)}function bn(t8){switch(t8.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(t8.name)}return!1}function At(t8){return t8.lastChild?At(t8.lastChild):t8}function Tn(t8){if(t8)switch(t8){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(t8.endsWith("json")||t8.endsWith("importmap")||"speculationrules"===t8)return"json"}}function lr(t8,e){return function Si(t8,e){let{name:r,attrMap:n}=t8;if("script"!==r||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:s,lang:i}=t8.attrMap;return i||s?Ne(e,{language:i})??Tn(s):"babel"}(t8,e)??function Ei(t8,e){if("style"!==t8.name)return;let{lang:r}=t8.attrMap;return r?Ne(e,{language:r}):"css"}(t8,e)??function _i(t8,e){if(!Dt(t8,e))return;let{attrMap:r}=t8;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:s}=r;return Ne(e,{language:s})??Tn(n)}(t8,e)}function je(t8){return"block"===t8||"list-item"===t8||t8.startsWith("table")}function ge(t8){return kn(t8).startsWith("pre")}function kn(t8){return"element"===t8.type&&(!t8.namespace||de(t8))&&dn[t8.name]||"normal"}function cr(t8,e=function Ti(t8){let e=Number.POSITIVE_INFINITY;for(let r of t8.split("\n")){if(0===r.length)continue;let n=H.getLeadingWhitespaceCount(r);if(0===n)return 0;r.length!==n&&nr.slice(e))).join("\n")}function pr(t8){return v(!1,v(!1,t8,"'","'"),""",'"')}function L(t8){return pr(t8.value)}var xi=new Set(["template","style","script"]);function Ke(t8,e){return Ce(t8,e)&&!xi.has(t8.fullName)}function Ce(t8,e){return"vue"===e.parser&&"element"===t8.type&&"root"===t8.parent.type&&"html"!==t8.fullName.toLowerCase()}function Dt(t8,e){return Ce(t8,e)&&(Ke(t8,e)||t8.attrMap.lang&&"html"!==t8.attrMap.lang)}function vt(t8,e=t8.value){return t8.parent.isWhitespaceSensitive?t8.parent.isIndentationSensitive?T(e):T(cr(ar(e)),S):Y(A,H.split(e))}function yt(t8,e){return Ce(t8,e)&&"script"===t8.name}function wt(t8){return t8>=9&&t8<=32||160==t8}function hr(t8){return 48<=t8&&t8<=57}function bt(t8){return t8>=97&&t8<=122||t8>=65&&t8<=90}function fr(t8){return 10===t8||13===t8}function mr(t8){return 48<=t8&&t8<=55}function dr(t8){return 39===t8||34===t8||96===t8}var ki=/-+([a-z0-9])/g;var Tt,t8,ne=class t{constructor(e,r,n,s){this.file=e,this.offset=r,this.line=n,this.col=s}toString(){return null!=this.offset?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let r=this.file.content,n=r.length,s=this.offset,i=this.line,a=this.col;for(;s>0&&e<0;)if(s--,e++,10==r.charCodeAt(s)){i--;let u=r.substring(0,s-1).lastIndexOf("\n");a=u>0?s-u:s}else a--;for(;s0;){let o=r.charCodeAt(s);s++,e--,10==o?(i++,a=0):a++}return new t(this.file,s,i,a)}getContext(e,r){let n=this.file.content,s=this.offset;if(null!=s){s>n.length-1&&(s=n.length-1);let i=s,a=0,o=0;for(;a0&&(s--,a++,"\n"!=n[s]||++o!=r););for(a=0,o=0;a]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},Bi=[function Fi(t8){t8.walk((e=>{if("element"===e.type&&e.tagDefinition.ignoreFirstLf&&e.children.length>0&&"text"===e.children[0].type&&"\n"===e.children[0].value[0]){let r=e.children[0];1===r.value.length?e.removeChild(r):r.value=r.value.slice(1)}}))},function Pi(t8){let e=r=>{var n,s;return"element"===r.type&&"ieConditionalStartComment"===(null==(n=r.prev)?void 0:n.type)&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&"ieConditionalEndComment"===(null==(s=r.firstChild)?void 0:s.type)&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset};t8.walk((r=>{if(r.children)for(let n=0;n{if(n.children)for(let s=0;s"cdata"===e.type),(e=>``))},function $i(t8,e){if("html"===e.parser)return;let r=/{{(.+?)}}/s;t8.walk((n=>{if(function Cn(t8){return t8.children&&!V(t8)}(n))for(let s of n.children){if("text"!==s.type)continue;let i=s.sourceSpan.start,a=null,o=s.value.split(r);for(let u=0;u0&&n.insertChildBefore(s,{type:"text",value:p,sourceSpan:new f(i,a)}))}n.removeChild(s)}}))},function Oi(t8){t8.walk((e=>{if(!e.children)return;if(0===e.children.length||1===e.children.length&&"text"===e.children[0].type&&0===H.trim(e.children[0].value).length)return e.hasDanglingSpaces=e.children.length>0,void(e.children=[]);let r=function Sn(t8){return V(t8)||"interpolation"===t8.type||or(t8)}(e),n=or(e);if(!r)for(let s=0;s{r.cssDisplay=function xn(t8,e){var n;if(Ce(t8,e))return"block";if("comment"===(null==(n=t8.prev)?void 0:n.type)){let s=t8.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/);if(s)return s[1]}let r=!1;if("element"===t8.type&&"svg"===t8.namespace){if(!function bi(t8,e){let r=t8;for(;r;){if(e(r))return!0;r=r.parent}return!1}(t8,(s=>"svg:foreignObject"===s.fullName)))return"svg"===t8.name?"inline-block":"block";r=!0}switch(e.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return"element"===t8.type&&(!t8.namespace||r||de(t8))&&fn[t8.name]||"inline"}}(r,e)}))},function Mi(t8){t8.walk((e=>{e.isSelfClosing=!e.children||"element"===e.type&&(e.tagDefinition.isVoid||e.endSourceSpan&&e.startSourceSpan.start===e.endSourceSpan.start&&e.startSourceSpan.end===e.endSourceSpan.end)}))},function qi(t8,e){t8.walk((r=>{"element"===r.type&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/.test(e.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))}))},function Vi(t8,e){t8.walk((r=>{let{children:n}=r;if(n){if(0===n.length)return void(r.isDanglingSpaceSensitive=An(r));for(let s of n)s.isLeadingSpaceSensitive=_n(s,e),s.isTrailingSpaceSensitive=En(s,e);for(let s=0;s{var n,s;return"element"===r.type&&0===r.attrs.length&&1===r.children.length&&"text"===r.firstChild.type&&!H.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&"text"===(null==(n=r.prev)?void 0:n.type)&&"text"===(null==(s=r.next)?void 0:s.type)};t8.walk((r=>{if(r.children)for(let n=0;n`+s.firstChild.value+``+a.value,i.sourceSpan=new f(i.sourceSpan.start,a.sourceSpan.end),i.isTrailingSpaceSensitive=a.isTrailingSpaceSensitive,i.hasTrailingSpaces=a.hasTrailingSpaces,r.removeChild(s),n--,r.removeChild(a)}}))}];var In=function Li(t8,e){for(let r of Bi)r(t8,e);return t8};function Rn(t8){return/^\s*/.test(t8)}function se(t8){return t8.sourceSpan.start.offset}function ie(t8){return t8.sourceSpan.end.offset}var On=async function Ui(t8,e){if("yaml"===t8.lang){let r=t8.value.trim(),n=r?await e(r,{parser:"yaml"}):"";return function en(t8){return Jr({type:"root"},t8)}([t8.startDelimiter,S,n,n?S:"",t8.endDelimiter])}},Mn=new Proxy((()=>{}),{get:()=>Mn}),gr=Mn;var xt=function Wi(t8){return Array.isArray(t8)&&t8.length>0};function Qe(t8,e){return[t8.isSelfClosing?"":zi(t8,e),Xe(t8,e)]}function zi(t8,e){return t8.lastChild&&Ae(t8.lastChild)?"":[Gi(t8,e),kt(t8,e)]}function Xe(t8,e){return(t8.next?j(t8.next):Ee(t8.parent))?"":[_e(t8,e),U(t8,e)]}function Gi(t8,e){return Ee(t8)?_e(t8.lastChild,e):""}function U(t8,e){return Ae(t8)?kt(t8.parent,e):Je(t8)?Bt(t8.next):""}function kt(t8,e){if(gr(!t8.isSelfClosing),qn(t8,e))return"";switch(t8.type){case"ieConditionalComment":return"\x3c!--\x3e";case"interpolation":return"}}";case"element":if(t8.isSelfClosing)return"/>";default:return">"}}function qn(t8,e){return!t8.isSelfClosing&&!t8.endSourceSpan&&(Ge(t8)||_t(t8.parent,e))}function j(t8){return t8.prev&&"docType"!==t8.prev.type&&"angularControlFlowBlock"!==t8.type&&!N(t8.prev)&&t8.isLeadingSpaceSensitive&&!t8.hasLeadingSpaces}function Ee(t8){var e;return(null==(e=t8.lastChild)?void 0:e.isTrailingSpaceSensitive)&&!t8.lastChild.hasTrailingSpaces&&!N(At(t8.lastChild))&&!ge(t8)}function Ae(t8){return!t8.next&&!t8.hasTrailingSpaces&&t8.isTrailingSpaceSensitive&&N(At(t8))}function Je(t8){return t8.next&&!N(t8.next)&&N(t8)&&t8.isTrailingSpaceSensitive&&!t8.hasTrailingSpaces}function Ze(t8){return!t8.prev&&t8.isLeadingSpaceSensitive&&!t8.hasLeadingSpaces}function ji(t8,e,r){var m;let{node:n}=t8;if(!xt(n.attrs))return n.isSelfClosing?" ":"";let s="comment"===(null==(m=n.prev)?void 0:m.type)&&function Yi(t8){let e=t8.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/s);return!!e&&(!e[1]||e[1].split(/\s+/))}(n.prev.value),i="boolean"==typeof s?()=>s:Array.isArray(s)?d=>s.includes(d.rawName):()=>!1,a=t8.map((({node:d})=>i(d)?T(e.originalText.slice(se(d),ie(d))):r()),"attrs"),o="element"===n.type&&"script"===n.fullName&&1===n.attrs.length&&"src"===n.attrs[0].fullName&&0===n.children.length,p=e.singleAttributePerLine&&n.attrs.length>1&&!Ce(n,e)?S:A,l=[R([o?" ":A,Y(p,a)])];return n.firstChild&&Ze(n.firstChild)||n.isSelfClosing&&Ee(n.parent)||o?l.push(n.isSelfClosing?" ":""):l.push(e.bracketSameLine?n.isSelfClosing?" ":"":n.isSelfClosing?A:b),l}function Ki(t8){return t8.firstChild&&Ze(t8.firstChild)?"":Lt(t8)}function et(t8,e,r){let{node:n}=t8;return[tt(n,e),ji(t8,e,r),n.isSelfClosing?"":Ki(n)]}function tt(t8,e){return t8.prev&&Je(t8.prev)?"":[W(t8,e),Bt(t8)]}function W(t8,e){return Ze(t8)?Lt(t8.parent):j(t8)?_e(t8.prev,e):""}function Bt(t8){switch(t8.type){case"ieConditionalComment":case"ieConditionalStartComment":return`\x3c!--[if ${t8.condition}`;case"ieConditionalEndComment":return"\x3c!--\x3c!--\x3e<${t8.rawName}`;default:return`<${t8.rawName}`}}function Lt(t8){switch(gr(!t8.isSelfClosing),t8.type){case"ieConditionalComment":return"]>";case"element":if(t8.condition)return">\x3c!--"}}var Cr=new WeakMap;var $e=function Qi(t8,e){let{root:r}=t8;return Cr.has(r)||Cr.set(r,r.children.some((n=>yt(n,e)&&["ts","typescript"].includes(n.attrMap.lang)))),Cr.get(r)};var Ft=function Xi(t8,e){if(!t8.endSourceSpan)return"";let r=t8.startSourceSpan.end.offset;t8.firstChild&&Ze(t8.firstChild)&&(r-=Lt(t8).length);let n=t8.endSourceSpan.start.offset;return t8.lastChild&&Ae(t8.lastChild)?n+=kt(t8,e).length:Ee(t8)&&(n-=_e(t8.lastChild,e).length),e.originalText.slice(r,n)};function Hn(t8){return"\t"===t8||"\n"===t8||"\f"===t8||"\r"===t8||" "===t8}var Ji=/^[ \t\n\r\u000c]+/,Zi=/^[, \t\n\r\u000c]+/,ea=/^[^ \t\n\r\u000c]+/,ta=/[,]+$/,Vn=/^\d+$/,ra=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/;var Un=function na(t8){let r,n,s,i,a,u,e=t8.length,o=0;function p(C){let _2,D=C.exec(t8.substring(o));if(D)return[_2]=D,o+=_2.length,_2}let l=[];for(;;){if(p(Zi),o>=e){if(0===l.length)throw new Error("Must contain one or more image candidate strings.");return l}u=o,r=p(ea),n=[],","===r.slice(-1)?(r=r.replace(ta,""),d()):m()}function m(){for(p(Ji),s="",i="in descriptor";;){if(a=t8.charAt(o),"in descriptor"===i)if(Hn(a))s&&(n.push(s),s="",i="after descriptor");else{if(","===a)return o+=1,s&&n.push(s),void d();if("("===a)s+=a,i="in parens";else{if(""===a)return s&&n.push(s),void d();s+=a}}else if("in parens"===i)if(")"===a)s+=a,i="in descriptor";else{if(""===a)return n.push(s),void d();s+=a}else if("after descriptor"===i&&!Hn(a)){if(""===a)return void d();i="in descriptor",o-=1}o+=1}}function d(){let _2,D,P2,B,g,y2,$,w2,q2,C=!1,c={};for(B=0;B{s=n(a,o)});let i=await e(t8,r,e);return s?E(i):De(i)}var Wn={width:"w",height:"h",density:"x"},ia=Object.keys(Wn);var zn=function sa(t8){if("srcset"===t8.node.fullName&&("img"===t8.parent.fullName||"source"===t8.parent.fullName))return()=>function aa(t8){let e=Un(t8),r=ia.filter((l=>e.some((m=>Object.prototype.hasOwnProperty.call(m,l)))));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,s=Wn[n],i=e.map((l=>l.source.value)),a=Math.max(...i.map((l=>l.length))),o=e.map((l=>l[n]?String(l[n].value):"")),u=o.map((l=>{let m=l.indexOf(".");return-1===m?l.length:m})),p=Math.max(...u);return De(Y([",",A],i.map(((l,m)=>{let d=[l],C=o[m];if(C){let _2=a-l.length+1,D=p-u[m],P2=" ".repeat(_2+D);d.push(fe(P2," "),C+s)}return d}))))}(L(t8.node))};var Gn=function oa(t8,e){let{node:r}=t8,n=L(r);if("class"===r.fullName&&!e.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/).join(" ")};function Yn(t8,e){let{node:r}=t8,n=L(t8.node).trim();if("style"===r.fullName&&!e.parentParser&&!n.includes("{{"))return async s=>De(await s(n,{parser:"css",__isHTMLStyleAttribute:!0}))}async function jn(t8,e,r,n){let s=L(r.node),{left:i,operator:a,right:o}=function ua(t8){let e=/(.*?)\s+(in|of)\s+(.*)/s,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/,n=/^\(|\)$/g,s=t8.match(e);if(!s)return;let i={};if(i.for=s[3].trim(),!i.for)return;let a=v(!1,s[1].trim(),n,""),o=a.match(r);o?(i.alias=a.replace(r,""),i.iterator1=o[1].trim(),o[2]&&(i.iterator2=o[2].trim())):i.alias=a;let u=[i.alias,i.iterator1,i.iterator2];if(!u.some(((p,l)=>!p&&(0===l||u.slice(l+1).some(Boolean)))))return{left:u.filter(Boolean).join(","),operator:s[2],right:i.for}}(s),u=$e(r,n);return[E(await x(`function _(${i}) {}`,t8,{parser:u?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",a," ",await x(o,t8,{parser:u?"__ts_expression":"__js_expression"})]}function Kn(t8,e,r){let{node:n}=r;return x(`type T<${L(n)}> = any`,t8,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},K)}function Jn(t8,e,{parseWithTs:r}){return x(t8,e,{parser:r?"__ts_expression":"__js_expression"},K)}var Zn=function la(t8,e){if("vue"!==e.parser)return;let{node:r}=t8,n=r.fullName;if("v-for"===n)return jn;if("generic"===n&&yt(r.parent,e))return Kn;let s=L(r),i=$e(t8,e);return function Bn(t8){let e=t8.fullName;return"#"===e.charAt(0)||"slot-scope"===e||"v-slot"===e||e.startsWith("v-slot:")}(r)||function Ln(t8,e){let r=t8.parent;if(!Ce(r,e))return!1;let n=r.fullName,s=t8.fullName;return"script"===n&&"setup"===s||"style"===n&&"vars"===s}(r,e)?a=>function Qn(t8,e,{parseWithTs:r}){return x(`function _(${t8}) {}`,e,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}(s,a,{parseWithTs:i}):n.startsWith("@")||n.startsWith("v-on:")?a=>function ca(t8,e,{parseWithTs:r}){return function Xn(t8){let n=t8.trim();return/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/.test(n)||/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*']|\["[^"]*"]|\[\d+]|\[[$_a-z][\w$]*])*$/i.test(n)}(t8)?Jn(t8,e,{parseWithTs:r}):x(t8,e,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},K)}(s,a,{parseWithTs:i}):n.startsWith(":")||n.startsWith("v-bind:")?a=>function pa(t8,e,{parseWithTs:r}){return x(t8,e,{parser:r?"__vue_ts_expression":"__vue_expression"},K)}(s,a,{parseWithTs:i}):n.startsWith("v-")?a=>Jn(s,a,{parseWithTs:i}):void 0},Sr=/{{(.+?)}}/s;function _r({parser:t8}){return(e,r,n)=>x(L(n.node),e,{parser:t8,trailingComma:"none"},K)}var ha=_r({parser:"__ng_action"}),fa=_r({parser:"__ng_binding"}),ma=_r({parser:"__ng_directive"});var ts=function da(t8,e){if("angular"!==e.parser)return;let{node:r}=t8,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return ha;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style)$/.test(n))return fa;if(n.startsWith("*"))return ma;let s=L(r);return/^i18n(?:-.+)?$/.test(n)?()=>De(gt(vt(r,s.trim())),!s.includes("@@")):Sr.test(s)?i=>async function es(t8,e){let r=[];for(let[n,s]of t8.split(Sr).entries())if(n%2==0)r.push(T(s));else try{r.push(E(["{{",R([A,await x(s,e,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),A,"}}"]))}catch{r.push("{{",T(s),"}}")}return r}(s,i):void 0};function Ca(t8){return async(e,r,n,s)=>{let i=await t8(e,r,n,s);if(i)return i=Ct(i,(a=>"string"==typeof a?v(!1,a,'"',"""):a)),[n.node.rawName,'="',E(i),'"']}}var rs=function ga(t8,e){let{node:r}=t8;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/.test(e.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||"lwc"===e.parser&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[zn,Yn,Gn,Zn,ts]){let s=n(t8,e);if(s)return Ca(s)}}};var ns=function Sa(t8,e,r,n){let{node:s}=r,i=n.originalText.slice(s.sourceSpan.start.offset,s.sourceSpan.end.offset);return/^\s*$/.test(i)?"":x(i,t8,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},K)},_a=new Set(["if","else if","for","switch","case"]);var ss=function Ea(t8,e){let{node:r}=t8;switch(r.type){case"element":if(V(r)||"interpolation"===r.type)return;if(!r.isSelfClosing&&Dt(r,e)){let n=lr(r,e);return n?async(s,i)=>{let a=Ft(r,e),o=/^\s*$/.test(a),u="";return o||(u=await s(ar(a),{parser:n,__embeddedInHtml:!0}),o=""===u),[W(r,e),E(et(t8,e,i)),o?"":S,u,o?"":S,Qe(r,e),U(r,e)]}:void 0}break;case"text":if(V(r.parent)){let n=lr(r.parent,e);if(n)return async s=>{let i="markdown"===n?cr(r.value.replace(/^[^\S\n]*\n/,"")):r.value,a={parser:n,__embeddedInHtml:!0};if("html"===e.parser&&"babel"===n){let o="script",{attrMap:u}=r.parent;u&&("module"===u.type||"text/babel"===u.type&&"module"===u["data-type"])&&(o="module"),a.__babelSourceType=o}return[re,W(r,e),await s(i,a,{stripTrailingHardline:!0}),U(r,e)]}}else if("interpolation"===r.parent.type)return async n=>{let s={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return"angular"===e.parser?(s.parser="__ng_interpolation",s.trailingComma="none"):"vue"===e.parser?s.parser=$e(t8,e)?"__vue_ts_expression":"__vue_expression":s.parser="__js_expression",[R([A,await n(r.value,s)]),r.parent.next&&j(r.parent.next)?" ":A]};break;case"attribute":return rs(t8,e);case"front-matter":return n=>On(r,n);case"angularControlFlowBlockParameters":return _a.has(t8.parent.name)?ns:void 0}};function rt(t8,e,r){let n=t8.node;return Ge(n)?[W(n,e),T(e.originalText.slice(se(n)+(n.prev&&Je(n.prev)?Bt(n).length:0),ie(n)-(n.next&&j(n.next)?_e(n,e).length:0))),U(n,e)]:r()}function Pt(t8,e){return N(t8)&&N(e)?t8.isTrailingSpaceSensitive?t8.hasTrailingSpaces?Et(e)?S:A:"":Et(e)?S:b:Je(t8)&&(Ge(e)||e.firstChild||e.isSelfClosing||"element"===e.type&&e.attrs.length>0)||"element"===t8.type&&t8.isSelfClosing&&j(e)?"":!e.isLeadingSpaceSensitive||Et(e)||j(e)&&t8.lastChild&&Ae(t8.lastChild)&&t8.lastChild.lastChild&&Ae(t8.lastChild.lastChild)?S:e.hasLeadingSpaces?A:b}function Oe(t8,e,r){let{node:n}=t8;if(ur(n))return[re,...t8.map((i=>{let a=i.node,o=a.prev?Pt(a.prev,a):"";return[o?[o,Ye(a.prev)?S:""]:"",rt(i,e,r)]}),"children")];let s=n.children.map((()=>Symbol("")));return t8.map(((i,a)=>{let o=i.node;if(N(o)){if(o.prev&&N(o.prev)){let _2=Pt(o.prev,o);if(_2)return Ye(o.prev)?[S,S,rt(i,e,r)]:[_2,rt(i,e,r)]}return rt(i,e,r)}let u=[],p=[],l=[],m=[],d=o.prev?Pt(o.prev,o):"",C=o.next?Pt(o,o.next):"";return d&&(Ye(o.prev)?u.push(S,S):d===S?u.push(S):N(o.prev)?p.push(d):p.push(fe("",b,{groupId:s[a-1]}))),C&&(Ye(o)?N(o.next)&&m.push(S,S):C===S?N(o.next)&&m.push(S):l.push(C)),[...u,E([...p,E([rt(i,e,r),...l],{id:s[a]})]),...m]}),"children")}function is(t8,e,r){let{node:n}=t8;if(_t(n,e))return[W(n,e),E(et(t8,e,r)),T(Ft(n,e)),...Qe(n,e),U(n,e)];let s=1===n.children.length&&"interpolation"===n.firstChild.type&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,i=Symbol("element-attr-group-id"),a=l=>E([E(et(t8,e,r),{id:i}),l,Qe(n,e)]);return 0===n.children.length?a(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?A:""):a([Dn(n)?re:"",(l=[s?fe(b,"",{groupId:i}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?A:"text"===n.firstChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive?function Zr(t8){return Jr(Number.NEGATIVE_INFINITY,t8)}(b):b,Oe(t8,e,r)],s?function tn(t8,e){return{type:pe,contents:t8,groupId:e.groupId,negate:e.negate}}(l,{groupId:i}):!V(n)&&!Ke(n,e)||"root"!==n.parent.type||"vue"!==e.parser||e.vueIndentScriptAndStyle?R(l):l),(n.next?j(n.next):Ee(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":s?fe(b,"",{groupId:i}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?A:("comment"===n.lastChild.type||"text"===n.lastChild.type&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${e.tabWidth*(t8.ancestors.length-1)}}$`).test(n.lastChild.value)?"":b]);var l}var as=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]);function os(t8,e,r){let{node:n}=t8,s=[];(function Aa(t8){let{previous:e}=t8;return"angularControlFlowBlock"===e?.type&&!us(t8.previous)})(t8)&&s.push("} "),s.push("@",n.name),n.parameters&&s.push(" (",E(r("parameters")),")"),s.push(" {");let i=us(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,s.push(R([S,Oe(t8,e,r)])),i&&s.push(S,"}")):i&&s.push("}"),E(s,{shouldBreak:!0})}function us(t8){var e,r;return!("angularControlFlowBlock"===(null==(e=t8.next)?void 0:e.type)&&null!=(r=as.get(t8.name))&&r.has(t8.next.name))}var nt=null;function st(t8){if(null!==nt&&(nt.property,1)){let e=nt;return nt=st.prototype=null,e}return nt=st.prototype=t8??Object.create(null),new st}for(let t8=0;t8<=10;t8++)st();var cs=function va(t8,e="type"){return function Er(t8){return st(t8)}(t8),function r(n){let s=n[e],i=t8[s];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${s}'.`),{node:n});return i}};var ms,ds,Ta={preprocess:In,print:function ba(t8,e,r){let{node:n}=t8;switch(n.type){case"front-matter":return T(n.raw);case"root":return e.__onHtmlRoot&&e.__onHtmlRoot(n),[E(Oe(t8,e,r)),S];case"element":case"ieConditionalComment":return is(t8,e,r);case"angularControlFlowBlock":return os(t8,e,r);case"angularControlFlowBlockParameters":return function ls(t8,e,r){return[R([b,Y([";",A],t8.map(r,"children"))]),b]}(t8,0,r);case"angularControlFlowBlockParameter":return H.trim(n.expression);case"ieConditionalStartComment":case"ieConditionalEndComment":return[tt(n),Xe(n)];case"interpolation":return[tt(n,e),...t8.map(r,"children"),Xe(n,e)];case"text":{if("interpolation"===n.parent.type){let i=/\n[^\S\n]*$/,a=i.test(n.value);return[T(a?n.value.replace(i,""):n.value),a?S:""]}let s=nn([W(n,e),...vt(n),U(n,e)]);return Array.isArray(s)?gt(s):s}case"docType":return[E([tt(n,e)," ",v(!1,n.value.replace(/^html\b/i,"html"),/\s+/g," ")]),Xe(n,e)];case"comment":return[W(n,e),T(e.originalText.slice(se(n),ie(n))),U(n,e)];case"attribute":{if(null===n.value)return n.rawName;let s=pr(n.value),i=on(s,'"');return[n.rawName,"=",i,T('"'===i?v(!1,s,'"',"""):v(!1,s,"'","'")),i]}default:throw new sn(n,"HTML")}},insertPragma:function $n(t8){return"\x3c!-- @format --\x3e\n\n"+t8},massageAstNode:cn,embed:ss,getVisitorKeys:cs({"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[]})},fs=Ta,Hr={};Yr(Hr,{angular:()=>vo,html:()=>Do,lwc:()=>wo,vue:()=>yo}),function(t8){t8[t8.Emulated=0]="Emulated",t8[t8.None=2]="None",t8[t8.ShadowDom=3]="ShadowDom"}(ms||(ms={})),function(t8){t8[t8.OnPush=0]="OnPush",t8[t8.Default=1]="Default"}(ds||(ds={}));var X,gs,F,It,Ar_name="custom-elements",Dr_name="no-errors-schema";function it(t8){if(":"!=t8[0])return[null,t8];let e=t8.indexOf(":",1);if(-1===e)throw new Error(`Unsupported format "${t8}" expecting ":namespace:name"`);return[t8.slice(1,e),t8.slice(e+1)]}function vr(t8){return"ng-container"===it(t8)[1]}function yr(t8){return"ng-content"===it(t8)[1]}function Me(t8){return null===t8?null:it(t8)[0]}function qe(t8,e){return t8?`:${t8}:${e}`:e}function wr(){return It||(It={},Nt(X.HTML,["iframe|srcdoc","*|innerHTML","*|outerHTML"]),Nt(X.STYLE,["*|style"]),Nt(X.URL,["*|formAction","area|href","area|ping","audio|src","a|href","a|ping","blockquote|cite","body|background","del|cite","form|action","img|src","input|src","ins|cite","q|cite","source|src","track|src","video|poster","video|src"]),Nt(X.RESOURCE_URL,["applet|code","applet|codebase","base|href","embed|src","frame|src","head|profile","html|manifest","iframe|src","link|href","media|src","object|codebase","object|data","script|src"])),It}function Nt(t8,e){for(let r of e)It[r.toLowerCase()]=t8}!function(t8){t8[t8.NONE=0]="NONE",t8[t8.HTML=1]="HTML",t8[t8.STYLE=2]="STYLE",t8[t8.SCRIPT=3]="SCRIPT",t8[t8.URL=4]="URL",t8[t8.RESOURCE_URL=5]="RESOURCE_URL"}(X||(X={})),function(t8){t8[t8.Error=0]="Error",t8[t8.Warning=1]="Warning",t8[t8.Ignore=2]="Ignore"}(gs||(gs={})),function(t8){t8[t8.RAW_TEXT=0]="RAW_TEXT",t8[t8.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",t8[t8.PARSABLE_DATA=2]="PARSABLE_DATA"}(F||(F={}));var Rt=class{},Fa=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|"],Cs=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),Pa=Array.from(Cs).reduce(((t8,[e,r])=>(t8.set(e,r),t8)),new Map),$t=class extends Rt{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Fa.forEach((e=>{let r=new Map,n=new Set,[s,i]=e.split("|"),a=i.split(","),[o,u]=s.split("^");o.split(",").forEach((l=>{this._schema.set(l.toLowerCase(),r),this._eventSchema.set(l.toLowerCase(),n)}));let p=u&&this._schema.get(u.toLowerCase());if(p){for(let[l,m]of p)r.set(l,m);for(let l of this._eventSchema.get(u.toLowerCase()))n.add(l)}a.forEach((l=>{if(l.length>0)switch(l[0]){case"*":n.add(l.substring(1));break;case"!":r.set(l.substring(1),"boolean");break;case"#":r.set(l.substring(1),"number");break;case"%":r.set(l.substring(1),"object");break;default:r.set(l,"string")}}))}))}hasProperty(e,r,n){if(n.some((i=>i.name===Dr_name)))return!0;if(e.indexOf("-")>-1){if(vr(e)||yr(e))return!1;if(n.some((i=>i.name===Ar_name)))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(r)}hasElement(e,r){return!!(r.some((n=>n.name===Dr_name))||e.indexOf("-")>-1&&(vr(e)||yr(e)||r.some((n=>n.name===Ar_name))))||this._schema.has(e.toLowerCase())}securityContext(e,r,n){n&&(r=this.getMappedPropName(r)),e=e.toLowerCase(),r=r.toLowerCase();let s=wr()[e+"|"+r];return s||(s=wr()["*|"+r],s||X.NONE)}getMappedPropName(e){return Cs.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...\nIf '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let r=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(r.keys()).map((n=>Pa.get(n)??n))}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return function Nn(t8){return t8.replace(ki,((...e)=>e[1].toUpperCase()))}(e)}normalizeAnimationStyleValue(e,r,n){let s="",i=n.toString().trim(),a=null;if(function Na(t8){switch(t8){case"width":case"height":case"minWidth":case"minHeight":case"maxWidth":case"maxHeight":case"left":case"top":case"bottom":case"right":case"fontSize":case"outlineWidth":case"outlineOffset":case"paddingTop":case"paddingLeft":case"paddingBottom":case"paddingRight":case"marginTop":case"marginLeft":case"marginBottom":case"marginRight":case"borderRadius":case"borderWidth":case"borderTopWidth":case"borderLeftWidth":case"borderRightWidth":case"borderBottomWidth":case"textIndent":return!0;default:return!1}}(e)&&0!==n&&"0"!==n)if("number"==typeof n)s="px";else{let o=n.match(/^[+-]?[\d\.]+([a-z]*)$/);o&&0==o[1].length&&(a=`Please provide a CSS unit value for ${r}:${n}`)}return{error:a,value:i+s}}};var Ss,at,h=class{constructor({closedByChildren:e,implicitNamespacePrefix:r,contentType:n=F.PARSABLE_DATA,closedByParent:s=!1,isVoid:i=!1,ignoreFirstLf:a=!1,preventNamespaceInheritance:o=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach((p=>this.closedByChildren[p]=!0)),this.isVoid=i,this.closedByParent=s||i,this.implicitNamespacePrefix=r||null,this.contentType=n,this.ignoreFirstLf=a,this.preventNamespaceInheritance=o,this.canSelfClose=u??i}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return"object"==typeof this.contentType?(void 0===e?void 0:this.contentType[e])??this.contentType.default:this.contentType}};function He(t8){return at||(Ss=new h({canSelfClose:!0}),at=Object.assign(Object.create(null),{base:new h({isVoid:!0}),meta:new h({isVoid:!0}),area:new h({isVoid:!0}),embed:new h({isVoid:!0}),link:new h({isVoid:!0}),img:new h({isVoid:!0}),input:new h({isVoid:!0}),param:new h({isVoid:!0}),hr:new h({isVoid:!0}),br:new h({isVoid:!0}),source:new h({isVoid:!0}),track:new h({isVoid:!0}),wbr:new h({isVoid:!0}),p:new h({closedByChildren:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","nav","ol","p","pre","section","table","ul"],closedByParent:!0}),thead:new h({closedByChildren:["tbody","tfoot"]}),tbody:new h({closedByChildren:["tbody","tfoot"],closedByParent:!0}),tfoot:new h({closedByChildren:["tbody"],closedByParent:!0}),tr:new h({closedByChildren:["tr"],closedByParent:!0}),td:new h({closedByChildren:["td","th"],closedByParent:!0}),th:new h({closedByChildren:["td","th"],closedByParent:!0}),col:new h({isVoid:!0}),svg:new h({implicitNamespacePrefix:"svg"}),foreignObject:new h({implicitNamespacePrefix:"svg",preventNamespaceInheritance:!0}),math:new h({implicitNamespacePrefix:"math"}),li:new h({closedByChildren:["li"],closedByParent:!0}),dt:new h({closedByChildren:["dt","dd"]}),dd:new h({closedByChildren:["dt","dd"],closedByParent:!0}),rb:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rt:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),rtc:new h({closedByChildren:["rb","rtc","rp"],closedByParent:!0}),rp:new h({closedByChildren:["rb","rt","rtc","rp"],closedByParent:!0}),optgroup:new h({closedByChildren:["optgroup"],closedByParent:!0}),option:new h({closedByChildren:["option","optgroup"],closedByParent:!0}),pre:new h({ignoreFirstLf:!0}),listing:new h({ignoreFirstLf:!0}),style:new h({contentType:F.RAW_TEXT}),script:new h({contentType:F.RAW_TEXT}),title:new h({contentType:{default:F.ESCAPABLE_RAW_TEXT,svg:F.PARSABLE_DATA}}),textarea:new h({contentType:F.ESCAPABLE_RAW_TEXT,ignoreFirstLf:!0})}),(new $t).allKnownElementNames().forEach((e=>{!at[e]&&null===Me(e)&&(at[e]=new h({canSelfClose:!1}))}))),at[t8]??Ss}var ve=class{constructor(e,r){this.sourceSpan=e,this.i18n=r}},Ot=class extends ve{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="text"}visit(e,r){return e.visitText(this,r)}},Mt=class extends ve{constructor(e,r,n,s){super(r,s),this.value=e,this.tokens=n,this.type="cdata"}visit(e,r){return e.visitCdata(this,r)}},qt=class extends ve{constructor(e,r,n,s,i,a){super(s,a),this.switchValue=e,this.type=r,this.cases=n,this.switchValueSourceSpan=i}visit(e,r){return e.visitExpansion(this,r)}},Ht=class{constructor(e,r,n,s,i){this.value=e,this.expression=r,this.sourceSpan=n,this.valueSourceSpan=s,this.expSourceSpan=i}visit(e,r){return e.visitExpansionCase(this,r)}},Vt=class extends ve{constructor(e,r,n,s,i,a,o){super(n,o),this.name=e,this.value=r,this.keySpan=s,this.valueSpan=i,this.valueTokens=a,this.type="attribute"}visit(e,r){return e.visitAttribute(this,r)}get nameSpan(){return this.keySpan}},z=class extends ve{constructor(e,r,n,s,i,a=null,o=null,u){super(s,u),this.name=e,this.attrs=r,this.children=n,this.startSourceSpan=i,this.endSourceSpan=a,this.nameSpan=o,this.type="element"}visit(e,r){return e.visitElement(this,r)}},Ut=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="comment"}visit(e,r){return e.visitComment(this,r)}},Wt=class{constructor(e,r){this.value=e,this.sourceSpan=r,this.type="docType"}visit(e,r){return e.visitDocType(this,r)}},J=class{constructor(e,r,n,s,i,a=null){this.name=e,this.parameters=r,this.children=n,this.sourceSpan=s,this.startSourceSpan=i,this.endSourceSpan=a,this.type="block"}visit(e,r){return e.visitBlock(this,r)}},ot=class{constructor(e,r){this.expression=e,this.sourceSpan=r,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,r){return e.visitBlockParameter(this,r)}};function zt(t8,e,r=null){let n=[],s=t8.visit?i=>t8.visit(i,r)||i.visit(t8,r):i=>i.visit(t8,r);return e.forEach((i=>{let a=s(i);a&&n.push(a)})),n}var ut=class{constructor(){}visitElement(e,r){this.visitChildren(r,(n=>{n(e.attrs),n(e.children)}))}visitAttribute(e,r){}visitText(e,r){}visitCdata(e,r){}visitComment(e,r){}visitDocType(e,r){}visitExpansion(e,r){return this.visitChildren(r,(n=>{n(e.cases)}))}visitExpansionCase(e,r){}visitBlock(e,r){this.visitChildren(r,(n=>{n(e.parameters),n(e.children)}))}visitBlockParameter(e,r){}visitChildren(e,r){let n=[],s=this;return r((function i(a){a&&n.push(zt(s,a,e))})),Array.prototype.concat.apply([],n)}},Ve={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:"\n",Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:"\t",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"};Ve.ngsp="";var $a=[/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//];var Tr=new class t2{static fromArray(e){return e?(function _s(t8,e){if(null!=e&&(!Array.isArray(e)||2!=e.length))throw new Error(`Expected '${t8}' to be an array, [start, end].`);if(null!=e){let r=e[0],n=e[1];$a.forEach((s=>{if(s.test(r)||s.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)}))}}("interpolation",e),new t2(e[0],e[1])):Tr}constructor(e,r){this.start=e,this.end=r}}("{{","}}"),ct=class extends Re{constructor(e,r,n){super(n,e),this.tokenType=r}},Fr=class{constructor(e,r,n){this.tokens=e,this.errors=r,this.nonNormalizedIcuExpressions=n}};var jt,ro=/\r\n?/g;function Ue(t8){return`Unexpected character "${0===t8?"EOF":String.fromCharCode(t8)}"`}function ws(t8){return`Unknown entity "${t8}" - use the "&#;" or "&#x;" syntax`}!function(t8){t8.HEX="hexadecimal",t8.DEC="decimal"}(jt||(jt={}));var pt=class{constructor(e){this.error=e}},Pr=class{constructor(e,r,n){this._getTagContentType=r,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=n.tokenizeExpansionForms||!1,this._interpolationConfig=n.interpolationConfig||Tr,this._leadingTriviaCodePoints=n.leadingTriviaChars&&n.leadingTriviaChars.map((i=>i.codePointAt(0)||0)),this._canSelfClose=n.canSelfClose||!1,this._allowHtmComponentClosingTags=n.allowHtmComponentClosingTags||!1;let s=n.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=n.escapedString?new Nr(e,s):new Kt(e,s),this._preserveLineEndings=n.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=n.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=n.tokenizeBlocks??!0;try{this._cursor.init()}catch(i){this.handleError(i)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(ro,"\n")}tokenize(){for(;0!==this._cursor.peek();){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let r=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=r,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):!this._tokenizeBlocks||this._inInterpolation||this._isInExpansionCase()||this._isInExpansionForm()||!this._attemptCharCode(125)?this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,(()=>this._isTextEnd()),(()=>this._isTagStart())):this._consumeBlockEnd(e)}catch(r){this.handleError(r)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,r=this._cursor.clone();return this._attemptCharCodeUntilFn((n=>wt(n)?!e:!xs(n)||(e=!0,!1))),this._cursor.getChars(r).trim()}_consumeBlockStart(e){this._beginToken(25,e);let r=this._endToken([this._getBlockName()]);if(40===this._cursor.peek()){if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(k),!this._attemptCharCode(41))return void(r.type=29);this._attemptCharCodeUntilFn(k)}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):r.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(ks);41!==this._cursor.peek()&&0!==this._cursor.peek();){this._beginToken(28);let e=this._cursor.clone(),r=null,n=0;for(;59!==this._cursor.peek()&&0!==this._cursor.peek()||null!==r;){let s=this._cursor.peek();if(92===s)this._cursor.advance();else if(s===r)r=null;else if(null===r&&dr(s))r=s;else if(40===s&&null===r)n++;else if(41===s&&null===r){if(0===n)break;n>0&&n--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(ks)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(function oo(t8){return 125!==t8}(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(125===this._cursor.peek()){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,r=this._cursor.clone()){this._currentTokenStart=r,this._currentTokenType=e}_endToken(e,r){if(null===this._currentTokenStart)throw new ct("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(r));if(null===this._currentTokenType)throw new ct("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let n={type:this._currentTokenType,parts:e,sourceSpan:(r??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(n),this._currentTokenStart=null,this._currentTokenType=null,n}_createError(e,r){this._isInExpansionForm()&&(e+=' (Do you have an unescaped "{" in your template? Use "{{ \'{\' }}") to escape it.)');let n=new ct(e,this._currentTokenType,r);return this._currentTokenStart=null,this._currentTokenType=null,new pt(n)}handleError(e){if(e instanceof ht&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),!(e instanceof pt))throw e;this.errors.push(e.error)}_attemptCharCode(e){return this._cursor.peek()===e&&(this._cursor.advance(),!0)}_attemptCharCodeCaseInsensitive(e){return!!function uo(t8,e){return Ts(t8)===Ts(e)}(this._cursor.peek(),e)&&(this._cursor.advance(),!0)}_requireCharCode(e){let r=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Ue(this._cursor.peek()),this._cursor.getSpan(r))}_attemptStr(e){let r=e.length;if(this._cursor.charsLeft()this._attemptStr("--\x3e"))),this._beginToken(11),this._requireStr("--\x3e"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,(()=>this._attemptStr("]]>"))),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,(()=>62===this._cursor.peek())),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let n,e=this._cursor.clone(),r="";for(;58!==this._cursor.peek()&&!so(this._cursor.peek());)this._cursor.advance();return 58===this._cursor.peek()?(r=this._cursor.getChars(e),this._cursor.advance(),n=this._cursor.clone()):n=e,this._requireCharCodeUntilFn(bs,""===r?0:1),[r,this._cursor.getChars(n)]}_consumeTagOpen(e){let r,n,s,i=[];try{if(!bt(this._cursor.peek()))throw this._createError(Ue(this._cursor.peek()),this._cursor.getSpan(e));for(s=this._consumeTagOpenStart(e),n=s.parts[0],r=s.parts[1],this._attemptCharCodeUntilFn(k);47!==this._cursor.peek()&&62!==this._cursor.peek()&&60!==this._cursor.peek()&&0!==this._cursor.peek();){let[o,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(k),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(k);let p=this._consumeAttributeValue();i.push({prefix:o,name:u,value:p})}else i.push({prefix:o,name:u});this._attemptCharCodeUntilFn(k)}this._consumeTagOpenEnd()}catch(o){if(o instanceof pt)return void(s?s.type=4:(this._beginToken(5,e),this._endToken(["<"])));throw o}if(this._canSelfClose&&2===this.tokens[this.tokens.length-1].type)return;let a=this._getTagContentType(r,n,this._fullNameStack.length>0,i);this._handleFullNameStackForTagOpen(n,r),a===F.RAW_TEXT?this._consumeRawTextWithTagClose(n,r,!1):a===F.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(n,r,!0)}_consumeRawTextWithTagClose(e,r,n){this._consumeRawText(n,(()=>!!(this._attemptCharCode(60)&&this._attemptCharCode(47)&&(this._attemptCharCodeUntilFn(k),this._attemptStrCaseInsensitive(e?`${e}:${r}`:r)))&&(this._attemptCharCodeUntilFn(k),this._attemptCharCode(62)))),this._beginToken(3),this._requireCharCodeUntilFn((s=>62===s),3),this._cursor.advance(),this._endToken([e,r]),this._handleFullNameStackForTagClose(e,r)}_consumeTagOpenStart(e){this._beginToken(0,e);let r=this._consumePrefixAndName();return this._endToken(r)}_consumeAttributeName(){let e=this._cursor.peek();if(39===e||34===e)throw this._createError(Ue(e),this._cursor.getSpan());this._beginToken(14);let r=this._consumePrefixAndName();return this._endToken(r),r}_consumeAttributeValue(){let e;if(39===this._cursor.peek()||34===this._cursor.peek()){let r=this._cursor.peek();this._consumeQuote(r);let n=()=>this._cursor.peek()===r;e=this._consumeWithInterpolation(16,17,n,n),this._consumeQuote(r)}else{let r=()=>bs(this._cursor.peek());e=this._consumeWithInterpolation(16,17,r,r)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(k),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(k),this._requireCharCode(62),this._endToken([]);else{let[r,n]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(k),this._requireCharCode(62),this._endToken([r,n]),this._handleFullNameStackForTagClose(r,n)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),r=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([r]);else{let s=this._endToken([e]);r!==e&&this.nonNormalizedIcuExpressions.push(s)}this._requireCharCode(44),this._attemptCharCodeUntilFn(k),this._beginToken(7);let n=this._readUntil(44);this._endToken([n]),this._requireCharCode(44),this._attemptCharCodeUntilFn(k)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(k),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(k),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(k),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,r,n,s){this._beginToken(e);let i=[];for(;!n();){let o=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(i.join(""))],o),i.length=0,this._consumeInterpolation(r,o,s),this._beginToken(e)):38===this._cursor.peek()?(this._endToken([this._processCarriageReturns(i.join(""))]),i.length=0,this._consumeEntity(e),this._beginToken(e)):i.push(this._readChar())}this._inInterpolation=!1;let a=this._processCarriageReturns(i.join(""));return this._endToken([a]),a}_consumeInterpolation(e,r,n){let s=[];this._beginToken(e,r),s.push(this._interpolationConfig.start);let i=this._cursor.clone(),a=null,o=!1;for(;0!==this._cursor.peek()&&(null===n||!n());){let u=this._cursor.clone();if(this._isTagStart())return this._cursor=u,s.push(this._getProcessedChars(i,u)),void this._endToken(s);if(null===a){if(this._attemptStr(this._interpolationConfig.end))return s.push(this._getProcessedChars(i,u)),s.push(this._interpolationConfig.end),void this._endToken(s);this._attemptStr("//")&&(o=!0)}let p=this._cursor.peek();this._cursor.advance(),92===p?this._cursor.advance():p===a?a=null:!o&&null===a&&dr(p)&&(a=p)}s.push(this._getProcessedChars(i,this._cursor)),this._endToken(s)}_getProcessedChars(e,r){return this._processCarriageReturns(r.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||0===this._cursor.peek()||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||125===this._cursor.peek()&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||125===this._cursor.peek()))}_isTagStart(){if(60===this._cursor.peek()){let e=this._cursor.clone();e.advance();let r=e.peek();if(97<=r&&r<=122||65<=r&&r<=90||47===r||33===r)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&64===this._cursor.peek()){let e=this._cursor.clone();if(e.advance(),xs(e.peek()))return!0}return!1}_readUntil(e){let r=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(r)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&22===this._expansionCaseStack[this._expansionCaseStack.length-1]}_isInExpansionForm(){return this._expansionCaseStack.length>0&&20===this._expansionCaseStack[this._expansionCaseStack.length-1]}isExpansionFormStart(){if(123!==this._cursor.peek())return!1;if(this._interpolationConfig){let e=this._cursor.clone(),r=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!r}return!0}_handleFullNameStackForTagOpen(e,r){let n=qe(e,r);(0===this._fullNameStack.length||this._fullNameStack[this._fullNameStack.length-1]===n)&&this._fullNameStack.push(n)}_handleFullNameStackForTagClose(e,r){let n=qe(e,r);0!==this._fullNameStack.length&&this._fullNameStack[this._fullNameStack.length-1]===n&&this._fullNameStack.pop()}};function k(t8){return!wt(t8)||0===t8}function bs(t8){return wt(t8)||62===t8||60===t8||47===t8||39===t8||34===t8||61===t8||0===t8}function so(t8){return(t8<97||12257)}function io(t8){return 59===t8||0===t8||!function Fn(t8){return t8>=97&&t8<=102||t8>=65&&t8<=70||hr(t8)}(t8)}function ao(t8){return 59===t8||0===t8||!bt(t8)}function Ts(t8){return t8>=97&&t8<=122?t8-97+65:t8}function xs(t8){return bt(t8)||hr(t8)||95===t8}function ks(t8){return 59!==t8&&k(t8)}var Kt=class t3{constructor(e,r){if(e instanceof t3){this.file=e.file,this.input=e.input,this.end=e.end;let n=e.state;this.state={peek:n.peek,offset:n.offset,line:n.line,column:n.column}}else{if(!r)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=r.endPos,this.state={peek:-1,offset:r.startPos,line:r.startLine,column:r.startCol}}}clone(){return new t3(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,r){let n=e=e||this;if(r)for(;this.diff(e)>0&&-1!==r.indexOf(e.peek());)n===e&&(e=e.clone()),e.advance();let s=this.locationFromCursor(e),i=this.locationFromCursor(this),a=n!==e?this.locationFromCursor(n):s;return new f(s,i,a)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new ht('Unexpected character "EOF"',this);let r=this.charAt(e.offset);10===r?(e.line++,e.column=0):fr(r)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new ne(e.file,e.state.offset,e.state.line,e.state.column)}},Nr=class t4 extends Kt{constructor(e,r){e instanceof t4?(super(e),this.internalState={...e.internalState}):(super(e,r),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new t4(this)}getChars(e){let r=e.clone(),n="";for(;r.internalState.offsetthis.internalState.peek;if(92===e())if(this.internalState={...this.state},this.advanceState(this.internalState),110===e())this.state.peek=10;else if(114===e())this.state.peek=13;else if(118===e())this.state.peek=11;else if(116===e())this.state.peek=9;else if(98===e())this.state.peek=8;else if(102===e())this.state.peek=12;else if(117===e())if(this.advanceState(this.internalState),123===e()){this.advanceState(this.internalState);let r=this.clone(),n=0;for(;125!==e();)this.advanceState(this.internalState),n++;this.state.peek=this.decodeHexDigits(r,n)}else{let r=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,4)}else if(120===e()){this.advanceState(this.internalState);let r=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(r,2)}else if(mr(e())){let r="",n=0,s=this.clone();for(;mr(e())&&n<3;)s=this.clone(),r+=String.fromCodePoint(e()),this.advanceState(this.internalState),n++;this.state.peek=parseInt(r,8),this.internalState=s.internalState}else fr(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,r){let n=this.input.slice(e.internalState.offset,e.internalState.offset+r),s=parseInt(n,16);if(isNaN(s))throw e.state=e.internalState,new ht("Invalid hexadecimal escape sequence",e);return s}},ht=class{constructor(e,r){this.msg=e,this.cursor=r}},I=class t5 extends Re{static create(e,r,n){return new t5(e,r,n)}constructor(e,r,n){super(r,n),this.elementName=e}},$r=class{constructor(e,r){this.rootNodes=e,this.errors=r}},Qt=class{constructor(e){this.getTagDefinition=e}parse(e,r,n,s=!1,i){let a=D=>(P2,...B)=>D(P2.toLowerCase(),...B),o=s?this.getTagDefinition:a(this.getTagDefinition),u=D=>o(D).getContentType(),p=s?i:a(i),m=function Ps(t8,e,r,n={}){let s=new Pr(new Se(t8,e),r,n);return s.tokenize(),new Fr(function lo(t8){let r,e=[];for(let n=0;n{let g=p(D,P2,B,c);return void 0!==g?g:u(D)}:u,n),d=n&&n.canSelfClose||!1,C=n&&n.allowHtmComponentClosingTags||!1,_2=new Or(m.tokens,o,d,C,s);return _2.build(),new $r(_2.rootNodes,m.errors.concat(_2.errors))}},Or=class t6{constructor(e,r,n,s,i){this.tokens=e,this.getTagDefinition=r,this.canSelfClose=n,this.allowHtmComponentClosingTags=s,this.isTagNameCaseSensitive=i,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;30!==this._peek.type;)0===this._peek.type||4===this._peek.type?this._consumeStartTag(this._advance()):3===this._peek.type?(this._closeVoidElement(),this._consumeEndTag(this._advance())):12===this._peek.type?(this._closeVoidElement(),this._consumeCdata(this._advance())):10===this._peek.type?(this._closeVoidElement(),this._consumeComment(this._advance())):5===this._peek.type||7===this._peek.type||6===this._peek.type?(this._closeVoidElement(),this._consumeText(this._advance())):20===this._peek.type?this._consumeExpansion(this._advance()):25===this._peek.type?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):27===this._peek.type?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):29===this._peek.type?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):18===this._peek.type?this._consumeDocType(this._advance()):this._advance();for(let e of this._containerStack)e instanceof J&&this.errors.push(I.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(i.errors),null;let a=new f(e.sourceSpan.start,s.sourceSpan.end,e.sourceSpan.fullStart),o=new f(r.sourceSpan.start,s.sourceSpan.end,r.sourceSpan.fullStart);return new Ht(e.parts[0],i.rootNodes,a,e.sourceSpan,o)}_collectExpansionExpTokens(e){let r=[],n=[22];for(;;){if((20===this._peek.type||22===this._peek.type)&&n.push(this._peek.type),23===this._peek.type){if(!Ns(n,22))return this.errors.push(I.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(n.pop(),0===n.length)return r}if(24===this._peek.type){if(!Ns(n,20))return this.errors.push(I.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;n.pop()}if(30===this._peek.type)return this.errors.push(I.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;r.push(this._advance())}}_getText(e){let r=e.parts[0];if(r.length>0&&"\n"==r[0]){let n=this._getClosestParentElement();null!=n&&0==n.children.length&&this.getTagDefinition(n.name).ignoreFirstLf&&(r=r.substring(1))}return r}_consumeText(e){let r=[e],n=e.sourceSpan,s=e.parts[0];if(s.length>0&&"\n"===s[0]){let i=this._getContainer();null!=i&&0===i.children.length&&this.getTagDefinition(i.name).ignoreFirstLf&&(s=s.substring(1),r[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[s]})}for(;8===this._peek.type||5===this._peek.type||9===this._peek.type;)e=this._advance(),r.push(e),8===e.type?s+=e.parts.join("").replace(/&([^;]+);/g,Is):9===e.type?s+=e.parts[0]:s+=e.parts.join("");if(s.length>0){let i=e.sourceSpan;this._addToParent(new Ot(s,new f(n.start,i.end,n.fullStart,n.details),r))}}_closeVoidElement(){let e=this._getContainer();e instanceof z&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[r,n]=e.parts,s=[];for(;14===this._peek.type;)s.push(this._consumeAttr(this._advance()));let i=this._getElementFullName(r,n,this._getClosestParentElement()),a=!1;if(2===this._peek.type){this._advance(),a=!0;let C=this.getTagDefinition(i);this.canSelfClose||C.canSelfClose||null!==Me(i)||C.isVoid||this.errors.push(I.create(i,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else 1===this._peek.type&&(this._advance(),a=!1);let o=this._peek.sourceSpan.fullStart,u=new f(e.sourceSpan.start,o,e.sourceSpan.fullStart),p=new f(e.sourceSpan.start,o,e.sourceSpan.fullStart),l=new f(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),m=new z(i,s,[],u,p,void 0,l),d=this._getContainer();this._pushContainer(m,d instanceof z&&this.getTagDefinition(d.name).isClosedByChild(m.name)),a?this._popContainer(i,z,u):4===e.type&&(this._popContainer(i,z,null),this.errors.push(I.create(i,u,`Opening tag "${i}" not terminated.`)))}_pushContainer(e,r){r&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let r=this.allowHtmComponentClosingTags&&0===e.parts.length?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(r&&this.getTagDefinition(r).isVoid)this.errors.push(I.create(r,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(r,z,e.sourceSpan)){let n=`Unexpected closing tag "${r}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(I.create(r,e.sourceSpan,n))}}_popContainer(e,r,n){let s=!1;for(let i=this._containerStack.length-1;i>=0;i--){let a=this._containerStack[i];if(Me(a.name)?a.name===e:(null==e||a.name.toLowerCase()===e.toLowerCase())&&a instanceof r)return a.endSourceSpan=n,a.sourceSpan.end=null!==n?n.end:a.sourceSpan.end,this._containerStack.splice(i,this._containerStack.length-i),!s;(a instanceof J||a instanceof z&&!this.getTagDefinition(a.name).closedByParent)&&(s=!0)}return!1}_consumeAttr(e){let s,r=qe(e.parts[0],e.parts[1]),n=e.sourceSpan.end;15===this._peek.type&&(s=this._advance());let o,u,i="",a=[];if(16===this._peek.type)for(o=this._peek.sourceSpan,u=this._peek.sourceSpan.end;16===this._peek.type||17===this._peek.type||9===this._peek.type;){let m=this._advance();a.push(m),17===m.type?i+=m.parts.join("").replace(/&([^;]+);/g,Is):9===m.type?i+=m.parts[0]:i+=m.parts.join(""),u=n=m.sourceSpan.end}15===this._peek.type&&(u=n=this._advance().sourceSpan.end);let l=o&&u&&new f(s?.sourceSpan.start??o.start,u,s?.sourceSpan.fullStart??o.fullStart);return new Vt(r,i,new f(e.sourceSpan.start,n,e.sourceSpan.fullStart),e.sourceSpan,l,a.length>0?a:void 0,void 0)}_consumeBlockOpen(e){let r=[];for(;28===this._peek.type;){let o=this._advance();r.push(new ot(o.parts[0],o.sourceSpan))}26===this._peek.type&&this._advance();let n=this._peek.sourceSpan.fullStart,s=new f(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new f(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new J(e.parts[0],r,[],s,i);this._pushContainer(a,!1)}_consumeBlockClose(e){this._popContainer(null,J,e.sourceSpan)||this.errors.push(I.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let r=[];for(;28===this._peek.type;){let o=this._advance();r.push(new ot(o.parts[0],o.sourceSpan))}let n=this._peek.sourceSpan.fullStart,s=new f(e.sourceSpan.start,n,e.sourceSpan.fullStart),i=new f(e.sourceSpan.start,n,e.sourceSpan.fullStart),a=new J(e.parts[0],r,[],s,i);this._pushContainer(a,!1),this._popContainer(null,J,null),this.errors.push(I.create(e.parts[0],s,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof z)return this._containerStack[e];return null}_addToParent(e){let r=this._getContainer();null===r?this.rootNodes.push(e):r.children.push(e)}_getElementFullName(e,r,n){if(""===e&&(""===(e=this.getTagDefinition(r).implicitNamespacePrefix||"")&&null!=n)){let s=it(n.name)[1];this.getTagDefinition(s).preventNamespaceInheritance||(e=Me(n.name))}return qe(e,r)}};function Ns(t8,e){return t8.length>0&&t8[t8.length-1]===e}function Is(t8,e){return void 0!==Ve[e]?Ve[e]||t8:/^#x[a-f0-9]+$/i.test(e)?String.fromCodePoint(parseInt(e.slice(2),16)):/^#\d+$/.test(e)?String.fromCodePoint(parseInt(e.slice(1),10)):t8}var Xt=class extends Qt{constructor(){super(He)}parse(e,r,n,s=!1,i){return super.parse(e,r,n,s,i)}},Mr=null;function qr(t8,e={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:s=!1,getTagContentType:i,tokenizeAngularBlocks:a=!1}=e;return(Mr||(Mr=new Xt),Mr).parse(t8,"angular-html-parser",{tokenizeExpansionForms:!1,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:a},s,i)}var po=new RegExp("^(?-{3}|\\+{3})(?[^\\n]*)\\n(?:|(?.*?)\\n)(?\\k|\\.{3})[^\\S\\n]*(?:\\n|$)","s");var Rs=function ho(t8){let e=t8.match(po);if(!e)return{content:t8};let{startDelimiter:r,language:n,value:s="",endDelimiter:i}=e.groups,a=n.trim()||"yaml";if("+++"===r&&(a="toml"),"yaml"!==a&&r!==i)return{content:t8};let[o]=e;return{frontMatter:{type:"front-matter",lang:a,value:s,startDelimiter:r,endDelimiter:i,raw:o.replace(/\n$/,"")},content:v(!1,o,/[^\n]/g," ")+t8.slice(o.length)}};var $s=function fo(t8,e){let r=new SyntaxError(t8+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)},Os=new Set(["a","abbr","acronym","address","applet","area","article","aside","audio","b","base","basefont","bdi","bdo","bgsound","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","command","content","data","datalist","dd","del","details","dfn","dialog","dir","div","dl","dt","element","em","embed","fieldset","figcaption","figure","font","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","image","img","input","ins","isindex","kbd","keygen","label","legend","li","link","listing","main","map","mark","marquee","math","menu","menuitem","meta","meter","multicol","nav","nextid","nobr","noembed","noframes","noscript","object","ol","optgroup","option","output","p","param","picture","plaintext","pre","progress","q","rb","rbc","rp","rt","rtc","ruby","s","samp","script","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","tt","u","ul","var","video","wbr","xmp"]),Jt=new Map([["*",new Set(["accesskey","autocapitalize","autofocus","class","contenteditable","dir","draggable","enterkeyhint","hidden","id","inert","inputmode","is","itemid","itemprop","itemref","itemscope","itemtype","lang","nonce","popover","slot","spellcheck","style","tabindex","title","translate"])],["a",new Set(["charset","coords","download","href","hreflang","name","ping","referrerpolicy","rel","rev","shape","target","type"])],["applet",new Set(["align","alt","archive","code","codebase","height","hspace","name","object","vspace","width"])],["area",new Set(["alt","coords","download","href","hreflang","nohref","ping","referrerpolicy","rel","shape","target","type"])],["audio",new Set(["autoplay","controls","crossorigin","loop","muted","preload","src"])],["base",new Set(["href","target"])],["basefont",new Set(["color","face","size"])],["blockquote",new Set(["cite"])],["body",new Set(["alink","background","bgcolor","link","text","vlink"])],["br",new Set(["clear"])],["button",new Set(["disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","name","popovertarget","popovertargetaction","type","value"])],["canvas",new Set(["height","width"])],["caption",new Set(["align"])],["col",new Set(["align","char","charoff","span","valign","width"])],["colgroup",new Set(["align","char","charoff","span","valign","width"])],["data",new Set(["value"])],["del",new Set(["cite","datetime"])],["details",new Set(["name","open"])],["dialog",new Set(["open"])],["dir",new Set(["compact"])],["div",new Set(["align"])],["dl",new Set(["compact"])],["embed",new Set(["height","src","type","width"])],["fieldset",new Set(["disabled","form","name"])],["font",new Set(["color","face","size"])],["form",new Set(["accept","accept-charset","action","autocomplete","enctype","method","name","novalidate","target"])],["frame",new Set(["frameborder","longdesc","marginheight","marginwidth","name","noresize","scrolling","src"])],["frameset",new Set(["cols","rows"])],["h1",new Set(["align"])],["h2",new Set(["align"])],["h3",new Set(["align"])],["h4",new Set(["align"])],["h5",new Set(["align"])],["h6",new Set(["align"])],["head",new Set(["profile"])],["hr",new Set(["align","noshade","size","width"])],["html",new Set(["manifest","version"])],["iframe",new Set(["align","allow","allowfullscreen","allowpaymentrequest","allowusermedia","frameborder","height","loading","longdesc","marginheight","marginwidth","name","referrerpolicy","sandbox","scrolling","src","srcdoc","width"])],["img",new Set(["align","alt","border","crossorigin","decoding","fetchpriority","height","hspace","ismap","loading","longdesc","name","referrerpolicy","sizes","src","srcset","usemap","vspace","width"])],["input",new Set(["accept","align","alt","autocomplete","checked","dirname","disabled","form","formaction","formenctype","formmethod","formnovalidate","formtarget","height","ismap","list","max","maxlength","min","minlength","multiple","name","pattern","placeholder","popovertarget","popovertargetaction","readonly","required","size","src","step","type","usemap","value","width"])],["ins",new Set(["cite","datetime"])],["isindex",new Set(["prompt"])],["label",new Set(["for","form"])],["legend",new Set(["align"])],["li",new Set(["type","value"])],["link",new Set(["as","blocking","charset","color","crossorigin","disabled","fetchpriority","href","hreflang","imagesizes","imagesrcset","integrity","media","referrerpolicy","rel","rev","sizes","target","type"])],["map",new Set(["name"])],["menu",new Set(["compact"])],["meta",new Set(["charset","content","http-equiv","media","name","scheme"])],["meter",new Set(["high","low","max","min","optimum","value"])],["object",new Set(["align","archive","border","classid","codebase","codetype","data","declare","form","height","hspace","name","standby","type","typemustmatch","usemap","vspace","width"])],["ol",new Set(["compact","reversed","start","type"])],["optgroup",new Set(["disabled","label"])],["option",new Set(["disabled","label","selected","value"])],["output",new Set(["for","form","name"])],["p",new Set(["align"])],["param",new Set(["name","type","value","valuetype"])],["pre",new Set(["width"])],["progress",new Set(["max","value"])],["q",new Set(["cite"])],["script",new Set(["async","blocking","charset","crossorigin","defer","fetchpriority","integrity","language","nomodule","referrerpolicy","src","type"])],["select",new Set(["autocomplete","disabled","form","multiple","name","required","size"])],["slot",new Set(["name"])],["source",new Set(["height","media","sizes","src","srcset","type","width"])],["style",new Set(["blocking","media","type"])],["table",new Set(["align","bgcolor","border","cellpadding","cellspacing","frame","rules","summary","width"])],["tbody",new Set(["align","char","charoff","valign"])],["td",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["template",new Set(["shadowrootdelegatesfocus","shadowrootmode"])],["textarea",new Set(["autocomplete","cols","dirname","disabled","form","maxlength","minlength","name","placeholder","readonly","required","rows","wrap"])],["tfoot",new Set(["align","char","charoff","valign"])],["th",new Set(["abbr","align","axis","bgcolor","char","charoff","colspan","headers","height","nowrap","rowspan","scope","valign","width"])],["thead",new Set(["align","char","charoff","valign"])],["time",new Set(["datetime"])],["tr",new Set(["align","bgcolor","char","charoff","valign"])],["track",new Set(["default","kind","label","src","srclang"])],["ul",new Set(["compact","type"])],["video",new Set(["autoplay","controls","crossorigin","height","loop","muted","playsinline","poster","preload","src","width"])]]),Zt={attrs:!0,children:!0},Ms=new Set(["parent"]),er=class t7{constructor(e={}){for(let r of new Set([...Ms,...Object.keys(e)]))this.setProperty(r,e[r])}setProperty(e,r){if(this[e]!==r){if(e in Zt&&(r=r.map((n=>this.createChild(n)))),!Ms.has(e))return void(this[e]=r);Object.defineProperty(this,e,{value:r,enumerable:!1,configurable:!0})}}map(e){let r;for(let n in Zt){let s=this[n];if(s){let i=mo(s,(a=>a.map(e)));r!==s&&(r||(r=new t7({parent:this.parent})),r.setProperty(n,i))}}if(r)for(let n in this)n in Zt||(r[n]=this[n]);return e(r||this)}walk(e){for(let r in Zt){let n=this[r];if(n)for(let s=0;s[e.fullName,e.value])))}};function mo(t8,e){let r=t8.map(e);return r.some(((n,s)=>n!==t8[s]))?r:t8}var go=[{regex:/^(\[if([^\]]*)]>)(.*?){try{return[!0,e(i,o).children]}catch{return[!1,[{type:"text",value:i,sourceSpan:new f(o,u)}]]}})();return{type:"ieConditionalComment",complete:p,children:l,condition:v(!1,s.trim(),/\s+/g," "),sourceSpan:t8.sourceSpan,startSourceSpan:new f(t8.sourceSpan.start,o),endSourceSpan:new f(u,t8.sourceSpan.end)}}},{regex:/^\[if([^\]]*)]>p(...c)?F.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:"angular"===n||void 0});if("vue"===n){if(l.some((w2=>"docType"===w2.type&&"html"===w2.value||"element"===w2.type&&"html"===w2.name.toLowerCase())))return Vs(t8,Ws,r);let g,y2=()=>g??(g=qr(t8,{canSelfClose:s,allowHtmComponentClosingTags:o,isTagNameCaseSensitive:u})),$=w2=>y2().rootNodes.find((({startSourceSpan:q2})=>q2&&q2.start.offset===w2.startSourceSpan.start.offset))??w2;for(let[w2,q2]of l.entries()){let{endSourceSpan:Wr2,startSourceSpan:js}=q2;if(null===Wr2)m=y2().errors,l[w2]=$(q2);else if(Ao(q2,r)){let zr2=y2().errors.find((Gr2=>Gr2.span.start.offset>js.start.offset&&Gr2.span.start.offset0&&Hs(m[0]);let d=c=>{let g=c.name.startsWith(":")?c.name.slice(1).split(":")[0]:null,y2=c.nameSpan.toString(),$=null!==g&&y2.startsWith(`${g}:`),w2=$?y2.slice(g.length+1):y2;c.name=w2,c.namespace=g,c.hasExplicitNamespace=$},_2=(c,g)=>{let y2=c.toLowerCase();return g(y2)?y2:c};return zt(new class extends ut{visit(c){(c=>{switch(c.type){case"element":d(c);for(let g of c.attrs)d(g),g.valueSpan?(g.value=g.valueSpan.toString(),/["']/.test(g.value[0])&&(g.value=g.value.slice(1,-1))):g.value=null;break;case"comment":c.value=c.sourceSpan.toString().slice(4,-3);break;case"text":c.value=c.sourceSpan.toString()}})(c),(c=>{if("element"===c.type){let g=He(u?c.name:c.name.toLowerCase());!c.namespace||c.namespace===g.implicitNamespacePrefix||de(c)?c.tagDefinition=g:c.tagDefinition=He("")}})(c),(c=>{if("element"===c.type&&(i&&(!c.namespace||c.namespace===c.tagDefinition.implicitNamespacePrefix||de(c))&&(c.name=_2(c.name,(g=>Os.has(g)))),a))for(let g of c.attrs)g.namespace||(g.name=_2(g.name,(y2=>Jt.has(c.name)&&(Jt.get("*").has(y2)||Jt.get(c.name).has(y2)))))})(c),(c=>{c.sourceSpan&&c.endSourceSpan&&(c.sourceSpan=new f(c.sourceSpan.start,c.endSourceSpan.end))})(c)}},l),l}function Ao(t8,e){var n;if("element"!==t8.type||"template"!==t8.name)return!1;let r=null==(n=t8.attrs.find((s=>"lang"===s.name)))?void 0:n.value;return!r||"html"===Ne(e,{language:r})}function Hs(t8){let{msg:e,span:{start:r,end:n}}=t8;throw $s(e,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:t8})}function Us(t8,e,r={},n=!0){let{frontMatter:s,content:i}=n?Rs(t8):{frontMatter:null,content:t8},a=new Se(t8,r.filepath),o=new ne(a,0,0,0),u=o.moveBy(t8.length),p={type:"root",sourceSpan:new f(o,u),children:Vs(i,e,r)};if(s){let d=new ne(a,0,0,0),C=d.moveBy(s.raw.length);s.sourceSpan=new f(d,C),p.children.unshift(s)}let l=new er(p),m=(d,C)=>{let{offset:_2}=C,B=Us(v(!1,t8.slice(0,_2),/[^\n\r]/g," ")+d,e,r,!1);B.sourceSpan=new f(C,me(!1,B.children,-1).sourceSpan.end);let c=B.children[0];return c.length===_2?B.children.shift():(c.sourceSpan=new f(c.sourceSpan.start.moveBy(_2),c.sourceSpan.end),c.value=c.value.slice(_2)),B};return l.walk((d=>{if("comment"===d.type){let C=function qs(t8,e){if(t8.value)for(let{regex:r,parse:n}of go){let s=t8.value.match(r);if(s)return n(t8,e,s)}return null}(d,m);C&&d.parent.replaceChild(d,C)}!function Eo(t8){if("block"===t8.type){if(t8.name=v(!1,t8.name.toLowerCase(),/\s+/g," ").trim(),t8.type="angularControlFlowBlock",!xt(t8.parameters))return void delete t8.parameters;for(let e of t8.parameters)e.type="angularControlFlowBlockParameter";t8.parameters={type:"angularControlFlowBlockParameters",children:t8.parameters,sourceSpan:new f(t8.parameters[0].sourceSpan.start,me(!1,t8.parameters,-1).sourceSpan.end)}}}(d)})),l}function tr(t8){return{parse:(e,r)=>Us(e,t8,r),hasPragma:Rn,astFormat:"html",locStart:se,locEnd:ie}}var Ws={name:"html",normalizeTagName:!0,normalizeAttributeName:!0,allowHtmComponentClosingTags:!0},Do=tr(Ws),vo=tr({name:"angular"}),yo=tr({name:"vue",isTagNameCaseSensitive:!0,shouldParseAsRawText:(t8,e,r,n)=>"html"!==t8.toLowerCase()&&!r&&("template"!==t8||n.some((({name:s,value:i})=>"lang"===s&&"html"!==i&&""!==i&&void 0!==i)))}),wo=tr({name:"lwc",canSelfClose:!1}),zs=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],Vr={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},Ys={bracketSameLine:Vr.bracketSameLine,htmlWhitespaceSensitivity:{category:"HTML",type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:Vr.singleAttributePerLine,vueIndentScriptAndStyle:{category:"HTML",type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},To={html:fs},dh=Ur,lu=Object.create,$e2=Object.defineProperty,fu=Object.getOwnPropertyDescriptor,Fu=Object.getOwnPropertyNames,pu=Object.getPrototypeOf,du=Object.prototype.hasOwnProperty,Me2=(e,t8)=>()=>(t8||e((t8={exports:{}}).exports,t8),t8.exports),We=(e,t8)=>{for(var r in t8)$e2(e,r,{get:t8[r],enumerable:!0})},nr2=(e,t8,r,n)=>{if(t8&&"object"==typeof t8||"function"==typeof t8)for(let o of Fu(t8))!du.call(e,o)&&o!==r&&$e2(e,o,{get:()=>t8[o],enumerable:!(n=fu(t8,o))||n.enumerable});return e},he2=(e,t8,r)=>(r=null!=e?lu(pu(e)):{},nr2(!t8&&e&&e.__esModule?r:$e2(r,"default",{value:e,enumerable:!0}),e)),ht2=(e,t8,r)=>{if(t8.has(e))throw TypeError("Cannot add the same private member more than once");t8 instanceof WeakSet?t8.add(e):t8.set(e,r)},ce2=(e,t8,r)=>(((e,t8,r)=>{if(!t8.has(e))throw TypeError("Cannot "+r)})(e,t8,"access private method"),r),or2=Me2((gt2=>{function ur2(){}function gu(e,t8,r,n,o){for(var u=0,i=t8.length,s=0,D=0;up.length?F2:p})),a.value=e.join(c)}else a.value=e.join(r.slice(s,s+a.count));s+=a.count,a.added||(D+=a.count)}}var f2=t8[i-1];return i>1&&"string"==typeof f2.value&&(f2.added||f2.removed)&&e.equals("",f2.value)&&(t8[i-2].value+=f2.value,t8.pop()),t8}Object.defineProperty(gt2,"__esModule",{value:!0}),gt2.default=ur2,ur2.prototype={diff:function(t8,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=n.callback;"function"==typeof n&&(o=n,n={}),this.options=n;var u=this;function i(F2){return o?(setTimeout((function(){o(void 0,F2)}),0),!0):F2}t8=this.castInput(t8),r=this.castInput(r),t8=this.removeEmpty(this.tokenize(t8));var s=(r=this.removeEmpty(this.tokenize(r))).length,D=t8.length,a=1,c=s+D;n.maxEditLength&&(c=Math.min(c,n.maxEditLength));var d=[{newPos:-1,components:[]}],f2=this.extractCommon(d[0],r,t8,0);if(d[0].newPos+1>=s&&f2+1>=D)return i([{value:this.join(r),count:r.length}]);function p(){for(var F2=-1*a;F2<=a;F2+=2){var m=void 0,E2=d[F2-1],C=d[F2+1],g=(C?C.newPos:0)-F2;E2&&(d[F2-1]=void 0);var h2=E2&&E2.newPos+1=s&&g+1>=D)return i(gu(u,m.components,r,t8,u.useLongestToken));d[F2]=m}else d[F2]=void 0}var e;a++}if(o)!function F2(){setTimeout((function(){if(a>c)return o();p()||F2()}),0)}();else for(;a<=c;){var l=p();if(l)return l}},pushComponent:function(t8,r,n){var o=t8[t8.length-1];o&&o.added===r&&o.removed===n?t8[t8.length-1]={count:o.count+1,added:r,removed:n}:t8.push({count:1,added:r,removed:n})},extractCommon:function(t8,r,n,o){for(var u=r.length,i=n.length,s=t8.newPos,D=s-o,a=0;s+1{Object.defineProperty(ye,"__esModule",{value:!0}),ye.diffArrays=function _u(e,t8,r){return ge2.diff(e,t8,r)},ye.arrayDiff=void 0;var ge2=new(function Bu(e){return e&&e.__esModule?e:{default:e}}(or2()).default);ye.arrayDiff=ge2,ge2.tokenize=function(e){return e.slice()},ge2.join=ge2.removeEmpty=function(e){return e}})),Pe2=Me2(((ps2,jr2)=>{var Yr2=new Proxy(String,{get:()=>Yr2});jr2.exports=Yr2})),Fn2={};We(Fn2,{default:()=>uo2,shouldHighlight:()=>no2});var no2,uo2,pn2=((e,t8)=>()=>(e&&(t8=e(e=0)),t8))((()=>{no2=()=>!1,uo2=String})),yn2=Me2((Ft2=>{Object.defineProperty(Ft2,"__esModule",{value:!0}),Ft2.codeFrameColumns=gn2,Ft2.default=function ao2(e,t8,r,n={}){if(!En2){En2=!0;let u="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";new Error(u).name="DeprecationWarning",console.warn(new Error(u))}return r=Math.max(r,0),gn2(e,{start:{column:r,line:t8}},n)};var e,jt2,dn2=(pn2(),e=Fn2,nr2($e2({},"__esModule",{value:!0}),e)),mn2=function oo2(e,t8){if(!t8&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=hn2(t8);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&Object.prototype.hasOwnProperty.call(e,u)){var i=o?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,r&&r.set(e,n),n}(Pe2(),!0);function hn2(e){if("function"!=typeof WeakMap)return null;var t8=new WeakMap,r=new WeakMap;return(hn2=function(n){return n?r:t8})(e)}var En2=!1;var Cn2=/\r\n|[\n\r\u2028\u2029]/;function gn2(e,t8,r={}){let n=(r.highlightCode||r.forceColor)&&(0,dn2.shouldHighlight)(r),o=function io2(e){return e?(null!=jt2||(jt2=new mn2.default.constructor({enabled:!0,level:1})),jt2):mn2.default}(r.forceColor),u=function so2(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(o),i=(F2,m)=>n?F2(m):m,s=e.split(Cn2),{start:D,end:a,markerLines:c}=function Do2(e,t8,r){let n=Object.assign({column:0,line:-1},e.start),o=Object.assign({},n,e.end),{linesAbove:u=2,linesBelow:i=3}=r||{},s=n.line,D=n.column,a=o.line,c=o.column,d=Math.max(s-(u+1),0),f2=Math.min(t8.length,a+i);-1===s&&(d=0),-1===a&&(f2=t8.length);let p=a-s,l={};if(p)for(let F2=0;F2<=p;F2++){let m=F2+s;if(D)if(0===F2){let E2=t8[m-1].length;l[m]=[D,E2-D+1]}else if(F2===p)l[m]=[0,c];else{let E2=t8[m-F2].length;l[m]=[0,E2]}else l[m]=!0}else l[s]=D===c?!D||[D,0]:[D,c-D];return{start:d,end:f2,markerLines:l}}(t8,s,r),d=t8.start&&"number"==typeof t8.start.column,f2=String(a).length,l=(n?(0,dn2.default)(e,r):e).split(Cn2,a).slice(D,a).map(((F2,m)=>{let E2=D+1+m,g=` ${` ${E2}`.slice(-f2)} |`,h2=c[E2],B=!c[E2+1];if(h2){let Z="";if(Array.isArray(h2)){let $=F2.slice(0,Math.max(h2[0]-1,0)).replace(/[^\t]/g," "),Q2=h2[1]||1;Z=["\n ",i(u.gutter,g.replace(/\d/g," "))," ",$,i(u.marker,"^").repeat(Q2)].join(""),B&&r.message&&(Z+=" "+i(u.message,r.message))}return[i(u.marker,">"),i(u.gutter,g),F2.length>0?` ${F2}`:"",Z].join("")}return` ${i(u.gutter,g)}${F2.length>0?` ${F2}`:""}`})).join("\n");return r.message&&!d&&(l=`${" ".repeat(f2+1)}${r.message}\n${l}`),n?o.reset(l):l}})),tr2={};We(tr2,{__debug:()=>ri2,check:()=>ei2,doc:()=>er2,format:()=>cu,formatWithCursor:()=>au,getSupportInfo:()=>ti2,util:()=>Qt2,version:()=>Du});var ee2=(e,t8,r,n)=>{if(!e||null!=t8)return t8.replaceAll?t8.replaceAll(r,n):r.global?t8.replace(r,n):t8.split(r).join(n)},Kn2=he2(ir2(),1),M="string",j2="array",W2="cursor",T2="indent",S2="align",v2="trim",_="group",k2="fill",x2="if-break",P="indent-if-break",L2="line-suffix",I2="line-suffix-boundary",A2="line",O2="label",b2="break-parent",Ue2=new Set([W2,T2,S2,v2,_,k2,x2,P,L2,I2,A2,O2,b2]);var U2=function xu(e){if("string"==typeof e)return M;if(Array.isArray(e))return j2;if(!e)return;let{type:t8}=e;return Ue2.has(t8)?t8:void 0};function bu(e){let t8=null===e?"null":typeof e;if("string"!==t8&&"object"!==t8)return`Unexpected doc '${t8}', \nExpected it to be 'string' or 'object'.`;if(U2(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if("[object Object]"!==r)return`Unexpected doc '${r}'.`;let n=(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e))([...Ue2].map((o=>`'${o}'`)));return`Unexpected doc.type '${e.type}'.\nExpected it to be ${n}.`}var yt2=class extends Error{name="InvalidDocError";constructor(t8){super(bu(t8)),this.doc=t8}},q=yt2,sr2={};var Ae2=function wu(e,t8,r,n){let o=[e];for(;o.length>0;){let u=o.pop();if(u===sr2){r(o.pop());continue}r&&o.push(u,sr2);let i=U2(u);if(!i)throw new q(u);if(!1!==t8?.(u))switch(i){case j2:case k2:{let s=i===j2?u:u.parts;for(let a=s.length-1;a>=0;--a)o.push(s[a]);break}case x2:o.push(u.flatContents,u.breakContents);break;case _:if(n&&u.expandedStates)for(let D=u.expandedStates.length-1;D>=0;--D)o.push(u.expandedStates[D]);else o.push(u.contents);break;case S2:case T2:case P:case O2:case L2:o.push(u.contents);break;case M:case W2:case v2:case I2:case A2:case b2:break;default:throw new q(u)}}},ze=()=>{};function ie2(e){return{type:T2,contents:e}}function oe2(e,t8){return{type:S2,contents:t8,n:e}}function At2(e,t8={}){return ze(t8.expandedStates),{type:_,id:t8.id,contents:e,break:!!t8.shouldBreak,expandedStates:t8.expandedStates}}function Ge2(e){return{type:k2,parts:e}}function Be2(e){return{type:L2,contents:e}}var dr2={type:I2},le2={type:b2},mr2={type:v2},_e2={type:A2,hard:!0},Bt2={type:A2,hard:!0,literal:!0},Ke2={type:A2},Er2={type:A2,soft:!0},G2=[_e2,le2],He2=[Bt2,le2],xe2={type:W2};function ke2(e,t8){let r=[];for(let n=0;n0){for(let o=0;o{if(!e||null!=t8)return Array.isArray(t8)||"string"==typeof t8?t8[r<0?t8.length+r:r]:t8.at(r)};function be2(e){switch(e){case"cr":return"\r";case"crlf":return"\r\n";default:return"\n"}}function _t2(e,t8){let r;switch(t8){case"\n":r=/\n/g;break;case"\r":r=/\r/g;break;case"\r\n":r=/\r\n/g;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t8)}.`)}let n=e.match(r);return n?n.length:0}var _r2=e=>!(function Ar2(e){return 12288===e||e>=65281&&e<=65376||e>=65504&&e<=65510}(e)||function Br(e){return e>=4352&&e<=4447||8986===e||8987===e||9001===e||9002===e||e>=9193&&e<=9196||9200===e||9203===e||9725===e||9726===e||9748===e||9749===e||e>=9800&&e<=9811||9855===e||9875===e||9889===e||9898===e||9899===e||9917===e||9918===e||9924===e||9925===e||9934===e||9940===e||9962===e||9970===e||9971===e||9973===e||9978===e||9981===e||9989===e||9994===e||9995===e||10024===e||10060===e||10062===e||e>=10067&&e<=10069||10071===e||e>=10133&&e<=10135||10160===e||10175===e||11035===e||11036===e||11088===e||11093===e||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||94192===e||94193===e||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||110589===e||110590===e||e>=110592&&e<=110882||110898===e||e>=110928&&e<=110930||110933===e||e>=110948&&e<=110951||e>=110960&&e<=111355||126980===e||127183===e||127374===e||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||127568===e||127569===e||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||127988===e||e>=127992&&e<=128062||128064===e||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||128378===e||128405===e||128406===e||128420===e||e>=128507&&e<=128591||e>=128640&&e<=128709||128716===e||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||128747===e||128748===e||e>=128756&&e<=128764||e>=128992&&e<=129003||129008===e||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}(e)),Nu=/[^\x20-\x7F]/;var we2=function Tu(e){if(!e)return 0;if(!Nu.test(e))return e.length;e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g," ");let t8=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t8+=_r2(n)?1:2)}return t8},br2=e=>{if(Array.isArray(e))return e;if(e.type!==k2)throw new Error(`Expect doc to be 'array' or '${k2}'.`);return e.parts};function Ne2(e,t8){if("string"==typeof e)return t8(e);let r=new Map;return n(e);function n(u){if(r.has(u))return r.get(u);let i=function o(u){switch(U2(u)){case j2:return t8(u.map(n));case k2:return t8({...u,parts:u.parts.map(n)});case x2:return t8({...u,breakContents:n(u.breakContents),flatContents:n(u.flatContents)});case _:{let{expandedStates:i,contents:s}=u;return i?(i=i.map(n),s=i[0]):s=n(s),t8({...u,contents:s,expandedStates:i})}case S2:case T2:case P:case O2:case L2:return t8({...u,contents:n(u.contents)});case M:case W2:case v2:case I2:case A2:case b2:return t8(u);default:throw new q(u)}}(u);return r.set(u,i),i}}function Je2(e,t8,r){let n=r,o=!1;return Ae2(e,(function u(i){if(o)return!1;let s=t8(i);void 0!==s&&(o=!0,n=s)})),n}function Su(e){if(e.type===_&&e.break||e.type===A2&&e.hard||e.type===b2)return!0}function xr(e){if(e.length>0){let t8=y(!1,e,-1);!t8.expandedStates&&!t8.break&&(t8.break="propagated")}return null}function vu(e){return e.type!==A2||e.hard?e.type===x2?e.flatContents:e:e.soft?"":" "}function kr(e){for(e=[...e];e.length>=2&&y(!1,e,-2).type===A2&&y(!1,e,-1).type===b2;)e.length-=2;if(e.length>0){let t8=Oe2(y(!1,e,-1));e[e.length-1]=t8}return e}function Oe2(e){switch(U2(e)){case S2:case T2:case P:case _:case L2:case O2:{let t8=Oe2(e.contents);return{...e,contents:t8}}case x2:return{...e,breakContents:Oe2(e.breakContents),flatContents:Oe2(e.flatContents)};case k2:return{...e,parts:kr(e.parts)};case j2:return kr(e);case M:return e.replace(/[\n\r]*$/,"");case W2:case v2:case I2:case A2:case b2:break;default:throw new q(e)}return e}function Xe2(e){return Oe2(function Lu(e){return Ne2(e,(t8=>function Pu(e){switch(U2(e)){case k2:if(e.parts.every((t8=>""===t8)))return"";break;case _:if(!(e.contents||e.id||e.break||e.expandedStates))return"";if(e.contents.type===_&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case S2:case T2:case P:case L2:if(!e.contents)return"";break;case x2:if(!e.flatContents&&!e.breakContents)return"";break;case j2:{let t8=[];for(let r of e){if(!r)continue;let[n,...o]=Array.isArray(r)?r:[r];"string"==typeof n&&"string"==typeof y(!1,t8,-1)?t8[t8.length-1]+=n:t8.push(n),t8.push(...o)}return 0===t8.length?"":1===t8.length?t8[0]:t8}case M:case W2:case v2:case I2:case A2:case O2:case b2:break;default:throw new q(e)}return e}(t8)))}(e))}function Iu(e){if(e.type===A2)return!0}function Ze2(e,t8){return e.type===O2?{...e,contents:t8(e.contents)}:t8(e)}var R2=Symbol("MODE_BREAK"),K2=Symbol("MODE_FLAT"),Te2=Symbol("cursor");function Ru(e,t8){return xt2(e,{type:"indent"},t8)}function Yu(e,t8,r){return t8===Number.NEGATIVE_INFINITY?e.root||{value:"",length:0,queue:[]}:t8<0?xt2(e,{type:"dedent"},r):t8?"root"===t8.type?{...e,root:e}:xt2(e,{type:"string"==typeof t8?"stringAlign":"numberAlign",n:t8},r):e}function xt2(e,t8,r){let n="dedent"===t8.type?e.queue.slice(0,-1):[...e.queue,t8],o="",u=0,i=0,s=0;for(let l of n)switch(l.type){case"indent":c(),r.useTabs?D(1):a(r.tabWidth);break;case"stringAlign":c(),o+=l.n,u+=l.n.length;break;case"numberAlign":i+=1,s+=l.n;break;default:throw new Error(`Unexpected type '${l.type}'`)}return f2(),{...e,value:o,length:u,queue:n};function D(l){o+="\t".repeat(l),u+=r.tabWidth*l}function a(l){o+=" ".repeat(l),u+=l}function c(){r.useTabs?function d(){i>0&&D(i),p()}():f2()}function f2(){s>0&&a(s),p()}function p(){i=0,s=0}}function kt2(e){let t8=0,r=0,n=e.length;e:for(;n--;){let o=e[n];if(o!==Te2)for(let u=o.length-1;u>=0;u--){let i=o[u];if(" "!==i&&"\t"!==i){e[n]=o.slice(0,u+1);break e}t8++}else r++}if(t8>0||r>0)for(e.length=n+1;r-- >0;)e.push(Te2);return t8}function Qe2(e,t8,r,n,o,u){if(r===Number.POSITIVE_INFINITY)return!0;let i=t8.length,s=[e],D=[];for(;r>=0;){if(0===s.length){if(0===i)return!0;s.push(t8[--i]);continue}let{mode:a,doc:c}=s.pop();switch(U2(c)){case M:D.push(c),r-=we2(c);break;case j2:case k2:{let d=br2(c);for(let f2=d.length-1;f2>=0;f2--)s.push({mode:a,doc:d[f2]});break}case T2:case S2:case P:case O2:s.push({mode:a,doc:c.contents});break;case v2:r+=kt2(D);break;case _:{if(u&&c.break)return!1;let d=c.break?R2:a,f2=c.expandedStates&&d===R2?y(!1,c.expandedStates,-1):c.contents;s.push({mode:d,doc:f2});break}case x2:{let f2=(c.groupId?o[c.groupId]||K2:a)===R2?c.breakContents:c.flatContents;f2&&s.push({mode:a,doc:f2});break}case A2:if(a===R2||c.hard)return!0;c.soft||(D.push(" "),r--);break;case L2:n=!0;break;case I2:if(n)return!1}}return!1}function fe2(e,t8){let r={},n=t8.printWidth,o=be2(t8.endOfLine),u=0,i=[{ind:{value:"",length:0,queue:[]},mode:R2,doc:e}],s=[],D=!1,a=[],c=0;for(function Or2(e){let t8=new Set,r=[];Ae2(e,(function n(u){if(u.type===b2&&xr(r),u.type===_){if(r.push(u),t8.has(u))return!1;t8.add(u)}}),(function o(u){u.type===_&&r.pop().break&&xr(r)}),!0)}(e);i.length>0;){let{ind:f2,mode:p,doc:l}=i.pop();switch(U2(l)){case M:{let F2="\n"!==o?ee2(!1,l,"\n",o):l;s.push(F2),i.length>0&&(u+=we2(F2));break}case j2:for(let F2=l.length-1;F2>=0;F2--)i.push({ind:f2,mode:p,doc:l[F2]});break;case W2:if(c>=2)throw new Error("There are too many 'cursor' in doc.");s.push(Te2),c++;break;case T2:i.push({ind:Ru(f2,t8),mode:p,doc:l.contents});break;case S2:i.push({ind:Yu(f2,l.n,t8),mode:p,doc:l.contents});break;case v2:u-=kt2(s);break;case _:switch(p){case K2:if(!D){i.push({ind:f2,mode:l.break?R2:K2,doc:l.contents});break}case R2:{D=!1;let F2={ind:f2,mode:K2,doc:l.contents},m=n-u,E2=a.length>0;if(!l.break&&Qe2(F2,i,m,E2,r))i.push(F2);else if(l.expandedStates){let C=y(!1,l.expandedStates,-1);if(l.break){i.push({ind:f2,mode:R2,doc:C});break}for(let g=1;g=l.expandedStates.length){i.push({ind:f2,mode:R2,doc:C});break}{let h2=l.expandedStates[g],B={ind:f2,mode:K2,doc:h2};if(Qe2(B,i,m,E2,r)){i.push(B);break}}}}else i.push({ind:f2,mode:R2,doc:l.contents});break}}l.id&&(r[l.id]=y(!1,i,-1).mode);break;case k2:{let F2=n-u,{parts:m}=l;if(0===m.length)break;let[E2,C]=m,g={ind:f2,mode:K2,doc:E2},h2={ind:f2,mode:R2,doc:E2},B=Qe2(g,[],F2,a.length>0,r,!0);if(1===m.length){B?i.push(g):i.push(h2);break}let Z={ind:f2,mode:K2,doc:C},$={ind:f2,mode:R2,doc:C};if(2===m.length){B?i.push(Z,g):i.push($,h2);break}m.splice(0,2);let Q2={ind:f2,mode:p,doc:Ge2(m)},rr2=m[0];Qe2({ind:f2,mode:K2,doc:[E2,C,rr2]},[],F2,a.length>0,r,!0)?i.push(Q2,Z,g):B?i.push(Q2,$,g):i.push(Q2,$,h2);break}case x2:case P:{let F2=l.groupId?r[l.groupId]:p;if(F2===R2){let m=l.type===x2?l.breakContents:l.negate?l.contents:ie2(l.contents);m&&i.push({ind:f2,mode:p,doc:m})}if(F2===K2){let m=l.type===x2?l.flatContents:l.negate?ie2(l.contents):l.contents;m&&i.push({ind:f2,mode:p,doc:m})}break}case L2:a.push({ind:f2,mode:p,doc:l.contents});break;case I2:a.length>0&&i.push({ind:f2,mode:p,doc:_e2});break;case A2:switch(p){case K2:if(!l.hard){l.soft||(s.push(" "),u+=1);break}D=!0;case R2:if(a.length>0){i.push({ind:f2,mode:p,doc:l},...a.reverse()),a.length=0;break}l.literal?f2.root?(s.push(o,f2.root.value),u=f2.root.length):(s.push(o),u=0):(u-=kt2(s),s.push(o+f2.value),u=f2.length)}break;case O2:i.push({ind:f2,mode:p,doc:l.contents});break;case b2:break;default:throw new q(l)}0===i.length&&a.length>0&&(i.push(...a.reverse()),a.length=0)}let d=s.indexOf(Te2);if(-1!==d){let f2=s.indexOf(Te2,d+1),p=s.slice(0,d).join(""),l=s.slice(d+1,f2).join("");return{formatted:p+l+s.slice(f2+1).join(""),cursorNodeStart:p.length,cursorNodeText:l}}return{formatted:s.join("")}}function J2(e){var t8;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...J2(n));else{let o=J2(n);""!==o&&r.push(o)}return r}return e.type===x2?{...e,breakContents:J2(e.breakContents),flatContents:J2(e.flatContents)}:e.type===_?{...e,contents:J2(e.contents),expandedStates:null==(t8=e.expandedStates)?void 0:t8.map(J2)}:e.type===k2?{type:"fill",parts:e.parts.map(J2)}:e.contents?{...e,contents:J2(e.contents)}:e}var Fe2=function ju(e,t8,r=0){let n=0;for(let o=r;o"string"==typeof e||"function"==typeof e,choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:e=>"string"==typeof e||"object"==typeof e,cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:"Format code ending at a given character offset (exclusive).\nThe range will extend forwards to the end of the selected statement.",cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:"Format code starting at a given character offset.\nThe range will extend backwards to the start of the first line containing the selected statement.",cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:"Require either '@prettier' or '@format' to be present in the file's first docblock comment\nin order for it to be formatted.",cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}};function et2({plugins:e=[],showDeprecated:t8=!1}={}){let r=e.flatMap((o=>o.languages??[])),n=[];for(let o of function $u(e){let t8=[];for(let[r,n]of Object.entries(e)){let o={name:r,...n};Array.isArray(o.default)&&(o.default=y(!1,o.default,-1).value),t8.push(o)}return t8}(Object.assign({},...e.map((({options:u})=>u)),Lr)))!t8&&o.deprecated||(Array.isArray(o.choices)&&(t8||(o.choices=o.choices.filter((u=>!u.deprecated))),"parser"===o.name&&(o.choices=[...o.choices,...Vu(o.choices,r,e)])),o.pluginDefaults=Object.fromEntries(e.filter((u=>{var i;return void 0!==(null==(i=u.defaultOptions)?void 0:i[o.name])})).map((u=>[u.name,u.defaultOptions[o.name]]))),n.push(o));return{languages:r,options:n}}function*Vu(e,t8,r){let n=new Set(e.map((o=>o.value)));for(let o of t8)if(o.parsers)for(let u of o.parsers)if(!n.has(u)){n.add(u);let i=r.find((D=>D.parsers&&Object.prototype.hasOwnProperty.call(D.parsers,u))),s=o.name;null!=i&&i.name&&(s+=` (plugin: ${i.name})`),yield{value:u,description:s}}}function Ir(e,t8){if(!t8)return;let r=(e=>String(e).split(/[/\\]/).pop())(t8).toLowerCase();return e.find((n=>{var o,u;return(null==(o=n.extensions)?void 0:o.some((i=>r.endsWith(i))))||(null==(u=n.filenames)?void 0:u.some((i=>i.toLowerCase()===r)))}))}var Rr=function Uu(e,t8){let r=e.plugins.flatMap((o=>o.languages??[])),n=function Wu(e,t8){if(t8)return e.find((({name:r})=>r.toLowerCase()===t8))??e.find((({aliases:r})=>r?.includes(t8)))??e.find((({extensions:r})=>r?.includes(`.${t8}`)))}(r,t8.language)??Ir(r,t8.physicalFile)??Ir(r,t8.file)??void t8.physicalFile;return n?.parsers[0]},te2={key:e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),value(e){if(null===e||"object"!=typeof e)return JSON.stringify(e);if(Array.isArray(e))return`[${e.map((r=>te2.value(r))).join(", ")}]`;let t8=Object.keys(e);return 0===t8.length?"{}":`{ ${t8.map((r=>`${te2.key(r)}: ${te2.value(e[r])}`)).join(", ")} }`},pair:({key:e,value:t8})=>te2.value({[e]:t8})},bt2=he2(Pe2(),1),se2=he2(Pe2(),1),tt2=Symbol.for("vnopts.VALUE_NOT_EXIST"),pe2=Symbol.for("vnopts.VALUE_UNCHANGED"),$r2=" ".repeat(2);function Mr2(e,t8,r,n){return[`Invalid ${se2.default.red(n.key(e))} value.`,`Expected ${se2.default.blue(r)},`,`but received ${t8===tt2?se2.default.gray("nothing"):se2.default.red(n.value(t8))}.`].join(" ")}function Ur2({text:e,list:t8},r){let n=[];return e&&n.push(`- ${se2.default.blue(e)}`),t8&&n.push([`- ${se2.default.blue(t8.title)}:`].concat(t8.values.map((o=>Ur2(o,r-$r2.length).replace(/^|\n/g,`$&${$r2}`)))).join("\n")),zr(n,r)}function zr(e,t8){if(1===e.length)return e[0];let[r,n]=e,[o,u]=e.map((i=>i.split("\n",1)[0].length));return o>t8&&o>u?n:r}var Nt2=he2(Pe2(),1),wt2=[],Gr=[];var rt2=(e,t8,{descriptor:r,logger:n,schemas:o})=>{let u=[`Ignored unknown option ${Nt2.default.yellow(r.pair({key:e,value:t8}))}.`],i=Object.keys(o).sort().find((s=>function Ot2(e,t8){if(e===t8)return 0;let r=e;e.length>t8.length&&(e=t8,t8=r);let n=e.length,o=t8.length;for(;n>0&&e.charCodeAt(~-n)===t8.charCodeAt(~-o);)n--,o--;let u=0;for(;us?a>s?s+1:a:a>D?D+1:a;return s}(e,s)<3));i&&u.push(`Did you mean ${Nt2.default.blue(r.key(i))}?`),n.warn(u.join(" "))},zu=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"];var w=class{static create(t8){return function Gu(e,t8){let r=new e(t8),n=Object.create(r);for(let o of zu)o in t8&&(n[o]=Ku(t8[o],r,w.prototype[o].length));return n}(this,t8)}constructor(t8){this.name=t8.name}default(t8){}expected(t8){return"nothing"}validate(t8,r){return!1}deprecated(t8,r){return!1}forward(t8,r){}redirect(t8,r){}overlap(t8,r,n){return t8}preprocess(t8,r){return t8}postprocess(t8,r){return pe2}};function Ku(e,t8,r){return"function"==typeof e?(...n)=>e(...n.slice(0,r-1),t8,...n.slice(r-1)):()=>e}var nt2=class extends w{constructor(t8){super(t8),this._sourceName=t8.sourceName}expected(t8){return t8.schemas[this._sourceName].expected(t8)}validate(t8,r){return r.schemas[this._sourceName].validate(t8,r)}redirect(t8,r){return this._sourceName}},ut2=class extends w{expected(){return"anything"}validate(){return!0}},ot2=class extends w{constructor({valueSchema:t8,name:r=t8.name,...n}){super({...n,name:r}),this._valueSchema=t8}expected(t8){let{text:r,list:n}=t8.normalizeExpectedResult(this._valueSchema.expected(t8));return{text:r&&`an array of ${r}`,list:n&&{title:"an array of the following values",values:[{list:n}]}}}validate(t8,r){if(!Array.isArray(t8))return!1;let n=[];for(let o of t8){let u=r.normalizeValidateResult(this._valueSchema.validate(o,r),o);!0!==u&&n.push(u.value)}return 0===n.length||{value:n}}deprecated(t8,r){let n=[];for(let o of t8){let u=r.normalizeDeprecatedResult(this._valueSchema.deprecated(o,r),o);!1!==u&&n.push(...u.map((({value:i})=>({value:[i]}))))}return n}forward(t8,r){let n=[];for(let o of t8){let u=r.normalizeForwardResult(this._valueSchema.forward(o,r),o);n.push(...u.map(Kr2))}return n}redirect(t8,r){let n=[],o=[];for(let u of t8){let i=r.normalizeRedirectResult(this._valueSchema.redirect(u,r),u);"remain"in i&&n.push(i.remain),o.push(...i.redirect.map(Kr2))}return 0===n.length?{redirect:o}:{redirect:o,remain:n}}overlap(t8,r){return t8.concat(r)}};function Kr2({from:e,to:t8}){return{from:[e],to:t8}}var it2=class extends w{expected(){return"true or false"}validate(t8){return"boolean"==typeof t8}};function qr2(e,t8){let r=Object.create(null);for(let n of e){let o=n[t8];if(r[o])throw new Error(`Duplicate ${t8} ${JSON.stringify(o)}`);r[o]=n}return r}function en2(e,t8){if(e===t8)return 0;let r=typeof e,n=typeof t8,o=["undefined","object","boolean","number","string"];return r!==n?o.indexOf(r)-o.indexOf(n):"string"!==r?Number(e)-Number(t8):e.localeCompare(t8)}function Tt2(e){return void 0===e?{}:e}function St2(e){if("string"==typeof e)return{text:e};let{text:t8,list:r}=e;return function Hu(e,t8){if(!e)throw new Error(t8)}(void 0!==(t8||r),"Unexpected `expected` result, there should be at least one field."),r?{text:t8,list:{title:r.title,values:r.values.map(St2)}}:{text:t8}}function vt2(e,t8){return!0===e||(!1===e?{value:t8}:e)}function Pt2(e,t8,r=!1){return!1!==e&&(!0===e?!!r||[{value:t8}]:"value"in e?[e]:0!==e.length&&e)}function Hr2(e,t8){return"string"==typeof e||"key"in e?{from:t8,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t8,to:e.to}}function st2(e,t8){return void 0===e?[]:Array.isArray(e)?e.map((r=>Hr2(r,t8))):[Hr2(e,t8)]}function Lt2(e,t8){let r=st2("object"==typeof e&&"redirect"in e?e.redirect:e,t8);return 0===r.length?{remain:t8,redirect:r}:"object"==typeof e&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}var It2,Dt2=class extends w{constructor(t8){super(t8),this._choices=function Jr2(e,t8){let r=new Map;for(let n of e){let o=n[t8];if(r.has(o))throw new Error(`Duplicate ${t8} ${JSON.stringify(o)}`);r.set(o,n)}return r}(t8.choices.map((r=>r&&"object"==typeof r?r:{value:r})),"value")}expected({descriptor:t8}){let r=Array.from(this._choices.keys()).map((i=>this._choices.get(i))).filter((({hidden:i})=>!i)).map((i=>i.value)).sort(en2).map(t8.value),n=r.slice(0,-2),o=r.slice(-2);return{text:n.concat(o.join(" or ")).join(", "),list:{title:"one of the following values",values:r}}}validate(t8){return this._choices.has(t8)}deprecated(t8){let r=this._choices.get(t8);return!(!r||!r.deprecated)&&{value:t8}}forward(t8){let r=this._choices.get(t8);return r?r.forward:void 0}redirect(t8){let r=this._choices.get(t8);return r?r.redirect:void 0}},at2=class extends w{expected(){return"a number"}validate(t8,r){return"number"==typeof t8}},ct2=class extends at2{expected(){return"an integer"}validate(t8,r){return!0===r.normalizeValidateResult(super.validate(t8,r),t8)&&function Qr2(e){return e===Math.floor(e)}(t8)}},Le2=class extends w{expected(){return"a string"}validate(t8){return"string"==typeof t8}},rn2=te2,nn2=rt2,un2=(e,t8,r)=>{let{text:n,list:o}=r.normalizeExpectedResult(r.schemas[e].expected(r)),u=[];return n&&u.push(Mr2(e,t8,n,r.descriptor)),o&&u.push([Mr2(e,t8,o.title,r.descriptor)].concat(o.values.map((i=>Ur2(i,r.loggerPrintWidth)))).join("\n")),zr(u,r.loggerPrintWidth)},on2=(e,t8,{descriptor:r})=>{let n=[`${bt2.default.yellow("string"==typeof e?r.key(e):r.pair(e))} is deprecated`];return t8&&n.push(`we now treat it as ${bt2.default.blue("string"==typeof t8?r.key(t8):r.pair(t8))}`),n.join("; ")+"."},lt=class{constructor(t8,r){let{logger:n=console,loggerPrintWidth:o=80,descriptor:u=rn2,unknown:i=nn2,invalid:s=un2,deprecated:D=on2,missing:a=()=>!1,required:c=()=>!1,preprocess:d=p=>p,postprocess:f2=()=>pe2}=r||{};this._utils={descriptor:u,logger:n||{warn:()=>{}},loggerPrintWidth:o,schemas:qr2(t8,"name"),normalizeDefaultResult:Tt2,normalizeExpectedResult:St2,normalizeDeprecatedResult:Pt2,normalizeForwardResult:st2,normalizeRedirectResult:Lt2,normalizeValidateResult:vt2},this._unknownHandler=i,this._invalidHandler=function tn2(e){return(...t8)=>{let r=e(...t8);return"string"==typeof r?new Error(r):r}}(s),this._deprecatedHandler=D,this._identifyMissing=(p,l)=>!(p in l)||a(p,l),this._identifyRequired=c,this._preprocess=d,this._postprocess=f2,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=function Xr2(){let e=Object.create(null);return t8=>{let r=JSON.stringify(t8);return!!e[r]||(e[r]=!0,!1)}}()}normalize(t8){let r={},o=[this._preprocess(t8,this._utils)],u=()=>{for(;0!==o.length;){let i=o.shift(),s=this._applyNormalization(i,r);o.push(...s)}};u();for(let i of Object.keys(this._utils.schemas)){let s=this._utils.schemas[i];if(!(i in r)){let D=Tt2(s.default(this._utils));"value"in D&&o.push({[i]:D.value})}}u();for(let i of Object.keys(this._utils.schemas)){if(!(i in r))continue;let s=this._utils.schemas[i],D=r[i],a=s.postprocess(D,this._utils);a!==pe2&&(this._applyValidation(a,i,s),r[i]=a)}return this._applyPostprocess(r),this._applyRequiredCheck(r),r}_applyNormalization(t8,r){let n=[],{knownKeys:o,unknownKeys:u}=this._partitionOptionKeys(t8);for(let i of o){let s=this._utils.schemas[i],D=s.preprocess(t8[i],this._utils);this._applyValidation(D,i,s);let a=({from:p,to:l})=>{n.push("string"==typeof l?{[l]:p}:{[l.key]:l.value})},c=({value:p,redirectTo:l})=>{let F2=Pt2(s.deprecated(p,this._utils),D,!0);if(!1!==F2)if(!0===F2)this._hasDeprecationWarned(i)||this._utils.logger.warn(this._deprecatedHandler(i,l,this._utils));else for(let{value:m}of F2){let E2={key:i,value:m};if(!this._hasDeprecationWarned(E2)){let C="string"==typeof l?{key:l,value:m}:l;this._utils.logger.warn(this._deprecatedHandler(E2,C,this._utils))}}};st2(s.forward(D,this._utils),D).forEach(a);let f2=Lt2(s.redirect(D,this._utils),D);if(f2.redirect.forEach(a),"remain"in f2){let p=f2.remain;r[i]=i in r?s.overlap(r[i],p,this._utils):p,c({value:p})}for(let{from:p,to:l}of f2.redirect)c({value:p,redirectTo:l})}for(let i of u){let s=t8[i];this._applyUnknownHandler(i,s,r,((D,a)=>{n.push({[D]:a})}))}return n}_applyRequiredCheck(t8){for(let r of Object.keys(this._utils.schemas))if(this._identifyMissing(r,t8)&&this._identifyRequired(r))throw this._invalidHandler(r,tt2,this._utils)}_partitionOptionKeys(t8){let[r,n]=function Zr2(e,t8){let r=[],n=[];for(let o of e)t8(o)?r.push(o):n.push(o);return[r,n]}(Object.keys(t8).filter((o=>!this._identifyMissing(o,t8))),(o=>o in this._utils.schemas));return{knownKeys:r,unknownKeys:n}}_applyValidation(t8,r,n){let o=vt2(n.validate(t8,this._utils),t8);if(!0!==o)throw this._invalidHandler(r,o.value,this._utils)}_applyUnknownHandler(t8,r,n,o){let u=this._unknownHandler(t8,r,this._utils);if(u)for(let i of Object.keys(u)){if(this._identifyMissing(i,u))continue;let s=u[i];i in this._utils.schemas?o(i,s):n[i]=s}}_applyPostprocess(t8){let r=this._postprocess(t8,this._utils);if(r!==pe2){if(r.delete)for(let n of r.delete)delete t8[n];if(r.override){let{knownKeys:n,unknownKeys:o}=this._partitionOptionKeys(r.override);for(let u of n){let i=r.override[u];this._applyValidation(i,u,this._utils.schemas[u]),t8[u]=i}for(let u of o){let i=r.override[u];this._applyUnknownHandler(u,i,t8,((s,D)=>{let a=this._utils.schemas[s];this._applyValidation(D,s,a),t8[s]=D}))}}}}};function Zu(e,{isCLI:t8,optionInfos:r,FlagSchema:n}){let i,{name:o}=e,u={name:o},s={};switch(e.type){case"int":i=ct2,t8&&(u.preprocess=Number);break;case"string":case"path":i=Le2;break;case"choice":i=Dt2,u.choices=e.choices.map((D=>null!=D&&D.redirect?{...D,redirect:{to:{key:e.name,value:D.redirect}}}:D));break;case"boolean":i=it2;break;case"flag":i=n,u.flags=r.flatMap((D=>[D.alias,D.description&&D.name,D.oppositeDescription&&`no-${D.name}`].filter(Boolean)));break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?u.validate=(D,a,c)=>e.exception(D)||a.validate(D,c):u.validate=(D,a,c)=>void 0===D||a.validate(D,c),e.redirect&&(s.redirect=D=>D?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(s.deprecated=!0),t8&&!e.array){let D=u.preprocess||(a=>a);u.preprocess=(a,c,d)=>c.preprocess(D(Array.isArray(a)?y(!1,a,-1):a),d)}return e.array?ot2.create({...t8?{preprocess:D=>Array.isArray(D)?D:[D]}:{},...s,valueSchema:i.create(u)}):i.create({...u,...s})}var sn2=function Ju(e,t8,{logger:r=!1,isCLI:n=!1,passThrough:o=!1,FlagSchema:u,descriptor:i}={}){if(n){if(!u)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=te2;let s=o?Array.isArray(o)?(f2,p)=>o.includes(f2)?{[f2]:p}:void 0:(f2,p)=>({[f2]:p}):(f2,p,l)=>{let{_:F2,...m}=l.schemas;return rt2(f2,p,{...l,schemas:m})},D=function Xu(e,{isCLI:t8,FlagSchema:r}){let n=[];t8&&n.push(ut2.create({name:"_"}));for(let o of e)n.push(Zu(o,{isCLI:t8,optionInfos:e,FlagSchema:r})),o.alias&&t8&&n.push(nt2.create({name:o.alias,sourceName:o.name}));return n}(t8,{isCLI:n,FlagSchema:u}),a=new lt(D,{logger:r,unknown:s,descriptor:i}),c=!1!==r;c&&It2&&(a._hasDeprecationWarned=It2);let d=a.normalize(e);return c&&(It2=a._hasDeprecationWarned),d};function Rt2(e,t8){if(!t8)throw new Error("parserName is required.");for(let n=e.length-1;n>=0;n--){let o=e[n];if(o.parsers&&Object.prototype.hasOwnProperty.call(o.parsers,t8))return o}let r=`Couldn't resolve parser "${t8}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Se2(r)}function ft2({plugins:e,parser:t8}){return Yt(Rt2(e,t8),t8)}function Yt(e,t8){let r=e.parsers[t8];return"function"==typeof r?r():r}var cn2={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null};var re2=async function Qu(e,t8={}){var d;let r={...e};if(!r.parser){if(!r.filepath)throw new ve2("No parser and no file path given, couldn't infer a parser.");if(r.parser=Rr(r,{physicalFile:r.filepath}),!r.parser)throw new ve2(`No parser could be inferred for file "${r.filepath}".`)}let n=et2({plugins:e.plugins,showDeprecated:!0}).options,o={...cn2,...Object.fromEntries(n.filter((f2=>void 0!==f2.default)).map((f2=>[f2.name,f2.default])))},u=Rt2(r.plugins,r.parser),i=await Yt(u,r.parser);r.astFormat=i.astFormat,r.locEnd=i.locEnd,r.locStart=i.locStart;let s=null!=(d=u.printers)&&d[i.astFormat]?u:function Dn2(e,t8){if(!t8)throw new Error("astFormat is required.");for(let n=e.length-1;n>=0;n--){let o=e[n];if(o.printers&&Object.prototype.hasOwnProperty.call(o.printers,t8))return o}let r=`Couldn't find plugin for AST format "${t8}".`;throw r+=" Plugins must be explicitly added to the standalone bundle.",new Se2(r)}(r.plugins,i.astFormat),D=await function an2(e,t8){let r=e.printers[t8];return"function"==typeof r?r():r}(s,i.astFormat);r.printer=D;let c={...o,...s.defaultOptions?Object.fromEntries(Object.entries(s.defaultOptions).filter((([,f2])=>void 0!==f2))):{}};for(let[f2,p]of Object.entries(c))(null===r[f2]||void 0===r[f2])&&(r[f2]=p);return"json"===r.parser&&(r.trailingComma="none"),sn2(r,n,{passThrough:Object.keys(cn2),...t8})},ln2=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),eo=e=>Object.keys(e).filter((t8=>!ln2.has(t8)));var H2=function to(e){return e?t8=>e(t8,ln2):eo};var fn2=function ro2(e,t8){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t8;if(!r)return e;let o=H2(n),u=r.ignoredProperties??new Set;return function i(s,D){if(null===s||"object"!=typeof s)return s;if(Array.isArray(s))return s.map((f2=>i(f2,D))).filter(Boolean);let a={},c=new Set(o(s));for(let f2 in s)!Object.prototype.hasOwnProperty.call(s,f2)||u.has(f2)||(c.has(f2)?a[f2]=i(s[f2],s):a[f2]=s[f2]);let d=r(s,a,D);if(null!==d)return d??a}(e)},An2=he2(yn2(),1);var Ie,$t2,de2,pt2,De2=async function co2(e,t8){let o,r=await ft2(t8),n=r.preprocess?r.preprocess(e,t8):e;t8.originalText=n;try{o=await r.parse(n,t8,t8)}catch(u){!function lo2(e,t8){let{loc:r}=e;if(r){let n=(0,An2.codeFrameColumns)(t8,r,{highlightCode:!0});throw e.message+="\n"+n,e.codeFrame=n,e}throw e}(u,e)}return{text:n,ast:o}};Ie=new WeakSet,$t2=function(t8){let{stack:r}=this;for(let n=r.length-1;n>=0;n-=2)if(!Array.isArray(r[n])&&--t8<0)return n;return-1},de2=new WeakSet,pt2=function*(){let{stack:t8}=this;for(let r=t8.length-3;r>=0;r-=2){let n=t8[r];Array.isArray(n)||(yield n)}};var Bn2=class{constructor(t8){ht2(this,Ie),ht2(this,de2),this.stack=[t8]}get key(){let{stack:t8,siblings:r}=this;return y(!1,t8,null===r?-2:-4)??null}get index(){return null===this.siblings?null:y(!1,this.stack,-2)}get node(){return y(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return null!==this.siblings}get siblings(){let{stack:t8}=this,r=y(!1,t8,-3);return Array.isArray(r)?r:null}get next(){let{siblings:t8}=this;return null===t8?null:t8[this.index+1]}get previous(){let{siblings:t8}=this;return null===t8?null:t8[this.index-1]}get isFirst(){return 0===this.index}get isLast(){let{siblings:t8,index:r}=this;return null!==t8&&r===t8.length-1}get isRoot(){return 1===this.stack.length}get root(){return this.stack[0]}get ancestors(){return[...ce2(this,de2,pt2).call(this)]}getName(){let{stack:t8}=this,{length:r}=t8;return r>1?y(!1,t8,-2):null}getValue(){return y(!1,this.stack,-1)}getNode(t8=0){let r=ce2(this,Ie,$t2).call(this,t8);return-1===r?null:this.stack[r]}getParentNode(t8=0){return this.getNode(t8+1)}call(t8,...r){let{stack:n}=this,{length:o}=n,u=y(!1,n,-1);for(let i of r)u=u[i],n.push(i,u);try{return t8(this)}finally{n.length=o}}callParent(t8,r=0){let n=ce2(this,Ie,$t2).call(this,r+1),o=this.stack.splice(n+1);try{return t8(this)}finally{this.stack.push(...o)}}each(t8,...r){let{stack:n}=this,{length:o}=n,u=y(!1,n,-1);for(let i of r)u=u[i],n.push(i,u);try{for(let i=0;i{n[u]=t8(o,u,i)}),...r),n}match(...t8){let r=this.stack.length-1,n=null,o=this.stack[r--];for(let u of t8){if(void 0===o)return!1;let i=null;if("number"==typeof n&&(i=n,n=this.stack[r--],o=this.stack[r--]),u&&!u(o,n,i))return!1;n=this.stack[r--],o=this.stack[r--]}return!0}findAncestor(t8){for(let r of ce2(this,de2,pt2).call(this))if(t8(r))return r}hasAncestor(t8){for(let r of ce2(this,de2,pt2).call(this))if(t8(r))return!0;return!1}},_n2=new Proxy((()=>{}),{get:()=>_n2}),Re2=_n2;function me2(e){return(t8,r,n)=>{let o=!(null==n||!n.backwards);if(!1===r)return!1;let{length:u}=t8,i=r;for(;i>=0&&i0};var kn2=function mo2(e){return null!==e&&"object"==typeof e};function*Wt2(e,t8){let{getVisitorKeys:r,filter:n=()=>!0}=t8,o=u=>kn2(u)&&n(u);for(let u of r(e)){let i=e[u];if(Array.isArray(i))for(let s of i)o(s)&&(yield s);else o(i)&&(yield i)}}function Ut2(e,t8){(e.comments??(e.comments=[])).push(t8),t8.printed=!1,t8.nodeDescription=function Eo2(e){let t8=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&("object"==typeof e.id?e.id.name:e.id)||e.key&&("object"==typeof e.key?e.key.name:e.key)||e.value&&("object"==typeof e.value?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t8+(r?" "+r:"")}(e)}function ne2(e,t8){t8.leading=!0,t8.trailing=!1,Ut2(e,t8)}function X2(e,t8,r){t8.leading=!1,t8.trailing=!1,r&&(t8.marker=r),Ut2(e,t8)}function ue2(e,t8){t8.leading=!1,t8.trailing=!0,Ut2(e,t8)}var zt2=new WeakMap;function Et2(e,t8){if(zt2.has(e))return zt2.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:o},locStart:u,locEnd:i}=t8;if(!n)return[];let s=(r?.(e,t8)??[...Wt2(e,{getVisitorKeys:H2(o)})]).flatMap((D=>n(D)?[D]:Et2(D,t8)));return s.sort(((D,a)=>u(D)-u(a)||i(D)-i(a))),zt2.set(e,s),s}function On2(e,t8,r,n){let a,c,{locStart:o,locEnd:u}=r,i=o(t8),s=u(t8),D=Et2(e,r),d=0,f2=D.length;for(;d>1,l=D[p],F2=o(l),m=u(l);if(F2<=i&&s<=m)return On2(l,t8,r,l);if(m<=i)a=l,d=p+1;else{if(!(s<=F2))throw new Error("Comment location overlaps with node location");c=l,f2=p}}if("TemplateLiteral"===n?.type){let{quasis:p}=n,l=Kt2(p,t8,r);a&&Kt2(p,a,r)!==l&&(a=null),c&&Kt2(p,c,r)!==l&&(c=null)}return{enclosingNode:n,precedingNode:a,followingNode:c}}var Gt=()=>!1;var Tn2=e=>!/[\S\n\u2028\u2029]/.test(e);function Co2(e,t8,r,n){let{comment:o,precedingNode:u}=r[n],{locStart:i,locEnd:s}=t8,D=i(o);if(u)for(let a=n-1;a>=0;a--){let{comment:c,precedingNode:d}=r[a];if(d!==u||!Tn2(e.slice(s(c),D)))break;D=i(c)}return V2(e,D,{backwards:!0})}function ho2(e,t8,r,n){let{comment:o,followingNode:u}=r[n],{locStart:i,locEnd:s}=t8,D=s(o);if(u)for(let a=n+1;a0;--i){let{comment:a,precedingNode:c,followingNode:d}=e[i-1];Re2.strictEqual(c,n),Re2.strictEqual(d,o);let f2=t8.originalText.slice(t8.locEnd(a),u);if(!((null==(D=(s=t8.printer).isGap)?void 0:D.call(s,f2,t8))??/^[\s(]*$/.test(f2)))break;u=t8.locStart(a)}for(let[a,{comment:c}]of e.entries())a1&&a.comments.sort(((c,d)=>t8.locStart(c)-t8.locStart(d)));e.length=0}function Kt2(e,t8,r){let n=r.locStart(t8)-1;for(let o=1;o!n.has(D))).length)return{leading:"",trailing:""};let s,u=[],i=[];return e.each((()=>{let D=e.node;if(null!=n&&n.has(D))return;let{leading:a,trailing:c}=D;a?u.push(function yo2(e,t8){var c;let r=e.node,n=[Sn2(e,t8)],{printer:o,originalText:u,locStart:i,locEnd:s}=t8;if(null!=(c=o.isBlockComment)&&c.call(o,r)){let d=V2(u,s(r))?V2(u,i(r),{backwards:!0})?G2:Ke2:" ";n.push(d)}else n.push(G2);let a=Y2(u,N2(u,s(r)));return!1!==a&&V2(u,a)&&n.push(G2),n}(e,t8)):c&&(s=function Ao2(e,t8,r){var a;let n=e.node,o=Sn2(e,t8),{printer:u,originalText:i,locStart:s}=t8,D=null==(a=u.isBlockComment)?void 0:a.call(u,n);if(null!=r&&r.hasLineSuffix&&(null==r||!r.isBlock)||V2(i,s(n),{backwards:!0})){let c=Ye2(i,s(n));return{doc:Be2([G2,c?G2:"",o]),isBlock:D,hasLineSuffix:!0}}return!D||null!=r&&r.hasLineSuffix?{doc:[Be2([" ",o]),le2],isBlock:D,hasLineSuffix:!0}:{doc:[" ",o],isBlock:D,hasLineSuffix:!1}}(e,t8,s),i.push(s.doc))}),"comments"),{leading:u,trailing:i}}async function Ln2(e,t8,r,n,o){let{embeddedLanguageFormatting:u,printer:{embed:i,hasPrettierIgnore:s=()=>!1,getVisitorKeys:D}}=r;if(!i||"auto"!==u)return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let a=H2(i.getVisitorKeys??D),c=[];!function p(){let{node:l}=e;if(null===l||"object"!=typeof l||s(e))return;for(let m of a(l))Array.isArray(l[m])?e.each(p,m):e.call(p,m);let F2=i(e,r);if(F2){if("function"==typeof F2)return void c.push({print:F2,node:l,pathStack:[...e.stack]});o.set(l,F2)}}();let d=e.stack;for(let{print:l,node:F2,pathStack:m}of c)try{e.stack=m;let E2=await l(f2,t8,e,r);E2&&o.set(F2,E2)}catch(E2){if(globalThis.PRETTIER_DEBUG)throw E2}function f2(l,F2){return async function _o2(e,t8,r,n){let o=await re2({...r,...t8,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:u}=await De2(e,o),i=await n(u,o);return Xe2(i)}(l,F2,r,n)}e.stack=d}var Rn2=function ko(e,t8){let{originalText:r,[Symbol.for("comments")]:n,locStart:o,locEnd:u,[Symbol.for("printedComments")]:i}=t8,{node:s}=e,D=o(s),a=u(s);for(let c of n)o(c)>=D&&u(c)<=a&&i.add(c);return r.slice(D,a)};async function je2(e,t8){({ast:e}=await Ht2(e,t8));let r=new Map,n=new Bn2(e),u=new Map;await Ln2(n,s,t8,je2,u);let i=await Yn2(n,t8,s,void 0,u);return function Pn(e){let{[Symbol.for("comments")]:t8,[Symbol.for("printedComments")]:r}=e;for(let n of t8){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}(t8),i;function s(a,c){return void 0===a||a===n?D(c):Array.isArray(a)?n.call((()=>D(c)),...a):n.call((()=>D(c)),a)}function D(a){let c=n.node;if(null==c)return"";let d=c&&"object"==typeof c&&void 0===a;if(d&&r.has(c))return r.get(c);let f2=Yn2(n,t8,s,a,u);return d&&r.set(c,f2),f2}}function Yn2(e,t8,r,n,o){var D;let s,{node:u}=e,{printer:i}=t8;return s=null!=(D=i.hasPrettierIgnore)&&D.call(i,e)?Rn2(e,t8):o.has(u)?o.get(u):i.print(e,t8,r,n),u===t8.cursorNode&&(s=Ze2(s,(a=>[xe2,a,xe2]))),i.printComment&&(!i.willPrintOwnComments||!i.willPrintOwnComments(e,t8))&&(s=function vn2(e,t8,r){let{leading:n,trailing:o}=Bo(e,r);return n||o?Ze2(t8,(u=>[n,u,o])):t8}(e,s,t8)),s}async function Ht2(e,t8){let r=e.comments??[];t8[Symbol.for("comments")]=r,t8[Symbol.for("tokens")]=e.tokens??[],t8[Symbol.for("printedComments")]=new Set,function Nn2(e,t8){let{comments:r}=e;if(delete e.comments,!Mt2(r)||!t8.printer.canAttachComment)return;let n=[],{locStart:o,locEnd:u,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:s={}},originalText:D}=t8,{ownLine:a=Gt,endOfLine:c=Gt,remaining:d=Gt}=s,f2=r.map(((p,l)=>({...On2(e,p,t8),comment:p,text:D,options:t8,ast:e,isLastComment:r.length-1===l})));for(let[p,l]of f2.entries()){let $,{comment:F2,precedingNode:m,enclosingNode:E2,followingNode:C,text:g,options:h2,ast:B,isLastComment:Z}=l;if("json"===h2.parser||"json5"===h2.parser||"__js_expression"===h2.parser||"__ts_expression"===h2.parser||"__vue_expression"===h2.parser||"__vue_ts_expression"===h2.parser){if(o(F2)-o(B)<=0){ne2(B,F2);continue}if(u(F2)-u(B)>=0){ue2(B,F2);continue}}if(i?$=[l]:(F2.enclosingNode=E2,F2.precedingNode=m,F2.followingNode=C,$=[F2,g,h2,B,Z]),Co2(g,h2,f2,p))F2.placement="ownLine",a(...$)||(C?ne2(C,F2):m?ue2(m,F2):X2(E2||B,F2));else if(ho2(g,h2,f2,p))F2.placement="endOfLine",c(...$)||(m?ue2(m,F2):C?ne2(C,F2):X2(E2||B,F2));else if(F2.placement="remaining",!d(...$))if(m&&C){let Q2=n.length;Q2>0&&n[Q2-1].followingNode!==C&&wn2(n,h2),n.push(l)}else m?ue2(m,F2):C?ne2(C,F2):X2(E2||B,F2)}if(wn2(n,t8),!i)for(let p of r)delete p.precedingNode,delete p.enclosingNode,delete p.followingNode}(e,t8);let{printer:{preprocess:n}}=t8;return{ast:e=n?await n(e,t8):e,comments:r}}function jn2(e){let t8=e.length-1;for(;;){let r=e[t8];if("Program"!==r?.type&&"File"!==r?.type)break;t8--}return e.slice(0,t8+1)}function qt2(e,t8,r,n,o=[],u){let{locStart:i,locEnd:s}=r,D=i(e),a=s(e);if(!(t8>a||t8n);let s=e.slice(n,o).search(/\S/),D=-1===s;if(!D)for(n+=s;o>n&&!/\S/.test(e[o-1]);--o);let d,f2,a=qt2(r,n,t8,((p,l)=>Vn2(t8,p,l)),[],"rangeStart"),c=D?a:qt2(r,o,t8,(p=>Vn2(t8,p)),[],"rangeEnd");if(!a||!c)return{rangeStart:0,rangeEnd:0};if((({parser:e})=>"json"===e||"json5"===e||"json-stringify"===e)(t8)){let p=function wo2(e,t8){let r=[e.node,...e.parentNodes],n=new Set([t8.node,...t8.parentNodes]);return r.find((o=>$n2.has(o.type)&&n.has(o)))}(a,c);d=p,f2=p}else({startNode:d,endNode:f2}=function Oo(e,t8,{locStart:r,locEnd:n}){let o=e.node,u=t8.node;if(o===u)return{startNode:o,endNode:u};let i=r(e.node);for(let D of jn2(t8.parentNodes)){if(!(r(D)>=i))break;u=D}let s=n(t8.node);for(let D of jn2(e.parentNodes)){if(!(n(D)<=s))break;if(o=D,o===u)break}return{startNode:o,endNode:u}}(a,c,t8));return{rangeStart:Math.min(u(d),u(f2)),rangeEnd:Math.max(i(d),i(f2))}}var Wn2=function So2(e,t8){let{cursorOffset:r,locStart:n,locEnd:o}=t8,u=H2(t8.printer.getVisitorKeys),i=D=>n(D)<=r&&o(D)>=r,s=e;for(let D of function*bn2(e,t8){let r=[e];for(let n=0;n=0&&(t8.cursorNode=Wn2(n,t8));let u=await je2(n,t8);r>0&&(u=qe2([G2,u],r,t8.tabWidth));let i=fe2(u,t8);if(r>0){let D=i.formatted.trim();void 0!==i.cursorNodeStart&&(i.cursorNodeStart-=i.formatted.indexOf(D)),i.formatted=D+be2(t8.endOfLine)}let s=t8[Symbol.for("comments")];if(t8.cursorOffset>=0){let D,a,c,d,f2;if(t8.cursorNode&&i.cursorNodeText?(D=t8.locStart(t8.cursorNode),a=o.slice(D,t8.locEnd(t8.cursorNode)),c=t8.cursorOffset-D,d=i.cursorNodeStart,f2=i.cursorNodeText):(D=0,a=o,c=t8.cursorOffset,d=0,f2=i.formatted),a===f2)return{formatted:i.formatted,cursorOffset:d+c,comments:s};let p=a.split("");p.splice(c,0,Un2);let l=f2.split(""),F2=(0,Kn2.diffArrays)(p,l),m=d;for(let E2 of F2)if(E2.removed){if(E2.value.includes(Un2))break}else m+=E2.count;return{formatted:i.formatted,cursorOffset:m,comments:s}}return{formatted:i.formatted,cursorOffset:-1,comments:s}}function Jt2(e,t8,r){return"number"!=typeof t8||Number.isNaN(t8)||t8<0||t8>e.length?r:t8}function zn2(e,t8){let{cursorOffset:r,rangeStart:n,rangeEnd:o}=t8;return r=Jt2(e,r,-1),n=Jt2(e,n,0),o=Jt2(e,o,e.length),{...t8,cursorOffset:r,rangeStart:n,rangeEnd:o}}function Jn2(e,t8){let{cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:u}=zn2(e,t8),i="\ufeff"===e.charAt(0);if(i&&(e=e.slice(1),r--,n--,o--),"auto"===u&&(u=function hr2(e){let t8=e.indexOf("\r");return t8>=0?"\n"===e.charAt(t8+1)?"crlf":"cr":"lf"}(e)),e.includes("\r")){let s=D=>_t2(e.slice(0,Math.max(D,0)),"\r\n");r-=s(r),n-=s(n),o-=s(o),e=function gr2(e){return ee2(!1,e,/\r\n?/g,"\n")}(e)}return{hasBOM:i,text:e,options:zn2(e,{...t8,cursorOffset:r,rangeStart:n,rangeEnd:o,endOfLine:u})}}async function Gn2(e,t8){let r=await ft2(t8);return!r.hasPragma||r.hasPragma(e)}async function Xt2(e,t8){let u,{hasBOM:r,text:n,options:o}=Jn2(e,await re2(t8));return o.rangeStart>=o.rangeEnd&&""!==n||o.requirePragma&&!await Gn2(n,o)?{formatted:e,cursorOffset:t8.cursorOffset,comments:[]}:(o.rangeStart>0||o.rangeEndo&&t8.cursorOffset<=u?t8.cursorOffset-o:-1,endOfLine:"lf"},a),d=c.formatted.trimEnd(),{cursorOffset:f2}=t8;f2>u?f2+=d.length-i.length:c.cursorOffset>=0&&(f2=c.cursorOffset+o);let p=n.slice(0,o)+d+n.slice(u);if("lf"!==t8.endOfLine){let l=be2(t8.endOfLine);f2>=0&&"\r\n"===l&&(f2+=_t2(p.slice(0,f2),"\n")),p=ee2(!1,p,"\n",l)}return{formatted:p,cursorOffset:f2,comments:c.comments}}(n,o):(!o.requirePragma&&o.insertPragma&&o.printer.insertPragma&&!await Gn2(n,o)&&(n=o.printer.insertPragma(n)),u=await qn2(n,o)),r&&(u.formatted="\ufeff"+u.formatted,u.cursorOffset>=0&&u.cursorOffset++),u)}var Qt2={};We(Qt2,{addDanglingComment:()=>X2,addLeadingComment:()=>ne2,addTrailingComment:()=>ue2,getAlignmentSize:()=>Fe2,getIndentSize:()=>nu,getMaxContinuousCount:()=>ru,getNextNonSpaceNonCommentCharacter:()=>iu,getNextNonSpaceNonCommentCharacterIndex:()=>Go,getStringWidth:()=>we2,hasNewline:()=>V2,hasNewlineInRange:()=>uu,hasSpaces:()=>ou,isNextLineEmpty:()=>Jo,isNextLineEmptyAfterIndex:()=>Ct2,isPreviousLineEmpty:()=>Ho,makeString:()=>su,skip:()=>me2,skipEverythingButNewLine:()=>mt2,skipInlineComment:()=>Ee2,skipNewline:()=>Y2,skipSpaces:()=>N2,skipToLineEnd:()=>dt2,skipTrailingComment:()=>Ce2,skipWhitespace:()=>xn2});var Ee2=function Lo(e,t8){if(!1===t8)return!1;if("/"===e.charAt(t8)&&"*"===e.charAt(t8+1))for(let r=t8+2;rMath.max(n,o.length/t8.length)),0)};var nu=function Vo(e,t8){let r=e.lastIndexOf("\n");return-1===r?0:Fe2(e.slice(r+1).match(/^[\t ]*/)[0],t8)};var uu=function $o(e,t8,r){for(let n=t8;ns===n?s:D===t8?"\\"+D:D||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(s)?s:"\\"+s)));return t8+u+t8};function Go(e,t8){return 2===arguments.length||"number"==typeof t8?Ve2(e,t8):function zo(e,t8,r){return Ve2(e,r(t8))}(...arguments)}function Ho(e,t8){return 2===arguments.length||"number"==typeof t8?Ye2(e,t8):function Ko(e,t8,r){return Ye2(e,r(t8))}(...arguments)}function Jo(e,t8){return 2===arguments.length||"number"==typeof t8?Ct2(e,t8):function qo(e,t8,r){return Ct2(e,r(t8))}(...arguments)}var er2={};We(er2,{builders:()=>Xo,printer:()=>Zo,utils:()=>Qo});var Xo={join:ke2,line:Ke2,softline:Er2,hardline:G2,literalline:He2,group:At2,conditionalGroup:function fr2(e,t8){return At2(e[0],{...t8,expandedStates:e})},fill:Ge2,lineSuffix:Be2,lineSuffixBoundary:dr2,cursor:xe2,breakParent:le2,ifBreak:function Fr2(e,t8="",r={}){return{type:x2,breakContents:e,flatContents:t8,groupId:r.groupId}},trim:mr2,indent:ie2,indentIfBreak:function pr2(e,t8){return{type:P,contents:e,groupId:t8.groupId,negate:t8.negate}},align:oe2,addAlignmentToDoc:qe2,markAsRoot:function cr2(e){return oe2({type:"root"},e)},dedentToRoot:function ar2(e){return oe2(Number.NEGATIVE_INFINITY,e)},dedent:function lr2(e){return oe2(-1,e)},hardlineWithoutBreakParent:_e2,literallineWithoutBreakParent:Bt2,label:function Cr2(e,t8){return e?{type:O2,label:e,contents:t8}:t8},concat:e=>e},Zo={printDocToString:fe2},Qo={willBreak:function wr2(e){return Je2(e,Su,!1)},traverseDoc:Ae2,findInDoc:Je2,mapDoc:Ne2,removeLines:function Nr2(e){return Ne2(e,vu)},stripTrailingHardline:Xe2,replaceEndOfLine:function Tr2(e,t8=He2){return Ne2(e,(r=>"string"==typeof r?ke2(t8,r.split("\n")):r))},canBreak:function Sr2(e){return Je2(e,Iu,!1)}},Du="3.1.1";function ae(e,t8=1){return async(...r)=>{let n=r[t8]??{},o=n.plugins??[];return r[t8]={...n,plugins:Array.isArray(o)?o:Object.values(o)},e(...r)}}var au=ae(Xt2);async function cu(e,t8){let{formatted:r}=await au(e,{...t8,cursorOffset:-1});return r}async function ei2(e,t8){return await cu(e,t8)===e}var ti2=ae(et2,0),ri2={parse:ae((async function Xn2(e,t8,r){let{text:n,options:o}=Jn2(e,await re2(t8)),u=await De2(n,o);return r&&(r.preprocessForPrint&&(u.ast=await Ht2(u.ast,o)),r.massage&&(u.ast=fn2(u.ast,o))),u})),formatAST:ae((async function Zn2(e,t8){return t8=await re2(t8),fe2(await je2(e,t8),t8)})),formatDoc:ae((async function Qn2(e,t8){let r=function Pr2(e){let t8=Object.create(null),r=new Set;return function n(u,i,s){var D,a;if("string"==typeof u)return JSON.stringify(u);if(Array.isArray(u)){let c=u.map(n).filter(Boolean);return 1===c.length?c[0]:`[${c.join(", ")}]`}if(u.type===A2){let c=(null==(D=s?.[i+1])?void 0:D.type)===b2;return u.literal?c?"literalline":"literallineWithoutBreakParent":u.hard?c?"hardline":"hardlineWithoutBreakParent":u.soft?"softline":"line"}if(u.type===b2)return(null==(a=s?.[i-1])?void 0:a.type)===A2&&s[i-1].hard?void 0:"breakParent";if(u.type===v2)return"trim";if(u.type===T2)return"indent("+n(u.contents)+")";if(u.type===S2)return u.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(u.contents)+")":u.n<0?"dedent("+n(u.contents)+")":"root"===u.n.type?"markAsRoot("+n(u.contents)+")":"align("+JSON.stringify(u.n)+", "+n(u.contents)+")";if(u.type===x2)return"ifBreak("+n(u.breakContents)+(u.flatContents?", "+n(u.flatContents):"")+(u.groupId?(u.flatContents?"":', ""')+`, { groupId: ${o(u.groupId)} }`:"")+")";if(u.type===P){let c=[];u.negate&&c.push("negate: true"),u.groupId&&c.push(`groupId: ${o(u.groupId)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return`indentIfBreak(${n(u.contents)}${d})`}if(u.type===_){let c=[];u.break&&"propagated"!==u.break&&c.push("shouldBreak: true"),u.id&&c.push(`id: ${o(u.id)}`);let d=c.length>0?`, { ${c.join(", ")} }`:"";return u.expandedStates?`conditionalGroup([${u.expandedStates.map((f2=>n(f2))).join(",")}]${d})`:`group(${n(u.contents)}${d})`}if(u.type===k2)return`fill([${u.parts.map((c=>n(c))).join(", ")}])`;if(u.type===L2)return"lineSuffix("+n(u.contents)+")";if(u.type===I2)return"lineSuffixBoundary";if(u.type===O2)return`label(${JSON.stringify(u.label)}, ${n(u.contents)})`;throw new Error("Unknown doc type "+u.type)}(J2(e));function o(u){if("symbol"!=typeof u)return JSON.stringify(String(u));if(u in t8)return t8[u];let i=u.description||"symbol";for(let s=0;;s++){let D=i+(s>0?` #${s}`:"");if(!r.has(D))return r.add(D),t8[u]=`Symbol.for(${JSON.stringify(D)})`}}}(e),{formatted:n}=await Xt2(r,{...t8,parser:"__js_expression"});return n})),printToDoc:ae((async function eu(e,t8){t8=await re2(t8);let{ast:r}=await De2(e,t8);return je2(r,t8)})),printDocToString:ae((async function tu(e,t8){return fe2(e,await re2(t8))}))},qc=tr2;var formatter=memoizerific__WEBPACK_IMPORTED_MODULE_0___default()(2)((async(type,source)=>!1===type?source:"dedent"===type||!0===type?function dedent(templ){for(var values=[],_i2=1;_i2{__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{MDXProvider:()=>_lib_index_js__WEBPACK_IMPORTED_MODULE_0__.x,useMDXComponents:()=>_lib_index_js__WEBPACK_IMPORTED_MODULE_0__.R});var _lib_index_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/@mdx-js/react/lib/index.js")},"../../node_modules/@mdx-js/react/lib/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{R:()=>useMDXComponents,x:()=>MDXProvider});var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("../../node_modules/react/index.js");const emptyComponents={},MDXContext=react__WEBPACK_IMPORTED_MODULE_0__.createContext(emptyComponents);function useMDXComponents(components){const contextComponents=react__WEBPACK_IMPORTED_MODULE_0__.useContext(MDXContext);return react__WEBPACK_IMPORTED_MODULE_0__.useMemo((function(){return"function"==typeof components?components(contextComponents):{...contextComponents,...components}}),[contextComponents,components])}function MDXProvider(properties){let allComponents;return allComponents=properties.disableParentContext?"function"==typeof properties.components?properties.components(emptyComponents):properties.components||emptyComponents:useMDXComponents(properties.components),react__WEBPACK_IMPORTED_MODULE_0__.createElement(MDXContext.Provider,{value:allComponents},properties.children)}}}]); \ No newline at end of file diff --git a/5458.113a7855.iframe.bundle.js b/5458.113a7855.iframe.bundle.js new file mode 100644 index 000000000..fe5c26a37 --- /dev/null +++ b/5458.113a7855.iframe.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 5458.113a7855.iframe.bundle.js.LICENSE.txt */ +(self.webpackChunk_cdssnc_gcds_components=self.webpackChunk_cdssnc_gcds_components||[]).push([[5458],{"../../node_modules/axe-core/axe.js":function(module,exports,__webpack_require__){module=__webpack_require__.nmd(module);var __WEBPACK_AMD_DEFINE_FACTORY__,__WEBPACK_AMD_DEFINE_RESULT__,process=__webpack_require__("../../node_modules/process/browser.js");!function axeFunction(window){var global=window,document=window.document;function _typeof(obj){return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}var axe=axe||{};function SupportError(error){this.name="SupportError",this.cause=error.cause,this.message="`".concat(error.cause,"` - feature unsupported in your environment."),error.ruleId&&(this.ruleId=error.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}axe.version="4.8.3",void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return axe}.apply(exports,[]))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__),"object"===_typeof(module)&&module.exports&&"function"==typeof axeFunction.toString&&(axe.source="("+axeFunction.toString()+')(typeof window === "object" ? window : this);',module.exports=axe),"function"==typeof window.getComputedStyle&&(window.axe=axe),SupportError.prototype=Object.create(Error.prototype),SupportError.prototype.constructor=SupportError;var _excluded=["node"],_excluded2=["relatedNodes"],_excluded3=["node"],_excluded4=["variant"],_excluded5=["matches"],_excluded6=["chromium"],_excluded7=["noImplicit"],_excluded8=["noPresentational"],_excluded9=["precision","format","inGamut"],_excluded10=["space"],_excluded11=["algorithm"],_excluded12=["method"],_excluded13=["maxDeltaE","deltaEMethod","steps","maxSteps"],_excluded14=["node"],_excluded15=["environmentData"],_excluded16=["environmentData"],_excluded17=["environmentData"],_excluded18=["environmentData"],_excluded19=["environmentData"];function _construct(Parent,args,Class){return _construct=_isNativeReflectConstruct()?Reflect.construct.bind():function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&_setPrototypeOf(instance,Class.prototype),instance},_construct.apply(null,arguments)}function _inherits(subClass,superClass){if("function"!=typeof superClass&&null!==superClass)throw new TypeError("Super expression must either be null or a function");subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,writable:!0,configurable:!0}}),Object.defineProperty(subClass,"prototype",{writable:!1}),superClass&&_setPrototypeOf(subClass,superClass)}function _setPrototypeOf(o,p){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function _setPrototypeOf(o,p){return o.__proto__=p,o},_setPrototypeOf(o,p)}function _createSuper(Derived){var hasNativeReflectConstruct=_isNativeReflectConstruct();return function _createSuperInternal(){var result,Super=_getPrototypeOf(Derived);if(hasNativeReflectConstruct){var NewTarget=_getPrototypeOf(this).constructor;result=Reflect.construct(Super,arguments,NewTarget)}else result=Super.apply(this,arguments);return function _possibleConstructorReturn(self,call){if(call&&("object"===_typeof(call)||"function"==typeof call))return call;if(void 0!==call)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(self)}(this,result)}}function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function _getPrototypeOf(o){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)},_getPrototypeOf(o)}function _classPrivateFieldInitSpec(obj,privateMap,value){_checkPrivateRedeclaration(obj,privateMap),privateMap.set(obj,value)}function _classPrivateMethodInitSpec(obj,privateSet){_checkPrivateRedeclaration(obj,privateSet),privateSet.add(obj)}function _checkPrivateRedeclaration(obj,privateCollection){if(privateCollection.has(obj))throw new TypeError("Cannot initialize the same private elements twice on an object")}function _classPrivateFieldGet(receiver,privateMap){return function _classApplyDescriptorGet(receiver,descriptor){if(descriptor.get)return descriptor.get.call(receiver);return descriptor.value}(receiver,_classExtractFieldDescriptor(receiver,privateMap,"get"))}function _classPrivateMethodGet(receiver,privateSet,fn){if(!privateSet.has(receiver))throw new TypeError("attempted to get private field on non-instance");return fn}function _classPrivateFieldSet(receiver,privateMap,value){return function _classApplyDescriptorSet(receiver,descriptor,value){if(descriptor.set)descriptor.set.call(receiver,value);else{if(!descriptor.writable)throw new TypeError("attempted to set read only private field");descriptor.value=value}}(receiver,_classExtractFieldDescriptor(receiver,privateMap,"set"),value),value}function _classExtractFieldDescriptor(receiver,privateMap,action){if(!privateMap.has(receiver))throw new TypeError("attempted to "+action+" private field on non-instance");return privateMap.get(receiver)}function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _iterableToArray(iter){if("undefined"!=typeof Symbol&&null!=iter[Symbol.iterator]||null!=iter["@@iterator"])return Array.from(iter)}function _extends(){return _extends=Object.assign?Object.assign.bind():function(target){for(var i=1;i=o.length?{done:!0}:{done:!1,value:o[i++]}},e:function e(_e2){throw _e2},f:F}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var err,normalCompletion=!0,didErr=!1;return{s:function s(){it=it.call(o)},n:function n(){var step=it.next();return normalCompletion=step.done,step},e:function e(_e3){didErr=!0,err=_e3},f:function f(){try{normalCompletion||null==it.return||it.return()}finally{if(didErr)throw err}}}}function _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0?1:-1}})),require_sign=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented()()?Math.sign:require_shim()})),require_to_integer=__commonJS((function(exports,module){"use strict";var sign=require_sign(),abs=Math.abs,floor=Math.floor;module.exports=function(value){return isNaN(value)?0:0!==(value=Number(value))&&isFinite(value)?sign(value)*floor(abs(value)):value}})),require_to_pos_integer=__commonJS((function(exports,module){"use strict";var toInteger=require_to_integer(),max2=Math.max;module.exports=function(value){return max2(0,toInteger(value))}})),require_resolve_length=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer();module.exports=function(optsLength,fnLength,isAsync){var length;return isNaN(optsLength)?(length=fnLength)>=0?isAsync&&length?length-1:length:1:!1!==optsLength&&toPosInt(optsLength)}})),require_valid_callable=__commonJS((function(exports,module){"use strict";module.exports=function(fn){if("function"!=typeof fn)throw new TypeError(fn+" is not a function");return fn}})),require_valid_value=__commonJS((function(exports,module){"use strict";var isValue=require_is_value();module.exports=function(value){if(!isValue(value))throw new TypeError("Cannot use null or undefined");return value}})),require_iterate=__commonJS((function(exports,module){"use strict";var callable=require_valid_callable(),value=require_valid_value(),bind=Function.prototype.bind,call=Function.prototype.call,keys=Object.keys,objPropertyIsEnumerable=Object.prototype.propertyIsEnumerable;module.exports=function(method,defVal){return function(obj,cb){var list,thisArg=arguments[2],compareFn=arguments[3];return obj=Object(value(obj)),callable(cb),list=keys(obj),compareFn&&list.sort("function"==typeof compareFn?bind.call(compareFn,obj):void 0),"function"!=typeof method&&(method=list[method]),call.call(method,list,(function(key,index){return objPropertyIsEnumerable.call(obj,key)?call.call(cb,thisArg,obj[key],key,obj,index):defVal}))}}})),require_for_each=__commonJS((function(exports,module){"use strict";module.exports=require_iterate()("forEach")})),require_registered_extensions=__commonJS((function(){})),require_is_implemented2=__commonJS((function(exports,module){"use strict";module.exports=function(){var obj,assign=Object.assign;return"function"==typeof assign&&(assign(obj={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),obj.foo+obj.bar+obj.trzy==="razdwatrzy")}})),require_is_implemented3=__commonJS((function(exports,module){"use strict";module.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),require_shim2=__commonJS((function(exports,module){"use strict";var isValue=require_is_value(),keys=Object.keys;module.exports=function(object){return keys(isValue(object)?Object(object):object)}})),require_keys=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented3()()?Object.keys:require_shim2()})),require_shim3=__commonJS((function(exports,module){"use strict";var keys=require_keys(),value=require_valid_value(),max2=Math.max;module.exports=function(dest,src){var error,i,assign,length=max2(arguments.length,2);for(dest=Object(value(dest)),assign=function assign(key){try{dest[key]=src[key]}catch(e){error||(error=e)}},i=1;i-1}})),require_contains=__commonJS((function(exports,module){"use strict";module.exports=require_is_implemented4()()?String.prototype.contains:require_shim4()})),require_d=__commonJS((function(exports,module){"use strict";var isValue=require_is(),isPlainFunction=require_is5(),assign=require_assign(),normalizeOpts=require_normalize_options(),contains3=require_contains(),d2=module.exports=function(dscr,value){var c4,e,w,options,desc;return arguments.length<2||"string"!=typeof dscr?(options=value,value=dscr,dscr=null):options=arguments[2],isValue(dscr)?(c4=contains3.call(dscr,"c"),e=contains3.call(dscr,"e"),w=contains3.call(dscr,"w")):(c4=w=!0,e=!1),desc={value,configurable:c4,enumerable:e,writable:w},options?assign(normalizeOpts(options),desc):desc};d2.gs=function(dscr,get2,set2){var c4,e,options,desc;return"string"!=typeof dscr?(options=set2,set2=get2,get2=dscr,dscr=null):options=arguments[3],isValue(get2)?isPlainFunction(get2)?isValue(set2)?isPlainFunction(set2)||(options=set2,set2=void 0):set2=void 0:(options=get2,get2=set2=void 0):get2=void 0,isValue(dscr)?(c4=contains3.call(dscr,"c"),e=contains3.call(dscr,"e")):(c4=!0,e=!1),desc={get:get2,set:set2,configurable:c4,enumerable:e},options?assign(normalizeOpts(options),desc):desc}})),require_event_emitter=__commonJS((function(exports,module){"use strict";var on,once,off,emit,methods,descriptors,base,d2=require_d(),callable=require_valid_callable(),apply=Function.prototype.apply,call=Function.prototype.call,create=Object.create,defineProperty=Object.defineProperty,defineProperties=Object.defineProperties,hasOwnProperty2=Object.prototype.hasOwnProperty,descriptor={configurable:!0,enumerable:!1,writable:!0};once=function once(type2,listener){var _once,self2;return callable(listener),self2=this,on.call(this,type2,_once=function once2(){off.call(self2,type2,_once),apply.call(listener,this,arguments)}),_once.__eeOnceListener__=listener,this},off=function off(type2,listener){var data,listeners,candidate,i;if(callable(listener),!hasOwnProperty2.call(this,"__ee__"))return this;if(!(data=this.__ee__)[type2])return this;if(listeners=data[type2],"object"===_typeof(listeners))for(i=0;candidate=listeners[i];++i)candidate!==listener&&candidate.__eeOnceListener__!==listener||(2===listeners.length?data[type2]=listeners[i?0:1]:listeners.splice(i,1));else listeners!==listener&&listeners.__eeOnceListener__!==listener||delete data[type2];return this},emit=function emit(type2){var i,l,listener,listeners,args;if(hasOwnProperty2.call(this,"__ee__")&&(listeners=this.__ee__[type2]))if("object"===_typeof(listeners)){for(l=arguments.length,args=new Array(l-1),i=1;i=55296&&code<=56319&&(value+=arrayLike[++i]),value=mapFn?call.call(mapFn,thisArg,value,j):value,Context2?(desc.value=value,defineProperty(arr,j,desc)):arr[j]=value,++j;length=j}if(void 0===length)for(length=toPosInt(arrayLike.length),Context2&&(arr=new Context2(length)),i=0;i=0?floor(fromIndex):toPosInt(this.length)-floor(abs(fromIndex));i"}}})),require_to_short_string_representation=__commonJS((function(exports,module){"use strict";var safeToString=require_safe_to_string(),reNewLine=/[\n\r\u2028\u2029]/g;module.exports=function(value){var string=safeToString(value);return string.length>100&&(string=string.slice(0,99)+"…"),string=string.replace(reNewLine,(function(_char){return JSON.stringify(_char).slice(1,-1)}))}})),require_is_promise=__commonJS((function(exports,module){function isPromise(obj){return!!obj&&("object"===_typeof(obj)||"function"==typeof obj)&&"function"==typeof obj.then}module.exports=isPromise,module.exports.default=isPromise})),require_promise=__commonJS((function(){"use strict";var objectMap=require_map(),primitiveSet=require_primitive_set(),ensureString=require_validate_stringifiable_value(),toShortString=require_to_short_string_representation(),isPromise=require_is_promise(),nextTick=require_next_tick(),create=Object.create,supportedModes=primitiveSet("then","then:finally","done","done:finally");require_registered_extensions().promise=function(mode,conf){var waiting=create(null),cache2=create(null),promises=create(null);if(!0===mode)mode=null;else if(mode=ensureString(mode),!supportedModes[mode])throw new TypeError("'"+toShortString(mode)+"' is not valid promise mode");conf.on("set",(function(id,ignore,promise){var isFailed=!1;if(!isPromise(promise))return cache2[id]=promise,void conf.emit("setasync",id,1);waiting[id]=1,promises[id]=promise;var onSuccess=function onSuccess(result){var count=waiting[id];if(isFailed)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");count&&(delete waiting[id],cache2[id]=result,conf.emit("setasync",id,count))},onFailure=function onFailure(){isFailed=!0,waiting[id]&&(delete waiting[id],delete promises[id],conf.delete(id))},resolvedMode=mode;if(resolvedMode||(resolvedMode="then"),"then"===resolvedMode){var nextTickFailure=function nextTickFailure(){nextTick(onFailure)};"function"==typeof(promise=promise.then((function(result){nextTick(onSuccess.bind(this,result))}),nextTickFailure)).finally&&promise.finally(nextTickFailure)}else if("done"===resolvedMode){if("function"!=typeof promise.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");promise.done(onSuccess,onFailure)}else if("done:finally"===resolvedMode){if("function"!=typeof promise.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof promise.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");promise.done(onSuccess),promise.finally(onFailure)}})),conf.on("get",(function(id,args,context){var promise;if(waiting[id])++waiting[id];else{promise=promises[id];var emit=function emit(){conf.emit("getasync",id,args,context)};isPromise(promise)?"function"==typeof promise.done?promise.done(emit):promise.then((function(){nextTick(emit)})):emit()}})),conf.on("delete",(function(id){if(delete promises[id],waiting[id])delete waiting[id];else if(hasOwnProperty.call(cache2,id)){var result=cache2[id];delete cache2[id],conf.emit("deleteasync",id,[result])}})),conf.on("clear",(function(){var oldCache=cache2;cache2=create(null),waiting=create(null),promises=create(null),conf.emit("clearasync",objectMap(oldCache,(function(data){return[data]})))}))}})),require_dispose=__commonJS((function(){"use strict";var callable=require_valid_callable(),forEach=require_for_each(),extensions=require_registered_extensions(),apply=Function.prototype.apply;extensions.dispose=function(dispose,conf,options){var del;if(callable(dispose),options.async&&extensions.async||options.promise&&extensions.promise)return conf.on("deleteasync",del=function del(id,resultArray){apply.call(dispose,null,resultArray)}),void conf.on("clearasync",(function(cache2){forEach(cache2,(function(result,id){del(id,result)}))}));conf.on("delete",del=function del(id,result){dispose(result)}),conf.on("clear",(function(cache2){forEach(cache2,(function(result,id){del(id,result)}))}))}})),require_max_timeout=__commonJS((function(exports,module){"use strict";module.exports=2147483647})),require_valid_timeout=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer(),maxTimeout=require_max_timeout();module.exports=function(value){if((value=toPosInt(value))>maxTimeout)throw new TypeError(value+" exceeds maximum possible timeout");return value}})),require_max_age=__commonJS((function(){"use strict";var aFrom=require_from(),forEach=require_for_each(),nextTick=require_next_tick(),isPromise=require_is_promise(),timeout=require_valid_timeout(),extensions=require_registered_extensions(),noop3=Function.prototype,max2=Math.max,min=Math.min,create=Object.create;extensions.maxAge=function(maxAge,conf,options){var timeouts,postfix,preFetchAge,preFetchTimeouts;(maxAge=timeout(maxAge))&&(timeouts=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,(function(id){timeouts[id]=setTimeout((function(){conf.delete(id)}),maxAge),"function"==typeof timeouts[id].unref&&timeouts[id].unref(),preFetchTimeouts&&(preFetchTimeouts[id]&&"nextTick"!==preFetchTimeouts[id]&&clearTimeout(preFetchTimeouts[id]),preFetchTimeouts[id]=setTimeout((function(){delete preFetchTimeouts[id]}),preFetchAge),"function"==typeof preFetchTimeouts[id].unref&&preFetchTimeouts[id].unref())})),conf.on("delete"+postfix,(function(id){clearTimeout(timeouts[id]),delete timeouts[id],preFetchTimeouts&&("nextTick"!==preFetchTimeouts[id]&&clearTimeout(preFetchTimeouts[id]),delete preFetchTimeouts[id])})),options.preFetch&&(preFetchAge=!0===options.preFetch||isNaN(options.preFetch)?.333:max2(min(Number(options.preFetch),1),0))&&(preFetchTimeouts={},preFetchAge=(1-preFetchAge)*maxAge,conf.on("get"+postfix,(function(id,args,context){preFetchTimeouts[id]||(preFetchTimeouts[id]="nextTick",nextTick((function(){var result;"nextTick"===preFetchTimeouts[id]&&(delete preFetchTimeouts[id],conf.delete(id),options.async&&(args=aFrom(args)).push(noop3),result=conf.memoized.apply(context,args),options.promise&&isPromise(result)&&("function"==typeof result.done?result.done(noop3,noop3):result.then(noop3,noop3)))})))}))),conf.on("clear"+postfix,(function(){forEach(timeouts,(function(id){clearTimeout(id)})),timeouts={},preFetchTimeouts&&(forEach(preFetchTimeouts,(function(id){"nextTick"!==id&&clearTimeout(id)})),preFetchTimeouts={})})))}})),require_lru_queue=__commonJS((function(exports,module){"use strict";var toPosInt=require_to_pos_integer(),create=Object.create,hasOwnProperty2=Object.prototype.hasOwnProperty;module.exports=function(limit){var del,size=0,base=1,queue2=create(null),map=create(null),index=0;return limit=toPosInt(limit),{hit:function hit(id){var oldIndex=map[id],nuIndex=++index;if(queue2[nuIndex]=id,map[id]=nuIndex,!oldIndex){if(++size<=limit)return;return id=queue2[base],del(id),id}if(delete queue2[oldIndex],base===oldIndex)for(;!hasOwnProperty2.call(queue2,++base););},delete:del=function del(id){var oldIndex=map[id];if(oldIndex&&(delete queue2[oldIndex],delete map[id],--size,base===oldIndex)){if(!size)return index=0,void(base=1);for(;!hasOwnProperty2.call(queue2,++base););}},clear:function clear(){size=0,base=1,queue2=create(null),map=create(null),index=0}}}})),require_max=__commonJS((function(){"use strict";var toPosInteger=require_to_pos_integer(),lruQueue=require_lru_queue(),extensions=require_registered_extensions();extensions.max=function(max2,conf,options){var postfix,queue2,hit;(max2=toPosInteger(max2))&&(queue2=lruQueue(max2),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,hit=function hit(id){void 0!==(id=queue2.hit(id))&&conf.delete(id)}),conf.on("get"+postfix,hit),conf.on("delete"+postfix,queue2.delete),conf.on("clear"+postfix,queue2.clear))}})),require_ref_counter=__commonJS((function(){"use strict";var d2=require_d(),extensions=require_registered_extensions(),create=Object.create,defineProperties=Object.defineProperties;extensions.refCounter=function(ignore,conf,options){var cache2,postfix;cache2=create(null),postfix=options.async&&extensions.async||options.promise&&extensions.promise?"async":"",conf.on("set"+postfix,(function(id,length){cache2[id]=length||1})),conf.on("get"+postfix,(function(id){++cache2[id]})),conf.on("delete"+postfix,(function(id){delete cache2[id]})),conf.on("clear"+postfix,(function(){cache2={}})),defineProperties(conf.memoized,{deleteRef:d2((function(){var id=conf.get(arguments);return null===id?null:cache2[id]?! --cache2[id]&&(conf.delete(id),!0):null})),getRefCount:d2((function(){var id=conf.get(arguments);return null===id?0:cache2[id]?cache2[id]:0}))})}})),require_memoizee=__commonJS((function(exports,module){"use strict";var normalizeOpts=require_normalize_options(),resolveLength=require_resolve_length(),plain=require_plain();module.exports=function(fn){var length,options=normalizeOpts(arguments[1]);return options.normalizer||0!==(length=options.length=resolveLength(options.length,fn.length,options.async))&&(options.primitive?!1===length?options.normalizer=require_primitive():length>1&&(options.normalizer=require_get_primitive_fixed()(length)):options.normalizer=!1===length?require_get()():1===length?require_get_1()():require_get_fixed()(length)),options.async&&require_async(),options.promise&&require_promise(),options.dispose&&require_dispose(),options.maxAge&&require_max_age(),options.max&&require_max(),options.refCounter&&require_ref_counter(),plain(fn,options)}})),require_utils=__commonJS((function(exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.isIdentStart=function isIdentStart(c4){return c4>="a"&&c4<="z"||c4>="A"&&c4<="Z"||"-"===c4||"_"===c4},exports.isIdent=function isIdent(c4){return c4>="a"&&c4<="z"||c4>="A"&&c4<="Z"||c4>="0"&&c4<="9"||"-"===c4||"_"===c4},exports.isHex=function isHex(c4){return c4>="a"&&c4<="f"||c4>="A"&&c4<="F"||c4>="0"&&c4<="9"},exports.escapeIdentifier=function escapeIdentifier(s){for(var len=s.length,result="",i=0;i="A"&&chr<="Z"||chr>="a"&&chr<="z"||0!==i&&chr>="0"&&chr<="9")result+=chr;else{var charCode=chr.charCodeAt(0);if(55296==(63488&charCode)){var extraCharCode=s.charCodeAt(i++);if(55296!=(64512&charCode)||56320!=(64512&extraCharCode))throw Error("UCS-2(decode): illegal sequence");charCode=((1023&charCode)<<10)+(1023&extraCharCode)+65536}result+="\\"+charCode.toString(16)+" "}i++}return result},exports.escapeStr=function escapeStr(s){for(var replacement,len=s.length,result="",i=0;i":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},exports.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},exports.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},exports.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),require_parser_context=__commonJS((function(exports){"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var utils_1=require_utils();exports.parseCssSelector=function parseCssSelector(str,pos,pseudos,attrEqualityMods,ruleNestingOperators,substitutesEnabled){var l=str.length,chr="";function getStr(quote,escapeTable){var result="";for(pos++,chr=str.charAt(pos);pos=l)throw Error("Expected symbol but end of file reached.");if(chr=str.charAt(pos),utils_1.identSpecialChars[chr])result+=chr;else{if(utils_1.isHex(chr)){var hex=chr;for(pos++,chr=str.charAt(pos);utils_1.isHex(chr);)hex+=chr,pos++,chr=str.charAt(pos);" "===chr&&(pos++,chr=str.charAt(pos)),result+=String.fromCharCode(parseInt(hex,16));continue}result+=chr}}pos++,chr=str.charAt(pos)}return result}function skipWhitespace(){chr=str.charAt(pos);for(var result=!1;" "===chr||"\t"===chr||"\n"===chr||"\r"===chr||"\f"===chr;)result=!0,pos++,chr=str.charAt(pos);return result}function parseSelector(){var selector=parseSingleSelector();if(!selector)return null;var res=selector;for(chr=str.charAt(pos);","===chr;){if(pos++,skipWhitespace(),"selectors"!==res.type&&(res={type:"selectors",selectors:[selector]}),!(selector=parseSingleSelector()))throw Error('Rule expected after ",".');res.selectors.push(selector)}return res}function parseSingleSelector(){skipWhitespace();var selector={type:"ruleSet"},rule=parseRule();if(!rule)return null;for(var currentRule=selector;rule&&(rule.type="rule",currentRule.rule=rule,currentRule=rule,skipWhitespace(),chr=str.charAt(pos),!(pos>=l||","===chr||")"===chr));)if(ruleNestingOperators[chr]){var op=chr;if(pos++,skipWhitespace(),!(rule=parseRule()))throw Error('Rule expected after "'+op+'".');rule.nestingOperator=op}else(rule=parseRule())&&(rule.nestingOperator=null);return selector}function parseRule(){for(var rule=null;pos=l)throw Error('Expected "=" but end of file reached.');if("="!==chr)throw Error('Expected "=" but "'+chr+'" found.');attr.operator=operator+"=",pos++,skipWhitespace();var attrValue="";if(attr.valueType="string",'"'===chr)attrValue=getStr('"',utils_1.doubleQuotesEscapeChars);else if("'"===chr)attrValue=getStr("'",utils_1.singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,attrValue=getIdent(),attr.valueType="substitute";else{for(;pos=l)throw Error('Expected "]" but end of file reached.');if("]"!==chr)throw Error('Expected "]" but "'+chr+'" found.');pos++,attr.value=attrValue}((rule=rule||{}).attrs=rule.attrs||[]).push(attr)}else{if(":"!==chr)break;pos++;var pseudoName=getIdent(),pseudo={name:pseudoName};if("("===chr){pos++;var value="";if(skipWhitespace(),"selector"===pseudos[pseudoName])pseudo.valueType="selector",value=parseSelector();else{if(pseudo.valueType=pseudos[pseudoName]||"string",'"'===chr)value=getStr('"',utils_1.doubleQuotesEscapeChars);else if("'"===chr)value=getStr("'",utils_1.singleQuoteEscapeChars);else if(substitutesEnabled&&"$"===chr)pos++,value=getIdent(),pseudo.valueType="substitute";else{for(;pos=l)throw Error('Expected ")" but end of file reached.');if(")"!==chr)throw Error('Expected ")" but "'+chr+'" found.');pos++,pseudo.value=value}((rule=rule||{}).pseudos=rule.pseudos||[]).push(pseudo)}return rule}return function parse3(){var res=parseSelector();if(pos>>0}}),LN2=Math.LN2,abs=Math.abs,floor=Math.floor,log2=Math.log,min=Math.min,pow=Math.pow,round=Math.round;function clamp3(v,minimum,max2){return vmax2?max2:v}var defineProp,getOwnPropNames=Object.getOwnPropertyNames||function(o){if(o!==Object(o))throw new TypeError("Object.getOwnPropertyNames called on non-object");var p2,props=[];for(p2 in o)ECMAScript.HasOwnProperty(o,p2)&&props.push(p2);return props};function configureProperties(obj){if(getOwnPropNames&&defineProp){var i,props=getOwnPropNames(obj);for(i=0;i>s}function as_unsigned(value,bits){var s=32-bits;return value<>>s}function packI8(n2){return[255&n2]}function unpackI8(bytes){return as_signed(bytes[0],8)}function packU8(n2){return[255&n2]}function unpackU8(bytes){return as_unsigned(bytes[0],8)}function packU8Clamped(n2){return[(n2=round(Number(n2)))<0?0:n2>255?255:255&n2]}function packI16(n2){return[n2>>8&255,255&n2]}function unpackI16(bytes){return as_signed(bytes[0]<<8|bytes[1],16)}function packU16(n2){return[n2>>8&255,255&n2]}function unpackU16(bytes){return as_unsigned(bytes[0]<<8|bytes[1],16)}function packI32(n2){return[n2>>24&255,n2>>16&255,n2>>8&255,255&n2]}function unpackI32(bytes){return as_signed(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packU32(n2){return[n2>>24&255,n2>>16&255,n2>>8&255,255&n2]}function unpackU32(bytes){return as_unsigned(bytes[0]<<24|bytes[1]<<16|bytes[2]<<8|bytes[3],32)}function packIEEE754(v,ebits,fbits){var s,e,f,i,bits,str,bytes,bias=(1<.5||w%2?w+1:w}for(v!=v?(e=(1<=pow(2,1-bias)?(e=min(floor(log2(v)/LN2),1023),(f=roundToEven(v/pow(2,e)*pow(2,fbits)))/pow(2,fbits)>=2&&(e+=1,f=1),e>bias?(e=(1<>=1;return bits.reverse(),str=bits.join(""),bias=(1<0?s*pow(2,e-bias)*(1+f/pow(2,fbits)):0!==f?s*pow(2,-(bias-1))*(f/pow(2,fbits)):s<0?-0:0}function unpackF64(b2){return unpackIEEE754(b2,11,52)}function packF64(v){return packIEEE754(v,11,52)}function unpackF32(b2){return unpackIEEE754(b2,8,23)}function packF32(v){return packIEEE754(v,8,23)}defineProp=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function defineProp(o,p2,desc){if(!o===Object(o))throw new TypeError("Object.defineProperty called on non-object");return ECMAScript.HasProperty(desc,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(o,p2,desc.get),ECMAScript.HasProperty(desc,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(o,p2,desc.set),ECMAScript.HasProperty(desc,"value")&&(o[p2]=desc.value),o},function(){function ArrayBuffer(length){if((length=ECMAScript.ToInt32(length))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var i;for(this.byteLength=length,this._bytes=[],this._bytes.length=length,i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=ECMAScript.ToUint32(length),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(sequence=arguments[0],this.length=ECMAScript.ToUint32(sequence.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new ArrayBuffer(this.byteLength),this.byteOffset=0,i=0;i1e5)throw new RangeError("Array too large for polyfill");var i;for(i=0;i=this.length)){for(var bytes=[],i=0,o=this.byteOffset+index*this.BYTES_PER_ELEMENT;ithis.length)throw new RangeError("Offset plus length of array is out of range");if(byteOffset=this.byteOffset+offset*this.BYTES_PER_ELEMENT,byteLength=array.length*this.BYTES_PER_ELEMENT,array.buffer===this.buffer){for(tmp=[],i=0,s=array.byteOffset;ithis.length)throw new RangeError("Offset plus length of array is out of range");for(i=0;ithis.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:ECMAScript.ToUint32(byteLength),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");configureProperties(this)}function makeGetter(arrayType){return function(byteOffset,littleEndian){if((byteOffset=ECMAScript.ToUint32(byteOffset))+arrayType.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");byteOffset+=this.byteOffset;var i,uint8Array=new exports.Uint8Array(this.buffer,byteOffset,arrayType.BYTES_PER_ELEMENT),bytes=[];for(i=0;ithis.byteLength)throw new RangeError("Array index out of range");var i,typeArray=new arrayType([value]),byteArray=new exports.Uint8Array(typeArray.buffer),bytes=[];for(i=0;i0)throw new TypeError("WeakMap iterable is not supported")}function checkInstance(x,methodName){if(!isObject(x)||!hasOwnProperty2.call(x,"_id"))throw new TypeError(methodName+" method called on incompatible receiver "+_typeof(x))}function rand(){return Math.random().toString().substring(2)}return defineProperty(WeakMap2.prototype,"delete",(function(key){if(checkInstance(this,"delete"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)&&(delete key[this._id],!0)})),defineProperty(WeakMap2.prototype,"get",(function(key){if(checkInstance(this,"get"),isObject(key)){var entry=key[this._id];return entry&&entry[0]===key?entry[1]:void 0}})),defineProperty(WeakMap2.prototype,"has",(function(key){if(checkInstance(this,"has"),!isObject(key))return!1;var entry=key[this._id];return!(!entry||entry[0]!==key)})),defineProperty(WeakMap2.prototype,"set",(function(key,value){if(checkInstance(this,"set"),!isObject(key))throw new TypeError("Invalid value used as weak map key");var entry=key[this._id];return entry&&entry[0]===key?(entry[1]=value,this):(defineProperty(key,this._id,[key,value]),this)})),defineProperty(WeakMap2,"_polyfill",!0),WeakMap2}()}function isObject(x){return Object(x)===x}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==window?window:void 0!==global?global:exports)})),require_global=__commonJS((function(exports,module){var check=function check(it){return it&&it.Math==Math&&it};module.exports=check("object"==("undefined"==typeof globalThis?"undefined":_typeof(globalThis))&&globalThis)||check("object"==(void 0===window?"undefined":_typeof(window))&&window)||check("object"==("undefined"==typeof self?"undefined":_typeof(self))&&self)||check("object"==(void 0===global?"undefined":_typeof(global))&&global)||function(){return this}()||Function("return this")()})),require_fails=__commonJS((function(exports,module){module.exports=function(exec){try{return!!exec()}catch(error){return!0}}})),require_function_bind_native=__commonJS((function(exports,module){var fails=require_fails();module.exports=!fails((function(){var test=function(){}.bind();return"function"!=typeof test||test.hasOwnProperty("prototype")}))})),require_function_apply=__commonJS((function(exports,module){var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,apply=FunctionPrototype.apply,call=FunctionPrototype.call;module.exports="object"==("undefined"==typeof Reflect?"undefined":_typeof(Reflect))&&Reflect.apply||(NATIVE_BIND?call.bind(apply):function(){return call.apply(apply,arguments)})})),require_function_uncurry_this=__commonJS((function(exports,module){var NATIVE_BIND=require_function_bind_native(),FunctionPrototype=Function.prototype,call=FunctionPrototype.call,uncurryThisWithBind=NATIVE_BIND&&FunctionPrototype.bind.bind(call,call);module.exports=NATIVE_BIND?uncurryThisWithBind:function(fn){return function(){return call.apply(fn,arguments)}}})),require_classof_raw=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this(),toString=uncurryThis({}.toString),stringSlice=uncurryThis("".slice);module.exports=function(it){return stringSlice(toString(it),8,-1)}})),require_function_uncurry_this_clause=__commonJS((function(exports,module){var classofRaw=require_classof_raw(),uncurryThis=require_function_uncurry_this();module.exports=function(fn){if("Function"===classofRaw(fn))return uncurryThis(fn)}})),require_document_all=__commonJS((function(exports,module){var documentAll="object"==(void 0===document?"undefined":_typeof(document))&&document.all,IS_HTMLDDA=void 0===documentAll&&void 0!==documentAll;module.exports={all:documentAll,IS_HTMLDDA}})),require_is_callable2=__commonJS((function(exports,module){var $documentAll=require_document_all(),documentAll=$documentAll.all;module.exports=$documentAll.IS_HTMLDDA?function(argument){return"function"==typeof argument||argument===documentAll}:function(argument){return"function"==typeof argument}})),require_descriptors=__commonJS((function(exports,module){var fails=require_fails();module.exports=!fails((function(){return 7!=Object.defineProperty({},1,{get:function get(){return 7}})[1]}))})),require_function_call=__commonJS((function(exports,module){var NATIVE_BIND=require_function_bind_native(),call=Function.prototype.call;module.exports=NATIVE_BIND?call.bind(call):function(){return call.apply(call,arguments)}})),require_object_property_is_enumerable=__commonJS((function(exports){"use strict";var $propertyIsEnumerable={}.propertyIsEnumerable,getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor,NASHORN_BUG=getOwnPropertyDescriptor&&!$propertyIsEnumerable.call({1:2},1);exports.f=NASHORN_BUG?function propertyIsEnumerable(V){var descriptor=getOwnPropertyDescriptor(this,V);return!!descriptor&&descriptor.enumerable}:$propertyIsEnumerable})),require_create_property_descriptor=__commonJS((function(exports,module){module.exports=function(bitmap,value){return{enumerable:!(1&bitmap),configurable:!(2&bitmap),writable:!(4&bitmap),value}}})),require_indexed_object=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this(),fails=require_fails(),classof=require_classof_raw(),$Object=Object,split=uncurryThis("".split);module.exports=fails((function(){return!$Object("z").propertyIsEnumerable(0)}))?function(it){return"String"==classof(it)?split(it,""):$Object(it)}:$Object})),require_is_null_or_undefined=__commonJS((function(exports,module){module.exports=function(it){return null==it}})),require_require_object_coercible=__commonJS((function(exports,module){var isNullOrUndefined=require_is_null_or_undefined(),$TypeError=TypeError;module.exports=function(it){if(isNullOrUndefined(it))throw $TypeError("Can't call method on "+it);return it}})),require_to_indexed_object=__commonJS((function(exports,module){var IndexedObject=require_indexed_object(),requireObjectCoercible=require_require_object_coercible();module.exports=function(it){return IndexedObject(requireObjectCoercible(it))}})),require_is_object2=__commonJS((function(exports,module){var isCallable=require_is_callable2(),$documentAll=require_document_all(),documentAll=$documentAll.all;module.exports=$documentAll.IS_HTMLDDA?function(it){return"object"==_typeof(it)?null!==it:isCallable(it)||it===documentAll}:function(it){return"object"==_typeof(it)?null!==it:isCallable(it)}})),require_path=__commonJS((function(exports,module){module.exports={}})),require_get_built_in=__commonJS((function(exports,module){var path=require_path(),global2=require_global(),isCallable=require_is_callable2(),aFunction=function aFunction(variable){return isCallable(variable)?variable:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(path[namespace])||aFunction(global2[namespace]):path[namespace]&&path[namespace][method]||global2[namespace]&&global2[namespace][method]}})),require_object_is_prototype_of=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this();module.exports=uncurryThis({}.isPrototypeOf)})),require_engine_user_agent=__commonJS((function(exports,module){var getBuiltIn=require_get_built_in();module.exports=getBuiltIn("navigator","userAgent")||""})),require_engine_v8_version=__commonJS((function(exports,module){var match,version,global2=require_global(),userAgent=require_engine_user_agent(),process2=global2.process,Deno=global2.Deno,versions=process2&&process2.versions||Deno&&Deno.version,v8=versions&&versions.v8;v8&&(version=(match=v8.split("."))[0]>0&&match[0]<4?1:+(match[0]+match[1])),!version&&userAgent&&(!(match=userAgent.match(/Edge\/(\d+)/))||match[1]>=74)&&(match=userAgent.match(/Chrome\/(\d+)/))&&(version=+match[1]),module.exports=version})),require_symbol_constructor_detection=__commonJS((function(exports,module){var V8_VERSION=require_engine_v8_version(),fails=require_fails();module.exports=!!Object.getOwnPropertySymbols&&!fails((function(){var symbol=Symbol();return!String(symbol)||!(Object(symbol)instanceof Symbol)||!Symbol.sham&&V8_VERSION&&V8_VERSION<41}))})),require_use_symbol_as_uid=__commonJS((function(exports,module){var NATIVE_SYMBOL=require_symbol_constructor_detection();module.exports=NATIVE_SYMBOL&&!Symbol.sham&&"symbol"==_typeof(Symbol.iterator)})),require_is_symbol2=__commonJS((function(exports,module){var getBuiltIn=require_get_built_in(),isCallable=require_is_callable2(),isPrototypeOf=require_object_is_prototype_of(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),$Object=Object;module.exports=USE_SYMBOL_AS_UID?function(it){return"symbol"==_typeof(it)}:function(it){var $Symbol=getBuiltIn("Symbol");return isCallable($Symbol)&&isPrototypeOf($Symbol.prototype,$Object(it))}})),require_try_to_string=__commonJS((function(exports,module){var $String=String;module.exports=function(argument){try{return $String(argument)}catch(error){return"Object"}}})),require_a_callable=__commonJS((function(exports,module){var isCallable=require_is_callable2(),tryToString=require_try_to_string(),$TypeError=TypeError;module.exports=function(argument){if(isCallable(argument))return argument;throw $TypeError(tryToString(argument)+" is not a function")}})),require_get_method=__commonJS((function(exports,module){var aCallable=require_a_callable(),isNullOrUndefined=require_is_null_or_undefined();module.exports=function(V,P){var func=V[P];return isNullOrUndefined(func)?void 0:aCallable(func)}})),require_ordinary_to_primitive=__commonJS((function(exports,module){var call=require_function_call(),isCallable=require_is_callable2(),isObject=require_is_object2(),$TypeError=TypeError;module.exports=function(input,pref){var fn,val;if("string"===pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;if(isCallable(fn=input.valueOf)&&!isObject(val=call(fn,input)))return val;if("string"!==pref&&isCallable(fn=input.toString)&&!isObject(val=call(fn,input)))return val;throw $TypeError("Can't convert object to primitive value")}})),require_is_pure=__commonJS((function(exports,module){module.exports=!0})),require_define_global_property=__commonJS((function(exports,module){var global2=require_global(),defineProperty=Object.defineProperty;module.exports=function(key,value){try{defineProperty(global2,key,{value,configurable:!0,writable:!0})}catch(error){global2[key]=value}return value}})),require_shared_store=__commonJS((function(exports,module){var global2=require_global(),defineGlobalProperty=require_define_global_property(),store=global2["__core-js_shared__"]||defineGlobalProperty("__core-js_shared__",{});module.exports=store})),require_shared=__commonJS((function(exports,module){var IS_PURE=require_is_pure(),store=require_shared_store();(module.exports=function(key,value){return store[key]||(store[key]=void 0!==value?value:{})})("versions",[]).push({version:"3.26.1",mode:IS_PURE?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),require_to_object=__commonJS((function(exports,module){var requireObjectCoercible=require_require_object_coercible(),$Object=Object;module.exports=function(argument){return $Object(requireObjectCoercible(argument))}})),require_has_own_property=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this(),toObject=require_to_object(),hasOwnProperty2=uncurryThis({}.hasOwnProperty);module.exports=Object.hasOwn||function hasOwn2(it,key){return hasOwnProperty2(toObject(it),key)}})),require_uid=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this(),id=0,postfix=Math.random(),toString=uncurryThis(1..toString);module.exports=function(key){return"Symbol("+(void 0===key?"":key)+")_"+toString(++id+postfix,36)}})),require_well_known_symbol=__commonJS((function(exports,module){var global2=require_global(),shared=require_shared(),hasOwn2=require_has_own_property(),uid=require_uid(),NATIVE_SYMBOL=require_symbol_constructor_detection(),USE_SYMBOL_AS_UID=require_use_symbol_as_uid(),WellKnownSymbolsStore=shared("wks"),Symbol2=global2.Symbol,symbolFor=Symbol2&&Symbol2.for,createWellKnownSymbol=USE_SYMBOL_AS_UID?Symbol2:Symbol2&&Symbol2.withoutSetter||uid;module.exports=function(name){if(!hasOwn2(WellKnownSymbolsStore,name)||!NATIVE_SYMBOL&&"string"!=typeof WellKnownSymbolsStore[name]){var description="Symbol."+name;NATIVE_SYMBOL&&hasOwn2(Symbol2,name)?WellKnownSymbolsStore[name]=Symbol2[name]:WellKnownSymbolsStore[name]=USE_SYMBOL_AS_UID&&symbolFor?symbolFor(description):createWellKnownSymbol(description)}return WellKnownSymbolsStore[name]}})),require_to_primitive=__commonJS((function(exports,module){var call=require_function_call(),isObject=require_is_object2(),isSymbol=require_is_symbol2(),getMethod=require_get_method(),ordinaryToPrimitive=require_ordinary_to_primitive(),wellKnownSymbol=require_well_known_symbol(),$TypeError=TypeError,TO_PRIMITIVE=wellKnownSymbol("toPrimitive");module.exports=function(input,pref){if(!isObject(input)||isSymbol(input))return input;var result,exoticToPrim=getMethod(input,TO_PRIMITIVE);if(exoticToPrim){if(void 0===pref&&(pref="default"),result=call(exoticToPrim,input,pref),!isObject(result)||isSymbol(result))return result;throw $TypeError("Can't convert object to primitive value")}return void 0===pref&&(pref="number"),ordinaryToPrimitive(input,pref)}})),require_to_property_key=__commonJS((function(exports,module){var toPrimitive=require_to_primitive(),isSymbol=require_is_symbol2();module.exports=function(argument){var key=toPrimitive(argument,"string");return isSymbol(key)?key:key+""}})),require_document_create_element=__commonJS((function(exports,module){var global2=require_global(),isObject=require_is_object2(),document2=global2.document,EXISTS=isObject(document2)&&isObject(document2.createElement);module.exports=function(it){return EXISTS?document2.createElement(it):{}}})),require_ie8_dom_define=__commonJS((function(exports,module){var DESCRIPTORS=require_descriptors(),fails=require_fails(),createElement=require_document_create_element();module.exports=!DESCRIPTORS&&!fails((function(){return 7!=Object.defineProperty(createElement("div"),"a",{get:function get(){return 7}}).a}))})),require_object_get_own_property_descriptor=__commonJS((function(exports){var DESCRIPTORS=require_descriptors(),call=require_function_call(),propertyIsEnumerableModule=require_object_property_is_enumerable(),createPropertyDescriptor=require_create_property_descriptor(),toIndexedObject=require_to_indexed_object(),toPropertyKey=require_to_property_key(),hasOwn2=require_has_own_property(),IE8_DOM_DEFINE=require_ie8_dom_define(),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(hasOwn2(O,P))return createPropertyDescriptor(!call(propertyIsEnumerableModule.f,O,P),O[P])}})),require_is_forced=__commonJS((function(exports,module){var fails=require_fails(),isCallable=require_is_callable2(),replacement=/#|\.prototype\./,isForced=function isForced(feature,detection){var value=data[normalize(feature)];return value==POLYFILL||value!=NATIVE&&(isCallable(detection)?fails(detection):!!detection)},normalize=isForced.normalize=function(string){return String(string).replace(replacement,".").toLowerCase()},data=isForced.data={},NATIVE=isForced.NATIVE="N",POLYFILL=isForced.POLYFILL="P";module.exports=isForced})),require_function_bind_context=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this_clause(),aCallable=require_a_callable(),NATIVE_BIND=require_function_bind_native(),bind=uncurryThis(uncurryThis.bind);module.exports=function(fn,that){return aCallable(fn),void 0===that?fn:NATIVE_BIND?bind(fn,that):function(){return fn.apply(that,arguments)}}})),require_v8_prototype_define_bug=__commonJS((function(exports,module){var DESCRIPTORS=require_descriptors(),fails=require_fails();module.exports=DESCRIPTORS&&fails((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),require_an_object=__commonJS((function(exports,module){var isObject=require_is_object2(),$String=String,$TypeError=TypeError;module.exports=function(argument){if(isObject(argument))return argument;throw $TypeError($String(argument)+" is not an object")}})),require_object_define_property=__commonJS((function(exports){var DESCRIPTORS=require_descriptors(),IE8_DOM_DEFINE=require_ie8_dom_define(),V8_PROTOTYPE_DEFINE_BUG=require_v8_prototype_define_bug(),anObject=require_an_object(),toPropertyKey=require_to_property_key(),$TypeError=TypeError,$defineProperty=Object.defineProperty,$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?V8_PROTOTYPE_DEFINE_BUG?function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),"function"==typeof O&&"prototype"===P&&"value"in Attributes&&"writable"in Attributes&&!Attributes.writable){var current=$getOwnPropertyDescriptor(O,P);current&¤t.writable&&(O[P]=Attributes.value,Attributes={configurable:"configurable"in Attributes?Attributes.configurable:current.configurable,enumerable:"enumerable"in Attributes?Attributes.enumerable:current.enumerable,writable:!1})}return $defineProperty(O,P,Attributes)}:$defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw $TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}})),require_create_non_enumerable_property=__commonJS((function(exports,module){var DESCRIPTORS=require_descriptors(),definePropertyModule=require_object_define_property(),createPropertyDescriptor=require_create_property_descriptor();module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}})),require_export=__commonJS((function(exports,module){"use strict";var global2=require_global(),apply=require_function_apply(),uncurryThis=require_function_uncurry_this_clause(),isCallable=require_is_callable2(),getOwnPropertyDescriptor=require_object_get_own_property_descriptor().f,isForced=require_is_forced(),path=require_path(),bind=require_function_bind_context(),createNonEnumerableProperty=require_create_non_enumerable_property(),hasOwn2=require_has_own_property(),wrapConstructor=function wrapConstructor(NativeConstructor){var Wrapper=function Wrapper(a2,b2,c4){if(this instanceof Wrapper){switch(arguments.length){case 0:return new NativeConstructor;case 1:return new NativeConstructor(a2);case 2:return new NativeConstructor(a2,b2)}return new NativeConstructor(a2,b2,c4)}return apply(NativeConstructor,this,arguments)};return Wrapper.prototype=NativeConstructor.prototype,Wrapper};module.exports=function(options,source){var USE_NATIVE,VIRTUAL_PROTOTYPE,key,sourceProperty,targetProperty,nativeProperty,resultProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat,PROTO=options.proto,nativeSource=GLOBAL?global2:STATIC?global2[TARGET]:(global2[TARGET]||{}).prototype,target=GLOBAL?path:path[TARGET]||createNonEnumerableProperty(path,TARGET,{})[TARGET],targetPrototype=target.prototype;for(key in source)USE_NATIVE=!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&nativeSource&&hasOwn2(nativeSource,key),targetProperty=target[key],USE_NATIVE&&(nativeProperty=options.dontCallGetSet?(descriptor=getOwnPropertyDescriptor(nativeSource,key))&&descriptor.value:nativeSource[key]),sourceProperty=USE_NATIVE&&nativeProperty?nativeProperty:source[key],USE_NATIVE&&_typeof(targetProperty)==_typeof(sourceProperty)||(resultProperty=options.bind&&USE_NATIVE?bind(sourceProperty,global2):options.wrap&&USE_NATIVE?wrapConstructor(sourceProperty):PROTO&&isCallable(sourceProperty)?uncurryThis(sourceProperty):sourceProperty,(options.sham||sourceProperty&&sourceProperty.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(resultProperty,"sham",!0),createNonEnumerableProperty(target,key,resultProperty),PROTO&&(hasOwn2(path,VIRTUAL_PROTOTYPE=TARGET+"Prototype")||createNonEnumerableProperty(path,VIRTUAL_PROTOTYPE,{}),createNonEnumerableProperty(path[VIRTUAL_PROTOTYPE],key,sourceProperty),options.real&&targetPrototype&&!targetPrototype[key]&&createNonEnumerableProperty(targetPrototype,key,sourceProperty)))}})),require_es_object_has_own=__commonJS((function(){require_export()({target:"Object",stat:!0},{hasOwn:require_has_own_property()})})),require_has_own=__commonJS((function(exports,module){require_es_object_has_own();var path=require_path();module.exports=path.Object.hasOwn})),require_has_own2=__commonJS((function(exports,module){var parent=require_has_own();module.exports=parent})),require_has_own3=__commonJS((function(exports,module){var parent=require_has_own2();module.exports=parent})),require_math_trunc=__commonJS((function(exports,module){var ceil=Math.ceil,floor=Math.floor;module.exports=Math.trunc||function trunc(x){var n2=+x;return(n2>0?floor:ceil)(n2)}})),require_to_integer_or_infinity=__commonJS((function(exports,module){var trunc=require_math_trunc();module.exports=function(argument){var number=+argument;return number!=number||0===number?0:trunc(number)}})),require_to_absolute_index=__commonJS((function(exports,module){var toIntegerOrInfinity=require_to_integer_or_infinity(),max2=Math.max,min=Math.min;module.exports=function(index,length){var integer=toIntegerOrInfinity(index);return integer<0?max2(integer+length,0):min(integer,length)}})),require_to_length=__commonJS((function(exports,module){var toIntegerOrInfinity=require_to_integer_or_infinity(),min=Math.min;module.exports=function(argument){return argument>0?min(toIntegerOrInfinity(argument),9007199254740991):0}})),require_length_of_array_like=__commonJS((function(exports,module){var toLength=require_to_length();module.exports=function(obj){return toLength(obj.length)}})),require_array_includes=__commonJS((function(exports,module){var toIndexedObject=require_to_indexed_object(),toAbsoluteIndex=require_to_absolute_index(),lengthOfArrayLike=require_length_of_array_like(),createMethod=function createMethod(IS_INCLUDES){return function($this,el,fromIndex){var value,O=toIndexedObject($this),length=lengthOfArrayLike(O),index=toAbsoluteIndex(fromIndex,length);if(IS_INCLUDES&&el!=el){for(;length>index;)if((value=O[index++])!=value)return!0}else for(;length>index;index++)if((IS_INCLUDES||index in O)&&O[index]===el)return IS_INCLUDES||index||0;return!IS_INCLUDES&&-1}};module.exports={includes:createMethod(!0),indexOf:createMethod(!1)}})),require_hidden_keys=__commonJS((function(exports,module){module.exports={}})),require_object_keys_internal=__commonJS((function(exports,module){var uncurryThis=require_function_uncurry_this(),hasOwn2=require_has_own_property(),toIndexedObject=require_to_indexed_object(),indexOf=require_array_includes().indexOf,hiddenKeys=require_hidden_keys(),push=uncurryThis([].push);module.exports=function(object,names){var key,O=toIndexedObject(object),i=0,result=[];for(key in O)!hasOwn2(hiddenKeys,key)&&hasOwn2(O,key)&&push(result,key);for(;names.length>i;)hasOwn2(O,key=names[i++])&&(~indexOf(result,key)||push(result,key));return result}})),require_enum_bug_keys=__commonJS((function(exports,module){module.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),require_object_keys=__commonJS((function(exports,module){var internalObjectKeys=require_object_keys_internal(),enumBugKeys=require_enum_bug_keys();module.exports=Object.keys||function keys(O){return internalObjectKeys(O,enumBugKeys)}})),require_object_to_array=__commonJS((function(exports,module){var DESCRIPTORS=require_descriptors(),uncurryThis=require_function_uncurry_this(),objectKeys=require_object_keys(),toIndexedObject=require_to_indexed_object(),propertyIsEnumerable=uncurryThis(require_object_property_is_enumerable().f),push=uncurryThis([].push),createMethod=function createMethod(TO_ENTRIES){return function(it){for(var key,O=toIndexedObject(it),keys=objectKeys(O),length=keys.length,i=0,result=[];length>i;)key=keys[i++],DESCRIPTORS&&!propertyIsEnumerable(O,key)||push(result,TO_ENTRIES?[key,O[key]]:O[key]);return result}};module.exports={entries:createMethod(!0),values:createMethod(!1)}})),require_es_object_values=__commonJS((function(){var $=require_export(),$values=require_object_to_array().values;$({target:"Object",stat:!0},{values:function values2(O){return $values(O)}})})),require_values=__commonJS((function(exports,module){require_es_object_values();var path=require_path();module.exports=path.Object.values})),require_values2=__commonJS((function(exports,module){var parent=require_values();module.exports=parent})),require_values3=__commonJS((function(exports,module){var parent=require_values2();module.exports=parent})),require_doT=__commonJS((function(exports,module){!function(){"use strict";var doT3={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":_typeof(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function get(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){window.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==window)return window;if(void 0!==global)return global;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),doT3.encodeHTMLSource=function(doNotSkipEncoded){var encodeHTMLRules={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},matchHTML=doNotSkipEncoded?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(code){return code?code.toString().replace(matchHTML,(function(m3){return encodeHTMLRules[m3]||m3})):""}},void 0!==module&&module.exports?module.exports=doT3:void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return doT3}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__);var startend={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},skip=/$^/;function resolveDefs(c4,block,def){return("string"==typeof block?block:block.toString()).replace(c4.define||skip,(function(m3,code,assign,value){return 0===code.indexOf("def.")&&(code=code.substring(4)),code in def||(":"===assign?(c4.defineParams&&value.replace(c4.defineParams,(function(m4,param,v){def[code]={arg:param,text:v}})),code in def||(def[code]=value)):new Function("def","def['"+code+"']="+value)(def)),""})).replace(c4.use||skip,(function(m3,code){c4.useParams&&(code=code.replace(c4.useParams,(function(m4,s,d2,param){if(def[d2]&&def[d2].arg&¶m){var rw=(d2+":"+param).replace(/'|\\/g,"_");return def.__exp=def.__exp||{},def.__exp[rw]=def[d2].text.replace(new RegExp("(^|[^\\w$])"+def[d2].arg+"([^\\w$])","g"),"$1"+param+"$2"),s+"def.__exp['"+rw+"']"}})));var v=new Function("def","return "+code)(def);return v?resolveDefs(c4,v,def):v}))}function unescape(code){return code.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}doT3.template=function(tmpl,c4,def){var needhtmlencode,indv,cse=(c4=c4||doT3.templateSettings).append?startend.append:startend.split,sid=0,str=c4.use||c4.define?resolveDefs(c4,tmpl,def||{}):tmpl;str=("var out='"+(c4.strip?str.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):str).replace(/'|\\/g,"\\$&").replace(c4.interpolate||skip,(function(m3,code){return cse.start+unescape(code)+cse.end})).replace(c4.encode||skip,(function(m3,code){return needhtmlencode=!0,cse.startencode+unescape(code)+cse.end})).replace(c4.conditional||skip,(function(m3,elsecase,code){return elsecase?code?"';}else if("+unescape(code)+"){out+='":"';}else{out+='":code?"';if("+unescape(code)+"){out+='":"';}out+='"})).replace(c4.iterate||skip,(function(m3,iterate,vname,iname){return iterate?(sid+=1,indv=iname||"i"+sid,iterate=unescape(iterate),"';var arr"+sid+"="+iterate+";if(arr"+sid+"){var "+vname+","+indv+"=-1,l"+sid+"=arr"+sid+".length-1;while("+indv+"",sameOrigin:""};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(definition){var name=definition.name,value=definition.value,priority=definition.priority,group=definition.group;constants[name]=value,constants[name+"_PRIO"]=priority,constants[name+"_GROUP"]=group,constants.results[priority]=value,constants.resultGroups[priority]=group,constants.resultGroupMap[value]=group})),Object.freeze(constants.results),Object.freeze(constants.resultGroups),Object.freeze(constants.resultGroupMap),Object.freeze(constants);var constants_default=constants;var log_default=function log(){"object"===("undefined"==typeof console?"undefined":_typeof(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},whitespaceRegex=/[\t\r\n\f]/g,abstract_virtual_node_default=function(){function AbstractVirtualNode(){_classCallCheck(this,AbstractVirtualNode),this.parent=void 0}return _createClass(AbstractVirtualNode,[{key:"props",get:function get(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function get(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function attr(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function hasAttr(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function hasClass(className){var classAttr=this.attr("class");if(!classAttr)return!1;var selector=" "+className+" ";return(" "+classAttr+" ").replace(whitespaceRegex," ").indexOf(selector)>=0}}]),AbstractVirtualNode}(),utils_exports={};__export(utils_exports,{DqElement:function DqElement(){return dq_element_default},aggregate:function aggregate(){return aggregate_default},aggregateChecks:function aggregateChecks(){return aggregate_checks_default},aggregateNodeResults:function aggregateNodeResults(){return aggregate_node_results_default},aggregateResult:function aggregateResult(){return aggregate_result_default},areStylesSet:function areStylesSet(){return are_styles_set_default},assert:function assert(){return assert_default},checkHelper:function checkHelper(){return check_helper_default},clone:function clone(){return _clone},closest:function closest(){return closest_default},collectResultsFromFrames:function collectResultsFromFrames(){return _collectResultsFromFrames},contains:function contains(){return _contains},convertSelector:function convertSelector(){return _convertSelector},cssParser:function cssParser(){return css_parser_default},deepMerge:function deepMerge(){return deep_merge_default},escapeSelector:function escapeSelector(){return escape_selector_default},extendMetaData:function extendMetaData(){return extend_meta_data_default},filterHtmlAttrs:function filterHtmlAttrs(){return _filterHtmlAttrs},finalizeRuleResult:function finalizeRuleResult(){return _finalizeRuleResult},findBy:function findBy(){return find_by_default},getAllChecks:function getAllChecks(){return get_all_checks_default},getAncestry:function getAncestry(){return _getAncestry},getBaseLang:function getBaseLang(){return get_base_lang_default},getCheckMessage:function getCheckMessage(){return get_check_message_default},getCheckOption:function getCheckOption(){return get_check_option_default},getEnvironmentData:function getEnvironmentData(){return _getEnvironmentData},getFlattenedTree:function getFlattenedTree(){return _getFlattenedTree},getFrameContexts:function getFrameContexts(){return _getFrameContexts},getFriendlyUriEnd:function getFriendlyUriEnd(){return get_friendly_uri_end_default},getNodeAttributes:function getNodeAttributes(){return get_node_attributes_default},getNodeFromTree:function getNodeFromTree(){return get_node_from_tree_default},getPreloadConfig:function getPreloadConfig(){return _getPreloadConfig},getRootNode:function getRootNode(){return get_root_node_default},getRule:function getRule(){return _getRule},getScroll:function getScroll(){return get_scroll_default},getScrollState:function getScrollState(){return get_scroll_state_default},getSelector:function getSelector(){return _getSelector},getSelectorData:function getSelectorData(){return _getSelectorData},getShadowSelector:function getShadowSelector(){return _getShadowSelector},getStandards:function getStandards(){return _getStandards},getStyleSheetFactory:function getStyleSheetFactory(){return get_stylesheet_factory_default},getXpath:function getXpath(){return get_xpath_default},injectStyle:function injectStyle(){return inject_style_default},isHidden:function isHidden(){return is_hidden_default},isHtmlElement:function isHtmlElement(){return is_html_element_default},isNodeInContext:function isNodeInContext(){return _isNodeInContext},isShadowRoot:function isShadowRoot(){return is_shadow_root_default},isValidLang:function isValidLang(){return valid_langs_default},isXHTML:function isXHTML(){return is_xhtml_default},matchAncestry:function matchAncestry(){return _matchAncestry},matches:function matches(){return _matches},matchesExpression:function matchesExpression(){return _matchesExpression},matchesSelector:function matchesSelector(){return element_matches_default},memoize:function memoize(){return memoize_default},mergeResults:function mergeResults(){return merge_results_default},nodeLookup:function nodeLookup(){return _nodeLookup},nodeSerializer:function nodeSerializer(){return node_serializer_default},nodeSorter:function nodeSorter(){return node_sorter_default},parseCrossOriginStylesheet:function parseCrossOriginStylesheet(){return parse_crossorigin_stylesheet_default},parseSameOriginStylesheet:function parseSameOriginStylesheet(){return parse_sameorigin_stylesheet_default},parseStylesheet:function parseStylesheet(){return parse_stylesheet_default},performanceTimer:function performanceTimer(){return performance_timer_default},pollyfillElementsFromPoint:function pollyfillElementsFromPoint(){return _pollyfillElementsFromPoint},preload:function preload(){return _preload},preloadCssom:function preloadCssom(){return preload_cssom_default},preloadMedia:function preloadMedia(){return preload_media_default},processMessage:function processMessage(){return process_message_default},publishMetaData:function publishMetaData(){return _publishMetaData},querySelectorAll:function querySelectorAll(){return query_selector_all_default},querySelectorAllFilter:function querySelectorAllFilter(){return query_selector_all_filter_default},queue:function queue(){return queue_default},respondable:function respondable(){return _respondable},ruleShouldRun:function ruleShouldRun(){return rule_should_run_default},select:function select(){return _select},sendCommandToFrame:function sendCommandToFrame(){return _sendCommandToFrame},setScrollState:function setScrollState(){return set_scroll_state_default},shadowSelect:function shadowSelect(){return _shadowSelect},shadowSelectAll:function shadowSelectAll(){return _shadowSelectAll},shouldPreload:function shouldPreload(){return _shouldPreload},toArray:function toArray(){return to_array_default},tokenList:function tokenList(){return token_list_default},uniqueArray:function uniqueArray(){return unique_array_default},uuid:function uuid(){return uuid_default},validInputTypes:function validInputTypes(){return valid_input_type_default},validLangs:function validLangs(){return _validLangs}});var aggregate_default=function aggregate(map,values2,initial){values2=values2.slice(),initial&&values2.push(initial);var sorting=values2.map((function(val){return map.indexOf(val)})).sort();return map[sorting.pop()]},CANTTELL_PRIO=constants_default.CANTTELL_PRIO,FAIL_PRIO=constants_default.FAIL_PRIO,checkMap=[];checkMap[constants_default.PASS_PRIO]=!0,checkMap[constants_default.CANTTELL_PRIO]=null,checkMap[constants_default.FAIL_PRIO]=!1;var checkTypes=["any","all","none"];function anyAllNone(obj,functor){return checkTypes.reduce((function(out,type2){return out[type2]=(obj[type2]||[]).map((function(val){return functor(val,type2)})),out}),{})}var aggregate_checks_default=function aggregateChecks(nodeResOriginal){var nodeResult=Object.assign({},nodeResOriginal);anyAllNone(nodeResult,(function(check,type2){var i=void 0===check.result?-1:checkMap.indexOf(check.result);check.priority=-1!==i?i:constants_default.CANTTELL_PRIO,"none"===type2&&(check.priority===constants_default.PASS_PRIO?check.priority=constants_default.FAIL_PRIO:check.priority===constants_default.FAIL_PRIO&&(check.priority=constants_default.PASS_PRIO))}));var priorities={all:nodeResult.all.reduce((function(a2,b2){return Math.max(a2,b2.priority)}),0),none:nodeResult.none.reduce((function(a2,b2){return Math.max(a2,b2.priority)}),0),any:nodeResult.any.reduce((function(a2,b2){return Math.min(a2,b2.priority)}),4)%4};nodeResult.priority=Math.max(priorities.all,priorities.none,priorities.any);var impacts=[];return checkTypes.forEach((function(type2){nodeResult[type2]=nodeResult[type2].filter((function(check){return check.priority===nodeResult.priority&&check.priority===priorities[type2]})),nodeResult[type2].forEach((function(check){return impacts.push(check.impact)}))})),[CANTTELL_PRIO,FAIL_PRIO].includes(nodeResult.priority)?nodeResult.impact=aggregate_default(constants_default.impact,impacts):nodeResult.impact=null,anyAllNone(nodeResult,(function(c4){delete c4.result,delete c4.priority})),nodeResult.result=constants_default.results[nodeResult.priority],delete nodeResult.priority,nodeResult};function _finalizeRuleResult(ruleResult){var rule=axe._audit.rules.find((function(_ref){return _ref.id===ruleResult.id}));return rule&&rule.impact&&ruleResult.nodes.forEach((function(node){["any","all","none"].forEach((function(checkType){(node[checkType]||[]).forEach((function(checkResult){checkResult.impact=rule.impact}))}))})),Object.assign(ruleResult,aggregate_node_results_default(ruleResult.nodes)),delete ruleResult.nodes,ruleResult}var aggregate_node_results_default=function aggregateNodeResults(nodeResults){var ruleResult={};if((nodeResults=nodeResults.map((function(nodeResult){if(nodeResult.any&&nodeResult.all&&nodeResult.none)return aggregate_checks_default(nodeResult);if(Array.isArray(nodeResult.node))return _finalizeRuleResult(nodeResult);throw new TypeError("Invalid Result type")})))&&nodeResults.length){var resultList=nodeResults.map((function(node){return node.result}));ruleResult.result=aggregate_default(constants_default.results,resultList,ruleResult.result)}else ruleResult.result="inapplicable";constants_default.resultGroups.forEach((function(group){return ruleResult[group]=[]})),nodeResults.forEach((function(nodeResult){var groupName=constants_default.resultGroupMap[nodeResult.result];ruleResult[groupName].push(nodeResult)}));var impactGroup=constants_default.FAIL_GROUP;if(0===ruleResult[impactGroup].length&&(impactGroup=constants_default.CANTTELL_GROUP),ruleResult[impactGroup].length>0){var impactList=ruleResult[impactGroup].map((function(failure){return failure.impact}));ruleResult.impact=aggregate_default(constants_default.impact,impactList)||null}else ruleResult.impact=null;return ruleResult};function copyToGroup(resultObject,subResult,group){var resultCopy=Object.assign({},subResult);resultCopy.nodes=(resultCopy[group]||[]).concat(),constants_default.resultGroups.forEach((function(resultGroup){delete resultCopy[resultGroup]})),resultObject[group].push(resultCopy)}var aggregate_result_default=function aggregateResult(results){var resultObject={};return constants_default.resultGroups.forEach((function(groupName){return resultObject[groupName]=[]})),results.forEach((function(subResult){subResult.error?copyToGroup(resultObject,subResult,constants_default.CANTTELL_GROUP):subResult.result===constants_default.NA?copyToGroup(resultObject,subResult,constants_default.NA_GROUP):constants_default.resultGroups.forEach((function(group){Array.isArray(subResult[group])&&subResult[group].length>0&©ToGroup(resultObject,subResult,group)}))})),resultObject};var are_styles_set_default=function areStylesSet(el,styles,stopAt){var styl=window.getComputedStyle(el,null);if(!styl)return!1;for(var i=0;i=1&&codeUnit<=31||127==codeUnit||0==index&&codeUnit>=48&&codeUnit<=57||1==index&&codeUnit>=48&&codeUnit<=57&&45==firstCodeUnit?"\\"+codeUnit.toString(16)+" ":(0!=index||1!=length||45!=codeUnit)&&(codeUnit>=128||45==codeUnit||95==codeUnit||codeUnit>=48&&codeUnit<=57||codeUnit>=65&&codeUnit<=90||codeUnit>=97&&codeUnit<=122)?string.charAt(index):"\\"+string.charAt(index):result+="�";return result};function splitString(str,splitIndex){return[str.substring(0,splitIndex),str.substring(splitIndex)]}function trimRight(str){return str.replace(/\s+$/,"")}var get_friendly_uri_end_default=function getFriendlyUriEnd(){var uri=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(uri.length<=1||"data:"===uri.substr(0,5)||"javascript:"===uri.substr(0,11)||uri.includes("?"))){var currentDomain=options.currentDomain,_options$maxLength=options.maxLength,maxLength=void 0===_options$maxLength?25:_options$maxLength,_uriParser=function uriParser(url){var original=url,protocol="",domain="",port="",query="",hash="";if(url.includes("#")){var _splitString2=_slicedToArray(splitString(url,url.indexOf("#")),2);url=_splitString2[0],hash=_splitString2[1]}if(url.includes("?")){var _splitString4=_slicedToArray(splitString(url,url.indexOf("?")),2);url=_splitString4[0],query=_splitString4[1]}if(url.includes("://")){var _url$split2=_slicedToArray(url.split("://"),2);protocol=_url$split2[0];var _splitString6=_slicedToArray(splitString(url=_url$split2[1],url.indexOf("/")),2);domain=_splitString6[0],url=_splitString6[1]}else if("//"===url.substr(0,2)){var _splitString8=_slicedToArray(splitString(url=url.substr(2),url.indexOf("/")),2);domain=_splitString8[0],url=_splitString8[1]}if("www."===domain.substr(0,4)&&(domain=domain.substr(4)),domain&&domain.includes(":")){var _splitString10=_slicedToArray(splitString(domain,domain.indexOf(":")),2);domain=_splitString10[0],port=_splitString10[1]}return{original,protocol,domain,port,path:url,query,hash}}(uri),path=_uriParser.path,domain=_uriParser.domain,hash=_uriParser.hash,pathEnd=path.substr(path.substr(0,path.length-2).lastIndexOf("/")+1);if(hash)return pathEnd&&(pathEnd+hash).length<=maxLength?trimRight(pathEnd+hash):pathEnd.length<2&&hash.length>2&&hash.length<=maxLength?trimRight(hash):void 0;if(domain&&domain.length1)&&(-1!==lastDotIndex||pathEnd.length>2)&&pathEnd.length<=maxLength&&!pathEnd.match(/index(\.[a-zA-Z]{2-4})?/)&&!function isMostlyNumbers(){var str=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==str.length&&(str.match(/[0-9]/g)||"").length>=str.length/2}(pathEnd)?trimRight(pathEnd):void 0}};var method,get_node_attributes_default=function getNodeAttributes(node){return node.attributes instanceof window.NamedNodeMap?node.attributes:node.cloneNode(!1).attributes},element_matches_default=function(node,selector){return method&&node[method]||(method=function getMethod(node){var index,candidate,candidates=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],length=candidates.length;for(index=0;index2&&void 0!==arguments[2]?arguments[2]:{};if(!elm)return"";var doc=elm.getRootNode&&elm.getRootNode()||document;if(11!==doc.nodeType)return generateSelector2(elm,options,doc);for(var stack=[];11===doc.nodeType;){if(!doc.host)return"";stack.unshift({elm,doc}),doc=(elm=doc.host).getRootNode()}return stack.unshift({elm,doc}),stack.map((function(item){return generateSelector2(item.elm,options,item.doc)}))}var ignoredAttributes=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],MAXATTRIBUTELENGTH=31,attrCharsRegex=/([\\"])/g,newlineChars=/(\r\n|\r|\n)/g;function escapeAttribute(str){return str.replace(attrCharsRegex,"\\$1").replace(newlineChars,"\\a ")}function getAttributeNameValue(node,at){var atnv,name=at.name;if(-1!==name.indexOf("href")||-1!==name.indexOf("src")){var friendly=get_friendly_uri_end_default(node.getAttribute(name));atnv=friendly?escape_selector_default(at.name)+'$="'+escapeAttribute(friendly)+'"':escape_selector_default(at.name)+'="'+escapeAttribute(node.getAttribute(name))+'"'}else atnv=escape_selector_default(name)+'="'+escapeAttribute(at.value)+'"';return atnv}function countSort(a2,b2){return a2.count "+selector:features,similar=similar?similar.filter((function(item){return element_matches_default(item,selector)})):Array.from(doc.querySelectorAll(selector)),elm=elm.parentElement}while((similar.length>1||toRoot)&&elm&&11!==elm.nodeType);return 1===similar.length?selector:-1!==selector.indexOf(" > ")?":root"+selector.substring(selector.indexOf(" > ")):":root"}function _getSelector(elm,options){return _getShadowSelector(generateSelector,elm,options)}function generateAncestry(node){var nodeName2=node.nodeName.toLowerCase(),parent=node.parentElement;if(!parent)return nodeName2;var nthChild="";if("head"!==nodeName2&&"body"!==nodeName2&&parent.children.length>1){var index=Array.prototype.indexOf.call(parent.children,node)+1;nthChild=":nth-child(".concat(index,")")}return generateAncestry(parent)+" > "+nodeName2+nthChild}function _getAncestry(elm,options){return _getShadowSelector(generateAncestry,elm,options)}function getXPathArray(node,path){var sibling,count;if(!node)return[];if(!path&&9===node.nodeType)return path=[{str:"html"}];if(path=path||[],node.parentNode&&node.parentNode!==node&&(path=getXPathArray(node.parentNode,path)),node.previousSibling){count=1,sibling=node.previousSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName&&count++,sibling=sibling.previousSibling}while(sibling);1===count&&(count=null)}else if(node.nextSibling){sibling=node.nextSibling;do{1===sibling.nodeType&&sibling.nodeName===node.nodeName?(count=1,sibling=null):(count=null,sibling=sibling.previousSibling)}while(sibling)}if(1===node.nodeType){var element={};element.str=node.nodeName.toLowerCase();var id=node.getAttribute&&escape_selector_default(node.getAttribute("id"));id&&1===node.ownerDocument.querySelectorAll("#"+id).length&&(element.id=node.getAttribute("id")),count>1&&(element.count=count),path.push(element)}return path}var get_xpath_default=function getXpath(node){return function xpathToString(xpathArray){return xpathArray.reduce((function(str,elm){return elm.id?"/".concat(elm.str,"[@id='").concat(elm.id,"']"):str+"/".concat(elm.str)+(elm.count>0?"[".concat(elm.count,"]"):"")}),"")}(getXPathArray(node))},_cache={},cache={set:function set(key,value){!function validateKey(key){assert_default("string"==typeof key,"key must be a string, "+_typeof(key)+" given"),assert_default(""!==key,"key must not be empty")}(key),_cache[key]=value},get:function get(key,creator){if(function validateCreator(creator){assert_default("function"==typeof creator||void 0===creator,"creator must be a function or undefined, "+_typeof(creator)+" given")}(creator),key in _cache)return _cache[key];if("function"==typeof creator){var value=creator();return assert_default(void 0!==value,"Cache creator function should not return undefined"),this.set(key,value),_cache[key]}},clear:function clear(){_cache={}}};var cache_default=cache;var get_node_from_tree_default=function getNodeFromTree(vNode,node){var el=node||vNode;return cache_default.get("nodeMap")?cache_default.get("nodeMap").get(el):null};function DqElement(elm){var _this$spec$selector,_this$_virtualNode,_cache_default$get,_this$spec$source,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,spec=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};options||(options=null!==(_cache_default$get=cache_default.get("DqElm.RunOptions"))&&void 0!==_cache_default$get?_cache_default$get:{});(this.spec=spec,elm instanceof abstract_virtual_node_default?(this._virtualNode=elm,this._element=elm.actualNode):(this._element=elm,this._virtualNode=get_node_from_tree_default(elm)),this.fromFrame=(null===(_this$spec$selector=this.spec.selector)||void 0===_this$spec$selector?void 0:_this$spec$selector.length)>1,this._includeElementInJson=options.elementRef,options.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(_this$_virtualNode=this._virtualNode)||void 0===_this$_virtualNode?void 0:_this$_virtualNode.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,axe._audit.noHtml)||(this.source=null!==(_this$spec$source=this.spec.source)&&void 0!==_this$spec$source?_this$spec$source:function getSource(element){if(null==element||!element.outerHTML)return"";var source=element.outerHTML;return source||"function"!=typeof window.XMLSerializer||(source=(new window.XMLSerializer).serializeToString(element)),function truncate(str,maxLength){if(maxLength=maxLength||300,str.length>maxLength){var index=str.indexOf(">");str=str.substring(0,index+1)}return str}(source||"")}(this._element))}DqElement.prototype={get selector(){return this.spec.selector||[_getSelector(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[_getAncestry(this.element)]},get xpath(){return this.spec.xpath||[get_xpath_default(this.element)]},get element(){return this._element},toJSON:function toJSON(){var spec={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(spec.element=this._element),spec}},DqElement.fromFrame=function fromFrame(node,options,frame){var spec=DqElement.mergeSpecs(node,frame);return new DqElement(frame.element,options,spec)},DqElement.mergeSpecs=function mergeSpecs(child,parentFrame){return _extends({},child,{selector:[].concat(_toConsumableArray(parentFrame.selector),_toConsumableArray(child.selector)),ancestry:[].concat(_toConsumableArray(parentFrame.ancestry),_toConsumableArray(child.ancestry)),xpath:[].concat(_toConsumableArray(parentFrame.xpath),_toConsumableArray(child.xpath)),nodeIndexes:[].concat(_toConsumableArray(parentFrame.nodeIndexes),_toConsumableArray(child.nodeIndexes)),fromFrame:!0})},DqElement.setRunOptions=function setRunOptions(_ref2){var elementRef=_ref2.elementRef,absolutePaths=_ref2.absolutePaths;cache_default.set("DqElm.RunOptions",{elementRef,absolutePaths})};var dq_element_default=DqElement;var check_helper_default=function checkHelper(checkResult,options,resolve,reject){return{isAsync:!1,async:function async(){return this.isAsync=!0,function(result){result instanceof Error==!1?(checkResult.result=result,resolve(checkResult)):reject(result)}},data:function data(_data){checkResult.data=_data},relatedNodes:function relatedNodes(nodes){window.Node&&(nodes=nodes instanceof window.Node||nodes instanceof abstract_virtual_node_default?[nodes]:to_array_default(nodes),checkResult.relatedNodes=[],nodes.forEach((function(node){if(node instanceof abstract_virtual_node_default&&(node=node.actualNode),node instanceof window.Node){var dqElm=new dq_element_default(node);checkResult.relatedNodes.push(dqElm)}})))}}};function _clone(obj){return cloneRecused(obj,new Map)}function cloneRecused(obj,seen){var _window,_window2;if(null===obj||"object"!==_typeof(obj))return obj;if(null!==(_window=window)&&void 0!==_window&&_window.Node&&obj instanceof window.Node||null!==(_window2=window)&&void 0!==_window2&&_window2.HTMLCollection&&obj instanceof window.HTMLCollection||"nodeName"in obj&&"nodeType"in obj&&"ownerDocument"in obj)return obj;if(seen.has(obj))return seen.get(obj);if(Array.isArray(obj)){var out2=[];return seen.set(obj,out2),obj.forEach((function(value){out2.push(cloneRecused(value,seen))})),out2}var out={};for(var key in seen.set(obj,out),obj)out[key]=cloneRecused(obj[key],seen);return out}var parser=new(__toModule(require_lib()).CssSelectorParser);parser.registerSelectorPseudos("not"),parser.registerSelectorPseudos("is"),parser.registerNestingOperators(">"),parser.registerAttrEqualityMods("^","$","*","~");var css_parser_default=parser;function _matches(vNode,selector){return _convertSelector(selector).some((function(expression){return _matchesExpression(vNode,expression)}))}function matchExpression(vNode,expression){return function matchesTag(vNode,exp){return 1===vNode.props.nodeType&&("*"===exp.tag||vNode.props.nodeName===exp.tag)}(vNode,expression)&&function matchesClasses(vNode,exp){return!exp.classes||exp.classes.every((function(cl){return vNode.hasClass(cl.value)}))}(vNode,expression)&&function matchesAttributes(vNode,exp){return!exp.attributes||exp.attributes.every((function(att){var nodeAtt=vNode.attr(att.key);return null!==nodeAtt&&att.test(nodeAtt)}))}(vNode,expression)&&function matchesId(vNode,exp){return!exp.id||vNode.props.id===exp.id}(vNode,expression)&&function matchesPseudos(target,exp){return!(exp.pseudos&&!exp.pseudos.every((function(pseudo){if("not"===pseudo.name)return!pseudo.expressions.some((function(expression){return _matchesExpression(target,expression)}));if("is"===pseudo.name)return pseudo.expressions.some((function(expression){return _matchesExpression(target,expression)}));throw new Error("the pseudo selector "+pseudo.name+" has not yet been implemented")})))}(vNode,expression)}var from,escapeRegExp=(from=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(string){return string.replace(from,"\\")}),reUnescape=/\\/g;function convertAttributes(atts){if(atts)return atts.map((function(att){var test,regexp,attributeKey=att.name.replace(reUnescape,""),attributeValue=(att.value||"").replace(reUnescape,"");switch(att.operator){case"^=":regexp=new RegExp("^"+escapeRegExp(attributeValue));break;case"$=":regexp=new RegExp(escapeRegExp(attributeValue)+"$");break;case"~=":regexp=new RegExp("(^|\\s)"+escapeRegExp(attributeValue)+"(\\s|$)");break;case"|=":regexp=new RegExp("^"+escapeRegExp(attributeValue)+"(-|$)");break;case"=":test=function test(value){return attributeValue===value};break;case"*=":test=function test(value){return value&&value.includes(attributeValue)};break;case"!=":test=function test(value){return attributeValue!==value};break;default:test=function test(value){return null!==value}}return""===attributeValue&&/^[*$^]=$/.test(att.operator)&&(test=function test(){return!1}),test||(test=function test(value){return value&®exp.test(value)}),{key:attributeKey,value:attributeValue,type:void 0===att.value?"attrExist":"attrValue",test}}))}function convertClasses(classes){if(classes)return classes.map((function(className){return{value:className=className.replace(reUnescape,""),regexp:new RegExp("(^|\\s)"+escapeRegExp(className)+"(\\s|$)")}}))}function convertPseudos(pseudos){if(pseudos)return pseudos.map((function(p2){var expressions;return["is","not"].includes(p2.name)&&(expressions=convertExpressions(expressions=(expressions=p2.value).selectors?expressions.selectors:[expressions])),{name:p2.name,expressions,value:p2.value}}))}function convertExpressions(expressions){return expressions.map((function(exp){for(var newExp=[],rule=exp.rule;rule;)newExp.push({tag:rule.tagName?rule.tagName.toLowerCase():"*",combinator:rule.nestingOperator?rule.nestingOperator:" ",id:rule.id,attributes:convertAttributes(rule.attrs),classes:convertClasses(rule.classNames),pseudos:convertPseudos(rule.pseudos)}),rule=rule.rule;return newExp}))}function _convertSelector(selector){var expressions=css_parser_default.parse(selector);return convertExpressions(expressions=expressions.selectors?expressions.selectors:[expressions])}function optimizedMatchesExpression(vNode,expressions,index,matchAnyParent){if(!vNode)return!1;for(var expression=Array.isArray(expressions)?expressions[index]:expressions,machedExpression=matchExpression(vNode,expression);!machedExpression&&matchAnyParent&&vNode.parent;)machedExpression=matchExpression(vNode=vNode.parent,expression);if(index>0){if(!1===[" ",">"].includes(expression.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+expression.combinator);machedExpression=machedExpression&&optimizedMatchesExpression(vNode.parent,expressions,index-1," "===expression.combinator)}return machedExpression}function _matchesExpression(vNode,expressions,matchAnyParent){return optimizedMatchesExpression(vNode,expressions,expressions.length-1,matchAnyParent)}var closest_default=function closest(vNode,selector){for(;vNode;){if(_matches(vNode,selector))return vNode;if(void 0===vNode.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");vNode=vNode.parent}return null};function noop(){}function funcGuard(f){if("function"!=typeof f)throw new TypeError("Queue methods require functions as arguments")}var uuid,_rng,_rnds8,_rnds,queue_default=function queue(){var err2,tasks=[],started=0,remaining=0,completeQueue=noop,complete=!1,defaultFail=function defaultFail(e){err2=e,setTimeout((function(){null!=err2&&log_default("Uncaught error (of queue)",err2)}),1)},failed=defaultFail;function createResolve(i){return function(r){tasks[i]=r,(remaining-=1)||completeQueue===noop||(complete=!0,completeQueue(tasks))}}function abort(msg){return completeQueue=noop,failed(msg),tasks}var q={defer:function defer(fn){if("object"===_typeof(fn)&&fn.then&&fn.catch){var defer=fn;fn=function fn(resolve,reject){defer.then(resolve).catch(reject)}}if(funcGuard(fn),void 0===err2){if(complete)throw new Error("Queue already completed");return tasks.push(fn),++remaining,function pop(){for(var length=tasks.length;started>>((3&i)<<3)&255;return _rnds});for(var BufferClass="function"==typeof window.Buffer?window.Buffer:Array,_byteToHex=[],_hexToByte={},i=0;i<256;i++)_byteToHex[i]=(i+256).toString(16).substr(1),_hexToByte[_byteToHex[i]]=i;function unparse(buf,offset){var i=offset||0,bth=_byteToHex;return bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+"-"+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]+bth[buf[i++]]}var _seedBytes=_rng(),_nodeId=[1|_seedBytes[0],_seedBytes[1],_seedBytes[2],_seedBytes[3],_seedBytes[4],_seedBytes[5]],_clockseq=16383&(_seedBytes[6]<<8|_seedBytes[7]),_lastMSecs=0,_lastNSecs=0;function v1(options,buf,offset){var i=buf&&offset||0,b2=buf||[],clockseq=null!=(options=options||{}).clockseq?options.clockseq:_clockseq,msecs=null!=options.msecs?options.msecs:(new Date).getTime(),nsecs=null!=options.nsecs?options.nsecs:_lastNSecs+1,dt=msecs-_lastMSecs+(nsecs-_lastNSecs)/1e4;if(dt<0&&null==options.clockseq&&(clockseq=clockseq+1&16383),(dt<0||msecs>_lastMSecs)&&null==options.nsecs&&(nsecs=0),nsecs>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");_lastMSecs=msecs,_lastNSecs=nsecs,_clockseq=clockseq;var tl=(1e4*(268435455&(msecs+=122192928e5))+nsecs)%4294967296;b2[i++]=tl>>>24&255,b2[i++]=tl>>>16&255,b2[i++]=tl>>>8&255,b2[i++]=255&tl;var tmh=msecs/4294967296*1e4&268435455;b2[i++]=tmh>>>8&255,b2[i++]=255&tmh,b2[i++]=tmh>>>24&15|16,b2[i++]=tmh>>>16&255,b2[i++]=clockseq>>>8|128,b2[i++]=255&clockseq;for(var node=options.node||_nodeId,n2=0;n2<6;n2++)b2[i+n2]=node[n2];return buf||unparse(b2)}function v4(options,buf,offset){var i=buf&&offset||0;"string"==typeof options&&(buf="binary"==options?new BufferClass(16):null,options=null);var rnds=(options=options||{}).random||(options.rng||_rng)();if(rnds[6]=15&rnds[6]|64,rnds[8]=63&rnds[8]|128,buf)for(var ii=0;ii<16;ii++)buf[i+ii]=rnds[ii];return buf||unparse(rnds)}(uuid=v4).v1=v1,uuid.v4=v4,uuid.parse=function parse(s,buf,offset){var i=buf&&offset||0,ii=0;for(buf=buf||[],s.toLowerCase().replace(/[0-9a-f]{2}/g,(function(oct){ii<16&&(buf[i+ii++]=_hexToByte[oct])}));ii<16;)buf[i+ii++]=0;return buf},uuid.unparse=unparse,uuid.BufferClass=BufferClass,axe._uuid=v1();var uuid_default=v4,errorTypes=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function parseMessage(dataString){var data;try{data=JSON.parse(dataString)}catch(e){return}if(function isRespondableMessage(postedMessage){return null!==postedMessage&&"object"===_typeof(postedMessage)&&"string"==typeof postedMessage.channelId&&postedMessage.source===getSource2()}(data)){var _data2=data,topic=_data2.topic,channelId=_data2.channelId,messageId=_data2.messageId,keepalive=_data2.keepalive;return{topic,message:"object"===_typeof(data.error)?function buildErrorObject(error){var msg=error.message||"Unknown error occurred",errorName=errorTypes.includes(error.name)?error.name:"Error",ErrConstructor=window[errorName]||Error;error.stack&&(msg+="\n"+error.stack.replace(error.message,""));return new ErrConstructor(msg)}(data.error):data.payload,messageId,channelId,keepalive:!!keepalive}}}function getSource2(){var application="axeAPI",version="";return void 0!==axe&&axe._audit&&axe._audit.application&&(application=axe._audit.application),void 0!==axe&&(version=axe.version),application+"."+version}function assertIsParentWindow(win){assetNotGlobalWindow(win),assert_default(window.parent===win,"Source of the response must be the parent window.")}function assertIsFrameWindow(win){assetNotGlobalWindow(win),assert_default(win.parent===window,"Respondable target must be a frame in the current window")}function assetNotGlobalWindow(win){assert_default(window!==win,"Messages can not be sent to the same window.")}var channels={};var messageIds=[];function createMessageId(){var uuid2="".concat(v4(),":").concat(v4());return messageIds.includes(uuid2)?createMessageId():(messageIds.push(uuid2),uuid2)}function postMessage(win,data,sendToParent,replyHandler){if(sendToParent?assertIsParentWindow(win):assertIsFrameWindow(win),data.message instanceof Error&&!sendToParent)return axe.log(data.message),!1;var dataString=function stringifyMessage(_ref3){var topic=_ref3.topic,channelId=_ref3.channelId,message=_ref3.message,data={channelId,topic,messageId:_ref3.messageId,keepalive:!!_ref3.keepalive,source:getSource2()};return message instanceof Error?data.error={name:message.name,message:message.message,stack:message.stack}:data.payload=message,JSON.stringify(data)}(_extends({messageId:createMessageId()},data)),allowedOrigins=axe._audit.allowedOrigins;return!(!allowedOrigins||!allowedOrigins.length)&&("function"==typeof replyHandler&&function storeReplyHandler(channelId,replyHandler){var sendToParent=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];assert_default(!channels[channelId],"A replyHandler already exists for this message channel."),channels[channelId]={replyHandler,sendToParent}}(data.channelId,replyHandler,sendToParent),allowedOrigins.forEach((function(origin){try{win.postMessage(dataString,origin)}catch(err2){if(err2 instanceof win.DOMException)throw new Error('allowedOrigins value "'.concat(origin,'" is not a valid origin'));throw err2}})),!0)}function createResponder(win,channelId){var sendToParent=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function respond(message,keepalive,replyHandler){postMessage(win,{channelId,message,keepalive},sendToParent,replyHandler)}}function messageHandler(_ref4,topicHandler){var origin=_ref4.origin,dataString=_ref4.data,win=_ref4.source;try{var data=parseMessage(dataString)||{},channelId=data.channelId,message=data.message,messageId=data.messageId;if(!function originIsAllowed(origin){var allowedOrigins=axe._audit.allowedOrigins;return allowedOrigins&&allowedOrigins.includes("*")||allowedOrigins.includes(origin)}(origin)||!function isNewMessage(uuid2){return!messageIds.includes(uuid2)&&(messageIds.push(uuid2),!0)}(messageId))return;if(message instanceof Error&&win.parent!==window)return axe.log(message),!1;try{if(data.topic){var responder=createResponder(win,channelId);assertIsParentWindow(win),topicHandler(data,responder)}else!function callReplyHandler(win,data){var channelId=data.channelId,message=data.message,keepalive=data.keepalive,_ref5=function getReplyHandler(channelId){return channels[channelId]}(channelId)||{},replyHandler=_ref5.replyHandler,sendToParent=_ref5.sendToParent;if(!replyHandler)return;sendToParent?assertIsParentWindow(win):assertIsFrameWindow(win);var responder=createResponder(win,channelId,sendToParent);!keepalive&&channelId&&function deleteReplyHandler(channelId){delete channels[channelId]}(channelId);try{replyHandler(message,keepalive,responder)}catch(error){axe.log(error),responder(error,keepalive)}}(win,data)}catch(error){!function processError(win,error,channelId){if(!win.parent!==window)return axe.log(error);try{postMessage(win,{topic:null,channelId,message:error,messageId:createMessageId(),keepalive:!0},!0)}catch(err2){return axe.log(err2)}}(win,error,channelId)}}catch(error){return axe.log(error),!1}}var closeHandler,postMessage2,frameMessenger={open:function open(topicHandler){if("function"==typeof window.addEventListener){var handler=function handler(messageEvent){messageHandler(messageEvent,topicHandler)};return window.addEventListener("message",handler,!1),function(){window.removeEventListener("message",handler,!1)}}},post:function post(win,data,replyHandler){return"function"==typeof window.addEventListener&&postMessage(win,data,!1,replyHandler)}};function setDefaultFrameMessenger(respondable2){respondable2.updateMessenger(frameMessenger)}var topicHandlers={};function _respondable(win,topic,message,keepalive,replyHandler){var data={topic,message,channelId:"".concat(v4(),":").concat(v4()),keepalive};return postMessage2(win,data,replyHandler)}function messageListener(data,responder){var topic=data.topic,message=data.message,keepalive=data.keepalive,topicHandler=topicHandlers[topic];if(topicHandler)try{topicHandler(message,keepalive,responder)}catch(error){axe.log(error),responder(error,keepalive)}}function _sendCommandToFrame(node,parameters,resolve,reject){var _parameters$options$p,_parameters$options,win=node.contentWindow,pingWaitTime=null!==(_parameters$options$p=null===(_parameters$options=parameters.options)||void 0===_parameters$options?void 0:_parameters$options.pingWaitTime)&&void 0!==_parameters$options$p?_parameters$options$p:500;if(!win)return log_default("Frame does not have a content window",node),void resolve(null);if(0!==pingWaitTime){var timeout=setTimeout((function(){timeout=setTimeout((function(){parameters.debug?reject(err("No response from frame",node)):resolve(null)}),0)}),pingWaitTime);_respondable(win,"axe.ping",null,void 0,(function(){clearTimeout(timeout),callAxeStart(node,parameters,resolve,reject)}))}else callAxeStart(node,parameters,resolve,reject)}function callAxeStart(node,parameters,resolve,reject){var _parameters$options$f,_parameters$options2,frameWaitTime=null!==(_parameters$options$f=null===(_parameters$options2=parameters.options)||void 0===_parameters$options2?void 0:_parameters$options2.frameWaitTime)&&void 0!==_parameters$options$f?_parameters$options$f:6e4,win=node.contentWindow,timeout=setTimeout((function collectResultFramesTimeout(){reject(err("Axe in frame timed out",node))}),frameWaitTime);_respondable(win,"axe.start",parameters,void 0,(function(data){clearTimeout(timeout),data instanceof Error==!1?resolve(data):reject(data)}))}function err(message,node){var selector;return axe._tree&&(selector=_getSelector(node)),new Error(message+": "+(selector||node))}_respondable.updateMessenger=function updateMessenger(_ref6){var open=_ref6.open,post=_ref6.post;assert_default("function"==typeof open,"open callback must be a function"),assert_default("function"==typeof post,"post callback must be a function"),closeHandler&&closeHandler();var close=open(messageListener);close?(assert_default("function"==typeof close,"open callback must return a cleanup function"),closeHandler=close):closeHandler=null,postMessage2=post},_respondable.subscribe=function subscribe(topic,topicHandler){assert_default("function"==typeof topicHandler,"Subscriber callback must be a function"),assert_default(!topicHandlers[topic],"Topic ".concat(topic," is already registered to.")),topicHandlers[topic]=topicHandler},_respondable.isInFrame=function isInFrame(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:window).frameElement},setDefaultFrameMessenger(_respondable);var customSerializer=null,nodeSerializer={update:function update(serializer){assert_default("object"===_typeof(serializer),"serializer must be an object"),customSerializer=serializer},toSpec:function toSpec(node){return nodeSerializer.dqElmToSpec(new dq_element_default(node))},dqElmToSpec:function dqElmToSpec(dqElm,runOptions){var _customSerializer;return dqElm instanceof dq_element_default==!1?dqElm:(runOptions&&(dqElm=function cloneLimitedDqElement(dqElm,runOptions){var fromFrame2=dqElm.fromFrame,hasAncestry=runOptions.ancestry,hasXpath=runOptions.xpath,hasSelectors=!1!==runOptions.selectors||fromFrame2;return dqElm=new dq_element_default(dqElm.element,runOptions,{source:dqElm.source,nodeIndexes:dqElm.nodeIndexes,selector:hasSelectors?dqElm.selector:[":root"],ancestry:hasAncestry?dqElm.ancestry:[":root"],xpath:hasXpath?dqElm.xpath:"/"}),dqElm.fromFrame=fromFrame2,dqElm}(dqElm,runOptions)),"function"==typeof(null===(_customSerializer=customSerializer)||void 0===_customSerializer?void 0:_customSerializer.toSpec)?customSerializer.toSpec(dqElm):dqElm.toJSON())},mergeSpecs:function mergeSpecs(nodeSpec,parentFrameSpec){var _customSerializer2;return"function"==typeof(null===(_customSerializer2=customSerializer)||void 0===_customSerializer2?void 0:_customSerializer2.mergeSpecs)?customSerializer.mergeSpecs(nodeSpec,parentFrameSpec):dq_element_default.mergeSpecs(nodeSpec,parentFrameSpec)},mapRawResults:function mapRawResults(rawResults){return rawResults.map((function(rawResult){return _extends({},rawResult,{nodes:nodeSerializer.mapRawNodeResults(rawResult.nodes)})}))},mapRawNodeResults:function mapRawNodeResults(nodeResults){return null==nodeResults?void 0:nodeResults.map((function(_ref7){var node=_ref7.node,nodeResult=_objectWithoutProperties(_ref7,_excluded);nodeResult.node=nodeSerializer.dqElmToSpec(node);for(var _i2=0,_arr2=["any","all","none"];_i2<_arr2.length;_i2++){var type2=_arr2[_i2];nodeResult[type2]=nodeResult[type2].map((function(_ref8){var relatedNodes=_ref8.relatedNodes,checkResult=_objectWithoutProperties(_ref8,_excluded2);return checkResult.relatedNodes=relatedNodes.map(nodeSerializer.dqElmToSpec),checkResult}))}return nodeResult}))}},node_serializer_default=nodeSerializer;var get_all_checks_default=function getAllChecks(object){return[].concat(object.any||[]).concat(object.all||[]).concat(object.none||[])};var find_by_default=function findBy(array,key,value){if(Array.isArray(array))return array.find((function(obj){return null!==obj&&"object"===_typeof(obj)&&Object.hasOwn(obj,key)&&obj[key]===value}))};function nodeIndexSort(){for(var nodeIndexesA=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],nodeIndexesB=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],length=Math.max(null==nodeIndexesA?void 0:nodeIndexesA.length,null==nodeIndexesB?void 0:nodeIndexesB.length),_i4=0;_i40||0===resultSort&&firstFromFrame.selector.length(0|rect2.left)&&(0|rect1.top)<(0|rect2.bottom)&&(0|rect1.bottom)>(0|rect2.top)}var getOverflowHiddenAncestors=memoize_default((function getOverflowHiddenAncestorsMemoized(vNode){var ancestors=[];return vNode?("hidden"===vNode.getComputedStylePropertyValue("overflow")&&ancestors.push(vNode),ancestors.concat(getOverflowHiddenAncestors(vNode.parent))):ancestors})),get_overflow_hidden_ancestors_default=getOverflowHiddenAncestors,clipRegex=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,clipPathRegex=/(\w+)\((\d+)/;function nativelyHidden(vNode){return["style","script","noscript","template"].includes(vNode.props.nodeName)}function displayHidden(vNode){return"area"!==vNode.props.nodeName&&"none"===vNode.getComputedStylePropertyValue("display")}function visibilityHidden(vNode){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(vNode.getComputedStylePropertyValue("visibility"))}function contentVisibiltyHidden(vNode){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===vNode.getComputedStylePropertyValue("content-visibility")}function ariaHidden(vNode){return"true"===vNode.attr("aria-hidden")}function opacityHidden(vNode){return"0"===vNode.getComputedStylePropertyValue("opacity")}function scrollHidden(vNode){var scroll=get_scroll_default(vNode.actualNode),elHeight=parseInt(vNode.getComputedStylePropertyValue("height")),elWidth=parseInt(vNode.getComputedStylePropertyValue("width"));return!!scroll&&(0===elHeight||0===elWidth)}function overflowHidden(vNode){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var rect=vNode.boundingClientRect,nodes=get_overflow_hidden_ancestors_default(vNode);return!!nodes.length&&nodes.some((function(node){var nodeRect=node.boundingClientRect;return nodeRect.width<2||nodeRect.height<2||!_rectsOverlap(rect,nodeRect)}))}function clipHidden(vNode){var matchesClip=vNode.getComputedStylePropertyValue("clip").match(clipRegex),matchesClipPath=vNode.getComputedStylePropertyValue("clip-path").match(clipPathRegex);if(matchesClip&&5===matchesClip.length){var position=vNode.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(position))return matchesClip[3]-matchesClip[1]<=0&&matchesClip[2]-matchesClip[4]<=0}if(matchesClipPath){var type2=matchesClipPath[1],value=parseInt(matchesClipPath[2],10);switch(type2){case"inset":return value>=50;case"circle":return 0===value}}return!1}function areaHidden(vNode,visibleFunction){var mapEl=closest_default(vNode,"map");if(!mapEl)return!0;var mapElName=mapEl.attr("name");if(!mapElName)return!0;var mapElRootNode=get_root_node_default(vNode.actualNode);if(!mapElRootNode||9!==mapElRootNode.nodeType)return!0;var refs=query_selector_all_default(axe._tree,'img[usemap="#'.concat(escape_selector_default(mapElName),'"]'));return!refs||!refs.length||refs.some((function(ref){return!visibleFunction(ref)}))}function detailsHidden(vNode){var _vNode$parent;if("details"!==(null===(_vNode$parent=vNode.parent)||void 0===_vNode$parent?void 0:_vNode$parent.props.nodeName))return!1;if("summary"===vNode.props.nodeName&&vNode.parent.children.find((function(node){return"summary"===node.props.nodeName}))===vNode)return!1;return!vNode.parent.hasAttr("open")}var hiddenMethods=[displayHidden,visibilityHidden,contentVisibiltyHidden,detailsHidden];function _isHiddenForEveryone(vNode){var _ref14=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},skipAncestors=_ref14.skipAncestors,_ref14$isAncestor=_ref14.isAncestor,isAncestor=void 0!==_ref14$isAncestor&&_ref14$isAncestor;return vNode=_nodeLookup(vNode).vNode,skipAncestors?isHiddenSelf(vNode,isAncestor):isHiddenAncestors(vNode,isAncestor)}var isHiddenSelf=memoize_default((function isHiddenSelfMemoized(vNode,isAncestor){return!!nativelyHidden(vNode)||!!vNode.actualNode&&(!!hiddenMethods.some((function(method){return method(vNode,{isAncestor})}))||!vNode.actualNode.isConnected)})),isHiddenAncestors=memoize_default((function isHiddenAncestorsMemoized(vNode,isAncestor){return!!isHiddenSelf(vNode,isAncestor)||!!vNode.parent&&isHiddenAncestors(vNode.parent,!0)}));var get_composed_parent_default=function getComposedParent(element){if(element.assignedSlot)return getComposedParent(element.assignedSlot);if(element.parentNode){var parentNode=element.parentNode;if(1===parentNode.nodeType)return parentNode;if(parentNode.host)return parentNode.host}return null};var get_scroll_offset_default=function getScrollOffset(element){if(!element.nodeType&&element.document&&(element=element.document),9===element.nodeType){var docElement=element.documentElement,body=element.body;return{left:docElement&&docElement.scrollLeft||body&&body.scrollLeft||0,top:docElement&&docElement.scrollTop||body&&body.scrollTop||0}}return{left:element.scrollLeft,top:element.scrollTop}};var get_element_coordinates_default=function getElementCoordinates(element){var scrollOffset=get_scroll_offset_default(document),xOffset=scrollOffset.left,yOffset=scrollOffset.top,coords=element.getBoundingClientRect();return{top:coords.top+yOffset,right:coords.right+xOffset,bottom:coords.bottom+yOffset,left:coords.left+xOffset,width:coords.right-coords.left,height:coords.bottom-coords.top}};var get_viewport_size_default=function getViewportSize(win){var doc=win.document,docElement=doc.documentElement;if(win.innerWidth)return{width:win.innerWidth,height:win.innerHeight};if(docElement)return{width:docElement.clientWidth,height:docElement.clientHeight};var body=doc.body;return{width:body.clientWidth,height:body.clientHeight}};var is_offscreen_default=function isOffscreen(element){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var domNode=_nodeLookup(element).domNode;if(domNode){var leftBoundary,docElement=document.documentElement,styl=window.getComputedStyle(domNode),dir=window.getComputedStyle(document.body||docElement).getPropertyValue("direction"),coords=get_element_coordinates_default(domNode);if(coords.bottom<0&&(function noParentScrolled(element,offset){for(element=get_composed_parent_default(element);element&&"html"!==element.nodeName.toLowerCase();){if(element.scrollTop&&(offset+=element.scrollTop)>=0)return!1;element=get_composed_parent_default(element)}return!0}(domNode,coords.bottom)||"absolute"===styl.position))return!0;if(0===coords.left&&0===coords.right)return!1;if("ltr"===dir){if(coords.right<=0)return!0}else if(leftBoundary=Math.max(docElement.scrollWidth,get_viewport_size_default(window).width),coords.left>=leftBoundary)return!0;return!1}},hiddenMethods2=[opacityHidden,scrollHidden,overflowHidden,clipHidden,is_offscreen_default];function _isVisibleOnScreen(vNode){return vNode=_nodeLookup(vNode).vNode,isVisibleOnScreenVirtual(vNode)}var isVisibleOnScreenVirtual=memoize_default((function isVisibleOnScreenMemoized(vNode,isAncestor){return vNode.actualNode&&"area"===vNode.props.nodeName?!areaHidden(vNode,isVisibleOnScreenVirtual):!_isHiddenForEveryone(vNode,{skipAncestors:!0,isAncestor})&&((!vNode.actualNode||!hiddenMethods2.some((function(method){return method(vNode,{isAncestor})})))&&(!vNode.parent||isVisibleOnScreenVirtual(vNode.parent,!0)))}));function _getBoundingRect(rectA,rectB){var top=Math.min(rectA.top,rectB.top),right=Math.max(rectA.right,rectB.right),bottom=Math.max(rectA.bottom,rectB.bottom),left=Math.min(rectA.left,rectB.left);return new window.DOMRect(left,top,right-left,bottom-top)}function _isPointInRect(_ref16,_ref17){var x=_ref16.x,y=_ref16.y,top=_ref17.top,right=_ref17.right,bottom=_ref17.bottom,left=_ref17.left;return y>=top&&x<=right&&y<=bottom&&x>=left}var math_exports={};function _getIntersectionRect(rect1,rect2){var leftX=Math.max(rect1.left,rect2.left),rightX=Math.min(rect1.right,rect2.right),topY=Math.max(rect1.top,rect2.top),bottomY=Math.min(rect1.bottom,rect2.bottom);return leftX>=rightX||topY>=bottomY?null:new window.DOMRect(leftX,topY,rightX-leftX,bottomY-topY)}function _getRectCenter(_ref18){var left=_ref18.left,top=_ref18.top,width=_ref18.width,height=_ref18.height;return new window.DOMPoint(left+width/2,top+height/2)}__export(math_exports,{getBoundingRect:function getBoundingRect(){return _getBoundingRect},getIntersectionRect:function getIntersectionRect(){return _getIntersectionRect},getOffset:function getOffset(){return _getOffset},getRectCenter:function getRectCenter(){return _getRectCenter},hasVisualOverlap:function hasVisualOverlap(){return _hasVisualOverlap},isPointInRect:function isPointInRect(){return _isPointInRect},rectHasMinimumSize:function rectHasMinimumSize(){return _rectHasMinimumSize},rectsOverlap:function rectsOverlap(){return _rectsOverlap},splitRects:function splitRects(){return _splitRects}});var roundingMargin=.05;function _rectHasMinimumSize(minSize,_ref19){var width=_ref19.width,height=_ref19.height;return width+roundingMargin>=minSize&&height+roundingMargin>=minSize}function _getOffset(vTarget,vNeighbor){var minRadiusNeighbour=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,targetRects=get_target_rects_default(vTarget),neighborRects=get_target_rects_default(vNeighbor);if(!targetRects.length||!neighborRects.length)return 0;var _step2,targetCenter=_getRectCenter(targetRects.reduce(_getBoundingRect)),minDistance=1/0,_iterator2=_createForOfIteratorHelper(neighborRects);try{for(_iterator2.s();!(_step2=_iterator2.n()).done;){var rect=_step2.value;if(_isPointInRect(targetCenter,rect))return 0;var distance2=pointDistance(targetCenter,getClosestPoint(targetCenter,rect));minDistance=Math.min(minDistance,distance2)}}catch(err){_iterator2.e(err)}finally{_iterator2.f()}if(_rectHasMinimumSize(2*minRadiusNeighbour,get_target_size_default(vNeighbor)))return minDistance;var centerDistance=pointDistance(targetCenter,_getRectCenter(neighborRects.reduce(_getBoundingRect)))-minRadiusNeighbour;return Math.max(0,Math.min(minDistance,centerDistance))}function getClosestPoint(point,rect){return{x:point.xrect.right?rect.right:point.x,y:point.yrect.bottom?rect.bottom:point.y}}function pointDistance(pointA,pointB){return Math.hypot(pointA.x-pointB.x,pointA.y-pointB.y)}function _hasVisualOverlap(vNodeA,vNodeB){var rectA=vNodeA.boundingClientRect,rectB=vNodeB.boundingClientRect;return!(rectA.left>=rectB.right||rectA.right<=rectB.left||rectA.top>=rectB.bottom||rectA.bottom<=rectB.top)&&_visuallySort(vNodeA,vNodeB)>0}function _splitRects(outerRect,overlapRects){var _step3,uniqueRects=[outerRect],_iterator3=_createForOfIteratorHelper(overlapRects);try{var _loop3=function _loop3(){var overlapRect=_step3.value;uniqueRects=uniqueRects.reduce((function(rects,inputRect){return rects.concat(function splitRect(inputRect,clipRect){var top=inputRect.top,left=inputRect.left,bottom=inputRect.bottom,right=inputRect.right,yAligned=topclipRect.top,xAligned=leftclipRect.left,rects=[];between(clipRect.top,top,bottom)&&xAligned&&rects.push({top,left,bottom:clipRect.top,right});between(clipRect.right,left,right)&&yAligned&&rects.push({top,left:clipRect.right,bottom,right});between(clipRect.bottom,top,bottom)&&xAligned&&rects.push({top:clipRect.bottom,right,bottom,left});between(clipRect.left,left,right)&&yAligned&&rects.push({top,left,bottom,right:clipRect.left});if(0===rects.length){if(function isEnclosedRect(rectA,rectB){return rectA.top>=rectB.top&&rectA.left>=rectB.left&&rectA.bottom<=rectB.bottom&&rectA.right<=rectB.right}(inputRect,clipRect))return[];rects.push(inputRect)}return rects.map(computeRect)}(inputRect,overlapRect))}),[])};for(_iterator3.s();!(_step3=_iterator3.n()).done;)_loop3()}catch(err){_iterator3.e(err)}finally{_iterator3.f()}return uniqueRects}var between=function between(num,min,max2){return num>min&&num0&&void 0!==arguments[0]?arguments[0]:document.body,rootGrid=arguments.length>1?arguments[1]:void 0,parentVNode=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(cache_default.get("gridCreated")&&!parentVNode)return constants_default.gridSize;if(cache_default.set("gridCreated",!0),!parentVNode){var _rootGrid,vNode=get_node_from_tree_default(document.documentElement);if(vNode||(vNode=new virtual_node_default(document.documentElement)),nodeIndex=0,vNode._stackingOrder=[createStackingContext(ROOT_LEVEL,nodeIndex++,null)],null!==(_rootGrid=rootGrid)&&void 0!==_rootGrid||(rootGrid=new Grid),addNodeToGrid(rootGrid,vNode),get_scroll_default(vNode.actualNode)){var subGrid=new Grid(vNode);vNode._subGrid=subGrid}}for(var treeWalker=document.createTreeWalker(root,window.NodeFilter.SHOW_ELEMENT,null,!1),node=parentVNode?treeWalker.nextNode():treeWalker.currentNode;node;){var _vNode=get_node_from_tree_default(node);_vNode&&_vNode.parent?parentVNode=_vNode.parent:node.assignedSlot?parentVNode=get_node_from_tree_default(node.assignedSlot):node.parentElement?parentVNode=get_node_from_tree_default(node.parentElement):node.parentNode&&get_node_from_tree_default(node.parentNode)&&(parentVNode=get_node_from_tree_default(node.parentNode)),_vNode||(_vNode=new axe.VirtualNode(node,parentVNode)),_vNode._stackingOrder=createStackingOrder(_vNode,parentVNode,nodeIndex++);var scrollRegionParent=findScrollRegionParent(_vNode,parentVNode),grid=scrollRegionParent?scrollRegionParent._subGrid:rootGrid;if(get_scroll_default(_vNode.actualNode)){var _subGrid=new Grid(_vNode);_vNode._subGrid=_subGrid}var rect=_vNode.boundingClientRect;0!==rect.width&&0!==rect.height&&_isVisibleOnScreen(node)&&addNodeToGrid(grid,_vNode),is_shadow_root_default(node)&&_createGrid(node.shadowRoot,grid,_vNode),node=treeWalker.nextNode()}return constants_default.gridSize}function isStackingContext(vNode,parentVNode){var position=vNode.getComputedStylePropertyValue("position"),zIndex=vNode.getComputedStylePropertyValue("z-index");if("fixed"===position||"sticky"===position)return!0;if("auto"!==zIndex&&"static"!==position)return!0;if("1"!==vNode.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-transform")||vNode.getComputedStylePropertyValue("-ms-transform")||vNode.getComputedStylePropertyValue("transform")||"none"))return!0;var mixBlendMode=vNode.getComputedStylePropertyValue("mix-blend-mode");if(mixBlendMode&&"normal"!==mixBlendMode)return!0;var filter=vNode.getComputedStylePropertyValue("filter");if(filter&&"none"!==filter)return!0;var perspective=vNode.getComputedStylePropertyValue("perspective");if(perspective&&"none"!==perspective)return!0;var clipPath=vNode.getComputedStylePropertyValue("clip-path");if(clipPath&&"none"!==clipPath)return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask")||vNode.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask-image")||vNode.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(vNode.getComputedStylePropertyValue("-webkit-mask-border")||vNode.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===vNode.getComputedStylePropertyValue("isolation"))return!0;var willChange=vNode.getComputedStylePropertyValue("will-change");if("transform"===willChange||"opacity"===willChange)return!0;if("touch"===vNode.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var contain=vNode.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(contain)||!("auto"===zIndex||!isFlexOrGridContainer(parentVNode))}function isFlexOrGridContainer(vNode){if(!vNode)return!1;var display2=vNode.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(display2)}function createStackingOrder(vNode,parentVNode,treeOrder){var stackingOrder=parentVNode._stackingOrder.slice();if(isStackingContext(vNode,parentVNode)){var index=stackingOrder.findIndex((function(_ref20){var stackLevel2=_ref20.stackLevel;return[ROOT_LEVEL,FLOAT_LEVEL,POSITION_LEVEL].includes(stackLevel2)}));-1!==index&&stackingOrder.splice(index,stackingOrder.length-index)}var stackLevel=function getStackLevel(vNode,parentVNode){var zIndex=function getRealZIndex(vNode,parentVNode){var position=vNode.getComputedStylePropertyValue("position");if("static"===position&&!isFlexOrGridContainer(parentVNode))return"auto";return vNode.getComputedStylePropertyValue("z-index")}(vNode,parentVNode);if(!["auto","0"].includes(zIndex))return parseInt(zIndex);if("static"!==vNode.getComputedStylePropertyValue("position"))return POSITION_LEVEL;if("none"!==vNode.getComputedStylePropertyValue("float"))return FLOAT_LEVEL;if(isStackingContext(vNode,parentVNode))return DEFAULT_LEVEL;return null}(vNode,parentVNode);return null!==stackLevel&&stackingOrder.push(createStackingContext(stackLevel,treeOrder,vNode)),stackingOrder}function createStackingContext(stackLevel,treeOrder,vNode){return{stackLevel,treeOrder,vNode}}function findScrollRegionParent(vNode,parentVNode){for(var scrollRegionParent=null,checkedNodes=[vNode];parentVNode;){if(get_scroll_default(parentVNode.actualNode)){scrollRegionParent=parentVNode;break}if(parentVNode._scrollRegionParent){scrollRegionParent=parentVNode._scrollRegionParent;break}checkedNodes.push(parentVNode),parentVNode=get_node_from_tree_default(parentVNode.actualNode.parentElement||parentVNode.actualNode.parentNode)}return checkedNodes.forEach((function(virtualNode){return virtualNode._scrollRegionParent=scrollRegionParent})),scrollRegionParent}function addNodeToGrid(grid,vNode){var overflowHiddenNodes=get_overflow_hidden_ancestors_default(vNode);vNode.clientRects.forEach((function(clientRect){var _vNode$_grid,visibleRect=overflowHiddenNodes.reduce((function(rect,overflowNode){return rect&&_getIntersectionRect(rect,overflowNode.boundingClientRect)}),clientRect);if(visibleRect){null!==(_vNode$_grid=vNode._grid)&&void 0!==_vNode$_grid||(vNode._grid=grid);var gridRect=grid.getGridPositionOfRect(visibleRect);grid.loopGridPosition(gridRect,(function(gridCell){gridCell.includes(vNode)||gridCell.push(vNode)}))}}))}var Grid=function(){function Grid(){var container=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;_classCallCheck(this,Grid),this.container=container,this.cells=[]}return _createClass(Grid,[{key:"toGridIndex",value:function toGridIndex(num){return Math.floor(num/constants_default.gridSize)}},{key:"getCellFromPoint",value:function getCellFromPoint(_ref21){var _this$cells,_row,x=_ref21.x,y=_ref21.y;assert_default(this.boundaries,"Grid does not have cells added");var rowIndex=this.toGridIndex(y),colIndex=this.toGridIndex(x);assert_default(_isPointInRect({y:rowIndex,x:colIndex},this.boundaries),"Element midpoint exceeds the grid bounds");var row=null!==(_this$cells=this.cells[rowIndex-this.cells._negativeIndex])&&void 0!==_this$cells?_this$cells:[];return null!==(_row=row[colIndex-row._negativeIndex])&&void 0!==_row?_row:[]}},{key:"loopGridPosition",value:function loopGridPosition(gridPosition,callback){var _gridPosition=gridPosition,left=_gridPosition.left,right=_gridPosition.right,top=_gridPosition.top,bottom=_gridPosition.bottom;this.boundaries&&(gridPosition=_getBoundingRect(this.boundaries,gridPosition)),this.boundaries=gridPosition,loopNegativeIndexMatrix(this.cells,top,bottom,(function(gridRow,row){loopNegativeIndexMatrix(gridRow,left,right,(function(gridCell,col){callback(gridCell,{row,col})}))}))}},{key:"getGridPositionOfRect",value:function getGridPositionOfRect(_ref22){var top=_ref22.top,right=_ref22.right,bottom=_ref22.bottom,left=_ref22.left,margin=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return top=this.toGridIndex(top-margin),right=this.toGridIndex(right+margin-1),bottom=this.toGridIndex(bottom+margin-1),left=this.toGridIndex(left-margin),new window.DOMRect(left,top,right-left,bottom-top)}}]),Grid}();function loopNegativeIndexMatrix(matrix,start,end,callback){var _matrix$_negativeInde;if(null!==(_matrix$_negativeInde=matrix._negativeIndex)&&void 0!==_matrix$_negativeInde||(matrix._negativeIndex=0),start1&&void 0!==arguments[1]?arguments[1]:0;if(_createGrid(),null===(_vNode$_grid2=vNode._grid)||void 0===_vNode$_grid2||null===(_vNode$_grid2$cells=_vNode$_grid2.cells)||void 0===_vNode$_grid2$cells||!_vNode$_grid2$cells.length)return[];var rect=vNode.boundingClientRect,grid=vNode._grid,selfIsFixed=hasFixedPosition(vNode),gridPosition=grid.getGridPositionOfRect(rect,margin),neighbors=[];return grid.loopGridPosition(gridPosition,(function(vNeighbors){var _step4,_iterator4=_createForOfIteratorHelper(vNeighbors);try{for(_iterator4.s();!(_step4=_iterator4.n()).done;){var vNeighbor=_step4.value;vNeighbor&&vNeighbor!==vNode&&!neighbors.includes(vNeighbor)&&selfIsFixed===hasFixedPosition(vNeighbor)&&neighbors.push(vNeighbor)}}catch(err){_iterator4.e(err)}finally{_iterator4.f()}})),neighbors}var hasFixedPosition=memoize_default((function(vNode){return!!vNode&&("fixed"===vNode.getComputedStylePropertyValue("position")||hasFixedPosition(vNode.parent))})),get_modal_dialog_default=memoize_default((function getModalDialogMemoized(){var _dialogs$find;if(!axe._tree)return null;var dialogs=query_selector_all_filter_default(axe._tree[0],"dialog[open]",(function(vNode){var rect=vNode.boundingClientRect;return document.elementsFromPoint(rect.left+1,rect.top+1).includes(vNode.actualNode)&&_isVisibleOnScreen(vNode)}));if(!dialogs.length)return null;var modalDialog=dialogs.find((function(dialog){var rect=dialog.boundingClientRect;return document.elementsFromPoint(rect.left-10,rect.top-10).includes(dialog.actualNode)}));return modalDialog||(null!==(_dialogs$find=dialogs.find((function(dialog){var _getNodeFromGrid,_ref23=null!==(_getNodeFromGrid=function getNodeFromGrid(dialog){_createGrid();var grid=axe._tree[0]._grid,viewRect=new window.DOMRect(0,0,window.innerWidth,window.innerHeight);if(!grid)return;for(var row=0;row1&&void 0!==arguments[1]?arguments[1]:{},skipAncestors=_ref24.skipAncestors,isAncestor=_ref24.isAncestor;return skipAncestors?isInertSelf(vNode,isAncestor):isInertAncestors(vNode,isAncestor)}var isInertSelf=memoize_default((function isInertSelfMemoized(vNode,isAncestor){if(vNode.hasAttr("inert"))return!0;if(!isAncestor&&vNode.actualNode){var modalDialog=get_modal_dialog_default();if(modalDialog&&!_contains(modalDialog,vNode))return!0}return!1})),isInertAncestors=memoize_default((function isInertAncestorsMemoized(vNode,isAncestor){return!!isInertSelf(vNode,isAncestor)||!!vNode.parent&&isInertAncestors(vNode.parent,!0)})),allowedDisabledNodeNames=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var focus_disabled_default=function focusDisabled(el){var vNode=_nodeLookup(el).vNode;if(function isDisabledAttrAllowed(nodeName2){return allowedDisabledNodeNames.includes(nodeName2)}(vNode.props.nodeName)&&vNode.hasAttr("disabled")||_isInert(vNode))return!0;for(var parentNode=vNode.parent,ancestors=[],fieldsetDisabled=!1;parentNode&&parentNode.shadowId===vNode.shadowId&&!fieldsetDisabled&&(ancestors.push(parentNode),"legend"!==parentNode.props.nodeName);){if(void 0!==parentNode._inDisabledFieldset){fieldsetDisabled=parentNode._inDisabledFieldset;break}"fieldset"===parentNode.props.nodeName&&parentNode.hasAttr("disabled")&&(fieldsetDisabled=!0),parentNode=parentNode.parent}return ancestors.forEach((function(ancestor){return ancestor._inDisabledFieldset=fieldsetDisabled})),!!fieldsetDisabled||"area"!==vNode.props.nodeName&&(!!vNode.actualNode&&_isHiddenForEveryone(vNode))},angularSkipLinkRegex=/^\/\#/,angularRouterLinkRegex=/^#[!/]/;function _isCurrentPageLink(anchor){var _window$location,href=anchor.getAttribute("href");if(!href||"#"===href)return!1;if(angularSkipLinkRegex.test(href))return!0;var hash=anchor.hash,protocol=anchor.protocol,hostname=anchor.hostname,port=anchor.port,pathname=anchor.pathname;if(angularRouterLinkRegex.test(hash))return!1;if("#"===href.charAt(0))return!0;if("string"!=typeof(null===(_window$location=window.location)||void 0===_window$location?void 0:_window$location.origin)||-1===window.location.origin.indexOf("://"))return null;var url,currentPageUrl=window.location.origin+window.location.pathname;return url=hostname?"".concat(protocol,"//").concat(hostname).concat(port?":".concat(port):""):window.location.origin,(url+=pathname?("/"!==pathname[0]?"/":"")+pathname:window.location.pathname)===currentPageUrl}var get_element_by_reference_default=function getElementByReference(node,attr){var fragment=node.getAttribute(attr);if(!fragment)return null;if("href"===attr&&!_isCurrentPageLink(node))return null;-1!==fragment.indexOf("#")&&(fragment=decodeURIComponent(fragment.substr(fragment.indexOf("#")+1)));var candidate=document.getElementById(fragment);return candidate||((candidate=document.getElementsByName(fragment)).length?candidate[0]:null)};function _visuallySort(a2,b2){_createGrid();for(var length=Math.max(a2._stackingOrder.length,b2._stackingOrder.length),_i8=0;_i8a2._stackingOrder[_i8].stackLevel)return 1;if(b2._stackingOrder[_i8].stackLevel2&&void 0!==arguments[2]&&arguments[2],center=_getRectCenter(rect),gridCell=grid.getCellFromPoint(center)||[],floorX=Math.floor(center.x),floorY=Math.floor(center.y),stack=gridCell.filter((function(gridCellNode){return gridCellNode.clientRects.some((function(clientRect){var rectX=clientRect.left,rectY=clientRect.top;return floorX=Math.floor(rectX)&&floorY=Math.floor(rectY)}))})),gridContainer=grid.container;return gridContainer&&(stack=getRectStack(gridContainer._grid,gridContainer.boundingClientRect,!0).concat(stack)),recursed||(stack=stack.sort(_visuallySort).map((function(vNode){return vNode.actualNode})).concat(document.documentElement).filter((function(node,index,array){return array.indexOf(node)===index}))),stack}var get_element_stack_default=function getElementStack(node){_createGrid();var vNode=get_node_from_tree_default(node),grid=vNode._grid;return grid?getRectStack(grid,vNode.boundingClientRect):[]};var get_tabbable_elements_default=function getTabbableElements(virtualNode){return query_selector_all_default(virtualNode,"*").filter((function(vNode){var isFocusable2=vNode.isFocusable,tabIndex=vNode.actualNode.getAttribute("tabindex");return(tabIndex=tabIndex&&!isNaN(parseInt(tabIndex,10))?parseInt(tabIndex):null)?isFocusable2&&tabIndex>=0:isFocusable2}))};var is_natively_focusable_default=function isNativelyFocusable(el){var vNode=_nodeLookup(el).vNode;if(!vNode||focus_disabled_default(vNode))return!1;switch(vNode.props.nodeName){case"a":case"area":if(vNode.hasAttr("href"))return!0;break;case"input":return"hidden"!==vNode.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!query_selector_all_default(vNode,"summary").length}return!1};function _isFocusable(el){var vNode=_nodeLookup(el).vNode;if(1!==vNode.props.nodeType)return!1;if(focus_disabled_default(vNode))return!1;if(is_natively_focusable_default(vNode))return!0;var tabindex=vNode.attr("tabindex");return!(!tabindex||isNaN(parseInt(tabindex,10)))}function _isInTabOrder(el){var vNode=_nodeLookup(el).vNode;return 1===vNode.props.nodeType&&(!(parseInt(vNode.attr("tabindex",10))<=-1)&&_isFocusable(vNode))}var get_target_rects_default=memoize_default((function getTargetRects(vNode){var nodeRect=vNode.boundingClientRect,overlappingVNodes=_findNearbyElms(vNode).filter((function(vNeighbor){return _hasVisualOverlap(vNode,vNeighbor)&&"none"!==vNeighbor.getComputedStylePropertyValue("pointer-events")&&!function isDescendantNotInTabOrder(vAncestor,vNode){return vAncestor.actualNode.contains(vNode.actualNode)&&!_isInTabOrder(vNode)}(vNode,vNeighbor)}));if(!overlappingVNodes.length)return[nodeRect];var obscuringRects=overlappingVNodes.map((function(_ref25){return _ref25.boundingClientRect}));return _splitRects(nodeRect,obscuringRects)}));var get_target_size_default=memoize_default((function getTargetSize(vNode,minSize){return function getLargestRect(rects,minSize){return rects.reduce((function(rectA,rectB){var rectAisMinimum=_rectHasMinimumSize(minSize,rectA);return rectAisMinimum!==_rectHasMinimumSize(minSize,rectB)?rectAisMinimum?rectA:rectB:rectA.width*rectA.height>rectB.width*rectB.height?rectA:rectB}))}(get_target_rects_default(vNode),minSize)}));var text_exports={};__export(text_exports,{accessibleText:function accessibleText(){return accessible_text_default},accessibleTextVirtual:function accessibleTextVirtual(){return _accessibleTextVirtual},autocomplete:function autocomplete(){return _autocomplete},formControlValue:function formControlValue(){return form_control_value_default},formControlValueMethods:function formControlValueMethods(){return _formControlValueMethods},hasUnicode:function hasUnicode(){return has_unicode_default},isHumanInterpretable:function isHumanInterpretable(){return is_human_interpretable_default},isIconLigature:function isIconLigature(){return _isIconLigature},isValidAutocomplete:function isValidAutocomplete(){return is_valid_autocomplete_default},label:function label(){return label_default},labelText:function labelText(){return label_text_default},labelVirtual:function labelVirtual(){return label_virtual_default2},nativeElementType:function nativeElementType(){return native_element_type_default},nativeTextAlternative:function nativeTextAlternative(){return _nativeTextAlternative},nativeTextMethods:function nativeTextMethods(){return native_text_methods_default},removeUnicode:function removeUnicode(){return remove_unicode_default},sanitize:function sanitize(){return sanitize_default},subtreeText:function subtreeText(){return subtree_text_default},titleText:function titleText(){return title_text_default},unsupported:function unsupported(){return unsupported_default},visible:function visible(){return visible_default},visibleTextNodes:function visibleTextNodes(){return visible_text_nodes_default},visibleVirtual:function visibleVirtual(){return visible_virtual_default}});var idrefs_default=function idrefs(node,attr){node=node.actualNode||node;try{var doc=get_root_node_default2(node),result=[],attrValue=node.getAttribute(attr);if(attrValue){attrValue=token_list_default(attrValue);for(var index=0;index1&&void 0!==arguments[1]?arguments[1]:{},vNode=_nodeLookup(element).vNode;return 1!==(null==vNode?void 0:vNode.props.nodeType)||1!==vNode.props.nodeType||context.inLabelledByContext||context.inControlContext||!vNode.attr("aria-labelledby")?"":idrefs_default(vNode,"aria-labelledby").filter((function(elm){return elm})).reduce((function(accessibleName,elm){var accessibleNameAdd=accessible_text_default(elm,_extends({inLabelledByContext:!0,startNode:context.startNode||vNode},context));return accessibleName?"".concat(accessibleName," ").concat(accessibleNameAdd):accessibleNameAdd}),"")};function _arialabelText(element){var vNode=_nodeLookup(element).vNode;return 1!==(null==vNode?void 0:vNode.props.nodeType)?"":vNode.attr("aria-label")||""}var aria_attrs_default={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},aria_roles_default={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},html_elms_default={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},css_colors_default={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},originals={ariaAttrs:aria_attrs_default,ariaRoles:_extends({},aria_roles_default,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:html_elms_default,cssColors:css_colors_default},standards=_extends({},originals);var standards_default=standards;var is_unsupported_role_default=function isUnsupportedRole(role){var roleDefinition=standards_default.ariaRoles[role];return!!roleDefinition&&!!roleDefinition.unsupported};var is_valid_role_default=function isValidRole(role){var _ref26=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},allowAbstract=_ref26.allowAbstract,_ref26$flagUnsupporte=_ref26.flagUnsupported,flagUnsupported=void 0!==_ref26$flagUnsupporte&&_ref26$flagUnsupporte,roleDefinition=standards_default.ariaRoles[role],isRoleUnsupported=is_unsupported_role_default(role);return!(!roleDefinition||flagUnsupported&&isRoleUnsupported)&&(!!allowAbstract||"abstract"!==roleDefinition.type)};var get_explicit_role_default=function getExplicitRole(vNode){var _ref27=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},fallback=_ref27.fallback,abstracts=_ref27.abstracts,dpub=_ref27.dpub;if(1!==(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).props.nodeType)return null;var roleAttr=(vNode.attr("role")||"").trim().toLowerCase();return(fallback?token_list_default(roleAttr):[roleAttr]).find((function(role){return!(!dpub&&"doc-"===role.substr(0,4))&&is_valid_role_default(role,{allowAbstract:abstracts})}))||null};var get_elements_by_content_type_default=function getElementsByContentType(type2){return Object.keys(standards_default.htmlElms).filter((function(nodeName2){var elm=standards_default.htmlElms[nodeName2];return elm.contentTypes?elm.contentTypes.includes(type2):!!elm.variant&&(!(!elm.variant.default||!elm.variant.default.contentTypes)&&elm.variant.default.contentTypes.includes(type2))}))};var get_global_aria_attrs_default=function getGlobalAriaAttrs(){return cache_default.get("globalAriaAttrs",(function(){return Object.keys(standards_default.ariaAttrs).filter((function(attrName){return standards_default.ariaAttrs[attrName].global}))}))};var to_grid_default=memoize_default((function toGrid(node){for(var table=[],rows=node.rows,i=0,rowLength=rows.length;i1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function td(vNode){var table=closest_default(vNode,"table"),role=get_explicit_role_default(table);return["grid","treegrid"].includes(role)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function th(vNode){return is_column_header_default(vNode)?"columnheader":is_row_header_default(vNode)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var from_primative_default=function fromPrimative(someString,matcher){var matcherType=_typeof(matcher);if(Array.isArray(matcher)&&void 0!==someString)return matcher.includes(someString);if("function"===matcherType)return!!matcher(someString);if(null!=someString){if(matcher instanceof RegExp)return matcher.test(someString);if(/^\/.*\/$/.test(matcher)){var pattern=matcher.substring(1,matcher.length-1);return new RegExp(pattern).test(someString)}}return matcher===someString};var has_accessible_name_default=function hasAccessibleName2(vNode,matcher){return from_primative_default(!!_accessibleTextVirtual(vNode),matcher)};var from_function_default=function fromFunction(getValue,matcher){if("object"!==_typeof(matcher)||Array.isArray(matcher)||matcher instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(matcher).every((function(propName){return from_primative_default(getValue(propName),matcher[propName])}))};var attributes_default=function attributes(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_function_default((function(attrName){return vNode.attr(attrName)}),matcher)};function condition(arg,matcher){return!!matcher(arg)}var explicit_role_default=function explicitRole(vNode,matcher){return from_primative_default(get_explicit_role_default(vNode),matcher)};var implicit_role_default2=function implicitRole(vNode,matcher){return from_primative_default(implicit_role_default(vNode),matcher)};var node_name_default=function nodeName(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_primative_default(vNode.props.nodeName,matcher)};var properties_default=function properties(vNode,matcher){return vNode=_nodeLookup(vNode).vNode,from_function_default((function(propName){return vNode.props[propName]}),matcher)};var semantic_role_default=function semanticRole(vNode,matcher){return from_primative_default(get_role_default(vNode),matcher)},matchers={hasAccessibleName:has_accessible_name_default,attributes:attributes_default,condition,explicitRole:explicit_role_default,implicitRole:implicit_role_default2,nodeName:node_name_default,properties:properties_default,semanticRole:semantic_role_default};var from_definition_default=function fromDefinition(vNode,definition){return vNode=_nodeLookup(vNode).vNode,Array.isArray(definition)?definition.some((function(definitionItem){return fromDefinition(vNode,definitionItem)})):"string"==typeof definition?_matches(vNode,definition):Object.keys(definition).every((function(matcherName){if(!matchers[matcherName])throw new Error('Unknown matcher type "'.concat(matcherName,'"'));var matchMethod=matchers[matcherName],matcher=definition[matcherName];return matchMethod(vNode,matcher)}))};var matches_default=function matches2(vNode,definition){return from_definition_default(vNode,definition)};matches_default.hasAccessibleName=has_accessible_name_default,matches_default.attributes=attributes_default,matches_default.condition=condition,matches_default.explicitRole=explicit_role_default,matches_default.fromDefinition=from_definition_default,matches_default.fromFunction=from_function_default,matches_default.fromPrimative=from_primative_default,matches_default.implicitRole=implicit_role_default2,matches_default.nodeName=node_name_default,matches_default.properties=properties_default,matches_default.semanticRole=semantic_role_default;var matches_default2=matches_default;var get_element_spec_default=function getElementSpec(vNode){var _ref28$noMatchAccessi=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,noMatchAccessibleName=void 0!==_ref28$noMatchAccessi&&_ref28$noMatchAccessi,standard=standards_default.htmlElms[vNode.props.nodeName];if(!standard)return{};if(!standard.variant)return standard;var variant=standard.variant,spec=_objectWithoutProperties(standard,_excluded4);for(var variantName in variant)if(variant.hasOwnProperty(variantName)&&"default"!==variantName){for(var _variant$variantName=variant[variantName],matches4=_variant$variantName.matches,props=_objectWithoutProperties(_variant$variantName,_excluded5),matchProperties=Array.isArray(matches4)?matches4:[matches4],_i9=0;_i91&&void 0!==arguments[1]?arguments[1]:{}).chromium,vNode=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node);if(node=vNode.actualNode,!vNode)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var nodeName2=vNode.props.nodeName,role=implicit_html_roles_default[nodeName2];return!role&&chromium?get_element_spec_default(vNode).chromiumRole||null:"function"==typeof role?role(vNode):role||null},inheritsPresentationChain={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function getInheritedRole(vNode,explicitRoleOptions){var parentNodeNames=inheritsPresentationChain[vNode.props.nodeName];if(!parentNodeNames)return null;if(!vNode.parent){if(!vNode.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!parentNodeNames.includes(vNode.parent.props.nodeName))return null;var parentRole=get_explicit_role_default(vNode.parent,explicitRoleOptions);return["none","presentation"].includes(parentRole)&&!hasConflictResolution(vNode.parent)?parentRole:parentRole?null:getInheritedRole(vNode.parent,explicitRoleOptions)}function resolveImplicitRole(vNode,_ref30){var chromium=_ref30.chromium,explicitRoleOptions=_objectWithoutProperties(_ref30,_excluded6),implicitRole3=implicit_role_default(vNode,{chromium});if(!implicitRole3)return null;var presentationalRole=getInheritedRole(vNode,explicitRoleOptions);return presentationalRole||implicitRole3}function hasConflictResolution(vNode){return get_global_aria_attrs_default().some((function(attr){return vNode.hasAttr(attr)}))||_isFocusable(vNode)}var get_role_default=function getRole(node){var _ref32=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},noPresentational=_ref32.noPresentational,role=function resolveRole(node){var _ref31=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},noImplicit=_ref31.noImplicit,roleOptions=_objectWithoutProperties(_ref31,_excluded7),vNode=_nodeLookup(node).vNode;if(1!==vNode.props.nodeType)return null;var explicitRole2=get_explicit_role_default(vNode,roleOptions);return explicitRole2?["presentation","none"].includes(explicitRole2)&&hasConflictResolution(vNode)?noImplicit?null:resolveImplicitRole(vNode,roleOptions):explicitRole2:noImplicit?null:resolveImplicitRole(vNode,roleOptions)}(node,_objectWithoutProperties(_ref32,_excluded8));return noPresentational&&["presentation","none"].includes(role)?null:role},alwaysTitleElements=["iframe"];var title_text_default=function titleText(node){var vNode=_nodeLookup(node).vNode;return 1===vNode.props.nodeType&&node.hasAttr("title")?!matches_default(vNode,alwaysTitleElements)&&["none","presentation"].includes(get_role_default(vNode))?"":vNode.attr("title"):""};var named_from_contents_default=function namedFromContents(vNode){var strict=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).props.nodeType)return!1;var role=get_role_default(vNode),roleDef=standards_default.ariaRoles[role];return!(!roleDef||!roleDef.nameFromContent)||!strict&&(!roleDef||["presentation","none"].includes(role))};var get_owned_virtual_default=function getOwnedVirtual(virtualNode){var actualNode=virtualNode.actualNode,children=virtualNode.children;if(!children)throw new Error("getOwnedVirtual requires a virtual node");if(virtualNode.hasAttr("aria-owns")){var owns=idrefs_default(actualNode,"aria-owns").filter((function(element){return!!element})).map((function(element){return axe.utils.getNodeFromTree(element)}));return[].concat(_toConsumableArray(children),_toConsumableArray(owns))}return _toConsumableArray(children)},unsupported_default={accessibleNameFromFieldValue:["progressbar"]};function _isVisibleToScreenReaders(vNode){return vNode=_nodeLookup(vNode).vNode,isVisibleToScreenReadersVirtual(vNode)}var isVisibleToScreenReadersVirtual=memoize_default((function isVisibleToScreenReadersMemoized(vNode,isAncestor){return!ariaHidden(vNode)&&!_isInert(vNode,{skipAncestors:!0,isAncestor})&&(vNode.actualNode&&"area"===vNode.props.nodeName?!areaHidden(vNode,isVisibleToScreenReadersVirtual):!_isHiddenForEveryone(vNode,{skipAncestors:!0,isAncestor})&&(!vNode.parent||isVisibleToScreenReadersVirtual(vNode.parent,!0)))}));var visible_virtual_default=function visibleVirtual(element,screenReader,noRecursing){var vNode=_nodeLookup(element).vNode,visibleMethod=screenReader?_isVisibleToScreenReaders:_isVisibleOnScreen,visible2=!element.actualNode||element.actualNode&&visibleMethod(element),result=vNode.children.map((function(child){var _child$props=child.props,nodeType=_child$props.nodeType,nodeValue=_child$props.nodeValue;if(3===nodeType){if(nodeValue&&visible2)return nodeValue}else if(!noRecursing)return visibleVirtual(child,screenReader)})).join("");return sanitize_default(result)},nonTextInputTypes=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var is_native_textbox_default=function isNativeTextbox(node){var nodeName2=(node=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node)).props.nodeName;return"textarea"===nodeName2||"input"===nodeName2&&!nonTextInputTypes.includes((node.attr("type")||"").toLowerCase())};var is_native_select_default=function isNativeSelect(node){return"select"===(node=node instanceof abstract_virtual_node_default?node:get_node_from_tree_default(node)).props.nodeName};var is_aria_textbox_default=function isAriaTextbox(node){return"textbox"===get_explicit_role_default(node)};var is_aria_listbox_default=function isAriaListbox(node){return"listbox"===get_explicit_role_default(node)};var is_aria_combobox_default=function isAriaCombobox(node){return"combobox"===get_explicit_role_default(node)},rangeRoles=["progressbar","scrollbar","slider","spinbutton"];var is_aria_range_default=function isAriaRange(node){var role=get_explicit_role_default(node);return rangeRoles.includes(role)},controlValueRoles=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],_formControlValueMethods={nativeTextboxValue:function nativeTextboxValue(node){var vNode=_nodeLookup(node).vNode;if(is_native_textbox_default(vNode))return vNode.props.value||"";return""},nativeSelectValue:function nativeSelectValue(node){var vNode=_nodeLookup(node).vNode;if(!is_native_select_default(vNode))return"";var options=query_selector_all_default(vNode,"option"),selectedOptions=options.filter((function(option){return option.props.selected}));selectedOptions.length||selectedOptions.push(options[0]);return selectedOptions.map((function(option){return visible_virtual_default(option)})).join(" ")||""},ariaTextboxValue:function ariaTextboxValue(node){var _nodeLookup15=_nodeLookup(node),vNode=_nodeLookup15.vNode,domNode=_nodeLookup15.domNode;if(!is_aria_textbox_default(vNode))return"";return!domNode||domNode&&!_isHiddenForEveryone(domNode)?visible_virtual_default(vNode,!0):domNode.textContent},ariaListboxValue,ariaComboboxValue:function ariaComboboxValue(node,context){var vNode=_nodeLookup(node).vNode;if(!is_aria_combobox_default(vNode))return"";var listbox=get_owned_virtual_default(vNode).filter((function(elm){return"listbox"===get_role_default(elm)}))[0];return listbox?ariaListboxValue(listbox,context):""},ariaRangeValue:function ariaRangeValue(node){var vNode=_nodeLookup(node).vNode;if(!is_aria_range_default(vNode)||!vNode.hasAttr("aria-valuenow"))return"";var valueNow=+vNode.attr("aria-valuenow");return isNaN(valueNow)?"0":String(valueNow)}};function ariaListboxValue(node,context){var vNode=_nodeLookup(node).vNode;if(!is_aria_listbox_default(vNode))return"";var selected=get_owned_virtual_default(vNode).filter((function(owned){return"option"===get_role_default(owned)&&"true"===owned.attr("aria-selected")}));return 0===selected.length?"":_accessibleTextVirtual(selected[0],context)}var form_control_value_default=function formControlValue(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actualNode=virtualNode.actualNode,unsupportedRoles=unsupported_default.accessibleNameFromFieldValue||[],role=get_role_default(virtualNode);if(context.startNode===virtualNode||!controlValueRoles.includes(role)||unsupportedRoles.includes(role))return"";var valueString=Object.keys(_formControlValueMethods).map((function(name){return _formControlValueMethods[name]})).reduce((function(accName,step){return accName||step(virtualNode,context)}),"");return context.debug&&log_default(valueString||"{empty-value}",actualNode,context),valueString};var phrasingElements=get_elements_by_content_type_default("phrasing").concat(["#text"]);var subtree_text_default=function subtreeText(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},alreadyProcessed2=_accessibleTextVirtual.alreadyProcessed;context.startNode=context.startNode||virtualNode;var _context=context,strict=_context.strict,inControlContext=_context.inControlContext,inLabelledByContext=_context.inLabelledByContext,role=get_role_default(virtualNode),contentTypes=get_element_spec_default(virtualNode,{noMatchAccessibleName:!0}).contentTypes;return alreadyProcessed2(virtualNode,context)||1!==virtualNode.props.nodeType||null!=contentTypes&&contentTypes.includes("embedded")||controlValueRoles.includes(role)?"":context.subtreeDescendant||context.inLabelledByContext||named_from_contents_default(virtualNode,{strict})?(strict||(context=_extends({subtreeDescendant:!inControlContext&&!inLabelledByContext},context)),get_owned_virtual_default(virtualNode).reduce((function(contentText,child){return function appendAccessibleText(contentText,virtualNode,context){var nodeName2=virtualNode.props.nodeName,contentTextAdd=_accessibleTextVirtual(virtualNode,context);if(!contentTextAdd)return contentText;phrasingElements.includes(nodeName2)||(" "!==contentTextAdd[0]&&(contentTextAdd+=" "),contentText&&" "!==contentText[contentText.length-1]&&(contentTextAdd=" "+contentTextAdd));return contentText+contentTextAdd}(contentText,child,context)}),"")):""};var label_text_default=function labelText(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},alreadyProcessed2=_accessibleTextVirtual.alreadyProcessed;if(context.inControlContext||context.inLabelledByContext||alreadyProcessed2(virtualNode,context))return"";context.startNode||(context.startNode=virtualNode);var labels,labelContext=_extends({inControlContext:!0},context),explicitLabels=function getExplicitLabels(virtualNode){if(!virtualNode.attr("id"))return[];if(!virtualNode.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return find_elms_in_context_default({elm:"label",attr:"for",value:virtualNode.attr("id"),context:virtualNode.actualNode})}(virtualNode),implicitLabel=closest_default(virtualNode,"label");return implicitLabel?(labels=[].concat(_toConsumableArray(explicitLabels),[implicitLabel.actualNode])).sort(node_sorter_default):labels=explicitLabels,labels.map((function(label3){return accessible_text_default(label3,labelContext)})).filter((function(text){return""!==text})).join(" ")},defaultButtonValues={submit:"Submit",image:"Submit",reset:"Reset",button:""};function attrText(attr,vNode){return vNode.attr(attr)||""}function descendantText(nodeName2,_ref36,context){var actualNode=_ref36.actualNode,nodeNames2=[nodeName2=nodeName2.toLowerCase(),actualNode.nodeName.toLowerCase()].join(","),candidate=actualNode.querySelector(nodeNames2);return candidate&&candidate.nodeName.toLowerCase()===nodeName2?accessible_text_default(candidate,context):""}var native_text_methods_default={valueText:function valueText(_ref34){return _ref34.actualNode.value||""},buttonDefaultText:function buttonDefaultText(_ref35){var actualNode=_ref35.actualNode;return defaultButtonValues[actualNode.type]||""},tableCaptionText:descendantText.bind(null,"caption"),figureText:descendantText.bind(null,"figcaption"),svgTitleText:descendantText.bind(null,"title"),fieldsetLegendText:descendantText.bind(null,"legend"),altText:attrText.bind(null,"alt"),tableSummaryText:attrText.bind(null,"summary"),titleText:title_text_default,subtreeText:subtree_text_default,labelText:label_text_default,singleSpace:function singleSpace(){return" "},placeholderText:attrText.bind(null,"placeholder")};function _nativeTextAlternative(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},actualNode=virtualNode.actualNode;if(1!==virtualNode.props.nodeType||["presentation","none"].includes(get_role_default(virtualNode)))return"";var textMethods=function findTextMethods(virtualNode){var elmSpec=get_element_spec_default(virtualNode,{noMatchAccessibleName:!0});return(elmSpec.namingMethods||[]).map((function(methodName){return native_text_methods_default[methodName]}))}(virtualNode),accessibleName=textMethods.reduce((function(accName,step){return accName||step(virtualNode,context)}),"");return context.debug&&axe.log(accessibleName||"{empty-value}",actualNode,context),accessibleName}var emoji_regex_default=function emoji_regex_default(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var has_unicode_default=function hasUnicode(str,options){var emoji=options.emoji,nonBmp=options.nonBmp,punctuations=options.punctuations,value=!1;return emoji&&(value||(value=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(str))),nonBmp&&(value||(value=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(str)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(str)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(str))),punctuations&&(value||(value=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(str))),value};function _isIconLigature(textVNode){var differenceThreshold=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,occurrenceThreshold=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,nodeValue=textVNode.actualNode.nodeValue.trim();if(!sanitize_default(nodeValue)||has_unicode_default(nodeValue,{emoji:!0,nonBmp:!0}))return!1;var canvasContext=cache_default.get("canvasContext",(function(){return document.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),canvas=canvasContext.canvas,fonts=cache_default.get("fonts",(function(){return{}})),fontFamily=window.getComputedStyle(textVNode.parent.actualNode).getPropertyValue("font-family");fonts[fontFamily]||(fonts[fontFamily]={occurrences:0,numLigatures:0});var font=fonts[fontFamily];if(font.occurrences>=occurrenceThreshold){if(font.numLigatures/font.occurrences==1)return!0;if(0===font.numLigatures)return!1}font.occurrences++;var fontSize=30,fontStyle="".concat(fontSize,"px ").concat(fontFamily);canvasContext.font=fontStyle;var firstChar=nodeValue.charAt(0),width=canvasContext.measureText(firstChar).width;if(0===width)return font.numLigatures++,!0;if(width<30){var diff=30/width;width*=diff,fontStyle="".concat(fontSize*=diff,"px ").concat(fontFamily)}canvas.width=width,canvas.height=fontSize,canvasContext.font=fontStyle,canvasContext.textAlign="left",canvasContext.textBaseline="top",canvasContext.fillText(firstChar,0,0);var compareData=new Uint32Array(canvasContext.getImageData(0,0,width,fontSize).data.buffer);if(!compareData.some((function(pixel){return pixel})))return font.numLigatures++,!0;canvasContext.clearRect(0,0,width,fontSize),canvasContext.fillText(nodeValue,0,0);var compareWith=new Uint32Array(canvasContext.getImageData(0,0,width,fontSize).data.buffer),differences=compareData.reduce((function(diff,pixel,i){return 0===pixel&&0===compareWith[i]||0!==pixel&&0!==compareWith[i]?diff:++diff}),0),expectedWidth=nodeValue.split("").reduce((function(totalWidth,_char2){return totalWidth+canvasContext.measureText(_char2).width}),0),actualWidth=canvasContext.measureText(nodeValue).width;return differences/compareData.length>=differenceThreshold&&1-actualWidth/expectedWidth>=differenceThreshold&&(font.numLigatures++,!0)}function _accessibleTextVirtual(virtualNode){var context=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(context=function prepareContext(virtualNode,context){context.startNode||(context=_extends({startNode:virtualNode},context));1===virtualNode.props.nodeType&&context.inLabelledByContext&&void 0===context.includeHidden&&(context=_extends({includeHidden:!_isVisibleToScreenReaders(virtualNode)},context));return context}(virtualNode,context),function shouldIgnoreHidden(virtualNode,context){if(!virtualNode)return!1;if(1!==virtualNode.props.nodeType||context.includeHidden)return!1;return!_isVisibleToScreenReaders(virtualNode)}(virtualNode,context))return"";if(function shouldIgnoreIconLigature(virtualNode,context){var _context$occurrenceTh,ignoreIconLigature=context.ignoreIconLigature,pixelThreshold=context.pixelThreshold,occurrenceThreshold=null!==(_context$occurrenceTh=context.occurrenceThreshold)&&void 0!==_context$occurrenceTh?_context$occurrenceTh:context.occuranceThreshold;if(3!==virtualNode.props.nodeType||!ignoreIconLigature)return!1;return _isIconLigature(virtualNode,pixelThreshold,occurrenceThreshold)}(virtualNode,context))return"";var accessibleName=[arialabelledby_text_default,_arialabelText,_nativeTextAlternative,form_control_value_default,subtree_text_default,textNodeValue,title_text_default].reduce((function(accName,step){return context.startNode===virtualNode&&(accName=sanitize_default(accName)),""!==accName?accName:step(virtualNode,context)}),"");return context.debug&&axe.log(accessibleName||"{empty-value}",virtualNode.actualNode,context),accessibleName}function textNodeValue(virtualNode){return 3!==virtualNode.props.nodeType?"":virtualNode.props.nodeValue}_accessibleTextVirtual.alreadyProcessed=function alreadyProcessed(virtualnode,context){return context.processed=context.processed||[],!!context.processed.includes(virtualnode)||(context.processed.push(virtualnode),!1)};var remove_unicode_default=function removeUnicode(str,options){var emoji=options.emoji,nonBmp=options.nonBmp,punctuations=options.punctuations;return emoji&&(str=str.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),nonBmp&&(str=str.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),punctuations&&(str=str.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),str};var is_human_interpretable_default=function isHumanInterpretable(str){if(!str.length)return 0;if(["x","i"].includes(str))return 0;var noUnicodeStr=remove_unicode_default(str,{emoji:!0,nonBmp:!0,punctuations:!0});return sanitize_default(noUnicodeStr)?1:0},_autocomplete={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var is_valid_autocomplete_default=function isValidAutocomplete(autocompleteValue){var _ref37=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref37$looseTyped=_ref37.looseTyped,looseTyped=void 0!==_ref37$looseTyped&&_ref37$looseTyped,_ref37$stateTerms=_ref37.stateTerms,stateTerms=void 0===_ref37$stateTerms?[]:_ref37$stateTerms,_ref37$locations=_ref37.locations,locations=void 0===_ref37$locations?[]:_ref37$locations,_ref37$qualifiers=_ref37.qualifiers,qualifiers=void 0===_ref37$qualifiers?[]:_ref37$qualifiers,_ref37$standaloneTerm=_ref37.standaloneTerms,standaloneTerms=void 0===_ref37$standaloneTerm?[]:_ref37$standaloneTerm,_ref37$qualifiedTerms=_ref37.qualifiedTerms,qualifiedTerms=void 0===_ref37$qualifiedTerms?[]:_ref37$qualifiedTerms;if(autocompleteValue=autocompleteValue.toLowerCase().trim(),(stateTerms=stateTerms.concat(_autocomplete.stateTerms)).includes(autocompleteValue)||""===autocompleteValue)return!0;qualifiers=qualifiers.concat(_autocomplete.qualifiers),locations=locations.concat(_autocomplete.locations),standaloneTerms=standaloneTerms.concat(_autocomplete.standaloneTerms),qualifiedTerms=qualifiedTerms.concat(_autocomplete.qualifiedTerms);var autocompleteTerms=autocompleteValue.split(/\s+/g);if("webauthn"===autocompleteTerms[autocompleteTerms.length-1]&&(autocompleteTerms.pop(),0===autocompleteTerms.length))return!1;if(!looseTyped&&(autocompleteTerms[0].length>8&&"section-"===autocompleteTerms[0].substr(0,8)&&autocompleteTerms.shift(),locations.includes(autocompleteTerms[0])&&autocompleteTerms.shift(),qualifiers.includes(autocompleteTerms[0])&&(autocompleteTerms.shift(),standaloneTerms=[]),1!==autocompleteTerms.length))return!1;var purposeTerm=autocompleteTerms[autocompleteTerms.length-1];return standaloneTerms.includes(purposeTerm)||qualifiedTerms.includes(purposeTerm)};var label_virtual_default=function labelVirtual(virtualNode){var candidate;return virtualNode.attr("aria-labelledby")&&(candidate=idrefs_default(virtualNode.actualNode,"aria-labelledby").map((function(thing){var vNode=get_node_from_tree_default(thing);return vNode?visible_virtual_default(vNode):""})).join(" ").trim())||(candidate=virtualNode.attr("aria-label"))&&(candidate=sanitize_default(candidate))?candidate:null};var visible_default=function visible(element,screenReader,noRecursing){return element=get_node_from_tree_default(element),visible_virtual_default(element,screenReader,noRecursing)};var label_virtual_default2=function labelVirtual2(virtualNode){var ref,candidate;if(candidate=label_virtual_default(virtualNode))return candidate;if(virtualNode.attr("id")){if(!virtualNode.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var id=escape_selector_default(virtualNode.attr("id"));if(candidate=(ref=get_root_node_default2(virtualNode.actualNode).querySelector('label[for="'+id+'"]'))&&visible_default(ref,!0))return candidate}return(candidate=(ref=closest_default(virtualNode,"label"))&&visible_virtual_default(ref,!0))||null};var label_default=function label(node){return node=get_node_from_tree_default(node),label_virtual_default2(node)},native_element_type_default=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var visible_text_nodes_default=function visibleTextNodes(vNode){var parentVisible=_isVisibleOnScreen(vNode),nodes=[];return vNode.children.forEach((function(child){3===child.actualNode.nodeType?parentVisible&&nodes.push(child):nodes=nodes.concat(visibleTextNodes(child))})),nodes},get_visible_child_text_rects_default=memoize_default((function getVisibleChildTextRectsMemoized(node){var vNode=get_node_from_tree_default(node),nodeRect=vNode.boundingClientRect,clientRects=[],overflowHiddenNodes=get_overflow_hidden_ancestors_default(vNode);return node.childNodes.forEach((function(textNode){if(3===textNode.nodeType&&""!==sanitize_default(textNode.nodeValue)){var contentRects=function getContentRects(node){var range2=document.createRange();return range2.selectNodeContents(node),Array.from(range2.getClientRects())}(textNode);(function isOutsideNodeBounds(rects,nodeRect){return rects.some((function(rect){return!_isPointInRect(_getRectCenter(rect),nodeRect)}))})(contentRects,nodeRect)||clientRects.push.apply(clientRects,_toConsumableArray(function filterHiddenRects(contentRects,overflowHiddenNodes){var visibleRects=[];return contentRects.forEach((function(contentRect){if(!(contentRect.width<1||contentRect.height<1)){var visibleRect=overflowHiddenNodes.reduce((function(rect,overflowNode){return rect&&_getIntersectionRect(rect,overflowNode.boundingClientRect)}),contentRect);visibleRect&&visibleRects.push(visibleRect)}})),visibleRects}(contentRects,overflowHiddenNodes)))}})),clientRects.length?clientRects:[nodeRect]}));var get_text_element_stack_default=function getTextElementStack(node){_createGrid();var grid=get_node_from_tree_default(node)._grid;return grid?get_visible_child_text_rects_default(node).map((function(rect){return getRectStack(grid,rect)})):[]},visualRoles=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var is_visual_content_default=function isVisualContent(el){var vNode=_nodeLookup(el).vNode,role=axe.commons.aria.getExplicitRole(vNode);if(role)return-1!==visualRoles.indexOf(role);switch(vNode.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==vNode.props.type;default:return!1}},hiddenTextElms=["head","title","template","script","style","iframe","object","video","audio","noscript"];function hasChildTextNodes(elm){return!hiddenTextElms.includes(elm.props.nodeName)&&elm.children.some((function(_ref38){var props=_ref38.props;return 3===props.nodeType&&props.nodeValue.trim()}))}var has_content_virtual_default=function hasContentVirtual(elm,noRecursion,ignoreAria){return hasChildTextNodes(elm)||is_visual_content_default(elm.actualNode)||!ignoreAria&&!!label_virtual_default(elm)||!noRecursion&&elm.children.some((function(child){return 1===child.actualNode.nodeType&&hasContentVirtual(child)}))};var has_content_default=function hasContent(elm,noRecursion,ignoreAria){return elm=get_node_from_tree_default(elm),has_content_virtual_default(elm,noRecursion,ignoreAria)};function _hasLangText(virtualNode){return!(void 0!==virtualNode.children&&!hasChildTextNodes(virtualNode))||(1===virtualNode.props.nodeType&&is_visual_content_default(virtualNode)?!!axe.commons.text.accessibleTextVirtual(virtualNode):virtualNode.children.some((function(child){return!child.attr("lang")&&_hasLangText(child)&&!_isHiddenForEveryone(child)})))}var inserted_into_focus_order_default=function insertedIntoFocusOrder(el){return parseInt(el.getAttribute("tabindex"),10)>-1&&_isFocusable(el)&&!is_natively_focusable_default(el)};function isHiddenWithCSS(el,descendentVisibilityValue){var _nodeLookup20=_nodeLookup(el),vNode=_nodeLookup20.vNode,domNode=_nodeLookup20.domNode;return vNode?(void 0===vNode._isHiddenWithCSS&&(vNode._isHiddenWithCSS=_isHiddenWithCSS(domNode,descendentVisibilityValue)),vNode._isHiddenWithCSS):_isHiddenWithCSS(domNode,descendentVisibilityValue)}function _isHiddenWithCSS(el,descendentVisibilityValue){if(9===el.nodeType)return!1;if(11===el.nodeType&&(el=el.host),["STYLE","SCRIPT"].includes(el.nodeName.toUpperCase()))return!1;var style=window.getComputedStyle(el,null);if(!style)throw new Error("Style does not exist for the given element.");if("none"===style.getPropertyValue("display"))return!0;var HIDDEN_VISIBILITY_VALUES=["hidden","collapse"],visibilityValue=style.getPropertyValue("visibility");if(HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)&&!descendentVisibilityValue)return!0;if(HIDDEN_VISIBILITY_VALUES.includes(visibilityValue)&&descendentVisibilityValue&&HIDDEN_VISIBILITY_VALUES.includes(descendentVisibilityValue))return!0;var parent=get_composed_parent_default(el);return!(!parent||HIDDEN_VISIBILITY_VALUES.includes(visibilityValue))&&isHiddenWithCSS(parent,visibilityValue)}var is_hidden_with_css_default=isHiddenWithCSS;var is_html5_default=function isHTML5(doc){var node=doc.doctype;return null!==node&&("html"===node.name&&!node.publicId&&!node.systemId)};var get_role_type_default=function getRoleType(role){var _window3;(role instanceof abstract_virtual_node_default||null!==(_window3=window)&&void 0!==_window3&&_window3.Node&&role instanceof window.Node)&&(role=axe.commons.aria.getRole(role));var roleDef=standards_default.ariaRoles[role];return(null==roleDef?void 0:roleDef.type)||null};function walkDomNode(node,functor){!1!==functor(node.actualNode)&&node.children.forEach((function(child){return walkDomNode(child,functor)}))}var blockLike=["block","list-item","table","flex","grid","inline-block"];function isBlock(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return blockLike.includes(display2)||"table-"===display2.substr(0,6)}var is_in_text_block_default=function isInTextBlock(node,options){if(isBlock(node))return!1;var virtualParent=function getBlockParent(node){for(var parentBlock=get_composed_parent_default(node);parentBlock&&!isBlock(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);return get_node_from_tree_default(parentBlock)}(node),parentText="",widgetText="",inBrBlock=0;return walkDomNode(virtualParent,(function(currNode){if(2===inBrBlock)return!1;if(3===currNode.nodeType&&(parentText+=currNode.nodeValue),1===currNode.nodeType){var nodeName2=(currNode.nodeName||"").toUpperCase();if(currNode===node&&(inBrBlock=1),["BR","HR"].includes(nodeName2))0===inBrBlock?(parentText="",widgetText=""):inBrBlock=2;else{if("none"===currNode.style.display||"hidden"===currNode.style.overflow||!["",null,"none"].includes(currNode.style.float)||!["",null,"relative"].includes(currNode.style.position))return!1;if("widget"===get_role_type_default(currNode))return widgetText+=currNode.textContent,!1}}})),parentText=sanitize_default(parentText),null!=options&&options.noLengthCompare?0!==parentText.length:(widgetText=sanitize_default(widgetText),parentText.length>widgetText.length)};var is_modal_open_default=function isModalOpen(options){var modalPercent=(options=options||{}).modalPercent||.75;if(cache_default.get("isModalOpen"))return cache_default.get("isModalOpen");if(query_selector_all_filter_default(axe._tree[0],"dialog, [role=dialog], [aria-modal=true]",_isVisibleOnScreen).length)return cache_default.set("isModalOpen",!0),!0;for(var viewport=get_viewport_size_default(window),percentWidth=viewport.width*modalPercent,percentHeight=viewport.height*modalPercent,x=(viewport.width-percentWidth)/2,y=(viewport.height-percentHeight)/2,stacks=[{x,y},{x:viewport.width-x,y},{x:viewport.width/2,y:viewport.height/2},{x,y:viewport.height-y},{x:viewport.width-x,y:viewport.height-y}].map((function(point){return Array.from(document.elementsFromPoint(point.x,point.y))})),_loop4=function _loop4(_i10){var modalElement=stacks[_i10].find((function(elm){var style=window.getComputedStyle(elm);return parseInt(style.width,10)>=percentWidth&&parseInt(style.height,10)>=percentHeight&&"none"!==style.getPropertyValue("pointer-events")&&("absolute"===style.position||"fixed"===style.position)}));if(modalElement&&stacks.every((function(stack){return stack.includes(modalElement)})))return cache_default.set("isModalOpen",!0),{v:!0}},_i10=0;_i101&&void 0!==arguments[1]?arguments[1]:2,range2=domNode.ownerDocument.createRange();range2.setStart(domNode,0),range2.setEnd(domNode,domNode.childNodes.length);var _step5,lastLineEnd=0,lineCount=0,_iterator5=_createForOfIteratorHelper(range2.getClientRects());try{for(_iterator5.s();!(_step5=_iterator5.n()).done;){var rect=_step5.value;if(!(rect.height<=margin))if(lastLineEnd>rect.top+margin)lastLineEnd=Math.max(lastLineEnd,rect.bottom);else{if(0!==lineCount)return!0;lastLineEnd=rect.bottom,lineCount++}}}catch(err){_iterator5.e(err)}finally{_iterator5.f()}return!1}var is_node_default=function isNode(element){return element instanceof window.Node},cacheKey="color.incompleteData",incompleteData={set:function set(key,reason){if("string"!=typeof key)throw new Error("Incomplete data: key must be a string");var data=cache_default.get(cacheKey,(function(){return{}}));return reason&&(data[key]=reason),data[key]},get:function get(key){var data=cache_default.get(cacheKey);return null==data?void 0:data[key]},clear:function clear(){cache_default.set(cacheKey,{})}},incomplete_data_default=incompleteData;var element_has_image_default=function elementHasImage(elm,style){var nodeName2=elm.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(nodeName2))return incomplete_data_default.set("bgColor","imgNode"),!0;var bgImageStyle=(style=style||window.getComputedStyle(elm)).getPropertyValue("background-image"),hasBgImage="none"!==bgImageStyle;if(hasBgImage){var hasGradient=/gradient/.test(bgImageStyle);incomplete_data_default.set("bgColor",hasGradient?"bgGradient":"bgImage")}return hasBgImage},imports_exports={};__export(imports_exports,{Colorjs:function Colorjs(){return Color},CssSelectorParser:function CssSelectorParser(){return import_css_selector_parser2.CssSelectorParser},doT:function doT(){return import_dot.default},emojiRegexText:function emojiRegexText(){return emoji_regex_default},memoize:function memoize(){return import_memoizee2.default}});var toStr,isCallable,maxSafeInteger,toLength,import_es6_promise=__toModule(require_es6_promise()),import_typedarray=__toModule(require_typedarray()),import_has_own=(__toModule(require_weakmap_polyfill()),__toModule(require_has_own3())),import_values=__toModule(require_values3());"hasOwn"in Object||(Object.hasOwn=import_has_own.default),"values"in Object||(Object.values=import_values.default),"Promise"in window||import_es6_promise.default.polyfill(),"Uint32Array"in window||(window.Uint32Array=import_typedarray.Uint32Array),window.Uint32Array&&("some"in window.Uint32Array.prototype||Object.defineProperty(window.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in window.Uint32Array.prototype||Object.defineProperty(window.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(target){if(null==target)throw new TypeError("Cannot convert undefined or null to object");for(var output=Object(target),index=1;index>>0,thisArg=arguments[1],i=0;i>>0,i=0;i=0?k=n2:(k=len+n2)<0&&(k=0);k>>0,thisArg=arguments.length>=2?arguments[1]:void 0,i=0;i0?1:-1)*Math.floor(Math.abs(number)):number}(value);return Math.min(Math.max(len,0),maxSafeInteger)},function from(arrayLike){var items=Object(arrayLike);if(null==arrayLike)throw new TypeError("Array.from requires an array-like object - not null or undefined");var T,mapFn=arguments.length>1?arguments[1]:void 0;if(void 0!==mapFn){if(!isCallable(mapFn))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(T=arguments[2])}for(var kValue,len=toLength(items.length),A=isCallable(this)?Object(new this(len)):new Array(len),k=0;kthis.length)&&-1!==this.indexOf(search,start)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function flat(){var depth=isNaN(arguments[0])?1:Number(arguments[0]);return depth?Array.prototype.reduce.call(this,(function(acc,cur){return Array.isArray(cur)?acc.push.apply(acc,flat.call(cur,depth-1)):acc.push(cur),acc}),[]):Array.prototype.slice.call(this)},writable:!0}),window.Node&&!("isConnected"in window.Node.prototype)&&Object.defineProperty(window.Node.prototype,"isConnected",{get:function get(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var import_css_selector_parser2=__toModule(require_lib()),import_dot=__toModule(require_doT()),import_memoizee2=__toModule(require_memoizee());function multiplyMatrices(A,B){var m3=A.length;Array.isArray(A[0])||(A=[A]),Array.isArray(B[0])||(B=B.map((function(x){return[x]})));var p2=B[0].length,B_cols=B[0].map((function(_,i){return B.map((function(x){return x[i]}))})),product=A.map((function(row){return B_cols.map((function(col){var ret=0;if(!Array.isArray(row)){var _step6,_iterator6=_createForOfIteratorHelper(col);try{for(_iterator6.s();!(_step6=_iterator6.n()).done;){var c4=_step6.value;ret+=row*c4}}catch(err){_iterator6.e(err)}finally{_iterator6.f()}return ret}for(var _i11=0;_i11integerLength)return+n2.toFixed(precision-integerLength);var p10=Math.pow(10,integerLength-precision);return Math.round(n2/p10)*p10}function parseFunction(str){if(str){str=str.trim();var isNumberRegex=/^-?[\d.]+$/,parts=str.match(/^([a-z]+)\((.+?)\)$/i);if(parts){var args=[];return parts[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function($0,arg){/%$/.test(arg)?(arg=new Number(arg.slice(0,-1)/100)).type="":/deg$/.test(arg)?((arg=new Number(+arg.slice(0,-3))).type="",arg.unit="deg"):isNumberRegex.test(arg)&&((arg=new Number(arg)).type=""),$0.startsWith("/")&&((arg=arg instanceof Number?arg:new Number(arg)).alpha=!0),args.push(arg)})),{name:parts[1].toLowerCase(),rawName:parts[1],rawArgs:parts[2],args}}}}function last(arr){return arr[arr.length-1]}function interpolate(start,end,p2){return isNaN(start)?end:isNaN(end)?start:start+(end-start)*p2}function interpolateInv(start,end,value){return(value-start)/(end-start)}function mapRange(from,to2,value){return interpolate(to2[0],to2[1],interpolateInv(from[0],from[1],value))}function parseCoordGrammar(coordGrammars){return coordGrammars.map((function(coordGrammar2){return coordGrammar2.split("|").map((function(type2){var range2=(type2=type2.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(range2){var ret=new String(range2[1]);return ret.range=[+range2[2],+range2[3]],ret}return type2}))}))}var util=Object.freeze({__proto__:null,isString,type,toPrecision,parseFunction,last,interpolate,interpolateInv,mapRange,parseCoordGrammar,multiplyMatrices}),Hooks=function(){function Hooks(){_classCallCheck(this,Hooks)}return _createClass(Hooks,[{key:"add",value:function add(name,callback,first){if("string"==typeof arguments[0])(Array.isArray(name)?name:[name]).forEach((function(name2){this[name2]=this[name2]||[],callback&&this[name2][first?"unshift":"push"](callback)}),this);else for(var name in arguments[0])this.add(name,arguments[0][name],arguments[1])}},{key:"run",value:function run(name,env){this[name]=this[name]||[],this[name].forEach((function(callback){callback.call(env&&env.context?env.context:env,env)}))}}]),Hooks}(),hooks=new Hooks,defaults={gamut_mapping:"lch.c",precision:5,deltaE:"76"},WHITES={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function getWhite(name){return Array.isArray(name)?name:WHITES[name]}function adapt$1(W1,W2,XYZ){var options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(W1=getWhite(W1),W2=getWhite(W2),!W1||!W2)throw new TypeError("Missing white point to convert ".concat(W1?"":"from").concat(W1||W2?"":"/").concat(W2?"":"to"));if(W1===W2)return XYZ;var env={W1,W2,XYZ,options};if(hooks.run("chromatic-adaptation-start",env),env.M||(env.W1===WHITES.D65&&env.W2===WHITES.D50?env.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:env.W1===WHITES.D50&&env.W2===WHITES.D65&&(env.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),hooks.run("chromatic-adaptation-end",env),env.M)return multiplyMatrices(env.M,env.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var _ColorSpace=(_processFormat=new WeakSet,_path=new WeakMap,_getPath=new WeakSet,function(){function _ColorSpace(options){var _options$coords,_ref39,_options$white,_options$formats,_this$formats$functio,_this$formats,_this$formats2;_classCallCheck(this,_ColorSpace),_classPrivateMethodInitSpec(this,_getPath),_classPrivateMethodInitSpec(this,_processFormat),_classPrivateFieldInitSpec(this,_path,{writable:!0,value:void 0}),this.id=options.id,this.name=options.name,this.base=options.base?_ColorSpace.get(options.base):null,this.aliases=options.aliases,this.base&&(this.fromBase=options.fromBase,this.toBase=options.toBase);var _coords=null!==(_options$coords=options.coords)&&void 0!==_options$coords?_options$coords:this.base.coords;this.coords=_coords;var white2=null!==(_ref39=null!==(_options$white=options.white)&&void 0!==_options$white?_options$white:this.base.white)&&void 0!==_ref39?_ref39:"D65";for(var name in this.white=getWhite(white2),this.formats=null!==(_options$formats=options.formats)&&void 0!==_options$formats?_options$formats:{},this.formats){var format=this.formats[name];format.type||(format.type="function"),format.name||(format.name=name)}!options.cssId||null!==(_this$formats$functio=this.formats.functions)&&void 0!==_this$formats$functio&&_this$formats$functio.color?null===(_this$formats=this.formats)||void 0===_this$formats||!_this$formats.color||null!==(_this$formats2=this.formats)&&void 0!==_this$formats2&&_this$formats2.color.id||(this.formats.color.id=this.id):(this.formats.color={id:options.cssId},Object.defineProperty(this,"cssId",{value:options.cssId})),this.referred=options.referred,_classPrivateFieldSet(this,_path,_classPrivateMethodGet(this,_getPath,_getPath2).call(this).reverse()),hooks.run("colorspace-init-end",this)}return _createClass(_ColorSpace,[{key:"inGamut",value:function inGamut(coords){var _ref40$epsilon=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,epsilon=void 0===_ref40$epsilon?75e-6:_ref40$epsilon;if(this.isPolar)return coords=this.toBase(coords),this.base.inGamut(coords,{epsilon});var coordMeta=Object.values(this.coords);return coords.every((function(c4,i){var meta=coordMeta[i];if("angle"!==meta.type&&meta.range){if(Number.isNaN(c4))return!0;var _meta$range=_slicedToArray(meta.range,2),min=_meta$range[0],max2=_meta$range[1];return(void 0===min||c4>=min-epsilon)&&(void 0===max2||c4<=max2+epsilon)}return!0}))}},{key:"cssId",get:function get(){var _this$formats$functio2,_this$formats$functio3;return(null===(_this$formats$functio2=this.formats.functions)||void 0===_this$formats$functio2||null===(_this$formats$functio3=_this$formats$functio2.color)||void 0===_this$formats$functio3?void 0:_this$formats$functio3.id)||this.id}},{key:"isPolar",get:function get(){for(var id in this.coords)if("angle"===this.coords[id].type)return!0;return!1}},{key:"getFormat",value:function getFormat(format){return"object"===_typeof(format)?format=_classPrivateMethodGet(this,_processFormat,_processFormat2).call(this,format):(ret="default"===format?Object.values(this.formats)[0]:this.formats[format])?ret=_classPrivateMethodGet(this,_processFormat,_processFormat2).call(this,ret):null;var ret}},{key:"to",value:function to(space,coords){if(1===arguments.length){var _ref41=[space.space,space.coords];space=_ref41[0],coords=_ref41[1]}if(this===(space=_ColorSpace.get(space)))return coords;coords=coords.map((function(c4){return Number.isNaN(c4)?0:c4}));for(var connectionSpace,connectionSpaceIndex,myPath=_classPrivateFieldGet(this,_path),otherPath=_classPrivateFieldGet(space,_path),_i12=0;_i12connectionSpaceIndex;_i13--)coords=myPath[_i13].toBase(coords);for(var _i14=connectionSpaceIndex+1;_i141?_len2-1:0),_key2=1;_key2<_len2;_key2++)alternatives[_key2-1]=arguments[_key2];if(alternatives.length)return _ColorSpace.get.apply(_ColorSpace,alternatives);throw new TypeError("".concat(space," is not a valid color space"))}},{key:"resolveCoord",value:function resolveCoord(ref,workingSpace){var space,coord,coordType=type(ref);if("string"===coordType)if(ref.includes(".")){var _ref$split2=_slicedToArray(ref.split("."),2);space=_ref$split2[0],coord=_ref$split2[1]}else space=void 0,coord=ref;else if(Array.isArray(ref)){var _ref43=_slicedToArray(ref,2);space=_ref43[0],coord=_ref43[1]}else space=ref.space,coord=ref.coordId;if((space=_ColorSpace.get(space))||(space=workingSpace),!space)throw new TypeError("Cannot resolve coordinate reference ".concat(ref,": No color space specified and relative references are not allowed here"));if("number"===(coordType=type(coord))||"string"===coordType&&coord>=0){var meta=Object.entries(space.coords)[coord];if(meta)return _extends({space,id:meta[0],index:coord},meta[1])}space=_ColorSpace.get(space);var normalizedCoord=coord.toLowerCase(),i=0;for(var id in space.coords){var _meta$name,_meta=space.coords[id];if(id.toLowerCase()===normalizedCoord||(null===(_meta$name=_meta.name)||void 0===_meta$name?void 0:_meta$name.toLowerCase())===normalizedCoord)return _extends({space,id,index:i},_meta);i++}throw new TypeError('No "'.concat(coord,'" coordinate found in ').concat(space.name,". Its coordinates are: ").concat(Object.keys(space.coords).join(", ")))}}]),_ColorSpace}());function _processFormat2(format){if(format.coords&&!format.coordGrammar){format.type||(format.type="function"),format.name||(format.name="color"),format.coordGrammar=parseCoordGrammar(format.coords);var coordFormats=Object.entries(this.coords).map((function(_ref151,i){var _ref152=_slicedToArray(_ref151,2),coordMeta=(_ref152[0],_ref152[1]),outputType=format.coordGrammar[i][0],fromRange=coordMeta.range||coordMeta.refRange,toRange=outputType.range,suffix="";return""==outputType?(toRange=[0,100],suffix="%"):""==outputType&&(suffix="deg"),{fromRange,toRange,suffix}}));format.serializeCoords=function(coords,precision){return coords.map((function(c4,i){var _coordFormats$i=coordFormats[i],fromRange=_coordFormats$i.fromRange,toRange=_coordFormats$i.toRange,suffix=_coordFormats$i.suffix;return fromRange&&toRange&&(c4=mapRange(fromRange,toRange,c4)),c4=toPrecision(c4,precision),suffix&&(c4+=suffix),c4}))}}return format}function _getPath2(){for(var ret=[this],_space2=this;_space2=_space2.base;)ret.push(_space2);return ret}var ColorSpace=_ColorSpace;__publicField(ColorSpace,"registry",{}),__publicField(ColorSpace,"DEFAULT_FORMAT",{type:"functions",name:"color"});var XYZ_D65=new ColorSpace({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),RGBColorSpace=function(_ColorSpace2){_inherits(RGBColorSpace,_ColorSpace2);var _super=_createSuper(RGBColorSpace);function RGBColorSpace(options){var _options$referred,_this,_options$toBase,_options$fromBase;(_classCallCheck(this,RGBColorSpace),options.coords||(options.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),options.base||(options.base=XYZ_D65),options.toXYZ_M&&options.fromXYZ_M)&&(null!==(_options$toBase=options.toBase)&&void 0!==_options$toBase||(options.toBase=function(rgb){var xyz=multiplyMatrices(options.toXYZ_M,rgb);return _this.white!==_this.base.white&&(xyz=adapt$1(_this.white,_this.base.white,xyz)),xyz}),null!==(_options$fromBase=options.fromBase)&&void 0!==_options$fromBase||(options.fromBase=function(xyz){return xyz=adapt$1(_this.base.white,_this.white,xyz),multiplyMatrices(options.fromXYZ_M,xyz)}));return null!==(_options$referred=options.referred)&&void 0!==_options$referred||(options.referred="display"),_this=_super.call(this,options)}return _createClass(RGBColorSpace)}(ColorSpace);function parse2(str){var _String,env={str:null===(_String=String(str))||void 0===_String?void 0:_String.trim()};if(hooks.run("parse-start",env),env.color)return env.color;if(env.parsed=parseFunction(env.str),env.parsed){var _ret2=function(){var name=env.parsed.name;if("color"===name){var _step8,id=env.parsed.args.shift(),alpha=env.parsed.rawArgs.indexOf("/")>0?env.parsed.args.pop():1,_iterator8=_createForOfIteratorHelper(ColorSpace.all);try{for(_iterator8.s();!(_step8=_iterator8.n()).done;){var _colorSpec$ids,space=_step8.value,colorSpec=space.getFormat("color");if(colorSpec)if(id===colorSpec.id||null!==(_colorSpec$ids=colorSpec.ids)&&void 0!==_colorSpec$ids&&_colorSpec$ids.includes(id)){var _ret3=function(){var argCount=Object.keys(space.coords).length,coords=Array(argCount).fill(0);return coords.forEach((function(_,i){return coords[i]=env.parsed.args[i]||0})),{v:{v:{spaceId:space.id,coords,alpha}}}}();if("object"===_typeof(_ret3))return _ret3.v}}}catch(err){_iterator8.e(err)}finally{_iterator8.f()}var didYouMean="";if(id in ColorSpace.registry){var _ColorSpace$registry$,_ColorSpace$registry$2,_ColorSpace$registry$3,cssId=null===(_ColorSpace$registry$=ColorSpace.registry[id].formats)||void 0===_ColorSpace$registry$||null===(_ColorSpace$registry$2=_ColorSpace$registry$.functions)||void 0===_ColorSpace$registry$2||null===(_ColorSpace$registry$3=_ColorSpace$registry$2.color)||void 0===_ColorSpace$registry$3?void 0:_ColorSpace$registry$3.id;cssId&&(didYouMean="Did you mean color(".concat(cssId,")?"))}throw new TypeError("Cannot parse color(".concat(id,"). ")+(didYouMean||"Missing a plugin?"))}var _step9,_iterator9=_createForOfIteratorHelper(ColorSpace.all);try{var _loop5=function _loop5(){var space=_step9.value,format=space.getFormat(name);if(format&&"function"===format.type){var _alpha=1;(format.lastAlpha||last(env.parsed.args).alpha)&&(_alpha=env.parsed.args.pop());var coords=env.parsed.args;return format.coordGrammar&&Object.entries(space.coords).forEach((function(_ref44,i){var _coords$i,_ref45=_slicedToArray(_ref44,2),id=_ref45[0],coordMeta=_ref45[1],coordGrammar2=format.coordGrammar[i],providedType=null===(_coords$i=coords[i])||void 0===_coords$i?void 0:_coords$i.type;if(!(coordGrammar2=coordGrammar2.find((function(c4){return c4==providedType})))){var coordName=coordMeta.name||id;throw new TypeError("".concat(providedType," not allowed for ").concat(coordName," in ").concat(name,"()"))}var fromRange=coordGrammar2.range;""===providedType&&(fromRange||(fromRange=[0,1]));var toRange=coordMeta.range||coordMeta.refRange;fromRange&&toRange&&(coords[i]=mapRange(fromRange,toRange,coords[i]))})),{v:{v:{spaceId:space.id,coords,alpha:_alpha}}}}};for(_iterator9.s();!(_step9=_iterator9.n()).done;){var _ret4=_loop5();if("object"===_typeof(_ret4))return _ret4.v}}catch(err){_iterator9.e(err)}finally{_iterator9.f()}}();if("object"===_typeof(_ret2))return _ret2.v}else{var _step10,_iterator10=_createForOfIteratorHelper(ColorSpace.all);try{for(_iterator10.s();!(_step10=_iterator10.n()).done;){var space=_step10.value;for(var formatId in space.formats){var format=space.formats[formatId];if("custom"===format.type&&(!format.test||format.test(env.str))){var _color$alpha,color=format.parse(env.str);if(color)return null!==(_color$alpha=color.alpha)&&void 0!==_color$alpha||(color.alpha=1),color}}}}catch(err){_iterator10.e(err)}finally{_iterator10.f()}}throw new TypeError("Could not parse ".concat(str," as a color. Missing a plugin?"))}function getColor(color){if(!color)throw new TypeError("Empty color reference");isString(color)&&(color=parse2(color));var space=color.space||color.spaceId;return space instanceof ColorSpace||(color.space=ColorSpace.get(space)),void 0===color.alpha&&(color.alpha=1),color}function getAll(color,space){return(space=ColorSpace.get(space)).from(color)}function get(color,prop){var _ColorSpace$resolveCo=ColorSpace.resolveCoord(prop,color.space),space=_ColorSpace$resolveCo.space,index=_ColorSpace$resolveCo.index;return getAll(color,space)[index]}function setAll(color,space,coords){return space=ColorSpace.get(space),color.coords=space.to(color.space,coords),color}function set(color,prop,value){if(color=getColor(color),2===arguments.length&&"object"===type(arguments[1])){var object=arguments[1];for(var p2 in object)set(color,p2,object[p2])}else{"function"==typeof value&&(value=value(get(color,prop)));var _ColorSpace$resolveCo2=ColorSpace.resolveCoord(prop,color.space),space=_ColorSpace$resolveCo2.space,index=_ColorSpace$resolveCo2.index,coords=getAll(color,space);coords[index]=value,setAll(color,space,coords)}return color}var XYZ_D50=new ColorSpace({id:"xyz-d50",name:"XYZ D50",white:"D50",base:XYZ_D65,fromBase:function fromBase(coords){return adapt$1(XYZ_D65.white,"D50",coords)},toBase:function toBase(coords){return adapt$1("D50",XYZ_D65.white,coords)},formats:{color:{}}}),ε$3=216/24389,ε3$1=24/116,κ$1=24389/27,white$1=WHITES.D50,lab=new ColorSpace({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:white$1,base:XYZ_D50,fromBase:function fromBase(XYZ){var xyz=XYZ.map((function(value,i){return value/white$1[i]})),f=xyz.map((function(value){return value>ε$3?Math.cbrt(value):(κ$1*value+16)/116}));return[116*f[1]-16,500*(f[0]-f[1]),200*(f[1]-f[2])]},toBase:function toBase(Lab){var f=[];return f[1]=(Lab[0]+16)/116,f[0]=Lab[1]/500+f[1],f[2]=f[1]-Lab[2]/200,[f[0]>ε3$1?Math.pow(f[0],3):(116*f[0]-16)/κ$1,Lab[0]>8?Math.pow((Lab[0]+16)/116,3):Lab[0]/κ$1,f[2]>ε3$1?Math.pow(f[2],3):(116*f[2]-16)/κ$1].map((function(value,i){return value*white$1[i]}))},formats:{lab:{coords:[" | ","",""]}}});function constrain(angle){return(angle%360+360)%360}var lch=new ColorSpace({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:lab,fromBase:function fromBase(Lab){var hue,_Lab=_slicedToArray(Lab,3),L=_Lab[0],a2=_Lab[1],b2=_Lab[2];return hue=Math.abs(a2)<.02&&Math.abs(b2)<.02?NaN:180*Math.atan2(b2,a2)/Math.PI,[L,Math.sqrt(Math.pow(a2,2)+Math.pow(b2,2)),constrain(hue)]},toBase:function toBase(LCH){var _LCH=_slicedToArray(LCH,3),Lightness=_LCH[0],Chroma=_LCH[1],Hue=_LCH[2];return Chroma<0&&(Chroma=0),isNaN(Hue)&&(Hue=0),[Lightness,Chroma*Math.cos(Hue*Math.PI/180),Chroma*Math.sin(Hue*Math.PI/180)]},formats:{lch:{coords:[" | ",""," | "]}}}),Gfactor=Math.pow(25,7),π$1=Math.PI,r2d=180/π$1,d2r$1=π$1/180;function deltaE2000(color,sample){var _ref46=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref46$kL=_ref46.kL,kL=void 0===_ref46$kL?1:_ref46$kL,_ref46$kC=_ref46.kC,kC=void 0===_ref46$kC?1:_ref46$kC,_ref46$kH=_ref46.kH,kH=void 0===_ref46$kH?1:_ref46$kH,_lab$from2=_slicedToArray(lab.from(color),3),L1=_lab$from2[0],a1=_lab$from2[1],b1=_lab$from2[2],C1=lch.from(lab,[L1,a1,b1])[1],_lab$from4=_slicedToArray(lab.from(sample),3),L2=_lab$from4[0],a2=_lab$from4[1],b2=_lab$from4[2],C2=lch.from(lab,[L2,a2,b2])[1];C1<0&&(C1=0),C2<0&&(C2=0);var Cbar=(C1+C2)/2,C7=Math.pow(Cbar,7),G=.5*(1-Math.sqrt(C7/(C7+Gfactor))),adash1=(1+G)*a1,adash2=(1+G)*a2,Cdash1=Math.sqrt(Math.pow(adash1,2)+Math.pow(b1,2)),Cdash2=Math.sqrt(Math.pow(adash2,2)+Math.pow(b2,2)),h1=0===adash1&&0===b1?0:Math.atan2(b1,adash1),h2=0===adash2&&0===b2?0:Math.atan2(b2,adash2);h1<0&&(h1+=2*π$1),h2<0&&(h2+=2*π$1);var Δh,ΔL=L2-L1,ΔC=Cdash2-Cdash1,hdiff=(h2*=r2d)-(h1*=r2d),hsum=h1+h2,habs=Math.abs(hdiff);Cdash1*Cdash2==0?Δh=0:habs<=180?Δh=hdiff:hdiff>180?Δh=hdiff-360:hdiff<-180?Δh=hdiff+360:console.log("the unthinkable has happened");var hdash,ΔH=2*Math.sqrt(Cdash2*Cdash1)*Math.sin(Δh*d2r$1/2),Ldash=(L1+L2)/2,Cdash=(Cdash1+Cdash2)/2,Cdash7=Math.pow(Cdash,7);hdash=Cdash1*Cdash2==0?hsum:habs<=180?hsum/2:hsum<360?(hsum+360)/2:(hsum-360)/2;var lsq=Math.pow(Ldash-50,2),SL=1+.015*lsq/Math.sqrt(20+lsq),SC=1+.045*Cdash,T=1;T-=.17*Math.cos((hdash-30)*d2r$1),T+=.24*Math.cos(2*hdash*d2r$1),T+=.32*Math.cos((3*hdash+6)*d2r$1);var SH=1+.015*Cdash*(T-=.2*Math.cos((4*hdash-63)*d2r$1)),Δθ=30*Math.exp(-1*Math.pow((hdash-275)/25,2)),RC=2*Math.sqrt(Cdash7/(Cdash7+Gfactor)),RT=-1*Math.sin(2*Δθ*d2r$1)*RC,dE=Math.pow(ΔL/(kL*SL),2);return dE+=Math.pow(ΔC/(kC*SC),2),dE+=Math.pow(ΔH/(kH*SH),2),dE+=RT*(ΔC/(kC*SC))*(ΔH/(kH*SH)),Math.sqrt(dE)}function inGamut(color){var space=arguments.length>1&&void 0!==arguments[1]?arguments[1]:color.space,_ref47$epsilon=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,epsilon=void 0===_ref47$epsilon?75e-6:_ref47$epsilon;color=getColor(color),space=ColorSpace.get(space);var coords=color.coords;return space!==color.space&&(coords=space.from(color)),space.inGamut(coords,{epsilon})}function clone2(color){return{space:color.space,coords:color.coords.slice(),alpha:color.alpha}}function toGamut(color){var _ref48=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref48$method=_ref48.method,method=void 0===_ref48$method?defaults.gamut_mapping:_ref48$method,_ref48$space=_ref48.space,space=void 0===_ref48$space?color.space:_ref48$space;if(isString(arguments[1])&&(space=arguments[1]),inGamut(color,space=ColorSpace.get(space),{epsilon:0}))return color;var spaceColor=to(color,space);if("clip"!==method&&!inGamut(color,space)){var clipped=toGamut(clone2(spaceColor),{method:"clip",space});if(deltaE2000(color,clipped)>2){for(var coordMeta=ColorSpace.resolveCoord(method),mapSpace=coordMeta.space,coordId=coordMeta.id,mappedColor=to(spaceColor,mapSpace),low=(coordMeta.range||coordMeta.refRange)[0],high=get(mappedColor,coordId);high-low>.01;){var clipped2=clone2(mappedColor);deltaE2000(mappedColor,clipped2=toGamut(clipped2,{space,method:"clip"}))-2<.01?low=get(mappedColor,coordId):high=get(mappedColor,coordId),set(mappedColor,coordId,(low+high)/2)}spaceColor=to(mappedColor,space)}else spaceColor=clipped}if("clip"===method||!inGamut(spaceColor,space,{epsilon:0})){var _bounds=Object.values(space.coords).map((function(c4){return c4.range||[]}));spaceColor.coords=spaceColor.coords.map((function(c4,i){var _bounds$i=_slicedToArray(_bounds[i],2),min=_bounds$i[0],max2=_bounds$i[1];return void 0!==min&&(c4=Math.max(min,c4)),void 0!==max2&&(c4=Math.min(c4,max2)),c4}))}return space!==color.space&&(spaceColor=to(spaceColor,color.space)),color.coords=spaceColor.coords,color}function to(color,space){var inGamut2=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;color=getColor(color);var coords=(space=ColorSpace.get(space)).from(color),ret={space,coords,alpha:color.alpha};return inGamut2&&(ret=toGamut(ret)),ret}function serialize(color){var _ref51,_color$space$getForma,ret,_ref50=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref50$precision=_ref50.precision,precision=void 0===_ref50$precision?defaults.precision:_ref50$precision,_ref50$format=_ref50.format,format=void 0===_ref50$format?"default":_ref50$format,_ref50$inGamut=_ref50.inGamut,inGamut$1=void 0===_ref50$inGamut||_ref50$inGamut,customOptions=_objectWithoutProperties(_ref50,_excluded9),formatId=format;format=null!==(_ref51=null!==(_color$space$getForma=(color=getColor(color)).space.getFormat(format))&&void 0!==_color$space$getForma?_color$space$getForma:color.space.getFormat("default"))&&void 0!==_ref51?_ref51:ColorSpace.DEFAULT_FORMAT,inGamut$1||(inGamut$1=format.toGamut);var coords=color.coords;if(coords=coords.map((function(c4){return c4||0})),inGamut$1&&!inGamut(color)&&(coords=toGamut(clone2(color),!0===inGamut$1?void 0:inGamut$1).coords),"custom"===format.type){if(customOptions.precision=precision,!format.serialize)throw new TypeError("format ".concat(formatId," can only be used to parse colors, not for serialization"));ret=format.serialize(coords,color.alpha,customOptions)}else{var name=format.name||"color";format.serializeCoords?coords=format.serializeCoords(coords,precision):null!==precision&&(coords=coords.map((function(c4){return toPrecision(c4,precision)})));var args=_toConsumableArray(coords);if("color"===name){var _format$ids,cssId=format.id||(null===(_format$ids=format.ids)||void 0===_format$ids?void 0:_format$ids[0])||color.space.id;args.unshift(cssId)}var alpha=color.alpha;null!==precision&&(alpha=toPrecision(alpha,precision));var strAlpha=color.alpha<1&&!format.noAlpha?"".concat(format.commas?",":" /"," ").concat(alpha):"";ret="".concat(name,"(").concat(args.join(format.commas?", ":" ")).concat(strAlpha,")")}return ret}toGamut.returns="color",to.returns="color";var REC2020Linear=new RGBColorSpace({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),α=1.09929682680944,β=.018053968510807,REC2020=new RGBColorSpace({id:"rec2020",name:"REC.2020",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return val<4.5*β?val/4.5:Math.pow((val+α-1)/α,1/.45)}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return val>=β?α*Math.pow(val,.45)-(α-1):4.5*val}))},formats:{color:{}}}),P3Linear=new RGBColorSpace({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),sRGBLinear=new RGBColorSpace({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),KEYWORDS={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},coordGrammar=Array(3).fill(" | [0, 255]"),coordGrammarNumber=Array(3).fill("[0, 255]"),sRGB=new RGBColorSpace({id:"srgb",name:"sRGB",base:sRGBLinear,fromBase:function fromBase(rgb){return rgb.map((function(val){var sign=val<0?-1:1,abs=val*sign;return abs>.0031308?sign*(1.055*Math.pow(abs,1/2.4)-.055):12.92*val}))},toBase:function toBase(rgb){return rgb.map((function(val){var sign=val<0?-1:1,abs=val*sign;return abs<.04045?val/12.92:sign*Math.pow((abs+.055)/1.055,2.4)}))},formats:{rgb:{coords:coordGrammar},rgb_number:{name:"rgb",commas:!0,coords:coordGrammarNumber,noAlpha:!0},color:{},rgba:{coords:coordGrammar,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:coordGrammarNumber},hex:{type:"custom",toGamut:!0,test:function test(str){return/^#([a-f0-9]{3,4}){1,2}$/i.test(str)},parse:function parse(str){str.length<=5&&(str=str.replace(/[a-f0-9]/gi,"$&$&"));var rgba=[];return str.replace(/[a-f0-9]{2}/gi,(function(component){rgba.push(parseInt(component,16)/255)})),{spaceId:"srgb",coords:rgba.slice(0,3),alpha:rgba.slice(3)[0]}},serialize:function serialize(coords,alpha){var _ref52$collapse=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,collapse=void 0===_ref52$collapse||_ref52$collapse;alpha<1&&coords.push(alpha),coords=coords.map((function(c4){return Math.round(255*c4)}));var collapsible=collapse&&coords.every((function(c4){return c4%17==0}));return"#"+coords.map((function(c4){return collapsible?(c4/17).toString(16):c4.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function test(str){return/^[a-z]+$/i.test(str)},parse:function parse(str){var ret={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(str=str.toLowerCase())?(ret.coords=KEYWORDS.black,ret.alpha=0):ret.coords=KEYWORDS[str],ret.coords)return ret}}}}),P3=new RGBColorSpace({id:"p3",name:"P3",base:P3Linear,fromBase:sRGB.fromBase,toBase:sRGB.toBase,formats:{color:{id:"display-p3"}}});if(defaults.display_space=sRGB,"undefined"!=typeof CSS&&CSS.supports)for(var _i15=0,_arr3=[lab,REC2020,P3];_i15<_arr3.length;_i15++){var space=_arr3[_i15],coords=space.getMinCoords(),str=serialize({space,coords,alpha:1});if(CSS.supports("color",str)){defaults.display_space=space;break}}function _display(color){var _ref53=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_ref53$space=_ref53.space,space=void 0===_ref53$space?defaults.display_space:_ref53$space,options=_objectWithoutProperties(_ref53,_excluded10),ret=serialize(color,options);if("undefined"==typeof CSS||CSS.supports("color",ret)||!defaults.display_space)(ret=new String(ret)).color=color;else{var fallbackColor=to(color,space);(ret=new String(serialize(fallbackColor,options))).color=fallbackColor}return ret}function distance(color1,color2){var space=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",coords1=(space=ColorSpace.get(space)).from(color1),coords2=space.from(color2);return Math.sqrt(coords1.reduce((function(acc,c12,i){var c22=coords2[i];return isNaN(c12)||isNaN(c22)?acc:acc+Math.pow(c22-c12,2)}),0))}function getLuminance(color){return get(color,[XYZ_D65,"y"])}function setLuminance(color,value){set(color,[XYZ_D65,"y"],value)}var luminance=Object.freeze({__proto__:null,getLuminance,setLuminance,register:function register$2(Color3){Object.defineProperty(Color3.prototype,"luminance",{get:function get(){return getLuminance(this)},set:function set(value){setLuminance(this,value)}})}});function fclamp(Y){return Y>=.022?Y:Y+Math.pow(.022-Y,1.414)}function linearize(val){var sign=val<0?-1:1,abs=Math.abs(val);return sign*Math.pow(abs,2.4)}var ε$1=216/24389,ε3=24/116,κ=24389/27,white=WHITES.D65,lab_d65=new ColorSpace({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white,base:XYZ_D65,fromBase:function fromBase(XYZ){var xyz=XYZ.map((function(value,i){return value/white[i]})),f=xyz.map((function(value){return value>ε$1?Math.cbrt(value):(κ*value+16)/116}));return[116*f[1]-16,500*(f[0]-f[1]),200*(f[1]-f[2])]},toBase:function toBase(Lab){var f=[];return f[1]=(Lab[0]+16)/116,f[0]=Lab[1]/500+f[1],f[2]=f[1]-Lab[2]/200,[f[0]>ε3?Math.pow(f[0],3):(116*f[0]-16)/κ,Lab[0]>8?Math.pow((Lab[0]+16)/116,3):Lab[0]/κ,f[2]>ε3?Math.pow(f[2],3):(116*f[2]-16)/κ].map((function(value,i){return value*white[i]}))},formats:{"lab-d65":{coords:[" | ","",""]}}}),phi=.5*Math.pow(5,.5)+.5;var contrastMethods=Object.freeze({__proto__:null,contrastWCAG21:function contrastWCAG21(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref54=[Y2,Y1];Y1=_ref54[0],Y2=_ref54[1]}return(Y1+.05)/(Y2+.05)},contrastAPCA:function contrastAPCA(background,foreground){var C,R,G,B;foreground=getColor(foreground),background=getColor(background);var _foreground$coords=_slicedToArray((foreground=to(foreground,"srgb")).coords,3);R=_foreground$coords[0],G=_foreground$coords[1],B=_foreground$coords[2];var lumTxt=.2126729*linearize(R)+.7151522*linearize(G)+.072175*linearize(B),_background$coords=_slicedToArray((background=to(background,"srgb")).coords,3);R=_background$coords[0],G=_background$coords[1],B=_background$coords[2];var lumBg=.2126729*linearize(R)+.7151522*linearize(G)+.072175*linearize(B),Ytxt=fclamp(lumTxt),Ybg=fclamp(lumBg),BoW=Ybg>Ytxt;return C=Math.abs(Ybg-Ytxt)<5e-4?0:BoW?1.14*(Math.pow(Ybg,.56)-Math.pow(Ytxt,.57)):1.14*(Math.pow(Ybg,.65)-Math.pow(Ytxt,.62)),100*(Math.abs(C)<.1?0:C>0?C-.027:C+.027)},contrastMichelson:function contrastMichelson(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref55=[Y2,Y1];Y1=_ref55[0],Y2=_ref55[1]}var denom=Y1+Y2;return 0===denom?0:(Y1-Y2)/denom},contrastWeber:function contrastWeber(color1,color2){color1=getColor(color1),color2=getColor(color2);var Y1=Math.max(getLuminance(color1),0),Y2=Math.max(getLuminance(color2),0);if(Y2>Y1){var _ref56=[Y2,Y1];Y1=_ref56[0],Y2=_ref56[1]}return 0===Y2?5e4:(Y1-Y2)/Y2},contrastLstar:function contrastLstar(color1,color2){color1=getColor(color1),color2=getColor(color2);var L1=get(color1,[lab,"l"]),L2=get(color2,[lab,"l"]);return Math.abs(L1-L2)},contrastDeltaPhi:function contrastDeltaPhi(color1,color2){color1=getColor(color1),color2=getColor(color2);var Lstr1=get(color1,[lab_d65,"l"]),Lstr2=get(color2,[lab_d65,"l"]),deltaPhiStar=Math.abs(Math.pow(Lstr1,phi)-Math.pow(Lstr2,phi)),contrast2=Math.pow(deltaPhiStar,1/phi)*Math.SQRT2-40;return contrast2<7.5?0:contrast2}});function uv(color){var _getAll2=_slicedToArray(getAll(color,XYZ_D65),3),X=_getAll2[0],Y=_getAll2[1],denom=X+15*Y+3*_getAll2[2];return[4*X/denom,9*Y/denom]}function xy(color){var _getAll4=_slicedToArray(getAll(color,XYZ_D65),3),X=_getAll4[0],Y=_getAll4[1],sum=X+Y+_getAll4[2];return[X/sum,Y/sum]}var chromaticity=Object.freeze({__proto__:null,uv,xy,register:function register$1(Color3){Object.defineProperty(Color3.prototype,"uv",{get:function get(){return uv(this)}}),Object.defineProperty(Color3.prototype,"xy",{get:function get(){return xy(this)}})}});var d2r=Math.PI/180;var XYZ_Abs_D65=new ColorSpace({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:XYZ_D65,fromBase:function fromBase(XYZ){return XYZ.map((function(v){return Math.max(203*v,0)}))},toBase:function toBase(AbsXYZ){return AbsXYZ.map((function(v){return Math.max(v/203,0)}))}}),g=.66,n$1=2610/Math.pow(2,14),ninv$1=Math.pow(2,14)/2610,c1$2=3424/Math.pow(2,12),c2$2=2413/Math.pow(2,7),c3$2=2392/Math.pow(2,7),p=1.7*2523/Math.pow(2,5),pinv=Math.pow(2,5)/(1.7*2523),d=-.56,d0=16295499532821565e-27,XYZtoCone_M=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],ConetoXYZ_M=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ConetoIab_M=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],IabtoCone_M=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Jzazbz=new ColorSpace({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:XYZ_Abs_D65,fromBase:function fromBase(XYZ){var _XYZ=_slicedToArray(XYZ,3),Xa=_XYZ[0],Ya=_XYZ[1],Za=_XYZ[2],PQLMS=multiplyMatrices(XYZtoCone_M,[1.15*Xa-(1.15-1)*Za,g*Ya-(g-1)*Xa,Za]).map((function(val){var num=c1$2+c2$2*Math.pow(val/1e4,n$1),denom=1+c3$2*Math.pow(val/1e4,n$1);return Math.pow(num/denom,p)})),_multiplyMatrices2=_slicedToArray(multiplyMatrices(ConetoIab_M,PQLMS),3),Iz=_multiplyMatrices2[0],az=_multiplyMatrices2[1],bz=_multiplyMatrices2[2];return[(1+d)*Iz/(1+d*Iz)-d0,az,bz]},toBase:function toBase(Jzazbz2){var _Jzazbz=_slicedToArray(Jzazbz2,3),Jz=_Jzazbz[0],az=_Jzazbz[1],bz=_Jzazbz[2],LMS=multiplyMatrices(IabtoCone_M,[(Jz+d0)/(1+d-d*(Jz+d0)),az,bz]).map((function(val){var num=c1$2-Math.pow(val,pinv),denom=c3$2*Math.pow(val,pinv)-c2$2;return 1e4*Math.pow(num/denom,ninv$1)})),_multiplyMatrices4=_slicedToArray(multiplyMatrices(ConetoXYZ_M,LMS),3),Xm=_multiplyMatrices4[0],Ym=_multiplyMatrices4[1],Za=_multiplyMatrices4[2],Xa=(Xm+(1.15-1)*Za)/1.15;return[Xa,(Ym+(g-1)*Xa)/g,Za]},formats:{color:{}}}),jzczhz=new ColorSpace({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Jzazbz,fromBase:function fromBase(jzazbz){var hue,_jzazbz=_slicedToArray(jzazbz,3),Jz=_jzazbz[0],az=_jzazbz[1],bz=_jzazbz[2];return hue=Math.abs(az)<2e-4&&Math.abs(bz)<2e-4?NaN:180*Math.atan2(bz,az)/Math.PI,[Jz,Math.sqrt(Math.pow(az,2)+Math.pow(bz,2)),constrain(hue)]},toBase:function toBase(jzczhz2){return[jzczhz2[0],jzczhz2[1]*Math.cos(jzczhz2[2]*Math.PI/180),jzczhz2[1]*Math.sin(jzczhz2[2]*Math.PI/180)]},formats:{color:{}}});var c1$1=.8359375,c2$1=2413/128,m1=2610/16384,m2=2523/32,im1=16384/2610,im2=32/2523,XYZtoLMS_M$1=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],LMStoIPT_M=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],IPTtoLMS_M=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],LMStoXYZ_M$1=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],ictcp=new ColorSpace({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:XYZ_Abs_D65,fromBase:function fromBase(XYZ){return function LMStoICtCp(LMS){var PQLMS=LMS.map((function(val){var num=.8359375+c2$1*Math.pow(val/1e4,m1),denom=1+18.6875*Math.pow(val/1e4,m1);return Math.pow(num/denom,m2)}));return multiplyMatrices(LMStoIPT_M,PQLMS)}(multiplyMatrices(XYZtoLMS_M$1,XYZ))},toBase:function toBase(ICtCp){var LMS=function ICtCptoLMS(ICtCp){var PQLMS=multiplyMatrices(IPTtoLMS_M,ICtCp),LMS=PQLMS.map((function(val){var num=Math.max(Math.pow(val,im2)-c1$1,0),denom=c2$1-18.6875*Math.pow(val,im2);return 1e4*Math.pow(num/denom,im1)}));return LMS}(ICtCp);return multiplyMatrices(LMStoXYZ_M$1,LMS)},formats:{color:{}}});var XYZtoLMS_M=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],LMStoXYZ_M=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],LMStoLab_M=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],LabtoLMS_M=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],OKLab=new ColorSpace({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:XYZ_D65,fromBase:function fromBase(XYZ){var LMSg=multiplyMatrices(XYZtoLMS_M,XYZ).map((function(val){return Math.cbrt(val)}));return multiplyMatrices(LMStoLab_M,LMSg)},toBase:function toBase(OKLab2){var LMS=multiplyMatrices(LabtoLMS_M,OKLab2).map((function(val){return Math.pow(val,3)}));return multiplyMatrices(LMStoXYZ_M,LMS)},formats:{oklab:{coords:[" | ","",""]}}});var deltaEMethods=Object.freeze({__proto__:null,deltaE76:function deltaE76(color,sample){return distance(color,sample,"lab")},deltaECMC:function deltaECMC(color,sample){var _ref57=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},_ref57$l=_ref57.l,l=void 0===_ref57$l?2:_ref57$l,_ref57$c=_ref57.c,c4=void 0===_ref57$c?1:_ref57$c,_lab$from6=_slicedToArray(lab.from(color),3),L1=_lab$from6[0],a1=_lab$from6[1],b1=_lab$from6[2],_lch$from2=_slicedToArray(lch.from(lab,[L1,a1,b1]),3),C1=_lch$from2[1],H1=_lch$from2[2],_lab$from8=_slicedToArray(lab.from(sample),3),L2=_lab$from8[0],a2=_lab$from8[1],b2=_lab$from8[2],C2=lch.from(lab,[L2,a2,b2])[1];C1<0&&(C1=0),C2<0&&(C2=0);var ΔL=L1-L2,ΔC=C1-C2,Δa=a1-a2,Δb=b1-b2,H2=Math.pow(Δa,2)+Math.pow(Δb,2)-Math.pow(ΔC,2),SL=.511;L1>=16&&(SL=.040975*L1/(1+.01765*L1));var T,SC=.0638*C1/(1+.0131*C1)+.638;Number.isNaN(H1)&&(H1=0),T=H1>=164&&H1<=345?.56+Math.abs(.2*Math.cos((H1+168)*d2r)):.36+Math.abs(.4*Math.cos((H1+35)*d2r));var C4=Math.pow(C1,4),F=Math.sqrt(C4/(C4+1900)),SH=SC*(F*T+1-F),dE=Math.pow(ΔL/(l*SL),2);return dE+=Math.pow(ΔC/(c4*SC),2),dE+=H2/Math.pow(SH,2),Math.sqrt(dE)},deltaE2000,deltaEJz:function deltaEJz(color,sample){var _jzczhz$from2=_slicedToArray(jzczhz.from(color),3),Jz1=_jzczhz$from2[0],Cz1=_jzczhz$from2[1],Hz1=_jzczhz$from2[2],_jzczhz$from4=_slicedToArray(jzczhz.from(sample),3),Jz2=_jzczhz$from4[0],Cz2=_jzczhz$from4[1],Hz2=_jzczhz$from4[2],ΔJ=Jz1-Jz2,ΔC=Cz1-Cz2;Number.isNaN(Hz1)&&Number.isNaN(Hz2)?(Hz1=0,Hz2=0):Number.isNaN(Hz1)?Hz1=Hz2:Number.isNaN(Hz2)&&(Hz2=Hz1);var Δh=Hz1-Hz2,ΔH=2*Math.sqrt(Cz1*Cz2)*Math.sin(Δh/2*(Math.PI/180));return Math.sqrt(Math.pow(ΔJ,2)+Math.pow(ΔC,2)+Math.pow(ΔH,2))},deltaEITP:function deltaEITP(color,sample){var _ictcp$from2=_slicedToArray(ictcp.from(color),3),I1=_ictcp$from2[0],T1=_ictcp$from2[1],P1=_ictcp$from2[2],_ictcp$from4=_slicedToArray(ictcp.from(sample),3),I2=_ictcp$from4[0],T2=_ictcp$from4[1],P2=_ictcp$from4[2];return 720*Math.sqrt(Math.pow(I1-I2,2)+.25*Math.pow(T1-T2,2)+Math.pow(P1-P2,2))},deltaEOK:function deltaEOK(color,sample){var _OKLab$from2=_slicedToArray(OKLab.from(color),3),L1=_OKLab$from2[0],a1=_OKLab$from2[1],b1=_OKLab$from2[2],_OKLab$from4=_slicedToArray(OKLab.from(sample),3),ΔL=L1-_OKLab$from4[0],Δa=a1-_OKLab$from4[1],Δb=b1-_OKLab$from4[2];return Math.sqrt(Math.pow(ΔL,2)+Math.pow(Δa,2)+Math.pow(Δb,2))}});function deltaE(c12,c22){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};isString(o)&&(o={method:o});var _o2=o,_o2$method=_o2.method,method=void 0===_o2$method?defaults.deltaE:_o2$method,rest=_objectWithoutProperties(_o2,_excluded12);for(var m3 in c12=getColor(c12),c22=getColor(c22),deltaEMethods)if("deltae"+method.toLowerCase()===m3.toLowerCase())return deltaEMethods[m3](c12,c22,rest);throw new TypeError("Unknown deltaE method: ".concat(method))}var variations=Object.freeze({__proto__:null,lighten:function lighten(color){var amount=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return set(color,[ColorSpace.get("oklch","lch"),"l"],(function(l){return l*(1+amount)}))},darken:function darken(color){var amount=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return set(color,[ColorSpace.get("oklch","lch"),"l"],(function(l){return l*(1-amount)}))}});function mix(c12,c22){var p2=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},_ref58=[getColor(c12),getColor(c22)];if(c12=_ref58[0],c22=_ref58[1],"object"===type(p2)){var _ref59=[.5,p2];p2=_ref59[0],o=_ref59[1]}var _o3=o;return range(c12,c22,{space:_o3.space,outputSpace:_o3.outputSpace,premultiplied:_o3.premultiplied})(p2)}function steps(c12,c22){var colorRange,options=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(isRange(c12)){options=c22;var _colorRange$rangeArgs=_slicedToArray((colorRange=c12).rangeArgs.colors,2);c12=_colorRange$rangeArgs[0],c22=_colorRange$rangeArgs[1]}var _options=options,maxDeltaE=_options.maxDeltaE,deltaEMethod=_options.deltaEMethod,_options$steps=_options.steps,steps2=void 0===_options$steps?2:_options$steps,_options$maxSteps=_options.maxSteps,maxSteps=void 0===_options$maxSteps?1e3:_options$maxSteps,rangeOptions=_objectWithoutProperties(_options,_excluded13);if(!colorRange){var _ref60=[getColor(c12),getColor(c22)];colorRange=range(c12=_ref60[0],c22=_ref60[1],rangeOptions)}var totalDelta=deltaE(c12,c22),actualSteps=maxDeltaE>0?Math.max(steps2,Math.ceil(totalDelta/maxDeltaE)+1):steps2,ret=[];if(void 0!==maxSteps&&(actualSteps=Math.min(actualSteps,maxSteps)),1===actualSteps)ret=[{p:.5,color:colorRange(.5)}];else{var step=1/(actualSteps-1);ret=Array.from({length:actualSteps},(function(_,i){var p2=i*step;return{p:p2,color:colorRange(p2)}}))}if(maxDeltaE>0)for(var maxDelta=ret.reduce((function(acc,cur,i){if(0===i)return 0;var ΔΕ=deltaE(cur.color,ret[i-1].color,deltaEMethod);return Math.max(acc,ΔΕ)}),0);maxDelta>maxDeltaE;){maxDelta=0;for(var _i16=1;_i162&&void 0!==arguments[2]?arguments[2]:{};if(isRange(color1)){var r=color1,options2=color2;return range.apply(void 0,_toConsumableArray(r.rangeArgs.colors).concat([_extends({},r.rangeArgs.options,options2)]))}var space=options.space,outputSpace=options.outputSpace,progression=options.progression,premultiplied=options.premultiplied;color1=getColor(color1),color2=getColor(color2),color1=clone2(color1),color2=clone2(color2);var rangeArgs={colors:[color1,color2],options};if(space=space?ColorSpace.get(space):ColorSpace.registry[defaults.interpolationSpace]||color1.space,outputSpace=outputSpace?ColorSpace.get(outputSpace):space,color1=to(color1,space),color2=to(color2,space),color1=toGamut(color1),color2=toGamut(color2),space.coords.h&&"angle"===space.coords.h.type){var arc=options.hue=options.hue||"shorter",hue=[space,"h"],_ref61=[get(color1,hue),get(color2,hue)],θ1=_ref61[0],θ2=_ref61[1],_adjust=function adjust(arc,angles){if("raw"===arc)return angles;var _angles$map2=_slicedToArray(angles.map(constrain),2),a1=_angles$map2[0],a2=_angles$map2[1],angleDiff=a2-a1;return"increasing"===arc?angleDiff<0&&(a2+=360):"decreasing"===arc?angleDiff>0&&(a1+=360):"longer"===arc?-1800?a2+=360:a1+=360):"shorter"===arc&&(angleDiff>180?a1+=360:angleDiff<-180&&(a2+=360)),[a1,a2]}(arc,[θ1,θ2]),_adjust2=_slicedToArray(_adjust,2);θ1=_adjust2[0],θ2=_adjust2[1],set(color1,hue,θ1),set(color2,hue,θ2)}return premultiplied&&(color1.coords=color1.coords.map((function(c4){return c4*color1.alpha})),color2.coords=color2.coords.map((function(c4){return c4*color2.alpha}))),Object.assign((function(p2){p2=progression?progression(p2):p2;var coords=color1.coords.map((function(start,i){return interpolate(start,color2.coords[i],p2)})),alpha=interpolate(color1.alpha,color2.alpha,p2),ret={space,coords,alpha};return premultiplied&&(ret.coords=ret.coords.map((function(c4){return c4/alpha}))),outputSpace!==space&&(ret=to(ret,outputSpace)),ret}),{rangeArgs})}function isRange(val){return"function"===type(val)&&!!val.rangeArgs}defaults.interpolationSpace="lab";var interpolation=Object.freeze({__proto__:null,mix,steps,range,isRange,register:function register(Color3){Color3.defineFunction("mix",mix,{returns:"color"}),Color3.defineFunction("range",range,{returns:"function"}),Color3.defineFunction("steps",steps,{returns:"array"})}}),HSL=new ColorSpace({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:sRGB,fromBase:function fromBase(rgb){var max2=Math.max.apply(Math,_toConsumableArray(rgb)),min=Math.min.apply(Math,_toConsumableArray(rgb)),_rgb=_slicedToArray(rgb,3),r=_rgb[0],g2=_rgb[1],b2=_rgb[2],h=NaN,s=0,l=(min+max2)/2,d2=max2-min;if(0!==d2){switch(s=0===l||1===l?0:(max2-l)/Math.min(l,1-l),max2){case r:h=(g2-b2)/d2+(g2 | ","",""]},hsla:{coords:[" | ","",""],commas:!0,lastAlpha:!0}}}),HSV=new ColorSpace({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:HSL,fromBase:function fromBase(hsl){var _hsl2=_slicedToArray(hsl,3),h=_hsl2[0],s=_hsl2[1],l=_hsl2[2],v=(l/=100)+(s/=100)*Math.min(l,1-l);return[h,0===v?0:200*(1-l/v),100*v]},toBase:function toBase(hsv){var _hsv=_slicedToArray(hsv,3),h=_hsv[0],s=_hsv[1],v=_hsv[2],l=(v/=100)*(1-(s/=100)/2);return[h,0===l||1===l?0:(v-l)/Math.min(l,1-l)*100,100*l]},formats:{color:{toGamut:!0}}}),hwb=new ColorSpace({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:HSV,fromBase:function fromBase(hsv){var _hsv2=_slicedToArray(hsv,3),h=_hsv2[0],s=_hsv2[1],v=_hsv2[2];return[h,v*(100-s)/100,100-v]},toBase:function toBase(hwb2){var _hwb=_slicedToArray(hwb2,3),h=_hwb[0],w=_hwb[1],b2=_hwb[2],sum=(w/=100)+(b2/=100);if(sum>=1)return[h,0,100*(w/sum)];var v=1-b2;return[h,100*(0===v?0:1-w/v),100*v]},formats:{hwb:{toGamut:!0,coords:[" | ","",""]}}}),A98Linear=new RGBColorSpace({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),a98rgb=new RGBColorSpace({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:A98Linear,toBase:function toBase(RGB){return RGB.map((function(val){return Math.pow(Math.abs(val),563/256)*Math.sign(val)}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return Math.pow(Math.abs(val),256/563)*Math.sign(val)}))},formats:{color:{id:"a98-rgb"}}}),ProPhotoLinear=new RGBColorSpace({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:XYZ_D50,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),prophoto=new RGBColorSpace({id:"prophoto",name:"ProPhoto",base:ProPhotoLinear,toBase:function toBase(RGB){return RGB.map((function(v){return v<.03125?v/16:Math.pow(v,1.8)}))},fromBase:function fromBase(RGB){return RGB.map((function(v){return v>=.001953125?Math.pow(v,1/1.8):16*v}))},formats:{color:{id:"prophoto-rgb"}}}),oklch=new ColorSpace({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:OKLab,fromBase:function fromBase(oklab){var h,_oklab=_slicedToArray(oklab,3),L=_oklab[0],a2=_oklab[1],b2=_oklab[2];return h=Math.abs(a2)<2e-4&&Math.abs(b2)<2e-4?NaN:180*Math.atan2(b2,a2)/Math.PI,[L,Math.sqrt(Math.pow(a2,2)+Math.pow(b2,2)),constrain(h)]},toBase:function toBase(oklch2){var a2,b2,_oklch=_slicedToArray(oklch2,3),L=_oklch[0],C=_oklch[1],h=_oklch[2];return isNaN(h)?(a2=0,b2=0):(a2=C*Math.cos(h*Math.PI/180),b2=C*Math.sin(h*Math.PI/180)),[L,a2,b2]},formats:{oklch:{coords:[" | ",""," | "]}}}),n=2610/Math.pow(2,14),ninv=Math.pow(2,14)/2610,m=2523/Math.pow(2,5),minv=Math.pow(2,5)/2523,c1=3424/Math.pow(2,12),c2=2413/Math.pow(2,7),c3=2392/Math.pow(2,7),rec2100Pq=new RGBColorSpace({id:"rec2100pq",name:"REC.2100-PQ",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return 1e4*Math.pow(Math.max(Math.pow(val,minv)-c1,0)/(c2-c3*Math.pow(val,minv)),ninv)/203}))},fromBase:function fromBase(RGB){return RGB.map((function(val){var x=Math.max(203*val/1e4,0),num=c1+c2*Math.pow(x,n),denom=1+c3*Math.pow(x,n);return Math.pow(num/denom,m)}))},formats:{color:{id:"rec2100-pq"}}}),a=.17883277,b=.28466892,c=.55991073,rec2100Hlg=new RGBColorSpace({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:REC2020Linear,toBase:function toBase(RGB){return RGB.map((function(val){return val<=.5?Math.pow(val,2)/3*3.7743:Math.exp((val-c)/a+b)/12*3.7743}))},fromBase:function fromBase(RGB){return RGB.map((function(val){return(val/=3.7743)<=1/12?Math.sqrt(3*val):a*Math.log(12*val-b)+c}))},formats:{color:{id:"rec2100-hlg"}}}),CATs={};function defineCAT(_ref62){var id=_ref62.id;_ref62.toCone_M,_ref62.fromCone_M;CATs[id]=arguments[0]}function adapt(W1,W2){var method=CATs[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],_multiplyMatrices6=_slicedToArray(multiplyMatrices(method.toCone_M,W1),3),ρs=_multiplyMatrices6[0],γs=_multiplyMatrices6[1],βs=_multiplyMatrices6[2],_multiplyMatrices8=_slicedToArray(multiplyMatrices(method.toCone_M,W2),3),scaled_cone_M=multiplyMatrices([[_multiplyMatrices8[0]/ρs,0,0],[0,_multiplyMatrices8[1]/γs,0],[0,0,_multiplyMatrices8[2]/βs]],method.toCone_M);return multiplyMatrices(method.fromCone_M,scaled_cone_M)}hooks.add("chromatic-adaptation-start",(function(env){env.options.method&&(env.M=adapt(env.W1,env.W2,env.options.method))})),hooks.add("chromatic-adaptation-end",(function(env){env.M||(env.M=adapt(env.W1,env.W2,env.options.method))})),defineCAT({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),defineCAT({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),defineCAT({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),defineCAT({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(WHITES,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),WHITES.ACES=[.32168/.33767,1,.34065/.33767];var ACEScg=new RGBColorSpace({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:WHITES.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),ε=Math.pow(2,-16),ACES_cc_max=(Math.log2(65504)+9.72)/17.52,acescc=new RGBColorSpace({id:"acescc",name:"ACEScc",coords:{r:{range:[-.35828683,ACES_cc_max],name:"Red"},g:{range:[-.35828683,ACES_cc_max],name:"Green"},b:{range:[-.35828683,ACES_cc_max],name:"Blue"}},referred:"scene",base:ACEScg,toBase:function toBase(RGB){return RGB.map((function(val){return val<=-.3013698630136986?2*(Math.pow(2,17.52*val-9.72)-ε):val1?_len5-1:0),_key5=1;_key5<_len5;_key5++)args[_key5-1]=arguments[_key5];return _construct(Color,[color].concat(args))}},{key:"defineFunction",value:function defineFunction(name,code){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:code,_o$instance=o.instance,instance=void 0===_o$instance||_o$instance,returns=o.returns,func=function func(){var ret=code.apply(void 0,arguments);if("color"===returns)ret=Color.get(ret);else if("function"===returns){var f=ret;ret=function ret(){var ret2=f.apply(void 0,arguments);return Color.get(ret2)},Object.assign(ret,f)}else"array"===returns&&(ret=ret.map((function(c4){return Color.get(c4)})));return ret};name in Color||(Color[name]=func),instance&&(Color.prototype[name]=function(){for(var _len6=arguments.length,args=new Array(_len6),_key6=0;_key6<_len6;_key6++)args[_key6]=arguments[_key6];return func.apply(void 0,[this].concat(args))})}},{key:"defineFunctions",value:function defineFunctions(o){for(var name in o)Color.defineFunction(name,o[name],o[name])}},{key:"extend",value:function extend(exports){if(exports.register)exports.register(Color);else for(var name in exports)Color.defineFunction(name,exports[name])}}]),Color}());Color.defineFunctions({get,getAll,set,setAll,to,equals:function equals(color1,color2){return color1=getColor(color1),color2=getColor(color2),color1.space===color2.space&&color1.alpha===color2.alpha&&color1.coords.every((function(c4,i){return c4===color2.coords[i]}))},inGamut,toGamut,distance,toString:serialize}),Object.assign(Color,{util,hooks,WHITES,Space:ColorSpace,spaces:ColorSpace.registry,parse:parse2,defaults});for(var _i18=0,_Object$keys2=Object.keys(spaces);_i18<_Object$keys2.length;_i18++){var key=_Object$keys2[_i18];ColorSpace.register(spaces[key])}for(var id in ColorSpace.registry)addSpaceAccessors(id,ColorSpace.registry[id]);function addSpaceAccessors(id,space){Object.keys(space.coords),Object.values(space.coords).map((function(c4){return c4.name}));var propId=id.replace(/-/g,"_");Object.defineProperty(Color.prototype,propId,{get:function get(){var _this3=this,ret=this.getAll(id);return"undefined"==typeof Proxy?ret:new Proxy(ret,{has:function has(obj,property){try{return ColorSpace.resolveCoord([space,property]),!0}catch(e){}return Reflect.has(obj,property)},get:function get(obj,property,receiver){if(property&&"symbol"!==_typeof(property)&&!(property in obj)){var index=ColorSpace.resolveCoord([space,property]).index;if(index>=0)return obj[index]}return Reflect.get(obj,property,receiver)},set:function set(obj,property,value,receiver){if(property&&"symbol"!==_typeof(property)&&!(property in obj)||property>=0){var index=ColorSpace.resolveCoord([space,property]).index;if(index>=0)return obj[index]=value,_this3.setAll(id,obj),!0}return Reflect.set(obj,property,value,receiver)}})},set:function set(coords){this.setAll(id,coords)},configurable:!0,enumerable:!0})}hooks.add("colorspace-init-end",(function(space){var _space$aliases;addSpaceAccessors(space.id,space),null===(_space$aliases=space.aliases)||void 0===_space$aliases||_space$aliases.forEach((function(alias){addSpaceAccessors(alias,space)}))})),Color.extend(deltaEMethods),Color.extend({deltaE}),Color.extend(variations),Color.extend({contrast:function contrast(background,foreground){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};isString(o)&&(o={algorithm:o});var _o=o,algorithm=_o.algorithm,rest=_objectWithoutProperties(_o,_excluded11);if(!algorithm){var algorithms=Object.keys(contrastMethods).map((function(a2){return a2.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(algorithms))}for(var a2 in background=getColor(background),foreground=getColor(foreground),contrastMethods)if("contrast"+algorithm.toLowerCase()===a2.toLowerCase())return contrastMethods[a2](background,foreground,rest);throw new TypeError("Unknown contrast algorithm: ".concat(algorithm))}}),Color.extend(chromaticity),Color.extend(luminance),Color.extend(interpolation),Color.extend(contrastMethods),import_dot.default.templateSettings.strip=!1;var hexRegex=/^#[0-9a-f]{3,8}$/i,hslRegex=/hsl\(\s*([\d.]+)(rad|turn)/,Color2=function(){function Color2(red,green,blue){var alpha=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;_classCallCheck(this,Color2),this.red=red,this.green=green,this.blue=blue,this.alpha=alpha}return _createClass(Color2,[{key:"toHexString",value:function toHexString(){var redString=Math.round(this.red).toString(16),greenString=Math.round(this.green).toString(16),blueString=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?redString:"0"+redString)+(this.green>15.5?greenString:"0"+greenString)+(this.blue>15.5?blueString:"0"+blueString)}},{key:"toJSON",value:function toJSON(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function parseString(colorString){colorString=colorString.replace(hslRegex,(function(match,angle,unit){var value=angle+unit;switch(unit){case"rad":return match.replace(value,function radToDeg(rad){return 180*rad/Math.PI}(angle));case"turn":return match.replace(value,function turnToDeg(turn){return 360*turn}(angle))}}));try{var _color2=new Color(colorString).to("srgb");this.red=Math.round(255*clamp(_color2.r,0,1)),this.green=Math.round(255*clamp(_color2.g,0,1)),this.blue=Math.round(255*clamp(_color2.b,0,1)),this.alpha=+_color2.alpha}catch(err2){throw new Error('Unable to parse color "'.concat(colorString,'"'))}return this}},{key:"parseRgbString",value:function parseRgbString(colorString){this.parseString(colorString)}},{key:"parseHexString",value:function parseHexString(colorString){colorString.match(hexRegex)&&![6,8].includes(colorString.length)&&this.parseString(colorString)}},{key:"parseColorFnString",value:function parseColorFnString(colorString){this.parseString(colorString)}},{key:"getRelativeLuminance",value:function getRelativeLuminance(){var rSRGB=this.red/255,gSRGB=this.green/255,bSRGB=this.blue/255;return.2126*(rSRGB<=.03928?rSRGB/12.92:Math.pow((rSRGB+.055)/1.055,2.4))+.7152*(gSRGB<=.03928?gSRGB/12.92:Math.pow((gSRGB+.055)/1.055,2.4))+.0722*(bSRGB<=.03928?bSRGB/12.92:Math.pow((bSRGB+.055)/1.055,2.4))}}]),Color2}(),color_default=Color2;function clamp(value,min,max2){return Math.min(Math.max(min,value),max2)}var get_own_background_color_default=function getOwnBackgroundColor(elmStyle){var bgColor=new color_default;if(bgColor.parseString(elmStyle.getPropertyValue("background-color")),0!==bgColor.alpha){var opacity=elmStyle.getPropertyValue("opacity");bgColor.alpha=bgColor.alpha*opacity}return bgColor};var is_opaque_default=function isOpaque(node){var style=window.getComputedStyle(node);return element_has_image_default(node,style)||1===get_own_background_color_default(style).alpha};function _isSkipLink(element){if(!element.href)return!1;var firstPageLink=cache_default.get("firstPageLink",generateFirstPageLink);return!firstPageLink||element.compareDocumentPosition(firstPageLink.actualNode)===element.DOCUMENT_POSITION_FOLLOWING}function generateFirstPageLink(){return(window.location.origin?query_selector_all_default(axe._tree,'a[href]:not([href^="javascript:"])').find((function(link){return!_isCurrentPageLink(link.actualNode)})):query_selector_all_default(axe._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var clipRegex2=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,clipPathRegex2=/(\w+)\((\d+)/;function isVisible(el,screenReader,recursed){var _window$Node2;if(!el)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var vNode=el instanceof abstract_virtual_node_default?el:get_node_from_tree_default(el);el=vNode?vNode.actualNode:el;var cacheName="_isVisible"+(screenReader?"ScreenReader":""),_ref64=null!==(_window$Node2=window.Node)&&void 0!==_window$Node2?_window$Node2:{},DOCUMENT_NODE=_ref64.DOCUMENT_NODE,DOCUMENT_FRAGMENT_NODE=_ref64.DOCUMENT_FRAGMENT_NODE,nodeType=vNode?vNode.props.nodeType:el.nodeType,nodeName2=vNode?vNode.props.nodeName:el.nodeName.toLowerCase();if(vNode&&void 0!==vNode[cacheName])return vNode[cacheName];if(nodeType===DOCUMENT_NODE)return!0;if(["style","script","noscript","template"].includes(nodeName2))return!1;if((el&&nodeType===DOCUMENT_FRAGMENT_NODE&&(el=el.host),screenReader)&&"true"===(vNode?vNode.attr("aria-hidden"):el.getAttribute("aria-hidden")))return!1;if(!el){var parent2=vNode.parent,visible3=!0;return parent2&&(visible3=isVisible(parent2,screenReader,!0)),vNode&&(vNode[cacheName]=visible3),visible3}var style=window.getComputedStyle(el,null);if(null===style)return!1;if("area"===nodeName2)return function isAreaVisible(el,screenReader,recursed){var mapEl=find_up_default(el,"map");if(!mapEl)return!1;var mapElName=mapEl.getAttribute("name");if(!mapElName)return!1;var mapElRootNode=get_root_node_default2(el);if(!mapElRootNode||9!==mapElRootNode.nodeType)return!1;var refs=query_selector_all_default(axe._tree,'img[usemap="#'.concat(escape_selector_default(mapElName),'"]'));return!(!refs||!refs.length)&&refs.some((function(_ref63){return isVisible(_ref63.actualNode,screenReader,recursed)}))}(el,screenReader,recursed);if("none"===style.getPropertyValue("display"))return!1;var elHeight=parseInt(style.getPropertyValue("height")),elWidth=parseInt(style.getPropertyValue("width")),scroll=get_scroll_default(el),scrollableWithZeroHeight=scroll&&0===elHeight,scrollableWithZeroWidth=scroll&&0===elWidth,posAbsoluteOverflowHiddenAndSmall="absolute"===style.getPropertyValue("position")&&(elHeight<2||elWidth<2)&&"hidden"===style.getPropertyValue("overflow");if(!screenReader&&(function isClipped(style){var matchesClip=style.getPropertyValue("clip").match(clipRegex2),matchesClipPath=style.getPropertyValue("clip-path").match(clipPathRegex2);if(matchesClip&&5===matchesClip.length){var position=style.getPropertyValue("position");if(["fixed","absolute"].includes(position))return matchesClip[3]-matchesClip[1]<=0&&matchesClip[2]-matchesClip[4]<=0}if(matchesClipPath){var type2=matchesClipPath[1],value=parseInt(matchesClipPath[2],10);switch(type2){case"inset":return value>=50;case"circle":return 0===value}}return!1}(style)||"0"===style.getPropertyValue("opacity")||scrollableWithZeroHeight||scrollableWithZeroWidth||posAbsoluteOverflowHiddenAndSmall))return!1;if(!recursed&&("hidden"===style.getPropertyValue("visibility")||!screenReader&&is_offscreen_default(el)))return!1;var parent=el.assignedSlot?el.assignedSlot:el.parentNode,visible2=!1;return parent&&(visible2=isVisible(parent,screenReader,!0)),vNode&&(vNode[cacheName]=visible2),visible2}var is_visible_default=isVisible;var reduce_to_elements_below_floating_default=function reduceToElementsBelowFloating(elements,targetNode){for(var floatingPositions=["fixed","sticky"],finalElements=[],targetFound=!1,index=0;indexMath.ceil(rect.left+rect.width)||Math.floor(clientRect.top+clientRect.height)>Math.ceil(rect.top+rect.height))}))}var shadow_elements_from_point_default=function shadowElementsFromPoint(nodeX,nodeY){var root=arguments.length>2&&void 0!==arguments[2]?arguments[2]:document,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(i>999)throw new Error("Infinite loop detected");return Array.from(root.elementsFromPoint(nodeX,nodeY)||[]).filter((function(nodes){return get_root_node_default2(nodes)===root})).reduce((function(stack,elm){if(is_shadow_root_default(elm)){var shadowStack=shadowElementsFromPoint(nodeX,nodeY,elm.shadowRoot,i+1);(stack=stack.concat(shadowStack)).length&&_visuallyContains(stack[0],elm)&&stack.push(elm)}else stack.push(elm);return stack}),[])};function getSearchPairs(searchStr){var query={};if(!searchStr||!searchStr.length)return query;var pairs=searchStr.substring(1).split("&");if(!pairs||!pairs.length)return query;for(var index=0;indexparentScrollArea_right&&rect.left>parentRect.right||rect.top>parentScrollArea_bottom&&rect.top>parentRect.bottom||rect.rightparentRect.right||rect.top>parentRect.bottom)||("scroll"===style.overflow||"auto"===style.overflow||parent instanceof window.HTMLBodyElement||parent instanceof window.HTMLHtmlElement)},nodeIndex2=0,VirtualNode=function(_abstract_virtual_nod){_inherits(VirtualNode,_abstract_virtual_nod);var _super2=_createSuper(VirtualNode);function VirtualNode(node,parent,shadowId){var _this4;if(_classCallCheck(this,VirtualNode),(_this4=_super2.call(this)).shadowId=shadowId,_this4.children=[],_this4.actualNode=node,_this4.parent=parent,parent||(nodeIndex2=0),_this4.nodeIndex=nodeIndex2++,_this4._isHidden=null,_this4._cache={},_this4._isXHTML=is_xhtml_default(node.ownerDocument),"input"===node.nodeName.toLowerCase()){var type2=node.getAttribute("type");type2=_this4._isXHTML?type2:(type2||"").toLowerCase(),valid_input_type_default().includes(type2)||(type2="text"),_this4._type=type2}return cache_default.get("nodeMap")&&cache_default.get("nodeMap").set(node,_assertThisInitialized(_this4)),_this4}return _createClass(VirtualNode,[{key:"props",get:function get(){if(!this._cache.hasOwnProperty("props")){var _this$actualNode=this.actualNode,nodeType=_this$actualNode.nodeType,nodeName2=_this$actualNode.nodeName,_id=_this$actualNode.id,multiple=_this$actualNode.multiple,nodeValue=_this$actualNode.nodeValue,value=_this$actualNode.value,selected=_this$actualNode.selected,checked=_this$actualNode.checked,indeterminate=_this$actualNode.indeterminate;this._cache.props={nodeType,nodeName:this._isXHTML?nodeName2:nodeName2.toLowerCase(),id:_id,type:this._type,multiple,nodeValue,value,selected,checked,indeterminate}}return this._cache.props}},{key:"attr",value:function attr(attrName){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(attrName)}},{key:"hasAttr",value:function hasAttr(attrName){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(attrName)}},{key:"attrNames",get:function get(){var attrs;this._cache.hasOwnProperty("attrNames")||(attrs=this.actualNode.attributes instanceof window.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(attrs).map((function(attr){return attr.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function getComputedStylePropertyValue(property){var key="computedStyle_"+property;return this._cache.hasOwnProperty(key)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=window.getComputedStyle(this.actualNode)),this._cache[key]=this._cache.computedStyle.getPropertyValue(property)),this._cache[key]}},{key:"isFocusable",get:function get(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=_isFocusable(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function get(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=get_tabbable_elements_default(this)),this._cache.tabbableElements}},{key:"clientRects",get:function get(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(rect){return rect.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function get(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),VirtualNode}(abstract_virtual_node_default),virtual_node_default=VirtualNode;var hasShadowRoot,token_list_default=function tokenList(str){return(str||"").trim().replace(/\s{2,}/g," ").split(" ")},idsKey=" [idsMap]";function getNodesMatchingExpression(domTree,expressions,filter){var selectorMap=domTree[0]._selectorMap;if(selectorMap){for(var shadowId=domTree[0].shadowId,_i19=0;_i191&&expressions[_i19].some((function(expression){return isGlobalSelector(expression)})))return;var nodeSet=new Set;expressions.forEach((function(expression){var _matchingNodes$nodes,matchingNodes=function findMatchingNodes(expression,selectorMap,shadowId){var exp=expression[expression.length-1],nodes=null,isComplexSelector=expression.length>1||!!exp.pseudos||!!exp.classes;if(isGlobalSelector(exp))nodes=selectorMap["*"];else{if(exp.id){var _selectorMap$idsKey$e;if(!selectorMap[idsKey]||!Object.hasOwn(selectorMap[idsKey],exp.id)||null===(_selectorMap$idsKey$e=selectorMap[idsKey][exp.id])||void 0===_selectorMap$idsKey$e||!_selectorMap$idsKey$e.length)return;nodes=selectorMap[idsKey][exp.id].filter((function(node){return node.shadowId===shadowId}))}if(exp.tag&&"*"!==exp.tag){var _selectorMap$exp$tag;if(null===(_selectorMap$exp$tag=selectorMap[exp.tag])||void 0===_selectorMap$exp$tag||!_selectorMap$exp$tag.length)return;var cachedNodes=selectorMap[exp.tag];nodes=nodes?getSharedValues(cachedNodes,nodes):cachedNodes}if(exp.classes){var _selectorMap$Class;if(null===(_selectorMap$Class=selectorMap["[class]"])||void 0===_selectorMap$Class||!_selectorMap$Class.length)return;var _cachedNodes=selectorMap["[class]"];nodes=nodes?getSharedValues(_cachedNodes,nodes):_cachedNodes}if(exp.attributes)for(var _i20=0;_i200&&void 0!==arguments[0]?arguments[0]:document.documentElement,shadowId=arguments.length>1?arguments[1]:void 0;hasShadowRoot=!1;var selectorMap={};cache_default.set("nodeMap",new WeakMap),cache_default.set("selectorMap",selectorMap);var tree=flattenTree(node,shadowId,null);return tree[0]._selectorMap=selectorMap,tree[0]._hasShadowRoot=hasShadowRoot,tree}function createNode(node,parent,shadowId){var vNode=new virtual_node_default(node,parent,shadowId);return cacheNodeSelectors(vNode,cache_default.get("selectorMap")),vNode}function flattenTree(node,shadowId,parent){var retVal,realArray,nodeName2;function reduceShadowDOM(res,child,parentVNode){var replacements=flattenTree(child,shadowId,parentVNode);return replacements&&(res=res.concat(replacements)),res}if(node.documentElement&&(node=node.documentElement),nodeName2=node.nodeName.toLowerCase(),is_shadow_root_default(node))return hasShadowRoot=!0,retVal=createNode(node,parent,shadowId),shadowId="a"+Math.random().toString().substring(2),realArray=Array.from(node.shadowRoot.childNodes),retVal.children=realArray.reduce((function(res,child){return reduceShadowDOM(res,child,retVal)}),[]),[retVal];if("content"===nodeName2&&"function"==typeof node.getDistributedNodes)return(realArray=Array.from(node.getDistributedNodes())).reduce((function(res,child){return reduceShadowDOM(res,child,parent)}),[]);if("slot"===nodeName2&&"function"==typeof node.assignedNodes){(realArray=Array.from(node.assignedNodes())).length||(realArray=function getSlotChildren(node){var retVal=[];for(node=node.firstChild;node;)retVal.push(node),node=node.nextSibling;return retVal}(node));window.getComputedStyle(node);return realArray.reduce((function(res,child){return reduceShadowDOM(res,child,parent)}),[])}return 1===node.nodeType?(retVal=createNode(node,parent,shadowId),realArray=Array.from(node.childNodes),retVal.children=realArray.reduce((function(res,child){return reduceShadowDOM(res,child,retVal)}),[]),[retVal]):3===node.nodeType?[createNode(node,parent)]:void 0}var get_base_lang_default=function getBaseLang(lang){return lang?lang.trim().split("-")[0].toLowerCase():""};var failure_summary_default=function failureSummary(nodeData){var failingChecks={};return failingChecks.none=nodeData.none.concat(nodeData.all),failingChecks.any=nodeData.any,Object.keys(failingChecks).map((function(key){if(failingChecks[key].length){var sum=axe._audit.data.failureSummaries[key];return sum&&"function"==typeof sum.failureMessage?sum.failureMessage(failingChecks[key].map((function(check){return check.message||""}))):void 0}})).filter((function(i){return void 0!==i})).join("\n\n")};function incompleteFallbackMessage(){var message=axe._audit.data.incompleteFallbackMessage;return"function"==typeof message&&(message=message()),"string"!=typeof message?"":message}var resultKeys=constants_default.resultGroups;function processAggregate(results,options){var resultObject=axe.utils.aggregateResult(results);return resultKeys.forEach((function(key){options.resultTypes&&!options.resultTypes.includes(key)&&(resultObject[key]||[]).forEach((function(ruleResult){Array.isArray(ruleResult.nodes)&&ruleResult.nodes.length>0&&(ruleResult.nodes=[ruleResult.nodes[0]])})),resultObject[key]=(resultObject[key]||[]).map((function(ruleResult){return ruleResult=Object.assign({},ruleResult),Array.isArray(ruleResult.nodes)&&ruleResult.nodes.length>0&&(ruleResult.nodes=ruleResult.nodes.map((function(subResult){if("object"===_typeof(subResult.node)){var serialElm=trimElementSpec(subResult.node,options);Object.assign(subResult,serialElm)}return delete subResult.result,delete subResult.node,function normalizeRelatedNodes(node,options){["any","all","none"].forEach((function(type2){Array.isArray(node[type2])&&node[type2].filter((function(checkRes){return Array.isArray(checkRes.relatedNodes)})).forEach((function(checkRes){checkRes.relatedNodes=checkRes.relatedNodes.map((function(relatedNode){return trimElementSpec(relatedNode,options)}))}))}))}(subResult,options),subResult}))),resultKeys.forEach((function(resultKey){return delete ruleResult[resultKey]})),delete ruleResult.pageLevel,delete ruleResult.result,ruleResult}))})),resultObject}function trimElementSpec(){var elmSpec=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},runOptions=arguments.length>1?arguments[1]:void 0;elmSpec=node_serializer_default.dqElmToSpec(elmSpec,runOptions);var _elmSpec$source,_elmSpec$element,_elmSpec$selector,_elmSpec$ancestry,_elmSpec$xpath,serialElm={};axe._audit.noHtml?serialElm.html=null:serialElm.html=null!==(_elmSpec$source=elmSpec.source)&&void 0!==_elmSpec$source?_elmSpec$source:"Undefined";runOptions.elementRef&&!elmSpec.fromFrame&&(serialElm.element=null!==(_elmSpec$element=elmSpec.element)&&void 0!==_elmSpec$element?_elmSpec$element:null);(!1!==runOptions.selectors||elmSpec.fromFrame)&&(serialElm.target=null!==(_elmSpec$selector=elmSpec.selector)&&void 0!==_elmSpec$selector?_elmSpec$selector:[":root"]);runOptions.ancestry&&(serialElm.ancestry=null!==(_elmSpec$ancestry=elmSpec.ancestry)&&void 0!==_elmSpec$ancestry?_elmSpec$ancestry:[":root"]);runOptions.xpath&&(serialElm.xpath=null!==(_elmSpec$xpath=elmSpec.xpath)&&void 0!==_elmSpec$xpath?_elmSpec$xpath:["/"]);return serialElm}var dataRegex=/\$\{\s?data\s?\}/g;function substitute(str,data){if("string"==typeof data)return str.replace(dataRegex,data);for(var prop in data)if(data.hasOwnProperty(prop)){var regex=new RegExp("\\${\\s?data\\."+prop+"\\s?}","g"),replace=void 0===data[prop]?"":String(data[prop]);str=str.replace(regex,replace)}return str}var process_message_default=function processMessage(message,data){if(message){if(Array.isArray(data))return data.values=data.join(", "),"string"==typeof message.singular&&"string"==typeof message.plural?substitute(1===data.length?message.singular:message.plural,data):substitute(message,data);if("string"==typeof message)return substitute(message,data);if("string"==typeof data)return substitute(message[data],data);var str=message.default||incompleteFallbackMessage();return data&&data.messageKey&&message[data.messageKey]&&(str=message[data.messageKey]),processMessage(str,data)}};var get_check_message_default=function getCheckMessage(checkId,type2,data){var check=axe._audit.data.checks[checkId];if(!check)throw new Error("Cannot get message for unknown check: ".concat(checkId,"."));if(!check.messages[type2])throw new Error('Check "'.concat(checkId,'"" does not have a "').concat(type2,'" message.'));return process_message_default(check.messages[type2],data)};var get_check_option_default=function getCheckOption(check,ruleID,options){var ruleCheckOption=((options.rules&&options.rules[ruleID]||{}).checks||{})[check.id],checkOption=(options.checks||{})[check.id],enabled=check.enabled,opts=check.options;return checkOption&&(checkOption.hasOwnProperty("enabled")&&(enabled=checkOption.enabled),checkOption.hasOwnProperty("options")&&(opts=checkOption.options)),ruleCheckOption&&(ruleCheckOption.hasOwnProperty("enabled")&&(enabled=ruleCheckOption.enabled),ruleCheckOption.hasOwnProperty("options")&&(opts=ruleCheckOption.options)),{enabled,options:opts,absolutePaths:options.absolutePaths}};function _getEnvironmentData(){var _win$location,metadata=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,win=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window;return metadata&&"object"===_typeof(metadata)?metadata:"object"!==_typeof(win)?{}:{testEngine:{name:"axe-core",version:axe.version},testRunner:{name:axe._audit.brand},testEnvironment:getTestEnvironment(win),timestamp:(new Date).toISOString(),url:null===(_win$location=win.location)||void 0===_win$location?void 0:_win$location.href}}function getTestEnvironment(win){if(!win.navigator||"object"!==_typeof(win.navigator))return{};var navigator=win.navigator,innerHeight=win.innerHeight,innerWidth=win.innerWidth,_ref65=function getOrientation(_ref66){var screen=_ref66.screen;return screen.orientation||screen.msOrientation||screen.mozOrientation}(win)||{},angle=_ref65.angle,type2=_ref65.type;return{userAgent:navigator.userAgent,windowWidth:innerWidth,windowHeight:innerHeight,orientationAngle:angle,orientationType:type2}}function createFrameContext(frame,_ref67){var focusable=_ref67.focusable,page=_ref67.page;return{node:frame,include:[],exclude:[],initiator:!1,focusable:focusable&&frameFocusable(frame),size:getBoundingSize(frame),page}}function frameFocusable(frame){var tabIndex=frame.getAttribute("tabindex");if(!tabIndex)return!0;var _int=parseInt(tabIndex,10);return isNaN(_int)||_int>=0}function getBoundingSize(domNode){var width=parseInt(domNode.getAttribute("width"),10),height=parseInt(domNode.getAttribute("height"),10);if(isNaN(width)||isNaN(height)){var rect=domNode.getBoundingClientRect();width=isNaN(width)?rect.width:width,height=isNaN(height)?rect.height:height}return{width,height}}function normalizeContextList(){var selectorList=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],normalizedList=[];isArrayLike(selectorList)||(selectorList=[selectorList]);for(var _i21=0;_i211)pushUniqueFrameSelector(context,type2,item);else{var nodeList=_shadowSelectAll(item[0]);result.push.apply(result,_toConsumableArray(nodeList.map((function(node){return get_node_from_tree_default(node)}))))}}return result.filter((function(r){return r}))}function pushUniqueFrameSelector(context,type2,selectorArray){context.frames=context.frames||[],_shadowSelectAll(selectorArray.shift()).forEach((function(frame){var frameContext=context.frames.find((function(result){return result.node===frame}));frameContext||(frameContext=createFrameContext(frame,context),context.frames.push(frameContext)),frameContext[type2].push(selectorArray)}))}function Context(spec,flatTree){var _spec,_spec2,_spec3,_spec4,_this5=this;spec=_clone(spec),this.frames=[],this.page="boolean"==typeof(null===(_spec=spec)||void 0===_spec?void 0:_spec.page)?spec.page:void 0,this.initiator="boolean"!=typeof(null===(_spec2=spec)||void 0===_spec2?void 0:_spec2.initiator)||spec.initiator,this.focusable="boolean"!=typeof(null===(_spec3=spec)||void 0===_spec3?void 0:_spec3.focusable)||spec.focusable,this.size="object"===_typeof(null===(_spec4=spec)||void 0===_spec4?void 0:_spec4.size)?spec.size:{},spec=function normalizeContext(contextSpec){if(isContextObject(contextSpec)){var msg=" must be used inside include or exclude. It should not be on the same object.";assert2(!objectHasOwn(contextSpec,"fromFrames"),"fromFrames"+msg),assert2(!objectHasOwn(contextSpec,"fromShadowDom"),"fromShadowDom"+msg)}else{if(!isContextProp(contextSpec))return{include:[document],exclude:[]};contextSpec={include:contextSpec,exclude:[]}}var include=normalizeContextList(contextSpec.include);return 0===include.length&&include.push(document),{include,exclude:normalizeContextList(contextSpec.exclude)}}(spec),this.flatTree=null!=flatTree?flatTree:_getFlattenedTree(function getRootNode2(_ref69){for(var include=_ref69.include,exclude=_ref69.exclude,selectors=Array.from(include).concat(Array.from(exclude)),_i23=0;_i231&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Context(context).frames.map((function(_ref70){var node=_ref70.node,frameContext=_objectWithoutProperties(_ref70,_excluded14);return frameContext.initiator=!1,{frameSelector:_getAncestry(node),frameContext}}))}function _getRule(ruleId){var rule=axe._audit.rules.find((function(_ref71){return _ref71.id===ruleId}));if(!rule)throw new Error("Cannot find rule by id: ".concat(ruleId));return rule}function isScrollable(style,prop){var overflowProp=style.getPropertyValue(prop);return["scroll","auto"].includes(overflowProp)}var get_scroll_default=memoize_default((function getScroll(elm){var buffer=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,overflowX=elm.scrollWidth>elm.clientWidth+buffer,overflowY=elm.scrollHeight>elm.clientHeight+buffer;if(overflowX||overflowY){var style=window.getComputedStyle(elm),scrollableX=isScrollable(style,"overflow-x"),scrollableY=isScrollable(style,"overflow-y");return overflowX&&scrollableX||overflowY&&scrollableY?{elm,top:elm.scrollTop,left:elm.scrollLeft}:void 0}}));function getElmScrollRecursive(root){return Array.from(root.children||root.childNodes||[]).reduce((function(scrolls,elm){var scroll=get_scroll_default(elm);return scroll&&scrolls.push(scroll),scrolls.concat(getElmScrollRecursive(elm))}),[])}var get_scroll_state_default=function getScrollState(){var win=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,root=win.document.documentElement;return[void 0!==win.pageXOffset?{elm:win,top:win.pageYOffset,left:win.pageXOffset}:{elm:root,top:root.scrollTop,left:root.scrollLeft}].concat(getElmScrollRecursive(document.body))};function _getStandards(){return _clone(standards_default)}var styleSheet,get_stylesheet_factory_default=function getStyleSheetFactory(dynamicDoc){if(!dynamicDoc)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(options){var data=options.data,_options$isCrossOrigi=options.isCrossOrigin,isCrossOrigin=void 0!==_options$isCrossOrigi&&_options$isCrossOrigi,shadowId=options.shadowId,root=options.root,priority=options.priority,_options$isLink=options.isLink,isLink=void 0!==_options$isLink&&_options$isLink,style=dynamicDoc.createElement("style");if(isLink){var text=dynamicDoc.createTextNode('@import "'.concat(data.href,'"'));style.appendChild(text)}else style.appendChild(dynamicDoc.createTextNode(data));return dynamicDoc.head.appendChild(style),{sheet:style.sheet,isCrossOrigin,shadowId,root,priority}}};var inject_style_default=function injectStyle(style){if(styleSheet&&styleSheet.parentNode)return void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText+=style,styleSheet;if(style){var head=document.head||document.getElementsByTagName("head")[0];return(styleSheet=document.createElement("style")).type="text/css",void 0===styleSheet.styleSheet?styleSheet.appendChild(document.createTextNode(style)):styleSheet.styleSheet.cssText=style,head.appendChild(styleSheet),styleSheet}};var is_hidden_default=function isHidden(el,recursed){var node=get_node_from_tree_default(el);if(9===el.nodeType)return!1;if(11===el.nodeType&&(el=el.host),node&&null!==node._isHidden)return node._isHidden;var style=window.getComputedStyle(el,null);if(!style||!el.parentNode||"none"===style.getPropertyValue("display")||!recursed&&"hidden"===style.getPropertyValue("visibility")||"true"===el.getAttribute("aria-hidden"))return!0;var hidden=isHidden(el.assignedSlot?el.assignedSlot:el.parentNode,!0);return node&&(node._isHidden=hidden),hidden};var is_html_element_default=function isHtmlElement(node){var _node$props$nodeName,_node$props,nodeName2=null!==(_node$props$nodeName=null===(_node$props=node.props)||void 0===_node$props?void 0:_node$props.nodeName)&&void 0!==_node$props$nodeName?_node$props$nodeName:node.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==node.namespaceURI&&!!standards_default.htmlElms[nodeName2]};function _isNodeInContext(node,_ref72){var _ref72$include=_ref72.include,include=void 0===_ref72$include?[]:_ref72$include,_ref72$exclude=_ref72.exclude,exclude=void 0===_ref72$exclude?[]:_ref72$exclude,filterInclude=include.filter((function(candidate){return _contains(candidate,node)}));if(0===filterInclude.length)return!1;var filterExcluded=exclude.filter((function(candidate){return _contains(candidate,node)}));if(0===filterExcluded.length)return!0;var deepestInclude=getDeepest(filterInclude);return _contains(getDeepest(filterExcluded),deepestInclude)}function getDeepest(collection){var deepest,_step12,_iterator12=_createForOfIteratorHelper(collection);try{for(_iterator12.s();!(_step12=_iterator12.n()).done;){var node=_step12.value;deepest&&_contains(node,deepest)||(deepest=node)}}catch(err){_iterator12.e(err)}finally{_iterator12.f()}return deepest}function _matchAncestry(ancestryA,ancestryB){return ancestryA.length===ancestryB.length&&ancestryA.every((function(selectorA,ancestorIndex){var selectorB=ancestryB[ancestorIndex];return Array.isArray(selectorA)?selectorA.length===selectorB.length&&selectorA.every((function(str,selectorIndex){return selectorB[selectorIndex]===str})):selectorA===selectorB}))}var node_sorter_default=function nodeSorter(nodeA,nodeB){return(nodeA=nodeA.actualNode||nodeA)===(nodeB=nodeB.actualNode||nodeB)?0:4&nodeA.compareDocumentPosition(nodeB)?-1:1};function _nodeLookup(node){return node instanceof abstract_virtual_node_default?{vNode:node,domNode:node.actualNode}:{vNode:get_node_from_tree_default(node),domNode:node}}var parse_sameorigin_stylesheet_default=function parseSameOriginStylesheet(sheet,options,priority,importedUrls){var isCrossOrigin=arguments.length>4&&void 0!==arguments[4]&&arguments[4],rules=Array.from(sheet.cssRules);if(!rules)return Promise.resolve();var cssImportRules=rules.filter((function(r){return 3===r.type}));if(!cssImportRules.length)return Promise.resolve({isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId,sheet});var promises=cssImportRules.filter((function(rule){return rule.href})).map((function(rule){return rule.href})).filter((function(url){return!importedUrls.includes(url)})).map((function(importUrl,cssRuleIndex){var newPriority=[].concat(_toConsumableArray(priority),[cssRuleIndex]),isCrossOriginRequest=/^https?:\/\/|^\/\//i.test(importUrl);return parse_crossorigin_stylesheet_default(importUrl,options,newPriority,importedUrls,isCrossOriginRequest)})),nonImportCSSRules=rules.filter((function(r){return 3!==r.type}));return nonImportCSSRules.length?(promises.push(Promise.resolve(options.convertDataToStylesheet({data:nonImportCSSRules.map((function(rule){return rule.cssText})).join(),isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId}))),Promise.all(promises)):Promise.all(promises)};var parse_stylesheet_default=function parseStylesheet(sheet,options,priority,importedUrls){var isCrossOrigin=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function isSameOriginStylesheet(sheet){try{return!(!sheet.cssRules&&sheet.href)}catch(e){return!1}}(sheet)?parse_sameorigin_stylesheet_default(sheet,options,priority,importedUrls,isCrossOrigin):parse_crossorigin_stylesheet_default(sheet.href,options,priority,importedUrls,!0)};var parse_crossorigin_stylesheet_default=function parseCrossOriginStylesheet(url,options,priority,importedUrls,isCrossOrigin){return importedUrls.push(url),new Promise((function(resolve,reject){var request=new window.XMLHttpRequest;request.open("GET",url),request.timeout=constants_default.preload.timeout,request.addEventListener("error",reject),request.addEventListener("timeout",reject),request.addEventListener("loadend",(function(event){if(event.loaded&&request.responseText)return resolve(request.responseText);reject(request.responseText)})),request.send()})).then((function(data){var result=options.convertDataToStylesheet({data,isCrossOrigin,priority,root:options.rootNode,shadowId:options.shadowId});return parse_stylesheet_default(result.sheet,options,priority,importedUrls,result.isCrossOrigin)}))},performanceTimer=function(){function now(){if(window.performance&&window.performance)return window.performance.now()}var originalTime=null,lastRecordedTime=now();return{start:function start(){this.mark("mark_axe_start")},end:function end(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function auditStart(){this.mark("mark_audit_start")},auditEnd:function auditEnd(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function mark(markName){window.performance&&void 0!==window.performance.mark&&window.performance.mark(markName)},measure:function measure(measureName,startMark,endMark){window.performance&&void 0!==window.performance.measure&&window.performance.measure(measureName,startMark,endMark)},logMeasures:function logMeasures(measureName){function logMeasure(req2){log_default("Measure "+req2.name+" took "+req2.duration+"ms")}if(window.performance&&void 0!==window.performance.getEntriesByType)for(var axeStart=window.performance.getEntriesByName("mark_axe_start")[0],measures=window.performance.getEntriesByType("measure").filter((function(measure){return measure.startTime>=axeStart.startTime})),i=0;i"].includes(rest[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+exp[1].combinator);">"===rest[0].combinator?(childOnly=childOnly||[]).push(rest):(childAny=childAny||[]).push(rest)}exp[0].id&&vNode.shadowId!==currentLevel.parentShadowId||null===(_currentLevel$anyLeve4=currentLevel.anyLevel)||void 0===_currentLevel$anyLeve4||!_currentLevel$anyLeve4.includes(exp)||(childAny=childAny||[]).push(exp)}for(vNode.children&&vNode.children.length&&(stack.push(currentLevel),currentLevel=createLocalVariables(vNode.children,childAny,childOnly,vNode.shadowId,recycledLocalVariables.pop()));currentLevel.vNodesIndex===currentLevel.vNodes.length&&stack.length;)recycledLocalVariables.push(currentLevel),currentLevel=stack.pop()}return result}(domTree,expressions,filter)};var preload_cssom_default=function preloadCssom(_ref73){var _ref73$treeRoot=_ref73.treeRoot,rootNodes=function getAllRootNodesInTree(tree){var ids=[],rootNodes=query_selector_all_filter_default(tree,"*",(function(node){return!ids.includes(node.shadowId)&&(ids.push(node.shadowId),!0)})).map((function(node){return{shadowId:node.shadowId,rootNode:get_root_node_default(node.actualNode)}}));return unique_array_default(rootNodes,[])}(void 0===_ref73$treeRoot?axe._tree[0]:_ref73$treeRoot);if(!rootNodes.length)return Promise.resolve();var dynamicDoc=document.implementation.createHTMLDocument("Dynamic document for loading cssom");return function getCssomForAllRootNodes(rootNodes,convertDataToStylesheet){var promises=[];return rootNodes.forEach((function(_ref74,index){var rootNode=_ref74.rootNode,shadowId=_ref74.shadowId,sheets=function getStylesheetsOfRootNode(rootNode,shadowId,convertDataToStylesheet){var sheets;sheets=11===rootNode.nodeType&&shadowId?function getStylesheetsFromDocumentFragment(rootNode,convertDataToStylesheet){return Array.from(rootNode.children).filter(filerStyleAndLinkAttributesInDocumentFragment).reduce((function(out,node){var nodeName2=node.nodeName.toUpperCase(),data="STYLE"===nodeName2?node.textContent:node,stylesheet=convertDataToStylesheet({data,isLink:"LINK"===nodeName2,root:rootNode});return stylesheet.sheet&&out.push(stylesheet.sheet),out}),[])}(rootNode,convertDataToStylesheet):function getStylesheetsFromDocument(rootNode){return Array.from(rootNode.styleSheets).filter((function(sheet){return!!sheet.media&&filterMediaIsPrint(sheet.media.mediaText)}))}(rootNode);return function filterStylesheetsWithSameHref(sheets){var hrefs=[];return sheets.filter((function(sheet){return!sheet.href||!hrefs.includes(sheet.href)&&(hrefs.push(sheet.href),!0)}))}(sheets)}(rootNode,shadowId,convertDataToStylesheet);if(!sheets)return Promise.all(promises);var rootIndex=index+1,parseOptions={rootNode,shadowId,convertDataToStylesheet,rootIndex},importedUrls=[],p2=Promise.all(sheets.map((function(sheet,sheetIndex){return parse_stylesheet_default(sheet,parseOptions,[rootIndex,sheetIndex],importedUrls)})));promises.push(p2)})),Promise.all(promises)}(rootNodes,get_stylesheet_factory_default(dynamicDoc)).then((function(assets){return flattenAssets(assets)}))};function flattenAssets(assets){return assets.reduce((function(acc,val){return Array.isArray(val)?acc.concat(flattenAssets(val)):acc.concat(val)}),[])}function filerStyleAndLinkAttributesInDocumentFragment(node){var nodeName2=node.nodeName.toUpperCase(),linkHref=node.getAttribute("href"),linkRel=node.getAttribute("rel"),isLink="LINK"===nodeName2&&linkHref&&linkRel&&node.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===nodeName2||isLink&&filterMediaIsPrint(node.media)}function filterMediaIsPrint(media){return!media||!media.toUpperCase().includes("PRINT")}var preload_media_default=function preloadMedia(_ref75){var _ref75$treeRoot=_ref75.treeRoot,treeRoot=void 0===_ref75$treeRoot?axe._tree[0]:_ref75$treeRoot,mediaVirtualNodes=query_selector_all_filter_default(treeRoot,"video, audio",(function(_ref76){var actualNode=_ref76.actualNode;return actualNode.hasAttribute("src")?!!actualNode.getAttribute("src"):!(Array.from(actualNode.getElementsByTagName("source")).filter((function(source){return!!source.getAttribute("src")})).length<=0)}));return Promise.all(mediaVirtualNodes.map((function(_ref77){return function isMediaElementReady(elm){return new Promise((function(resolve){function onMediaReady(){elm.removeEventListener("loadedmetadata",onMediaReady),resolve(elm)}elm.readyState>0&&resolve(elm),elm.addEventListener("loadedmetadata",onMediaReady)}))}(_ref77.actualNode)})))};function _preload(options){var preloadFunctionsMap={cssom:preload_cssom_default,media:preload_media_default};return _shouldPreload(options)?new Promise((function(resolve,reject){var _getPreloadConfig2=_getPreloadConfig(options),assets=_getPreloadConfig2.assets,timeout=_getPreloadConfig2.timeout,preloadTimeout=setTimeout((function(){return reject(new Error("Preload assets timed out."))}),timeout);Promise.all(assets.map((function(asset){return preloadFunctionsMap[asset](options).then((function(results){return function _defineProperty(obj,key,value){return(key=_toPropertyKey(key))in obj?Object.defineProperty(obj,key,{value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}({},asset,results)}))}))).then((function(results){var preloadAssets=results.reduce((function(out,result){return _extends({},out,result)}),{});clearTimeout(preloadTimeout),resolve(preloadAssets)})).catch((function(err2){clearTimeout(preloadTimeout),reject(err2)}))})):Promise.resolve()}function _shouldPreload(options){return!options||void 0===options.preload||null===options.preload||("boolean"==typeof options.preload?options.preload:function isValidPreloadObject(preloadObj){return"object"===_typeof(preloadObj)&&Array.isArray(preloadObj.assets)}(options.preload))}function _getPreloadConfig(options){var _constants_default$pr=constants_default.preload,assets=_constants_default$pr.assets,timeout=_constants_default$pr.timeout,config={assets,timeout};if(!options.preload)return config;if("boolean"==typeof options.preload)return config;if(!options.preload.assets.every((function(a2){return assets.includes(a2.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(assets.join(", "),"."));return config.assets=unique_array_default(options.preload.assets.map((function(a2){return a2.toLowerCase()})),[]),options.preload.timeout&&"number"==typeof options.preload.timeout&&!isNaN(options.preload.timeout)&&(config.timeout=options.preload.timeout),config}function _publishMetaData(ruleResult){var checksData=axe._audit.data.checks||{},rulesData=axe._audit.data.rules||{},rule=find_by_default(axe._audit.rules,"id",ruleResult.id)||{};ruleResult.tags=_clone(rule.tags||[]);var shouldBeTrue=extender(checksData,!0,rule),shouldBeFalse=extender(checksData,!1,rule);ruleResult.nodes.forEach((function(detail){detail.any.forEach(shouldBeTrue),detail.all.forEach(shouldBeTrue),detail.none.forEach(shouldBeFalse)})),extend_meta_data_default(ruleResult,_clone(rulesData[ruleResult.id]||{}))}function extender(checksData,shouldBeTrue,rule){return function(check){var sourceData=checksData[check.id]||{},messages=sourceData.messages||{},data=Object.assign({},sourceData);delete data.messages,rule.reviewOnFail||void 0!==check.result?data.message=check.result===shouldBeTrue?messages.pass:messages.fail:("object"!==_typeof(messages.incomplete)||Array.isArray(check.data)||(data.message=function getIncompleteReason(checkData,messages){function getDefaultMsg(message){return message.incomplete&&message.incomplete.default?message.incomplete.default:incompleteFallbackMessage()}if(!checkData||!checkData.missingData)return checkData&&checkData.messageKey?messages.incomplete[checkData.messageKey]:getDefaultMsg(messages);try{var msg=messages.incomplete[checkData.missingData[0].reason];if(!msg)throw new Error;return msg}catch(e){return"string"==typeof checkData.missingData?messages.incomplete[checkData.missingData]:getDefaultMsg(messages)}}(check.data,messages)),data.message||(data.message=messages.incomplete)),"function"!=typeof data.message&&(data.message=process_message_default(data.message,check.data)),extend_meta_data_default(check,data)}}var query_selector_all_default=function querySelectorAll(domTree,selector){return query_selector_all_filter_default(domTree,selector)};function matchTags(rule,runOnly){var include,exclude,defaultExclude=axe._audit&&axe._audit.tagExclude?axe._audit.tagExclude:[];return runOnly.hasOwnProperty("include")||runOnly.hasOwnProperty("exclude")?(include=runOnly.include||[],include=Array.isArray(include)?include:[include],exclude=runOnly.exclude||[],exclude=(exclude=Array.isArray(exclude)?exclude:[exclude]).concat(defaultExclude.filter((function(tag){return-1===include.indexOf(tag)})))):(include=Array.isArray(runOnly)?runOnly:[runOnly],exclude=defaultExclude.filter((function(tag){return-1===include.indexOf(tag)}))),!!(include.some((function(tag){return-1!==rule.tags.indexOf(tag)}))||0===include.length&&!1!==rule.enabled)&&exclude.every((function(tag){return-1===rule.tags.indexOf(tag)}))}var rule_should_run_default=function ruleShouldRun(rule,context,options){var runOnly=options.runOnly||{},ruleOptions=(options.rules||{})[rule.id];return!(rule.pageLevel&&!context.page)&&("rule"===runOnly.type?-1!==runOnly.values.indexOf(rule.id):ruleOptions&&"boolean"==typeof ruleOptions.enabled?ruleOptions.enabled:"tag"===runOnly.type&&runOnly.values?matchTags(rule,runOnly.values):matchTags(rule,[]))};function _filterHtmlAttrs(element,filterAttrs){if(!filterAttrs)return element;var node=element.cloneNode(!1),attributes2=get_node_attributes_default(node);if(1===node.nodeType){var outerHTML=node.outerHTML;node=cache_default.get(outerHTML,(function(){return setNodeAttributes(node,attributes2,element,filterAttrs)}))}else node=setNodeAttributes(node,attributes2,element,filterAttrs);return Array.from(element.childNodes).forEach((function(child){node.appendChild(_filterHtmlAttrs(child,filterAttrs))})),node}function setNodeAttributes(node,attributes2,element,filterAttrs){return attributes2?(node=document.createElement(node.nodeName),Array.from(attributes2).forEach((function(attr){(function attributeMatches(node,attrName,filterAttrs){if(void 0===filterAttrs[attrName])return!1;if(!0===filterAttrs[attrName])return!0;return element_matches_default(node,filterAttrs[attrName])})(element,attr.name,filterAttrs)||node.setAttribute(attr.name,attr.value)})),node):node}function _select(selector,context){var candidate,result=[];if(axe._selectCache)for(var j=0,l=axe._selectCache.length;j1&&void 0!==arguments[1]?arguments[1]:document,selectorArr=Array.isArray(selectors)?_toConsumableArray(selectors):[selectors];return 0===selectors.length?[]:selectAllRecursive(selectorArr,doc)}function selectAllRecursive(_ref80,doc){var _ref81=function _toArray(arr){return _arrayWithHoles(arr)||_iterableToArray(arr)||_unsupportedIterableToArray(arr)||_nonIterableRest()}(_ref80),selectorStr=_ref81[0],restSelector=_ref81.slice(1),elms=doc.querySelectorAll(selectorStr);if(0===restSelector.length)return Array.from(elms);var _step13,selected=[],_iterator13=_createForOfIteratorHelper(elms);try{for(_iterator13.s();!(_step13=_iterator13.n()).done;){var elm=_step13.value;null!=elm&&elm.shadowRoot&&selected.push.apply(selected,_toConsumableArray(selectAllRecursive(restSelector,elm.shadowRoot)))}}catch(err){_iterator13.e(err)}finally{_iterator13.f()}return selected}var valid_input_type_default=function validInputTypes(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},langs=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function _validLangs(langArray){langArray=Array.isArray(langArray)?langArray:langs;var codes=[];return langArray.forEach((function(lang,index){var _char3=String.fromCharCode(index+96).replace("`","");Array.isArray(lang)?codes=codes.concat(_validLangs(lang).map((function(newLang){return _char3+newLang}))):codes.push(_char3)})),codes}var valid_langs_default=function isValidLang(lang){for(var array=langs;lang.length<3;)lang+="`";for(var _i27=0;_i27<=lang.length-1;_i27++){if(!(array=array[lang.charCodeAt(_i27)-96]))return!1}return!0},SerialVirtualNode=function(_abstract_virtual_nod2){_inherits(SerialVirtualNode,_abstract_virtual_nod2);var _super3=_createSuper(SerialVirtualNode);function SerialVirtualNode(serialNode){var _this6;return _classCallCheck(this,SerialVirtualNode),(_this6=_super3.call(this))._props=function normaliseProps(serialNode){var _serialNode$nodeName,_ref82,_serialNode$nodeType,nodeName2=null!==(_serialNode$nodeName=serialNode.nodeName)&&void 0!==_serialNode$nodeName?_serialNode$nodeName:nodeTypeToName[serialNode.nodeType],nodeType=null!==(_ref82=null!==(_serialNode$nodeType=serialNode.nodeType)&&void 0!==_serialNode$nodeType?_serialNode$nodeType:nodeNamesToTypes[serialNode.nodeName])&&void 0!==_ref82?_ref82:1;assert_default("number"==typeof nodeType,"nodeType has to be a number, got '".concat(nodeType,"'")),assert_default("string"==typeof nodeName2,"nodeName has to be a string, got '".concat(nodeName2,"'")),nodeName2=nodeName2.toLowerCase();var type2=null;"input"===nodeName2&&(type2=(serialNode.type||serialNode.attributes&&serialNode.attributes.type||"").toLowerCase(),valid_input_type_default().includes(type2)||(type2="text"));var props=_extends({},serialNode,{nodeType,nodeName:nodeName2});type2&&(props.type=type2);return delete props.attributes,Object.freeze(props)}(serialNode),_this6._attrs=function normaliseAttrs(_ref83){var _ref83$attributes=_ref83.attributes,attributes2=void 0===_ref83$attributes?{}:_ref83$attributes,attrMap={htmlFor:"for",className:"class"};return Object.keys(attributes2).reduce((function(attrs,attrName){var value=attributes2[attrName];(assert_default("object"!==_typeof(value)||null===value,"expects attributes not to be an object, '".concat(attrName,"' was")),void 0!==value)&&(attrs[attrMap[attrName]||attrName]=null!==value?String(value):null);return attrs}),{})}(serialNode),_this6}return _createClass(SerialVirtualNode,[{key:"props",get:function get(){return this._props}},{key:"attr",value:function attr(attrName){var _this$_attrs$attrName;return null!==(_this$_attrs$attrName=this._attrs[attrName])&&void 0!==_this$_attrs$attrName?_this$_attrs$attrName:null}},{key:"hasAttr",value:function hasAttr(attrName){return void 0!==this._attrs[attrName]}},{key:"attrNames",get:function get(){return Object.keys(this._attrs)}}]),SerialVirtualNode}(abstract_virtual_node_default),nodeNamesToTypes={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},nodeTypeToName={};Object.keys(nodeNamesToTypes).forEach((function(nodeName2){nodeTypeToName[nodeNamesToTypes[nodeName2]]=nodeName2}));var serial_virtual_node_default=SerialVirtualNode;var defaultReporter,cleanup_default=function cleanup(resolve,reject){if(resolve=resolve||function res(){},reject=reject||axe.log,!axe._audit)throw new Error("No audit configured");var q=axe.utils.queue(),cleanupErrors=[];Object.keys(axe.plugins).forEach((function(key){q.defer((function(res){var rej=function rej2(err2){cleanupErrors.push(err2),res()};try{axe.plugins[key].cleanup(res,rej)}catch(err2){rej(err2)}}))}));var flattenedTree=axe.utils.getFlattenedTree(document.body);axe.utils.querySelectorAll(flattenedTree,"iframe, frame").forEach((function(node){q.defer((function(res,rej){return axe.utils.sendCommandToFrame(node.actualNode,{command:"cleanup-plugin"},res,rej)}))})),q.then((function(results){0===cleanupErrors.length?resolve(results):reject(cleanupErrors)})).catch(reject)},reporters={};function hasReporter(reporterName){return reporters.hasOwnProperty(reporterName)}function getReporter(reporter){return"string"==typeof reporter&&reporters[reporter]?reporters[reporter]:"function"==typeof reporter?reporter:defaultReporter}var configure_default=function configure(spec){var audit;if(!(audit=axe._audit))throw new Error("No audit configured");if(spec.axeVersion||spec.ver){var specVersion=spec.axeVersion||spec.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(specVersion))throw new Error("Invalid configured version ".concat(specVersion));var _specVersion$split2=_slicedToArray(specVersion.split("-"),2),version=_specVersion$split2[0],canary=_specVersion$split2[1],_version$split$map2=_slicedToArray(version.split(".").map(Number),3),major=_version$split$map2[0],minor=_version$split$map2[1],patch=_version$split$map2[2],_axe$version$split2=_slicedToArray(axe.version.split("-"),2),axeVersion=_axe$version$split2[0],axeCanary=_axe$version$split2[1],_axeVersion$split$map2=_slicedToArray(axeVersion.split(".").map(Number),3),axeMajor=_axeVersion$split$map2[0],axeMinor=_axeVersion$split$map2[1],axePatch=_axeVersion$split$map2[2];if(major!==axeMajor||axeMinor1&&void 0!==arguments[1])||arguments[1],vNode=_nodeLookup(node).vNode;if(!is_html_element_default(vNode))return[];var nodeName2=vNode.props.nodeName,implicitRole3=implicit_role_default(vNode)||landmarkRoles[nodeName2];return function getRoleSegments(vNode){var roles=[];if(!vNode)return roles;if(vNode.hasAttr("role")){var nodeRoles=token_list_default(vNode.attr("role").toLowerCase());roles=roles.concat(nodeRoles)}return roles.filter((function(role){return is_valid_role_default(role)}))}(vNode).filter((function(role){return!function roleIsAllowed(role,vNode,allowImplicit,implicitRole3){if(allowImplicit&&role===implicitRole3)return!0;if(dpubRoles2.includes(role)&&get_role_type_default(role)!==implicitRole3)return!1;return is_aria_role_allowed_on_element_default(vNode,role)}(role,vNode,allowImplicit,implicitRole3)}))};var get_aria_roles_by_type_default=function getAriaRolesByType(type2){return Object.keys(standards_default.ariaRoles).filter((function(roleName){return standards_default.ariaRoles[roleName].type===type2}))};var get_roles_by_type_default=function getRolesByType(roleType){return get_aria_roles_by_type_default(roleType)};var get_aria_roles_supporting_name_from_content_default=function getAriaRolesSupportingNameFromContent(){return cache_default.get("ariaRolesNameFromContent",(function(){return Object.keys(standards_default.ariaRoles).filter((function(roleName){return standards_default.ariaRoles[roleName].nameFromContent}))}))};var get_roles_with_name_from_contents_default=function getRolesWithNameFromContents(){return get_aria_roles_supporting_name_from_content_default()},isNull=function isNull(value){return null===value},isNotNull=function isNotNull(value){return null!==value},lookupTable={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};lookupTable.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:isNotNull}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:isNotNull}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:isNotNull}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:isNotNull}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:isNotNull}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:isNotNull}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:isNotNull}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},lookupTable.implicitHtmlRole=implicit_html_roles_default,lookupTable.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:isNotNull}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:isNotNull}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function condition(vNode){return vNode instanceof axe.AbstractVirtualNode||(vNode=axe.utils.getNodeFromTree(vNode)),Number(vNode.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],lookupTable.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:isNull}},{nodeName:"img",attributes:{alt:isNull}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],lookupTable.evaluateRoleForElement={A:function A(_ref84){var node=_ref84.node,out=_ref84.out;return"http://www.w3.org/2000/svg"===node.namespaceURI||(!node.href.length||out)},AREA:function AREA(_ref85){return!_ref85.node.href},BUTTON:function BUTTON(_ref86){var node=_ref86.node,role=_ref86.role,out=_ref86.out;return"menu"===node.getAttribute("type")?"menuitem"===role:out},IMG:function IMG(_ref87){var node=_ref87.node,role=_ref87.role,out=_ref87.out;switch(node.alt){case null:return out;case"":return"presentation"===role||"none"===role;default:return"presentation"!==role&&"none"!==role}},INPUT:function INPUT(_ref88){var node=_ref88.node,role=_ref88.role,out=_ref88.out;switch(node.type){case"button":case"image":return out;case"checkbox":return!("button"!==role||!node.hasAttribute("aria-pressed"))||out;case"radio":return"menuitemradio"===role;case"text":return"combobox"===role||"searchbox"===role||"spinbutton"===role;case"tel":return"combobox"===role||"spinbutton"===role;case"url":case"search":case"email":return"combobox"===role;default:return!1}},LI:function LI(_ref89){var node=_ref89.node,out=_ref89.out;return!axe.utils.matchesSelector(node,"ol li, ul li")||out},MENU:function MENU(_ref90){return"context"!==_ref90.node.getAttribute("type")},OPTION:function OPTION(_ref91){var node=_ref91.node;return!axe.utils.matchesSelector(node,"select > option, datalist > option, optgroup > option")},SELECT:function SELECT(_ref92){var node=_ref92.node,role=_ref92.role;return!node.multiple&&node.size<=1&&"menu"===role},SVG:function SVG(_ref93){var node=_ref93.node,out=_ref93.out;return!(!node.parentNode||"http://www.w3.org/2000/svg"!==node.parentNode.namespaceURI)||out}},lookupTable.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var lookup_table_default=lookupTable;var implicit_nodes_default=function implicitNodes(role){var implicit=null,roles=lookup_table_default.role[role];return roles&&roles.implicit&&(implicit=_clone(roles.implicit)),implicit};var is_accessible_ref_default=function isAccessibleRef(node){return!!get_accessible_refs_default(node).length};function _isComboboxPopup(virtualNode){var _popupRoles,popupRoles=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,role=get_role_default(virtualNode);if(null!==(_popupRoles=popupRoles)&&void 0!==_popupRoles||(popupRoles=aria_attrs_default["aria-haspopup"].values),!popupRoles.includes(role))return!1;var vParent=function nearestParentWithRole(vNode){for(;vNode=vNode.parent;)if(null!==get_role_default(vNode,{noPresentational:!0}))return vNode;return null}(virtualNode);if(isCombobox(vParent))return!0;var id=virtualNode.props.id;if(!id)return!1;if(!virtualNode.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var ownedCombobox=get_root_node_default(virtualNode.actualNode).querySelectorAll('[aria-owns~="'.concat(id,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(id,'"][role~="combobox"]:not(select)'));return Array.from(ownedCombobox).some(isCombobox)}var isCombobox=function isCombobox(node){return node&&"combobox"===get_role_default(node)};var label_default2=function label2(node){return node=get_node_from_tree_default(node),label_virtual_default(node)};var required_attr_default=function requiredAttr(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredAttrs)?_toConsumableArray(roleDef.requiredAttrs):[]};var required_context_default=function requiredContext(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredContext)?_toConsumableArray(roleDef.requiredContext):null};var required_owned_default=function requiredOwned(role){var roleDef=standards_default.ariaRoles[role];return roleDef&&Array.isArray(roleDef.requiredOwned)?_toConsumableArray(roleDef.requiredOwned):null};var validate_attr_value_default=function validateAttrValue(vNode,attr){var matches4,list,value=(vNode=vNode instanceof abstract_virtual_node_default?vNode:get_node_from_tree_default(vNode)).attr(attr),attrInfo=standards_default.ariaAttrs[attr];if(!attrInfo)return!0;if(attrInfo.allowEmpty&&(!value||""===value.trim()))return!0;switch(attrInfo.type){case"boolean":return["true","false"].includes(value.toLowerCase());case"nmtoken":return"string"==typeof value&&attrInfo.values.includes(value.toLowerCase());case"nmtokens":return(list=token_list_default(value)).reduce((function(result,token){return result&&attrInfo.values.includes(token)}),0!==list.length);case"idref":try{var doc=get_root_node_default2(vNode.actualNode);return!(!value||!doc.getElementById(value))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return idrefs_default(vNode,attr).some((function(node){return!!node}));case"string":return""!==value.trim();case"decimal":return!(!(matches4=value.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!matches4[1]&&!matches4[2]);case"int":var minValue=void 0!==attrInfo.minValue?attrInfo.minValue:-1/0;return/^[-+]?[0-9]+$/.test(value)&&parseInt(value)>=minValue}};var validate_attr_default=function validateAttr(att){return!!standards_default.ariaAttrs[att]};var abstractrole_evaluate_default=function abstractroleEvaluate(node,options,virtualNode){var abstractRoles=token_list_default(virtualNode.attr("role")).filter((function(role){return"abstract"===get_role_type_default(role)}));return abstractRoles.length>0&&(this.data(abstractRoles),!0)};var aria_allowed_role_evaluate_default=function ariaAllowedRoleEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,_options$allowImplici=options.allowImplicit,allowImplicit=void 0===_options$allowImplici||_options$allowImplici,_options$ignoredTags=options.ignoredTags,ignoredTags=void 0===_options$ignoredTags?[]:_options$ignoredTags,nodeName2=virtualNode.props.nodeName;if(ignoredTags.map((function(tag){return tag.toLowerCase()})).includes(nodeName2))return!0;var unallowedRoles=get_element_unallowed_roles_default(virtualNode,allowImplicit);if(unallowedRoles.length){if(this.data(unallowedRoles),!_isVisibleToScreenReaders(virtualNode))return;return!1}return!0};function ariaConditionalCheckboxAttr(node,options,virtualNode){var _virtualNode$props=virtualNode.props,nodeName2=_virtualNode$props.nodeName,type2=_virtualNode$props.type,ariaChecked=function normalizeAriaChecked(ariaCheckedVal){if(!ariaCheckedVal)return"";if(ariaCheckedVal=ariaCheckedVal.toLowerCase(),["mixed","true"].includes(ariaCheckedVal))return ariaCheckedVal;return"false"}(virtualNode.attr("aria-checked"));if("input"!==nodeName2||"checkbox"!==type2||!ariaChecked)return!0;var checkState=function getCheckState(vNode){if(vNode.props.indeterminate)return"mixed";return vNode.props.checked?"true":"false"}(virtualNode);return ariaChecked===checkState||(this.data({messageKey:"checkbox",checkState}),!1)}function ariaConditionalRowAttr(node){var _invalidTableRowAttrs,_invalidTableRowAttrs2,invalidTableRowAttrs=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,virtualNode=arguments.length>2?arguments[2]:void 0,invalidAttrs=null!==(_invalidTableRowAttrs=null==invalidTableRowAttrs||null===(_invalidTableRowAttrs2=invalidTableRowAttrs.filter)||void 0===_invalidTableRowAttrs2?void 0:_invalidTableRowAttrs2.call(invalidTableRowAttrs,(function(invalidAttr){return virtualNode.hasAttr(invalidAttr)})))&&void 0!==_invalidTableRowAttrs?_invalidTableRowAttrs:[];if(0===invalidAttrs.length)return!0;var owner=function getRowOwner(virtualNode){if(!virtualNode.parent)return;return closest_default(virtualNode,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(virtualNode),ownerRole=owner&&get_role_default(owner);if(!ownerRole||"treegrid"===ownerRole)return!0;var messageKey="row".concat(invalidAttrs.length>1?"Plural":"Singular");return this.data({messageKey,invalidAttrs,ownerRole}),!1}var conditionalRoleMap={row:ariaConditionalRowAttr,checkbox:ariaConditionalCheckboxAttr};var aria_hidden_body_evaluate_default=function ariaHiddenBodyEvaluate(node,options,virtualNode){return"true"!==virtualNode.attr("aria-hidden")};var aria_level_evaluate_default=function ariaLevelEvaluate(node,options,virtualNode){var ariaHeadingLevel=virtualNode.attr("aria-level");if(!(parseInt(ariaHeadingLevel,10)>6))return!0};var standards_exports={};function isContent(_ref100){var vNode=_ref100.vNode;return 3===vNode.props.nodeType?vNode.props.nodeValue.trim().length>0:has_content_virtual_default(vNode,!1,!0)}function getMissingContext(virtualNode,ownGroupRoles,reqContext,includeElement){var explicitRole2=get_explicit_role_default(virtualNode);if(reqContext||(reqContext=required_context_default(explicitRole2)),!reqContext)return null;for(var allowsGroup=reqContext.includes("group"),vNode=includeElement?virtualNode:virtualNode.parent;vNode;){var role=get_role_default(vNode,{noPresentational:!0});if(role){if("group"!==role||!allowsGroup)return reqContext.includes(role)?null:reqContext;ownGroupRoles.includes(explicitRole2)&&reqContext.push(explicitRole2),reqContext=reqContext.filter((function(r){return"group"!==r})),vNode=vNode.parent}else vNode=vNode.parent}return reqContext}__export(standards_exports,{getAriaRolesByType:function getAriaRolesByType(){return get_aria_roles_by_type_default},getAriaRolesSupportingNameFromContent:function getAriaRolesSupportingNameFromContent(){return get_aria_roles_supporting_name_from_content_default},getElementSpec:function getElementSpec(){return get_element_spec_default},getElementsByContentType:function getElementsByContentType(){return get_elements_by_content_type_default},getGlobalAriaAttrs:function getGlobalAriaAttrs(){return get_global_aria_attrs_default},implicitHtmlRoles:function implicitHtmlRoles(){return implicit_html_roles_default}});var aria_required_parent_evaluate_default=function ariaRequiredParentEvaluate(node,options,virtualNode){var ownGroupRoles=options&&Array.isArray(options.ownGroupRoles)?options.ownGroupRoles:[],missingParents=getMissingContext(virtualNode,ownGroupRoles);if(!missingParents)return!0;var owners=function getAriaOwners(element){for(var owners=[],o=null;element;){if(element.getAttribute("id")){var _id3=escape_selector_default(element.getAttribute("id"));(o=get_root_node_default2(element).querySelector("[aria-owns~=".concat(_id3,"]")))&&owners.push(o)}element=element.parentElement}return owners.length?owners:null}(node);if(owners)for(var _i30=0,l=owners.length;_i301&&void 0!==arguments[1]?arguments[1]:{},role=get_role_default(arguments.length>2?arguments[2]:void 0);return!!(options.supportedRoles||[]).includes(role)||!(!role||"presentation"===role||"none"===role)&&void 0};var aria_unsupported_attr_evaluate_default=function ariaUnsupportedAttrEvaluate(node,options,virtualNode){var unsupportedAttrs=virtualNode.attrNames.filter((function(name){var attribute=standards_default.ariaAttrs[name];if(!validate_attr_default(name))return!1;var unsupported=attribute.unsupported;return"object"!==_typeof(unsupported)?!!unsupported:!matches_default2(node,unsupported.exceptions)}));return!!unsupportedAttrs.length&&(this.data(unsupportedAttrs),!0)};var aria_valid_attr_evaluate_default=function ariaValidAttrEvaluate(node,options,virtualNode){options=Array.isArray(options.value)?options.value:[];var invalid=[],aria=/^aria-/;return virtualNode.attrNames.forEach((function(attr){-1===options.indexOf(attr)&&aria.test(attr)&&!validate_attr_default(attr)&&invalid.push(attr)})),!invalid.length||(this.data(invalid),!1)};var fallbackrole_evaluate_default=function fallbackroleEvaluate(node,options,virtualNode){var explicitRoles=token_list_default(virtualNode.attr("role"));return!(explicitRoles.length<=1)&&(!function nonePresentationOnElementWithNoImplicitRole(virtualNode,explicitRoles){return!implicit_role_default(virtualNode)&&2===explicitRoles.length&&explicitRoles.includes("none")&&explicitRoles.includes("presentation")}(virtualNode,explicitRoles)||void 0)};var has_global_aria_attribute_evaluate_default=function hasGlobalAriaAttributeEvaluate(node,options,virtualNode){var globalAttrs=get_global_aria_attrs_default().filter((function(attr){return virtualNode.hasAttr(attr)}));return this.data(globalAttrs),globalAttrs.length>0};var has_widget_role_evaluate_default=function hasWidgetRoleEvaluate(node){var role=node.getAttribute("role");if(null===role)return!1;var roleType=get_role_type_default(role);return"widget"===roleType||"composite"===roleType};var invalidrole_evaluate_default=function invalidroleEvaluate(node,options,virtualNode){var allRoles=token_list_default(virtualNode.attr("role"));return!!allRoles.every((function(role){return!is_valid_role_default(role,{allowAbstract:!0})}))&&(this.data(allRoles),!0)};var is_element_focusable_evaluate_default=function isElementFocusableEvaluate(node,options,virtualNode){return _isFocusable(virtualNode)};var no_implicit_explicit_label_evaluate_default=function noImplicitExplicitLabelEvaluate(node,options,virtualNode){var label3,accText,role=get_role_default(virtualNode,{noImplicit:!0});this.data(role);try{label3=sanitize_default(label_text_default(virtualNode)).toLowerCase(),accText=sanitize_default(_accessibleTextVirtual(virtualNode)).toLowerCase()}catch(e){return}return!(!accText&&!label3)&&(!((accText||!label3)&&accText.includes(label3))&&void 0)};var unsupportedrole_evaluate_default=function unsupportedroleEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode,{dpub:!0,fallback:!0}),isUnsupported=is_unsupported_role_default(role);return isUnsupported&&this.data(role),isUnsupported},VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},VALID_ROLES_FOR_SCROLLABLE_REGIONS={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var valid_scrollable_semantics_evaluate_default=function validScrollableSemanticsEvaluate(node,options){return function validScrollableRole(node,options){var role=get_explicit_role_default(node);return role&&(VALID_ROLES_FOR_SCROLLABLE_REGIONS[role]||options.roles.includes(role))||!1}(node,options)||function validScrollableTagName(node){var nodeName2=node.nodeName.toUpperCase();return VALID_TAG_NAMES_FOR_SCROLLABLE_REGIONS[nodeName2]||!1}(node)},color_exports={};__export(color_exports,{Color:function Color(){return color_default},centerPointOfRect:function centerPointOfRect(){return center_point_of_rect_default},elementHasImage:function elementHasImage(){return element_has_image_default},elementIsDistinct:function elementIsDistinct(){return element_is_distinct_default},filteredRectStack:function filteredRectStack(){return filtered_rect_stack_default},flattenColors:function flattenColors(){return flatten_colors_default},flattenShadowColors:function flattenShadowColors(){return _flattenShadowColors},getBackgroundColor:function getBackgroundColor(){return _getBackgroundColor2},getBackgroundStack:function getBackgroundStack(){return _getBackgroundStack},getContrast:function getContrast(){return get_contrast_default},getForegroundColor:function getForegroundColor(){return _getForegroundColor},getOwnBackgroundColor:function getOwnBackgroundColor(){return get_own_background_color_default},getRectStack:function getRectStack(){return get_rect_stack_default},getStackingContext:function getStackingContext(){return _getStackingContext},getStrokeColorsFromShadows:function getStrokeColorsFromShadows(){return _getStrokeColorsFromShadows},getTextShadowColors:function getTextShadowColors(){return _getTextShadowColors},hasValidContrastRatio:function hasValidContrastRatio(){return has_valid_contrast_ratio_default},incompleteData:function incompleteData(){return incomplete_data_default},parseTextShadows:function parseTextShadows(){return _parseTextShadows},stackingContextToColor:function stackingContextToColor(){return _stackingContextToColor}});var center_point_of_rect_default=function centerPointOfRect(rect){if(!(rect.left>window.innerWidth||rect.top>window.innerHeight))return{x:Math.min(Math.ceil(rect.left+rect.width/2),window.innerWidth-1),y:Math.min(Math.ceil(rect.top+rect.height/2),window.innerHeight-1)}};function _getFonts(style){return style.getPropertyValue("font-family").split(/[,;]/g).map((function(font){return font.trim().toLowerCase()}))}var element_is_distinct_default=function elementIsDistinct(node,ancestorNode){var nodeStyle=window.getComputedStyle(node);if("none"!==nodeStyle.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(result,edge){var borderClr=new color_default;return borderClr.parseString(nodeStyle.getPropertyValue(edge+"-color")),result||"none"!==nodeStyle.getPropertyValue(edge+"-style")&&parseFloat(nodeStyle.getPropertyValue(edge+"-width"))>0&&0!==borderClr.alpha}),!1))return!0;var parentStyle=window.getComputedStyle(ancestorNode);if(_getFonts(nodeStyle)[0]!==_getFonts(parentStyle)[0])return!0;var hasStyle=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(result,cssProp){return result||nodeStyle.getPropertyValue(cssProp)!==parentStyle.getPropertyValue(cssProp)}),!1),tDec=nodeStyle.getPropertyValue("text-decoration");return tDec.split(" ").length<3&&(hasStyle=hasStyle||tDec!==parentStyle.getPropertyValue("text-decoration")),hasStyle};var get_rect_stack_default=function getRectStack2(elm){var boundingStack=get_element_stack_default(elm),filteredArr=get_text_element_stack_default(elm);return!filteredArr||filteredArr.length<=1?[boundingStack]:filteredArr.some((function(stack){return void 0===stack}))?null:(filteredArr.splice(0,0,boundingStack),filteredArr)};var filtered_rect_stack_default=function filteredRectStack(elm){var rectStack=get_rect_stack_default(elm);if(rectStack&&1===rectStack.length)return rectStack[0];if(rectStack&&rectStack.length>1){var isSame,boundingStack=rectStack.shift();return rectStack.forEach((function(rectList,index){if(0!==index){var rectA=rectStack[index-1],rectB=rectStack[index];isSame=rectA.every((function(element,elementIndex){return element===rectB[elementIndex]}))||boundingStack.includes(elm)}})),isSame?rectStack[0]:(incomplete_data_default.set("bgColor","elmPartiallyObscuring"),null)}return incomplete_data_default.set("bgColor","outsideViewport"),null};var blendFunctions={normal:function normal(Cb,Cs){return Cs},multiply:function multiply(Cb,Cs){return Cs*Cb},screen:function screen(Cb,Cs){return Cb+Cs-Cb*Cs},overlay:function overlay(Cb,Cs){return this["hard-light"](Cs,Cb)},darken:function darken(Cb,Cs){return Math.min(Cb,Cs)},lighten:function lighten(Cb,Cs){return Math.max(Cb,Cs)},"color-dodge":function colorDodge(Cb,Cs){return 0===Cb?0:1===Cs?1:Math.min(1,Cb/(1-Cs))},"color-burn":function colorBurn(Cb,Cs){return 1===Cb?1:0===Cs?0:1-Math.min(1,(1-Cb)/Cs)},"hard-light":function hardLight(Cb,Cs){return Cs<=.5?this.multiply(Cb,2*Cs):this.screen(Cb,2*Cs-1)},"soft-light":function softLight(Cb,Cs){return Cs<=.5?Cb-(1-2*Cs)*Cb*(1-Cb):Cb+(2*Cs-1)*((Cb<=.25?((16*Cb-12)*Cb+4)*Cb:Math.sqrt(Cb))-Cb)},difference:function difference(Cb,Cs){return Math.abs(Cb-Cs)},exclusion:function exclusion(Cb,Cs){return Cb+Cs-2*Cb*Cs}};function simpleAlphaCompositing(Cs,αs,Cb,αb,blendMode){return αs*(1-αb)*Cs+αs*αb*blendFunctions[blendMode](Cb/255,Cs/255)*255+(1-αs)*αb*Cb}var flatten_colors_default=function flattenColors(sourceColor,backdrop){var blendMode=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",r=simpleAlphaCompositing(sourceColor.red,sourceColor.alpha,backdrop.red,backdrop.alpha,blendMode),g2=simpleAlphaCompositing(sourceColor.green,sourceColor.alpha,backdrop.green,backdrop.alpha,blendMode),b2=simpleAlphaCompositing(sourceColor.blue,sourceColor.alpha,backdrop.blue,backdrop.alpha,blendMode),αo=function clamp2(value,min,max2){return Math.min(Math.max(min,value),max2)}(sourceColor.alpha+backdrop.alpha*(1-sourceColor.alpha),0,1);if(0===αo)return new color_default(r,g2,b2,αo);var Cr=Math.round(r/αo),Cg=Math.round(g2/αo),Cb=Math.round(b2/αo);return new color_default(Cr,Cg,Cb,αo)};function _flattenShadowColors(fgColor,bgColor){var alpha=fgColor.alpha,r=(1-alpha)*bgColor.red+alpha*fgColor.red,g2=(1-alpha)*bgColor.green+alpha*fgColor.green,b2=(1-alpha)*bgColor.blue+alpha*fgColor.blue,a2=fgColor.alpha+bgColor.alpha*(1-fgColor.alpha);return new color_default(r,g2,b2,a2)}function _getBackgroundStack(node){for(var stacks=get_text_element_stack_default(node).map((function(stack){return stack=function sortPageBackground(elmStack){var bodyIndex=elmStack.indexOf(document.body),bgNodes=elmStack,htmlBgColor=get_own_background_color_default(window.getComputedStyle(document.documentElement));if(bodyIndex>1&&0===htmlBgColor.alpha&&!element_has_image_default(document.documentElement)){bodyIndex>1&&(bgNodes.splice(bodyIndex,1),bgNodes.push(document.body));var htmlIndex=bgNodes.indexOf(document.documentElement);htmlIndex>0&&(bgNodes.splice(htmlIndex,1),bgNodes.push(document.documentElement))}return bgNodes}(stack=reduce_to_elements_below_floating_default(stack,node))})),index=0;index1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,ignoreEdgeCount=void 0!==_ref101$ignoreEdgeCou&&_ref101$ignoreEdgeCou,shadowMap=function getShadowColorsMap(parsedShadows){var _step16,colorMap={},_iterator16=_createForOfIteratorHelper(parsedShadows);try{for(_iterator16.s();!(_step16=_iterator16.n()).done;){var _colorMap$colorStr,_step16$value=_step16.value,colorStr=_step16$value.colorStr,pixels=_step16$value.pixels;null!==(_colorMap$colorStr=colorMap[colorStr])&&void 0!==_colorMap$colorStr||(colorMap[colorStr]={top:[],right:[],bottom:[],left:[]});var borders=colorMap[colorStr],_pixels=_slicedToArray(pixels,2),offsetX=_pixels[0],offsetY=_pixels[1];offsetX>VISIBLE_SHADOW_MIN_PX?borders.right.push(offsetX):-offsetX>VISIBLE_SHADOW_MIN_PX&&borders.left.push(-offsetX),offsetY>VISIBLE_SHADOW_MIN_PX?borders.bottom.push(offsetY):-offsetY>VISIBLE_SHADOW_MIN_PX&&borders.top.push(-offsetY)}}catch(err){_iterator16.e(err)}finally{_iterator16.f()}return colorMap}(parsedShadows),shadowsByColor=Object.entries(shadowMap).map((function(_ref102){var _ref103=_slicedToArray(_ref102,2),colorStr=_ref103[0],sides=_ref103[1],edgeCount=edges.filter((function(side){return 0!==sides[side].length})).length;return{colorStr,sides,edgeCount}}));return!ignoreEdgeCount&&shadowsByColor.some((function(_ref104){var edgeCount=_ref104.edgeCount;return edgeCount>1&&edgeCount<4}))?null:shadowsByColor.map(shadowGroupToColor).filter((function(shadow){return null!==shadow}))}function shadowGroupToColor(_ref105){var colorStr=_ref105.colorStr,sides=_ref105.sides;if(4!==_ref105.edgeCount)return null;var strokeColor=new color_default;strokeColor.parseString(colorStr);var density=0,isSolid=!0;return edges.forEach((function(edge){density+=sides[edge].length/4,isSolid&&(isSolid=sides[edge].every((function(offset){return offset>OPAQUE_STROKE_OFFSET_MIN_PX})))})),isSolid||(strokeColor.alpha=1-Math.pow(SHADOW_STROKE_ALPHA,density)),strokeColor}function _parseTextShadows(textShadow){var current={pixels:[]},str=textShadow.trim(),shadows=[current];if(!str)return[];for(;str;){var colorMatch=str.match(/^[a-z]+(\([^)]+\))?/i)||str.match(/^#[0-9a-f]+/i),pixelMatch=str.match(/^([0-9.-]+)px/i)||str.match(/^(0)/);if(colorMatch)assert_default(!current.colorStr,"Multiple colors identified in text-shadow: ".concat(textShadow)),str=str.replace(colorMatch[0],"").trim(),current.colorStr=colorMatch[0];else if(pixelMatch){assert_default(current.pixels.length<3,"Too many pixel units in text-shadow: ".concat(textShadow)),str=str.replace(pixelMatch[0],"").trim();var pixelUnit=parseFloat(("."===pixelMatch[1][0]?"0":"")+pixelMatch[1]);current.pixels.push(pixelUnit)}else{if(","!==str[0])throw new Error("Unable to process text-shadows: ".concat(str));assert_default(current.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(textShadow)),current={pixels:[]},shadows.push(current),str=str.substr(1).trim()}}return shadows.forEach((function(_ref106){var pixels=_ref106.pixels;2===pixels.length&&pixels.push(0)})),shadows}function _getTextShadowColors(node){var _ref107=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},minRatio=_ref107.minRatio,maxRatio=_ref107.maxRatio,ignoreEdgeCount=_ref107.ignoreEdgeCount,shadowColors=[],style=window.getComputedStyle(node),textShadow=style.getPropertyValue("text-shadow");if("none"===textShadow)return shadowColors;var fontSizeStr=style.getPropertyValue("font-size"),fontSize=parseInt(fontSizeStr);assert_default(!1===isNaN(fontSize),"Unable to determine font-size value ".concat(fontSizeStr));var _step17,thinShadows=[],_iterator17=_createForOfIteratorHelper(_parseTextShadows(textShadow));try{for(_iterator17.s();!(_step17=_iterator17.n()).done;){var shadow=_step17.value,colorStr=shadow.colorStr||style.getPropertyValue("color"),_shadow$pixels=_slicedToArray(shadow.pixels,3),offsetX=_shadow$pixels[0],offsetY=_shadow$pixels[1],_shadow$pixels$=_shadow$pixels[2],blurRadius=void 0===_shadow$pixels$?0:_shadow$pixels$;if(!(maxRatio&&blurRadius>=fontSize*maxRatio))if(minRatio&&blurRadius0){var _strokeColors=_getStrokeColorsFromShadows(thinShadows,{ignoreEdgeCount});if(null===_strokeColors)return null;shadowColors.push.apply(shadowColors,_toConsumableArray(_strokeColors)),thinShadows.splice(0,thinShadows.length)}var _color3=textShadowColor({colorStr,offsetX,offsetY,blurRadius,fontSize});shadowColors.push(_color3)}}}catch(err){_iterator17.e(err)}finally{_iterator17.f()}if(thinShadows.length>0){var strokeColors=_getStrokeColorsFromShadows(thinShadows,{ignoreEdgeCount});if(null===strokeColors)return null;shadowColors.push.apply(shadowColors,_toConsumableArray(strokeColors))}return shadowColors}function textShadowColor(_ref108){var colorStr=_ref108.colorStr,offsetX=_ref108.offsetX,offsetY=_ref108.offsetY,blurRadius=_ref108.blurRadius,fontSize=_ref108.fontSize;if(offsetX>blurRadius||offsetY>blurRadius)return new color_default(0,0,0,0);var shadowColor=new color_default;return shadowColor.parseString(colorStr),shadowColor.alpha*=function blurRadiusToAlpha(blurRadius,fontSize){if(0===blurRadius)return 1;var relativeBlur=blurRadius/fontSize;return.185/(relativeBlur+.4)}(blurRadius,fontSize),shadowColor}function _getStackingContext(elm,elmStack){var _elmStack,virtualNode=get_node_from_tree_default(elm);if(virtualNode._stackingContext)return virtualNode._stackingContext;var stackingContext=[],contextMap=new Map;return(elmStack=null!==(_elmStack=elmStack)&&void 0!==_elmStack?_elmStack:_getBackgroundStack(elm)).forEach((function(bgElm){var _stackingOrder2,bgVNode=get_node_from_tree_default(bgElm),bgColor=function getOwnBackgroundColor2(vNode){var bgColor=new color_default;return bgColor.parseString(vNode.getComputedStylePropertyValue("background-color")),bgColor}(bgVNode),stackingOrder=bgVNode._stackingOrder.filter((function(_ref109){return!!_ref109.vNode}));stackingOrder.forEach((function(_ref110,index){var _stackingOrder,vNode=_ref110.vNode,ancestorVNode2=null===(_stackingOrder=stackingOrder[index-1])||void 0===_stackingOrder?void 0:_stackingOrder.vNode,context2=addToStackingContext(contextMap,vNode,ancestorVNode2);0!==index||contextMap.get(vNode)||stackingContext.unshift(context2),contextMap.set(vNode,context2)}));var ancestorVNode=null===(_stackingOrder2=stackingOrder[stackingOrder.length-1])||void 0===_stackingOrder2?void 0:_stackingOrder2.vNode,context=addToStackingContext(contextMap,bgVNode,ancestorVNode);stackingOrder.length||stackingContext.unshift(context),context.bgColor=bgColor})),virtualNode._stackingContext=stackingContext,stackingContext}function _stackingContextToColor(context){var _context$descendants;if(null===(_context$descendants=context.descendants)||void 0===_context$descendants||!_context$descendants.length){var color2=context.bgColor;return color2.alpha*=context.opacity,{color:color2,blendMode:context.blendMode}}var sourceColor=context.descendants.reduce(reduceToColor,createStackingContext2()),color=flatten_colors_default(sourceColor,context.bgColor,context.descendants[0].blendMode);return color.alpha*=context.opacity,{color,blendMode:context.blendMode}}function reduceToColor(backdropContext,sourceContext){var backdrop;backdrop=backdropContext instanceof color_default?backdropContext:_stackingContextToColor(backdropContext).color;var sourceColor=_stackingContextToColor(sourceContext).color;return flatten_colors_default(sourceColor,backdrop,sourceContext.blendMode)}function createStackingContext2(vNode,ancestorContext){var _vNode$getComputedSty,blendmode;return{vNode,ancestor:ancestorContext,opacity:parseFloat(null!==(_vNode$getComputedSty=null==vNode?void 0:vNode.getComputedStylePropertyValue("opacity"))&&void 0!==_vNode$getComputedSty?_vNode$getComputedSty:1),bgColor:new color_default(0,0,0,0),blendMode:(blendmode=null==vNode?void 0:vNode.getComputedStylePropertyValue("mix-blend-mode"),blendmode||void 0),descendants:[]}}function addToStackingContext(contextMap,vNode,ancestorVNode){var _contextMap$get,ancestorContext=contextMap.get(ancestorVNode),context=null!==(_contextMap$get=contextMap.get(vNode))&&void 0!==_contextMap$get?_contextMap$get:createStackingContext2(vNode,ancestorContext);return ancestorContext&&ancestorVNode!==vNode&&!ancestorContext.descendants.includes(context)&&ancestorContext.descendants.unshift(context),context}function _getBackgroundColor2(elm){var bgElms=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],shadowOutlineEmMax=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,vNode=get_node_from_tree_default(elm),bgColorCache=vNode._cache.getBackgroundColor;if(bgColorCache)return bgElms.push.apply(bgElms,_toConsumableArray(bgColorCache.bgElms)),incomplete_data_default.set("bgColor",bgColorCache.incompleteData),bgColorCache.bgColor;var bgColor=function _getBackgroundColor(elm,bgElms,shadowOutlineEmMax){var _getTextShadowColors2,_bgColors,elmStack=_getBackgroundStack(elm);if(!elmStack)return null;var textRects=get_visible_child_text_rects_default(elm),bgColors=null!==(_getTextShadowColors2=_getTextShadowColors(elm,{minRatio:shadowOutlineEmMax,ignoreEdgeCount:!0}))&&void 0!==_getTextShadowColors2?_getTextShadowColors2:[];bgColors.length&&(bgColors=[{color:bgColors.reduce(_flattenShadowColors)}]);for(var _i31=0;_i31=nodeRect.top&&rect.bottom<=bottom&&rect.left>=nodeRect.left&&rect.right<=right}))}function normalizeBlendMode2(blendmode){return blendmode||void 0}var get_contrast_default=function getContrast(bgColor,fgColor){if(!fgColor||!bgColor)return null;fgColor.alpha<1&&(fgColor=flatten_colors_default(fgColor,bgColor));var bL=bgColor.getRelativeLuminance(),fL=fgColor.getRelativeLuminance();return(Math.max(fL,bL)+.05)/(Math.min(fL,bL)+.05)};function _getForegroundColor(node,_,bgColor){for(var _bgColor,options=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},nodeStyle=window.getComputedStyle(node),colorStack=[function(){return function getStrokeColor(nodeStyle,_ref111){var _ref111$textStrokeEmM=_ref111.textStrokeEmMin,textStrokeEmMin=void 0===_ref111$textStrokeEmM?0:_ref111$textStrokeEmM,strokeWidth=parseFloat(nodeStyle.getPropertyValue("-webkit-text-stroke-width"));if(0===strokeWidth)return null;var fontSize=nodeStyle.getPropertyValue("font-size"),relativeStrokeWidth=strokeWidth/parseFloat(fontSize);if(isNaN(relativeStrokeWidth)||relativeStrokeWidthexpectedContrastRatio,contrastRatio:contrast2,expectedContrastRatio}};var getPseudoElementArea=memoize_default((function getPseudoElementArea2(node,pseudo){var style=window.getComputedStyle(node,pseudo),matchPseudoStyle=function matchPseudoStyle(prop,value){return style.getPropertyValue(prop)===value};if(matchPseudoStyle("content","none")||matchPseudoStyle("display","none")||matchPseudoStyle("visibility","hidden")||!1===matchPseudoStyle("position","absolute"))return 0;if(0===get_own_background_color_default(style).alpha&&matchPseudoStyle("background-image","none"))return 0;var pseudoWidth=parseUnit(style.getPropertyValue("width")),pseudoHeight=parseUnit(style.getPropertyValue("height"));return"px"!==pseudoWidth.unit||"px"!==pseudoHeight.unit?0===pseudoWidth.value||0===pseudoHeight.value?0:1/0:pseudoWidth.value*pseudoHeight.value}));function parseUnit(str){var _ref115=_slicedToArray(str.match(/^([0-9.]+)([a-z]+)$/i)||[],3),_ref115$=_ref115[1],value=void 0===_ref115$?"":_ref115$,_ref115$2=_ref115[2],unit=void 0===_ref115$2?"":_ref115$2;return{value:parseFloat(value),unit:unit.toLowerCase()}}function getContrast2(color1,color2){var c1lum=color1.getRelativeLuminance(),c2lum=color2.getRelativeLuminance();return(Math.max(c1lum,c2lum)+.05)/(Math.min(c1lum,c2lum)+.05)}var blockLike2=["block","list-item","table","flex","grid","inline-block"];function isBlock2(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return-1!==blockLike2.indexOf(display2)||"table-"===display2.substr(0,6)}var link_in_text_block_evaluate_default=function linkInTextBlockEvaluate(node,options){var requiredContrastRatio=options.requiredContrastRatio,allowSameColor=options.allowSameColor;if(isBlock2(node))return!1;for(var parentBlock=get_composed_parent_default(node);parentBlock&&1===parentBlock.nodeType&&!isBlock2(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);if(parentBlock){this.relatedNodes([parentBlock]);var nodeColor=_getForegroundColor(node),parentColor=_getForegroundColor(parentBlock),nodeBackgroundColor=_getBackgroundColor2(node),parentBackgroundColor=_getBackgroundColor2(parentBlock),textContrast=nodeColor&&parentColor?getContrast2(nodeColor,parentColor):void 0;if(textContrast&&(textContrast=Math.floor(100*textContrast)/100),textContrast&&textContrast>=requiredContrastRatio)return!0;var backgroundContrast=nodeBackgroundColor&&parentBackgroundColor?getContrast2(nodeBackgroundColor,parentBackgroundColor):void 0;if(backgroundContrast&&(backgroundContrast=Math.floor(100*backgroundContrast)/100),backgroundContrast&&backgroundContrast>=requiredContrastRatio)return!0;if(!backgroundContrast){var _incomplete_data_defa,reason=null!==(_incomplete_data_defa=incomplete_data_default.get("bgColor"))&&void 0!==_incomplete_data_defa?_incomplete_data_defa:"bgContrast";return this.data({messageKey:reason}),void incomplete_data_default.clear()}if(textContrast)return!(!allowSameColor||1!==textContrast||1!==backgroundContrast)||(1===textContrast&&backgroundContrast>1?(this.data({messageKey:"bgContrast",contrastRatio:backgroundContrast,requiredContrastRatio,nodeBackgroundColor:nodeBackgroundColor?nodeBackgroundColor.toHexString():void 0,parentBackgroundColor:parentBackgroundColor?parentBackgroundColor.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:textContrast,requiredContrastRatio,nodeColor:nodeColor?nodeColor.toHexString():void 0,parentColor:parentColor?parentColor.toHexString():void 0}),!1))}},blockLike3=["block","list-item","table","flex","grid","inline-block"];function isBlock3(elm){var display2=window.getComputedStyle(elm).getPropertyValue("display");return-1!==blockLike3.indexOf(display2)||"table-"===display2.substr(0,6)}var autocomplete_appropriate_evaluate_default=function autocompleteAppropriateEvaluate(node,options,virtualNode){if("input"!==virtualNode.props.nodeName)return!0;var number=["text","search","number","tel"],url=["text","search","url"],allowedTypesMap={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":number,"cc-exp":["text","search","month","tel"],"cc-exp-month":number,"cc-exp-year":number,"cc-csc":number,"transaction-amount":number,"bday-day":number,"bday-month":number,"bday-year":number,"new-password":["text","search","password"],"current-password":["text","search","password"],url,photo:url,impp:url};"object"===_typeof(options)&&Object.keys(options).forEach((function(key){allowedTypesMap[key]||(allowedTypesMap[key]=[]),allowedTypesMap[key]=allowedTypesMap[key].concat(options[key])}));var autocompleteTerms=virtualNode.attr("autocomplete").split(/\s+/g).map((function(term){return term.toLowerCase()})),purposeTerm=autocompleteTerms[autocompleteTerms.length-1];if(_autocomplete.stateTerms.includes(purposeTerm))return!0;var allowedTypes=allowedTypesMap[purposeTerm],type2=virtualNode.hasAttr("type")?sanitize_default(virtualNode.attr("type")).toLowerCase():"text";return type2=valid_input_type_default().includes(type2)?type2:"text",void 0===allowedTypes?"text"===type2:allowedTypes.includes(type2)};var autocomplete_valid_evaluate_default=function autocompleteValidEvaluate(node,options,virtualNode){var autocomplete2=virtualNode.attr("autocomplete")||"";return is_valid_autocomplete_default(autocomplete2,options)};var attr_non_space_content_evaluate_default=function attrNonSpaceContentEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},vNode=arguments.length>2?arguments[2]:void 0;if(!options.attribute||"string"!=typeof options.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!vNode.hasAttr(options.attribute))return this.data({messageKey:"noAttr"}),!1;var attribute=vNode.attr(options.attribute);return!!sanitize_default(attribute)||(this.data({messageKey:"emptyAttr"}),!1)};var has_descendant_after_default=function pageHasElmAfter(results){return results.some((function(frameResult){return!0===frameResult.result}))&&results.forEach((function(result){result.result=!0})),results};var has_descendant_evaluate_default=function hasDescendant(node,options,virtualNode){if(!options||!options.selector||"string"!=typeof options.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(options.passForModal&&is_modal_open_default())return!0;var matchingElms=query_selector_all_filter_default(virtualNode,options.selector,(function(vNode){return _isVisibleToScreenReaders(vNode)}));return this.relatedNodes(matchingElms.map((function(vNode){return vNode.actualNode}))),matchingElms.length>0};var matches_definition_evaluate_default=function matchesDefinitionEvaluate(_,options,virtualNode){return matches_default2(virtualNode,options.matcher)};var page_no_duplicate_after_default=function pageNoDuplicateAfter(results){return results.filter((function(checkResult){return"ignored"!==checkResult.data}))};var page_no_duplicate_evaluate_default=function pageNoDuplicateEvaluate(node,options,virtualNode){if(!options||!options.selector||"string"!=typeof options.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var key="page-no-duplicate;"+options.selector;if(!cache_default.get(key)){cache_default.set(key,!0);var elms=query_selector_all_filter_default(axe._tree[0],options.selector,(function(elm){return _isVisibleToScreenReaders(elm)}));return"string"==typeof options.nativeScopeFilter&&(elms=elms.filter((function(elm){return elm.actualNode.hasAttribute("role")||!find_up_virtual_default(elm,options.nativeScopeFilter)}))),"string"==typeof options.role&&(elms=elms.filter((function(elm){return get_role_default(elm)===options.role}))),this.relatedNodes(elms.filter((function(elm){return elm!==virtualNode})).map((function(elm){return elm.actualNode}))),elms.length<=1}this.data("ignored")};var accesskeys_after_default=function accesskeysAfter(results){var seen={};return results.filter((function(r){if(!r.data)return!1;var key=r.data.toUpperCase();return seen[key]?(seen[key].relatedNodes.push(r.relatedNodes[0]),!1):(seen[key]=r,r.relatedNodes=[],!0)})).map((function(r){return r.result=!!r.relatedNodes.length,r}))};var accesskeys_evaluate_default=function accesskeysEvaluate(node,options,vNode){return _isHiddenForEveryone(vNode)||(this.data(vNode.attr("accesskey")),this.relatedNodes([node])),!0};var focusable_content_evaluate_default=function focusableContentEvaluate(node,options,virtualNode){var tabbableElements=virtualNode.tabbableElements;return!!tabbableElements&&tabbableElements.filter((function(el){return el!==virtualNode})).length>0};var focusable_disabled_evaluate_default=function focusableDisabledEvaluate(node,options,virtualNode){var elementsThatCanBeDisabled=["button","fieldset","input","select","textarea"],tabbableElements=virtualNode.tabbableElements;if(!tabbableElements||!tabbableElements.length)return!0;var relatedNodes=tabbableElements.filter((function(vNode){return elementsThatCanBeDisabled.includes(vNode.props.nodeName)}));return this.relatedNodes(relatedNodes.map((function(vNode){return vNode.actualNode}))),!(0!==relatedNodes.length&&!is_modal_open_default())||!!relatedNodes.every((function(vNode){var pointerEvents=vNode.getComputedStylePropertyValue("pointer-events"),width=parseInt(vNode.getComputedStylePropertyValue("width")),height=parseInt(vNode.getComputedStylePropertyValue("height"));return vNode.actualNode.onfocus||(0===width||0===height)&&"none"===pointerEvents}))&&void 0};var focusable_element_evaluate_default=function focusableElementEvaluate(node,options,virtualNode){return!(!virtualNode.hasAttr("contenteditable")||!function isContenteditable(vNode){var contenteditable=vNode.attr("contenteditable");if("true"===contenteditable||""===contenteditable)return!0;if("false"===contenteditable)return!1;var ancestor=closest_default(virtualNode.parent,"[contenteditable]");if(!ancestor)return!1;return isContenteditable(ancestor)}(virtualNode))||_isInTabOrder(virtualNode)};var focusable_modal_open_evaluate_default=function focusableModalOpenEvaluate(node,options,virtualNode){var tabbableElements=virtualNode.tabbableElements.map((function(_ref116){return _ref116.actualNode}));return!tabbableElements||!tabbableElements.length||(!is_modal_open_default()||void this.relatedNodes(tabbableElements))};var focusable_no_name_evaluate_default=function focusableNoNameEvaluate(node,options,virtualNode){var tabIndex=virtualNode.attr("tabindex");if(!(_isFocusable(virtualNode)&&tabIndex>-1))return!1;try{return!_accessibleTextVirtual(virtualNode)}catch(e){return}};var focusable_not_tabbable_evaluate_default=function focusableNotTabbableEvaluate(node,options,virtualNode){var elementsThatCanBeDisabled=["button","fieldset","input","select","textarea"],tabbableElements=virtualNode.tabbableElements;if(!tabbableElements||!tabbableElements.length)return!0;var relatedNodes=tabbableElements.filter((function(vNode){return!elementsThatCanBeDisabled.includes(vNode.props.nodeName)}));return this.relatedNodes(relatedNodes.map((function(vNode){return vNode.actualNode}))),!(0!==relatedNodes.length&&!is_modal_open_default())||!!relatedNodes.every((function(vNode){var pointerEvents=vNode.getComputedStylePropertyValue("pointer-events"),width=parseInt(vNode.getComputedStylePropertyValue("width")),height=parseInt(vNode.getComputedStylePropertyValue("height"));return vNode.actualNode.onfocus||(0===width||0===height)&&"none"===pointerEvents}))&&void 0};function focusableDescendants(vNode){if(_isInTabOrder(vNode))return!0;if(!vNode.children){if(1===vNode.props.nodeType)throw new Error("Cannot determine children");return!1}return vNode.children.some((function(child){return focusableDescendants(child)}))}var landmark_is_top_level_evaluate_default=function landmarkIsTopLevelEvaluate(node){var landmarks=get_aria_roles_by_type_default("landmark"),parent=get_composed_parent_default(node),nodeRole=get_role_default(node);for(this.data({role:nodeRole});parent;){var role=parent.getAttribute("role");if(role||"FORM"===parent.nodeName.toUpperCase()||(role=implicit_role_default(parent)),role&&landmarks.includes(role)&&("main"!==role||"complementary"!==nodeRole))return!1;parent=get_composed_parent_default(parent)}return!0};function getFocusableDescendants(vNode){if(!vNode.children){if(1===vNode.props.nodeType)throw new Error("Cannot determine children");return[]}var retVal=[];return vNode.children.forEach((function(child){"widget"===get_role_type_default(child)&&_isFocusable(child)?retVal.push(child):retVal.push.apply(retVal,_toConsumableArray(getFocusableDescendants(child)))})),retVal}function usesUnreliableHidingStrategy(vNode){var tabIndex=parseInt(vNode.attr("tabindex"),10);return!isNaN(tabIndex)&&tabIndex<0}var tabindex_evaluate_default=function tabindexEvaluate(node,options,virtualNode){var tabIndex=parseInt(virtualNode.attr("tabindex"),10);return!!isNaN(tabIndex)||tabIndex<=0};var alt_space_value_evaluate_default=function altSpaceValueEvaluate(node,options,virtualNode){var alt=virtualNode.attr("alt");return"string"==typeof alt&&/^\s+$/.test(alt)};var duplicate_img_label_evaluate_default=function duplicateImgLabelEvaluate(node,options,virtualNode){if(["none","presentation"].includes(get_role_default(virtualNode)))return!1;var parentVNode=closest_default(virtualNode,options.parentSelector);if(!parentVNode)return!1;var visibleText=visible_virtual_default(parentVNode,!0).toLowerCase();return""!==visibleText&&visibleText===_accessibleTextVirtual(virtualNode).toLowerCase()};var explicit_evaluate_default=function explicitEvaluate(node,options,virtualNode){var _this7=this;if(!virtualNode.attr("id"))return!1;if(virtualNode.actualNode){var root=get_root_node_default2(virtualNode.actualNode),id=escape_selector_default(virtualNode.attr("id")),labels=Array.from(root.querySelectorAll('label[for="'.concat(id,'"]')));if(this.relatedNodes(labels),!labels.length)return!1;try{return labels.some((function(label3){if(_isVisibleOnScreen(label3)){var explicitLabel=sanitize_default(accessible_text_default(label3,{inControlContext:!0,startNode:virtualNode}));return _this7.data({explicitLabel}),!!explicitLabel}return!0}))}catch(e){return}}};var help_same_as_label_evaluate_default=function helpSameAsLabelEvaluate(node,options,virtualNode){var labelText2=label_virtual_default2(virtualNode),check=node.getAttribute("title");return!!labelText2&&(check||(check="",node.getAttribute("aria-describedby")&&(check=idrefs_default(node,"aria-describedby").map((function(thing){return thing?accessible_text_default(thing):""})).join(""))),sanitize_default(check)===sanitize_default(labelText2))};var hidden_explicit_label_evaluate_default=function hiddenExplicitLabelEvaluate(node,options,virtualNode){if(virtualNode.hasAttr("id")){if(!virtualNode.actualNode)return;var root=get_root_node_default2(node),_id4=escape_selector_default(node.getAttribute("id")),label3=root.querySelector('label[for="'.concat(_id4,'"]'));if(label3&&!_isVisibleToScreenReaders(label3)){var name;try{name=_accessibleTextVirtual(virtualNode).trim()}catch(e){return}return""===name}}return!1};var implicit_evaluate_default=function implicitEvaluate(node,options,virtualNode){try{var label3=closest_default(virtualNode,"label");if(label3){var implicitLabel=sanitize_default(_accessibleTextVirtual(label3,{inControlContext:!0,startNode:virtualNode}));return label3.actualNode&&this.relatedNodes([label3.actualNode]),this.data({implicitLabel}),!!implicitLabel}return!1}catch(e){return}};function isStringContained(compare,compareWith){var curatedCompareWith=curateString(compareWith),curatedCompare=curateString(compare);return!(!curatedCompareWith||!curatedCompare)&&curatedCompareWith.includes(curatedCompare)}function curateString(str){var noUnicodeStr=remove_unicode_default(str,{emoji:!0,nonBmp:!0,punctuations:!0});return sanitize_default(noUnicodeStr)}var label_content_name_mismatch_evaluate_default=function labelContentNameMismatchEvaluate(node,options,virtualNode){var _options$occurrenceTh,pixelThreshold=null==options?void 0:options.pixelThreshold,occurrenceThreshold=null!==(_options$occurrenceTh=null==options?void 0:options.occurrenceThreshold)&&void 0!==_options$occurrenceTh?_options$occurrenceTh:null==options?void 0:options.occuranceThreshold,accText=accessible_text_default(node).toLowerCase();if(!(is_human_interpretable_default(accText)<1)){var visibleText=sanitize_default(subtree_text_default(virtualNode,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold,occurrenceThreshold})).toLowerCase();return!visibleText||(is_human_interpretable_default(visibleText)<1?!!isStringContained(visibleText,accText)||void 0:isStringContained(visibleText,accText))}};var multiple_label_evaluate_default=function multipleLabelEvaluate(node){var id=escape_selector_default(node.getAttribute("id")),parent=node.parentNode,root=get_root_node_default2(node);root=root.documentElement||root;var labels=Array.from(root.querySelectorAll('label[for="'.concat(id,'"]')));for(labels.length&&(labels=labels.filter((function(label3){return!_isHiddenForEveryone(label3)})));parent;)"LABEL"===parent.nodeName.toUpperCase()&&-1===labels.indexOf(parent)&&labels.push(parent),parent=parent.parentNode;if(this.relatedNodes(labels),labels.length>1){var ATVisibleLabels=labels.filter((function(label3){return _isVisibleToScreenReaders(label3)}));if(ATVisibleLabels.length>1)return;return!idrefs_default(node,"aria-labelledby").includes(ATVisibleLabels[0])&&void 0}return!1};var title_only_evaluate_default=function titleOnlyEvaluate(node,options,virtualNode){var labelText2=label_virtual_default2(virtualNode),title=title_text_default(virtualNode),ariaDescribedBy=virtualNode.attr("aria-describedby");return!(labelText2||!title&&!ariaDescribedBy)};var landmark_is_unique_after_default=function landmarkIsUniqueAfter(results){var uniqueLandmarks=[];return results.filter((function(currentResult){var matchedResult=uniqueLandmarks.find((function findMatch(someResult){return currentResult.data.role===someResult.data.role&¤tResult.data.accessibleText===someResult.data.accessibleText}));return matchedResult?(matchedResult.result=!1,matchedResult.relatedNodes.push(currentResult.relatedNodes[0]),!1):(uniqueLandmarks.push(currentResult),currentResult.relatedNodes=[],!0)}))};var landmark_is_unique_evaluate_default=function landmarkIsUniqueEvaluate(node,options,virtualNode){var role=get_role_default(node),accessibleText2=_accessibleTextVirtual(virtualNode);return accessibleText2=accessibleText2?accessibleText2.toLowerCase():null,this.data({role,accessibleText:accessibleText2}),this.relatedNodes([node]),!0};function hasValue(value){return""!==(value||"").trim()}var has_lang_evaluate_default=function hasLangEvaluate(node,options,virtualNode){var xhtml=void 0!==document&&is_xhtml_default(document);return options.attributes.includes("xml:lang")&&options.attributes.includes("lang")&&hasValue(virtualNode.attr("xml:lang"))&&!hasValue(virtualNode.attr("lang"))&&!xhtml?(this.data({messageKey:"noXHTML"}),!1):!!options.attributes.some((function(name){return hasValue(virtualNode.attr(name))}))||(this.data({messageKey:"noLang"}),!1)};var valid_lang_evaluate_default=function validLangEvaluate(node,options,virtualNode){var invalid=[];return options.attributes.forEach((function(langAttr){var langVal=virtualNode.attr(langAttr);if("string"==typeof langVal){var baselangVal=get_base_lang_default(langVal),invalidLang=options.value?!options.value.map(get_base_lang_default).includes(baselangVal):!valid_langs_default(baselangVal);(""!==baselangVal&&invalidLang||""!==langVal&&!sanitize_default(langVal))&&invalid.push(langAttr+'="'+virtualNode.attr(langAttr)+'"')}})),!!invalid.length&&(!("html"!==virtualNode.props.nodeName&&!_hasLangText(virtualNode))&&(this.data(invalid),!0))};var xml_lang_mismatch_evaluate_default=function xmlLangMismatchEvaluate(node,options,vNode){return get_base_lang_default(vNode.attr("lang"))===get_base_lang_default(vNode.attr("xml:lang"))};var dlitem_evaluate_default=function dlitemEvaluate(node){var parent=get_composed_parent_default(node),parentTagName=parent.nodeName.toUpperCase(),parentRole=get_explicit_role_default(parent);return"DIV"===parentTagName&&["presentation","none",null].includes(parentRole)&&(parentTagName=(parent=get_composed_parent_default(parent)).nodeName.toUpperCase(),parentRole=get_explicit_role_default(parent)),"DL"===parentTagName&&!(parentRole&&!["presentation","none","list"].includes(parentRole))};function getInvalidSelector(vChild,nested,_ref117){var _ref117$validRoles=_ref117.validRoles,validRoles=void 0===_ref117$validRoles?[]:_ref117$validRoles,_ref117$validNodeName=_ref117.validNodeNames,validNodeNames=void 0===_ref117$validNodeName?[]:_ref117$validNodeName,_vChild$props=vChild.props,nodeName2=_vChild$props.nodeName,nodeType=_vChild$props.nodeType,nodeValue=_vChild$props.nodeValue,selector=nested?"div > ":"";if(3===nodeType&&""!==nodeValue.trim())return selector+"#text";if(1!==nodeType||!_isVisibleToScreenReaders(vChild))return!1;var role=get_explicit_role_default(vChild);return role?!validRoles.includes(role)&&selector+"[role=".concat(role,"]"):!validNodeNames.includes(nodeName2)&&selector+nodeName2}function mapWithNested(vNodes){var nested=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return vNodes.map((function(vChild){return{vChild,nested}}))}var only_listitems_evaluate_default=function onlyListitemsEvaluate(node,options,virtualNode){var hasNonEmptyTextNode=!1,atLeastOneListitem=!1,isEmpty=!0,badNodes=[],badRoleNodes=[],badRoles=[];return virtualNode.children.forEach((function(vNode){var actualNode=vNode.actualNode;if(3!==actualNode.nodeType||""===actualNode.nodeValue.trim()){if(1===actualNode.nodeType&&_isVisibleToScreenReaders(actualNode)){isEmpty=!1;var isLi="LI"===actualNode.nodeName.toUpperCase(),role=get_role_default(vNode),isListItemRole="listitem"===role;isLi||isListItemRole||badNodes.push(actualNode),isLi&&!isListItemRole&&(badRoleNodes.push(actualNode),badRoles.includes(role)||badRoles.push(role)),isListItemRole&&(atLeastOneListitem=!0)}}else hasNonEmptyTextNode=!0})),hasNonEmptyTextNode||badNodes.length?(this.relatedNodes(badNodes),!0):!isEmpty&&!atLeastOneListitem&&(this.relatedNodes(badRoleNodes),this.data({messageKey:"roleNotValid",roles:badRoles.join(", ")}),!0)};var structured_dlitems_evaluate_default=function structuredDlitemsEvaluate(node,options,virtualNode){var children=virtualNode.children;if(!children||!children.length)return!1;for(var nodeName2,hasDt=!1,hasDd=!1,i=0;i ");return iframes[ancestry2]=result,!0}var ancestry=result.node.ancestry.slice(0,result.node.ancestry.length-1).flat(1/0).join(" > ");return iframes[ancestry]&&(iframes[ancestry].result=!0),!1}))};var frame_tested_evaluate_default=function frameTestedEvaluate(node,options){return!options.isViolation&&void 0};var no_autoplay_audio_evaluate_default=function noAutoplayAudioEvaluate(node,options){if(node.duration){var _options$allowedDurat=options.allowedDuration,allowedDuration=void 0===_options$allowedDurat?3:_options$allowedDurat;return function getPlayableDuration(elm){if(!elm.currentSrc)return 0;var playbackRange=function getPlaybackRange(src){var match=src.match(/#t=(.*)/);if(!match)return;return _slicedToArray(match,2)[1].split(",").map((function(range2){return/:/.test(range2)?function convertHourMinSecToSeconds(hhMmSs){var parts=hhMmSs.split(":"),secs=0,mins=1;for(;parts.length>0;)secs+=mins*parseInt(parts.pop(),10),mins*=60;return parseFloat(secs)}(range2):parseFloat(range2)}))}(elm.currentSrc);if(!playbackRange)return Math.abs(elm.duration-(elm.currentTime||0));if(1===playbackRange.length)return Math.abs(elm.duration-playbackRange[0]);return Math.abs(playbackRange[1]-playbackRange[0])}(node)<=allowedDuration&&!node.hasAttribute("loop")||!!node.hasAttribute("controls")}console.warn("axe.utils.preloadMedia did not load metadata")};var css_orientation_lock_evaluate_default=function cssOrientationLockEvaluate(node,options,virtualNode,context){var _ref118$cssom=(context||{}).cssom,cssom=void 0===_ref118$cssom?void 0:_ref118$cssom,_ref119$degreeThresho=(options||{}).degreeThreshold,degreeThreshold=void 0===_ref119$degreeThresho?0:_ref119$degreeThresho;if(cssom&&cssom.length){for(var isLocked=!1,relatedElements=[],rulesGroupByDocumentFragment=function groupCssomByDocument(cssObjectModel){return cssObjectModel.reduce((function(out,_ref121){var sheet=_ref121.sheet,root=_ref121.root,shadowId=_ref121.shadowId,key=shadowId||"topDocument";if(out[key]||(out[key]={root,rules:[]}),!sheet||!sheet.cssRules)return out;var rules=Array.from(sheet.cssRules);return out[key].rules=out[key].rules.concat(rules),out}),{})}(cssom),_loop8=function _loop8(){var key=_Object$keys3[_i34],_rulesGroupByDocument=rulesGroupByDocumentFragment[key],root=_rulesGroupByDocument.root,orientationRules=_rulesGroupByDocument.rules.filter(isMediaRuleWithOrientation);if(!orientationRules.length)return"continue";orientationRules.forEach((function(_ref120){var cssRules=_ref120.cssRules;Array.from(cssRules).forEach((function(cssRule){var locked=function getIsOrientationLocked(_ref123){var selectorText=_ref123.selectorText,style=_ref123.style;if(!selectorText||style.length<=0)return!1;var transformStyle=style.transform||style.webkitTransform||style.msTransform||!1;if(!transformStyle&&!style.rotate)return!1;var transformDegrees=function getTransformDegrees(transformStyle){if(!transformStyle)return 0;var matches4=transformStyle.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!matches4)return 0;var _matches2=_slicedToArray(matches4,3),transformFn=_matches2[1],transformFnValue=_matches2[2];return getRotationInDegrees(transformFn,transformFnValue)}(transformStyle),rotateDegrees=getRotationInDegrees("rotate",style.rotate),degrees=transformDegrees+rotateDegrees;if(!degrees)return!1;if(degrees=Math.abs(degrees),Math.abs(degrees-180)%180<=degreeThreshold)return!1;return Math.abs(degrees-90)%90<=degreeThreshold}(cssRule);if(locked&&"HTML"!==cssRule.selectorText.toUpperCase()){var elms=Array.from(root.querySelectorAll(cssRule.selectorText))||[];relatedElements=relatedElements.concat(elms)}isLocked=isLocked||locked}))}))},_i34=0,_Object$keys3=Object.keys(rulesGroupByDocumentFragment);_i34<_Object$keys3.length;_i34++)_loop8();return!isLocked||(relatedElements.length&&this.relatedNodes(relatedElements),!1)}function isMediaRuleWithOrientation(_ref122){var type2=_ref122.type,cssText=_ref122.cssText;return 4===type2&&(/orientation:\s*landscape/i.test(cssText)||/orientation:\s*portrait/i.test(cssText))}function getRotationInDegrees(transformFunction,transformFnValue){switch(transformFunction){case"rotate":case"rotateZ":return getAngleInDegrees(transformFnValue);case"rotate3d":var _transformFnValue$spl2=_slicedToArray(transformFnValue.split(",").map((function(value){return value.trim()})),4),z=_transformFnValue$spl2[2],angleWithUnit=_transformFnValue$spl2[3];if(0===parseInt(z))return;return getAngleInDegrees(angleWithUnit);case"matrix":case"matrix3d":return function getAngleInDegreesFromMatrixTransform(transformFnValue){var values2=transformFnValue.split(",");if(values2.length<=6){var _values=_slicedToArray(values2,2),a2=_values[0],b3=_values[1];return convertRadToDeg(Math.atan2(parseFloat(b3),parseFloat(a2)))}var sinB=parseFloat(values2[8]),b2=Math.asin(sinB),cosB=Math.cos(b2);return convertRadToDeg(Math.acos(parseFloat(values2[0])/cosB))}(transformFnValue);default:return 0}}function getAngleInDegrees(angleWithUnit){var unit=_slicedToArray(angleWithUnit.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!unit)return 0;var angle=parseFloat(angleWithUnit.replace(unit,""));switch(unit){case"rad":return convertRadToDeg(angle);case"grad":return function convertGradToDeg(grad){(grad%=400)<0&&(grad+=400);return Math.round(grad/400*360)}(angle);case"turn":return function convertTurnToDeg(turn){return Math.round(360/(1/turn))}(angle);default:return parseInt(angle)}}function convertRadToDeg(radians){return Math.round(radians*(180/Math.PI))}};var meta_viewport_scale_evaluate_default=function metaViewportScaleEvaluate(node,options,virtualNode){var _ref126=options||{},_ref126$scaleMinimum=_ref126.scaleMinimum,scaleMinimum=void 0===_ref126$scaleMinimum?2:_ref126$scaleMinimum,_ref126$lowerBound=_ref126.lowerBound,lowerBound=void 0!==_ref126$lowerBound&&_ref126$lowerBound,content=virtualNode.attr("content")||"";if(!content)return!0;var result=content.split(/[;,]/).reduce((function(out,item){var contentValue=item.trim();if(!contentValue)return out;var _contentValue$split2=_slicedToArray(contentValue.split("="),2),key=_contentValue$split2[0],value=_contentValue$split2[1];if(!key||!value)return out;var curatedKey=key.toLowerCase().trim(),curatedValue=value.toLowerCase().trim();return"maximum-scale"===curatedKey&&"yes"===curatedValue&&(curatedValue=1),"maximum-scale"===curatedKey&&parseFloat(curatedValue)<0||(out[curatedKey]=curatedValue),out}),{});if(lowerBound&&result["maximum-scale"]&&parseFloat(result["maximum-scale"])-1&&userScalableAsFloat<1?(this.data("user-scalable"),!1):!(result["maximum-scale"]&&parseFloat(result["maximum-scale"])=rectB.top&&rectA.left>=rectB.left&&rectA.bottom<=rectB.bottom&&rectA.right<=rectB.right}function getCssPointerEvents(vNode){return vNode.getComputedStylePropertyValue("pointer-events")}function toDecimalSize(rect){return{width:Math.round(10*rect.width)/10,height:Math.round(10*rect.height)/10}}function isDescendantNotInTabOrder2(vAncestor,vNode){return vAncestor.actualNode.contains(vNode.actualNode)&&!_isInTabOrder(vNode)}function mapActualNodes(vNodes){return vNodes.map((function(_ref129){return _ref129.actualNode}))}function mergeHeadingOrder(mergedHeadingOrder,result){var _result$data,frameHeadingOrder=null===(_result$data=result.data)||void 0===_result$data?void 0:_result$data.headingOrder,frameAncestry=shortenArray(result.node.ancestry,1);if(!frameHeadingOrder)return mergedHeadingOrder;var normalizedHeadingOrder=frameHeadingOrder.map((function(heading){return function addFrameToHeadingAncestry(heading,frameAncestry){var ancestry=frameAncestry.concat(heading.ancestry);return _extends({},heading,{ancestry})}(heading,frameAncestry)})),index=function getFrameIndex(headingOrder,frameAncestry){for(;frameAncestry.length;){var index=findHeadingOrderIndex(headingOrder,frameAncestry);if(-1!==index)return index;frameAncestry=shortenArray(frameAncestry,1)}return-1}(mergedHeadingOrder,frameAncestry);return-1===index?mergedHeadingOrder.push.apply(mergedHeadingOrder,_toConsumableArray(normalizedHeadingOrder)):mergedHeadingOrder.splice.apply(mergedHeadingOrder,[index,0].concat(_toConsumableArray(normalizedHeadingOrder))),mergedHeadingOrder}function findHeadingOrderIndex(headingOrder,ancestry){return headingOrder.findIndex((function(heading){return _matchAncestry(heading.ancestry,ancestry)}))}function shortenArray(arr,spliceLength){return arr.slice(0,arr.length-spliceLength)}function getLevel(vNode){var role=get_role_default(vNode),headingRole=role&&role.includes("heading"),ariaHeadingLevel=vNode.attr("aria-level"),ariaLevel=parseInt(ariaHeadingLevel,10),headingLevel=_slicedToArray(vNode.props.nodeName.match(/h(\d)/)||[],2)[1];return headingRole?headingLevel&&!ariaHeadingLevel?parseInt(headingLevel,10):isNaN(ariaLevel)||ariaLevel<1?headingLevel?parseInt(headingLevel,10):2:ariaLevel||-1:-1}var heading_order_evaluate_default=function headingOrderEvaluate(){var headingOrder=cache_default.get("headingOrder");if(headingOrder)return!0;var vNodes=query_selector_all_filter_default(axe._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",_isVisibleToScreenReaders);return headingOrder=vNodes.map((function(vNode){return{ancestry:[_getAncestry(vNode.actualNode)],level:getLevel(vNode)}})),this.data({headingOrder}),cache_default.set("headingOrder",vNodes),!0};function isIdenticalObject(a2,b2){if(!a2||!b2)return!1;var aProps=Object.getOwnPropertyNames(a2),bProps=Object.getOwnPropertyNames(b2);return aProps.length===bProps.length&&aProps.every((function(propName){var aValue=a2[propName],bValue=b2[propName];return _typeof(aValue)===_typeof(bValue)&&("object"===_typeof(aValue)||"object"===_typeof(bValue)?isIdenticalObject(aValue,bValue):aValue===bValue)}))}var identical_links_same_purpose_after_default=function identicalLinksSamePurposeAfter(results){if(results.length<2)return results;for(var incompleteResults=results.filter((function(_ref135){return void 0!==_ref135.result})),uniqueResults=[],nameMap={},_loop9=function _loop9(index){var _currentResult$relate,currentResult=incompleteResults[index],_currentResult$data=currentResult.data,name=_currentResult$data.name,urlProps=_currentResult$data.urlProps;if(nameMap[name])return"continue";var sameNameResults=incompleteResults.filter((function(_ref136,resultNum){return _ref136.data.name===name&&resultNum!==index})),isSameUrl=sameNameResults.every((function(_ref137){return isIdenticalObject(_ref137.data.urlProps,urlProps)}));sameNameResults.length&&!isSameUrl&&(currentResult.result=void 0),currentResult.relatedNodes=[],(_currentResult$relate=currentResult.relatedNodes).push.apply(_currentResult$relate,_toConsumableArray(sameNameResults.map((function(node){return node.relatedNodes[0]})))),nameMap[name]=sameNameResults,uniqueResults.push(currentResult)},index=0;index=rowEnd&&!headers;row--)for(var col=colStart;col>=colEnd;col--){var cell=tableGrid[row]?tableGrid[row][col]:void 0;if(cell){var vNode=axe.utils.getNodeFromTree(cell);if(vNode[property]){headers=vNode[property];break}cells.push(cell)}}return headers=(headers||[]).concat(cells.filter(predicate)),cells.forEach((function(tableCell){axe.utils.getNodeFromTree(tableCell)[property]=headers})),headers}var get_headers_default=function getHeaders(cell,tableGrid){if(cell.getAttribute("headers")){var headers=idrefs_default(cell,"headers");if(headers.filter((function(header){return header})).length)return headers}tableGrid||(tableGrid=to_grid_default(find_up_default(cell,"table")));var position=get_cell_position_default(cell,tableGrid),rowHeaders=traverseForHeaders("row",position,tableGrid),colHeaders=traverseForHeaders("col",position,tableGrid);return[].concat(rowHeaders,colHeaders).reverse()};var is_data_cell_default=function isDataCell(cell){if(!cell.children.length&&!cell.textContent.trim())return!1;var role=cell.getAttribute("role");return is_valid_role_default(role)?["cell","gridcell"].includes(role):"TD"===cell.nodeName.toUpperCase()};var is_data_table_default=function isDataTable(node){var role=(node.getAttribute("role")||"").toLowerCase();if(("presentation"===role||"none"===role)&&!_isFocusable(node))return!1;if("true"===node.getAttribute("contenteditable")||find_up_default(node,'[contenteditable="true"]'))return!0;if("grid"===role||"treegrid"===role||"table"===role)return!0;if("landmark"===get_role_type_default(role))return!0;if("0"===node.getAttribute("datatable"))return!1;if(node.getAttribute("summary"))return!0;if(node.tHead||node.tFoot||node.caption)return!0;for(var childIndex=0,childLength=node.children.length;childIndex=5)return!0;if(hasBorder)return!0;for(rowIndex=0;rowIndex=20||!(get_element_coordinates_default(node).width>.95*get_viewport_size_default(window).width)&&(!(cells<10)&&!node.querySelector("object, embed, iframe, applet"))};var is_header_default=function isHeader(cell){if(is_column_header_default(cell)||is_row_header_default(cell))return!0;if(cell.getAttribute("id")){var _id5=escape_selector_default(cell.getAttribute("id"));return!!document.querySelector('[headers~="'.concat(_id5,'"]'))}return!1};function traverseTable(dir,position,tableGrid,callback){var result,cell=tableGrid[position.y]?tableGrid[position.y][position.x]:void 0;return cell?"function"==typeof callback&&!0===(result=callback(cell,position,tableGrid))?[cell]:((result=traverseTable(dir,{x:position.x+dir.x,y:position.y+dir.y},tableGrid,callback)).unshift(cell),result):[]}var traverse_default=function traverse(dir,startPos,tableGrid,callback){if(Array.isArray(startPos)&&(callback=tableGrid,tableGrid=startPos,startPos={x:0,y:0}),"string"==typeof dir)switch(dir){case"left":dir={x:-1,y:0};break;case"up":dir={x:0,y:-1};break;case"right":dir={x:1,y:0};break;case"down":dir={x:0,y:1}}return traverseTable(dir,{x:startPos.x+dir.x,y:startPos.y+dir.y},tableGrid,callback)};var identical_links_same_purpose_evaluate_default=function identicalLinksSamePurposeEvaluate(node,options,virtualNode){var accText=text_exports.accessibleTextVirtual(virtualNode),name=text_exports.sanitize(text_exports.removeUnicode(accText,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(name){var afterData={name,urlProps:dom_exports.urlPropsFromAttribute(node,"href")};return this.data(afterData),this.relatedNodes([node]),!0}};var internal_link_present_evaluate_default=function internalLinkPresentEvaluate(node,options,virtualNode){return query_selector_all_default(virtualNode,"a[href]").some((function(vLink){return/^#[^/!]/.test(vLink.attr("href"))}))},separatorRegex=/[;,\s]/,validRedirectNumRegex=/^[0-9.]+$/;function normalizeFontWeight(weight){switch(weight){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return weight=parseInt(weight),isNaN(weight)?400:weight}function getStyleValues(node){var style=window.getComputedStyle(function getTextContainer(elm){for(var nextNode=elm,outerText=elm.textContent.trim(),innerText=outerText;innerText===outerText&&void 0!==nextNode;){var _i35=-1;if(0===(elm=nextNode).children.length)return elm;do{_i35++,innerText=elm.children[_i35].textContent.trim()}while(""===innerText&&_i35+1styleB.fontSize)&&(!margin.weight||styleA.fontWeight-margin.weight>styleB.fontWeight)&&(!margin.italic||styleA.isItalic&&!styleB.isItalic)}),!1)}var p_as_heading_evaluate_default=function pAsHeadingEvaluate(node,options,virtualNode){var siblings=Array.from(node.parentNode.children),currentIndex=siblings.indexOf(node),margins=(options=options||{}).margins||[],nextSibling=siblings.slice(currentIndex+1).find((function(elm){return"P"===elm.nodeName.toUpperCase()})),prevSibling=siblings.slice(0,currentIndex).reverse().find((function(elm){return"P"===elm.nodeName.toUpperCase()})),currStyle=getStyleValues(node),nextStyle=nextSibling?getStyleValues(nextSibling):null,prevStyle=prevSibling?getStyleValues(prevSibling):null,optionsPassLength=options.passLength,optionsFailLength=options.failLength,headingLength=node.textContent.trim().length,paragraphLength=null==nextSibling?void 0:nextSibling.textContent.trim().length;if(headingLength>paragraphLength*optionsPassLength)return!0;if(!nextStyle||!isHeaderStyle(currStyle,nextStyle,margins))return!0;var blockquote=find_up_virtual_default(virtualNode,"blockquote");return!!(blockquote&&"BLOCKQUOTE"===blockquote.nodeName.toUpperCase()||prevStyle&&!isHeaderStyle(currStyle,prevStyle,margins)||headingLength>paragraphLength*optionsFailLength)&&void 0};var region_after_default=function regionAfter(results){var iframeResults=results.filter((function(r){return r.data.isIframe}));return results.forEach((function(r){if(!r.result&&1!==r.node.ancestry.length){var _step21,frameAncestry=r.node.ancestry.slice(0,-1),_iterator21=_createForOfIteratorHelper(iframeResults);try{for(_iterator21.s();!(_step21=_iterator21.n()).done;){var iframeResult=_step21.value;if(_matchAncestry(frameAncestry,iframeResult.node.ancestry)){r.result=iframeResult.result;break}}}catch(err){_iterator21.e(err)}finally{_iterator21.f()}}})),iframeResults.forEach((function(r){r.result||(r.result=!0)})),results},implicitAriaLiveRoles=["alert","log","status"];function findRegionlessElms(virtualNode,options){var node=virtualNode.actualNode;if("button"===get_role_default(virtualNode)||function isRegion(virtualNode,options){var node=virtualNode.actualNode,role=get_role_default(virtualNode),ariaLive=(node.getAttribute("aria-live")||"").toLowerCase().trim(),landmarkRoles2=get_aria_roles_by_type_default("landmark");if(["assertive","polite"].includes(ariaLive)||implicitAriaLiveRoles.includes(role))return!0;if(landmarkRoles2.includes(role))return!0;if(options.regionMatcher&&matches_default2(virtualNode,options.regionMatcher))return!0;return!1}(virtualNode,options)||["iframe","frame"].includes(virtualNode.props.nodeName)||_isSkipLink(virtualNode.actualNode)&&get_element_by_reference_default(virtualNode.actualNode,"href")||!_isVisibleToScreenReaders(node)){for(var vNode=virtualNode;vNode;)vNode._hasRegionDescendant=!0,vNode=vNode.parent;return["iframe","frame"].includes(virtualNode.props.nodeName)?[virtualNode]:[]}return node!==document.body&&has_content_default(node,!0)?[virtualNode]:virtualNode.children.filter((function(_ref139){return 1===_ref139.actualNode.nodeType})).map((function(vNode){return findRegionlessElms(vNode,options)})).reduce((function(a2,b2){return a2.concat(b2)}),[])}var skip_link_evaluate_default=function skipLinkEvaluate(node){var target=get_element_by_reference_default(node,"href");return!!target&&(_isVisibleToScreenReaders(target)||void 0)};var unique_frame_title_after_default=function uniqueFrameTitleAfter(results){var titles={};return results.forEach((function(r){titles[r.data]=void 0!==titles[r.data]?++titles[r.data]:0})),results.forEach((function(r){r.result=!!titles[r.data]})),results};var unique_frame_title_evaluate_default=function uniqueFrameTitleEvaluate(node,options,vNode){var title=sanitize_default(vNode.attr("title")).toLowerCase();return this.data(title),!0};var duplicate_id_after_default=function duplicateIdAfter(results){var uniqueIds=[];return results.filter((function(r){return-1===uniqueIds.indexOf(r.data)&&(uniqueIds.push(r.data),!0)}))};var duplicate_id_evaluate_default=function duplicateIdEvaluate(node){var id=node.getAttribute("id").trim();if(!id)return!0;var root=get_root_node_default2(node),matchingNodes=Array.from(root.querySelectorAll('[id="'.concat(escape_selector_default(id),'"]'))).filter((function(foundNode){return foundNode!==node}));return matchingNodes.length&&this.relatedNodes(matchingNodes),this.data(id),0===matchingNodes.length};var aria_label_evaluate_default=function ariaLabelEvaluate(node,options,virtualNode){return!!sanitize_default(_arialabelText(virtualNode))};var aria_labelledby_evaluate_default=function ariaLabelledbyEvaluate(node,options,virtualNode){try{return!!sanitize_default(arialabelledby_text_default(virtualNode))}catch(e){return}};var avoid_inline_spacing_evaluate_default=function avoidInlineSpacingEvaluate(node,options){var overriddenProperties=options.cssProperties.filter((function(property){if("important"===node.style.getPropertyPriority(property))return property}));return!(overriddenProperties.length>0)||(this.data(overriddenProperties),!1)};var doc_has_title_evaluate_default=function docHasTitleEvaluate(){var title=document.title;return!!sanitize_default(title)};var exists_evaluate_default=function existsEvaluate(){};var has_alt_evaluate_default=function hasAltEvaluate(node,options,virtualNode){var nodeName2=virtualNode.props.nodeName;return!!["img","input","area"].includes(nodeName2)&&virtualNode.hasAttr("alt")};var is_on_screen_evaluate_default=function isOnScreenEvaluate(node){return _isVisibleOnScreen(node)};var non_empty_if_present_evaluate_default=function nonEmptyIfPresentEvaluate(node,options,virtualNode){var nodeName2=virtualNode.props.nodeName,type2=(virtualNode.attr("type")||"").toLowerCase(),label3=virtualNode.attr("value");return label3&&this.data({messageKey:"has-label"}),!("input"!==nodeName2||!["submit","reset"].includes(type2))&&null===label3};var svg_non_empty_title_evaluate_default=function svgNonEmptyTitleEvaluate(node,options,virtualNode){if(virtualNode.children){var titleNode=virtualNode.children.find((function(_ref141){return"title"===_ref141.props.nodeName}));if(!titleNode)return this.data({messageKey:"noTitle"}),!1;try{if(""===subtree_text_default(titleNode,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}};var caption_faked_evaluate_default=function captionFakedEvaluate(node){var table=to_grid_default(node),firstRow=table[0];return table.length<=1||firstRow.length<=1||node.rows.length<=1||firstRow.reduce((function(out,curr,i){return out||curr!==firstRow[i+1]&&void 0!==firstRow[i+1]}),!1)};var html5_scope_evaluate_default=function html5ScopeEvaluate(node){return!is_html5_default(document)||"TH"===node.nodeName.toUpperCase()},same_caption_summary_evaluate_default=function sameCaptionSummaryEvaluate(node,options,virtualNode){if(void 0===virtualNode.children)return;var summary=virtualNode.attr("summary"),captionNode=virtualNode.children.find(isCaptionNode),caption=!!captionNode&&sanitize_default(subtree_text_default(captionNode));if(!caption||!summary)return!1;return sanitize_default(summary).toLowerCase()===sanitize_default(caption).toLowerCase()};function isCaptionNode(virtualNode){return"caption"===virtualNode.props.nodeName}var scope_value_evaluate_default=function scopeValueEvaluate(node,options){var value=node.getAttribute("scope").toLowerCase();return-1!==options.values.indexOf(value)};var td_has_header_evaluate_default=function tdHasHeaderEvaluate(node){var badCells=[],cells=get_all_cells_default(node),tableGrid=to_grid_default(node);return cells.forEach((function(cell){has_content_default(cell)&&is_data_cell_default(cell)&&!label_default2(cell)&&(get_headers_default(cell,tableGrid).some((function(header){return null!==header&&!!has_content_default(header)}))||badCells.push(cell))})),!badCells.length||(this.relatedNodes(badCells),!1)};var th_has_data_cells_evaluate_default=function thHasDataCellsEvaluate(node){var cells=get_all_cells_default(node),checkResult=this,reffedHeaders=[];cells.forEach((function(cell){var headers2=cell.getAttribute("headers");headers2&&(reffedHeaders=reffedHeaders.concat(headers2.split(/\s+/)));var ariaLabel=cell.getAttribute("aria-labelledby");ariaLabel&&(reffedHeaders=reffedHeaders.concat(ariaLabel.split(/\s+/)))}));var headers=cells.filter((function(cell){return""!==sanitize_default(cell.textContent)&&("TH"===cell.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(cell.getAttribute("role")))})),tableGrid=to_grid_default(node),out=!0;return headers.forEach((function(header){if(!header.getAttribute("id")||!reffedHeaders.includes(header.getAttribute("id"))){var pos=get_cell_position_default(header,tableGrid),hasCell=!1;is_column_header_default(header)&&(hasCell=traverse_default("down",pos,tableGrid).find((function(cell){return!is_column_header_default(cell)&&get_headers_default(cell,tableGrid).includes(header)}))),!hasCell&&is_row_header_default(header)&&(hasCell=traverse_default("right",pos,tableGrid).find((function(cell){return!is_row_header_default(cell)&&get_headers_default(cell,tableGrid).includes(header)}))),hasCell||checkResult.relatedNodes(header),out=out&&hasCell}})),!!out||void 0};var hidden_content_evaluate_default=function hiddenContentEvaluate(node,options,virtualNode){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(node.nodeName.toUpperCase())&&has_content_virtual_default(virtualNode)){var styles=window.getComputedStyle(node);if("none"===styles.getPropertyValue("display"))return;if("hidden"===styles.getPropertyValue("visibility")){var parent=get_composed_parent_default(node),parentStyle=parent&&window.getComputedStyle(parent);if(!parentStyle||"hidden"!==parentStyle.getPropertyValue("visibility"))return}}return!0};var aria_allowed_attr_matches_default=function ariaAllowedAttrMatches(node,virtualNode){var aria=/^aria-/,attrs=virtualNode.attrNames;if(attrs.length)for(var _i36=0,l=attrs.length;_i360&&ariaLabelledbyControls.every(is_disabled_default))return!1;if(!function hasRealTextChildren(virtualNode){var visibleText=visible_virtual_default(virtualNode,!1,!0);if(""===visibleText||""===remove_unicode_default(visibleText,removeUnicodeOptions))return!1;return virtualNode.children.some((function(vChild){return"#text"===vChild.props.nodeName&&!_isIconLigature(vChild)}))}(virtualNode))return!1;for(var range2=document.createRange(),childNodes=virtualNode.children,index=0;index=3&&tableArray[0].length>=3&&tableArray[1].length>=3&&tableArray[2].length>=3}return!1};var data_table_matches_default=function dataTableMatches(node){return is_data_table_default(node)};var duplicate_id_active_matches_default=function duplicateIdActiveMatches(node){var id=node.getAttribute("id").trim(),idSelector='*[id="'.concat(escape_selector_default(id),'"]'),idMatchingElms=Array.from(get_root_node_default2(node).querySelectorAll(idSelector));return!is_accessible_ref_default(node)&&idMatchingElms.some(_isFocusable)};var duplicate_id_aria_matches_default=function duplicateIdAriaMatches(node){return is_accessible_ref_default(node)};var duplicate_id_misc_matches_default=function duplicateIdMiscMatches(node){var id=node.getAttribute("id").trim(),idSelector='*[id="'.concat(escape_selector_default(id),'"]'),idMatchingElms=Array.from(get_root_node_default2(node).querySelectorAll(idSelector));return!is_accessible_ref_default(node)&&idMatchingElms.every((function(elm){return!_isFocusable(elm)}))};var frame_focusable_content_matches_default=function frameFocusableContentMatches(node,virtualNode,context){var _context$size,_context$size2;return!context.initiator&&!context.focusable&&(null===(_context$size=context.size)||void 0===_context$size?void 0:_context$size.width)*(null===(_context$size2=context.size)||void 0===_context$size2?void 0:_context$size2.height)>1};var frame_title_has_text_matches_default=function frameTitleHasTextMatches(node){var title=node.getAttribute("title");return!!sanitize_default(title)};var has_implicit_chromium_role_matches_default=function hasImplicitChromiumRoleMatches(node,virtualNode){return null!==implicit_role_default(virtualNode,{chromium:!0})};var svg_namespace_matches_default=function svgNamespaceMatches(node,virtualNode){try{return"svg"===virtualNode.props.nodeName||!!closest_default(virtualNode,"svg")}catch(e){return!1}};var html_namespace_matches_default=function htmlNamespaceMatches(node,virtualNode){return!svg_namespace_matches_default(node,virtualNode)};var identical_links_same_purpose_matches_default=function identicalLinksSamePurposeMatches(node,virtualNode){if(!!!_accessibleTextVirtual(virtualNode))return!1;var role=get_role_default(node);return!role||"link"===role};var inserted_into_focus_order_matches_default=function insertedIntoFocusOrderMatches(node){return inserted_into_focus_order_default(node)};var label_content_name_mismatch_matches_default=function labelContentNameMismatchMatches(node,virtualNode){var role=get_role_default(node);return!!role&&(!!get_aria_roles_by_type_default("widget").includes(role)&&(!!get_aria_roles_supporting_name_from_content_default().includes(role)&&(!(!sanitize_default(_arialabelText(virtualNode))&&!sanitize_default(arialabelledby_text_default(node)))&&!!sanitize_default(visible_virtual_default(virtualNode)))))};var label_matches_default=function labelMatches(node,virtualNode){if("input"!==virtualNode.props.nodeName||!1===virtualNode.hasAttr("type"))return!0;var type2=virtualNode.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(type2)};var landmark_has_body_context_matches_default=function landmarkHasBodyContextMatches(node,virtualNode){return node.hasAttribute("role")||!find_up_virtual_default(virtualNode,"article, aside, main, nav, section")},excludedParentsForHeaderFooterLandmarks=["article","aside","main","nav","section"].join(",");var layout_table_matches_default=function dataTableMatches2(node){return!is_data_table_default(node)&&!_isFocusable(node)};var link_in_text_block_matches_default=function linkInTextBlockMatches(node){var text=sanitize_default(node.innerText),role=node.getAttribute("role");return(!role||"link"===role)&&(!!text&&(!!_isVisibleOnScreen(node)&&is_in_text_block_default(node)))};var nested_interactive_matches_default=function nestedInteractiveMatches(node,virtualNode){var role=get_role_default(virtualNode);return!!role&&!!standards_default.ariaRoles[role].childrenPresentational};var no_autoplay_audio_matches_default=function noAutoplayAudioMatches(node){return!!node.currentSrc&&(!node.hasAttribute("paused")&&!node.hasAttribute("muted"))};var no_empty_role_matches_default=function noEmptyRoleMatches(node,virtualNode){return!!virtualNode.hasAttr("role")&&!!virtualNode.attr("role").trim()};var no_explicit_name_required_matches_default=function noExplicitNameRequired(node,virtualNode){var role=get_explicit_role_default(virtualNode);return!(role&&!["none","presentation"].includes(role))||!(!(aria_roles_default[role]||{}).accessibleNameRequired&&!_isFocusable(virtualNode))};var no_naming_method_matches_default=function noNamingMethodMatches(node,virtualNode){var namingMethods=get_element_spec_default(virtualNode).namingMethods;return(!namingMethods||0===namingMethods.length)&&(("combobox"!==get_explicit_role_default(virtualNode)||!query_selector_all_default(virtualNode,'input:not([type="hidden"])').length)&&!_isComboboxPopup(virtualNode,{popupRoles:["listbox"]}))};var no_negative_tabindex_matches_default=function noNegativeTabindexMatches(node,virtualNode){var tabindex=parseInt(virtualNode.attr("tabindex"),10);return isNaN(tabindex)||tabindex>=0};var no_role_matches_default=function noRoleMatches(node,vNode){return!vNode.attr("role")};var not_html_matches_default=function notHtmlMatches(node,virtualNode){return"html"!==virtualNode.props.nodeName};function objectHasLoaded(node){var _node$ownerDocument;if(null==node||null===(_node$ownerDocument=node.ownerDocument)||void 0===_node$ownerDocument||!_node$ownerDocument.createRange)return!0;var range2=node.ownerDocument.createRange();return range2.setStart(node,0),range2.setEnd(node,node.childNodes.length),0===range2.getClientRects().length}var p_as_heading_matches_default=function pAsHeadingMatches(node){var children=Array.from(node.parentNode.childNodes),nodeText=node.textContent.trim();return!(0===nodeText.length||(nodeText.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==children.slice(children.indexOf(node)+1).filter((function(elm){return"P"===elm.nodeName.toUpperCase()&&""!==elm.textContent.trim()})).length};var presentation_role_conflict_matches_default=function presentationRoleConflictMatches(node,virtualNode){return null!==implicit_role_default(virtualNode,{chromiumRoles:!0})};var skip_link_matches_default=function skipLinkMatches(node){return _isSkipLink(node)&&is_offscreen_default(node)};var matchesFns=[function(node,vNode){return isWidgetType(vNode)},function(node,vNode){return function isNotAreaElement(vNode){return"area"!==vNode.props.nodeName}(vNode)},function(node,vNode){return!svg_namespace_matches_default(node,vNode)},function(node,vNode){return _isFocusable(vNode)},function(node,vNode){return _isInTabOrder(vNode)||!hasWidgetAncestorInTabOrder(vNode)},function(node){return!is_in_text_block_default(node,{noLengthCompare:!0})}];function isWidgetType(vNode){return"widget"===get_role_type_default(vNode)}var hasWidgetAncestorInTabOrder=memoize_default((function hasWidgetAncestorInTabOrderMemoized(vNode){return!(null==vNode||!vNode.parent)&&(!(!isWidgetType(vNode.parent)||!_isInTabOrder(vNode.parent))||hasWidgetAncestorInTabOrderMemoized(vNode.parent))}));var metadataFunctionMap={"abstractrole-evaluate":abstractrole_evaluate_default,"accesskeys-after":accesskeys_after_default,"accesskeys-evaluate":accesskeys_evaluate_default,"alt-space-value-evaluate":alt_space_value_evaluate_default,"aria-allowed-attr-evaluate":function ariaAllowedAttrEvaluate(node,options,virtualNode){var invalid=[],role=get_role_default(virtualNode),allowed=allowed_attr_default(role);Array.isArray(options[role])&&(allowed=unique_array_default(options[role].concat(allowed)));var _step15,_iterator15=_createForOfIteratorHelper(virtualNode.attrNames);try{for(_iterator15.s();!(_step15=_iterator15.n()).done;){var attrName=_step15.value;validate_attr_default(attrName)&&!allowed.includes(attrName)&&invalid.push(attrName)}}catch(err){_iterator15.e(err)}finally{_iterator15.f()}return!invalid.length||(this.data(invalid.map((function(attrName){return attrName+'="'+virtualNode.attr(attrName)+'"'}))),!(role||is_html_element_default(virtualNode)||_isFocusable(virtualNode))&&void 0)},"aria-allowed-attr-matches":aria_allowed_attr_matches_default,"aria-allowed-role-evaluate":aria_allowed_role_evaluate_default,"aria-allowed-role-matches":aria_allowed_role_matches_default,"aria-busy-evaluate":function ariaBusyEvaluate(node,options,virtualNode){return"true"===virtualNode.attr("aria-busy")},"aria-conditional-attr-evaluate":function ariaConditionalAttrEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode);return!conditionalRoleMap[role]||conditionalRoleMap[role].call(this,node,options,virtualNode)},"aria-conditional-checkbox-attr-evaluate":ariaConditionalCheckboxAttr,"aria-conditional-row-attr-evaluate":ariaConditionalRowAttr,"aria-errormessage-evaluate":function ariaErrormessageEvaluate(node,options,virtualNode){options=Array.isArray(options)?options:[];var errorMessageAttr=virtualNode.attr("aria-errormessage"),hasAttr=virtualNode.hasAttr("aria-errormessage"),invaid=virtualNode.attr("aria-invalid");return!virtualNode.hasAttr("aria-invalid")||"false"===invaid||(-1!==options.indexOf(errorMessageAttr)||!hasAttr||(this.data(token_list_default(errorMessageAttr)),function validateAttrValue2(attr){if(""===attr.trim())return standards_default.ariaAttrs["aria-errormessage"].allowEmpty;var idref;try{idref=attr&&idrefs_default(virtualNode,"aria-errormessage")[0]}catch(e){return void this.data({messageKey:"idrefs",values:token_list_default(attr)})}return idref?_isVisibleToScreenReaders(idref)?"alert"===idref.getAttribute("role")||"assertive"===idref.getAttribute("aria-live")||"polite"===idref.getAttribute("aria-live")||token_list_default(virtualNode.attr("aria-describedby")).indexOf(attr)>-1:(this.data({messageKey:"hidden",values:token_list_default(attr)}),!1):void 0}.call(this,errorMessageAttr)))},"aria-has-attr-matches":aria_has_attr_matches_default,"aria-hidden-body-evaluate":aria_hidden_body_evaluate_default,"aria-hidden-focus-matches":aria_hidden_focus_matches_default,"aria-label-evaluate":aria_label_evaluate_default,"aria-labelledby-evaluate":aria_labelledby_evaluate_default,"aria-level-evaluate":aria_level_evaluate_default,"aria-prohibited-attr-evaluate":function ariaProhibitedAttrEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,elementsAllowedAriaLabel=(null==options?void 0:options.elementsAllowedAriaLabel)||[],nodeName2=virtualNode.props.nodeName,role=get_role_default(virtualNode,{chromium:!0}),prohibited=function listProhibitedAttrs(role,nodeName2,elementsAllowedAriaLabel){var roleSpec=standards_default.ariaRoles[role];if(roleSpec)return roleSpec.prohibitedAttrs||[];if(role||elementsAllowedAriaLabel.includes(nodeName2))return[];return["aria-label","aria-labelledby"]}(role,nodeName2,elementsAllowedAriaLabel).filter((function(attrName){return!!virtualNode.attrNames.includes(attrName)&&""!==sanitize_default(virtualNode.attr(attrName))}));if(0===prohibited.length)return!1;var messageKey=virtualNode.hasAttr("role")?"hasRole":"noRole";messageKey+=prohibited.length>1?"Plural":"Singular",this.data({role,nodeName:nodeName2,messageKey,prohibited});var textContent=subtree_text_default(virtualNode,{subtreeDescendant:!0});return""===sanitize_default(textContent)||void 0},"aria-required-attr-evaluate":function ariaRequiredAttrEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,role=get_explicit_role_default(virtualNode),attrs=virtualNode.attrNames,requiredAttrs=required_attr_default(role);if(Array.isArray(options[role])&&(requiredAttrs=unique_array_default(options[role],requiredAttrs)),!role||!attrs.length||!requiredAttrs.length)return!0;if(function isStaticSeparator(vNode,role){return"separator"===role&&!_isFocusable(vNode)}(virtualNode,role)||function isClosedCombobox(vNode,role){return"combobox"===role&&"false"===vNode.attr("aria-expanded")}(virtualNode,role))return!0;var elmSpec=get_element_spec_default(virtualNode),missingAttrs=requiredAttrs.filter((function(requiredAttr2){return!virtualNode.attr(requiredAttr2)&&!function hasImplicitAttr(elmSpec,attr){var _elmSpec$implicitAttr;return void 0!==(null===(_elmSpec$implicitAttr=elmSpec.implicitAttrs)||void 0===_elmSpec$implicitAttr?void 0:_elmSpec$implicitAttr[attr])}(elmSpec,requiredAttr2)}));return!missingAttrs.length||(this.data(missingAttrs),!1)},"aria-required-children-evaluate":function ariaRequiredChildrenEvaluate(node,options,virtualNode){var reviewEmpty=options&&Array.isArray(options.reviewEmpty)?options.reviewEmpty:[],explicitRole2=get_explicit_role_default(virtualNode,{dpub:!0}),required=required_owned_default(explicitRole2);if(null===required)return!0;var ownedRoles=function getOwnedRoles(virtualNode,required){var vNode,ownedRoles=[],ownedVirtual=get_owned_virtual_default(virtualNode),_loop7=function _loop7(){if(3===vNode.props.nodeType&&ownedRoles.push({vNode,role:null}),1!==vNode.props.nodeType||!_isVisibleToScreenReaders(vNode))return"continue";var role=get_role_default(vNode,{noPresentational:!0}),globalAriaAttr=function getGlobalAriaAttr(vNode){return get_global_aria_attrs_default().find((function(attr){return vNode.hasAttr(attr)}))}(vNode),hasGlobalAriaOrFocusable=!!globalAriaAttr||_isFocusable(vNode);if(!role&&!hasGlobalAriaOrFocusable||["group","rowgroup"].includes(role)&&required.some((function(requiredRole){return requiredRole===role})))ownedVirtual.push.apply(ownedVirtual,_toConsumableArray(vNode.children));else if(role||hasGlobalAriaOrFocusable){var attr=globalAriaAttr||"tabindex";ownedRoles.push({role,attr,vNode})}};for(;vNode=ownedVirtual.shift();)_loop7();return ownedRoles}(virtualNode,required),unallowed=ownedRoles.filter((function(_ref96){var role=_ref96.role;return 1===_ref96.vNode.props.nodeType&&!required.includes(role)}));return unallowed.length?(this.relatedNodes(unallowed.map((function(_ref97){return _ref97.vNode}))),this.data({messageKey:"unallowed",values:unallowed.map((function(_ref98){return function getUnallowedSelector(vNode,attr){var _vNode$props=vNode.props,nodeName2=_vNode$props.nodeName;if(3===_vNode$props.nodeType)return"#text";var role=get_explicit_role_default(vNode,{dpub:!0});if(role)return"[role=".concat(role,"]");if(attr)return nodeName2+"[".concat(attr,"]");return nodeName2}(_ref98.vNode,_ref98.attr)})).filter((function(selector,index,array){return array.indexOf(selector)===index})).join(", ")}),!1):!!function hasRequiredChildren(required,ownedRoles){return ownedRoles.some((function(_ref99){var role=_ref99.role;return role&&required.includes(role)}))}(required,ownedRoles)||(this.data(required),!(!reviewEmpty.includes(explicitRole2)||ownedRoles.some(isContent))&&void 0)},"aria-required-children-matches":aria_required_children_matches_default,"aria-required-parent-evaluate":aria_required_parent_evaluate_default,"aria-required-parent-matches":aria_required_parent_matches_default,"aria-roledescription-evaluate":aria_roledescription_evaluate_default,"aria-unsupported-attr-evaluate":aria_unsupported_attr_evaluate_default,"aria-valid-attr-evaluate":aria_valid_attr_evaluate_default,"aria-valid-attr-value-evaluate":function ariaValidAttrValueEvaluate(node,options,virtualNode){options=Array.isArray(options.value)?options.value:[];var needsReview="",messageKey="",invalid=[],aria=/^aria-/,skipAttrs=["aria-errormessage"],preChecks={"aria-controls":function ariaControls(){return"false"!==virtualNode.attr("aria-expanded")&&"false"!==virtualNode.attr("aria-selected")},"aria-current":function ariaCurrent(validValue){validValue||(needsReview='aria-current="'.concat(virtualNode.attr("aria-current"),'"'),messageKey="ariaCurrent")},"aria-owns":function ariaOwns(){return"false"!==virtualNode.attr("aria-expanded")},"aria-describedby":function ariaDescribedby(validValue){validValue||(needsReview='aria-describedby="'.concat(virtualNode.attr("aria-describedby"),'"'),messageKey=axe._tree&&axe._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function ariaLabelledby(validValue){validValue||(needsReview='aria-labelledby="'.concat(virtualNode.attr("aria-labelledby"),'"'),messageKey=axe._tree&&axe._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return virtualNode.attrNames.forEach((function(attrName){if(!skipAttrs.includes(attrName)&&!options.includes(attrName)&&aria.test(attrName)){var validValue,attrValue=virtualNode.attr(attrName);try{validValue=validate_attr_value_default(virtualNode,attrName)}catch(e){return needsReview="".concat(attrName,'="').concat(attrValue,'"'),void(messageKey="idrefs")}preChecks[attrName]&&!preChecks[attrName](validValue)||validValue||(""!==attrValue||function isStringType(attrName){var _standards_default$ar;return"string"===(null===(_standards_default$ar=standards_default.ariaAttrs[attrName])||void 0===_standards_default$ar?void 0:_standards_default$ar.type)}(attrName)?invalid.push("".concat(attrName,'="').concat(attrValue,'"')):(needsReview=attrName,messageKey="empty"))}})),invalid.length?(this.data(invalid),!1):!needsReview||void this.data({messageKey,needsReview})},"attr-non-space-content-evaluate":attr_non_space_content_evaluate_default,"autocomplete-appropriate-evaluate":autocomplete_appropriate_evaluate_default,"autocomplete-matches":autocomplete_matches_default,"autocomplete-valid-evaluate":autocomplete_valid_evaluate_default,"avoid-inline-spacing-evaluate":avoid_inline_spacing_evaluate_default,"braille-label-equivalent-evaluate":function brailleLabelEquivalentEvaluate(node,options,virtualNode){var _virtualNode$attr;if(!(null!==(_virtualNode$attr=virtualNode.attr("aria-braillelabel"))&&void 0!==_virtualNode$attr?_virtualNode$attr:"").trim())return!0;try{return""!==sanitize_default(_accessibleTextVirtual(virtualNode))}catch(_unused){return}},"braille-roledescription-equivalent-evaluate":function brailleRoleDescriptionEquivalentEvaluate(node,options,virtualNode){var _virtualNode$attr2,brailleRoleDesc=null!==(_virtualNode$attr2=virtualNode.attr("aria-brailleroledescription"))&&void 0!==_virtualNode$attr2?_virtualNode$attr2:"";if(""===sanitize_default(brailleRoleDesc))return!0;var roleDesc=virtualNode.attr("aria-roledescription");return"string"!=typeof roleDesc?(this.data({messageKey:"noRoleDescription"}),!1):""!==sanitize_default(roleDesc)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":bypass_matches_default,"caption-evaluate":caption_evaluate_default,"caption-faked-evaluate":caption_faked_evaluate_default,"color-contrast-evaluate":function colorContrastEvaluate(node,options,virtualNode){var ignoreUnicode=options.ignoreUnicode,ignoreLength=options.ignoreLength,ignorePseudo=options.ignorePseudo,boldValue=options.boldValue,boldTextPt=options.boldTextPt,largeTextPt=options.largeTextPt,contrastRatio=options.contrastRatio,shadowOutlineEmMax=options.shadowOutlineEmMax,pseudoSizeThreshold=options.pseudoSizeThreshold;if(!_isVisibleOnScreen(node))return this.data({messageKey:"hidden"}),!0;var visibleText=visible_virtual_default(virtualNode,!1,!0);if(ignoreUnicode&&function textIsEmojis(visibleText){var options={nonBmp:!0},hasUnicodeChars=has_unicode_default(visibleText,options),hasNonUnicodeChars=""===sanitize_default(remove_unicode_default(visibleText,options));return hasUnicodeChars&&hasNonUnicodeChars}(visibleText))this.data({messageKey:"nonBmp"});else{var nodeStyle=window.getComputedStyle(node),fontSize=parseFloat(nodeStyle.getPropertyValue("font-size")),fontWeight=nodeStyle.getPropertyValue("font-weight"),bold=parseFloat(fontWeight)>=boldValue||"bold"===fontWeight,ptSize=Math.ceil(72*fontSize)/96,_ref112=bold&&ptSizeminimumSize)return vNode}while(vNode=vNode.parent)}(virtualNode,{ignorePseudo,pseudoSizeThreshold});if(pseudoElm)return this.data({fontSize:"".concat((72*fontSize/96).toFixed(1),"pt (").concat(fontSize,"px)"),fontWeight:bold?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:expected+":1"}),void this.relatedNodes(pseudoElm.actualNode);var shadowColors=_getTextShadowColors(node,{minRatio:.001,maxRatio:shadowOutlineEmMax});if(null!==shadowColors){var bgNodes=[],bgColor=_getBackgroundColor2(node,bgNodes,shadowOutlineEmMax),fgColor=_getForegroundColor(node,!1,bgColor,options),contrast2=null,contrastContributor=null,shadowColor=null;if(0===shadowColors.length)contrast2=get_contrast_default(bgColor,fgColor);else if(fgColor&&bgColor){shadowColor=[].concat(_toConsumableArray(shadowColors),[bgColor]).reduce(_flattenShadowColors);var fgBgContrast=get_contrast_default(bgColor,fgColor),bgShContrast=get_contrast_default(bgColor,shadowColor),fgShContrast=get_contrast_default(shadowColor,fgColor);(contrast2=Math.max(fgBgContrast,bgShContrast,fgShContrast))!==fgBgContrast&&(contrastContributor=bgShContrast>fgShContrast?"shadowOnBgColor":"fgOnShadowColor")}var isValid=contrast2>expected;if("number"==typeof minThreshold&&("number"!=typeof contrast2||contrast2maxThreshold))return this.data({contrastRatio:contrast2}),!0;var missing,truncatedResult=Math.floor(100*contrast2)/100;null===bgColor?missing=incomplete_data_default.get("bgColor"):isValid||(missing=contrastContributor);var equalRatio=1===truncatedResult,shortTextContent=1===visibleText.length;return equalRatio?missing=incomplete_data_default.set("bgColor","equalRatio"):isValid||!shortTextContent||ignoreLength||(missing="shortTextContent"),this.data({fgColor:fgColor?fgColor.toHexString():void 0,bgColor:bgColor?bgColor.toHexString():void 0,contrastRatio:truncatedResult,fontSize:"".concat((72*fontSize/96).toFixed(1),"pt (").concat(fontSize,"px)"),fontWeight:bold?"bold":"normal",messageKey:missing,expectedContrastRatio:expected+":1",shadowColor:shadowColor?shadowColor.toHexString():void 0}),null===fgColor||null===bgColor||equalRatio||shortTextContent&&!ignoreLength&&!isValid?(missing=null,incomplete_data_default.clear(),void this.relatedNodes(bgNodes)):(isValid||this.relatedNodes(bgNodes),isValid)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":color_contrast_matches_default,"css-orientation-lock-evaluate":css_orientation_lock_evaluate_default,"data-table-large-matches":data_table_large_matches_default,"data-table-matches":data_table_matches_default,"deprecatedrole-evaluate":function deprecatedroleEvaluate(node,options,virtualNode){var role=get_role_default(virtualNode,{dpub:!0,fallback:!0}),roleDefinition=standards_default.ariaRoles[role];return!(null==roleDefinition||!roleDefinition.deprecated)&&(this.data(role),!0)},"dlitem-evaluate":dlitem_evaluate_default,"doc-has-title-evaluate":doc_has_title_evaluate_default,"duplicate-id-active-matches":duplicate_id_active_matches_default,"duplicate-id-after":duplicate_id_after_default,"duplicate-id-aria-matches":duplicate_id_aria_matches_default,"duplicate-id-evaluate":duplicate_id_evaluate_default,"duplicate-id-misc-matches":duplicate_id_misc_matches_default,"duplicate-img-label-evaluate":duplicate_img_label_evaluate_default,"exists-evaluate":exists_evaluate_default,"explicit-evaluate":explicit_evaluate_default,"fallbackrole-evaluate":fallbackrole_evaluate_default,"focusable-content-evaluate":focusable_content_evaluate_default,"focusable-disabled-evaluate":focusable_disabled_evaluate_default,"focusable-element-evaluate":focusable_element_evaluate_default,"focusable-modal-open-evaluate":focusable_modal_open_evaluate_default,"focusable-no-name-evaluate":focusable_no_name_evaluate_default,"focusable-not-tabbable-evaluate":focusable_not_tabbable_evaluate_default,"frame-focusable-content-evaluate":function frameFocusableContentEvaluate(node,options,virtualNode){if(virtualNode.children)try{return!virtualNode.children.some((function(child){return focusableDescendants(child)}))}catch(e){return}},"frame-focusable-content-matches":frame_focusable_content_matches_default,"frame-tested-after":frame_tested_after_default,"frame-tested-evaluate":frame_tested_evaluate_default,"frame-title-has-text-matches":frame_title_has_text_matches_default,"has-alt-evaluate":has_alt_evaluate_default,"has-descendant-after":has_descendant_after_default,"has-descendant-evaluate":has_descendant_evaluate_default,"has-global-aria-attribute-evaluate":has_global_aria_attribute_evaluate_default,"has-implicit-chromium-role-matches":has_implicit_chromium_role_matches_default,"has-lang-evaluate":has_lang_evaluate_default,"has-text-content-evaluate":function hasTextContentEvaluate(node,options,virtualNode){try{return""!==sanitize_default(subtree_text_default(virtualNode))}catch(e){return}},"has-widget-role-evaluate":has_widget_role_evaluate_default,"heading-matches":function headingMatches(node,virtualNode){return"heading"===get_role_default(virtualNode)},"heading-order-after":function headingOrderAfter(results){var headingOrder=function getHeadingOrder(results){results=_toConsumableArray(results),results.sort((function(_ref130,_ref131){var nodeA=_ref130.node,nodeB=_ref131.node;return nodeA.ancestry.length-nodeB.ancestry.length}));var headingOrder=results.reduce(mergeHeadingOrder,[]);return headingOrder.filter((function(_ref132){return-1!==_ref132.level}))}(results);return results.forEach((function(result){result.result=function getHeadingOrderOutcome(result,headingOrder){var _headingOrder$index$l,_headingOrder$index,_headingOrder$level,_headingOrder,index=findHeadingOrderIndex(headingOrder,result.node.ancestry),currLevel=null!==(_headingOrder$index$l=null===(_headingOrder$index=headingOrder[index])||void 0===_headingOrder$index?void 0:_headingOrder$index.level)&&void 0!==_headingOrder$index$l?_headingOrder$index$l:-1,prevLevel=null!==(_headingOrder$level=null===(_headingOrder=headingOrder[index-1])||void 0===_headingOrder?void 0:_headingOrder.level)&&void 0!==_headingOrder$level?_headingOrder$level:-1;if(0===index)return!0;if(-1===currLevel)return;return currLevel-prevLevel<=1}(result,headingOrder)})),results},"heading-order-evaluate":heading_order_evaluate_default,"help-same-as-label-evaluate":help_same_as_label_evaluate_default,"hidden-content-evaluate":hidden_content_evaluate_default,"hidden-explicit-label-evaluate":hidden_explicit_label_evaluate_default,"html-namespace-matches":html_namespace_matches_default,"html5-scope-evaluate":html5_scope_evaluate_default,"identical-links-same-purpose-after":identical_links_same_purpose_after_default,"identical-links-same-purpose-evaluate":identical_links_same_purpose_evaluate_default,"identical-links-same-purpose-matches":identical_links_same_purpose_matches_default,"implicit-evaluate":implicit_evaluate_default,"inline-style-property-evaluate":function inlineStyleProperty(node,options){var cssProperty=options.cssProperty,absoluteValues=options.absoluteValues,minValue=options.minValue,maxValue=options.maxValue,_options$normalValue=options.normalValue,normalValue=void 0===_options$normalValue?0:_options$normalValue,noImportant=options.noImportant,multiLineOnly=options.multiLineOnly;if(!noImportant&&"important"!==node.style.getPropertyPriority(cssProperty)||multiLineOnly&&!_isMultiline(node))return!0;var data={};"number"==typeof minValue&&(data.minValue=minValue),"number"==typeof maxValue&&(data.maxValue=maxValue);var declaredPropValue=node.style.getPropertyValue(cssProperty);if(["inherit","unset","revert","revert-layer"].includes(declaredPropValue))return this.data(_extends({value:declaredPropValue},data)),!0;var value=function getNumberValue(domNode,_ref140){var cssProperty=_ref140.cssProperty,absoluteValues=_ref140.absoluteValues,normalValue=_ref140.normalValue,computedStyle=window.getComputedStyle(domNode),cssPropValue=computedStyle.getPropertyValue(cssProperty);if("normal"===cssPropValue)return normalValue;var parsedValue=parseFloat(cssPropValue);if(absoluteValues)return parsedValue;var fontSize=parseFloat(computedStyle.getPropertyValue("font-size")),value=Math.round(parsedValue/fontSize*100)/100;if(isNaN(value))return cssPropValue;return value}(node,{absoluteValues,cssProperty,normalValue});return this.data(_extends({value},data)),"number"==typeof value?("number"!=typeof minValue||value>=minValue)&&("number"!=typeof maxValue||value<=maxValue):void 0},"inserted-into-focus-order-matches":inserted_into_focus_order_matches_default,"internal-link-present-evaluate":internal_link_present_evaluate_default,"invalid-children-evaluate":function invalidChildrenEvaluate(node){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},virtualNode=arguments.length>2?arguments[2]:void 0,relatedNodes=[],issues=[];if(virtualNode.children){for(var vNode,vChildren=mapWithNested(virtualNode.children);vChildren.length;){var _vChild$actualNode,_vChildren$shift=vChildren.shift(),vChild=_vChildren$shift.vChild,nested=_vChildren$shift.nested;if(!options.divGroups||nested||("div"!==(vNode=vChild).props.nodeName||null!==get_explicit_role_default(vNode))){var issue=getInvalidSelector(vChild,nested,options);issue&&(issues.includes(issue)||issues.push(issue),1===(null==vChild||null===(_vChild$actualNode=vChild.actualNode)||void 0===_vChild$actualNode?void 0:_vChild$actualNode.nodeType)&&relatedNodes.push(vChild.actualNode))}else{if(!vChild.children)return;var vGrandChildren=mapWithNested(vChild.children,!0);vChildren.push.apply(vChildren,_toConsumableArray(vGrandChildren))}}return 0!==issues.length&&(this.data({values:issues.join(", ")}),this.relatedNodes(relatedNodes),!0)}},"invalidrole-evaluate":invalidrole_evaluate_default,"is-element-focusable-evaluate":is_element_focusable_evaluate_default,"is-initiator-matches":is_initiator_matches_default,"is-on-screen-evaluate":is_on_screen_evaluate_default,"is-visible-matches":function hasVisibleTextMatches(node){return _isVisibleOnScreen(node)},"is-visible-on-screen-matches":function isVisibleOnScreenMatches(node,virtualNode){return _isVisibleOnScreen(virtualNode)},"label-content-name-mismatch-evaluate":label_content_name_mismatch_evaluate_default,"label-content-name-mismatch-matches":label_content_name_mismatch_matches_default,"label-matches":label_matches_default,"landmark-has-body-context-matches":landmark_has_body_context_matches_default,"landmark-is-top-level-evaluate":landmark_is_top_level_evaluate_default,"landmark-is-unique-after":landmark_is_unique_after_default,"landmark-is-unique-evaluate":landmark_is_unique_evaluate_default,"landmark-unique-matches":function landmarkUniqueMatches(node,virtualNode){return function isLandmarkVirtual(vNode){var landmarkRoles2=get_aria_roles_by_type_default("landmark"),role=get_role_default(vNode);if(!role)return!1;var nodeName2=vNode.props.nodeName;if("header"===nodeName2||"footer"===nodeName2)return function isHeaderFooterLandmark(headerFooterElement){return!closest_default(headerFooterElement,excludedParentsForHeaderFooterLandmarks)}(vNode);if("section"===nodeName2||"form"===nodeName2){return!!_accessibleTextVirtual(vNode)}return landmarkRoles2.indexOf(role)>=0||"region"===role}(virtualNode)&&_isVisibleToScreenReaders(virtualNode)},"layout-table-matches":layout_table_matches_default,"link-in-text-block-evaluate":link_in_text_block_evaluate_default,"link-in-text-block-matches":link_in_text_block_matches_default,"link-in-text-block-style-evaluate":function linkInTextBlockStyleEvaluate(node){if(isBlock3(node))return!1;for(var parentBlock=get_composed_parent_default(node);parentBlock&&1===parentBlock.nodeType&&!isBlock3(parentBlock);)parentBlock=get_composed_parent_default(parentBlock);if(parentBlock){if(this.relatedNodes([parentBlock]),element_is_distinct_default(node,parentBlock))return!0;if(!function hasPseudoContent(node){for(var _i33=0,_arr4=["before","after"];_i33<_arr4.length;_i33++){var pseudo=_arr4[_i33];if("none"!==window.getComputedStyle(node,":".concat(pseudo)).getPropertyValue("content"))return!0}return!1}(node))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function listitemEvaluate(node,options,virtualNode){var parent=virtualNode.parent;if(parent){var parentNodeName=parent.props.nodeName,parentRole=get_explicit_role_default(parent);return!!["presentation","none","list"].includes(parentRole)||(parentRole&&is_valid_role_default(parentRole)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(parentNodeName))}},"matches-definition-evaluate":matches_definition_evaluate_default,"meta-refresh-evaluate":function metaRefreshEvaluate(node,options,virtualNode){var _ref138=options||{},minDelay=_ref138.minDelay,maxDelay=_ref138.maxDelay,redirectStr=_slicedToArray((virtualNode.attr("content")||"").trim().split(separatorRegex),1)[0];if(!redirectStr.match(validRedirectNumRegex))return!0;var redirectDelay=parseFloat(redirectStr);return this.data({redirectDelay}),"number"==typeof minDelay&&redirectDelay<=options.minDelay||"number"==typeof maxDelay&&redirectDelay>options.maxDelay},"meta-viewport-scale-evaluate":meta_viewport_scale_evaluate_default,"multiple-label-evaluate":multiple_label_evaluate_default,"nested-interactive-matches":nested_interactive_matches_default,"no-autoplay-audio-evaluate":no_autoplay_audio_evaluate_default,"no-autoplay-audio-matches":no_autoplay_audio_matches_default,"no-empty-role-matches":no_empty_role_matches_default,"no-explicit-name-required-matches":no_explicit_name_required_matches_default,"no-focusable-content-evaluate":function noFocusableContentEvaluate(node,options,virtualNode){if(virtualNode.children)try{var focusableDescendants2=getFocusableDescendants(virtualNode);if(!focusableDescendants2.length)return!0;var notHiddenElements=focusableDescendants2.filter(usesUnreliableHidingStrategy);return notHiddenElements.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(notHiddenElements)):this.relatedNodes(focusableDescendants2),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":no_implicit_explicit_label_evaluate_default,"no-naming-method-matches":no_naming_method_matches_default,"no-negative-tabindex-matches":no_negative_tabindex_matches_default,"no-role-matches":no_role_matches_default,"non-empty-if-present-evaluate":non_empty_if_present_evaluate_default,"not-html-matches":not_html_matches_default,"object-is-loaded-matches":function object_is_loaded_matches_default(node,vNode){return[no_explicit_name_required_matches_default,objectHasLoaded].every((function(fn){return fn(node,vNode)}))},"only-dlitems-evaluate":function onlyDlitemsEvaluate(node,options,virtualNode){var ALLOWED_ROLES=["definition","term","list"],result=virtualNode.children.reduce((function(vNodes,child){var actualNode=child.actualNode;return"DIV"===actualNode.nodeName.toUpperCase()&&null===get_role_default(actualNode)?vNodes.concat(child.children):vNodes.concat(child)}),[]).reduce((function(out,childNode){var actualNode=childNode.actualNode,tagName=actualNode.nodeName.toUpperCase();if(1===actualNode.nodeType&&_isVisibleToScreenReaders(actualNode)){var explicitRole2=get_explicit_role_default(actualNode);("DT"!==tagName&&"DD"!==tagName||explicitRole2)&&(ALLOWED_ROLES.includes(explicitRole2)||out.badNodes.push(actualNode))}else 3===actualNode.nodeType&&""!==actualNode.nodeValue.trim()&&(out.hasNonEmptyTextNode=!0);return out}),{badNodes:[],hasNonEmptyTextNode:!1});return result.badNodes.length&&this.relatedNodes(result.badNodes),!!result.badNodes.length||result.hasNonEmptyTextNode},"only-listitems-evaluate":only_listitems_evaluate_default,"p-as-heading-evaluate":p_as_heading_evaluate_default,"p-as-heading-matches":p_as_heading_matches_default,"page-no-duplicate-after":page_no_duplicate_after_default,"page-no-duplicate-evaluate":page_no_duplicate_evaluate_default,"presentation-role-conflict-matches":presentation_role_conflict_matches_default,"presentational-role-evaluate":function presentationalRoleEvaluate(node,options,virtualNode){var explicitRole2=get_explicit_role_default(virtualNode);if(["presentation","none"].includes(explicitRole2)&&["iframe","frame"].includes(virtualNode.props.nodeName)&&virtualNode.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:virtualNode.props.nodeName}),!1;var role=get_role_default(virtualNode);if(["presentation","none"].includes(role))return this.data({role}),!0;if(!["presentation","none"].includes(explicitRole2))return!1;var messageKey,hasGlobalAria=get_global_aria_attrs_default().some((function(attr){return virtualNode.hasAttr(attr)})),focusable=_isFocusable(virtualNode);return messageKey=hasGlobalAria&&!focusable?"globalAria":!hasGlobalAria&&focusable?"focusable":"both",this.data({messageKey,role}),!1},"region-after":region_after_default,"region-evaluate":function regionEvaluate(node,options,virtualNode){return this.data({isIframe:["iframe","frame"].includes(virtualNode.props.nodeName)}),!cache_default.get("regionlessNodes",(function(){return function getRegionlessNodes(options){var regionlessNodes=findRegionlessElms(axe._tree[0],options).map((function(vNode){for(;vNode.parent&&!vNode.parent._hasRegionDescendant&&vNode.parent.actualNode!==document.body;)vNode=vNode.parent;return vNode})).filter((function(vNode,index,array){return array.indexOf(vNode)===index}));return regionlessNodes}(options)})).includes(virtualNode)},"same-caption-summary-evaluate":same_caption_summary_evaluate_default,"scope-value-evaluate":scope_value_evaluate_default,"scrollable-region-focusable-matches":function scrollableRegionFocusableMatches(node,virtualNode){return void 0!==get_scroll_default(node,13)&&!1===_isComboboxPopup(virtualNode)&&function isNoneEmptyElement(vNode){return query_selector_all_default(vNode,"*").some((function(elm){return has_content_virtual_default(elm,!0,!0)}))}(virtualNode)},"skip-link-evaluate":skip_link_evaluate_default,"skip-link-matches":skip_link_matches_default,"structured-dlitems-evaluate":structured_dlitems_evaluate_default,"svg-namespace-matches":svg_namespace_matches_default,"svg-non-empty-title-evaluate":svg_non_empty_title_evaluate_default,"tabindex-evaluate":tabindex_evaluate_default,"table-or-grid-role-matches":function tableOrGridRoleMatches(_,vNode){var role=get_role_default(vNode);return["treegrid","grid","table"].includes(role)},"target-offset-evaluate":function targetOffsetEvaluate(node,options,vNode){var _step19,num,minOffset=(null==options?void 0:options.minOffset)||24,closeNeighbors=[],closestOffset=minOffset,_iterator19=_createForOfIteratorHelper(_findNearbyElms(vNode,minOffset));try{for(_iterator19.s();!(_step19=_iterator19.n()).done;){var vNeighbor=_step19.value;if("widget"===get_role_type_default(vNeighbor)&&_isFocusable(vNeighbor)){var offset=2*(num=_getOffset(vNode,vNeighbor,minOffset/2),Math.round(10*num)/10);offset+.05>=minOffset||(closestOffset=Math.min(closestOffset,offset),closeNeighbors.push(vNeighbor))}}}catch(err){_iterator19.e(err)}finally{_iterator19.f()}return 0===closeNeighbors.length?(this.data({closestOffset,minOffset}),!0):(this.relatedNodes(closeNeighbors.map((function(_ref127){return _ref127.actualNode}))),closeNeighbors.some(_isInTabOrder)?(this.data({closestOffset,minOffset}),!_isInTabOrder(vNode)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset,minOffset}))},"target-size-evaluate":function targetSize(node,options,vNode){var minSize=(null==options?void 0:options.minSize)||24,nodeRect=vNode.boundingClientRect,hasMinimumSize=_rectHasMinimumSize.bind(null,minSize),nearbyElms=_findNearbyElms(vNode),overflowingContent=function filterOverflowingContent(vNode,nearbyElms){return nearbyElms.filter((function(nearbyElm){return!isEnclosedRect2(nearbyElm,vNode)&&isDescendantNotInTabOrder2(vNode,nearbyElm)}))}(vNode,nearbyElms),_filterByElmsOverlap=function filterByElmsOverlap(vNode,nearbyElms){var _step20,fullyObscuringElms=[],partialObscuringElms=[],_iterator20=_createForOfIteratorHelper(nearbyElms);try{for(_iterator20.s();!(_step20=_iterator20.n()).done;){var vNeighbor=_step20.value;!isDescendantNotInTabOrder2(vNode,vNeighbor)&&_hasVisualOverlap(vNode,vNeighbor)&&"none"!==getCssPointerEvents(vNeighbor)&&(isEnclosedRect2(vNode,vNeighbor)?fullyObscuringElms.push(vNeighbor):partialObscuringElms.push(vNeighbor))}}catch(err){_iterator20.e(err)}finally{_iterator20.f()}return{fullyObscuringElms,partialObscuringElms}}(vNode,nearbyElms),fullyObscuringElms=_filterByElmsOverlap.fullyObscuringElms,partialObscuringElms=_filterByElmsOverlap.partialObscuringElms;if(fullyObscuringElms.length&&!overflowingContent.length)return this.relatedNodes(mapActualNodes(fullyObscuringElms)),this.data({messageKey:"obscured"}),!0;var negativeOutcome=!_isInTabOrder(vNode)&&void 0;if(!hasMinimumSize(nodeRect)&&!overflowingContent.length)return this.data(_extends({minSize},toDecimalSize(nodeRect))),negativeOutcome;var obscuredWidgets=function filterFocusableWidgets(vNodes){return vNodes.filter((function(vNode){return"widget"===get_role_type_default(vNode)&&_isFocusable(vNode)}))}(partialObscuringElms),largestInnerRect=function getLargestUnobscuredArea(vNode,obscuredNodes){var nodeRect=vNode.boundingClientRect;if(0===obscuredNodes.length)return null;var obscuringRects=obscuredNodes.map((function(_ref128){return _ref128.boundingClientRect})),unobscuredRects=_splitRects(nodeRect,obscuringRects);return function getLargestRect2(rects,minSize){return rects.reduce((function(rectA,rectB){var rectAisMinimum=_rectHasMinimumSize(minSize,rectA);return rectAisMinimum!==_rectHasMinimumSize(minSize,rectB)?rectAisMinimum?rectA:rectB:rectA.width*rectA.height>rectB.width*rectB.height?rectA:rectB}))}(unobscuredRects)}(vNode,obscuredWidgets);if(overflowingContent.length&&(fullyObscuringElms.length||!hasMinimumSize(largestInnerRect||nodeRect)))return this.data({minSize,messageKey:"contentOverflow"}),void this.relatedNodes(mapActualNodes(overflowingContent));if(0!==obscuredWidgets.length&&!hasMinimumSize(largestInnerRect)){var allTabbable=obscuredWidgets.every(_isInTabOrder),messageKey="partiallyObscured".concat(allTabbable?"":"NonTabbable");return this.data(_extends({messageKey,minSize},toDecimalSize(largestInnerRect))),this.relatedNodes(mapActualNodes(obscuredWidgets)),allTabbable?negativeOutcome:void 0}return this.data(_extends({minSize},toDecimalSize(largestInnerRect||nodeRect))),this.relatedNodes(mapActualNodes(obscuredWidgets)),!0},"td-has-header-evaluate":td_has_header_evaluate_default,"td-headers-attr-evaluate":function tdHeadersAttrEvaluate(node){for(var cells=[],reviewCells=[],badCells=[],rowIndex=0;rowIndex0?(this.relatedNodes(badCells),!1):!reviewCells.length||void this.relatedNodes(reviewCells)},"th-has-data-cells-evaluate":th_has_data_cells_evaluate_default,"title-only-evaluate":title_only_evaluate_default,"unique-frame-title-after":unique_frame_title_after_default,"unique-frame-title-evaluate":unique_frame_title_evaluate_default,"unsupportedrole-evaluate":unsupportedrole_evaluate_default,"valid-lang-evaluate":valid_lang_evaluate_default,"valid-scrollable-semantics-evaluate":valid_scrollable_semantics_evaluate_default,"widget-not-inline-matches":function widgetNotInline(node,vNode){return matchesFns.every((function(fn){return fn(node,vNode)}))},"window-is-top-matches":function windowIsTopMatches(node){return node.ownerDocument.defaultView.self===node.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":xml_lang_mismatch_evaluate_default,"xml-lang-mismatch-matches":function xmlLangMismatchMatches(node){var primaryLangValue=get_base_lang_default(node.getAttribute("lang")),primaryXmlLangValue=get_base_lang_default(node.getAttribute("xml:lang"));return valid_langs_default(primaryLangValue)&&valid_langs_default(primaryXmlLangValue)}},metadata_function_map_default=metadataFunctionMap;var check_result_default=function CheckResult(check){this.id=check.id,this.data=null,this.relatedNodes=[],this.result=null};function createExecutionContext(spec){if("string"==typeof spec){if(metadata_function_map_default[spec])return metadata_function_map_default[spec];if(/^\s*function[\s\w]*\(/.test(spec))return new Function("return "+spec+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(spec))}return spec}function normalizeOptions(){var options=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(options)||"object"!==_typeof(options))&&(options={value:options}),options}function Check(spec){spec&&(this.id=spec.id,this.configure(spec))}Check.prototype.enabled=!0,Check.prototype.run=function run(node,options,context,resolve,reject){var enabled=(options=options||{}).hasOwnProperty("enabled")?options.enabled:this.enabled,checkOptions=this.getOptions(options.options);if(enabled){var result,checkResult=new check_result_default(this),helper=check_helper_default(checkResult,options,resolve,reject);try{result=this.evaluate.call(helper,node.actualNode,checkOptions,node,context)}catch(e){return node&&node.actualNode&&(e.errorNode=node_serializer_default.toSpec(node)),void reject(e)}helper.isAsync||(checkResult.result=result,resolve(checkResult))}else resolve(null)},Check.prototype.runSync=function runSync(node,options,context){var _options2$enabled=(options=options||{}).enabled;if(!(void 0===_options2$enabled?this.enabled:_options2$enabled))return null;var result,checkOptions=this.getOptions(options.options),checkResult=new check_result_default(this),helper=check_helper_default(checkResult,options);helper.async=function async(){throw new Error("Cannot run async check while in a synchronous run")};try{result=this.evaluate.call(helper,node.actualNode,checkOptions,node,context)}catch(e){throw node&&node.actualNode&&(e.errorNode=node_serializer_default.toSpec(node)),e}return checkResult.result=result,checkResult},Check.prototype.configure=function configure2(spec){var _this8=this;spec.evaluate&&!metadata_function_map_default[spec.evaluate]||(this._internalCheck=!0),spec.hasOwnProperty("enabled")&&(this.enabled=spec.enabled),spec.hasOwnProperty("options")&&(this._internalCheck?this.options=normalizeOptions(spec.options):this.options=spec.options),["evaluate","after"].filter((function(prop){return spec.hasOwnProperty(prop)})).forEach((function(prop){return _this8[prop]=createExecutionContext(spec[prop])}))},Check.prototype.getOptions=function getOptions(options){return this._internalCheck?deep_merge_default(this.options,normalizeOptions(options||{})):options||this.options};var check_default=Check;var rule_result_default=function RuleResult(rule){this.id=rule.id,this.result=constants_default.NA,this.pageLevel=rule.pageLevel,this.impact=null,this.nodes=[]};function Rule(spec,parentAudit){this._audit=parentAudit,this.id=spec.id,this.selector=spec.selector||"*",spec.impact&&(assert_default(constants_default.impact.includes(spec.impact),"Impact ".concat(spec.impact," is not a valid impact")),this.impact=spec.impact),this.excludeHidden="boolean"!=typeof spec.excludeHidden||spec.excludeHidden,this.enabled="boolean"!=typeof spec.enabled||spec.enabled,this.pageLevel="boolean"==typeof spec.pageLevel&&spec.pageLevel,this.reviewOnFail="boolean"==typeof spec.reviewOnFail&&spec.reviewOnFail,this.any=spec.any||[],this.all=spec.all||[],this.none=spec.none||[],this.tags=spec.tags||[],this.preload=!!spec.preload,this.actIds=spec.actIds,spec.matches&&(this.matches=createExecutionContext(spec.matches))}function getResult(results){if(results.length){var hasResults=!1,result={};return results.forEach((function(r){var res=r.results.filter((function(_result){return _result}));result[r.type]=res,res.length&&(hasResults=!0)})),hasResults?result:null}}Rule.prototype.matches=function matches3(){return!0},Rule.prototype.gather=function gather(context){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},markStart="mark_gather_start_"+this.id,markEnd="mark_gather_end_"+this.id,markHiddenStart="mark_isVisibleToScreenReaders_start_"+this.id,markHiddenEnd="mark_isVisibleToScreenReaders_end_"+this.id;options.performanceTimer&&performance_timer_default.mark(markStart);var elements=_select(this.selector,context);return this.excludeHidden&&(options.performanceTimer&&performance_timer_default.mark(markHiddenStart),elements=elements.filter((function(element){return _isVisibleToScreenReaders(element)})),options.performanceTimer&&(performance_timer_default.mark(markHiddenEnd),performance_timer_default.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",markHiddenStart,markHiddenEnd))),options.performanceTimer&&(performance_timer_default.mark(markEnd),performance_timer_default.measure("rule_"+this.id+"#gather",markStart,markEnd)),elements},Rule.prototype.runChecks=function runChecks(type2,node,options,context,resolve,reject){var self2=this,checkQueue=queue_default();this[type2].forEach((function(c4){var check=self2._audit.checks[c4.id||c4],option=get_check_option_default(check,self2.id,options);checkQueue.defer((function(res,rej){check.run(node,option,context,res,rej)}))})),checkQueue.then((function(results){results=results.filter((function(check){return check})),resolve({type:type2,results})})).catch(reject)},Rule.prototype.runChecksSync=function runChecksSync(type2,node,options,context){var self2=this,results=[];return this[type2].forEach((function(c4){var check=self2._audit.checks[c4.id||c4],option=get_check_option_default(check,self2.id,options);results.push(check.runSync(node,option,context))})),{type:type2,results:results=results.filter((function(check){return check}))}},Rule.prototype.run=function run2(context){var _this9=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},resolve=arguments.length>2?arguments[2]:void 0,reject=arguments.length>3?arguments[3]:void 0;options.performanceTimer&&this._trackPerformance();var nodes,q=queue_default(),ruleResult=new rule_result_default(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){return void reject(new SupportError({cause:error,ruleId:this.id}))}options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){q.defer((function(resolveNode,rejectNode){var checkQueue=queue_default();["any","all","none"].forEach((function(type2){checkQueue.defer((function(res,rej){_this9.runChecks(type2,node,options,context,res,rej)}))})),checkQueue.then((function(results){var result=getResult(results);result&&(result.node=new dq_element_default(node),ruleResult.nodes.push(result),_this9.reviewOnFail&&(["any","all"].forEach((function(type2){result[type2].forEach((function(checkResult){!1===checkResult.result&&(checkResult.result=void 0)}))})),result.none.forEach((function(checkResult){!0===checkResult.result&&(checkResult.result=void 0)})))),resolveNode()})).catch((function(err2){return rejectNode(err2)}))}))})),q.defer((function(res){return setTimeout(res,0)})),options.performanceTimer&&this._logRulePerformance(),q.then((function(){return resolve(ruleResult)})).catch((function(error){return reject(error)}))},Rule.prototype.runSync=function runSync2(context){var _this10=this,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};options.performanceTimer&&this._trackPerformance();var nodes,ruleResult=new rule_result_default(this);try{nodes=this.gatherAndMatchNodes(context,options)}catch(error){throw new SupportError({cause:error,ruleId:this.id})}return options.performanceTimer&&this._logGatherPerformance(nodes),nodes.forEach((function(node){var results=[];["any","all","none"].forEach((function(type2){results.push(_this10.runChecksSync(type2,node,options,context))}));var result=getResult(results);result&&(result.node=node.actualNode?new dq_element_default(node):null,ruleResult.nodes.push(result),_this10.reviewOnFail&&(["any","all"].forEach((function(type2){result[type2].forEach((function(checkResult){!1===checkResult.result&&(checkResult.result=void 0)}))})),result.none.forEach((function(checkResult){!0===checkResult.result&&(checkResult.result=void 0)}))))})),options.performanceTimer&&this._logRulePerformance(),ruleResult},Rule.prototype._trackPerformance=function _trackPerformance(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},Rule.prototype._logGatherPerformance=function _logGatherPerformance(nodes){log_default("gather (",nodes.length,"):",performance_timer_default.timeElapsed()+"ms"),performance_timer_default.mark(this._markChecksStart)},Rule.prototype._logRulePerformance=function _logRulePerformance(){performance_timer_default.mark(this._markChecksEnd),performance_timer_default.mark(this._markEnd),performance_timer_default.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),performance_timer_default.measure("rule_"+this.id,this._markStart,this._markEnd)},Rule.prototype.gatherAndMatchNodes=function gatherAndMatchNodes(context,options){var _this11=this,markMatchesStart="mark_matches_start_"+this.id,markMatchesEnd="mark_matches_end_"+this.id,nodes=this.gather(context,options);return options.performanceTimer&&performance_timer_default.mark(markMatchesStart),nodes=nodes.filter((function(node){return _this11.matches(node.actualNode,node,context)})),options.performanceTimer&&(performance_timer_default.mark(markMatchesEnd),performance_timer_default.measure("rule_"+this.id+"#matches",markMatchesStart,markMatchesEnd)),nodes},Rule.prototype.after=function after(result,options){var _this12=this,afterChecks=function findAfterChecks(rule){return get_all_checks_default(rule).map((function(c4){var check=rule._audit.checks[c4.id||c4];return check&&"function"==typeof check.after?check:null})).filter(Boolean)}(this),ruleID=this.id;return afterChecks.forEach((function(check){var beforeResults=function findCheckResults(nodes,checkID){var checkResults=[];return nodes.forEach((function(nodeResult){get_all_checks_default(nodeResult).forEach((function(checkResult){checkResult.id===checkID&&(checkResult.node=nodeResult.node,checkResults.push(checkResult))}))})),checkResults}(result.nodes,check.id),checkOption=get_check_option_default(check,ruleID,options),afterResults=check.after(beforeResults,checkOption.options);_this12.reviewOnFail&&afterResults.forEach((function(checkResult){var changeAnyAllResults=(_this12.any.includes(checkResult.id)||_this12.all.includes(checkResult.id))&&!1===checkResult.result,changeNoneResult=_this12.none.includes(checkResult.id)&&!0===checkResult.result;(changeAnyAllResults||changeNoneResult)&&(checkResult.result=void 0)})),beforeResults.forEach((function(item){delete item.node,-1===afterResults.indexOf(item)&&(item.filtered=!0)}))})),result.nodes=function sanitizeNodes(result){var checkTypes2=["any","all","none"],nodes=result.nodes.filter((function(detail){var length=0;return checkTypes2.forEach((function(type2){detail[type2]=function filterChecks(checks){return checks.filter((function(check){return!0!==check.filtered}))}(detail[type2]),length+=detail[type2].length})),length>0}));return result.pageLevel&&nodes.length&&(nodes=[nodes.reduce((function(a2,b2){if(a2)return checkTypes2.forEach((function(type2){a2[type2].push.apply(a2[type2],b2[type2])})),a2}))]),nodes}(result),result},Rule.prototype.configure=function configure3(spec){spec.hasOwnProperty("selector")&&(this.selector=spec.selector),spec.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof spec.excludeHidden||spec.excludeHidden),spec.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof spec.enabled||spec.enabled),spec.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof spec.pageLevel&&spec.pageLevel),spec.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof spec.reviewOnFail&&spec.reviewOnFail),spec.hasOwnProperty("any")&&(this.any=spec.any),spec.hasOwnProperty("all")&&(this.all=spec.all),spec.hasOwnProperty("none")&&(this.none=spec.none),spec.hasOwnProperty("tags")&&(this.tags=spec.tags),spec.hasOwnProperty("actIds")&&(this.actIds=spec.actIds),spec.hasOwnProperty("matches")&&(this.matches=createExecutionContext(spec.matches)),spec.impact&&(assert_default(constants_default.impact.includes(spec.impact),"Impact ".concat(spec.impact," is not a valid impact")),this.impact=spec.impact)};var import_dot2=__toModule(require_doT()),dotRegex=/\{\{.+?\}\}/g,Audit=function(){function Audit(audit){_classCallCheck(this,Audit),this.lang="en",this.defaultConfig=audit,this.standards=standards_default,this._init(),this._defaultLocale=null}return _createClass(Audit,[{key:"_setDefaultLocale",value:function _setDefaultLocale(){if(!this._defaultLocale){for(var locale={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},checkIDs=Object.keys(this.data.checks),_i37=0;_i370&&void 0!==arguments[0]?arguments[0]:null,version=(axe.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(rule){_this13.data.rules[rule.id]||(_this13.data.rules[rule.id]={});var metaData=_this13.data.rules[rule.id];("string"!=typeof metaData.helpUrl||previous&&metaData.helpUrl===getHelpUrl(previous,rule.id,version))&&(metaData.helpUrl=getHelpUrl(_this13,rule.id,version))}))}},{key:"resetRulesAndChecks",value:function resetRulesAndChecks(){this._init(),this._resetLocale()}}]),Audit}(),audit_default=Audit;function getDefaultOrigin(){return window.origin&&"null"!==window.origin?window.origin:window.location&&window.location.origin&&"null"!==window.location.origin?window.location.origin:void 0}function unpackToObject(collection,audit,method){var i,l;for(i=0,l=collection.length;i2&&void 0!==arguments[2]?arguments[2]:{};options.reporter=options.reporter||axe._audit.reporter||"v1",axe._selectorData={},vNode instanceof abstract_virtual_node_default||(vNode=new serial_virtual_node_default(vNode));var rule=_getRule(ruleId);if(!rule)throw new Error("unknown rule `"+ruleId+"`");var context={initiator:!0,include:[vNode],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},rawResults=(rule=Object.create(rule,{excludeHidden:{value:!1}})).runSync(context,options);_publishMetaData(rawResults),_finalizeRuleResult(rawResults);var results=aggregate_result_default([rawResults]);return results.violations.forEach((function(result){return result.nodes.forEach((function(nodeResult){nodeResult.failureSummary=failure_summary_default(nodeResult)}))})),_extends({},_getEnvironmentData(),results,{toolOptions:options})},axe.run=function run4(){for(var _len7=arguments.length,args=new Array(_len7),_key9=0;_key9<_len7;_key9++)args[_key9]=arguments[_key9];setupGlobals(args[0]);var _normalizeRunParams=normalizeRunParams(args),context=_normalizeRunParams.context,options=_normalizeRunParams.options,_normalizeRunParams$c=_normalizeRunParams.callback,callback=void 0===_normalizeRunParams$c?noop2:_normalizeRunParams$c,_getPromiseHandlers=function getPromiseHandlers(callback){var thenable,reject,resolve;"function"==typeof Promise&&callback===noop2?thenable=new Promise((function(_resolve,_reject){reject=_reject,resolve=_resolve})):(resolve=function resolve(result){return callback(null,result)},reject=function reject(err2){return callback(err2)});return{thenable,reject,resolve}}(callback),thenable=_getPromiseHandlers.thenable,resolve=_getPromiseHandlers.resolve,reject=_getPromiseHandlers.reject;try{assert_default(axe._audit,"No audit configured"),assert_default(!axe._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function handleError(err2,callback){if("function"==typeof callback&&callback!==noop2)return void callback(err2.message);throw err2}(e,callback)}return axe._running=!0,options.performanceTimer&&axe.utils.performanceTimer.start(),axe._runRules(context,options,(function handleRunRules(rawResults,teardown2){var wrappedReject=function wrappedReject(err2){axe._running=!1,teardown2();try{reject(err2)}catch(e){axe.log(e)}};options.performanceTimer&&axe.utils.performanceTimer.end();try{!function createReport(rawResults,options,respond,reject){var reporter=getReporter(options.reporter),results=reporter(rawResults,options,respond,reject);void 0!==results&&respond(results)}(rawResults,options,(function respond(results){axe._running=!1,teardown2();try{resolve(results)}catch(e){axe.log(e)}}),wrappedReject)}catch(err2){wrappedReject(err2)}}),(function errorRunRules(err2){options.performanceTimer&&axe.utils.performanceTimer.end(),axe._running=!1,callback(err2),reject(err2)})),thenable},axe.setup=setup_default,axe.teardown=teardown_default,axe.runPartial=function runPartial(){for(var _len8=arguments.length,args=new Array(_len8),_key10=0;_key10<_len8;_key10++)args[_key10]=arguments[_key10];var _normalizeRunParams2=normalizeRunParams(args),options=_normalizeRunParams2.options,context=_normalizeRunParams2.context;assert_default(axe._audit,"Axe is not configured. Audit is missing."),assert_default(!axe._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var contextObj=new Context(context,axe._tree);return axe._tree=contextObj.flatTree,axe._selectorData=_getSelectorData(contextObj.flatTree),axe._running=!0,options.elementRef=!1,new Promise((function(res,rej){axe._audit.run(contextObj,options,res,rej)})).then((function(results){results=node_serializer_default.mapRawResults(results);var environmentData,frames=contextObj.frames.map((function(_ref147){var node=_ref147.node;return node_serializer_default.toSpec(node)}));return contextObj.initiator&&(environmentData=_getEnvironmentData()),axe._running=!1,teardown_default(),{results,frames,environmentData}})).catch((function(err2){return axe._running=!1,teardown_default(),Promise.reject(err2)}))},axe.finishRun=function finishRun(partialResults){var _ref149,_options$reporter2,_axe$_audit2,options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};options=_clone(options);var environmentData=(partialResults.find((function(r){return r.environmentData}))||{}).environmentData;axe._audit.normalizeOptions(options),options.reporter=null!==(_ref149=null!==(_options$reporter2=options.reporter)&&void 0!==_options$reporter2?_options$reporter2:null===(_axe$_audit2=axe._audit)||void 0===_axe$_audit2?void 0:_axe$_audit2.reporter)&&void 0!==_ref149?_ref149:"v1",function setFrameSpec(partialResults){var _step23,frameStack=[],_iterator23=_createForOfIteratorHelper(partialResults);try{for(_iterator23.s();!(_step23=_iterator23.n()).done;){var partialResult=_step23.value,frameSpec=frameStack.shift();if(partialResult){partialResult.frameSpec=null!=frameSpec?frameSpec:null;var frameSpecs=getMergedFrameSpecs(partialResult);frameStack.unshift.apply(frameStack,_toConsumableArray(frameSpecs))}}}catch(err){_iterator23.e(err)}finally{_iterator23.f()}}(partialResults);var results=merge_results_default(partialResults);return(results=axe._audit.after(results,options)).forEach(_publishMetaData),function createReport2(results,options){return new Promise((function(resolve,reject){getReporter(options.reporter)(results,options,resolve,reject)}))}(results=results.map(_finalizeRuleResult),_extends({environmentData},options))},axe.commons=commons_exports,axe.utils=utils_exports,axe.addReporter("na",na_default),axe.addReporter("no-passes",no_passes_default),axe.addReporter("rawEnv",raw_env_default),axe.addReporter("raw",raw_default),axe.addReporter("v1",v1_default),axe.addReporter("v2",v2_default,!0)}(),axe._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures elements of image maps have alternate text",help:"Active elements must have alternate text"},"aria-allowed-attr":{description:"Ensures an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensures ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensures elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensures aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensures ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures