From 3e85c779f257bc7d53bd3ae7a18d0f6096a6b77a Mon Sep 17 00:00:00 2001 From: Danny Wahl Date: Tue, 16 Jul 2024 09:45:13 -0600 Subject: [PATCH] Deploy v4.4.2+1721144689 --- ...ne-CSAPFqUt.js => IconRssLine-dU4u7fMc.js} | 2 +- assets/Mdtoui-Bwh6I7pz.js | 30 ------------ assets/Mdtoui-De8g0Gj_.js | 31 ++++++++++++ ...Juzk9-4.js => RenderTopNavBar-C6YLj6sY.js} | 2 +- .../{error-DeRkl5Z2.js => error-D4hOwfkO.js} | 2 +- .../{index-vlHfeEdv.js => index-BMjzoizO.js} | 2 +- .../{index-BGFQHV-c.js => index-BU6CM6-K.js} | 2 +- .../{index-D4PUjdd4.js => index-Bko_xNHh.js} | 47 ++++++++++--------- .../{index-DrEKPqe2.js => index-C29H8B_2.js} | 2 +- .../{index-CyJKhc9Y.js => index-DFC9d6f5.js} | 6 +-- .../{index-DXJB-CtN.js => index-FeyKb7iJ.js} | 6 +-- .../{index-DnQmWmi_.js => index-SdCRoWb_.js} | 2 +- .../{index-B30b3Gjx.js => index-XoI2c9b1.js} | 2 +- ...ode-BNQGXnE6.js => index.node-DFO_4WZl.js} | 2 +- .../{links-B2v1vUE9.js => links-B5asv8NG.js} | 4 +- assets/markdownBrand-2KNU9Bj1.js | 9 ++++ assets/markdownBrand-CS81ixp3.js | 9 ---- assets/{mdui-DYel0-BB.js => mdui-gpddUef8.js} | 6 +-- ...tTo-CbhAz4iJ.js => redirectTo-AaFZn7xu.js} | 4 +- ...eases-3SohIBzz.js => releases-C1rwQ8gf.js} | 6 +-- index.html | 4 +- 21 files changed, 91 insertions(+), 89 deletions(-) rename assets/{IconRssLine-CSAPFqUt.js => IconRssLine-dU4u7fMc.js} (95%) delete mode 100644 assets/Mdtoui-Bwh6I7pz.js create mode 100644 assets/Mdtoui-De8g0Gj_.js rename assets/{RenderTopNavBar-CJuzk9-4.js => RenderTopNavBar-C6YLj6sY.js} (99%) rename assets/{error-DeRkl5Z2.js => error-D4hOwfkO.js} (92%) rename assets/{index-vlHfeEdv.js => index-BMjzoizO.js} (99%) rename assets/{index-BGFQHV-c.js => index-BU6CM6-K.js} (97%) rename assets/{index-D4PUjdd4.js => index-Bko_xNHh.js} (75%) rename assets/{index-DrEKPqe2.js => index-C29H8B_2.js} (99%) rename assets/{index-CyJKhc9Y.js => index-DFC9d6f5.js} (99%) rename assets/{index-DXJB-CtN.js => index-FeyKb7iJ.js} (99%) rename assets/{index-DnQmWmi_.js => index-SdCRoWb_.js} (99%) rename assets/{index-B30b3Gjx.js => index-XoI2c9b1.js} (95%) rename assets/{index.node-BNQGXnE6.js => index.node-DFO_4WZl.js} (80%) rename assets/{links-B2v1vUE9.js => links-B5asv8NG.js} (92%) create mode 100644 assets/markdownBrand-2KNU9Bj1.js delete mode 100644 assets/markdownBrand-CS81ixp3.js rename assets/{mdui-DYel0-BB.js => mdui-gpddUef8.js} (92%) rename assets/{redirectTo-CbhAz4iJ.js => redirectTo-AaFZn7xu.js} (86%) rename assets/{releases-3SohIBzz.js => releases-C1rwQ8gf.js} (84%) diff --git a/assets/IconRssLine-CSAPFqUt.js b/assets/IconRssLine-dU4u7fMc.js similarity index 95% rename from assets/IconRssLine-CSAPFqUt.js rename to assets/IconRssLine-dU4u7fMc.js index 9f7d450..5078205 100644 --- a/assets/IconRssLine-CSAPFqUt.js +++ b/assets/IconRssLine-dU4u7fMc.js @@ -1 +1 @@ -import{r as c,R as r,S as s}from"./index-D4PUjdd4.js";var o;class e extends c.Component{constructor(...a){super(...a),this.ref=null,this.handleRef=t=>{const n=this.props.elementRef;this.ref=t,typeof n=="function"&&n(t)}}render(){return r.createElement(s,Object.assign({},this.props,{name:"IconRss",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),o||(o=r.createElement("path",{d:"M1616.875 1813.333c-27.627-820.266-689.92-1482.56-1510.187-1510.186V107.52c928.213 27.733 1678.08 777.6 1705.813 1705.813h-195.626ZM53.355 0H.02v408.853h53.334c803.733 0 1457.706 653.974 1457.706 1457.814V1920h408.96v-53.333C1920.021 837.44 1082.581 0 53.355 0Zm933.984 1813.333c-26.667-473.493-407.147-853.973-880.64-880.746V736.853c581.226 27.094 1049.28 495.254 1076.373 1076.48H987.339ZM53.365 628.907H.032v408.853h53.333c456.96 0 828.8 371.947 828.8 828.907V1920h408.854v-53.333c0-682.454-555.2-1237.76-1237.654-1237.76ZM267.19 1812.288c-88 0-159.573-71.573-159.573-159.467 0-87.893 71.573-159.466 159.573-159.466 87.894 0 159.467 71.573 159.467 159.466 0 87.894-71.573 159.467-159.467 159.467m0-425.6c-146.773 0-266.24 119.36-266.24 266.133 0 146.774 119.467 266.134 266.24 266.134 146.774 0 266.134-119.36 266.134-266.134 0-146.773-119.36-266.133-266.134-266.133",fillRule:"evenodd"})))}}e.glyphName="rss";e.variant="Line";e.displayName="IconRssLine";e.propTypes={...s.propTypes};e.allowedProps=[...s.allowedProps];export{e as I}; +import{r as c,R as r,S as s}from"./index-Bko_xNHh.js";var o;class e extends c.Component{constructor(...a){super(...a),this.ref=null,this.handleRef=t=>{const n=this.props.elementRef;this.ref=t,typeof n=="function"&&n(t)}}render(){return r.createElement(s,Object.assign({},this.props,{name:"IconRss",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),o||(o=r.createElement("path",{d:"M1616.875 1813.333c-27.627-820.266-689.92-1482.56-1510.187-1510.186V107.52c928.213 27.733 1678.08 777.6 1705.813 1705.813h-195.626ZM53.355 0H.02v408.853h53.334c803.733 0 1457.706 653.974 1457.706 1457.814V1920h408.96v-53.333C1920.021 837.44 1082.581 0 53.355 0Zm933.984 1813.333c-26.667-473.493-407.147-853.973-880.64-880.746V736.853c581.226 27.094 1049.28 495.254 1076.373 1076.48H987.339ZM53.365 628.907H.032v408.853h53.333c456.96 0 828.8 371.947 828.8 828.907V1920h408.854v-53.333c0-682.454-555.2-1237.76-1237.654-1237.76ZM267.19 1812.288c-88 0-159.573-71.573-159.573-159.467 0-87.893 71.573-159.466 159.573-159.466 87.894 0 159.467 71.573 159.467 159.466 0 87.894-71.573 159.467-159.467 159.467m0-425.6c-146.773 0-266.24 119.36-266.24 266.133 0 146.774 119.467 266.134 266.24 266.134 146.774 0 266.134-119.36 266.134-266.134 0-146.773-119.36-266.133-266.134-266.133",fillRule:"evenodd"})))}}e.glyphName="rss";e.variant="Line";e.displayName="IconRssLine";e.propTypes={...s.propTypes};e.allowedProps=[...s.allowedProps];export{e as I}; diff --git a/assets/Mdtoui-Bwh6I7pz.js b/assets/Mdtoui-Bwh6I7pz.js deleted file mode 100644 index 0a2cfce..0000000 --- a/assets/Mdtoui-Bwh6I7pz.js +++ /dev/null @@ -1,30 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-DXJB-CtN.js","assets/index-DrEKPqe2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-vlHfeEdv.js","assets/index-BGFQHV-c.js","assets/index-B30b3Gjx.js","assets/index-CyJKhc9Y.js","assets/IconRssLine-CSAPFqUt.js"])))=>i.map(i=>d[i]); -import{f as fs,P as be,T as Qn,w as ta,t as na,r as te,h as ra,i as ia,p as aa,V as ua,k as Br,l as ds,j as z,_ as ke,R as ms}from"./index-D4PUjdd4.js";import{C as ps,s as _s}from"./RenderTopNavBar-CJuzk9-4.js";import{a as $e}from"./index-DrEKPqe2.js";const Es=(e,t)=>{const n=t.size,r=t.delimiter,i=t.spacing,u=r!=="none",a=i!=="none";fs(!(u&&a),"[List] `itemSpacing` has no effect inside Lists with the `delimiter` prop set to anything other than `none`.");const o={small:{fontSize:e.fontSizeSmall},medium:{fontSize:e.fontSizeMedium},large:{fontSize:e.fontSizeLarge}},l={"xxx-small":{marginTop:e.spacingXXXSmall,marginBottom:e.spacingXXXSmall},"xx-small":{marginTop:e.spacingXXSmall,marginBottom:e.spacingXXSmall},"x-small":{marginTop:e.spacingXSmall,marginBottom:e.spacingXSmall},small:{marginTop:e.spacingSmall,marginBottom:e.spacingSmall},medium:{marginTop:e.spacingMedium,marginBottom:e.spacingMedium},large:{marginTop:e.spacingLarge,marginBottom:e.spacingLarge},"x-large":{marginTop:e.spacingXLarge,marginBottom:e.spacingXLarge},"xx-large":{marginTop:e.spacingXXLarge,marginBottom:e.spacingXXLarge},none:{}},c={dashed:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterDashedBorder}},solid:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterSolidBorder}},none:{}};return{listItem:{label:"listItem",fontWeight:e.fontWeight,fontFamily:e.fontFamily,lineHeight:e.lineHeight,color:e.color,padding:0,...o[n],...a&&!u&&l[i],...u&&c[r],"&:first-of-type":{marginTop:"0"},"&:last-of-type":{marginBottom:"0"}}}},gs=e=>{const t=e.borders,n=e.colors,r=e.spacing,i=e.typography,u=e.key,a={canvas:{color:e["ic-brand-font-color-dark"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,lineHeight:i==null?void 0:i.lineHeight,fontSizeSmall:i==null?void 0:i.fontSizeSmall,fontSizeMedium:i==null?void 0:i.fontSizeMedium,fontSizeLarge:i==null?void 0:i.fontSizeLarge,color:n==null?void 0:n.textDarkest,spacingXXXSmall:r==null?void 0:r.xxxSmall,spacingXXSmall:r==null?void 0:r.xxSmall,spacingXSmall:r==null?void 0:r.xSmall,spacingSmall:r==null?void 0:r.small,spacingMedium:r==null?void 0:r.medium,spacingLarge:r==null?void 0:r.large,spacingXLarge:r==null?void 0:r.xLarge,spacingXXLarge:r==null?void 0:r.xxLarge,delimiterDashedBorder:`${t==null?void 0:t.widthSmall} dashed ${n==null?void 0:n.borderMedium}`,delimiterSolidBorder:`${t==null?void 0:t.widthSmall} solid ${n==null?void 0:n.borderMedium}`},...a[u]}},bs={children:be.oneOfType([be.node,be.func]).isRequired,delimiter:be.oneOf(["none","dashed","solid"]),size:be.oneOf(["small","medium","large"]),margin:Qn.spacing,padding:Qn.spacing,spacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},Ts=["children","delimiter","size","margin","padding","spacing","elementRef"],As=["delimiter","spacing","size","margin","padding","elementRef","children","styles"];var Fr,Hr,Kt,Je;let sa=(Fr=ta(Es,gs),Hr=na(),Fr(Kt=Hr(Kt=(Je=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}render(){const t=this.props;t.delimiter,t.spacing,t.size;const n=t.margin,r=t.padding;t.elementRef;const i=t.children,u=t.styles,a=ra(t,As);return ia(ua,Object.assign({},aa(a),{css:u==null?void 0:u.listItem,as:"li",margin:n,padding:r,maxWidth:"100%",elementRef:this.handleRef}),i)}},Je.displayName="ListItem",Je.componentId="List.Item",Je.propTypes=bs,Je.allowedProps=Ts,Je.defaultProps={padding:"none",spacing:"none",delimiter:"none",size:"medium"},Je))||Kt)||Kt);const Cs=(e,t)=>{const n=t.isUnstyled,i=t.as==="ol";return{list:{label:"list",paddingInlineStart:e.listPadding,paddingInlineEnd:0,...i&&{listStyleType:"none",paddingInlineStart:`calc(${e.listPadding} / 2)`,paddingInlineEnd:0,counterReset:"ol-counter","&>li::before":{fontWeight:e.orderedNumberFontWeight,counterIncrement:"ol-counter",content:'counters(ol-counter, ".") "."',marginInlineEnd:e.orderedNumberMargin,marginInlineStart:0}},...n&&{listStyleType:"none",paddingInlineStart:0}}}},ks=e=>{const t=e.spacing,n=e.typography;return{...{listPadding:t==null?void 0:t.large,orderedNumberFontWeight:n==null?void 0:n.fontWeightBold,orderedNumberMargin:t==null?void 0:t.xSmall}}},Is={children:ps.oneOf([sa]),as:be.oneOf(["ul","ol"]),delimiter:be.oneOf(["none","dashed","solid"]),isUnstyled:be.bool,margin:Qn.spacing,size:be.oneOf(["small","medium","large"]),itemSpacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},ys=["children","as","delimiter","isUnstyled","margin","size","itemSpacing","elementRef"],Ns=["as","margin","isUnstyled","elementRef","styles"];var Ur,vr,$t,Ye;let Nt=(Ur=ta(Cs,ks),vr=na(),Ur($t=vr($t=(Ye=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}renderChildren(){return te.Children.map(this.props.children,t=>{if(t)return _s(t,{isUnstyled:this.props.isUnstyled,delimiter:this.props.delimiter,size:this.props.size,spacing:this.props.itemSpacing})})}render(){const t=this.props,n=t.as,r=t.margin;t.isUnstyled,t.elementRef;const i=t.styles,u=ra(t,Ns);return ia(ua,Object.assign({},aa(u),{css:i==null?void 0:i.list,as:n,margin:r,elementRef:this.handleRef,display:"block"}),this.renderChildren())}},Ye.displayName="List",Ye.componentId="List",Ye.propTypes=Is,Ye.allowedProps=ys,Ye.defaultProps={as:"ul",delimiter:"none",isUnstyled:!1,size:"medium",itemSpacing:"none"},Ye.Item=sa,Ye))||$t)||$t);function zr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function oa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xs=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ss=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rs={};function Yr(e,t){return(Rs.jsx?Ss:xs).test(e)}const Ls=/[ \t\n\f\r]/g;function Os(e){return typeof e=="object"?e.type==="text"?qr(e.value):!1:qr(e)}function qr(e){return e.replace(Ls,"")===""}class qt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}qt.prototype.property={};qt.prototype.normal={};qt.prototype.space=null;function la(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Bs.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(Vr,Us);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!Vr.test(u)){let a=u.replace(Fs,Hs);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=cr}return new i(r,t)}function Hs(e){return"-"+e.toLowerCase()}function Us(e){return e.charAt(1).toUpperCase()}const vs={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},jt=la([fa,ha,pa,_a,Ps],"html"),Xe=la([fa,ha,pa,_a,Ms],"svg");function Wr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ea(e){return e.join(" ").trim()}var ga={},Xr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zs=/\n/g,Ys=/^\s*/,qs=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,js=/^:\s*/,Vs=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ws=/^[;\s]*/,Xs=/^\s+|\s+$/g,Qs=` -`,Qr="/",Gr="*",et="",Gs="comment",Ks="declaration",$s=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(T){var I=T.match(zs);I&&(n+=I.length);var R=T.lastIndexOf(Qs);r=~R?T.length-R:r+T.length}function u(){var T={line:n,column:r};return function(I){return I.position=new a(T),c(),I}}function a(T){this.start=T,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(T){var I=new Error(t.source+":"+n+":"+r+": "+T);if(I.reason=T,I.filename=t.source,I.line=n,I.column=r,I.source=e,!t.silent)throw I}function l(T){var I=T.exec(e);if(I){var R=I[0];return i(R),e=e.slice(R.length),I}}function c(){l(Ys)}function f(T){var I;for(T=T||[];I=h();)I!==!1&&T.push(I);return T}function h(){var T=u();if(!(Qr!=e.charAt(0)||Gr!=e.charAt(1))){for(var I=2;et!=e.charAt(I)&&(Gr!=e.charAt(I)||Qr!=e.charAt(I+1));)++I;if(I+=2,et===e.charAt(I-1))return o("End of comment missing");var R=e.slice(2,I-2);return r+=2,i(R),e=e.slice(I),r+=2,T({type:Gs,comment:R})}}function E(){var T=u(),I=l(qs);if(I){if(h(),!l(js))return o("property missing ':'");var R=l(Vs),y=T({type:Ks,property:Kr(I[0].replace(Xr,et)),value:R?Kr(R[0].replace(Xr,et)):et});return l(Ws),y}}function p(){var T=[];f(T);for(var I;I=E();)I!==!1&&(T.push(I),f(T));return T}return c(),p()};function Kr(e){return e?e.replace(Xs,et):et}var Js=Br&&Br.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ga,"__esModule",{value:!0});var Zs=Js($s);function eo(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Zs.default)(e),i=typeof t=="function";return r.forEach(function(u){if(u.type==="declaration"){var a=u.property,o=u.value;i?t(a,o,u):o&&(n=n||{},n[a]=o)}}),n}var $r=ga.default=eo;const to=$r.default||$r,gn=ba("end"),Pe=ba("start");function ba(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function no(e){const t=Pe(e),n=gn(e);if(t&&n)return{start:t,end:n}}function wt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Jr(e.position):"start"in e||"end"in e?Jr(e):"line"in e||"column"in e?Kn(e):""}function Kn(e){return Zr(e&&e.line)+":"+Zr(e&&e.column)}function Jr(e){return Kn(e&&e.start)+"-"+Kn(e&&e.end)}function Zr(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},a=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(a=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?u.ruleId=r:(u.source=r.slice(0,l),u.ruleId=r.slice(l+1))}if(!u.place&&u.ancestors&&u.ancestors){const l=u.ancestors[u.ancestors.length-1];l&&(u.place=l.position)}const o=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=wt(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=a&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual,this.expected,this.note,this.url}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const hr={}.hasOwnProperty,ro=new Map,io=/[A-Z]/g,ao=/-([a-z])/g,uo=new Set(["table","tbody","thead","tfoot","tr"]),so=new Set(["td","th"]),Ta="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oo(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Eo(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_o(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Xe:jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},u=Aa(i,e,void 0);return u&&typeof u!="string"?u:i.create(e,i.Fragment,{children:u||void 0},void 0)}function Aa(e,t,n){if(t.type==="element")return lo(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return co(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fo(e,t,n);if(t.type==="mdxjsEsm")return ho(e,t);if(t.type==="root")return mo(e,t,n);if(t.type==="text")return po(e,t)}function lo(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=ka(e,t.tagName,!1),a=go(e,t);let o=dr(e,t);return uo.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!Os(l):!0})),Ca(e,a,u,t),fr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function co(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}zt(e,t.position)}function ho(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);zt(e,t.position)}function fo(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=t.name===null?e.Fragment:ka(e,t.name,!0),a=bo(e,t),o=dr(e,t);return Ca(e,a,u,t),fr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function mo(e,t,n){const r={};return fr(r,dr(e,t)),e.create(t,e.Fragment,r,n)}function po(e,t){return t.value}function Ca(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function fr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _o(e,t,n){return r;function r(i,u,a,o){const c=Array.isArray(a.children)?n:t;return o?c(u,a,o):c(u,a)}}function Eo(e,t){return n;function n(r,i,u,a){const o=Array.isArray(u.children),l=Pe(r);return t(i,u,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function go(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&hr.call(t.properties,i)){const u=To(e,i,t.properties[i]);if(u){const[a,o]=u;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&so.has(t.tagName)?r=o:n[a]=o}}if(r){const u=n.style||(n.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function bo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const u=r.data.estree.body[0];u.type;const a=u.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else zt(e,t.position);else{const i=r.name;let u;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,u=e.evaluater.evaluateExpression(o.expression)}else zt(e,t.position);else u=r.value===null?!0:r.value;n[i]=u}return n}function dr(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:ro;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);u0?(Ce(e,e.length,0,t),e):t}const ni={}.hasOwnProperty;function ya(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Le(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const me=Qe(/[A-Za-z]/),he=Qe(/[\dA-Za-z]/),Lo=Qe(/[#-'*+\--9=?A-Z^-~]/);function hn(e){return e!==null&&(e<32||e===127)}const $n=Qe(/\d/),Oo=Qe(/[\dA-Fa-f]/),wo=Qe(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function j(e){return e===-2||e===-1||e===32}const bn=Qe(new RegExp("\\p{P}|\\p{S}","u")),rt=Qe(/\s/);function Qe(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function bt(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&u<57344){const o=e.charCodeAt(n+1);u<56320&&o>56319&&o<57344?(a=String.fromCharCode(u,o),i=1):a="�"}else a=String.fromCharCode(u);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function X(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return a;function a(l){return j(l)?(e.enter(n),o(l)):t(l)}function o(l){return j(l)&&u++a))return;const V=t.events.length;let ee=V,G,k;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){k=t.events[ee][1].end;break}G=!0}for(y(r),S=V;SD;){const U=n[H];t.containerState=U[1],U[0].exit.call(t,e)}n.length=D}function w(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Fo(e,t,n){return X(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function fn(e){if(e===null||J(e)||rt(e))return 1;if(bn(e))return 2}function Tn(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),E=Object.assign({},e[n][1].start);ii(h,-l),ii(E,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:E},u={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ae(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ae(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",u,t]]),c=Ae(c,Tn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ae(c,[["exit",u,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Ae(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Ce(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n0&&j(S)?X(e,w,"linePrefix",u+1)(S):w(S)}function w(S){return S===null||F(S)?e.check(ai,I,H)(S):(e.enter("codeFlowValue"),D(S))}function D(S){return S===null||F(S)?(e.exit("codeFlowValue"),w(S)):(e.consume(S),D)}function H(S){return e.exit("codeFenced"),t(S)}function U(S,V,ee){let G=0;return k;function k(Q){return S.enter("lineEnding"),S.consume(Q),S.exit("lineEnding"),M}function M(Q){return S.enter("codeFencedFence"),j(Q)?X(S,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):B(Q)}function B(Q){return Q===o?(S.enter("codeFencedFenceSequence"),K(Q)):ee(Q)}function K(Q){return Q===o?(G++,S.consume(Q),K):G>=a?(S.exit("codeFencedFenceSequence"),j(Q)?X(S,re,"whitespace")(Q):re(Q)):ee(Q)}function re(Q){return Q===null||F(Q)?(S.exit("codeFencedFence"),V(Q)):ee(Q)}}}function Go(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const On={name:"codeIndented",tokenize:$o},Ko={tokenize:Jo,partial:!0};function $o(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),X(e,u,"linePrefix",5)(c)}function u(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):F(c)?e.attempt(Ko,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||F(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Jo(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):X(e,u,"linePrefix",5)(a)}function u(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):F(a)?i(a):n(a)}}const Zo={name:"codeText",tokenize:nl,resolve:el,previous:tl};function el(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&xt(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),xt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Oa(e,t,n,r,i,u,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return h;function h(y){return y===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(y),e.exit(u),E):y===null||y===32||y===41||hn(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),I(y))}function E(y){return y===62?(e.enter(u),e.consume(y),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(o),E(y)):y===null||y===60||F(y)?n(y):(e.consume(y),y===92?T:p)}function T(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function I(y){return!f&&(y===null||y===41||J(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):f999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||F(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!j(p)),p===92?E:h)}function E(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function Da(e,t,n,r,i,u){let a;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(i),e.consume(E),e.exit(i),a=E===40?41:E,l):n(E)}function l(E){return E===a?(e.enter(i),e.consume(E),e.exit(i),e.exit(r),t):(e.enter(u),c(E))}function c(E){return E===a?(e.exit(u),l(a)):E===null?n(E):F(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),X(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(E))}function f(E){return E===a||E===null||F(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?h:f)}function h(E){return E===a||E===92?(e.consume(E),f):f(E)}}function Dt(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):j(i)?X(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const cl={name:"definition",tokenize:fl},hl={tokenize:dl,partial:!0};function fl(e,t,n){const r=this;let i;return u;function u(p){return e.enter("definition"),a(p)}function a(p){return wa.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Le(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return J(p)?Dt(e,c)(p):c(p)}function c(p){return Oa(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(hl,h,h)(p)}function h(p){return j(p)?X(e,E,"whitespace")(p):E(p)}function E(p){return p===null||F(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function dl(e,t,n){return r;function r(o){return J(o)?Dt(e,i)(o):n(o)}function i(o){return Da(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function u(o){return j(o)?X(e,a,"whitespace")(o):a(o)}function a(o){return o===null||F(o)?t(o):n(o)}}const ml={name:"hardBreakEscape",tokenize:pl};function pl(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return F(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const _l={name:"headingAtx",tokenize:gl,resolve:El};function El(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ce(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}function gl(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),u(f)}function u(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||J(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||F(f)?(e.exit("atxHeading"),t(f)):j(f)?X(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||J(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const bl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],si=["pre","script","style","textarea"],Tl={name:"htmlFlow",tokenize:Il,resolveTo:kl,concrete:!0},Al={tokenize:Nl,partial:!0},Cl={tokenize:yl,partial:!0};function kl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Il(e,t,n){const r=this;let i,u,a,o,l;return c;function c(b){return f(b)}function f(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),h}function h(b){return b===33?(e.consume(b),E):b===47?(e.consume(b),u=!0,I):b===63?(e.consume(b),i=3,r.interrupt?t:g):me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function E(b){return b===45?(e.consume(b),i=2,p):b===91?(e.consume(b),i=5,o=0,T):me(b)?(e.consume(b),i=4,r.interrupt?t:g):n(b)}function p(b){return b===45?(e.consume(b),r.interrupt?t:g):n(b)}function T(b){const xe="CDATA[";return b===xe.charCodeAt(o++)?(e.consume(b),o===xe.length?r.interrupt?t:B:T):n(b)}function I(b){return me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function R(b){if(b===null||b===47||b===62||J(b)){const xe=b===47,Ge=a.toLowerCase();return!xe&&!u&&si.includes(Ge)?(i=1,r.interrupt?t(b):B(b)):bl.includes(a.toLowerCase())?(i=6,xe?(e.consume(b),y):r.interrupt?t(b):B(b)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):u?w(b):D(b))}return b===45||he(b)?(e.consume(b),a+=String.fromCharCode(b),R):n(b)}function y(b){return b===62?(e.consume(b),r.interrupt?t:B):n(b)}function w(b){return j(b)?(e.consume(b),w):k(b)}function D(b){return b===47?(e.consume(b),k):b===58||b===95||me(b)?(e.consume(b),H):j(b)?(e.consume(b),D):k(b)}function H(b){return b===45||b===46||b===58||b===95||he(b)?(e.consume(b),H):U(b)}function U(b){return b===61?(e.consume(b),S):j(b)?(e.consume(b),U):D(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):j(b)?(e.consume(b),S):ee(b)}function V(b){return b===l?(e.consume(b),l=null,G):b===null||F(b)?n(b):(e.consume(b),V)}function ee(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||J(b)?U(b):(e.consume(b),ee)}function G(b){return b===47||b===62||j(b)?D(b):n(b)}function k(b){return b===62?(e.consume(b),M):n(b)}function M(b){return b===null||F(b)?B(b):j(b)?(e.consume(b),M):n(b)}function B(b){return b===45&&i===2?(e.consume(b),ce):b===60&&i===1?(e.consume(b),oe):b===62&&i===4?(e.consume(b),Ne):b===63&&i===3?(e.consume(b),g):b===93&&i===5?(e.consume(b),Be):F(b)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Al,Fe,K)(b)):b===null||F(b)?(e.exit("htmlFlowData"),K(b)):(e.consume(b),B)}function K(b){return e.check(Cl,re,Fe)(b)}function re(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),Q}function Q(b){return b===null||F(b)?K(b):(e.enter("htmlFlowData"),B(b))}function ce(b){return b===45?(e.consume(b),g):B(b)}function oe(b){return b===47?(e.consume(b),a="",ye):B(b)}function ye(b){if(b===62){const xe=a.toLowerCase();return si.includes(xe)?(e.consume(b),Ne):B(b)}return me(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),ye):B(b)}function Be(b){return b===93?(e.consume(b),g):B(b)}function g(b){return b===62?(e.consume(b),Ne):b===45&&i===2?(e.consume(b),g):B(b)}function Ne(b){return b===null||F(b)?(e.exit("htmlFlowData"),Fe(b)):(e.consume(b),Ne)}function Fe(b){return e.exit("htmlFlow"),t(b)}}function yl(e,t,n){const r=this;return i;function i(a){return F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):n(a)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Nl(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Vt,t,n)}}const xl={name:"htmlText",tokenize:Sl};function Sl(e,t,n){const r=this;let i,u,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),U):g===63?(e.consume(g),D):me(g)?(e.consume(g),ee):n(g)}function c(g){return g===45?(e.consume(g),f):g===91?(e.consume(g),u=0,T):me(g)?(e.consume(g),w):n(g)}function f(g){return g===45?(e.consume(g),p):n(g)}function h(g){return g===null?n(g):g===45?(e.consume(g),E):F(g)?(a=h,oe(g)):(e.consume(g),h)}function E(g){return g===45?(e.consume(g),p):h(g)}function p(g){return g===62?ce(g):g===45?E(g):h(g)}function T(g){const Ne="CDATA[";return g===Ne.charCodeAt(u++)?(e.consume(g),u===Ne.length?I:T):n(g)}function I(g){return g===null?n(g):g===93?(e.consume(g),R):F(g)?(a=I,oe(g)):(e.consume(g),I)}function R(g){return g===93?(e.consume(g),y):I(g)}function y(g){return g===62?ce(g):g===93?(e.consume(g),y):I(g)}function w(g){return g===null||g===62?ce(g):F(g)?(a=w,oe(g)):(e.consume(g),w)}function D(g){return g===null?n(g):g===63?(e.consume(g),H):F(g)?(a=D,oe(g)):(e.consume(g),D)}function H(g){return g===62?ce(g):D(g)}function U(g){return me(g)?(e.consume(g),S):n(g)}function S(g){return g===45||he(g)?(e.consume(g),S):V(g)}function V(g){return F(g)?(a=V,oe(g)):j(g)?(e.consume(g),V):ce(g)}function ee(g){return g===45||he(g)?(e.consume(g),ee):g===47||g===62||J(g)?G(g):n(g)}function G(g){return g===47?(e.consume(g),ce):g===58||g===95||me(g)?(e.consume(g),k):F(g)?(a=G,oe(g)):j(g)?(e.consume(g),G):ce(g)}function k(g){return g===45||g===46||g===58||g===95||he(g)?(e.consume(g),k):M(g)}function M(g){return g===61?(e.consume(g),B):F(g)?(a=M,oe(g)):j(g)?(e.consume(g),M):G(g)}function B(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,K):F(g)?(a=B,oe(g)):j(g)?(e.consume(g),B):(e.consume(g),re)}function K(g){return g===i?(e.consume(g),i=void 0,Q):g===null?n(g):F(g)?(a=K,oe(g)):(e.consume(g),K)}function re(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||J(g)?G(g):(e.consume(g),re)}function Q(g){return g===47||g===62||J(g)?G(g):n(g)}function ce(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function oe(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ye}function ye(g){return j(g)?X(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Be(g)}function Be(g){return e.enter("htmlTextData"),a(g)}}const _r={name:"labelEnd",tokenize:Pl,resolveTo:Dl,resolveAll:wl},Rl={tokenize:Ml},Ll={tokenize:Bl},Ol={tokenize:Fl};function wl(e){let t=-1;for(;++t=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),j(c)?X(e,o,"whitespace")(c):o(c))}}const _e={name:"list",tokenize:Wl,continuation:{tokenize:Xl},exit:Gl},jl={tokenize:Kl,partial:!0},Vl={tokenize:Ql,partial:!0};function Wl(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(p){const T=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:$n(p)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(sn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return $n(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Vt,r.interrupt?n:f,e.attempt(jl,E,h))}function f(p){return r.containerState.initialBlankLine=!0,u++,E(p)}function h(p){return j(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),E):n(p)}function E(p){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Xl(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Vt,i,u);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,X(e,t,"listItemIndent",r.containerState.size+1)(o)}function u(o){return r.containerState.furtherBlankLines||!j(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Vl,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,X(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ql(e,t,n){const r=this;return X(e,i,"listItemIndent",r.containerState.size+1);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(u):n(u)}}function Gl(e){e.exit(this.containerState.type)}function Kl(e,t,n){const r=this;return X(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const a=r.events[r.events.length-1];return!j(u)&&a&&a[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const oi={name:"setextUnderline",tokenize:Jl,resolveTo:$l};function $l(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",a,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[u][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function Jl(e,t,n){const r=this;let i;return u;function u(c){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),j(c)?X(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Zl={tokenize:ec};function ec(e){const t=this,n=e.attempt(Vt,r,e.attempt(this.parser.constructs.flowInitial,i,X(e,e.attempt(this.parser.constructs.flow,i,e.attempt(al,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const tc={resolveAll:Ma()},nc=Pa("string"),rc=Pa("text");function Pa(e){return{tokenize:t,resolveAll:Ma(e==="text"?ic:void 0)};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,a,o);return a;function a(f){return c(f)?u(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),u(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const h=i[f];let E=-1;if(h)for(;++E-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}u>0&&a.push(e[i].slice(0,u))}return a}function sc(e,t){let n=-1;const r=[];let i;for(;++n0){const Se=v.tokenStack[v.tokenStack.length-1];(Se[1]||ci).call(v,void 0,Se[0])}for(P.position={start:qe(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:qe(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},$=-1;++$1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function Pc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ha(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),u=i[0];u&&u.type==="text"?u.value="["+u.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function Bc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ha(e,t);const i={src:bt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,u),e.applyData(t,u)}function Fc(e,t){const n={src:bt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Hc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Uc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ha(e,t);const i={href:bt(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function vc(e,t){const n={href:bt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zc(e,t,n){const r=e.all(t),i=n?Yc(n):Ua(t),u={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let h;f&&f.type==="element"&&f.tagName==="p"?h=f:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let o=-1;for(;++o1}function qc(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Pe(t.children[1]),l=gn(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)}function Qc(e,t,n){const r=n?n.children:void 0,u=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(di(t.slice(i),i>0,!1)),u.join("")}function di(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===hi||u===fi;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===hi||u===fi;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function $c(e,t){const n={type:"text",value:Kc(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Jc(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Zc={blockquote:Sc,break:Rc,code:Lc,delete:Oc,emphasis:wc,footnoteReference:Dc,heading:Pc,html:Mc,imageReference:Bc,image:Fc,inlineCode:Hc,linkReference:Uc,link:vc,listItem:zc,list:qc,paragraph:jc,root:Vc,strong:Wc,table:Xc,tableCell:Gc,tableRow:Qc,text:$c,thematicBreak:Jc,toml:Jt,yaml:Jt,definition:Jt,footnoteDefinition:Jt};function Jt(){}const va=-1,An=0,dn=1,mn=2,Er=3,gr=4,br=5,Tr=6,za=7,Ya=8,mi=typeof self=="object"?self:globalThis,e0=(e,t)=>{const n=(i,u)=>(e.set(u,i),i),r=i=>{if(e.has(i))return e.get(i);const[u,a]=t[i];switch(u){case An:case va:return n(a,i);case dn:{const o=n([],i);for(const l of a)o.push(r(l));return o}case mn:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case Er:return n(new Date(a),i);case gr:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case br:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case Tr:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case za:{const{name:o,message:l}=a;return n(new mi[o](l),i)}case Ya:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new mi[u](a),i)};return r},pi=e=>e0(new Map,e)(0),lt="",{toString:t0}={},{keys:n0}=Object,St=e=>{const t=typeof e;if(t!=="object"||!e)return[An,t];const n=t0.call(e).slice(8,-1);switch(n){case"Array":return[dn,lt];case"Object":return[mn,lt];case"Date":return[Er,lt];case"RegExp":return[gr,lt];case"Map":return[br,lt];case"Set":return[Tr,lt]}return n.includes("Array")?[dn,n]:n.includes("Error")?[za,n]:[mn,n]},Zt=([e,t])=>e===An&&(t==="function"||t==="symbol"),r0=(e,t,n,r)=>{const i=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},u=a=>{if(n.has(a))return n.get(a);let[o,l]=St(a);switch(o){case An:{let f=a;switch(l){case"bigint":o=Ya,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return i([va],a)}return i([o,f],a)}case dn:{if(l)return i([l,[...a]],a);const f=[],h=i([o,f],a);for(const E of a)f.push(u(E));return h}case mn:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return u(a.toJSON());const f=[],h=i([o,f],a);for(const E of n0(a))(e||!Zt(St(a[E])))&&f.push([u(E),u(a[E])]);return h}case Er:return i([o,a.toISOString()],a);case gr:{const{source:f,flags:h}=a;return i([o,{source:f,flags:h}],a)}case br:{const f=[],h=i([o,f],a);for(const[E,p]of a)(e||!(Zt(St(E))||Zt(St(p))))&&f.push([u(E),u(p)]);return h}case Tr:{const f=[],h=i([o,f],a);for(const E of a)(e||!Zt(St(E)))&&f.push(u(E));return h}}const{message:c}=a;return i([o,{name:l,message:c}],a)};return u},_i=(e,{json:t,lossy:n}={})=>{const r=[];return r0(!(t||n),!!t,new Map,r)(e),r},_t=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?pi(_i(e,t)):structuredClone(e):(e,t)=>pi(_i(e,t));function i0(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function a0(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function u0(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||i0,r=e.options.footnoteBackLabel||a0,i=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l0&&T.push({type:"text",value:" "});let w=typeof n=="string"?n:n(l,p);typeof w=="string"&&(w={type:"text",value:w}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+E+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const R=f[f.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const w=R.children[R.children.length-1];w&&w.type==="text"?w.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...T)}else f.push(...T);const y={type:"element",tagName:"li",properties:{id:t+"fn-"+E},children:e.wrap(f,!0)};e.patch(c,y),o.push(y)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{..._t(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` -`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:` -`}]}}const Cn=function(e){if(e==null)return c0;if(typeof e=="function")return kn(e);if(typeof e=="object")return Array.isArray(e)?s0(e):o0(e);if(typeof e=="string")return l0(e);throw new Error("Expected function, string, or object as test")};function s0(e){const t=[];let n=-1;for(;++n":""))+")"})}return E;function E(){let p=qa,T,I,R;if((!t||u(l,c,f[f.length-1]||void 0))&&(p=m0(n(l,f)),p[0]===Zn))return p;if("children"in l&&l.children){const y=l;if(y.children&&p[0]!==d0)for(I=(r?y.children.length:-1)+a,R=f.concat(y);I>-1&&I0&&n.push({type:"text",value:` -`}),n}function Ei(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function gi(e,t){const n=_0(e,t),r=n.one(e,void 0),i=u0(n),u=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&u.children.push({type:"text",value:` -`},i),u}function A0(e,t){return e&&"run"in e?async function(n,r){const i=gi(n,{file:r,...t});await e.run(i,r)}:function(n,r){return gi(n,{file:r,...t||e})}}function bi(e){if(e)throw e}var on=Object.prototype.hasOwnProperty,Va=Object.prototype.toString,Ti=Object.defineProperty,Ai=Object.getOwnPropertyDescriptor,Ci=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Va.call(t)==="[object Array]"},ki=function(t){if(!t||Va.call(t)!=="[object Object]")return!1;var n=on.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&on.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||on.call(t,i)},Ii=function(t,n){Ti&&n.name==="__proto__"?Ti(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},yi=function(t,n){if(n==="__proto__")if(on.call(t,n)){if(Ai)return Ai(t,n).value}else return;return t[n]},C0=function e(){var t,n,r,i,u,a,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});la.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return i(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(u,i):l instanceof Error?i(l):u(l))}function i(a,...o){n||(n=!0,t(a,...o))}function u(a){i(null,a)}}const we={basename:y0,dirname:N0,extname:x0,join:S0,sep:"/"};function y0(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Wt(e);let n=0,r=-1,i=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else a<0&&(u=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function N0(e){if(Wt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function x0(e){Wt(e);let t=e.length,n=-1,r=0,i=-1,u=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||n<0||u===0||u===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function S0(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function L0(e,t){let n="",r=0,i=-1,u=0,a=-1,o,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,u=0;continue}}else if(n.length>0){n="",r=0,i=a,u=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,u=0}else o===46&&u>-1?u++:u=-1}return n}function Wt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const O0={cwd:w0};function w0(){return"/"}function nr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function D0(e){if(typeof e=="string")e=new URL(e);else if(!nr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return P0(e)}function P0(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[p,...T]=f;const I=r[E][1];tr(I)&&tr(p)&&(p=Dn(!0,I,p)),r[E]=[c,p,...T]}}}}const H0=new Ar().freeze();function Fn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Hn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Un(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function xi(e){if(!tr(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Si(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function en(e){return U0(e)?e:new Wa(e)}function U0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function v0(e){return typeof e=="string"||z0(e)}function z0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Y0="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Ri=[],Li={allowDangerousHtml:!0},q0=/^(https?|ircs?|mailto|xmpp)$/i,j0=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function N1(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,u=e.components,a=e.disallowedElements,o=e.rehypePlugins||Ri,l=e.remarkPlugins||Ri,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Li}:Li,f=e.skipHtml,h=e.unwrapDisallowed,E=e.urlTransform||V0,p=H0().use(xc).use(l).use(A0,c).use(o),T=new Wa;typeof r=="string"&&(T.value=r);for(const w of j0)Object.hasOwn(e,w.from)&&(""+w.from+(w.to?"use `"+w.to+"` instead":"remove it")+Y0+w.id,void 0);const I=p.parse(T);let R=p.runSync(I,T);return i&&(R={type:"element",tagName:"div",properties:{className:i},children:R.type==="root"?R.children:[R]}),In(R,y),oo(R,{Fragment:z.Fragment,components:u,ignoreInvalidStyle:!0,jsx:z.jsx,jsxs:z.jsxs,passKeys:!0,passNode:!0});function y(w,D,H){if(w.type==="raw"&&H&&typeof D=="number")return f?H.children.splice(D,1):H.children[D]={type:"text",value:w.value},D;if(w.type==="element"){let U;for(U in Ln)if(Object.hasOwn(Ln,U)&&Object.hasOwn(w.properties,U)){const S=w.properties[U],V=Ln[U];(V===null||V.includes(w.tagName))&&(w.properties[U]=E(String(S||""),U,w))}}if(w.type==="element"){let U=t?!t.includes(w.tagName):a?a.includes(w.tagName):!1;if(!U&&n&&typeof D=="number"&&(U=!n(w,D,H)),U&&H&&typeof D=="number")return h&&w.children?H.children.splice(D,1,...w.children):H.children.splice(D,1),D}}}function V0(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||q0.test(e.slice(0,t))?e:""}const Oi=/[#.]/g;function W0(e,t){const n=e||"",r={};let i=0,u,a;for(;i-1&&uu)return{line:a+1,column:u-(a>0?n[a-1]:0)+1,offset:u}}}function i(u){const a=u&&u.line,o=u&&u.column;if(typeof a=="number"&&typeof o=="number"&&!Number.isNaN(a)&&!Number.isNaN(o)&&a-1 in n){const l=(n[a-2]||0)+o-1||0;if(l>-1&&l=55296&&e<=57343}function gh(e){return e>=56320&&e<=57343}function bh(e,t){return(e-55296)*1024+9216+t}function Za(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function eu(e){return e>=64976&&e<=65007||Eh.has(e)}var C;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(C=C||(C={}));const Th=65536;class Ah{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Th,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:i}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:i,endOffset:i}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(gh(n))return this.pos++,this._addGap(),bh(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,d.EOF;return this._err(C.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;const r=this.html.charCodeAt(n);return r===d.CARRIAGE_RETURN?d.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;let t=this.html.charCodeAt(this.pos);return t===d.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,d.LINE_FEED):t===d.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ja(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===d.LINE_FEED||t===d.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Za(t)?this._err(C.controlCharacterInInputStream):eu(t)&&this._err(C.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const je=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Ch=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var zn;const kh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ih=(zn=String.fromCodePoint)!==null&&zn!==void 0?zn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function yh(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=kh.get(e))!==null&&t!==void 0?t:e}var se;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(se||(se={}));const Nh=32;var De;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(De||(De={}));function ar(e){return e>=se.ZERO&&e<=se.NINE}function xh(e){return e>=se.UPPER_A&&e<=se.UPPER_F||e>=se.LOWER_A&&e<=se.LOWER_F}function Sh(e){return e>=se.UPPER_A&&e<=se.UPPER_Z||e>=se.LOWER_A&&e<=se.LOWER_Z||ar(e)}function Rh(e){return e===se.EQUALS||Sh(e)}var ue;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ue||(ue={}));var tt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(tt||(tt={}));class Lh{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ue.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=tt.Strict}startEntity(t){this.decodeMode=t,this.state=ue.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ue.EntityStart:return t.charCodeAt(n)===se.NUM?(this.state=ue.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ue.NamedEntity,this.stateNamedEntity(t,n));case ue.NumericStart:return this.stateNumericStart(t,n);case ue.NumericDecimal:return this.stateNumericDecimal(t,n);case ue.NumericHex:return this.stateNumericHex(t,n);case ue.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Nh)===se.LOWER_X?(this.state=ue.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ue.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+parseInt(t.substr(n,u),i),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,u!==0){if(a===se.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==tt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&De.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~De.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case ue.NamedEntity:return this.result!==0&&(this.decodeMode!==tt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ue.NumericDecimal:return this.emitNumericEntity(0,2);case ue.NumericHex:return this.emitNumericEntity(0,3);case ue.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ue.EntityStart:return 0}}}function nu(e){let t="";const n=new Lh(e,r=>t+=Ih(r));return function(i,u){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){t+=i.slice(a,o),n.startEntity(u);const c=n.write(i,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+i.slice(a);return t="",l}}function ru(e,t,n,r){const i=(t&De.BRANCH_LENGTH)>>7,u=t&De.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(cr)o=l-1;else return e[l+i]}return-1}nu(je);nu(Ch);var N;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(N=N||(N={}));var We;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(We=We||(We={}));var Te;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Te=Te||(Te={}));var A;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(A=A||(A={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(s=s||(s={}));const Oh=new Map([[A.A,s.A],[A.ADDRESS,s.ADDRESS],[A.ANNOTATION_XML,s.ANNOTATION_XML],[A.APPLET,s.APPLET],[A.AREA,s.AREA],[A.ARTICLE,s.ARTICLE],[A.ASIDE,s.ASIDE],[A.B,s.B],[A.BASE,s.BASE],[A.BASEFONT,s.BASEFONT],[A.BGSOUND,s.BGSOUND],[A.BIG,s.BIG],[A.BLOCKQUOTE,s.BLOCKQUOTE],[A.BODY,s.BODY],[A.BR,s.BR],[A.BUTTON,s.BUTTON],[A.CAPTION,s.CAPTION],[A.CENTER,s.CENTER],[A.CODE,s.CODE],[A.COL,s.COL],[A.COLGROUP,s.COLGROUP],[A.DD,s.DD],[A.DESC,s.DESC],[A.DETAILS,s.DETAILS],[A.DIALOG,s.DIALOG],[A.DIR,s.DIR],[A.DIV,s.DIV],[A.DL,s.DL],[A.DT,s.DT],[A.EM,s.EM],[A.EMBED,s.EMBED],[A.FIELDSET,s.FIELDSET],[A.FIGCAPTION,s.FIGCAPTION],[A.FIGURE,s.FIGURE],[A.FONT,s.FONT],[A.FOOTER,s.FOOTER],[A.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[A.FORM,s.FORM],[A.FRAME,s.FRAME],[A.FRAMESET,s.FRAMESET],[A.H1,s.H1],[A.H2,s.H2],[A.H3,s.H3],[A.H4,s.H4],[A.H5,s.H5],[A.H6,s.H6],[A.HEAD,s.HEAD],[A.HEADER,s.HEADER],[A.HGROUP,s.HGROUP],[A.HR,s.HR],[A.HTML,s.HTML],[A.I,s.I],[A.IMG,s.IMG],[A.IMAGE,s.IMAGE],[A.INPUT,s.INPUT],[A.IFRAME,s.IFRAME],[A.KEYGEN,s.KEYGEN],[A.LABEL,s.LABEL],[A.LI,s.LI],[A.LINK,s.LINK],[A.LISTING,s.LISTING],[A.MAIN,s.MAIN],[A.MALIGNMARK,s.MALIGNMARK],[A.MARQUEE,s.MARQUEE],[A.MATH,s.MATH],[A.MENU,s.MENU],[A.META,s.META],[A.MGLYPH,s.MGLYPH],[A.MI,s.MI],[A.MO,s.MO],[A.MN,s.MN],[A.MS,s.MS],[A.MTEXT,s.MTEXT],[A.NAV,s.NAV],[A.NOBR,s.NOBR],[A.NOFRAMES,s.NOFRAMES],[A.NOEMBED,s.NOEMBED],[A.NOSCRIPT,s.NOSCRIPT],[A.OBJECT,s.OBJECT],[A.OL,s.OL],[A.OPTGROUP,s.OPTGROUP],[A.OPTION,s.OPTION],[A.P,s.P],[A.PARAM,s.PARAM],[A.PLAINTEXT,s.PLAINTEXT],[A.PRE,s.PRE],[A.RB,s.RB],[A.RP,s.RP],[A.RT,s.RT],[A.RTC,s.RTC],[A.RUBY,s.RUBY],[A.S,s.S],[A.SCRIPT,s.SCRIPT],[A.SECTION,s.SECTION],[A.SELECT,s.SELECT],[A.SOURCE,s.SOURCE],[A.SMALL,s.SMALL],[A.SPAN,s.SPAN],[A.STRIKE,s.STRIKE],[A.STRONG,s.STRONG],[A.STYLE,s.STYLE],[A.SUB,s.SUB],[A.SUMMARY,s.SUMMARY],[A.SUP,s.SUP],[A.TABLE,s.TABLE],[A.TBODY,s.TBODY],[A.TEMPLATE,s.TEMPLATE],[A.TEXTAREA,s.TEXTAREA],[A.TFOOT,s.TFOOT],[A.TD,s.TD],[A.TH,s.TH],[A.THEAD,s.THEAD],[A.TITLE,s.TITLE],[A.TR,s.TR],[A.TRACK,s.TRACK],[A.TT,s.TT],[A.U,s.U],[A.UL,s.UL],[A.SVG,s.SVG],[A.VAR,s.VAR],[A.WBR,s.WBR],[A.XMP,s.XMP]]);function At(e){var t;return(t=Oh.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const L=s,wh={[N.HTML]:new Set([L.ADDRESS,L.APPLET,L.AREA,L.ARTICLE,L.ASIDE,L.BASE,L.BASEFONT,L.BGSOUND,L.BLOCKQUOTE,L.BODY,L.BR,L.BUTTON,L.CAPTION,L.CENTER,L.COL,L.COLGROUP,L.DD,L.DETAILS,L.DIR,L.DIV,L.DL,L.DT,L.EMBED,L.FIELDSET,L.FIGCAPTION,L.FIGURE,L.FOOTER,L.FORM,L.FRAME,L.FRAMESET,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HEADER,L.HGROUP,L.HR,L.HTML,L.IFRAME,L.IMG,L.INPUT,L.LI,L.LINK,L.LISTING,L.MAIN,L.MARQUEE,L.MENU,L.META,L.NAV,L.NOEMBED,L.NOFRAMES,L.NOSCRIPT,L.OBJECT,L.OL,L.P,L.PARAM,L.PLAINTEXT,L.PRE,L.SCRIPT,L.SECTION,L.SELECT,L.SOURCE,L.STYLE,L.SUMMARY,L.TABLE,L.TBODY,L.TD,L.TEMPLATE,L.TEXTAREA,L.TFOOT,L.TH,L.THEAD,L.TITLE,L.TR,L.TRACK,L.UL,L.WBR,L.XMP]),[N.MATHML]:new Set([L.MI,L.MO,L.MN,L.MS,L.MTEXT,L.ANNOTATION_XML]),[N.SVG]:new Set([L.TITLE,L.FOREIGN_OBJECT,L.DESC]),[N.XLINK]:new Set,[N.XML]:new Set,[N.XMLNS]:new Set};function iu(e){return e===L.H1||e===L.H2||e===L.H3||e===L.H4||e===L.H5||e===L.H6}A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT;const Dh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var m;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(m||(m={}));const ie={DATA:m.DATA,RCDATA:m.RCDATA,RAWTEXT:m.RAWTEXT,SCRIPT_DATA:m.SCRIPT_DATA,PLAINTEXT:m.PLAINTEXT,CDATA_SECTION:m.CDATA_SECTION};function Pt(e){return e>=d.DIGIT_0&&e<=d.DIGIT_9}function Ot(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_Z}function Ph(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_Z}function Ve(e){return Ph(e)||Ot(e)}function ur(e){return Ve(e)||Pt(e)}function au(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_F}function uu(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_F}function Mh(e){return Pt(e)||au(e)||uu(e)}function tn(e){return e+32}function su(e){return e===d.SPACE||e===d.LINE_FEED||e===d.TABULATION||e===d.FORM_FEED}function Bh(e){return e===d.EQUALS_SIGN||ur(e)}function Mi(e){return su(e)||e===d.SOLIDUS||e===d.GREATER_THAN_SIGN}class Fh{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=m.DATA,this.returnState=m.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ah(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n0&&this._err(C.endTagWithAttributes),t.selfClosing&&this._err(C.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case q.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case q.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case q.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:q.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=su(t)?q.WHITESPACE_CHARACTER:t===d.NULL?q.NULL_CHARACTER:q.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(q.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,i=!1;for(let u=0,a=je[0];u>=0&&(u=ru(je,a,u+1,t),!(u<0));t=this._consume()){r+=1,a=je[u];const o=a&De.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==d.SEMICOLON&&this._isCharacterReferenceInAttribute()&&Bh(this.preprocessor.peek(1))?(n=[d.AMPERSAND],u+=l):(n=l===0?[je[u]&~De.VALUE_LENGTH]:l===1?[je[++u]]:[je[++u],je[++u]],r=0,i=t!==d.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),i&&!this.preprocessor.endOfChunkHit&&this._err(C.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===m.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===m.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===m.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case m.DATA:{this._stateData(t);break}case m.RCDATA:{this._stateRcdata(t);break}case m.RAWTEXT:{this._stateRawtext(t);break}case m.SCRIPT_DATA:{this._stateScriptData(t);break}case m.PLAINTEXT:{this._statePlaintext(t);break}case m.TAG_OPEN:{this._stateTagOpen(t);break}case m.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case m.TAG_NAME:{this._stateTagName(t);break}case m.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case m.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case m.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case m.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case m.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case m.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case m.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case m.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case m.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case m.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case m.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case m.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case m.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case m.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case m.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case m.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case m.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case m.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case m.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case m.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case m.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case m.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case m.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case m.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case m.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case m.BOGUS_COMMENT:{this._stateBogusComment(t);break}case m.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case m.COMMENT_START:{this._stateCommentStart(t);break}case m.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case m.COMMENT:{this._stateComment(t);break}case m.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case m.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case m.COMMENT_END:{this._stateCommentEnd(t);break}case m.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case m.DOCTYPE:{this._stateDoctype(t);break}case m.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case m.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case m.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case m.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case m.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case m.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case m.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case m.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case m.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case m.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case m.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case m.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case m.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case m.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case m.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case m.CDATA_SECTION:{this._stateCdataSection(t);break}case m.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case m.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case m.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case m.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case m.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case m.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case m.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case m.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case m.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case m.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.TAG_OPEN;break}case d.AMPERSAND:{this.returnState=m.DATA,this.state=m.CHARACTER_REFERENCE;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitCodePoint(t);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case d.AMPERSAND:{this.returnState=m.RCDATA,this.state=m.CHARACTER_REFERENCE;break}case d.LESS_THAN_SIGN:{this.state=m.RCDATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.RAWTEXT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.SCRIPT_DATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ve(t))this._createStartTagToken(),this.state=m.TAG_NAME,this._stateTagName(t);else switch(t){case d.EXCLAMATION_MARK:{this.state=m.MARKUP_DECLARATION_OPEN;break}case d.SOLIDUS:{this.state=m.END_TAG_OPEN;break}case d.QUESTION_MARK:{this._err(C.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=m.BOGUS_COMMENT,this._stateBogusComment(t);break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=m.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ve(t))this._createEndTagToken(),this.state=m.TAG_NAME,this._stateTagName(t);else switch(t){case d.GREATER_THAN_SIGN:{this._err(C.missingEndTagName),this.state=m.DATA;break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=m.SCRIPT_DATA_ESCAPED,this._emitChars(ne);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=m.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===d.SOLIDUS?this.state=m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ve(t)?(this._emitChars("<"),this.state=m.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=m.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ve(t)?(this.state=m.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ne);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===d.SOLIDUS?(this.state=m.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(pe.SCRIPT,!1)&&Mi(this.preprocessor.peek(pe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n1114111)this._err(C.characterReferenceOutsideUnicodeRange),this.charRefCode=d.REPLACEMENT_CHARACTER;else if(Ja(this.charRefCode))this._err(C.surrogateCharacterReference),this.charRefCode=d.REPLACEMENT_CHARACTER;else if(eu(this.charRefCode))this._err(C.noncharacterCharacterReference);else if(Za(this.charRefCode)||this.charRefCode===d.CARRIAGE_RETURN){this._err(C.controlCharacterReference);const n=Dh.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const ou=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Bi=new Set([...ou,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),nn=new Map([[s.APPLET,N.HTML],[s.CAPTION,N.HTML],[s.HTML,N.HTML],[s.MARQUEE,N.HTML],[s.OBJECT,N.HTML],[s.TABLE,N.HTML],[s.TD,N.HTML],[s.TEMPLATE,N.HTML],[s.TH,N.HTML],[s.ANNOTATION_XML,N.MATHML],[s.MI,N.MATHML],[s.MN,N.MATHML],[s.MO,N.MATHML],[s.MS,N.MATHML],[s.MTEXT,N.MATHML],[s.DESC,N.SVG],[s.FOREIGN_OBJECT,N.SVG],[s.TITLE,N.SVG]]),Hh=[s.H1,s.H2,s.H3,s.H4,s.H5,s.H6],Uh=[s.TR,s.TEMPLATE,s.HTML],vh=[s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML],zh=[s.TABLE,s.TEMPLATE,s.HTML],Yh=[s.TD,s.TH];class qh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===N.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==N.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(zh,N.HTML)}clearBackToTableBodyContext(){this.clearBackTo(vh,N.HTML)}clearBackToTableRowContext(){this.clearBackTo(Uh,N.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if(nn.get(r)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(iu(n)&&r===N.HTML)return!0;if(nn.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if((r===s.UL||r===s.OL)&&i===N.HTML||nn.get(r)===i)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if(r===s.BUTTON&&i===N.HTML||nn.get(r)===i)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===N.HTML){if(r===t)return!0;if(r===s.TABLE||r===s.TEMPLATE||r===s.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===N.HTML){if(n===s.TBODY||n===s.THEAD||n===s.TFOOT)return!0;if(n===s.TABLE||n===s.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===N.HTML){if(r===t)return!0;if(r!==s.OPTION&&r!==s.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ou.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Bi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Bi.has(this.currentTagId);)this.pop()}}const Yn=3;var Re;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Re=Re||(Re={}));const Fi={type:Re.Marker};class jh{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,u=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[a.name,a.value]));let u=0;for(let a=0;ai.get(l.name)===l.value)&&(u+=1,u>=Yn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Fi)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Re.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Re.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Fi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Re.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Re.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Re.Element&&n.element===t)}}function Hi(e){return{nodeName:"#text",value:e,parentNode:null}}const ft={createDocument(){return{nodeName:"#document",mode:Te.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(u=>u.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ft.appendChild(e,u)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ft.isTextNode(n)){n.value+=t;return}}ft.appendChild(e,Hi(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ft.isTextNode(r)?r.value+=t:ft.insertBefore(e,Hi(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(n))}function Kh(e){return e.name===lu&&e.publicId===null&&(e.systemId===null||e.systemId===Vh)}function $h(e){if(e.name!==lu)return Te.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Wh)return Te.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Qh.has(n))return Te.QUIRKS;let r=t===null?Xh:cu;if(Ui(n,r))return Te.QUIRKS;if(r=t===null?hu:Gh,Ui(n,r))return Te.LIMITED_QUIRKS}return Te.NO_QUIRKS}const vi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Jh="definitionurl",Zh="definitionURL",ef=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tf=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:N.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:N.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:N.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:N.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:N.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:N.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:N.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:N.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:N.XML}],["xml:space",{prefix:"xml",name:"space",namespace:N.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:N.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:N.XMLNS}]]),nf=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rf=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function af(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===We.COLOR||r===We.SIZE||r===We.FACE)||rf.has(t)}function fu(e){for(let t=0;t0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let u,a;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,a=this.fragmentContextID):{current:u,currentTagId:a}=this.openElements,this._setContextModes(u,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===N.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,N.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=ie.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===A.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==N.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ie.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ie.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ie.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ie.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,N.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,N.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(A.HTML,N.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),u=r?i.lastIndexOf(r):i.length,a=i[u-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),u=n.type===q.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,u)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===A.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===N.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,N.HTML)}_processToken(t){switch(t.type){case q.CHARACTER:{this.onCharacter(t);break}case q.NULL_CHARACTER:{this.onNullCharacter(t);break}case q.COMMENT:{this.onComment(t);break}case q.DOCTYPE:{this.onDoctype(t);break}case q.START_TAG:{this._processStartTag(t);break}case q.END_TAG:{this.onEndTag(t);break}case q.EOF:{this.onEof(t);break}case q.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),u=this.treeAdapter.getAttrList(n);return lf(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Re.Marker||this.openElements.contains(i.element)),r=n<0?t-1:n-1;for(let i=r;i>=0;i--){const u=this.activeFormattingElements.entries[i];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=_.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=_.IN_TABLE;return}case s.BODY:{this.insertionMode=_.IN_BODY;return}case s.FRAMESET:{this.insertionMode=_.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?_.AFTER_HEAD:_.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return mu.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===N.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return wh[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qd(this,t);return}switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{_u(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{qn(this,t);break}case _.IN_TABLE_TEXT:{Cu(this,t);break}case _.IN_COLUMN_GROUP:{pn(this,t);break}case _.AFTER_BODY:{_n(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Yd(this,t);return}switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{qn(this,t);break}case _.IN_COLUMN_GROUP:{pn(this,t);break}case _.AFTER_BODY:{_n(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){sr(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{sr(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.AFTER_BODY:{Tf(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Af(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{Cf(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,C.misplacedDoctype);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,C.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?jd(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{kf(this,t);break}case _.BEFORE_HEAD:{yf(this,t);break}case _.IN_HEAD:{Oe(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Sf(this,t);break}case _.AFTER_HEAD:{Lf(this,t);break}case _.IN_BODY:{de(this,t);break}case _.IN_TABLE:{Et(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_CAPTION:{Nd(this,t);break}case _.IN_COLUMN_GROUP:{xr(this,t);break}case _.IN_TABLE_BODY:{xn(this,t);break}case _.IN_ROW:{Sn(this,t);break}case _.IN_CELL:{Rd(this,t);break}case _.IN_SELECT:{yu(this,t);break}case _.IN_SELECT_IN_TABLE:{Od(this,t);break}case _.IN_TEMPLATE:{Dd(this,t);break}case _.AFTER_BODY:{Md(this,t);break}case _.IN_FRAMESET:{Bd(this,t);break}case _.AFTER_FRAMESET:{Hd(this,t);break}case _.AFTER_AFTER_BODY:{vd(this,t);break}case _.AFTER_AFTER_FRAMESET:{zd(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Vd(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{If(this,t);break}case _.BEFORE_HEAD:{Nf(this,t);break}case _.IN_HEAD:{xf(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Rf(this,t);break}case _.AFTER_HEAD:{Of(this,t);break}case _.IN_BODY:{Nn(this,t);break}case _.TEXT:{_d(this,t);break}case _.IN_TABLE:{Yt(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_CAPTION:{xd(this,t);break}case _.IN_COLUMN_GROUP:{Sd(this,t);break}case _.IN_TABLE_BODY:{or(this,t);break}case _.IN_ROW:{Iu(this,t);break}case _.IN_CELL:{Ld(this,t);break}case _.IN_SELECT:{Nu(this,t);break}case _.IN_SELECT_IN_TABLE:{wd(this,t);break}case _.IN_TEMPLATE:{Pd(this,t);break}case _.AFTER_BODY:{Su(this,t);break}case _.IN_FRAMESET:{Fd(this,t);break}case _.AFTER_FRAMESET:{Ud(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{Tu(this,t);break}case _.TEXT:{Ed(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_TEMPLATE:{xu(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Nr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===d.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{pu(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{qn(this,t);break}case _.IN_TABLE_TEXT:{Au(this,t);break}}}}function mf(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):bu(e,t),n}function pf(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function _f(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let u=0,a=i;a!==n;u++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&u>=ff;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Ef(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Ef(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function gf(e,t,n){const r=e.treeAdapter.getTagName(t),i=At(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);i===s.TEMPLATE&&u===N.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function bf(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,u=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,i.tagID)}function yr(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const u=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(u);a&&!a.endTag&&e._setEndLocation(u,t)}}}}function Cf(e,t){e._setDocumentType(t);const n=t.forceQuirks?Te.QUIRKS:$h(t);Kh(t)||e._err(t,C.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=_.BEFORE_HTML}function Rt(e,t){e._err(t,C.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Te.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function kf(e,t){t.tagID===s.HTML?(e._insertElement(t,N.HTML),e.insertionMode=_.BEFORE_HEAD):Mt(e,t)}function If(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Mt(e,t)}function Mt(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function yf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.HEAD:{e._insertElement(t,N.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:Bt(e,t)}}function Nf(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?Bt(e,t):e._err(t,C.endTagWithoutMatchingOpenElement)}function Bt(e,t){e._insertFakeElement(A.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function Oe(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,ie.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ie.RAWTEXT):(e._insertElement(t,N.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,ie.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,ie.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Ft(e,t)}}function xf(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Ft(e,t);break}case s.TEMPLATE:{at(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function at(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,C.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,C.endTagWithoutMatchingOpenElement)}function Ft(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function Sf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Oe(e,t);break}case s.NOSCRIPT:{e._err(t,C.nestedNoscriptInHead);break}default:Ht(e,t)}}function Rf(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case s.BR:{Ht(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ht(e,t){const n=t.type===q.EOF?C.openElementsLeftAfterEof:C.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function Lf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BODY:{e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,N.HTML),e.insertionMode=_.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,C.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Oe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Ut(e,t)}}function Of(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Ut(e,t);break}case s.TEMPLATE:{at(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ut(e,t){e._insertFakeElement(A.BODY,s.BODY),e.insertionMode=_.IN_BODY,yn(e,t)}function yn(e,t){switch(t.type){case q.CHARACTER:{_u(e,t);break}case q.WHITESPACE_CHARACTER:{pu(e,t);break}case q.COMMENT:{sr(e,t);break}case q.START_TAG:{de(e,t);break}case q.END_TAG:{Nn(e,t);break}case q.EOF:{Tu(e,t);break}}}function pu(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function _u(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function wf(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Df(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Pf(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_FRAMESET)}function Mf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML)}function Bf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),iu(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,N.HTML)}function Ff(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Hf(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),n||(e.formElement=e.openElements.current))}function Uf(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===s.LI&&i===s.LI||(n===s.DD||n===s.DT)&&(i===s.DD||i===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==s.ADDRESS&&i!==s.DIV&&i!==s.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML)}function vf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.tokenizer.state=ie.PLAINTEXT}function zf(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1}function Yf(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A);n&&(yr(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jf(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(yr(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Wf(e,t){e.treeAdapter.getDocumentMode(e.document)!==Te.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function Eu(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function gu(e){const t=tu(e,We.TYPE);return t!=null&&t.toLowerCase()===cf}function Xf(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),gu(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Qf(e,t){e._appendElement(t,N.HTML),t.ackSelfClosing=!0}function Gf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Kf(e,t){t.tagName=A.IMG,t.tagID=s.IMG,Eu(e,t)}function $f(e,t){e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ie.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function Jf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ie.RAWTEXT)}function Zf(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ie.RAWTEXT)}function qi(e,t){e._switchToTextParsing(t,ie.RAWTEXT)}function ed(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function td(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML)}function nd(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,N.HTML)}function rd(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,N.HTML)}function id(e,t){e._reconstructActiveFormattingElements(),fu(t),Ir(t),t.selfClosing?e._appendElement(t,N.MATHML):e._insertElement(t,N.MATHML),t.ackSelfClosing=!0}function ad(e,t){e._reconstructActiveFormattingElements(),du(t),Ir(t),t.selfClosing?e._appendElement(t,N.SVG):e._insertElement(t,N.SVG),t.ackSelfClosing=!0}function ji(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML)}function de(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{qf(e,t);break}case s.A:{Yf(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Bf(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Mf(e,t);break}case s.LI:case s.DD:case s.DT:{Uf(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Eu(e,t);break}case s.HR:{Gf(e,t);break}case s.RB:case s.RTC:{nd(e,t);break}case s.RT:case s.RP:{rd(e,t);break}case s.PRE:case s.LISTING:{Ff(e,t);break}case s.XMP:{Jf(e,t);break}case s.SVG:{ad(e,t);break}case s.HTML:{wf(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Oe(e,t);break}case s.BODY:{Df(e,t);break}case s.FORM:{Hf(e,t);break}case s.NOBR:{jf(e,t);break}case s.MATH:{id(e,t);break}case s.TABLE:{Wf(e,t);break}case s.INPUT:{Xf(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Qf(e,t);break}case s.IMAGE:{Kf(e,t);break}case s.BUTTON:{zf(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Vf(e,t);break}case s.IFRAME:{Zf(e,t);break}case s.SELECT:{ed(e,t);break}case s.OPTION:case s.OPTGROUP:{td(e,t);break}case s.NOEMBED:{qi(e,t);break}case s.FRAMESET:{Pf(e,t);break}case s.TEXTAREA:{$f(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?qi(e,t):ji(e,t);break}case s.PLAINTEXT:{vf(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:ji(e,t)}}function ud(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function sd(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,Su(e,t))}function od(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ld(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function cd(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(A.P,s.P),e._closePElement()}function hd(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function fd(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function dd(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function md(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function pd(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function bu(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const u=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(u,a))break}}function Nn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{yr(e,t);break}case s.P:{cd(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{od(e,t);break}case s.LI:{hd(e);break}case s.DD:case s.DT:{fd(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{dd(e);break}case s.BR:{pd(e);break}case s.BODY:{ud(e,t);break}case s.HTML:{sd(e,t);break}case s.FORM:{ld(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{md(e,t);break}case s.TEMPLATE:{at(e,t);break}default:bu(e,t)}}function Tu(e,t){e.tmplInsertionModeStack.length>0?xu(e,t):Nr(e,t)}function _d(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Ed(e,t){e._err(t,C.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function qn(e,t){if(mu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case q.CHARACTER:{Cu(e,t);break}case q.WHITESPACE_CHARACTER:{Au(e,t);break}}else Xt(e,t)}function gd(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_CAPTION}function bd(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function Td(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,s.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,xr(e,t)}function Ad(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_TABLE_BODY}function Cd(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,s.TBODY),e.insertionMode=_.IN_TABLE_BODY,xn(e,t)}function kd(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Id(e,t){gu(t)?e._appendElement(t,N.HTML):Xt(e,t),t.ackSelfClosing=!0}function yd(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,N.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Et(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Cd(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Oe(e,t);break}case s.COL:{Td(e,t);break}case s.FORM:{yd(e,t);break}case s.TABLE:{kd(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{Ad(e,t);break}case s.INPUT:{Id(e,t);break}case s.CAPTION:{gd(e,t);break}case s.COLGROUP:{bd(e,t);break}default:Xt(e,t)}}function Yt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{at(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Xt(e,t)}}function Xt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,yn(e,t),e.fosterParentingEnabled=n}function Au(e,t){e.pendingCharacterTokens.push(t)}function Cu(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Lt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{at(e,t);break}}}function Od(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):yu(e,t)}function wd(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Nu(e,t)}function Dd(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Oe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,Et(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,xr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,xn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,Sn(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,de(e,t)}}function Pd(e,t){t.tagID===s.TEMPLATE&&at(e,t)}function xu(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Nr(e,t)}function Md(e,t){t.tagID===s.HTML?de(e,t):_n(e,t)}function Su(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=_.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else _n(e,t)}function _n(e,t){e.insertionMode=_.IN_BODY,yn(e,t)}function Bd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.FRAMESET:{e._insertElement(t,N.HTML);break}case s.FRAME:{e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Oe(e,t);break}}}function Fd(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function Hd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function Ud(e,t){t.tagID===s.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function vd(e,t){t.tagID===s.HTML?de(e,t):cn(e,t)}function cn(e,t){e.insertionMode=_.IN_BODY,yn(e,t)}function zd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function Yd(e,t){t.chars=ne,e._insertCharacters(t)}function qd(e,t){e._insertCharacters(t),e.framesetOk=!1}function Ru(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==N.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function jd(e,t){if(af(t))Ru(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===N.MATHML?fu(t):r===N.SVG&&(uf(t),du(t)),Ir(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Vd(e,t){if(t.tagID===s.P||t.tagID===s.BR){Ru(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===N.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;const Wd=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Vi={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Lu(e,t){const n=nm(e),r=Ka("type",{handlers:{root:Xd,element:Qd,text:Gd,comment:wu,doctype:Kd,raw:Jd},unknown:Zd}),i={parser:n?new Yi(Vi):Yi.getFragmentParser(void 0,Vi),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),Ct(i,Pe());const u=n?i.parser.document:i.parser.getFragment(),a=rh(u,{file:i.options.file});return i.stitches&&In(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function Ou(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);const n={type:q.CHARACTER,chars:e.value,location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Kd(e,t){const n={type:q.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function $d(e,t){t.stitches=!0;const n=rm(e);if("children"in e&&"children"in n){const r=Lu({type:"root",children:e.children},t.options);n.children=r.children}wu({type:"comment",value:{stitch:n}},t)}function wu(e,t){const n=e.value,r={type:q.COMMENT,data:n,location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Jd(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Du(t,Pe(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Zd(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))$d(n,t);else{let r="";throw Wd.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Ct(e,t){Du(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ie.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Du(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function em(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ie.PLAINTEXT)return;Ct(t,Pe(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:nt.html;i===nt.html&&n==="svg"&&(i=nt.svg);const u=oh({...e,children:[]},{space:i===nt.svg?"svg":"html"}),a={type:q.START_TAG,tagName:n,tagID:At(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:Qt(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function tm(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&_h.includes(n)||t.parser.tokenizer.state===ie.PLAINTEXT)return;Ct(t,gn(e));const r={type:q.END_TAG,tagName:n,tagID:At(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Qt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ie.RCDATA||t.parser.tokenizer.state===ie.RAWTEXT||t.parser.tokenizer.state===ie.SCRIPT_DATA)&&(t.parser.tokenizer.state=ie.DATA)}function nm(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Qt(e){const t=Pe(e)||{line:void 0,column:void 0,offset:void 0},n=gn(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function rm(e){return"children"in e?_t({...e,children:[]}):_t(e)}function x1(e){return function(t,n){return Lu(t,{...e,file:n})}}const Wi={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",melting_face:"🫠",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",face_with_open_eyes_and_hand_over_mouth:"🫢",face_with_peeking_eye:"🫣",shushing_face:"🤫",thinking:"🤔",saluting_face:"🫡",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",dotted_line_face:"🫥",face_in_clouds:"😶‍🌫️",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",face_exhaling:"😮‍💨",lying_face:"🤥",shaking_face:"🫨",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",face_with_spiral_eyes:"😵‍💫",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",face_with_diagonal_mouth:"🫤",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",face_holding_back_tears:"🥹",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart_on_fire:"❤️‍🔥",mending_heart:"❤️‍🩹",heart:"❤️",pink_heart:"🩷",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",light_blue_heart:"🩵",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",grey_heart:"🩶",white_heart:"🤍",kiss:"💋",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",rightwards_hand:"🫱",leftwards_hand:"🫲",palm_down_hand:"🫳",palm_up_hand:"🫴",leftwards_pushing_hand:"🫷",rightwards_pushing_hand:"🫸",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",hand_with_index_finger_and_thumb_crossed:"🫰",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️",index_pointing_at_the_viewer:"🫵","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",heart_hands:"🫶",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",biting_lip:"🫦",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",man_beard:"🧔‍♂️",woman_beard:"🧔‍♀️",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",person_with_crown:"🫅",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",pregnant_man:"🫃",pregnant_person:"🫄",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",troll:"🧌",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",moose:"🫎",donkey:"🫏",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",wing:"🪽",black_bird:"🐦‍⬛",goose:"🪿",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",coral:"🪸",jellyfish:"🪼",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",lotus:"🪷",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",hyacinth:"🪻",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",empty_nest:"🪹",nest_with_eggs:"🪺",mushroom:"🍄",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",peanuts:"🥜",beans:"🫘",chestnut:"🌰",ginger_root:"🫚",pea_pod:"🫛",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",pouring_liquid:"🫗",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",jar:"🫙",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",playground_slide:"🛝",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",wheel:"🛞",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",ring_buoy:"🛟",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁",gun:"🔫","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",mirror_ball:"🪩",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",folding_hand_fan:"🪭",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",hair_pick:"🪮",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",maracas:"🪇",flute:"🪈",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",low_battery:"🪫",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",bomb:"💣",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",crutch:"🩼",stethoscope:"🩺",x_ray:"🩻",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",bubbles:"🫧",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",nazar_amulet:"🧿",hamsa:"🪬",moyai:"🗿",placard:"🪧",identification_card:"🪪",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",khanda:"🪯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",wireless:"🛜",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",heavy_equals_sign:"🟰",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",u6708:"🈷️",u6709:"🈶",u6307:"🈯",ideograph_advantage:"🉐",u5272:"🈹",u7121:"🈚",u7981:"🈲",accept:"🉑",u7533:"🈸",u5408:"🈴",u7a7a:"🈳",congratulations:"㊗️",secret:"㊙️",u55b6:"🈺",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"};function im(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Pu(e,t,n){const i=Cn((n||{}).ignore||[]),u=am(t);let a=-1;for(;++a0?{type:"text",value:S}:void 0),S===!1?E.lastIndex=H+1:(T!==H&&w.push({type:"text",value:c.value.slice(T,H)}),Array.isArray(S)?w.push(...S):S&&w.push(S),T=H+D[0].length,y=!0),!E.global)break;D=E.exec(c.value)}return y?(T?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Xi(e,"(");let u=Xi(e,")");for(;r!==-1&&i>u;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),u++;return[e,n]}function Mu(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||rt(n)||bn(n))&&(!t||n!==47)}Bu.peek=Lm;function Tm(){return{enter:{gfmFootnoteDefinition:Cm,gfmFootnoteDefinitionLabelString:km,gfmFootnoteCall:Nm,gfmFootnoteCallString:xm},exit:{gfmFootnoteDefinition:ym,gfmFootnoteDefinitionLabelString:Im,gfmFootnoteCall:Rm,gfmFootnoteCallString:Sm}}}function Am(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Om,footnoteReference:Bu}}}function Cm(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function km(){this.buffer()}function Im(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Le(this.sliceSerialize(e)).toLowerCase()}function ym(e){this.exit(e)}function Nm(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function xm(){this.buffer()}function Sm(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Le(this.sliceSerialize(e)).toLowerCase()}function Rm(e){this.exit(e)}function Bu(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return u+=i.move(n.safe(n.associationId(e),{...i.current(),before:u,after:"]"})),o(),a(),u+=i.move("]"),u}function Lm(){return"["}function Om(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return u+=i.move(n.safe(n.associationId(e),{...i.current(),before:u,after:"]"})),o(),u+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),u+=i.move(n.indentLines(n.containerFlow(e,i.current()),wm)),a(),u}function wm(e,t,n){return t===0?e:(n?"":" ")+e}const Dm=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Fu.peek=Hm;function Pm(){return{canContainEols:["delete"],enter:{strikethrough:Bm},exit:{strikethrough:Fm}}}function Mm(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Dm}],handlers:{delete:Fu}}}function Bm(e){this.enter({type:"delete",children:[]},e)}function Fm(e){this.exit(e)}function Fu(e,t,n,r){const i=n.createTracker(r),u=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),u(),a}function Hm(){return"~"}function Um(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||zm,i=[],u=[],a=[],o=[];let l=0,c=-1;for(;++cl&&(l=e[c].length);++Ro[R])&&(o[R]=w)}T.push(y)}u[c]=T,a[c]=I}let f=-1;if(typeof n=="object"&&"length"in n)for(;++fo[f]&&(o[f]=y),E[f]=y),h[f]=w}u.splice(1,0,h),a.splice(1,0,E),c=-1;const p=[];for(;++c "),u.shift(2);const a=n.indentLines(n.containerFlow(e,u.current()),qm);return i(),a}function qm(e,t,n){return">"+(n?"":" ")+e}function jm(e,t){return Gi(e,t.inConstruct,!0)&&!Gi(e,t.notInConstruct,!1)}function Gi(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++ra&&(a=u):u=1,i=r+t.length,r=n.indexOf(t,i);return a}function Wm(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Xm(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Qm(e,t,n,r){const i=Xm(n),u=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(Wm(e,n)){const h=n.enter("codeIndented"),E=n.indentLines(u,Gm);return h(),E}const o=n.createTracker(r),l=i.repeat(Math.max(Vm(u,i)+1,3)),c=n.enter("codeFenced");let f=o.move(l);if(e.lang){const h=n.enter(`codeFencedLang${a}`);f+=o.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${a}`);f+=o.move(" "),f+=o.move(n.safe(e.meta,{before:f,after:` -`,encode:["`"],...o.current()})),h()}return f+=o.move(` -`),u&&(f+=o.move(u+` -`)),f+=o.move(l),c(),f}function Gm(e,t,n){return(n?"":" ")+e}function Sr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Km(e,t,n,r){const i=Sr(n),u=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` -`,...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),a(),c}function $m(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Hu.peek=Jm;function Hu(e,t,n,r){const i=$m(n),u=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i),u(),o}function Jm(e,t,n){return n.options.emphasis||"*"}function Zm(e,t){let n=!1;return In(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Zn}),!!((!e.depth||e.depth<3)&&mr(e)&&(t.options.setext||n))}function ep(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),u=n.createTracker(r);if(Zm(e,n)){const f=n.enter("headingSetext"),h=n.enter("phrasing"),E=n.containerPhrasing(e,{...u.current(),before:` -`,after:` -`});return h(),f(),E+` -`+(i===1?"=":"-").repeat(E.length-(Math.max(E.lastIndexOf("\r"),E.lastIndexOf(` -`))+1))}const a="#".repeat(i),o=n.enter("headingAtx"),l=n.enter("phrasing");u.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:` -`,...u.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Uu.peek=tp;function Uu(e){return e.value||""}function tp(){return"<"}vu.peek=np;function vu(e,t,n,r){const i=Sr(n),u=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function np(){return"!"}zu.peek=rp;function zu(e,t,n,r){const i=e.referenceType,u=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function rp(){return"!"}Yu.peek=ip;function Yu(e,t,n){let r=e.value||"",i="`",u=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u\u007F]/.test(e.url))}ju.peek=ap;function ju(e,t,n,r){const i=Sr(n),u=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(qu(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),o(),n.stack=f,h}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${u}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function ap(e,t,n){return qu(e,n)?"<":"["}Vu.peek=up;function Vu(e,t,n,r){const i=e.referenceType,u=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function up(){return"["}function Rr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function sp(e){const t=Rr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function op(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Wu(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function lp(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let a=e.ordered?op(n):Rr(n);const o=e.ordered?a==="."?")":".":sp(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Wu(n)===a&&f){let h=-1;for(;++h-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let a=u.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(u+" ".repeat(a-u.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return l(),c;function f(h,E,p){return E?(p?"":" ".repeat(a))+h:(p?u:u+" ".repeat(a-u.length))+h}}function fp(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),a=n.containerPhrasing(e,r);return u(),i(),a}const dp=Cn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mp(e,t,n,r){return(e.children.some(function(a){return dp(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function pp(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Xu.peek=_p;function Xu(e,t,n,r){const i=pp(n),u=n.enter("strong"),a=n.createTracker(r);let o=a.move(i+i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i+i),u(),o}function _p(e,t,n){return n.options.strong||"*"}function Ep(e,t,n,r){return n.safe(e.value,r)}function gp(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function bp(e,t,n){const r=(Wu(n)+(n.options.ruleSpaces?" ":"")).repeat(gp(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Qu={blockquote:Ym,break:Ki,code:Qm,definition:Km,emphasis:Hu,hardBreak:Ki,heading:ep,html:Uu,image:vu,imageReference:zu,inlineCode:Yu,link:ju,linkReference:Vu,list:lp,listItem:hp,paragraph:fp,root:mp,strong:Xu,text:Ep,thematicBreak:bp};function Tp(){return{enter:{table:Ap,tableData:$i,tableHeader:$i,tableRow:kp},exit:{codeText:Ip,table:Cp,tableData:Xn,tableHeader:Xn,tableRow:Xn}}}function Ap(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Cp(e){this.exit(e),this.data.inTable=void 0}function kp(e){this.enter({type:"tableRow",children:[]},e)}function Xn(e){this.exit(e)}function $i(e){this.enter({type:"tableCell",children:[]},e)}function Ip(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,yp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function yp(e,t){return t==="|"?t:e}function Np(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` -`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:a,tableCell:l,tableRow:o}};function a(p,T,I,R){return c(f(p,I,R),p.align)}function o(p,T,I,R){const y=h(p,I,R),w=c([y]);return w.slice(0,w.indexOf(` -`))}function l(p,T,I,R){const y=I.enter("tableCell"),w=I.enter("phrasing"),D=I.containerPhrasing(p,{...R,before:u,after:u});return w(),y(),D}function c(p,T){return Um(p,{align:T,alignDelimiters:r,padding:n,stringLength:i})}function f(p,T,I){const R=p.children;let y=-1;const w=[],D=T.enter("table");for(;++y0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jp={tokenize:Jp,partial:!0};function Vp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Gp,continuation:{tokenize:Kp},exit:$p}},text:{91:{name:"gfmFootnoteCall",tokenize:Qp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Wp,resolveTo:Xp}}}}function Wp(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Le(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Xp(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Qp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||J(h))return n(h);if(h===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return i.includes(Le(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return J(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}function Gp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(T)}function f(T){if(a>999||T===93&&!o||T===null||T===91||J(T))return n(T);if(T===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return u=Le(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(T)||(o=!0),a++,e.consume(T),T===92?h:f}function h(T){return T===91||T===92||T===93?(e.consume(T),a++,f):f(T)}function E(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),i.includes(u)||i.push(u),X(e,p,"gfmFootnoteDefinitionWhitespace")):n(T)}function p(T){return t(T)}}function Kp(e,t,n){return e.check(Vt,t,e.attempt(jp,t,n))}function $p(e){e.exit("gfmFootnoteDefinition")}function Jp(e,t,n){const r=this;return X(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}function Zp(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(T):(a.consume(T),h++,p);if(h<2&&!n)return l(T);const R=a.exit("strikethroughSequenceTemporary"),y=fn(T);return R._open=!y||y===2&&!!I,R._close=!I||I===2&&!!y,o(T)}}}class e1{constructor(){this.map=[]}add(t,n,r){t1(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function t1(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const re=r.events[M][1].type;if(re==="lineEnding"||re==="linePrefix")M--;else break}const B=M>-1?r.events[M][1].type:null,K=B==="tableHead"||B==="tableRow"?S:l;return K===S&&r.parser.lazy[r.now().line]?n(k):K(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,u+=1),f(k)}function f(k){return k===null?n(k):F(k)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),p):n(k):j(k)?X(e,f,"whitespace")(k):(u+=1,a&&(a=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(k)))}function h(k){return k===null||k===124||J(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?E:h)}function E(k){return k===92||k===124?(e.consume(k),h):h(k)}function p(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),a=!1,j(k)?X(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):T(k))}function T(k){return k===45||k===58?R(k):k===124?(a=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),I):U(k)}function I(k){return j(k)?X(e,R,"whitespace")(k):R(k)}function R(k){return k===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(u+=1,y(k)):k===null||F(k)?H(k):U(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):U(k)}function w(k){return k===45?(e.consume(k),w):k===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(k))}function D(k){return j(k)?X(e,H,"whitespace")(k):H(k)}function H(k){return k===124?T(k):k===null||F(k)?!a||i!==u?U(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):U(k)}function U(k){return n(k)}function S(k){return e.enter("tableRow"),V(k)}function V(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),V):k===null||F(k)?(e.exit("tableRow"),t(k)):j(k)?X(e,V,"whitespace")(k):(e.enter("data"),ee(k))}function ee(k){return k===null||k===124||J(k)?(e.exit("data"),V(k)):(e.consume(k),k===92?G:ee)}function G(k){return k===92||k===124?(e.consume(k),ee):ee(k)}}function a1(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const E=new e1;for(;++nn[2]+1){const T=n[2]+1,I=n[3]-n[2]-1;e.add(T,I,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},dt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function Zi(e,t,n,r,i){const u=[],a=dt(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}function dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const u1={name:"tasklistCheck",tokenize:o1};function s1(){return{text:{91:u1}}}function o1(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return F(l)?t(l):j(l)?e.check({tokenize:l1},t,n)(l):n(l)}}function l1(e,t,n){return X(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function c1(e){return ya([Mp(),Vp(),Zp(e),r1(),s1()])}const h1={};function R1(e){const t=this,n=e||h1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(c1(n)),u.push(Op()),a.push(wp(n))}const L1=["strong","summary","blockquote","details","table","tbody","thead","h1","h2","h3","h4","h5","h6","input","ul","li","div","pre","ul","ol","li","br","em","hr","td","th","tr","a","img","p","del","span","code","button"],f1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Alert}))),d1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Avatar}))),m1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Button}))),p1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Byline}))),_1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Checkbox}))),ct=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Heading}))),E1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Img}))),g1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Link}))),b1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.SourceCodeEditor}))),ht=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Text}))),T1=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.ToggleDetails}))),an=te.lazy(()=>ke(()=>import("./index-DXJB-CtN.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.View}))),un=e=>te.Children.map(e.children,t=>typeof t!="string"?t:null),ea=e=>{var t,n;return((n=(t=e==null?void 0:e.style)==null?void 0:t.textAlign)==null?void 0:n.replace(/\b(left|right)\b/,r=>r==="left"?"start":"end"))??"start"},O1={hr:({node:e,...t})=>z.jsx(an,{as:e==null?void 0:e.tagName,shadow:"topmost",borderWidth:"small",margin:"small none",padding:"none",borderColor:"primary",...t}),a:({node:e,...t})=>z.jsx(g1,{to:e.href,...t}),button:({node:e,...t})=>z.jsx(m1,{withBackground:!1,...t}),p:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),em:({node:e,...t})=>z.jsx(ht,{fontStyle:"italic",...t}),strong:({node:e,...t})=>z.jsx(ht,{weight:"bold",...t}),span:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),code:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),del:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),blockquote:({node:e,...t})=>{t={...t,children:un(t)};const n=/\[\!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/,r={NOTE:"info",TIP:"success",IMPORTANT:"info",WARNING:"warning",CAUTION:"error"},i=te.Children.toArray(t.children)[0];let u,a;ms.isValidElement(i)?[u,a]=i.props.children.split("--",2):[u,a]=i.toString().split("--",2);const o=u.match(n);return o?z.jsx(f1,{variant:r[o[1]],children:u.replace(`${o[0]}`,"")}):z.jsx(p1,{description:u,title:a,margin:"medium 0",...t,children:a?z.jsx(d1,{name:a}):z.jsx(z.Fragment,{})})},h1:({node:e,...t})=>z.jsx(ct,{margin:"none none medium",level:e.tagName,...t}),h2:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h3:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h4:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h5:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h6:({node:e,...t})=>z.jsx(ct,{as:"h6",...t}),img:({node:e,...t})=>z.jsx(E1,{src:e.src,...t}),div:({node:e,...t})=>z.jsx(an,{as:e.tagName,...t}),pre:({node:e,...t})=>{if(e.children.length===1&&e.children[0].tagName==="code"){let n=e.children[0].children[0].value;return n.endsWith(` -`)&&(n=n.slice(0,-1)),z.jsx(b1,{label:"Code",lineNumbers:!0,foldGutter:!0,editable:!0,readOnly:!0,defaultValue:n})}return z.jsx(an,{as:e.tagName,...t})},ul:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t,i=(r==null?void 0:r.className)==="contains-task-list"||!1;return z.jsx(Nt,{isUnstyled:i,...r,children:te.Children.map(n,u=>{const{children:a,...o}=u.props;if(i&&a){let l=!1;return z.jsx(Nt.Item,{margin:"0 0 small small",...o,children:te.Children.map(a,c=>{var f,h,E;if(((f=c==null?void 0:c.props)==null?void 0:f.type)==="checkbox"&&(l=((h=c==null?void 0:c.props)==null?void 0:h.checked)??!1),((E=c==null?void 0:c.props)==null?void 0:E.type)!=="checkbox"&&c!==" "&&c!=="[ ]"&&c!=="[X]")return z.jsx(_1,{label:c,disabled:!0,defaultChecked:l})})},u.key)}return z.jsx(Nt.Item,{...u.props},u.key)})})},ol:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t;return z.jsx(Nt,{as:e.tagName,...r,children:te.Children.map(n,i=>z.jsx(Nt.Item,{...i.props},i.key))})},input:({node:e,...t})=>z.jsx(e.tagName,{...t}),details:({node:e,...t})=>{t={...t,children:un(t)};const n=t.children.shift();return z.jsx(T1,{summary:n,children:z.jsx(an,{display:"block",padding:"small",...t})})},table:({node:e,...t})=>{const{children:n,...r}=t;return z.jsx($e,{margin:"medium none",hover:!0,caption:"",...r,children:te.Children.map(n,i=>{const{children:u,...a}=i.props;return i.type==="thead"?z.jsx($e.Head,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.ColHeader,{id:f.key,textAlign:ea(f.props),...f.props},f.key))})})}):z.jsx($e.Body,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.Cell,{textAlign:ea(f.props),...f.props}))})})})})})}};export{Nt as L,N1 as M,S1 as a,x1 as b,L1 as c,O1 as d,sa as e,R1 as r}; diff --git a/assets/Mdtoui-De8g0Gj_.js b/assets/Mdtoui-De8g0Gj_.js new file mode 100644 index 0000000..70aa410 --- /dev/null +++ b/assets/Mdtoui-De8g0Gj_.js @@ -0,0 +1,31 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-FeyKb7iJ.js","assets/index-C29H8B_2.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BMjzoizO.js","assets/index-BU6CM6-K.js","assets/index-XoI2c9b1.js","assets/index-DFC9d6f5.js","assets/IconRssLine-dU4u7fMc.js"])))=>i.map(i=>d[i]); +import{f as fs,P as be,T as Xn,w as ta,t as na,r as te,h as ra,i as ia,p as aa,V as ua,k as Mr,l as ds,j as z,_ as ke,R as ms}from"./index-Bko_xNHh.js";import{C as ps,s as _s}from"./RenderTopNavBar-C6YLj6sY.js";import{a as $e}from"./index-C29H8B_2.js";const Es=(e,t)=>{const n=t.size,r=t.delimiter,i=t.spacing,u=r!=="none",a=i!=="none";fs(!(u&&a),"[List] `itemSpacing` has no effect inside Lists with the `delimiter` prop set to anything other than `none`.");const o={small:{fontSize:e.fontSizeSmall},medium:{fontSize:e.fontSizeMedium},large:{fontSize:e.fontSizeLarge}},l={"xxx-small":{marginTop:e.spacingXXXSmall,marginBottom:e.spacingXXXSmall},"xx-small":{marginTop:e.spacingXXSmall,marginBottom:e.spacingXXSmall},"x-small":{marginTop:e.spacingXSmall,marginBottom:e.spacingXSmall},small:{marginTop:e.spacingSmall,marginBottom:e.spacingSmall},medium:{marginTop:e.spacingMedium,marginBottom:e.spacingMedium},large:{marginTop:e.spacingLarge,marginBottom:e.spacingLarge},"x-large":{marginTop:e.spacingXLarge,marginBottom:e.spacingXLarge},"xx-large":{marginTop:e.spacingXXLarge,marginBottom:e.spacingXXLarge},none:{}},c={dashed:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterDashedBorder}},solid:{listStylePosition:"inside","&:not(:first-of-type)":{borderTop:e.delimiterSolidBorder}},none:{}};return{listItem:{label:"listItem",fontWeight:e.fontWeight,fontFamily:e.fontFamily,lineHeight:e.lineHeight,color:e.color,padding:0,...o[n],...a&&!u&&l[i],...u&&c[r],"&:first-of-type":{marginTop:"0"},"&:last-of-type":{marginBottom:"0"}}}},gs=e=>{const t=e.borders,n=e.colors,r=e.spacing,i=e.typography,u=e.key,a={canvas:{color:e["ic-brand-font-color-dark"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,lineHeight:i==null?void 0:i.lineHeight,fontSizeSmall:i==null?void 0:i.fontSizeSmall,fontSizeMedium:i==null?void 0:i.fontSizeMedium,fontSizeLarge:i==null?void 0:i.fontSizeLarge,color:n==null?void 0:n.textDarkest,spacingXXXSmall:r==null?void 0:r.xxxSmall,spacingXXSmall:r==null?void 0:r.xxSmall,spacingXSmall:r==null?void 0:r.xSmall,spacingSmall:r==null?void 0:r.small,spacingMedium:r==null?void 0:r.medium,spacingLarge:r==null?void 0:r.large,spacingXLarge:r==null?void 0:r.xLarge,spacingXXLarge:r==null?void 0:r.xxLarge,delimiterDashedBorder:`${t==null?void 0:t.widthSmall} dashed ${n==null?void 0:n.borderMedium}`,delimiterSolidBorder:`${t==null?void 0:t.widthSmall} solid ${n==null?void 0:n.borderMedium}`},...a[u]}},bs={children:be.oneOfType([be.node,be.func]).isRequired,delimiter:be.oneOf(["none","dashed","solid"]),size:be.oneOf(["small","medium","large"]),margin:Xn.spacing,padding:Xn.spacing,spacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},Ts=["children","delimiter","size","margin","padding","spacing","elementRef"],As=["delimiter","spacing","size","margin","padding","elementRef","children","styles"];var Br,Fr,Kt,Je;let sa=(Br=ta(Es,gs),Fr=na(),Br(Kt=Fr(Kt=(Je=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}render(){const t=this.props;t.delimiter,t.spacing,t.size;const n=t.margin,r=t.padding;t.elementRef;const i=t.children,u=t.styles,a=ra(t,As);return ia(ua,Object.assign({},aa(a),{css:u==null?void 0:u.listItem,as:"li",margin:n,padding:r,maxWidth:"100%",elementRef:this.handleRef}),i)}},Je.displayName="ListItem",Je.componentId="List.Item",Je.propTypes=bs,Je.allowedProps=Ts,Je.defaultProps={padding:"none",spacing:"none",delimiter:"none",size:"medium"},Je))||Kt)||Kt);const Cs=(e,t)=>{const n=t.isUnstyled,i=t.as==="ol";return{list:{label:"list",paddingInlineStart:e.listPadding,paddingInlineEnd:0,...i&&{listStyleType:"none",paddingInlineStart:`calc(${e.listPadding} / 2)`,paddingInlineEnd:0,counterReset:"ol-counter","&>li::before":{fontWeight:e.orderedNumberFontWeight,counterIncrement:"ol-counter",content:'counters(ol-counter, ".") "."',marginInlineEnd:e.orderedNumberMargin,marginInlineStart:0}},...n&&{listStyleType:"none",paddingInlineStart:0}}}},ks=e=>{const t=e.spacing,n=e.typography;return{...{listPadding:t==null?void 0:t.large,orderedNumberFontWeight:n==null?void 0:n.fontWeightBold,orderedNumberMargin:t==null?void 0:t.xSmall}}},Is={children:ps.oneOf([sa]),as:be.oneOf(["ul","ol"]),delimiter:be.oneOf(["none","dashed","solid"]),isUnstyled:be.bool,margin:Xn.spacing,size:be.oneOf(["small","medium","large"]),itemSpacing:be.oneOf(["none","xxx-small","xx-small","x-small","small","medium","large","x-large","xx-large"]),elementRef:be.func},ys=["children","as","delimiter","isUnstyled","margin","size","itemSpacing","elementRef"],Ns=["as","margin","isUnstyled","elementRef","styles"];var Hr,Ur,$t,Ye;let Nt=(Hr=ta(Cs,ks),Ur=na(),Hr($t=Ur($t=(Ye=class extends te.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=n=>{const r=this.props.elementRef;this.ref=n,typeof r=="function"&&r(n)}}componentDidMount(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}componentDidUpdate(){var t,n;(t=(n=this.props).makeStyles)===null||t===void 0||t.call(n)}renderChildren(){return te.Children.map(this.props.children,t=>{if(t)return _s(t,{isUnstyled:this.props.isUnstyled,delimiter:this.props.delimiter,size:this.props.size,spacing:this.props.itemSpacing})})}render(){const t=this.props,n=t.as,r=t.margin;t.isUnstyled,t.elementRef;const i=t.styles,u=ra(t,Ns);return ia(ua,Object.assign({},aa(u),{css:i==null?void 0:i.list,as:n,margin:r,elementRef:this.handleRef,display:"block"}),this.renderChildren())}},Ye.displayName="List",Ye.componentId="List",Ye.propTypes=Is,Ye.allowedProps=ys,Ye.defaultProps={as:"ul",delimiter:"none",isUnstyled:!1,size:"medium",itemSpacing:"none"},Ye.Item=sa,Ye))||$t)||$t);function vr(e){const t=[],n=String(e||"");let r=n.indexOf(","),i=0,u=!1;for(;!u;){r===-1&&(r=n.length,u=!0);const a=n.slice(i,r).trim();(a||!u)&&t.push(a),i=r+1,r=n.indexOf(",",i)}return t}function oa(e,t){const n={};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}const xs=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Ss=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Rs={};function zr(e,t){return(Rs.jsx?Ss:xs).test(e)}const Ls=/[ \t\n\f\r]/g;function Os(e){return typeof e=="object"?e.type==="text"?Yr(e.value):!1:Yr(e)}function Yr(e){return e.replace(Ls,"")===""}class qt{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}qt.prototype.property={};qt.prototype.normal={};qt.prototype.space=null;function la(e,t){const n={},r={};let i=-1;for(;++i4&&n.slice(0,4)==="data"&&Bs.test(t)){if(t.charAt(4)==="-"){const u=t.slice(5).replace(jr,Us);r="data"+u.charAt(0).toUpperCase()+u.slice(1)}else{const u=t.slice(4);if(!jr.test(u)){let a=u.replace(Fs,Hs);a.charAt(0)!=="-"&&(a="-"+a),t="data"+a}}i=lr}return new i(r,t)}function Hs(e){return"-"+e.toLowerCase()}function Us(e){return e.charAt(1).toUpperCase()}const vs={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},jt=la([fa,ha,pa,_a,Ps],"html"),Xe=la([fa,ha,pa,_a,Ms],"svg");function Vr(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Ea(e){return e.join(" ").trim()}var ga={},Wr=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,zs=/\n/g,Ys=/^\s*/,qs=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,js=/^:\s*/,Vs=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,Ws=/^[;\s]*/,Xs=/^\s+|\s+$/g,Qs=` +`,Xr="/",Qr="*",et="",Gs="comment",Ks="declaration",$s=function(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(T){var I=T.match(zs);I&&(n+=I.length);var R=T.lastIndexOf(Qs);r=~R?T.length-R:r+T.length}function u(){var T={line:n,column:r};return function(I){return I.position=new a(T),c(),I}}function a(T){this.start=T,this.end={line:n,column:r},this.source=t.source}a.prototype.content=e;function o(T){var I=new Error(t.source+":"+n+":"+r+": "+T);if(I.reason=T,I.filename=t.source,I.line=n,I.column=r,I.source=e,!t.silent)throw I}function l(T){var I=T.exec(e);if(I){var R=I[0];return i(R),e=e.slice(R.length),I}}function c(){l(Ys)}function f(T){var I;for(T=T||[];I=h();)I!==!1&&T.push(I);return T}function h(){var T=u();if(!(Xr!=e.charAt(0)||Qr!=e.charAt(1))){for(var I=2;et!=e.charAt(I)&&(Qr!=e.charAt(I)||Xr!=e.charAt(I+1));)++I;if(I+=2,et===e.charAt(I-1))return o("End of comment missing");var R=e.slice(2,I-2);return r+=2,i(R),e=e.slice(I),r+=2,T({type:Gs,comment:R})}}function E(){var T=u(),I=l(qs);if(I){if(h(),!l(js))return o("property missing ':'");var R=l(Vs),y=T({type:Ks,property:Gr(I[0].replace(Wr,et)),value:R?Gr(R[0].replace(Wr,et)):et});return l(Ws),y}}function p(){var T=[];f(T);for(var I;I=E();)I!==!1&&(T.push(I),f(T));return T}return c(),p()};function Gr(e){return e?e.replace(Xs,et):et}var Js=Mr&&Mr.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(ga,"__esModule",{value:!0});var Zs=Js($s);function eo(e,t){var n=null;if(!e||typeof e!="string")return n;var r=(0,Zs.default)(e),i=typeof t=="function";return r.forEach(function(u){if(u.type==="declaration"){var a=u.property,o=u.value;i?t(a,o,u):o&&(n=n||{},n[a]=o)}}),n}var Kr=ga.default=eo;const to=Kr.default||Kr,gn=ba("end"),Pe=ba("start");function ba(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line=="number"&&r.line>0&&typeof r.column=="number"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset=="number"&&r.offset>-1?r.offset:void 0}}}function no(e){const t=Pe(e),n=gn(e);if(t&&n)return{start:t,end:n}}function wt(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?$r(e.position):"start"in e||"end"in e?$r(e):"line"in e||"column"in e?Gn(e):""}function Gn(e){return Jr(e&&e.line)+":"+Jr(e&&e.column)}function $r(e){return Gn(e&&e.start)+"-"+Gn(e&&e.end)}function Jr(e){return e&&typeof e=="number"?e:1}class fe extends Error{constructor(t,n,r){super(),typeof n=="string"&&(r=n,n=void 0);let i="",u={},a=!1;if(n&&("line"in n&&"column"in n?u={place:n}:"start"in n&&"end"in n?u={place:n}:"type"in n?u={ancestors:[n],place:n.position}:u={...n}),typeof t=="string"?i=t:!u.cause&&t&&(a=!0,i=t.message,u.cause=t),!u.ruleId&&!u.source&&typeof r=="string"){const l=r.indexOf(":");l===-1?u.ruleId=r:(u.source=r.slice(0,l),u.ruleId=r.slice(l+1))}if(!u.place&&u.ancestors&&u.ancestors){const l=u.ancestors[u.ancestors.length-1];l&&(u.place=l.position)}const o=u.place&&"start"in u.place?u.place.start:u.place;this.ancestors=u.ancestors||void 0,this.cause=u.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file,this.message=i,this.line=o?o.line:void 0,this.name=wt(u.place)||"1:1",this.place=u.place||void 0,this.reason=this.message,this.ruleId=u.ruleId||void 0,this.source=u.source||void 0,this.stack=a&&u.cause&&typeof u.cause.stack=="string"?u.cause.stack:"",this.actual,this.expected,this.note,this.url}}fe.prototype.file="";fe.prototype.name="";fe.prototype.reason="";fe.prototype.message="";fe.prototype.stack="";fe.prototype.column=void 0;fe.prototype.line=void 0;fe.prototype.ancestors=void 0;fe.prototype.cause=void 0;fe.prototype.fatal=void 0;fe.prototype.place=void 0;fe.prototype.ruleId=void 0;fe.prototype.source=void 0;const cr={}.hasOwnProperty,ro=new Map,io=/[A-Z]/g,ao=/-([a-z])/g,uo=new Set(["table","tbody","thead","tfoot","tr"]),so=new Set(["td","th"]),Ta="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function oo(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");r=Eo(n,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");r=_o(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Xe:jt,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},u=Aa(i,e,void 0);return u&&typeof u!="string"?u:i.create(e,i.Fragment,{children:u||void 0},void 0)}function Aa(e,t,n){if(t.type==="element")return lo(e,t,n);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return co(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return fo(e,t,n);if(t.type==="mdxjsEsm")return ho(e,t);if(t.type==="root")return mo(e,t,n);if(t.type==="text")return po(e,t)}function lo(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=ka(e,t.tagName,!1),a=go(e,t);let o=fr(e,t);return uo.has(t.tagName)&&(o=o.filter(function(l){return typeof l=="string"?!Os(l):!0})),Ca(e,a,u,t),hr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function co(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}zt(e,t.position)}function ho(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);zt(e,t.position)}function fo(e,t,n){const r=e.schema;let i=r;t.name==="svg"&&r.space==="html"&&(i=Xe,e.schema=i),e.ancestors.push(t);const u=t.name===null?e.Fragment:ka(e,t.name,!0),a=bo(e,t),o=fr(e,t);return Ca(e,a,u,t),hr(a,o),e.ancestors.pop(),e.schema=r,e.create(t,u,a,n)}function mo(e,t,n){const r={};return hr(r,fr(e,t)),e.create(t,e.Fragment,r,n)}function po(e,t){return t.value}function Ca(e,t,n,r){typeof n!="string"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function hr(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function _o(e,t,n){return r;function r(i,u,a,o){const c=Array.isArray(a.children)?n:t;return o?c(u,a,o):c(u,a)}}function Eo(e,t){return n;function n(r,i,u,a){const o=Array.isArray(u.children),l=Pe(r);return t(i,u,a,o,{columnNumber:l?l.column-1:void 0,fileName:e,lineNumber:l?l.line:void 0},void 0)}}function go(e,t){const n={};let r,i;for(i in t.properties)if(i!=="children"&&cr.call(t.properties,i)){const u=To(e,i,t.properties[i]);if(u){const[a,o]=u;e.tableCellAlignToStyle&&a==="align"&&typeof o=="string"&&so.has(t.tagName)?r=o:n[a]=o}}if(r){const u=n.style||(n.style={});u[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=r}return n}function bo(e,t){const n={};for(const r of t.attributes)if(r.type==="mdxJsxExpressionAttribute")if(r.data&&r.data.estree&&e.evaluater){const u=r.data.estree.body[0];u.type;const a=u.expression;a.type;const o=a.properties[0];o.type,Object.assign(n,e.evaluater.evaluateExpression(o.argument))}else zt(e,t.position);else{const i=r.name;let u;if(r.value&&typeof r.value=="object")if(r.value.data&&r.value.data.estree&&e.evaluater){const o=r.value.data.estree.body[0];o.type,u=e.evaluater.evaluateExpression(o.expression)}else zt(e,t.position);else u=r.value===null?!0:r.value;n[i]=u}return n}function fr(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:ro;for(;++ri?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),e.splice(...a);else for(n&&e.splice(t,n);u0?(Ce(e,e.length,0,t),e):t}const ti={}.hasOwnProperty;function ya(e){const t={};let n=-1;for(;++n13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?"�":String.fromCodePoint(n)}function Le(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const me=Qe(/[A-Za-z]/),he=Qe(/[\dA-Za-z]/),Lo=Qe(/[#-'*+\--9=?A-Z^-~]/);function hn(e){return e!==null&&(e<32||e===127)}const Kn=Qe(/\d/),Oo=Qe(/[\dA-Fa-f]/),wo=Qe(/[!-/:-@[-`{-~]/);function F(e){return e!==null&&e<-2}function J(e){return e!==null&&(e<0||e===32)}function j(e){return e===-2||e===-1||e===32}const bn=Qe(new RegExp("\\p{P}|\\p{S}","u")),rt=Qe(/\s/);function Qe(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function bt(e){const t=[];let n=-1,r=0,i=0;for(;++n55295&&u<57344){const o=e.charCodeAt(n+1);u<56320&&o>56319&&o<57344?(a=String.fromCharCode(u,o),i=1):a="�"}else a=String.fromCharCode(u);a&&(t.push(e.slice(r,n),encodeURIComponent(a)),r=n+i+1,a=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function X(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let u=0;return a;function a(l){return j(l)?(e.enter(n),o(l)):t(l)}function o(l){return j(l)&&u++a))return;const V=t.events.length;let ee=V,G,k;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){k=t.events[ee][1].end;break}G=!0}for(y(r),S=V;SD;){const U=n[H];t.containerState=U[1],U[0].exit.call(t,e)}n.length=D}function w(){i.write([null]),u=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Fo(e,t,n){return X(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function fn(e){if(e===null||J(e)||rt(e))return 1;if(bn(e))return 2}function Tn(e,t,n){const r=[];let i=-1;for(;++i1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const h=Object.assign({},e[r][1].end),E=Object.assign({},e[n][1].start);ri(h,-l),ri(E,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:Object.assign({},e[r][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[n][1].start),end:E},u={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},e[r][1].end=Object.assign({},a.start),e[n][1].start=Object.assign({},o.end),c=[],e[r][1].end.offset-e[r][1].start.offset&&(c=Ae(c,[["enter",e[r][1],t],["exit",e[r][1],t]])),c=Ae(c,[["enter",i,t],["enter",a,t],["exit",a,t],["enter",u,t]]),c=Ae(c,Tn(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),c=Ae(c,[["exit",u,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(f=2,c=Ae(c,[["enter",e[n][1],t],["exit",e[n][1],t]])):f=0,Ce(e,r-1,n-r+3,c),n=r+c.length-f-2;break}}for(n=-1;++n0&&j(S)?X(e,w,"linePrefix",u+1)(S):w(S)}function w(S){return S===null||F(S)?e.check(ii,I,H)(S):(e.enter("codeFlowValue"),D(S))}function D(S){return S===null||F(S)?(e.exit("codeFlowValue"),w(S)):(e.consume(S),D)}function H(S){return e.exit("codeFenced"),t(S)}function U(S,V,ee){let G=0;return k;function k(Q){return S.enter("lineEnding"),S.consume(Q),S.exit("lineEnding"),M}function M(Q){return S.enter("codeFencedFence"),j(Q)?X(S,B,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Q):B(Q)}function B(Q){return Q===o?(S.enter("codeFencedFenceSequence"),K(Q)):ee(Q)}function K(Q){return Q===o?(G++,S.consume(Q),K):G>=a?(S.exit("codeFencedFenceSequence"),j(Q)?X(S,re,"whitespace")(Q):re(Q)):ee(Q)}function re(Q){return Q===null||F(Q)?(S.exit("codeFencedFence"),V(Q)):ee(Q)}}}function Go(e,t,n){const r=this;return i;function i(a){return a===null?n(a):(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}const On={name:"codeIndented",tokenize:$o},Ko={tokenize:Jo,partial:!0};function $o(e,t,n){const r=this;return i;function i(c){return e.enter("codeIndented"),X(e,u,"linePrefix",5)(c)}function u(c){const f=r.events[r.events.length-1];return f&&f[1].type==="linePrefix"&&f[2].sliceSerialize(f[1],!0).length>=4?a(c):n(c)}function a(c){return c===null?l(c):F(c)?e.attempt(Ko,a,l)(c):(e.enter("codeFlowValue"),o(c))}function o(c){return c===null||F(c)?(e.exit("codeFlowValue"),a(c)):(e.consume(c),o)}function l(c){return e.exit("codeIndented"),t(c)}}function Jo(e,t,n){const r=this;return i;function i(a){return r.parser.lazy[r.now().line]?n(a):F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),i):X(e,u,"linePrefix",5)(a)}function u(a){const o=r.events[r.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(a):F(a)?i(a):n(a)}}const Zo={name:"codeText",tokenize:nl,resolve:el,previous:tl};function el(e){let t=e.length-4,n=3,r,i;if((e[n][1].type==="lineEnding"||e[n][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(r=n;++r=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return tthis.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const u=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&xt(this.left,r),u.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),xt(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xt(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}}function Oa(e,t,n,r,i,u,a,o,l){const c=l||Number.POSITIVE_INFINITY;let f=0;return h;function h(y){return y===60?(e.enter(r),e.enter(i),e.enter(u),e.consume(y),e.exit(u),E):y===null||y===32||y===41||hn(y)?n(y):(e.enter(r),e.enter(a),e.enter(o),e.enter("chunkString",{contentType:"string"}),I(y))}function E(y){return y===62?(e.enter(u),e.consume(y),e.exit(u),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),p(y))}function p(y){return y===62?(e.exit("chunkString"),e.exit(o),E(y)):y===null||y===60||F(y)?n(y):(e.consume(y),y===92?T:p)}function T(y){return y===60||y===62||y===92?(e.consume(y),p):p(y)}function I(y){return!f&&(y===null||y===41||J(y))?(e.exit("chunkString"),e.exit(o),e.exit(a),e.exit(r),t(y)):f999||p===null||p===91||p===93&&!l||p===94&&!o&&"_hiddenFootnoteSupport"in a.parser.constructs?n(p):p===93?(e.exit(u),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):F(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),f):(e.enter("chunkString",{contentType:"string"}),h(p))}function h(p){return p===null||p===91||p===93||F(p)||o++>999?(e.exit("chunkString"),f(p)):(e.consume(p),l||(l=!j(p)),p===92?E:h)}function E(p){return p===91||p===92||p===93?(e.consume(p),o++,h):h(p)}}function Da(e,t,n,r,i,u){let a;return o;function o(E){return E===34||E===39||E===40?(e.enter(r),e.enter(i),e.consume(E),e.exit(i),a=E===40?41:E,l):n(E)}function l(E){return E===a?(e.enter(i),e.consume(E),e.exit(i),e.exit(r),t):(e.enter(u),c(E))}function c(E){return E===a?(e.exit(u),l(a)):E===null?n(E):F(E)?(e.enter("lineEnding"),e.consume(E),e.exit("lineEnding"),X(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),f(E))}function f(E){return E===a||E===null||F(E)?(e.exit("chunkString"),c(E)):(e.consume(E),E===92?h:f)}function h(E){return E===a||E===92?(e.consume(E),f):f(E)}}function Dt(e,t){let n;return r;function r(i){return F(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):j(i)?X(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}const cl={name:"definition",tokenize:fl},hl={tokenize:dl,partial:!0};function fl(e,t,n){const r=this;let i;return u;function u(p){return e.enter("definition"),a(p)}function a(p){return wa.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function o(p){return i=Le(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),l):n(p)}function l(p){return J(p)?Dt(e,c)(p):c(p)}function c(p){return Oa(e,f,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function f(p){return e.attempt(hl,h,h)(p)}function h(p){return j(p)?X(e,E,"whitespace")(p):E(p)}function E(p){return p===null||F(p)?(e.exit("definition"),r.parser.defined.push(i),t(p)):n(p)}}function dl(e,t,n){return r;function r(o){return J(o)?Dt(e,i)(o):n(o)}function i(o){return Da(e,u,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function u(o){return j(o)?X(e,a,"whitespace")(o):a(o)}function a(o){return o===null||F(o)?t(o):n(o)}}const ml={name:"hardBreakEscape",tokenize:pl};function pl(e,t,n){return r;function r(u){return e.enter("hardBreakEscape"),e.consume(u),i}function i(u){return F(u)?(e.exit("hardBreakEscape"),t(u)):n(u)}}const _l={name:"headingAtx",tokenize:gl,resolve:El};function El(e,t){let n=e.length-2,r=3,i,u;return e[r][1].type==="whitespace"&&(r+=2),n-2>r&&e[n][1].type==="whitespace"&&(n-=2),e[n][1].type==="atxHeadingSequence"&&(r===n-1||n-4>r&&e[n-2][1].type==="whitespace")&&(n-=r+1===n?2:4),n>r&&(i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},u={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"},Ce(e,r,n-r+1,[["enter",i,t],["enter",u,t],["exit",u,t],["exit",i,t]])),e}function gl(e,t,n){let r=0;return i;function i(f){return e.enter("atxHeading"),u(f)}function u(f){return e.enter("atxHeadingSequence"),a(f)}function a(f){return f===35&&r++<6?(e.consume(f),a):f===null||J(f)?(e.exit("atxHeadingSequence"),o(f)):n(f)}function o(f){return f===35?(e.enter("atxHeadingSequence"),l(f)):f===null||F(f)?(e.exit("atxHeading"),t(f)):j(f)?X(e,o,"whitespace")(f):(e.enter("atxHeadingText"),c(f))}function l(f){return f===35?(e.consume(f),l):(e.exit("atxHeadingSequence"),o(f))}function c(f){return f===null||f===35||J(f)?(e.exit("atxHeadingText"),o(f)):(e.consume(f),c)}}const bl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ui=["pre","script","style","textarea"],Tl={name:"htmlFlow",tokenize:Il,resolveTo:kl,concrete:!0},Al={tokenize:Nl,partial:!0},Cl={tokenize:yl,partial:!0};function kl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function Il(e,t,n){const r=this;let i,u,a,o,l;return c;function c(b){return f(b)}function f(b){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(b),h}function h(b){return b===33?(e.consume(b),E):b===47?(e.consume(b),u=!0,I):b===63?(e.consume(b),i=3,r.interrupt?t:g):me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function E(b){return b===45?(e.consume(b),i=2,p):b===91?(e.consume(b),i=5,o=0,T):me(b)?(e.consume(b),i=4,r.interrupt?t:g):n(b)}function p(b){return b===45?(e.consume(b),r.interrupt?t:g):n(b)}function T(b){const xe="CDATA[";return b===xe.charCodeAt(o++)?(e.consume(b),o===xe.length?r.interrupt?t:B:T):n(b)}function I(b){return me(b)?(e.consume(b),a=String.fromCharCode(b),R):n(b)}function R(b){if(b===null||b===47||b===62||J(b)){const xe=b===47,Ge=a.toLowerCase();return!xe&&!u&&ui.includes(Ge)?(i=1,r.interrupt?t(b):B(b)):bl.includes(a.toLowerCase())?(i=6,xe?(e.consume(b),y):r.interrupt?t(b):B(b)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(b):u?w(b):D(b))}return b===45||he(b)?(e.consume(b),a+=String.fromCharCode(b),R):n(b)}function y(b){return b===62?(e.consume(b),r.interrupt?t:B):n(b)}function w(b){return j(b)?(e.consume(b),w):k(b)}function D(b){return b===47?(e.consume(b),k):b===58||b===95||me(b)?(e.consume(b),H):j(b)?(e.consume(b),D):k(b)}function H(b){return b===45||b===46||b===58||b===95||he(b)?(e.consume(b),H):U(b)}function U(b){return b===61?(e.consume(b),S):j(b)?(e.consume(b),U):D(b)}function S(b){return b===null||b===60||b===61||b===62||b===96?n(b):b===34||b===39?(e.consume(b),l=b,V):j(b)?(e.consume(b),S):ee(b)}function V(b){return b===l?(e.consume(b),l=null,G):b===null||F(b)?n(b):(e.consume(b),V)}function ee(b){return b===null||b===34||b===39||b===47||b===60||b===61||b===62||b===96||J(b)?U(b):(e.consume(b),ee)}function G(b){return b===47||b===62||j(b)?D(b):n(b)}function k(b){return b===62?(e.consume(b),M):n(b)}function M(b){return b===null||F(b)?B(b):j(b)?(e.consume(b),M):n(b)}function B(b){return b===45&&i===2?(e.consume(b),ce):b===60&&i===1?(e.consume(b),oe):b===62&&i===4?(e.consume(b),Ne):b===63&&i===3?(e.consume(b),g):b===93&&i===5?(e.consume(b),Be):F(b)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(Al,Fe,K)(b)):b===null||F(b)?(e.exit("htmlFlowData"),K(b)):(e.consume(b),B)}function K(b){return e.check(Cl,re,Fe)(b)}function re(b){return e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),Q}function Q(b){return b===null||F(b)?K(b):(e.enter("htmlFlowData"),B(b))}function ce(b){return b===45?(e.consume(b),g):B(b)}function oe(b){return b===47?(e.consume(b),a="",ye):B(b)}function ye(b){if(b===62){const xe=a.toLowerCase();return ui.includes(xe)?(e.consume(b),Ne):B(b)}return me(b)&&a.length<8?(e.consume(b),a+=String.fromCharCode(b),ye):B(b)}function Be(b){return b===93?(e.consume(b),g):B(b)}function g(b){return b===62?(e.consume(b),Ne):b===45&&i===2?(e.consume(b),g):B(b)}function Ne(b){return b===null||F(b)?(e.exit("htmlFlowData"),Fe(b)):(e.consume(b),Ne)}function Fe(b){return e.exit("htmlFlow"),t(b)}}function yl(e,t,n){const r=this;return i;function i(a){return F(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),u):n(a)}function u(a){return r.parser.lazy[r.now().line]?n(a):t(a)}}function Nl(e,t,n){return r;function r(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Vt,t,n)}}const xl={name:"htmlText",tokenize:Sl};function Sl(e,t,n){const r=this;let i,u,a;return o;function o(g){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(g),l}function l(g){return g===33?(e.consume(g),c):g===47?(e.consume(g),U):g===63?(e.consume(g),D):me(g)?(e.consume(g),ee):n(g)}function c(g){return g===45?(e.consume(g),f):g===91?(e.consume(g),u=0,T):me(g)?(e.consume(g),w):n(g)}function f(g){return g===45?(e.consume(g),p):n(g)}function h(g){return g===null?n(g):g===45?(e.consume(g),E):F(g)?(a=h,oe(g)):(e.consume(g),h)}function E(g){return g===45?(e.consume(g),p):h(g)}function p(g){return g===62?ce(g):g===45?E(g):h(g)}function T(g){const Ne="CDATA[";return g===Ne.charCodeAt(u++)?(e.consume(g),u===Ne.length?I:T):n(g)}function I(g){return g===null?n(g):g===93?(e.consume(g),R):F(g)?(a=I,oe(g)):(e.consume(g),I)}function R(g){return g===93?(e.consume(g),y):I(g)}function y(g){return g===62?ce(g):g===93?(e.consume(g),y):I(g)}function w(g){return g===null||g===62?ce(g):F(g)?(a=w,oe(g)):(e.consume(g),w)}function D(g){return g===null?n(g):g===63?(e.consume(g),H):F(g)?(a=D,oe(g)):(e.consume(g),D)}function H(g){return g===62?ce(g):D(g)}function U(g){return me(g)?(e.consume(g),S):n(g)}function S(g){return g===45||he(g)?(e.consume(g),S):V(g)}function V(g){return F(g)?(a=V,oe(g)):j(g)?(e.consume(g),V):ce(g)}function ee(g){return g===45||he(g)?(e.consume(g),ee):g===47||g===62||J(g)?G(g):n(g)}function G(g){return g===47?(e.consume(g),ce):g===58||g===95||me(g)?(e.consume(g),k):F(g)?(a=G,oe(g)):j(g)?(e.consume(g),G):ce(g)}function k(g){return g===45||g===46||g===58||g===95||he(g)?(e.consume(g),k):M(g)}function M(g){return g===61?(e.consume(g),B):F(g)?(a=M,oe(g)):j(g)?(e.consume(g),M):G(g)}function B(g){return g===null||g===60||g===61||g===62||g===96?n(g):g===34||g===39?(e.consume(g),i=g,K):F(g)?(a=B,oe(g)):j(g)?(e.consume(g),B):(e.consume(g),re)}function K(g){return g===i?(e.consume(g),i=void 0,Q):g===null?n(g):F(g)?(a=K,oe(g)):(e.consume(g),K)}function re(g){return g===null||g===34||g===39||g===60||g===61||g===96?n(g):g===47||g===62||J(g)?G(g):(e.consume(g),re)}function Q(g){return g===47||g===62||J(g)?G(g):n(g)}function ce(g){return g===62?(e.consume(g),e.exit("htmlTextData"),e.exit("htmlText"),t):n(g)}function oe(g){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ye}function ye(g){return j(g)?X(e,Be,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(g):Be(g)}function Be(g){return e.enter("htmlTextData"),a(g)}}const pr={name:"labelEnd",tokenize:Pl,resolveTo:Dl,resolveAll:wl},Rl={tokenize:Ml},Ll={tokenize:Bl},Ol={tokenize:Fl};function wl(e){let t=-1;for(;++t=3&&(c===null||F(c))?(e.exit("thematicBreak"),t(c)):n(c)}function l(c){return c===i?(e.consume(c),r++,l):(e.exit("thematicBreakSequence"),j(c)?X(e,o,"whitespace")(c):o(c))}}const _e={name:"list",tokenize:Wl,continuation:{tokenize:Xl},exit:Gl},jl={tokenize:Kl,partial:!0},Vl={tokenize:Ql,partial:!0};function Wl(e,t,n){const r=this,i=r.events[r.events.length-1];let u=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,a=0;return o;function o(p){const T=r.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(T==="listUnordered"?!r.containerState.marker||p===r.containerState.marker:Kn(p)){if(r.containerState.type||(r.containerState.type=T,e.enter(T,{_container:!0})),T==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(sn,n,c)(p):c(p);if(!r.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(p)}return n(p)}function l(p){return Kn(p)&&++a<10?(e.consume(p),l):(!r.interrupt||a<2)&&(r.containerState.marker?p===r.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),c(p)):n(p)}function c(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||p,e.check(Vt,r.interrupt?n:f,e.attempt(jl,E,h))}function f(p){return r.containerState.initialBlankLine=!0,u++,E(p)}function h(p){return j(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),E):n(p)}function E(p){return r.containerState.size=u+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function Xl(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Vt,i,u);function i(o){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,X(e,t,"listItemIndent",r.containerState.size+1)(o)}function u(o){return r.containerState.furtherBlankLines||!j(o)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(o)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(Vl,t,a)(o))}function a(o){return r.containerState._closeFlow=!0,r.interrupt=void 0,X(e,e.attempt(_e,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Ql(e,t,n){const r=this;return X(e,i,"listItemIndent",r.containerState.size+1);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="listItemIndent"&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(u):n(u)}}function Gl(e){e.exit(this.containerState.type)}function Kl(e,t,n){const r=this;return X(e,i,"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(u){const a=r.events[r.events.length-1];return!j(u)&&a&&a[1].type==="listItemPrefixWhitespace"?t(u):n(u)}}const si={name:"setextUnderline",tokenize:Jl,resolveTo:$l};function $l(e,t){let n=e.length,r,i,u;for(;n--;)if(e[n][0]==="enter"){if(e[n][1].type==="content"){r=n;break}e[n][1].type==="paragraph"&&(i=n)}else e[n][1].type==="content"&&e.splice(n,1),!u&&e[n][1].type==="definition"&&(u=n);const a={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",u?(e.splice(i,0,["enter",a,t]),e.splice(u+1,0,["exit",e[r][1],t]),e[r][1].end=Object.assign({},e[u][1].end)):e[r][1]=a,e.push(["exit",a,t]),e}function Jl(e,t,n){const r=this;let i;return u;function u(c){let f=r.events.length,h;for(;f--;)if(r.events[f][1].type!=="lineEnding"&&r.events[f][1].type!=="linePrefix"&&r.events[f][1].type!=="content"){h=r.events[f][1].type==="paragraph";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||h)?(e.enter("setextHeadingLine"),i=c,a(c)):n(c)}function a(c){return e.enter("setextHeadingLineSequence"),o(c)}function o(c){return c===i?(e.consume(c),o):(e.exit("setextHeadingLineSequence"),j(c)?X(e,l,"lineSuffix")(c):l(c))}function l(c){return c===null||F(c)?(e.exit("setextHeadingLine"),t(c)):n(c)}}const Zl={tokenize:ec};function ec(e){const t=this,n=e.attempt(Vt,r,e.attempt(this.parser.constructs.flowInitial,i,X(e,e.attempt(this.parser.constructs.flow,i,e.attempt(al,i)),"linePrefix")));return n;function r(u){if(u===null){e.consume(u);return}return e.enter("lineEndingBlank"),e.consume(u),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n}function i(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),t.currentConstruct=void 0,n}}const tc={resolveAll:Ma()},nc=Pa("string"),rc=Pa("text");function Pa(e){return{tokenize:t,resolveAll:Ma(e==="text"?ic:void 0)};function t(n){const r=this,i=this.parser.constructs[e],u=n.attempt(i,a,o);return a;function a(f){return c(f)?u(f):o(f)}function o(f){if(f===null){n.consume(f);return}return n.enter("data"),n.consume(f),l}function l(f){return c(f)?(n.exit("data"),u(f)):(n.consume(f),l)}function c(f){if(f===null)return!0;const h=i[f];let E=-1;if(h)for(;++E-1){const o=a[0];typeof o=="string"?a[0]=o.slice(r):a.shift()}u>0&&a.push(e[i].slice(0,u))}return a}function sc(e,t){let n=-1;const r=[];let i;for(;++n0){const Se=v.tokenStack[v.tokenStack.length-1];(Se[1]||li).call(v,void 0,Se[0])}for(P.position={start:qe(x.length>0?x[0][1].start:{line:1,column:1,offset:0}),end:qe(x.length>0?x[x.length-2][1].end:{line:1,column:1,offset:0})},$=-1;++$1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)}function Pc(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function Mc(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function Ha(e,t){const n=t.referenceType;let r="]";if(n==="collapsed"?r+="[]":n==="full"&&(r+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+r}];const i=e.all(t),u=i[0];u&&u.type==="text"?u.value="["+u.value:i.unshift({type:"text",value:"["});const a=i[i.length-1];return a&&a.type==="text"?a.value+=r:i.push({type:"text",value:r}),i}function Bc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ha(e,t);const i={src:bt(r.url||""),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,u),e.applyData(t,u)}function Fc(e,t){const n={src:bt(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function Hc(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function Uc(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return Ha(e,t);const i={href:bt(r.url||"")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const u={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,u),e.applyData(t,u)}function vc(e,t){const n={href:bt(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zc(e,t,n){const r=e.all(t),i=n?Yc(n):Ua(t),u={},a=[];if(typeof t.checked=="boolean"){const f=r[0];let h;f&&f.type==="element"&&f.tagName==="p"?h=f:(h={type:"element",tagName:"p",properties:{},children:[]},r.unshift(h)),h.children.length>0&&h.children.unshift({type:"text",value:" "}),h.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),u.className=["task-list-item"]}let o=-1;for(;++o1}function qc(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start=="number"&&t.start!==1&&(n.start=t.start);++i0){const a={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Pe(t.children[1]),l=gn(t.children[t.children.length-1]);o&&l&&(a.position={start:o,end:l}),i.push(a)}const u={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,u),e.applyData(t,u)}function Qc(e,t,n){const r=n?n.children:void 0,u=(r?r.indexOf(t):1)===0?"th":"td",a=n&&n.type==="table"?n.align:void 0,o=a?a.length:t.children.length;let l=-1;const c=[];for(;++l0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return u.push(fi(t.slice(i),i>0,!1)),u.join("")}function fi(e,t,n){let r=0,i=e.length;if(t){let u=e.codePointAt(r);for(;u===ci||u===hi;)r++,u=e.codePointAt(r)}if(n){let u=e.codePointAt(i-1);for(;u===ci||u===hi;)i--,u=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}function $c(e,t){const n={type:"text",value:Kc(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function Jc(e,t){const n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const Zc={blockquote:Sc,break:Rc,code:Lc,delete:Oc,emphasis:wc,footnoteReference:Dc,heading:Pc,html:Mc,imageReference:Bc,image:Fc,inlineCode:Hc,linkReference:Uc,link:vc,listItem:zc,list:qc,paragraph:jc,root:Vc,strong:Wc,table:Xc,tableCell:Gc,tableRow:Qc,text:$c,thematicBreak:Jc,toml:Jt,yaml:Jt,definition:Jt,footnoteDefinition:Jt};function Jt(){}const va=-1,An=0,dn=1,mn=2,_r=3,Er=4,gr=5,br=6,za=7,Ya=8,di=typeof self=="object"?self:globalThis,e0=(e,t)=>{const n=(i,u)=>(e.set(u,i),i),r=i=>{if(e.has(i))return e.get(i);const[u,a]=t[i];switch(u){case An:case va:return n(a,i);case dn:{const o=n([],i);for(const l of a)o.push(r(l));return o}case mn:{const o=n({},i);for(const[l,c]of a)o[r(l)]=r(c);return o}case _r:return n(new Date(a),i);case Er:{const{source:o,flags:l}=a;return n(new RegExp(o,l),i)}case gr:{const o=n(new Map,i);for(const[l,c]of a)o.set(r(l),r(c));return o}case br:{const o=n(new Set,i);for(const l of a)o.add(r(l));return o}case za:{const{name:o,message:l}=a;return n(new di[o](l),i)}case Ya:return n(BigInt(a),i);case"BigInt":return n(Object(BigInt(a)),i)}return n(new di[u](a),i)};return r},mi=e=>e0(new Map,e)(0),lt="",{toString:t0}={},{keys:n0}=Object,St=e=>{const t=typeof e;if(t!=="object"||!e)return[An,t];const n=t0.call(e).slice(8,-1);switch(n){case"Array":return[dn,lt];case"Object":return[mn,lt];case"Date":return[_r,lt];case"RegExp":return[Er,lt];case"Map":return[gr,lt];case"Set":return[br,lt]}return n.includes("Array")?[dn,n]:n.includes("Error")?[za,n]:[mn,n]},Zt=([e,t])=>e===An&&(t==="function"||t==="symbol"),r0=(e,t,n,r)=>{const i=(a,o)=>{const l=r.push(a)-1;return n.set(o,l),l},u=a=>{if(n.has(a))return n.get(a);let[o,l]=St(a);switch(o){case An:{let f=a;switch(l){case"bigint":o=Ya,f=a.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+l);f=null;break;case"undefined":return i([va],a)}return i([o,f],a)}case dn:{if(l)return i([l,[...a]],a);const f=[],h=i([o,f],a);for(const E of a)f.push(u(E));return h}case mn:{if(l)switch(l){case"BigInt":return i([l,a.toString()],a);case"Boolean":case"Number":case"String":return i([l,a.valueOf()],a)}if(t&&"toJSON"in a)return u(a.toJSON());const f=[],h=i([o,f],a);for(const E of n0(a))(e||!Zt(St(a[E])))&&f.push([u(E),u(a[E])]);return h}case _r:return i([o,a.toISOString()],a);case Er:{const{source:f,flags:h}=a;return i([o,{source:f,flags:h}],a)}case gr:{const f=[],h=i([o,f],a);for(const[E,p]of a)(e||!(Zt(St(E))||Zt(St(p))))&&f.push([u(E),u(p)]);return h}case br:{const f=[],h=i([o,f],a);for(const E of a)(e||!Zt(St(E)))&&f.push(u(E));return h}}const{message:c}=a;return i([o,{name:l,message:c}],a)};return u},pi=(e,{json:t,lossy:n}={})=>{const r=[];return r0(!(t||n),!!t,new Map,r)(e),r},_t=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?mi(pi(e,t)):structuredClone(e):(e,t)=>mi(pi(e,t));function i0(e,t){const n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function a0(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function u0(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||i0,r=e.options.footnoteBackLabel||a0,i=e.options.footnoteLabel||"Footnotes",u=e.options.footnoteLabelTagName||"h2",a=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let l=-1;for(;++l0&&T.push({type:"text",value:" "});let w=typeof n=="string"?n:n(l,p);typeof w=="string"&&(w={type:"text",value:w}),T.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+E+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof r=="string"?r:r(l,p),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const R=f[f.length-1];if(R&&R.type==="element"&&R.tagName==="p"){const w=R.children[R.children.length-1];w&&w.type==="text"?w.value+=" ":R.children.push({type:"text",value:" "}),R.children.push(...T)}else f.push(...T);const y={type:"element",tagName:"li",properties:{id:t+"fn-"+E},children:e.wrap(f,!0)};e.patch(c,y),o.push(y)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:u,properties:{..._t(a),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:` +`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:` +`}]}}const Cn=function(e){if(e==null)return c0;if(typeof e=="function")return kn(e);if(typeof e=="object")return Array.isArray(e)?s0(e):o0(e);if(typeof e=="string")return l0(e);throw new Error("Expected function, string, or object as test")};function s0(e){const t=[];let n=-1;for(;++n":""))+")"})}return E;function E(){let p=qa,T,I,R;if((!t||u(l,c,f[f.length-1]||void 0))&&(p=m0(n(l,f)),p[0]===Jn))return p;if("children"in l&&l.children){const y=l;if(y.children&&p[0]!==d0)for(I=(r?y.children.length:-1)+a,R=f.concat(y);I>-1&&I0&&n.push({type:"text",value:` +`}),n}function _i(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function Ei(e,t){const n=_0(e,t),r=n.one(e,void 0),i=u0(n),u=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return i&&u.children.push({type:"text",value:` +`},i),u}function A0(e,t){return e&&"run"in e?async function(n,r){const i=Ei(n,{file:r,...t});await e.run(i,r)}:function(n,r){return Ei(n,{file:r,...t||e})}}function gi(e){if(e)throw e}var on=Object.prototype.hasOwnProperty,Va=Object.prototype.toString,bi=Object.defineProperty,Ti=Object.getOwnPropertyDescriptor,Ai=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Va.call(t)==="[object Array]"},Ci=function(t){if(!t||Va.call(t)!=="[object Object]")return!1;var n=on.call(t,"constructor"),r=t.constructor&&t.constructor.prototype&&on.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!n&&!r)return!1;var i;for(i in t);return typeof i>"u"||on.call(t,i)},ki=function(t,n){bi&&n.name==="__proto__"?bi(t,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):t[n.name]=n.newValue},Ii=function(t,n){if(n==="__proto__")if(on.call(t,n)){if(Ti)return Ti(t,n).value}else return;return t[n]},C0=function e(){var t,n,r,i,u,a,o=arguments[0],l=1,c=arguments.length,f=!1;for(typeof o=="boolean"&&(f=o,o=arguments[1]||{},l=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});la.length;let l;o&&a.push(i);try{l=e.apply(this,a)}catch(c){const f=c;if(o&&n)throw f;return i(f)}o||(l&&l.then&&typeof l.then=="function"?l.then(u,i):l instanceof Error?i(l):u(l))}function i(a,...o){n||(n=!0,t(a,...o))}function u(a){i(null,a)}}const we={basename:y0,dirname:N0,extname:x0,join:S0,sep:"/"};function y0(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');Wt(e);let n=0,r=-1,i=e.length,u;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else r<0&&(u=!0,r=i+1);return r<0?"":e.slice(n,r)}if(t===e)return"";let a=-1,o=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(u){n=i+1;break}}else a<0&&(u=!0,a=i+1),o>-1&&(e.codePointAt(i)===t.codePointAt(o--)?o<0&&(r=i):(o=-1,r=a));return n===r?r=a:r<0&&(r=e.length),e.slice(n,r)}function N0(e){if(Wt(e),e.length===0)return".";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function x0(e){Wt(e);let t=e.length,n=-1,r=0,i=-1,u=0,a;for(;t--;){const o=e.codePointAt(t);if(o===47){if(a){r=t+1;break}continue}n<0&&(a=!0,n=t+1),o===46?i<0?i=t:u!==1&&(u=1):i>-1&&(u=-1)}return i<0||n<0||u===0||u===1&&i===n-1&&i===r+1?"":e.slice(i,n)}function S0(...e){let t=-1,n;for(;++t0&&e.codePointAt(e.length-1)===47&&(n+="/"),t?"/"+n:n}function L0(e,t){let n="",r=0,i=-1,u=0,a=-1,o,l;for(;++a<=e.length;){if(a2){if(l=n.lastIndexOf("/"),l!==n.length-1){l<0?(n="",r=0):(n=n.slice(0,l),r=n.length-1-n.lastIndexOf("/")),i=a,u=0;continue}}else if(n.length>0){n="",r=0,i=a,u=0;continue}}t&&(n=n.length>0?n+"/..":"..",r=2)}else n.length>0?n+="/"+e.slice(i+1,a):n=e.slice(i+1,a),r=a-i-1;i=a,u=0}else o===46&&u>-1?u++:u=-1}return n}function Wt(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const O0={cwd:w0};function w0(){return"/"}function tr(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function D0(e){if(typeof e=="string")e=new URL(e);else if(!tr(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return P0(e)}function P0(e){if(e.hostname!==""){const r=new TypeError('File URL host must be "localhost" or empty on darwin');throw r.code="ERR_INVALID_FILE_URL_HOST",r}const t=e.pathname;let n=-1;for(;++n0){let[p,...T]=f;const I=r[E][1];er(I)&&er(p)&&(p=Dn(!0,I,p)),r[E]=[c,p,...T]}}}}const H0=new Tr().freeze();function Fn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function Hn(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Un(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Ni(e){if(!er(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function xi(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function en(e){return U0(e)?e:new Wa(e)}function U0(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function v0(e){return typeof e=="string"||z0(e)}function z0(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const Y0="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Si=[],Ri={allowDangerousHtml:!0},q0=/^(https?|ircs?|mailto|xmpp)$/i,j0=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function N1(e){const t=e.allowedElements,n=e.allowElement,r=e.children||"",i=e.className,u=e.components,a=e.disallowedElements,o=e.rehypePlugins||Si,l=e.remarkPlugins||Si,c=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Ri}:Ri,f=e.skipHtml,h=e.unwrapDisallowed,E=e.urlTransform||V0,p=H0().use(xc).use(l).use(A0,c).use(o),T=new Wa;typeof r=="string"&&(T.value=r);for(const w of j0)Object.hasOwn(e,w.from)&&(""+w.from+(w.to?"use `"+w.to+"` instead":"remove it")+Y0+w.id,void 0);const I=p.parse(T);let R=p.runSync(I,T);return i&&(R={type:"element",tagName:"div",properties:{className:i},children:R.type==="root"?R.children:[R]}),In(R,y),oo(R,{Fragment:z.Fragment,components:u,ignoreInvalidStyle:!0,jsx:z.jsx,jsxs:z.jsxs,passKeys:!0,passNode:!0});function y(w,D,H){if(w.type==="raw"&&H&&typeof D=="number")return f?H.children.splice(D,1):H.children[D]={type:"text",value:w.value},D;if(w.type==="element"){let U;for(U in Ln)if(Object.hasOwn(Ln,U)&&Object.hasOwn(w.properties,U)){const S=w.properties[U],V=Ln[U];(V===null||V.includes(w.tagName))&&(w.properties[U]=E(String(S||""),U,w))}}if(w.type==="element"){let U=t?!t.includes(w.tagName):a?a.includes(w.tagName):!1;if(!U&&n&&typeof D=="number"&&(U=!n(w,D,H)),U&&H&&typeof D=="number")return h&&w.children?H.children.splice(D,1,...w.children):H.children.splice(D,1),D}}}function V0(e){const t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return t<0||i>-1&&t>i||n>-1&&t>n||r>-1&&t>r||q0.test(e.slice(0,t))?e:""}const Li=/[#.]/g;function W0(e,t){const n=e||"",r={};let i=0,u,a;for(;i-1&&u<=t.length){let a=0;for(;;){let o=n[a];if(o===void 0){const l=wi(t,n[a-1]);o=l===-1?t.length+1:l+1,n[a]=o}if(o>u)return{line:a+1,column:u-(a>0?n[a-1]:0)+1,offset:u};a++}}}function i(u){if(u&&typeof u.line=="number"&&typeof u.column=="number"&&!Number.isNaN(u.line)&&!Number.isNaN(u.column)){for(;n.length1?n[u.line-2]:0)+u.column-1;if(a=55296&&e<=57343}function gh(e){return e>=56320&&e<=57343}function bh(e,t){return(e-55296)*1024+9216+t}function Za(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function eu(e){return e>=64976&&e<=65007||Eh.has(e)}var C;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(C=C||(C={}));const Th=65536;class Ah{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Th,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t){const{line:n,col:r,offset:i}=this;return{code:t,startLine:n,endLine:n,startCol:r,endCol:r,startOffset:i,endOffset:i}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(gh(n))return this.pos++,this._addGap(),bh(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,d.EOF;return this._err(C.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;const r=this.html.charCodeAt(n);return r===d.CARRIAGE_RETURN?d.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,d.EOF;let t=this.html.charCodeAt(this.pos);return t===d.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,d.LINE_FEED):t===d.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Ja(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===d.LINE_FEED||t===d.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Za(t)?this._err(C.controlCharacterInInputStream):eu(t)&&this._err(C.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const je=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Ch=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var vn;const kh=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),Ih=(vn=String.fromCodePoint)!==null&&vn!==void 0?vn:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function yh(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=kh.get(e))!==null&&t!==void 0?t:e}var se;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(se||(se={}));const Nh=32;var De;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(De||(De={}));function ir(e){return e>=se.ZERO&&e<=se.NINE}function xh(e){return e>=se.UPPER_A&&e<=se.UPPER_F||e>=se.LOWER_A&&e<=se.LOWER_F}function Sh(e){return e>=se.UPPER_A&&e<=se.UPPER_Z||e>=se.LOWER_A&&e<=se.LOWER_Z||ir(e)}function Rh(e){return e===se.EQUALS||Sh(e)}var ue;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ue||(ue={}));var tt;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(tt||(tt={}));class Lh{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=ue.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=tt.Strict}startEntity(t){this.decodeMode=t,this.state=ue.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case ue.EntityStart:return t.charCodeAt(n)===se.NUM?(this.state=ue.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=ue.NamedEntity,this.stateNamedEntity(t,n));case ue.NumericStart:return this.stateNumericStart(t,n);case ue.NumericDecimal:return this.stateNumericDecimal(t,n);case ue.NumericHex:return this.stateNumericHex(t,n);case ue.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|Nh)===se.LOWER_X?(this.state=ue.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=ue.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const u=r-n;this.result=this.result*Math.pow(i,u)+parseInt(t.substr(n,u),i),this.consumed+=u}}stateNumericHex(t,n){const r=n;for(;n>14;for(;n>14,u!==0){if(a===se.SEMI)return this.emitNamedEntityData(this.treeIndex,u,this.consumed+this.excess);this.decodeMode!==tt.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&De.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~De.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case ue.NamedEntity:return this.result!==0&&(this.decodeMode!==tt.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ue.NumericDecimal:return this.emitNumericEntity(0,2);case ue.NumericHex:return this.emitNumericEntity(0,3);case ue.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ue.EntityStart:return 0}}}function nu(e){let t="";const n=new Lh(e,r=>t+=Ih(r));return function(i,u){let a=0,o=0;for(;(o=i.indexOf("&",o))>=0;){t+=i.slice(a,o),n.startEntity(u);const c=n.write(i,o+1);if(c<0){a=o+n.end();break}a=o+c,o=c===0?a+1:a}const l=t+i.slice(a);return t="",l}}function ru(e,t,n,r){const i=(t&De.BRANCH_LENGTH)>>7,u=t&De.JUMP_TABLE;if(i===0)return u!==0&&r===u?n:-1;if(u){const l=r-u;return l<0||l>=i?-1:e[n+l]-1}let a=n,o=a+i-1;for(;a<=o;){const l=a+o>>>1,c=e[l];if(cr)o=l-1;else return e[l+i]}return-1}nu(je);nu(Ch);var N;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(N=N||(N={}));var We;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(We=We||(We={}));var Te;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Te=Te||(Te={}));var A;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(A=A||(A={}));var s;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SECTION=94]="SECTION",e[e.SELECT=95]="SELECT",e[e.SOURCE=96]="SOURCE",e[e.SMALL=97]="SMALL",e[e.SPAN=98]="SPAN",e[e.STRIKE=99]="STRIKE",e[e.STRONG=100]="STRONG",e[e.STYLE=101]="STYLE",e[e.SUB=102]="SUB",e[e.SUMMARY=103]="SUMMARY",e[e.SUP=104]="SUP",e[e.TABLE=105]="TABLE",e[e.TBODY=106]="TBODY",e[e.TEMPLATE=107]="TEMPLATE",e[e.TEXTAREA=108]="TEXTAREA",e[e.TFOOT=109]="TFOOT",e[e.TD=110]="TD",e[e.TH=111]="TH",e[e.THEAD=112]="THEAD",e[e.TITLE=113]="TITLE",e[e.TR=114]="TR",e[e.TRACK=115]="TRACK",e[e.TT=116]="TT",e[e.U=117]="U",e[e.UL=118]="UL",e[e.SVG=119]="SVG",e[e.VAR=120]="VAR",e[e.WBR=121]="WBR",e[e.XMP=122]="XMP"})(s=s||(s={}));const Oh=new Map([[A.A,s.A],[A.ADDRESS,s.ADDRESS],[A.ANNOTATION_XML,s.ANNOTATION_XML],[A.APPLET,s.APPLET],[A.AREA,s.AREA],[A.ARTICLE,s.ARTICLE],[A.ASIDE,s.ASIDE],[A.B,s.B],[A.BASE,s.BASE],[A.BASEFONT,s.BASEFONT],[A.BGSOUND,s.BGSOUND],[A.BIG,s.BIG],[A.BLOCKQUOTE,s.BLOCKQUOTE],[A.BODY,s.BODY],[A.BR,s.BR],[A.BUTTON,s.BUTTON],[A.CAPTION,s.CAPTION],[A.CENTER,s.CENTER],[A.CODE,s.CODE],[A.COL,s.COL],[A.COLGROUP,s.COLGROUP],[A.DD,s.DD],[A.DESC,s.DESC],[A.DETAILS,s.DETAILS],[A.DIALOG,s.DIALOG],[A.DIR,s.DIR],[A.DIV,s.DIV],[A.DL,s.DL],[A.DT,s.DT],[A.EM,s.EM],[A.EMBED,s.EMBED],[A.FIELDSET,s.FIELDSET],[A.FIGCAPTION,s.FIGCAPTION],[A.FIGURE,s.FIGURE],[A.FONT,s.FONT],[A.FOOTER,s.FOOTER],[A.FOREIGN_OBJECT,s.FOREIGN_OBJECT],[A.FORM,s.FORM],[A.FRAME,s.FRAME],[A.FRAMESET,s.FRAMESET],[A.H1,s.H1],[A.H2,s.H2],[A.H3,s.H3],[A.H4,s.H4],[A.H5,s.H5],[A.H6,s.H6],[A.HEAD,s.HEAD],[A.HEADER,s.HEADER],[A.HGROUP,s.HGROUP],[A.HR,s.HR],[A.HTML,s.HTML],[A.I,s.I],[A.IMG,s.IMG],[A.IMAGE,s.IMAGE],[A.INPUT,s.INPUT],[A.IFRAME,s.IFRAME],[A.KEYGEN,s.KEYGEN],[A.LABEL,s.LABEL],[A.LI,s.LI],[A.LINK,s.LINK],[A.LISTING,s.LISTING],[A.MAIN,s.MAIN],[A.MALIGNMARK,s.MALIGNMARK],[A.MARQUEE,s.MARQUEE],[A.MATH,s.MATH],[A.MENU,s.MENU],[A.META,s.META],[A.MGLYPH,s.MGLYPH],[A.MI,s.MI],[A.MO,s.MO],[A.MN,s.MN],[A.MS,s.MS],[A.MTEXT,s.MTEXT],[A.NAV,s.NAV],[A.NOBR,s.NOBR],[A.NOFRAMES,s.NOFRAMES],[A.NOEMBED,s.NOEMBED],[A.NOSCRIPT,s.NOSCRIPT],[A.OBJECT,s.OBJECT],[A.OL,s.OL],[A.OPTGROUP,s.OPTGROUP],[A.OPTION,s.OPTION],[A.P,s.P],[A.PARAM,s.PARAM],[A.PLAINTEXT,s.PLAINTEXT],[A.PRE,s.PRE],[A.RB,s.RB],[A.RP,s.RP],[A.RT,s.RT],[A.RTC,s.RTC],[A.RUBY,s.RUBY],[A.S,s.S],[A.SCRIPT,s.SCRIPT],[A.SECTION,s.SECTION],[A.SELECT,s.SELECT],[A.SOURCE,s.SOURCE],[A.SMALL,s.SMALL],[A.SPAN,s.SPAN],[A.STRIKE,s.STRIKE],[A.STRONG,s.STRONG],[A.STYLE,s.STYLE],[A.SUB,s.SUB],[A.SUMMARY,s.SUMMARY],[A.SUP,s.SUP],[A.TABLE,s.TABLE],[A.TBODY,s.TBODY],[A.TEMPLATE,s.TEMPLATE],[A.TEXTAREA,s.TEXTAREA],[A.TFOOT,s.TFOOT],[A.TD,s.TD],[A.TH,s.TH],[A.THEAD,s.THEAD],[A.TITLE,s.TITLE],[A.TR,s.TR],[A.TRACK,s.TRACK],[A.TT,s.TT],[A.U,s.U],[A.UL,s.UL],[A.SVG,s.SVG],[A.VAR,s.VAR],[A.WBR,s.WBR],[A.XMP,s.XMP]]);function At(e){var t;return(t=Oh.get(e))!==null&&t!==void 0?t:s.UNKNOWN}const L=s,wh={[N.HTML]:new Set([L.ADDRESS,L.APPLET,L.AREA,L.ARTICLE,L.ASIDE,L.BASE,L.BASEFONT,L.BGSOUND,L.BLOCKQUOTE,L.BODY,L.BR,L.BUTTON,L.CAPTION,L.CENTER,L.COL,L.COLGROUP,L.DD,L.DETAILS,L.DIR,L.DIV,L.DL,L.DT,L.EMBED,L.FIELDSET,L.FIGCAPTION,L.FIGURE,L.FOOTER,L.FORM,L.FRAME,L.FRAMESET,L.H1,L.H2,L.H3,L.H4,L.H5,L.H6,L.HEAD,L.HEADER,L.HGROUP,L.HR,L.HTML,L.IFRAME,L.IMG,L.INPUT,L.LI,L.LINK,L.LISTING,L.MAIN,L.MARQUEE,L.MENU,L.META,L.NAV,L.NOEMBED,L.NOFRAMES,L.NOSCRIPT,L.OBJECT,L.OL,L.P,L.PARAM,L.PLAINTEXT,L.PRE,L.SCRIPT,L.SECTION,L.SELECT,L.SOURCE,L.STYLE,L.SUMMARY,L.TABLE,L.TBODY,L.TD,L.TEMPLATE,L.TEXTAREA,L.TFOOT,L.TH,L.THEAD,L.TITLE,L.TR,L.TRACK,L.UL,L.WBR,L.XMP]),[N.MATHML]:new Set([L.MI,L.MO,L.MN,L.MS,L.MTEXT,L.ANNOTATION_XML]),[N.SVG]:new Set([L.TITLE,L.FOREIGN_OBJECT,L.DESC]),[N.XLINK]:new Set,[N.XML]:new Set,[N.XMLNS]:new Set};function iu(e){return e===L.H1||e===L.H2||e===L.H3||e===L.H4||e===L.H5||e===L.H6}A.STYLE,A.SCRIPT,A.XMP,A.IFRAME,A.NOEMBED,A.NOFRAMES,A.PLAINTEXT;const Dh=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var m;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",e[e.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",e[e.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",e[e.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",e[e.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",e[e.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"})(m||(m={}));const ie={DATA:m.DATA,RCDATA:m.RCDATA,RAWTEXT:m.RAWTEXT,SCRIPT_DATA:m.SCRIPT_DATA,PLAINTEXT:m.PLAINTEXT,CDATA_SECTION:m.CDATA_SECTION};function Pt(e){return e>=d.DIGIT_0&&e<=d.DIGIT_9}function Ot(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_Z}function Ph(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_Z}function Ve(e){return Ph(e)||Ot(e)}function ar(e){return Ve(e)||Pt(e)}function au(e){return e>=d.LATIN_CAPITAL_A&&e<=d.LATIN_CAPITAL_F}function uu(e){return e>=d.LATIN_SMALL_A&&e<=d.LATIN_SMALL_F}function Mh(e){return Pt(e)||au(e)||uu(e)}function tn(e){return e+32}function su(e){return e===d.SPACE||e===d.LINE_FEED||e===d.TABULATION||e===d.FORM_FEED}function Bh(e){return e===d.EQUALS_SIGN||ar(e)}function Mi(e){return su(e)||e===d.SOLIDUS||e===d.GREATER_THAN_SIGN}class Fh{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=m.DATA,this.returnState=m.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Ah(n),this.currentLocation=this.getCurrentLocation(-1)}_err(t){var n,r;(r=(n=this.handler).onParseError)===null||r===void 0||r.call(n,this.preprocessor.getError(t))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(t){this.consumedAfterSnapshot-=t,this.preprocessor.retreat(t)}_reconsumeInState(t,n){this.state=t,this._callState(n)}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n0&&this._err(C.endTagWithAttributes),t.selfClosing&&this._err(C.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case q.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case q.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case q.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:q.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type!==t)this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();else{this.currentCharacterToken.chars+=n;return}this._createCharacterToken(t,n)}_emitCodePoint(t){const n=su(t)?q.WHITESPACE_CHARACTER:t===d.NULL?q.NULL_CHARACTER:q.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(q.CHARACTER,t)}_matchNamedCharacterReference(t){let n=null,r=0,i=!1;for(let u=0,a=je[0];u>=0&&(u=ru(je,a,u+1,t),!(u<0));t=this._consume()){r+=1,a=je[u];const o=a&De.VALUE_LENGTH;if(o){const l=(o>>14)-1;if(t!==d.SEMICOLON&&this._isCharacterReferenceInAttribute()&&Bh(this.preprocessor.peek(1))?(n=[d.AMPERSAND],u+=l):(n=l===0?[je[u]&~De.VALUE_LENGTH]:l===1?[je[++u]]:[je[++u],je[++u]],r=0,i=t!==d.SEMICOLON),l===0){this._consume();break}}}return this._unconsume(r),i&&!this.preprocessor.endOfChunkHit&&this._err(C.missingSemicolonAfterCharacterReference),this._unconsume(1),n}_isCharacterReferenceInAttribute(){return this.returnState===m.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===m.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===m.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case m.DATA:{this._stateData(t);break}case m.RCDATA:{this._stateRcdata(t);break}case m.RAWTEXT:{this._stateRawtext(t);break}case m.SCRIPT_DATA:{this._stateScriptData(t);break}case m.PLAINTEXT:{this._statePlaintext(t);break}case m.TAG_OPEN:{this._stateTagOpen(t);break}case m.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case m.TAG_NAME:{this._stateTagName(t);break}case m.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case m.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case m.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case m.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case m.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case m.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case m.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case m.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case m.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case m.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case m.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case m.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case m.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case m.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case m.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case m.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case m.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case m.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case m.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case m.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case m.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case m.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case m.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case m.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case m.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case m.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case m.BOGUS_COMMENT:{this._stateBogusComment(t);break}case m.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case m.COMMENT_START:{this._stateCommentStart(t);break}case m.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case m.COMMENT:{this._stateComment(t);break}case m.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case m.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case m.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case m.COMMENT_END:{this._stateCommentEnd(t);break}case m.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case m.DOCTYPE:{this._stateDoctype(t);break}case m.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case m.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case m.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case m.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case m.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case m.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case m.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case m.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case m.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case m.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case m.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case m.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case m.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case m.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case m.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case m.CDATA_SECTION:{this._stateCdataSection(t);break}case m.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case m.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case m.CHARACTER_REFERENCE:{this._stateCharacterReference(t);break}case m.NAMED_CHARACTER_REFERENCE:{this._stateNamedCharacterReference(t);break}case m.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}case m.NUMERIC_CHARACTER_REFERENCE:{this._stateNumericCharacterReference(t);break}case m.HEXADEMICAL_CHARACTER_REFERENCE_START:{this._stateHexademicalCharacterReferenceStart(t);break}case m.HEXADEMICAL_CHARACTER_REFERENCE:{this._stateHexademicalCharacterReference(t);break}case m.DECIMAL_CHARACTER_REFERENCE:{this._stateDecimalCharacterReference(t);break}case m.NUMERIC_CHARACTER_REFERENCE_END:{this._stateNumericCharacterReferenceEnd(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.TAG_OPEN;break}case d.AMPERSAND:{this.returnState=m.DATA,this.state=m.CHARACTER_REFERENCE;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitCodePoint(t);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case d.AMPERSAND:{this.returnState=m.RCDATA,this.state=m.CHARACTER_REFERENCE;break}case d.LESS_THAN_SIGN:{this.state=m.RCDATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.RAWTEXT_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case d.LESS_THAN_SIGN:{this.state=m.SCRIPT_DATA_LESS_THAN_SIGN;break}case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case d.NULL:{this._err(C.unexpectedNullCharacter),this._emitChars(ne);break}case d.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Ve(t))this._createStartTagToken(),this.state=m.TAG_NAME,this._stateTagName(t);else switch(t){case d.EXCLAMATION_MARK:{this.state=m.MARKUP_DECLARATION_OPEN;break}case d.SOLIDUS:{this.state=m.END_TAG_OPEN;break}case d.QUESTION_MARK:{this._err(C.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=m.BOGUS_COMMENT,this._stateBogusComment(t);break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(C.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=m.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Ve(t))this._createEndTagToken(),this.state=m.TAG_NAME,this._stateTagName(t);else switch(t){case d.GREATER_THAN_SIGN:{this._err(C.missingEndTagName),this.state=m.DATA;break}case d.EOF:{this._err(C.eofBeforeTagName),this._emitChars("");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=m.SCRIPT_DATA_ESCAPED,this._emitChars(ne);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=m.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===d.SOLIDUS?this.state=m.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Ve(t)?(this._emitChars("<"),this.state=m.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=m.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Ve(t)?(this.state=m.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("");break}case d.NULL:{this._err(C.unexpectedNullCharacter),this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(ne);break}case d.EOF:{this._err(C.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===d.SOLIDUS?(this.state=m.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=m.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(pe.SCRIPT,!1)&&Mi(this.preprocessor.peek(pe.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n1114111)this._err(C.characterReferenceOutsideUnicodeRange),this.charRefCode=d.REPLACEMENT_CHARACTER;else if(Ja(this.charRefCode))this._err(C.surrogateCharacterReference),this.charRefCode=d.REPLACEMENT_CHARACTER;else if(eu(this.charRefCode))this._err(C.noncharacterCharacterReference);else if(Za(this.charRefCode)||this.charRefCode===d.CARRIAGE_RETURN){this._err(C.controlCharacterReference);const n=Dh.get(this.charRefCode);n!==void 0&&(this.charRefCode=n)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,t)}}const ou=new Set([s.DD,s.DT,s.LI,s.OPTGROUP,s.OPTION,s.P,s.RB,s.RP,s.RT,s.RTC]),Bi=new Set([...ou,s.CAPTION,s.COLGROUP,s.TBODY,s.TD,s.TFOOT,s.TH,s.THEAD,s.TR]),nn=new Map([[s.APPLET,N.HTML],[s.CAPTION,N.HTML],[s.HTML,N.HTML],[s.MARQUEE,N.HTML],[s.OBJECT,N.HTML],[s.TABLE,N.HTML],[s.TD,N.HTML],[s.TEMPLATE,N.HTML],[s.TH,N.HTML],[s.ANNOTATION_XML,N.MATHML],[s.MI,N.MATHML],[s.MN,N.MATHML],[s.MO,N.MATHML],[s.MS,N.MATHML],[s.MTEXT,N.MATHML],[s.DESC,N.SVG],[s.FOREIGN_OBJECT,N.SVG],[s.TITLE,N.SVG]]),Hh=[s.H1,s.H2,s.H3,s.H4,s.H5,s.H6],Uh=[s.TR,s.TEMPLATE,s.HTML],vh=[s.TBODY,s.TFOOT,s.THEAD,s.TEMPLATE,s.HTML],zh=[s.TABLE,s.TEMPLATE,s.HTML],Yh=[s.TD,s.TH];class qh{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=s.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===s.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===N.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==N.HTML);this.shortenToLength(n<0?0:n)}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop=0;r--)if(t.includes(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(zh,N.HTML)}clearBackToTableBodyContext(){this.clearBackTo(vh,N.HTML)}clearBackToTableRowContext(){this.clearBackTo(Uh,N.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===s.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===s.HTML}hasInScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if(nn.get(r)===i)return!1}return!0}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(iu(n)&&r===N.HTML)return!0;if(nn.get(n)===r)return!1}return!0}hasInListItemScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if((r===s.UL||r===s.OL)&&i===N.HTML||nn.get(r)===i)return!1}return!0}hasInButtonScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n],i=this.treeAdapter.getNamespaceURI(this.items[n]);if(r===t&&i===N.HTML)return!0;if(r===s.BUTTON&&i===N.HTML||nn.get(r)===i)return!1}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===N.HTML){if(r===t)return!0;if(r===s.TABLE||r===s.TEMPLATE||r===s.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===N.HTML){if(n===s.TBODY||n===s.THEAD||n===s.TFOOT)return!0;if(n===s.TABLE||n===s.HTML)return!1}}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--){const r=this.tagIDs[n];if(this.treeAdapter.getNamespaceURI(this.items[n])===N.HTML){if(r===t)return!0;if(r!==s.OPTION&&r!==s.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ou.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;Bi.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==t&&Bi.has(this.currentTagId);)this.pop()}}const zn=3;var Re;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(Re=Re||(Re={}));const Fi={type:Re.Marker};class jh{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,u=this.treeAdapter.getTagName(t),a=this.treeAdapter.getNamespaceURI(t);for(let o=0;o[a.name,a.value]));let u=0;for(let a=0;ai.get(l.name)===l.value)&&(u+=1,u>=zn&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Fi)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Re.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Re.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n>=0&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(Fi);t>=0?this.entries.splice(0,t+1):this.entries.length=0}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Re.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Re.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Re.Element&&n.element===t)}}function Hi(e){return{nodeName:"#text",value:e,parentNode:null}}const ft={createDocument(){return{nodeName:"#document",mode:Te.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(u=>u.nodeName==="#documentType");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const u={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};ft.appendChild(e,u)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(ft.isTextNode(n)){n.value+=t;return}}ft.appendChild(e,Hi(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ft.isTextNode(r)?r.value+=t:ft.insertBefore(e,Hi(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;re.startsWith(n))}function Kh(e){return e.name===lu&&e.publicId===null&&(e.systemId===null||e.systemId===Vh)}function $h(e){if(e.name!==lu)return Te.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Wh)return Te.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),Qh.has(n))return Te.QUIRKS;let r=t===null?Xh:cu;if(Ui(n,r))return Te.QUIRKS;if(r=t===null?hu:Gh,Ui(n,r))return Te.LIMITED_QUIRKS}return Te.NO_QUIRKS}const vi={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Jh="definitionurl",Zh="definitionURL",ef=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),tf=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:N.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:N.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:N.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:N.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:N.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:N.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:N.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:N.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:N.XML}],["xml:space",{prefix:"xml",name:"space",namespace:N.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:N.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:N.XMLNS}]]),nf=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),rf=new Set([s.B,s.BIG,s.BLOCKQUOTE,s.BODY,s.BR,s.CENTER,s.CODE,s.DD,s.DIV,s.DL,s.DT,s.EM,s.EMBED,s.H1,s.H2,s.H3,s.H4,s.H5,s.H6,s.HEAD,s.HR,s.I,s.IMG,s.LI,s.LISTING,s.MENU,s.META,s.NOBR,s.OL,s.P,s.PRE,s.RUBY,s.S,s.SMALL,s.SPAN,s.STRONG,s.STRIKE,s.SUB,s.SUP,s.TABLE,s.TT,s.U,s.UL,s.VAR]);function af(e){const t=e.tagID;return t===s.FONT&&e.attrs.some(({name:r})=>r===We.COLOR||r===We.SIZE||r===We.FACE)||rf.has(t)}function fu(e){for(let t=0;t0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let u,a;this.openElements.stackTop===0&&this.fragmentContext?(u=this.fragmentContext,a=this.fragmentContextID):{current:u,currentTagId:a}=this.openElements,this._setContextModes(u,a)}}_setContextModes(t,n){const r=t===this.document||this.treeAdapter.getNamespaceURI(t)===N.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,N.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=ie.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===A.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==N.HTML))switch(this.fragmentContextID){case s.TITLE:case s.TEXTAREA:{this.tokenizer.state=ie.RCDATA;break}case s.STYLE:case s.XMP:case s.IFRAME:case s.NOEMBED:case s.NOFRAMES:case s.NOSCRIPT:{this.tokenizer.state=ie.RAWTEXT;break}case s.SCRIPT:{this.tokenizer.state=ie.SCRIPT_DATA;break}case s.PLAINTEXT:{this.tokenizer.state=ie.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||"",r=t.publicId||"",i=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const a=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));a&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,N.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,N.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(A.HTML,N.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,s.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),u=r?i.lastIndexOf(r):i.length,a=i[u-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){const{endLine:l,endCol:c,endOffset:f}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:l,endCol:c,endOffset:f})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),u=n.type===q.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,u)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===s.SVG&&this.treeAdapter.getTagName(n)===A.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===N.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===s.MGLYPH||t.tagID===s.MALIGNMARK)&&!this._isIntegrationPoint(r,n,N.HTML)}_processToken(t){switch(t.type){case q.CHARACTER:{this.onCharacter(t);break}case q.NULL_CHARACTER:{this.onNullCharacter(t);break}case q.COMMENT:{this.onComment(t);break}case q.DOCTYPE:{this.onDoctype(t);break}case q.START_TAG:{this._processStartTag(t);break}case q.END_TAG:{this.onEndTag(t);break}case q.EOF:{this.onEof(t);break}case q.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),u=this.treeAdapter.getAttrList(n);return lf(t,i,u,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Re.Marker||this.openElements.contains(i.element)),r=n<0?t-1:n-1;for(let i=r;i>=0;i--){const u=this.activeFormattingElements.entries[i];this._insertElement(u.token,this.treeAdapter.getNamespaceURI(u.element)),u.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=_.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(s.P),this.openElements.popUntilTagNamePopped(s.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case s.TR:{this.insertionMode=_.IN_ROW;return}case s.TBODY:case s.THEAD:case s.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case s.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case s.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case s.TABLE:{this.insertionMode=_.IN_TABLE;return}case s.BODY:{this.insertionMode=_.IN_BODY;return}case s.FRAMESET:{this.insertionMode=_.IN_FRAMESET;return}case s.SELECT:{this._resetInsertionModeForSelect(t);return}case s.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case s.HTML:{this.insertionMode=this.headElement?_.AFTER_HEAD:_.BEFORE_HEAD;return}case s.TD:case s.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case s.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===s.TEMPLATE)break;if(r===s.TABLE){this.insertionMode=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return mu.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case s.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===N.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case s.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return wh[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){qd(this,t);return}switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{_u(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Yn(this,t);break}case _.IN_TABLE_TEXT:{Cu(this,t);break}case _.IN_COLUMN_GROUP:{pn(this,t);break}case _.AFTER_BODY:{_n(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Yd(this,t);return}switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Yn(this,t);break}case _.IN_COLUMN_GROUP:{pn(this,t);break}case _.AFTER_BODY:{_n(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){ur(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{ur(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.AFTER_BODY:{Tf(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Af(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{Cf(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,C.misplacedDoctype);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,C.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?jd(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{kf(this,t);break}case _.BEFORE_HEAD:{yf(this,t);break}case _.IN_HEAD:{Oe(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Sf(this,t);break}case _.AFTER_HEAD:{Lf(this,t);break}case _.IN_BODY:{de(this,t);break}case _.IN_TABLE:{Et(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_CAPTION:{Nd(this,t);break}case _.IN_COLUMN_GROUP:{Nr(this,t);break}case _.IN_TABLE_BODY:{xn(this,t);break}case _.IN_ROW:{Sn(this,t);break}case _.IN_CELL:{Rd(this,t);break}case _.IN_SELECT:{yu(this,t);break}case _.IN_SELECT_IN_TABLE:{Od(this,t);break}case _.IN_TEMPLATE:{Dd(this,t);break}case _.AFTER_BODY:{Md(this,t);break}case _.IN_FRAMESET:{Bd(this,t);break}case _.AFTER_FRAMESET:{Hd(this,t);break}case _.AFTER_AFTER_BODY:{vd(this,t);break}case _.AFTER_AFTER_FRAMESET:{zd(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Vd(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{If(this,t);break}case _.BEFORE_HEAD:{Nf(this,t);break}case _.IN_HEAD:{xf(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Rf(this,t);break}case _.AFTER_HEAD:{Of(this,t);break}case _.IN_BODY:{Nn(this,t);break}case _.TEXT:{_d(this,t);break}case _.IN_TABLE:{Yt(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_CAPTION:{xd(this,t);break}case _.IN_COLUMN_GROUP:{Sd(this,t);break}case _.IN_TABLE_BODY:{sr(this,t);break}case _.IN_ROW:{Iu(this,t);break}case _.IN_CELL:{Ld(this,t);break}case _.IN_SELECT:{Nu(this,t);break}case _.IN_SELECT_IN_TABLE:{wd(this,t);break}case _.IN_TEMPLATE:{Pd(this,t);break}case _.AFTER_BODY:{Su(this,t);break}case _.IN_FRAMESET:{Fd(this,t);break}case _.AFTER_FRAMESET:{Ud(this,t);break}case _.AFTER_AFTER_BODY:{cn(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{Rt(this,t);break}case _.BEFORE_HTML:{Mt(this,t);break}case _.BEFORE_HEAD:{Bt(this,t);break}case _.IN_HEAD:{Ft(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ht(this,t);break}case _.AFTER_HEAD:{Ut(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{Tu(this,t);break}case _.TEXT:{Ed(this,t);break}case _.IN_TABLE_TEXT:{Lt(this,t);break}case _.IN_TEMPLATE:{xu(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{yr(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===d.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{pu(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{Yn(this,t);break}case _.IN_TABLE_TEXT:{Au(this,t);break}}}}function mf(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):bu(e,t),n}function pf(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function _f(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let u=0,a=i;a!==n;u++,a=i){i=e.openElements.getCommonAncestor(a);const o=e.activeFormattingElements.getElementEntry(a),l=o&&u>=ff;!o||l?(l&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(a)):(a=Ef(e,o),r===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(a,r),r=a)}return r}function Ef(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function gf(e,t,n){const r=e.treeAdapter.getTagName(t),i=At(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const u=e.treeAdapter.getNamespaceURI(t);i===s.TEMPLATE&&u===N.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function bf(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,u=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,u),e.treeAdapter.appendChild(t,u),e.activeFormattingElements.insertElementAfterBookmark(u,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,u,i.tagID)}function Ir(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const u=e.openElements.items[1],a=e.treeAdapter.getNodeSourceCodeLocation(u);a&&!a.endTag&&e._setEndLocation(u,t)}}}}function Cf(e,t){e._setDocumentType(t);const n=t.forceQuirks?Te.QUIRKS:$h(t);Kh(t)||e._err(t,C.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=_.BEFORE_HTML}function Rt(e,t){e._err(t,C.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Te.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function kf(e,t){t.tagID===s.HTML?(e._insertElement(t,N.HTML),e.insertionMode=_.BEFORE_HEAD):Mt(e,t)}function If(e,t){const n=t.tagID;(n===s.HTML||n===s.HEAD||n===s.BODY||n===s.BR)&&Mt(e,t)}function Mt(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function yf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.HEAD:{e._insertElement(t,N.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:Bt(e,t)}}function Nf(e,t){const n=t.tagID;n===s.HEAD||n===s.BODY||n===s.HTML||n===s.BR?Bt(e,t):e._err(t,C.endTagWithoutMatchingOpenElement)}function Bt(e,t){e._insertFakeElement(A.HEAD,s.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function Oe(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:{e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break}case s.TITLE:{e._switchToTextParsing(t,ie.RCDATA);break}case s.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ie.RAWTEXT):(e._insertElement(t,N.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case s.NOFRAMES:case s.STYLE:{e._switchToTextParsing(t,ie.RAWTEXT);break}case s.SCRIPT:{e._switchToTextParsing(t,ie.SCRIPT_DATA);break}case s.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Ft(e,t)}}function xf(e,t){switch(t.tagID){case s.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case s.BODY:case s.BR:case s.HTML:{Ft(e,t);break}case s.TEMPLATE:{at(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function at(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==s.TEMPLATE&&e._err(t,C.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,C.endTagWithoutMatchingOpenElement)}function Ft(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function Sf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BASEFONT:case s.BGSOUND:case s.HEAD:case s.LINK:case s.META:case s.NOFRAMES:case s.STYLE:{Oe(e,t);break}case s.NOSCRIPT:{e._err(t,C.nestedNoscriptInHead);break}default:Ht(e,t)}}function Rf(e,t){switch(t.tagID){case s.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case s.BR:{Ht(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ht(e,t){const n=t.type===q.EOF?C.openElementsLeftAfterEof:C.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function Lf(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.BODY:{e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case s.FRAMESET:{e._insertElement(t,N.HTML),e.insertionMode=_.IN_FRAMESET;break}case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{e._err(t,C.abandonedHeadElementChild),e.openElements.push(e.headElement,s.HEAD),Oe(e,t),e.openElements.remove(e.headElement);break}case s.HEAD:{e._err(t,C.misplacedStartTagForHeadElement);break}default:Ut(e,t)}}function Of(e,t){switch(t.tagID){case s.BODY:case s.HTML:case s.BR:{Ut(e,t);break}case s.TEMPLATE:{at(e,t);break}default:e._err(t,C.endTagWithoutMatchingOpenElement)}}function Ut(e,t){e._insertFakeElement(A.BODY,s.BODY),e.insertionMode=_.IN_BODY,yn(e,t)}function yn(e,t){switch(t.type){case q.CHARACTER:{_u(e,t);break}case q.WHITESPACE_CHARACTER:{pu(e,t);break}case q.COMMENT:{ur(e,t);break}case q.START_TAG:{de(e,t);break}case q.END_TAG:{Nn(e,t);break}case q.EOF:{Tu(e,t);break}}}function pu(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function _u(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function wf(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Df(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function Pf(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_FRAMESET)}function Mf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML)}function Bf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),iu(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,N.HTML)}function Ff(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Hf(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),n||(e.formElement=e.openElements.current))}function Uf(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===s.LI&&i===s.LI||(n===s.DD||n===s.DT)&&(i===s.DD||i===s.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==s.ADDRESS&&i!==s.DIV&&i!==s.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML)}function vf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.tokenizer.state=ie.PLAINTEXT}function zf(e,t){e.openElements.hasInScope(s.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(s.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1}function Yf(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(A.A);n&&(Ir(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function qf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function jf(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(s.NOBR)&&(Ir(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,N.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Wf(e,t){e.treeAdapter.getDocumentMode(e.document)!==Te.QUIRKS&&e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function Eu(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function gu(e){const t=tu(e,We.TYPE);return t!=null&&t.toLowerCase()===cf}function Xf(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,N.HTML),gu(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Qf(e,t){e._appendElement(t,N.HTML),t.ackSelfClosing=!0}function Gf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._appendElement(t,N.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Kf(e,t){t.tagName=A.IMG,t.tagID=s.IMG,Eu(e,t)}function $f(e,t){e._insertElement(t,N.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ie.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function Jf(e,t){e.openElements.hasInButtonScope(s.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ie.RAWTEXT)}function Zf(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ie.RAWTEXT)}function qi(e,t){e._switchToTextParsing(t,ie.RAWTEXT)}function ed(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function td(e,t){e.openElements.currentTagId===s.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML)}function nd(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,N.HTML)}function rd(e,t){e.openElements.hasInScope(s.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(s.RTC),e._insertElement(t,N.HTML)}function id(e,t){e._reconstructActiveFormattingElements(),fu(t),kr(t),t.selfClosing?e._appendElement(t,N.MATHML):e._insertElement(t,N.MATHML),t.ackSelfClosing=!0}function ad(e,t){e._reconstructActiveFormattingElements(),du(t),kr(t),t.selfClosing?e._appendElement(t,N.SVG):e._insertElement(t,N.SVG),t.ackSelfClosing=!0}function ji(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,N.HTML)}function de(e,t){switch(t.tagID){case s.I:case s.S:case s.B:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.SMALL:case s.STRIKE:case s.STRONG:{qf(e,t);break}case s.A:{Yf(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{Bf(e,t);break}case s.P:case s.DL:case s.OL:case s.UL:case s.DIV:case s.DIR:case s.NAV:case s.MAIN:case s.MENU:case s.ASIDE:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.DETAILS:case s.ADDRESS:case s.ARTICLE:case s.SECTION:case s.SUMMARY:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{Mf(e,t);break}case s.LI:case s.DD:case s.DT:{Uf(e,t);break}case s.BR:case s.IMG:case s.WBR:case s.AREA:case s.EMBED:case s.KEYGEN:{Eu(e,t);break}case s.HR:{Gf(e,t);break}case s.RB:case s.RTC:{nd(e,t);break}case s.RT:case s.RP:{rd(e,t);break}case s.PRE:case s.LISTING:{Ff(e,t);break}case s.XMP:{Jf(e,t);break}case s.SVG:{ad(e,t);break}case s.HTML:{wf(e,t);break}case s.BASE:case s.LINK:case s.META:case s.STYLE:case s.TITLE:case s.SCRIPT:case s.BGSOUND:case s.BASEFONT:case s.TEMPLATE:{Oe(e,t);break}case s.BODY:{Df(e,t);break}case s.FORM:{Hf(e,t);break}case s.NOBR:{jf(e,t);break}case s.MATH:{id(e,t);break}case s.TABLE:{Wf(e,t);break}case s.INPUT:{Xf(e,t);break}case s.PARAM:case s.TRACK:case s.SOURCE:{Qf(e,t);break}case s.IMAGE:{Kf(e,t);break}case s.BUTTON:{zf(e,t);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{Vf(e,t);break}case s.IFRAME:{Zf(e,t);break}case s.SELECT:{ed(e,t);break}case s.OPTION:case s.OPTGROUP:{td(e,t);break}case s.NOEMBED:{qi(e,t);break}case s.FRAMESET:{Pf(e,t);break}case s.TEXTAREA:{$f(e,t);break}case s.NOSCRIPT:{e.options.scriptingEnabled?qi(e,t):ji(e,t);break}case s.PLAINTEXT:{vf(e,t);break}case s.COL:case s.TH:case s.TD:case s.TR:case s.HEAD:case s.FRAME:case s.TBODY:case s.TFOOT:case s.THEAD:case s.CAPTION:case s.COLGROUP:break;default:ji(e,t)}}function ud(e,t){if(e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function sd(e,t){e.openElements.hasInScope(s.BODY)&&(e.insertionMode=_.AFTER_BODY,Su(e,t))}function od(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function ld(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(s.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(s.FORM):n&&e.openElements.remove(n))}function cd(e){e.openElements.hasInButtonScope(s.P)||e._insertFakeElement(A.P,s.P),e._closePElement()}function hd(e){e.openElements.hasInListItemScope(s.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(s.LI),e.openElements.popUntilTagNamePopped(s.LI))}function fd(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function dd(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function md(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function pd(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(A.BR,s.BR),e.openElements.pop(),e.framesetOk=!1}function bu(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const u=e.openElements.items[i],a=e.openElements.tagIDs[i];if(r===a&&(r!==s.UNKNOWN||e.treeAdapter.getTagName(u)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(u,a))break}}function Nn(e,t){switch(t.tagID){case s.A:case s.B:case s.I:case s.S:case s.U:case s.EM:case s.TT:case s.BIG:case s.CODE:case s.FONT:case s.NOBR:case s.SMALL:case s.STRIKE:case s.STRONG:{Ir(e,t);break}case s.P:{cd(e);break}case s.DL:case s.UL:case s.OL:case s.DIR:case s.DIV:case s.NAV:case s.PRE:case s.MAIN:case s.MENU:case s.ASIDE:case s.BUTTON:case s.CENTER:case s.FIGURE:case s.FOOTER:case s.HEADER:case s.HGROUP:case s.DIALOG:case s.ADDRESS:case s.ARTICLE:case s.DETAILS:case s.SECTION:case s.SUMMARY:case s.LISTING:case s.FIELDSET:case s.BLOCKQUOTE:case s.FIGCAPTION:{od(e,t);break}case s.LI:{hd(e);break}case s.DD:case s.DT:{fd(e,t);break}case s.H1:case s.H2:case s.H3:case s.H4:case s.H5:case s.H6:{dd(e);break}case s.BR:{pd(e);break}case s.BODY:{ud(e,t);break}case s.HTML:{sd(e,t);break}case s.FORM:{ld(e);break}case s.APPLET:case s.OBJECT:case s.MARQUEE:{md(e,t);break}case s.TEMPLATE:{at(e,t);break}default:bu(e,t)}}function Tu(e,t){e.tmplInsertionModeStack.length>0?xu(e,t):yr(e,t)}function _d(e,t){var n;t.tagID===s.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function Ed(e,t){e._err(t,C.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function Yn(e,t){if(mu.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case q.CHARACTER:{Cu(e,t);break}case q.WHITESPACE_CHARACTER:{Au(e,t);break}}else Xt(e,t)}function gd(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_CAPTION}function bd(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function Td(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.COLGROUP,s.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,Nr(e,t)}function Ad(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,N.HTML),e.insertionMode=_.IN_TABLE_BODY}function Cd(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(A.TBODY,s.TBODY),e.insertionMode=_.IN_TABLE_BODY,xn(e,t)}function kd(e,t){e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function Id(e,t){gu(t)?e._appendElement(t,N.HTML):Xt(e,t),t.ackSelfClosing=!0}function yd(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,N.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Et(e,t){switch(t.tagID){case s.TD:case s.TH:case s.TR:{Cd(e,t);break}case s.STYLE:case s.SCRIPT:case s.TEMPLATE:{Oe(e,t);break}case s.COL:{Td(e,t);break}case s.FORM:{yd(e,t);break}case s.TABLE:{kd(e,t);break}case s.TBODY:case s.TFOOT:case s.THEAD:{Ad(e,t);break}case s.INPUT:{Id(e,t);break}case s.CAPTION:{gd(e,t);break}case s.COLGROUP:{bd(e,t);break}default:Xt(e,t)}}function Yt(e,t){switch(t.tagID){case s.TABLE:{e.openElements.hasInTableScope(s.TABLE)&&(e.openElements.popUntilTagNamePopped(s.TABLE),e._resetInsertionMode());break}case s.TEMPLATE:{at(e,t);break}case s.BODY:case s.CAPTION:case s.COL:case s.COLGROUP:case s.HTML:case s.TBODY:case s.TD:case s.TFOOT:case s.TH:case s.THEAD:case s.TR:break;default:Xt(e,t)}}function Xt(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,yn(e,t),e.fosterParentingEnabled=n}function Au(e,t){e.pendingCharacterTokens.push(t)}function Cu(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Lt(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===s.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===s.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===s.OPTGROUP&&e.openElements.pop();break}case s.OPTION:{e.openElements.currentTagId===s.OPTION&&e.openElements.pop();break}case s.SELECT:{e.openElements.hasInSelectScope(s.SELECT)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode());break}case s.TEMPLATE:{at(e,t);break}}}function Od(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e._processStartTag(t)):yu(e,t)}function wd(e,t){const n=t.tagID;n===s.CAPTION||n===s.TABLE||n===s.TBODY||n===s.TFOOT||n===s.THEAD||n===s.TR||n===s.TD||n===s.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(s.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Nu(e,t)}function Dd(e,t){switch(t.tagID){case s.BASE:case s.BASEFONT:case s.BGSOUND:case s.LINK:case s.META:case s.NOFRAMES:case s.SCRIPT:case s.STYLE:case s.TEMPLATE:case s.TITLE:{Oe(e,t);break}case s.CAPTION:case s.COLGROUP:case s.TBODY:case s.TFOOT:case s.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,Et(e,t);break}case s.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,Nr(e,t);break}case s.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,xn(e,t);break}case s.TD:case s.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,Sn(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,de(e,t)}}function Pd(e,t){t.tagID===s.TEMPLATE&&at(e,t)}function xu(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(s.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):yr(e,t)}function Md(e,t){t.tagID===s.HTML?de(e,t):_n(e,t)}function Su(e,t){var n;if(t.tagID===s.HTML){if(e.fragmentContext||(e.insertionMode=_.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===s.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else _n(e,t)}function _n(e,t){e.insertionMode=_.IN_BODY,yn(e,t)}function Bd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.FRAMESET:{e._insertElement(t,N.HTML);break}case s.FRAME:{e._appendElement(t,N.HTML),t.ackSelfClosing=!0;break}case s.NOFRAMES:{Oe(e,t);break}}}function Fd(e,t){t.tagID===s.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==s.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function Hd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function Ud(e,t){t.tagID===s.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function vd(e,t){t.tagID===s.HTML?de(e,t):cn(e,t)}function cn(e,t){e.insertionMode=_.IN_BODY,yn(e,t)}function zd(e,t){switch(t.tagID){case s.HTML:{de(e,t);break}case s.NOFRAMES:{Oe(e,t);break}}}function Yd(e,t){t.chars=ne,e._insertCharacters(t)}function qd(e,t){e._insertCharacters(t),e.framesetOk=!1}function Ru(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==N.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function jd(e,t){if(af(t))Ru(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===N.MATHML?fu(t):r===N.SVG&&(uf(t),du(t)),kr(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function Vd(e,t){if(t.tagID===s.P||t.tagID===s.BR){Ru(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===N.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}A.AREA,A.BASE,A.BASEFONT,A.BGSOUND,A.BR,A.COL,A.EMBED,A.FRAME,A.HR,A.IMG,A.INPUT,A.KEYGEN,A.LINK,A.META,A.PARAM,A.SOURCE,A.TRACK,A.WBR;const Wd=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Vi={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Lu(e,t){const n=nm(e),r=Ka("type",{handlers:{root:Xd,element:Qd,text:Gd,comment:wu,doctype:Kd,raw:Jd},unknown:Zd}),i={parser:n?new Yi(Vi):Yi.getFragmentParser(void 0,Vi),handle(o){r(o,i)},stitches:!1,options:t||{}};r(e,i),Ct(i,Pe());const u=n?i.parser.document:i.parser.getFragment(),a=rh(u,{file:i.options.file});return i.stitches&&In(a,"comment",function(o,l,c){const f=o;if(f.value.stitch&&c&&l!==void 0){const h=c.children;return h[l]=f.value.stitch,l}}),a.type==="root"&&a.children.length===1&&a.children[0].type===e.type?a.children[0]:a}function Ou(e,t){let n=-1;if(e)for(;++n4&&(t.parser.tokenizer.state=0);const n={type:q.CHARACTER,chars:e.value,location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function Kd(e,t){const n={type:q.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function $d(e,t){t.stitches=!0;const n=rm(e);if("children"in e&&"children"in n){const r=Lu({type:"root",children:e.children},t.options);n.children=r.children}wu({type:"comment",value:{stitch:n}},t)}function wu(e,t){const n=e.value,r={type:q.COMMENT,data:n,location:Qt(e)};Ct(t,Pe(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function Jd(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,Du(t,Pe(e)),t.parser.tokenizer.write(e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function Zd(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))$d(n,t);else{let r="";throw Wd.has(n.type)&&(r=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+n.type+"` node"+r)}}function Ct(e,t){Du(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ie.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function Du(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function em(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ie.PLAINTEXT)return;Ct(t,Pe(e));const r=t.parser.openElements.current;let i="namespaceURI"in r?r.namespaceURI:nt.html;i===nt.html&&n==="svg"&&(i=nt.svg);const u=oh({...e,children:[]},{space:i===nt.svg?"svg":"html"}),a={type:q.START_TAG,tagName:n,tagID:At(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in u?u.attrs:[],location:Qt(e)};t.parser.currentToken=a,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function tm(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&_h.includes(n)||t.parser.tokenizer.state===ie.PLAINTEXT)return;Ct(t,gn(e));const r={type:q.END_TAG,tagName:n,tagID:At(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:Qt(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ie.RCDATA||t.parser.tokenizer.state===ie.RAWTEXT||t.parser.tokenizer.state===ie.SCRIPT_DATA)&&(t.parser.tokenizer.state=ie.DATA)}function nm(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function Qt(e){const t=Pe(e)||{line:void 0,column:void 0,offset:void 0},n=gn(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function rm(e){return"children"in e?_t({...e,children:[]}):_t(e)}function x1(e){return function(t,n){return Lu(t,{...e,file:n})}}const Wi={100:"💯",1234:"🔢",grinning:"😀",smiley:"😃",smile:"😄",grin:"😁",laughing:"😆",satisfied:"😆",sweat_smile:"😅",rofl:"🤣",joy:"😂",slightly_smiling_face:"🙂",upside_down_face:"🙃",melting_face:"🫠",wink:"😉",blush:"😊",innocent:"😇",smiling_face_with_three_hearts:"🥰",heart_eyes:"😍",star_struck:"🤩",kissing_heart:"😘",kissing:"😗",relaxed:"☺️",kissing_closed_eyes:"😚",kissing_smiling_eyes:"😙",smiling_face_with_tear:"🥲",yum:"😋",stuck_out_tongue:"😛",stuck_out_tongue_winking_eye:"😜",zany_face:"🤪",stuck_out_tongue_closed_eyes:"😝",money_mouth_face:"🤑",hugs:"🤗",hand_over_mouth:"🤭",face_with_open_eyes_and_hand_over_mouth:"🫢",face_with_peeking_eye:"🫣",shushing_face:"🤫",thinking:"🤔",saluting_face:"🫡",zipper_mouth_face:"🤐",raised_eyebrow:"🤨",neutral_face:"😐",expressionless:"😑",no_mouth:"😶",dotted_line_face:"🫥",face_in_clouds:"😶‍🌫️",smirk:"😏",unamused:"😒",roll_eyes:"🙄",grimacing:"😬",face_exhaling:"😮‍💨",lying_face:"🤥",shaking_face:"🫨",relieved:"😌",pensive:"😔",sleepy:"😪",drooling_face:"🤤",sleeping:"😴",mask:"😷",face_with_thermometer:"🤒",face_with_head_bandage:"🤕",nauseated_face:"🤢",vomiting_face:"🤮",sneezing_face:"🤧",hot_face:"🥵",cold_face:"🥶",woozy_face:"🥴",dizzy_face:"😵",face_with_spiral_eyes:"😵‍💫",exploding_head:"🤯",cowboy_hat_face:"🤠",partying_face:"🥳",disguised_face:"🥸",sunglasses:"😎",nerd_face:"🤓",monocle_face:"🧐",confused:"😕",face_with_diagonal_mouth:"🫤",worried:"😟",slightly_frowning_face:"🙁",frowning_face:"☹️",open_mouth:"😮",hushed:"😯",astonished:"😲",flushed:"😳",pleading_face:"🥺",face_holding_back_tears:"🥹",frowning:"😦",anguished:"😧",fearful:"😨",cold_sweat:"😰",disappointed_relieved:"😥",cry:"😢",sob:"😭",scream:"😱",confounded:"😖",persevere:"😣",disappointed:"😞",sweat:"😓",weary:"😩",tired_face:"😫",yawning_face:"🥱",triumph:"😤",rage:"😡",pout:"😡",angry:"😠",cursing_face:"🤬",smiling_imp:"😈",imp:"👿",skull:"💀",skull_and_crossbones:"☠️",hankey:"💩",poop:"💩",shit:"💩",clown_face:"🤡",japanese_ogre:"👹",japanese_goblin:"👺",ghost:"👻",alien:"👽",space_invader:"👾",robot:"🤖",smiley_cat:"😺",smile_cat:"😸",joy_cat:"😹",heart_eyes_cat:"😻",smirk_cat:"😼",kissing_cat:"😽",scream_cat:"🙀",crying_cat_face:"😿",pouting_cat:"😾",see_no_evil:"🙈",hear_no_evil:"🙉",speak_no_evil:"🙊",love_letter:"💌",cupid:"💘",gift_heart:"💝",sparkling_heart:"💖",heartpulse:"💗",heartbeat:"💓",revolving_hearts:"💞",two_hearts:"💕",heart_decoration:"💟",heavy_heart_exclamation:"❣️",broken_heart:"💔",heart_on_fire:"❤️‍🔥",mending_heart:"❤️‍🩹",heart:"❤️",pink_heart:"🩷",orange_heart:"🧡",yellow_heart:"💛",green_heart:"💚",blue_heart:"💙",light_blue_heart:"🩵",purple_heart:"💜",brown_heart:"🤎",black_heart:"🖤",grey_heart:"🩶",white_heart:"🤍",kiss:"💋",anger:"💢",boom:"💥",collision:"💥",dizzy:"💫",sweat_drops:"💦",dash:"💨",hole:"🕳️",speech_balloon:"💬",eye_speech_bubble:"👁️‍🗨️",left_speech_bubble:"🗨️",right_anger_bubble:"🗯️",thought_balloon:"💭",zzz:"💤",wave:"👋",raised_back_of_hand:"🤚",raised_hand_with_fingers_splayed:"🖐️",hand:"✋",raised_hand:"✋",vulcan_salute:"🖖",rightwards_hand:"🫱",leftwards_hand:"🫲",palm_down_hand:"🫳",palm_up_hand:"🫴",leftwards_pushing_hand:"🫷",rightwards_pushing_hand:"🫸",ok_hand:"👌",pinched_fingers:"🤌",pinching_hand:"🤏",v:"✌️",crossed_fingers:"🤞",hand_with_index_finger_and_thumb_crossed:"🫰",love_you_gesture:"🤟",metal:"🤘",call_me_hand:"🤙",point_left:"👈",point_right:"👉",point_up_2:"👆",middle_finger:"🖕",fu:"🖕",point_down:"👇",point_up:"☝️",index_pointing_at_the_viewer:"🫵","+1":"👍",thumbsup:"👍","-1":"👎",thumbsdown:"👎",fist_raised:"✊",fist:"✊",fist_oncoming:"👊",facepunch:"👊",punch:"👊",fist_left:"🤛",fist_right:"🤜",clap:"👏",raised_hands:"🙌",heart_hands:"🫶",open_hands:"👐",palms_up_together:"🤲",handshake:"🤝",pray:"🙏",writing_hand:"✍️",nail_care:"💅",selfie:"🤳",muscle:"💪",mechanical_arm:"🦾",mechanical_leg:"🦿",leg:"🦵",foot:"🦶",ear:"👂",ear_with_hearing_aid:"🦻",nose:"👃",brain:"🧠",anatomical_heart:"🫀",lungs:"🫁",tooth:"🦷",bone:"🦴",eyes:"👀",eye:"👁️",tongue:"👅",lips:"👄",biting_lip:"🫦",baby:"👶",child:"🧒",boy:"👦",girl:"👧",adult:"🧑",blond_haired_person:"👱",man:"👨",bearded_person:"🧔",man_beard:"🧔‍♂️",woman_beard:"🧔‍♀️",red_haired_man:"👨‍🦰",curly_haired_man:"👨‍🦱",white_haired_man:"👨‍🦳",bald_man:"👨‍🦲",woman:"👩",red_haired_woman:"👩‍🦰",person_red_hair:"🧑‍🦰",curly_haired_woman:"👩‍🦱",person_curly_hair:"🧑‍🦱",white_haired_woman:"👩‍🦳",person_white_hair:"🧑‍🦳",bald_woman:"👩‍🦲",person_bald:"🧑‍🦲",blond_haired_woman:"👱‍♀️",blonde_woman:"👱‍♀️",blond_haired_man:"👱‍♂️",older_adult:"🧓",older_man:"👴",older_woman:"👵",frowning_person:"🙍",frowning_man:"🙍‍♂️",frowning_woman:"🙍‍♀️",pouting_face:"🙎",pouting_man:"🙎‍♂️",pouting_woman:"🙎‍♀️",no_good:"🙅",no_good_man:"🙅‍♂️",ng_man:"🙅‍♂️",no_good_woman:"🙅‍♀️",ng_woman:"🙅‍♀️",ok_person:"🙆",ok_man:"🙆‍♂️",ok_woman:"🙆‍♀️",tipping_hand_person:"💁",information_desk_person:"💁",tipping_hand_man:"💁‍♂️",sassy_man:"💁‍♂️",tipping_hand_woman:"💁‍♀️",sassy_woman:"💁‍♀️",raising_hand:"🙋",raising_hand_man:"🙋‍♂️",raising_hand_woman:"🙋‍♀️",deaf_person:"🧏",deaf_man:"🧏‍♂️",deaf_woman:"🧏‍♀️",bow:"🙇",bowing_man:"🙇‍♂️",bowing_woman:"🙇‍♀️",facepalm:"🤦",man_facepalming:"🤦‍♂️",woman_facepalming:"🤦‍♀️",shrug:"🤷",man_shrugging:"🤷‍♂️",woman_shrugging:"🤷‍♀️",health_worker:"🧑‍⚕️",man_health_worker:"👨‍⚕️",woman_health_worker:"👩‍⚕️",student:"🧑‍🎓",man_student:"👨‍🎓",woman_student:"👩‍🎓",teacher:"🧑‍🏫",man_teacher:"👨‍🏫",woman_teacher:"👩‍🏫",judge:"🧑‍⚖️",man_judge:"👨‍⚖️",woman_judge:"👩‍⚖️",farmer:"🧑‍🌾",man_farmer:"👨‍🌾",woman_farmer:"👩‍🌾",cook:"🧑‍🍳",man_cook:"👨‍🍳",woman_cook:"👩‍🍳",mechanic:"🧑‍🔧",man_mechanic:"👨‍🔧",woman_mechanic:"👩‍🔧",factory_worker:"🧑‍🏭",man_factory_worker:"👨‍🏭",woman_factory_worker:"👩‍🏭",office_worker:"🧑‍💼",man_office_worker:"👨‍💼",woman_office_worker:"👩‍💼",scientist:"🧑‍🔬",man_scientist:"👨‍🔬",woman_scientist:"👩‍🔬",technologist:"🧑‍💻",man_technologist:"👨‍💻",woman_technologist:"👩‍💻",singer:"🧑‍🎤",man_singer:"👨‍🎤",woman_singer:"👩‍🎤",artist:"🧑‍🎨",man_artist:"👨‍🎨",woman_artist:"👩‍🎨",pilot:"🧑‍✈️",man_pilot:"👨‍✈️",woman_pilot:"👩‍✈️",astronaut:"🧑‍🚀",man_astronaut:"👨‍🚀",woman_astronaut:"👩‍🚀",firefighter:"🧑‍🚒",man_firefighter:"👨‍🚒",woman_firefighter:"👩‍🚒",police_officer:"👮",cop:"👮",policeman:"👮‍♂️",policewoman:"👮‍♀️",detective:"🕵️",male_detective:"🕵️‍♂️",female_detective:"🕵️‍♀️",guard:"💂",guardsman:"💂‍♂️",guardswoman:"💂‍♀️",ninja:"🥷",construction_worker:"👷",construction_worker_man:"👷‍♂️",construction_worker_woman:"👷‍♀️",person_with_crown:"🫅",prince:"🤴",princess:"👸",person_with_turban:"👳",man_with_turban:"👳‍♂️",woman_with_turban:"👳‍♀️",man_with_gua_pi_mao:"👲",woman_with_headscarf:"🧕",person_in_tuxedo:"🤵",man_in_tuxedo:"🤵‍♂️",woman_in_tuxedo:"🤵‍♀️",person_with_veil:"👰",man_with_veil:"👰‍♂️",woman_with_veil:"👰‍♀️",bride_with_veil:"👰‍♀️",pregnant_woman:"🤰",pregnant_man:"🫃",pregnant_person:"🫄",breast_feeding:"🤱",woman_feeding_baby:"👩‍🍼",man_feeding_baby:"👨‍🍼",person_feeding_baby:"🧑‍🍼",angel:"👼",santa:"🎅",mrs_claus:"🤶",mx_claus:"🧑‍🎄",superhero:"🦸",superhero_man:"🦸‍♂️",superhero_woman:"🦸‍♀️",supervillain:"🦹",supervillain_man:"🦹‍♂️",supervillain_woman:"🦹‍♀️",mage:"🧙",mage_man:"🧙‍♂️",mage_woman:"🧙‍♀️",fairy:"🧚",fairy_man:"🧚‍♂️",fairy_woman:"🧚‍♀️",vampire:"🧛",vampire_man:"🧛‍♂️",vampire_woman:"🧛‍♀️",merperson:"🧜",merman:"🧜‍♂️",mermaid:"🧜‍♀️",elf:"🧝",elf_man:"🧝‍♂️",elf_woman:"🧝‍♀️",genie:"🧞",genie_man:"🧞‍♂️",genie_woman:"🧞‍♀️",zombie:"🧟",zombie_man:"🧟‍♂️",zombie_woman:"🧟‍♀️",troll:"🧌",massage:"💆",massage_man:"💆‍♂️",massage_woman:"💆‍♀️",haircut:"💇",haircut_man:"💇‍♂️",haircut_woman:"💇‍♀️",walking:"🚶",walking_man:"🚶‍♂️",walking_woman:"🚶‍♀️",standing_person:"🧍",standing_man:"🧍‍♂️",standing_woman:"🧍‍♀️",kneeling_person:"🧎",kneeling_man:"🧎‍♂️",kneeling_woman:"🧎‍♀️",person_with_probing_cane:"🧑‍🦯",man_with_probing_cane:"👨‍🦯",woman_with_probing_cane:"👩‍🦯",person_in_motorized_wheelchair:"🧑‍🦼",man_in_motorized_wheelchair:"👨‍🦼",woman_in_motorized_wheelchair:"👩‍🦼",person_in_manual_wheelchair:"🧑‍🦽",man_in_manual_wheelchair:"👨‍🦽",woman_in_manual_wheelchair:"👩‍🦽",runner:"🏃",running:"🏃",running_man:"🏃‍♂️",running_woman:"🏃‍♀️",woman_dancing:"💃",dancer:"💃",man_dancing:"🕺",business_suit_levitating:"🕴️",dancers:"👯",dancing_men:"👯‍♂️",dancing_women:"👯‍♀️",sauna_person:"🧖",sauna_man:"🧖‍♂️",sauna_woman:"🧖‍♀️",climbing:"🧗",climbing_man:"🧗‍♂️",climbing_woman:"🧗‍♀️",person_fencing:"🤺",horse_racing:"🏇",skier:"⛷️",snowboarder:"🏂",golfing:"🏌️",golfing_man:"🏌️‍♂️",golfing_woman:"🏌️‍♀️",surfer:"🏄",surfing_man:"🏄‍♂️",surfing_woman:"🏄‍♀️",rowboat:"🚣",rowing_man:"🚣‍♂️",rowing_woman:"🚣‍♀️",swimmer:"🏊",swimming_man:"🏊‍♂️",swimming_woman:"🏊‍♀️",bouncing_ball_person:"⛹️",bouncing_ball_man:"⛹️‍♂️",basketball_man:"⛹️‍♂️",bouncing_ball_woman:"⛹️‍♀️",basketball_woman:"⛹️‍♀️",weight_lifting:"🏋️",weight_lifting_man:"🏋️‍♂️",weight_lifting_woman:"🏋️‍♀️",bicyclist:"🚴",biking_man:"🚴‍♂️",biking_woman:"🚴‍♀️",mountain_bicyclist:"🚵",mountain_biking_man:"🚵‍♂️",mountain_biking_woman:"🚵‍♀️",cartwheeling:"🤸",man_cartwheeling:"🤸‍♂️",woman_cartwheeling:"🤸‍♀️",wrestling:"🤼",men_wrestling:"🤼‍♂️",women_wrestling:"🤼‍♀️",water_polo:"🤽",man_playing_water_polo:"🤽‍♂️",woman_playing_water_polo:"🤽‍♀️",handball_person:"🤾",man_playing_handball:"🤾‍♂️",woman_playing_handball:"🤾‍♀️",juggling_person:"🤹",man_juggling:"🤹‍♂️",woman_juggling:"🤹‍♀️",lotus_position:"🧘",lotus_position_man:"🧘‍♂️",lotus_position_woman:"🧘‍♀️",bath:"🛀",sleeping_bed:"🛌",people_holding_hands:"🧑‍🤝‍🧑",two_women_holding_hands:"👭",couple:"👫",two_men_holding_hands:"👬",couplekiss:"💏",couplekiss_man_woman:"👩‍❤️‍💋‍👨",couplekiss_man_man:"👨‍❤️‍💋‍👨",couplekiss_woman_woman:"👩‍❤️‍💋‍👩",couple_with_heart:"💑",couple_with_heart_woman_man:"👩‍❤️‍👨",couple_with_heart_man_man:"👨‍❤️‍👨",couple_with_heart_woman_woman:"👩‍❤️‍👩",family:"👪",family_man_woman_boy:"👨‍👩‍👦",family_man_woman_girl:"👨‍👩‍👧",family_man_woman_girl_boy:"👨‍👩‍👧‍👦",family_man_woman_boy_boy:"👨‍👩‍👦‍👦",family_man_woman_girl_girl:"👨‍👩‍👧‍👧",family_man_man_boy:"👨‍👨‍👦",family_man_man_girl:"👨‍👨‍👧",family_man_man_girl_boy:"👨‍👨‍👧‍👦",family_man_man_boy_boy:"👨‍👨‍👦‍👦",family_man_man_girl_girl:"👨‍👨‍👧‍👧",family_woman_woman_boy:"👩‍👩‍👦",family_woman_woman_girl:"👩‍👩‍👧",family_woman_woman_girl_boy:"👩‍👩‍👧‍👦",family_woman_woman_boy_boy:"👩‍👩‍👦‍👦",family_woman_woman_girl_girl:"👩‍👩‍👧‍👧",family_man_boy:"👨‍👦",family_man_boy_boy:"👨‍👦‍👦",family_man_girl:"👨‍👧",family_man_girl_boy:"👨‍👧‍👦",family_man_girl_girl:"👨‍👧‍👧",family_woman_boy:"👩‍👦",family_woman_boy_boy:"👩‍👦‍👦",family_woman_girl:"👩‍👧",family_woman_girl_boy:"👩‍👧‍👦",family_woman_girl_girl:"👩‍👧‍👧",speaking_head:"🗣️",bust_in_silhouette:"👤",busts_in_silhouette:"👥",people_hugging:"🫂",footprints:"👣",monkey_face:"🐵",monkey:"🐒",gorilla:"🦍",orangutan:"🦧",dog:"🐶",dog2:"🐕",guide_dog:"🦮",service_dog:"🐕‍🦺",poodle:"🐩",wolf:"🐺",fox_face:"🦊",raccoon:"🦝",cat:"🐱",cat2:"🐈",black_cat:"🐈‍⬛",lion:"🦁",tiger:"🐯",tiger2:"🐅",leopard:"🐆",horse:"🐴",moose:"🫎",donkey:"🫏",racehorse:"🐎",unicorn:"🦄",zebra:"🦓",deer:"🦌",bison:"🦬",cow:"🐮",ox:"🐂",water_buffalo:"🐃",cow2:"🐄",pig:"🐷",pig2:"🐖",boar:"🐗",pig_nose:"🐽",ram:"🐏",sheep:"🐑",goat:"🐐",dromedary_camel:"🐪",camel:"🐫",llama:"🦙",giraffe:"🦒",elephant:"🐘",mammoth:"🦣",rhinoceros:"🦏",hippopotamus:"🦛",mouse:"🐭",mouse2:"🐁",rat:"🐀",hamster:"🐹",rabbit:"🐰",rabbit2:"🐇",chipmunk:"🐿️",beaver:"🦫",hedgehog:"🦔",bat:"🦇",bear:"🐻",polar_bear:"🐻‍❄️",koala:"🐨",panda_face:"🐼",sloth:"🦥",otter:"🦦",skunk:"🦨",kangaroo:"🦘",badger:"🦡",feet:"🐾",paw_prints:"🐾",turkey:"🦃",chicken:"🐔",rooster:"🐓",hatching_chick:"🐣",baby_chick:"🐤",hatched_chick:"🐥",bird:"🐦",penguin:"🐧",dove:"🕊️",eagle:"🦅",duck:"🦆",swan:"🦢",owl:"🦉",dodo:"🦤",feather:"🪶",flamingo:"🦩",peacock:"🦚",parrot:"🦜",wing:"🪽",black_bird:"🐦‍⬛",goose:"🪿",frog:"🐸",crocodile:"🐊",turtle:"🐢",lizard:"🦎",snake:"🐍",dragon_face:"🐲",dragon:"🐉",sauropod:"🦕","t-rex":"🦖",whale:"🐳",whale2:"🐋",dolphin:"🐬",flipper:"🐬",seal:"🦭",fish:"🐟",tropical_fish:"🐠",blowfish:"🐡",shark:"🦈",octopus:"🐙",shell:"🐚",coral:"🪸",jellyfish:"🪼",snail:"🐌",butterfly:"🦋",bug:"🐛",ant:"🐜",bee:"🐝",honeybee:"🐝",beetle:"🪲",lady_beetle:"🐞",cricket:"🦗",cockroach:"🪳",spider:"🕷️",spider_web:"🕸️",scorpion:"🦂",mosquito:"🦟",fly:"🪰",worm:"🪱",microbe:"🦠",bouquet:"💐",cherry_blossom:"🌸",white_flower:"💮",lotus:"🪷",rosette:"🏵️",rose:"🌹",wilted_flower:"🥀",hibiscus:"🌺",sunflower:"🌻",blossom:"🌼",tulip:"🌷",hyacinth:"🪻",seedling:"🌱",potted_plant:"🪴",evergreen_tree:"🌲",deciduous_tree:"🌳",palm_tree:"🌴",cactus:"🌵",ear_of_rice:"🌾",herb:"🌿",shamrock:"☘️",four_leaf_clover:"🍀",maple_leaf:"🍁",fallen_leaf:"🍂",leaves:"🍃",empty_nest:"🪹",nest_with_eggs:"🪺",mushroom:"🍄",grapes:"🍇",melon:"🍈",watermelon:"🍉",tangerine:"🍊",orange:"🍊",mandarin:"🍊",lemon:"🍋",banana:"🍌",pineapple:"🍍",mango:"🥭",apple:"🍎",green_apple:"🍏",pear:"🍐",peach:"🍑",cherries:"🍒",strawberry:"🍓",blueberries:"🫐",kiwi_fruit:"🥝",tomato:"🍅",olive:"🫒",coconut:"🥥",avocado:"🥑",eggplant:"🍆",potato:"🥔",carrot:"🥕",corn:"🌽",hot_pepper:"🌶️",bell_pepper:"🫑",cucumber:"🥒",leafy_green:"🥬",broccoli:"🥦",garlic:"🧄",onion:"🧅",peanuts:"🥜",beans:"🫘",chestnut:"🌰",ginger_root:"🫚",pea_pod:"🫛",bread:"🍞",croissant:"🥐",baguette_bread:"🥖",flatbread:"🫓",pretzel:"🥨",bagel:"🥯",pancakes:"🥞",waffle:"🧇",cheese:"🧀",meat_on_bone:"🍖",poultry_leg:"🍗",cut_of_meat:"🥩",bacon:"🥓",hamburger:"🍔",fries:"🍟",pizza:"🍕",hotdog:"🌭",sandwich:"🥪",taco:"🌮",burrito:"🌯",tamale:"🫔",stuffed_flatbread:"🥙",falafel:"🧆",egg:"🥚",fried_egg:"🍳",shallow_pan_of_food:"🥘",stew:"🍲",fondue:"🫕",bowl_with_spoon:"🥣",green_salad:"🥗",popcorn:"🍿",butter:"🧈",salt:"🧂",canned_food:"🥫",bento:"🍱",rice_cracker:"🍘",rice_ball:"🍙",rice:"🍚",curry:"🍛",ramen:"🍜",spaghetti:"🍝",sweet_potato:"🍠",oden:"🍢",sushi:"🍣",fried_shrimp:"🍤",fish_cake:"🍥",moon_cake:"🥮",dango:"🍡",dumpling:"🥟",fortune_cookie:"🥠",takeout_box:"🥡",crab:"🦀",lobster:"🦞",shrimp:"🦐",squid:"🦑",oyster:"🦪",icecream:"🍦",shaved_ice:"🍧",ice_cream:"🍨",doughnut:"🍩",cookie:"🍪",birthday:"🎂",cake:"🍰",cupcake:"🧁",pie:"🥧",chocolate_bar:"🍫",candy:"🍬",lollipop:"🍭",custard:"🍮",honey_pot:"🍯",baby_bottle:"🍼",milk_glass:"🥛",coffee:"☕",teapot:"🫖",tea:"🍵",sake:"🍶",champagne:"🍾",wine_glass:"🍷",cocktail:"🍸",tropical_drink:"🍹",beer:"🍺",beers:"🍻",clinking_glasses:"🥂",tumbler_glass:"🥃",pouring_liquid:"🫗",cup_with_straw:"🥤",bubble_tea:"🧋",beverage_box:"🧃",mate:"🧉",ice_cube:"🧊",chopsticks:"🥢",plate_with_cutlery:"🍽️",fork_and_knife:"🍴",spoon:"🥄",hocho:"🔪",knife:"🔪",jar:"🫙",amphora:"🏺",earth_africa:"🌍",earth_americas:"🌎",earth_asia:"🌏",globe_with_meridians:"🌐",world_map:"🗺️",japan:"🗾",compass:"🧭",mountain_snow:"🏔️",mountain:"⛰️",volcano:"🌋",mount_fuji:"🗻",camping:"🏕️",beach_umbrella:"🏖️",desert:"🏜️",desert_island:"🏝️",national_park:"🏞️",stadium:"🏟️",classical_building:"🏛️",building_construction:"🏗️",bricks:"🧱",rock:"🪨",wood:"🪵",hut:"🛖",houses:"🏘️",derelict_house:"🏚️",house:"🏠",house_with_garden:"🏡",office:"🏢",post_office:"🏣",european_post_office:"🏤",hospital:"🏥",bank:"🏦",hotel:"🏨",love_hotel:"🏩",convenience_store:"🏪",school:"🏫",department_store:"🏬",factory:"🏭",japanese_castle:"🏯",european_castle:"🏰",wedding:"💒",tokyo_tower:"🗼",statue_of_liberty:"🗽",church:"⛪",mosque:"🕌",hindu_temple:"🛕",synagogue:"🕍",shinto_shrine:"⛩️",kaaba:"🕋",fountain:"⛲",tent:"⛺",foggy:"🌁",night_with_stars:"🌃",cityscape:"🏙️",sunrise_over_mountains:"🌄",sunrise:"🌅",city_sunset:"🌆",city_sunrise:"🌇",bridge_at_night:"🌉",hotsprings:"♨️",carousel_horse:"🎠",playground_slide:"🛝",ferris_wheel:"🎡",roller_coaster:"🎢",barber:"💈",circus_tent:"🎪",steam_locomotive:"🚂",railway_car:"🚃",bullettrain_side:"🚄",bullettrain_front:"🚅",train2:"🚆",metro:"🚇",light_rail:"🚈",station:"🚉",tram:"🚊",monorail:"🚝",mountain_railway:"🚞",train:"🚋",bus:"🚌",oncoming_bus:"🚍",trolleybus:"🚎",minibus:"🚐",ambulance:"🚑",fire_engine:"🚒",police_car:"🚓",oncoming_police_car:"🚔",taxi:"🚕",oncoming_taxi:"🚖",car:"🚗",red_car:"🚗",oncoming_automobile:"🚘",blue_car:"🚙",pickup_truck:"🛻",truck:"🚚",articulated_lorry:"🚛",tractor:"🚜",racing_car:"🏎️",motorcycle:"🏍️",motor_scooter:"🛵",manual_wheelchair:"🦽",motorized_wheelchair:"🦼",auto_rickshaw:"🛺",bike:"🚲",kick_scooter:"🛴",skateboard:"🛹",roller_skate:"🛼",busstop:"🚏",motorway:"🛣️",railway_track:"🛤️",oil_drum:"🛢️",fuelpump:"⛽",wheel:"🛞",rotating_light:"🚨",traffic_light:"🚥",vertical_traffic_light:"🚦",stop_sign:"🛑",construction:"🚧",anchor:"⚓",ring_buoy:"🛟",boat:"⛵",sailboat:"⛵",canoe:"🛶",speedboat:"🚤",passenger_ship:"🛳️",ferry:"⛴️",motor_boat:"🛥️",ship:"🚢",airplane:"✈️",small_airplane:"🛩️",flight_departure:"🛫",flight_arrival:"🛬",parachute:"🪂",seat:"💺",helicopter:"🚁",suspension_railway:"🚟",mountain_cableway:"🚠",aerial_tramway:"🚡",artificial_satellite:"🛰️",rocket:"🚀",flying_saucer:"🛸",bellhop_bell:"🛎️",luggage:"🧳",hourglass:"⌛",hourglass_flowing_sand:"⏳",watch:"⌚",alarm_clock:"⏰",stopwatch:"⏱️",timer_clock:"⏲️",mantelpiece_clock:"🕰️",clock12:"🕛",clock1230:"🕧",clock1:"🕐",clock130:"🕜",clock2:"🕑",clock230:"🕝",clock3:"🕒",clock330:"🕞",clock4:"🕓",clock430:"🕟",clock5:"🕔",clock530:"🕠",clock6:"🕕",clock630:"🕡",clock7:"🕖",clock730:"🕢",clock8:"🕗",clock830:"🕣",clock9:"🕘",clock930:"🕤",clock10:"🕙",clock1030:"🕥",clock11:"🕚",clock1130:"🕦",new_moon:"🌑",waxing_crescent_moon:"🌒",first_quarter_moon:"🌓",moon:"🌔",waxing_gibbous_moon:"🌔",full_moon:"🌕",waning_gibbous_moon:"🌖",last_quarter_moon:"🌗",waning_crescent_moon:"🌘",crescent_moon:"🌙",new_moon_with_face:"🌚",first_quarter_moon_with_face:"🌛",last_quarter_moon_with_face:"🌜",thermometer:"🌡️",sunny:"☀️",full_moon_with_face:"🌝",sun_with_face:"🌞",ringed_planet:"🪐",star:"⭐",star2:"🌟",stars:"🌠",milky_way:"🌌",cloud:"☁️",partly_sunny:"⛅",cloud_with_lightning_and_rain:"⛈️",sun_behind_small_cloud:"🌤️",sun_behind_large_cloud:"🌥️",sun_behind_rain_cloud:"🌦️",cloud_with_rain:"🌧️",cloud_with_snow:"🌨️",cloud_with_lightning:"🌩️",tornado:"🌪️",fog:"🌫️",wind_face:"🌬️",cyclone:"🌀",rainbow:"🌈",closed_umbrella:"🌂",open_umbrella:"☂️",umbrella:"☔",parasol_on_ground:"⛱️",zap:"⚡",snowflake:"❄️",snowman_with_snow:"☃️",snowman:"⛄",comet:"☄️",fire:"🔥",droplet:"💧",ocean:"🌊",jack_o_lantern:"🎃",christmas_tree:"🎄",fireworks:"🎆",sparkler:"🎇",firecracker:"🧨",sparkles:"✨",balloon:"🎈",tada:"🎉",confetti_ball:"🎊",tanabata_tree:"🎋",bamboo:"🎍",dolls:"🎎",flags:"🎏",wind_chime:"🎐",rice_scene:"🎑",red_envelope:"🧧",ribbon:"🎀",gift:"🎁",reminder_ribbon:"🎗️",tickets:"🎟️",ticket:"🎫",medal_military:"🎖️",trophy:"🏆",medal_sports:"🏅","1st_place_medal":"🥇","2nd_place_medal":"🥈","3rd_place_medal":"🥉",soccer:"⚽",baseball:"⚾",softball:"🥎",basketball:"🏀",volleyball:"🏐",football:"🏈",rugby_football:"🏉",tennis:"🎾",flying_disc:"🥏",bowling:"🎳",cricket_game:"🏏",field_hockey:"🏑",ice_hockey:"🏒",lacrosse:"🥍",ping_pong:"🏓",badminton:"🏸",boxing_glove:"🥊",martial_arts_uniform:"🥋",goal_net:"🥅",golf:"⛳",ice_skate:"⛸️",fishing_pole_and_fish:"🎣",diving_mask:"🤿",running_shirt_with_sash:"🎽",ski:"🎿",sled:"🛷",curling_stone:"🥌",dart:"🎯",yo_yo:"🪀",kite:"🪁",gun:"🔫","8ball":"🎱",crystal_ball:"🔮",magic_wand:"🪄",video_game:"🎮",joystick:"🕹️",slot_machine:"🎰",game_die:"🎲",jigsaw:"🧩",teddy_bear:"🧸",pinata:"🪅",mirror_ball:"🪩",nesting_dolls:"🪆",spades:"♠️",hearts:"♥️",diamonds:"♦️",clubs:"♣️",chess_pawn:"♟️",black_joker:"🃏",mahjong:"🀄",flower_playing_cards:"🎴",performing_arts:"🎭",framed_picture:"🖼️",art:"🎨",thread:"🧵",sewing_needle:"🪡",yarn:"🧶",knot:"🪢",eyeglasses:"👓",dark_sunglasses:"🕶️",goggles:"🥽",lab_coat:"🥼",safety_vest:"🦺",necktie:"👔",shirt:"👕",tshirt:"👕",jeans:"👖",scarf:"🧣",gloves:"🧤",coat:"🧥",socks:"🧦",dress:"👗",kimono:"👘",sari:"🥻",one_piece_swimsuit:"🩱",swim_brief:"🩲",shorts:"🩳",bikini:"👙",womans_clothes:"👚",folding_hand_fan:"🪭",purse:"👛",handbag:"👜",pouch:"👝",shopping:"🛍️",school_satchel:"🎒",thong_sandal:"🩴",mans_shoe:"👞",shoe:"👞",athletic_shoe:"👟",hiking_boot:"🥾",flat_shoe:"🥿",high_heel:"👠",sandal:"👡",ballet_shoes:"🩰",boot:"👢",hair_pick:"🪮",crown:"👑",womans_hat:"👒",tophat:"🎩",mortar_board:"🎓",billed_cap:"🧢",military_helmet:"🪖",rescue_worker_helmet:"⛑️",prayer_beads:"📿",lipstick:"💄",ring:"💍",gem:"💎",mute:"🔇",speaker:"🔈",sound:"🔉",loud_sound:"🔊",loudspeaker:"📢",mega:"📣",postal_horn:"📯",bell:"🔔",no_bell:"🔕",musical_score:"🎼",musical_note:"🎵",notes:"🎶",studio_microphone:"🎙️",level_slider:"🎚️",control_knobs:"🎛️",microphone:"🎤",headphones:"🎧",radio:"📻",saxophone:"🎷",accordion:"🪗",guitar:"🎸",musical_keyboard:"🎹",trumpet:"🎺",violin:"🎻",banjo:"🪕",drum:"🥁",long_drum:"🪘",maracas:"🪇",flute:"🪈",iphone:"📱",calling:"📲",phone:"☎️",telephone:"☎️",telephone_receiver:"📞",pager:"📟",fax:"📠",battery:"🔋",low_battery:"🪫",electric_plug:"🔌",computer:"💻",desktop_computer:"🖥️",printer:"🖨️",keyboard:"⌨️",computer_mouse:"🖱️",trackball:"🖲️",minidisc:"💽",floppy_disk:"💾",cd:"💿",dvd:"📀",abacus:"🧮",movie_camera:"🎥",film_strip:"🎞️",film_projector:"📽️",clapper:"🎬",tv:"📺",camera:"📷",camera_flash:"📸",video_camera:"📹",vhs:"📼",mag:"🔍",mag_right:"🔎",candle:"🕯️",bulb:"💡",flashlight:"🔦",izakaya_lantern:"🏮",lantern:"🏮",diya_lamp:"🪔",notebook_with_decorative_cover:"📔",closed_book:"📕",book:"📖",open_book:"📖",green_book:"📗",blue_book:"📘",orange_book:"📙",books:"📚",notebook:"📓",ledger:"📒",page_with_curl:"📃",scroll:"📜",page_facing_up:"📄",newspaper:"📰",newspaper_roll:"🗞️",bookmark_tabs:"📑",bookmark:"🔖",label:"🏷️",moneybag:"💰",coin:"🪙",yen:"💴",dollar:"💵",euro:"💶",pound:"💷",money_with_wings:"💸",credit_card:"💳",receipt:"🧾",chart:"💹",envelope:"✉️",email:"📧","e-mail":"📧",incoming_envelope:"📨",envelope_with_arrow:"📩",outbox_tray:"📤",inbox_tray:"📥",package:"📦",mailbox:"📫",mailbox_closed:"📪",mailbox_with_mail:"📬",mailbox_with_no_mail:"📭",postbox:"📮",ballot_box:"🗳️",pencil2:"✏️",black_nib:"✒️",fountain_pen:"🖋️",pen:"🖊️",paintbrush:"🖌️",crayon:"🖍️",memo:"📝",pencil:"📝",briefcase:"💼",file_folder:"📁",open_file_folder:"📂",card_index_dividers:"🗂️",date:"📅",calendar:"📆",spiral_notepad:"🗒️",spiral_calendar:"🗓️",card_index:"📇",chart_with_upwards_trend:"📈",chart_with_downwards_trend:"📉",bar_chart:"📊",clipboard:"📋",pushpin:"📌",round_pushpin:"📍",paperclip:"📎",paperclips:"🖇️",straight_ruler:"📏",triangular_ruler:"📐",scissors:"✂️",card_file_box:"🗃️",file_cabinet:"🗄️",wastebasket:"🗑️",lock:"🔒",unlock:"🔓",lock_with_ink_pen:"🔏",closed_lock_with_key:"🔐",key:"🔑",old_key:"🗝️",hammer:"🔨",axe:"🪓",pick:"⛏️",hammer_and_pick:"⚒️",hammer_and_wrench:"🛠️",dagger:"🗡️",crossed_swords:"⚔️",bomb:"💣",boomerang:"🪃",bow_and_arrow:"🏹",shield:"🛡️",carpentry_saw:"🪚",wrench:"🔧",screwdriver:"🪛",nut_and_bolt:"🔩",gear:"⚙️",clamp:"🗜️",balance_scale:"⚖️",probing_cane:"🦯",link:"🔗",chains:"⛓️",hook:"🪝",toolbox:"🧰",magnet:"🧲",ladder:"🪜",alembic:"⚗️",test_tube:"🧪",petri_dish:"🧫",dna:"🧬",microscope:"🔬",telescope:"🔭",satellite:"📡",syringe:"💉",drop_of_blood:"🩸",pill:"💊",adhesive_bandage:"🩹",crutch:"🩼",stethoscope:"🩺",x_ray:"🩻",door:"🚪",elevator:"🛗",mirror:"🪞",window:"🪟",bed:"🛏️",couch_and_lamp:"🛋️",chair:"🪑",toilet:"🚽",plunger:"🪠",shower:"🚿",bathtub:"🛁",mouse_trap:"🪤",razor:"🪒",lotion_bottle:"🧴",safety_pin:"🧷",broom:"🧹",basket:"🧺",roll_of_paper:"🧻",bucket:"🪣",soap:"🧼",bubbles:"🫧",toothbrush:"🪥",sponge:"🧽",fire_extinguisher:"🧯",shopping_cart:"🛒",smoking:"🚬",coffin:"⚰️",headstone:"🪦",funeral_urn:"⚱️",nazar_amulet:"🧿",hamsa:"🪬",moyai:"🗿",placard:"🪧",identification_card:"🪪",atm:"🏧",put_litter_in_its_place:"🚮",potable_water:"🚰",wheelchair:"♿",mens:"🚹",womens:"🚺",restroom:"🚻",baby_symbol:"🚼",wc:"🚾",passport_control:"🛂",customs:"🛃",baggage_claim:"🛄",left_luggage:"🛅",warning:"⚠️",children_crossing:"🚸",no_entry:"⛔",no_entry_sign:"🚫",no_bicycles:"🚳",no_smoking:"🚭",do_not_litter:"🚯","non-potable_water":"🚱",no_pedestrians:"🚷",no_mobile_phones:"📵",underage:"🔞",radioactive:"☢️",biohazard:"☣️",arrow_up:"⬆️",arrow_upper_right:"↗️",arrow_right:"➡️",arrow_lower_right:"↘️",arrow_down:"⬇️",arrow_lower_left:"↙️",arrow_left:"⬅️",arrow_upper_left:"↖️",arrow_up_down:"↕️",left_right_arrow:"↔️",leftwards_arrow_with_hook:"↩️",arrow_right_hook:"↪️",arrow_heading_up:"⤴️",arrow_heading_down:"⤵️",arrows_clockwise:"🔃",arrows_counterclockwise:"🔄",back:"🔙",end:"🔚",on:"🔛",soon:"🔜",top:"🔝",place_of_worship:"🛐",atom_symbol:"⚛️",om:"🕉️",star_of_david:"✡️",wheel_of_dharma:"☸️",yin_yang:"☯️",latin_cross:"✝️",orthodox_cross:"☦️",star_and_crescent:"☪️",peace_symbol:"☮️",menorah:"🕎",six_pointed_star:"🔯",khanda:"🪯",aries:"♈",taurus:"♉",gemini:"♊",cancer:"♋",leo:"♌",virgo:"♍",libra:"♎",scorpius:"♏",sagittarius:"♐",capricorn:"♑",aquarius:"♒",pisces:"♓",ophiuchus:"⛎",twisted_rightwards_arrows:"🔀",repeat:"🔁",repeat_one:"🔂",arrow_forward:"▶️",fast_forward:"⏩",next_track_button:"⏭️",play_or_pause_button:"⏯️",arrow_backward:"◀️",rewind:"⏪",previous_track_button:"⏮️",arrow_up_small:"🔼",arrow_double_up:"⏫",arrow_down_small:"🔽",arrow_double_down:"⏬",pause_button:"⏸️",stop_button:"⏹️",record_button:"⏺️",eject_button:"⏏️",cinema:"🎦",low_brightness:"🔅",high_brightness:"🔆",signal_strength:"📶",wireless:"🛜",vibration_mode:"📳",mobile_phone_off:"📴",female_sign:"♀️",male_sign:"♂️",transgender_symbol:"⚧️",heavy_multiplication_x:"✖️",heavy_plus_sign:"➕",heavy_minus_sign:"➖",heavy_division_sign:"➗",heavy_equals_sign:"🟰",infinity:"♾️",bangbang:"‼️",interrobang:"⁉️",question:"❓",grey_question:"❔",grey_exclamation:"❕",exclamation:"❗",heavy_exclamation_mark:"❗",wavy_dash:"〰️",currency_exchange:"💱",heavy_dollar_sign:"💲",medical_symbol:"⚕️",recycle:"♻️",fleur_de_lis:"⚜️",trident:"🔱",name_badge:"📛",beginner:"🔰",o:"⭕",white_check_mark:"✅",ballot_box_with_check:"☑️",heavy_check_mark:"✔️",x:"❌",negative_squared_cross_mark:"❎",curly_loop:"➰",loop:"➿",part_alternation_mark:"〽️",eight_spoked_asterisk:"✳️",eight_pointed_black_star:"✴️",sparkle:"❇️",copyright:"©️",registered:"®️",tm:"™️",hash:"#️⃣",asterisk:"*️⃣",zero:"0️⃣",one:"1️⃣",two:"2️⃣",three:"3️⃣",four:"4️⃣",five:"5️⃣",six:"6️⃣",seven:"7️⃣",eight:"8️⃣",nine:"9️⃣",keycap_ten:"🔟",capital_abcd:"🔠",abcd:"🔡",symbols:"🔣",abc:"🔤",a:"🅰️",ab:"🆎",b:"🅱️",cl:"🆑",cool:"🆒",free:"🆓",information_source:"ℹ️",id:"🆔",m:"Ⓜ️",new:"🆕",ng:"🆖",o2:"🅾️",ok:"🆗",parking:"🅿️",sos:"🆘",up:"🆙",vs:"🆚",koko:"🈁",sa:"🈂️",u6708:"🈷️",u6709:"🈶",u6307:"🈯",ideograph_advantage:"🉐",u5272:"🈹",u7121:"🈚",u7981:"🈲",accept:"🉑",u7533:"🈸",u5408:"🈴",u7a7a:"🈳",congratulations:"㊗️",secret:"㊙️",u55b6:"🈺",u6e80:"🈵",red_circle:"🔴",orange_circle:"🟠",yellow_circle:"🟡",green_circle:"🟢",large_blue_circle:"🔵",purple_circle:"🟣",brown_circle:"🟤",black_circle:"⚫",white_circle:"⚪",red_square:"🟥",orange_square:"🟧",yellow_square:"🟨",green_square:"🟩",blue_square:"🟦",purple_square:"🟪",brown_square:"🟫",black_large_square:"⬛",white_large_square:"⬜",black_medium_square:"◼️",white_medium_square:"◻️",black_medium_small_square:"◾",white_medium_small_square:"◽",black_small_square:"▪️",white_small_square:"▫️",large_orange_diamond:"🔶",large_blue_diamond:"🔷",small_orange_diamond:"🔸",small_blue_diamond:"🔹",small_red_triangle:"🔺",small_red_triangle_down:"🔻",diamond_shape_with_a_dot_inside:"💠",radio_button:"🔘",white_square_button:"🔳",black_square_button:"🔲",checkered_flag:"🏁",triangular_flag_on_post:"🚩",crossed_flags:"🎌",black_flag:"🏴",white_flag:"🏳️",rainbow_flag:"🏳️‍🌈",transgender_flag:"🏳️‍⚧️",pirate_flag:"🏴‍☠️",ascension_island:"🇦🇨",andorra:"🇦🇩",united_arab_emirates:"🇦🇪",afghanistan:"🇦🇫",antigua_barbuda:"🇦🇬",anguilla:"🇦🇮",albania:"🇦🇱",armenia:"🇦🇲",angola:"🇦🇴",antarctica:"🇦🇶",argentina:"🇦🇷",american_samoa:"🇦🇸",austria:"🇦🇹",australia:"🇦🇺",aruba:"🇦🇼",aland_islands:"🇦🇽",azerbaijan:"🇦🇿",bosnia_herzegovina:"🇧🇦",barbados:"🇧🇧",bangladesh:"🇧🇩",belgium:"🇧🇪",burkina_faso:"🇧🇫",bulgaria:"🇧🇬",bahrain:"🇧🇭",burundi:"🇧🇮",benin:"🇧🇯",st_barthelemy:"🇧🇱",bermuda:"🇧🇲",brunei:"🇧🇳",bolivia:"🇧🇴",caribbean_netherlands:"🇧🇶",brazil:"🇧🇷",bahamas:"🇧🇸",bhutan:"🇧🇹",bouvet_island:"🇧🇻",botswana:"🇧🇼",belarus:"🇧🇾",belize:"🇧🇿",canada:"🇨🇦",cocos_islands:"🇨🇨",congo_kinshasa:"🇨🇩",central_african_republic:"🇨🇫",congo_brazzaville:"🇨🇬",switzerland:"🇨🇭",cote_divoire:"🇨🇮",cook_islands:"🇨🇰",chile:"🇨🇱",cameroon:"🇨🇲",cn:"🇨🇳",colombia:"🇨🇴",clipperton_island:"🇨🇵",costa_rica:"🇨🇷",cuba:"🇨🇺",cape_verde:"🇨🇻",curacao:"🇨🇼",christmas_island:"🇨🇽",cyprus:"🇨🇾",czech_republic:"🇨🇿",de:"🇩🇪",diego_garcia:"🇩🇬",djibouti:"🇩🇯",denmark:"🇩🇰",dominica:"🇩🇲",dominican_republic:"🇩🇴",algeria:"🇩🇿",ceuta_melilla:"🇪🇦",ecuador:"🇪🇨",estonia:"🇪🇪",egypt:"🇪🇬",western_sahara:"🇪🇭",eritrea:"🇪🇷",es:"🇪🇸",ethiopia:"🇪🇹",eu:"🇪🇺",european_union:"🇪🇺",finland:"🇫🇮",fiji:"🇫🇯",falkland_islands:"🇫🇰",micronesia:"🇫🇲",faroe_islands:"🇫🇴",fr:"🇫🇷",gabon:"🇬🇦",gb:"🇬🇧",uk:"🇬🇧",grenada:"🇬🇩",georgia:"🇬🇪",french_guiana:"🇬🇫",guernsey:"🇬🇬",ghana:"🇬🇭",gibraltar:"🇬🇮",greenland:"🇬🇱",gambia:"🇬🇲",guinea:"🇬🇳",guadeloupe:"🇬🇵",equatorial_guinea:"🇬🇶",greece:"🇬🇷",south_georgia_south_sandwich_islands:"🇬🇸",guatemala:"🇬🇹",guam:"🇬🇺",guinea_bissau:"🇬🇼",guyana:"🇬🇾",hong_kong:"🇭🇰",heard_mcdonald_islands:"🇭🇲",honduras:"🇭🇳",croatia:"🇭🇷",haiti:"🇭🇹",hungary:"🇭🇺",canary_islands:"🇮🇨",indonesia:"🇮🇩",ireland:"🇮🇪",israel:"🇮🇱",isle_of_man:"🇮🇲",india:"🇮🇳",british_indian_ocean_territory:"🇮🇴",iraq:"🇮🇶",iran:"🇮🇷",iceland:"🇮🇸",it:"🇮🇹",jersey:"🇯🇪",jamaica:"🇯🇲",jordan:"🇯🇴",jp:"🇯🇵",kenya:"🇰🇪",kyrgyzstan:"🇰🇬",cambodia:"🇰🇭",kiribati:"🇰🇮",comoros:"🇰🇲",st_kitts_nevis:"🇰🇳",north_korea:"🇰🇵",kr:"🇰🇷",kuwait:"🇰🇼",cayman_islands:"🇰🇾",kazakhstan:"🇰🇿",laos:"🇱🇦",lebanon:"🇱🇧",st_lucia:"🇱🇨",liechtenstein:"🇱🇮",sri_lanka:"🇱🇰",liberia:"🇱🇷",lesotho:"🇱🇸",lithuania:"🇱🇹",luxembourg:"🇱🇺",latvia:"🇱🇻",libya:"🇱🇾",morocco:"🇲🇦",monaco:"🇲🇨",moldova:"🇲🇩",montenegro:"🇲🇪",st_martin:"🇲🇫",madagascar:"🇲🇬",marshall_islands:"🇲🇭",macedonia:"🇲🇰",mali:"🇲🇱",myanmar:"🇲🇲",mongolia:"🇲🇳",macau:"🇲🇴",northern_mariana_islands:"🇲🇵",martinique:"🇲🇶",mauritania:"🇲🇷",montserrat:"🇲🇸",malta:"🇲🇹",mauritius:"🇲🇺",maldives:"🇲🇻",malawi:"🇲🇼",mexico:"🇲🇽",malaysia:"🇲🇾",mozambique:"🇲🇿",namibia:"🇳🇦",new_caledonia:"🇳🇨",niger:"🇳🇪",norfolk_island:"🇳🇫",nigeria:"🇳🇬",nicaragua:"🇳🇮",netherlands:"🇳🇱",norway:"🇳🇴",nepal:"🇳🇵",nauru:"🇳🇷",niue:"🇳🇺",new_zealand:"🇳🇿",oman:"🇴🇲",panama:"🇵🇦",peru:"🇵🇪",french_polynesia:"🇵🇫",papua_new_guinea:"🇵🇬",philippines:"🇵🇭",pakistan:"🇵🇰",poland:"🇵🇱",st_pierre_miquelon:"🇵🇲",pitcairn_islands:"🇵🇳",puerto_rico:"🇵🇷",palestinian_territories:"🇵🇸",portugal:"🇵🇹",palau:"🇵🇼",paraguay:"🇵🇾",qatar:"🇶🇦",reunion:"🇷🇪",romania:"🇷🇴",serbia:"🇷🇸",ru:"🇷🇺",rwanda:"🇷🇼",saudi_arabia:"🇸🇦",solomon_islands:"🇸🇧",seychelles:"🇸🇨",sudan:"🇸🇩",sweden:"🇸🇪",singapore:"🇸🇬",st_helena:"🇸🇭",slovenia:"🇸🇮",svalbard_jan_mayen:"🇸🇯",slovakia:"🇸🇰",sierra_leone:"🇸🇱",san_marino:"🇸🇲",senegal:"🇸🇳",somalia:"🇸🇴",suriname:"🇸🇷",south_sudan:"🇸🇸",sao_tome_principe:"🇸🇹",el_salvador:"🇸🇻",sint_maarten:"🇸🇽",syria:"🇸🇾",swaziland:"🇸🇿",tristan_da_cunha:"🇹🇦",turks_caicos_islands:"🇹🇨",chad:"🇹🇩",french_southern_territories:"🇹🇫",togo:"🇹🇬",thailand:"🇹🇭",tajikistan:"🇹🇯",tokelau:"🇹🇰",timor_leste:"🇹🇱",turkmenistan:"🇹🇲",tunisia:"🇹🇳",tonga:"🇹🇴",tr:"🇹🇷",trinidad_tobago:"🇹🇹",tuvalu:"🇹🇻",taiwan:"🇹🇼",tanzania:"🇹🇿",ukraine:"🇺🇦",uganda:"🇺🇬",us_outlying_islands:"🇺🇲",united_nations:"🇺🇳",us:"🇺🇸",uruguay:"🇺🇾",uzbekistan:"🇺🇿",vatican_city:"🇻🇦",st_vincent_grenadines:"🇻🇨",venezuela:"🇻🇪",british_virgin_islands:"🇻🇬",us_virgin_islands:"🇻🇮",vietnam:"🇻🇳",vanuatu:"🇻🇺",wallis_futuna:"🇼🇫",samoa:"🇼🇸",kosovo:"🇽🇰",yemen:"🇾🇪",mayotte:"🇾🇹",south_africa:"🇿🇦",zambia:"🇿🇲",zimbabwe:"🇿🇼",england:"🏴󠁧󠁢󠁥󠁮󠁧󠁿",scotland:"🏴󠁧󠁢󠁳󠁣󠁴󠁿",wales:"🏴󠁧󠁢󠁷󠁬󠁳󠁿"};function im(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Pu(e,t,n){const i=Cn((n||{}).ignore||[]),u=am(t);let a=-1;for(;++a0?{type:"text",value:S}:void 0),S===!1?E.lastIndex=H+1:(T!==H&&w.push({type:"text",value:c.value.slice(T,H)}),Array.isArray(S)?w.push(...S):S&&w.push(S),T=H+D[0].length,y=!0),!E.global)break;D=E.exec(c.value)}return y?(T?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const i=Xi(e,"(");let u=Xi(e,")");for(;r!==-1&&i>u;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),u++;return[e,n]}function Mu(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||rt(n)||bn(n))&&(!t||n!==47)}Bu.peek=Lm;function Tm(){return{enter:{gfmFootnoteDefinition:Cm,gfmFootnoteDefinitionLabelString:km,gfmFootnoteCall:Nm,gfmFootnoteCallString:xm},exit:{gfmFootnoteDefinition:ym,gfmFootnoteDefinitionLabelString:Im,gfmFootnoteCall:Rm,gfmFootnoteCallString:Sm}}}function Am(){return{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Om,footnoteReference:Bu}}}function Cm(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function km(){this.buffer()}function Im(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Le(this.sliceSerialize(e)).toLowerCase()}function ym(e){this.exit(e)}function Nm(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function xm(){this.buffer()}function Sm(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Le(this.sliceSerialize(e)).toLowerCase()}function Rm(e){this.exit(e)}function Bu(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const a=n.enter("footnoteReference"),o=n.enter("reference");return u+=i.move(n.safe(n.associationId(e),{...i.current(),before:u,after:"]"})),o(),a(),u+=i.move("]"),u}function Lm(){return"["}function Om(e,t,n,r){const i=n.createTracker(r);let u=i.move("[^");const a=n.enter("footnoteDefinition"),o=n.enter("label");return u+=i.move(n.safe(n.associationId(e),{...i.current(),before:u,after:"]"})),o(),u+=i.move("]:"+(e.children&&e.children.length>0?" ":"")),i.shift(4),u+=i.move(n.indentLines(n.containerFlow(e,i.current()),wm)),a(),u}function wm(e,t,n){return t===0?e:(n?"":" ")+e}const Dm=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Fu.peek=Hm;function Pm(){return{canContainEols:["delete"],enter:{strikethrough:Bm},exit:{strikethrough:Fm}}}function Mm(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Dm}],handlers:{delete:Fu}}}function Bm(e){this.enter({type:"delete",children:[]},e)}function Fm(e){this.exit(e)}function Fu(e,t,n,r){const i=n.createTracker(r),u=n.enter("strikethrough");let a=i.move("~~");return a+=n.containerPhrasing(e,{...i.current(),before:a,after:"~"}),a+=i.move("~~"),u(),a}function Hm(){return"~"}function Um(e,t={}){const n=(t.align||[]).concat(),r=t.stringLength||zm,i=[],u=[],a=[],o=[];let l=0,c=-1;for(;++cl&&(l=e[c].length);++Ro[R])&&(o[R]=w)}T.push(y)}u[c]=T,a[c]=I}let f=-1;if(typeof n=="object"&&"length"in n)for(;++fo[f]&&(o[f]=y),E[f]=y),h[f]=w}u.splice(1,0,h),a.splice(1,0,E),c=-1;const p=[];for(;++c "),u.shift(2);const a=n.indentLines(n.containerFlow(e,u.current()),qm);return i(),a}function qm(e,t,n){return">"+(n?"":" ")+e}function jm(e,t){return Gi(e,t.inConstruct,!0)&&!Gi(e,t.notInConstruct,!1)}function Gi(e,t,n){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++ra&&(a=u):u=1,i=r+t.length,r=n.indexOf(t,i);return a}function Wm(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function Xm(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function Qm(e,t,n,r){const i=Xm(n),u=e.value||"",a=i==="`"?"GraveAccent":"Tilde";if(Wm(e,n)){const h=n.enter("codeIndented"),E=n.indentLines(u,Gm);return h(),E}const o=n.createTracker(r),l=i.repeat(Math.max(Vm(u,i)+1,3)),c=n.enter("codeFenced");let f=o.move(l);if(e.lang){const h=n.enter(`codeFencedLang${a}`);f+=o.move(n.safe(e.lang,{before:f,after:" ",encode:["`"],...o.current()})),h()}if(e.lang&&e.meta){const h=n.enter(`codeFencedMeta${a}`);f+=o.move(" "),f+=o.move(n.safe(e.meta,{before:f,after:` +`,encode:["`"],...o.current()})),h()}return f+=o.move(` +`),u&&(f+=o.move(u+` +`)),f+=o.move(l),c(),f}function Gm(e,t,n){return(n?"":" ")+e}function xr(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function Km(e,t,n,r){const i=xr(n),u=i==='"'?"Quote":"Apostrophe",a=n.enter("definition");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":` +`,...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),a(),c}function $m(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}Hu.peek=Jm;function Hu(e,t,n,r){const i=$m(n),u=n.enter("emphasis"),a=n.createTracker(r);let o=a.move(i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i),u(),o}function Jm(e,t,n){return n.options.emphasis||"*"}function Zm(e,t){let n=!1;return In(e,function(r){if("value"in r&&/\r?\n|\r/.test(r.value)||r.type==="break")return n=!0,Jn}),!!((!e.depth||e.depth<3)&&dr(e)&&(t.options.setext||n))}function ep(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),u=n.createTracker(r);if(Zm(e,n)){const f=n.enter("headingSetext"),h=n.enter("phrasing"),E=n.containerPhrasing(e,{...u.current(),before:` +`,after:` +`});return h(),f(),E+` +`+(i===1?"=":"-").repeat(E.length-(Math.max(E.lastIndexOf("\r"),E.lastIndexOf(` +`))+1))}const a="#".repeat(i),o=n.enter("headingAtx"),l=n.enter("phrasing");u.move(a+" ");let c=n.containerPhrasing(e,{before:"# ",after:` +`,...u.current()});return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?a+" "+c:a,n.options.closeAtx&&(c+=" "+a),l(),o(),c}Uu.peek=tp;function Uu(e){return e.value||""}function tp(){return"<"}vu.peek=np;function vu(e,t,n,r){const i=xr(n),u=i==='"'?"Quote":"Apostrophe",a=n.enter("image");let o=n.enter("label");const l=n.createTracker(r);let c=l.move("![");return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()})),c+=l.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(o=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),o(),e.title&&(o=n.enter(`title${u}`),c+=l.move(" "+i),c+=l.move(n.safe(e.title,{before:c,after:i,...l.current()})),c+=l.move(i),o()),c+=l.move(")"),a(),c}function np(){return"!"}zu.peek=rp;function zu(e,t,n,r){const i=e.referenceType,u=n.enter("imageReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("![");const c=n.safe(e.alt,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function rp(){return"!"}Yu.peek=ip;function Yu(e,t,n){let r=e.value||"",i="`",u=-1;for(;new RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++u\u007F]/.test(e.url))}ju.peek=ap;function ju(e,t,n,r){const i=xr(n),u=i==='"'?"Quote":"Apostrophe",a=n.createTracker(r);let o,l;if(qu(e,n)){const f=n.stack;n.stack=[],o=n.enter("autolink");let h=a.move("<");return h+=a.move(n.containerPhrasing(e,{before:h,after:">",...a.current()})),h+=a.move(">"),o(),n.stack=f,h}o=n.enter("link"),l=n.enter("label");let c=a.move("[");return c+=a.move(n.containerPhrasing(e,{before:c,after:"](",...a.current()})),c+=a.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=a.move("<"),c+=a.move(n.safe(e.url,{before:c,after:">",...a.current()})),c+=a.move(">")):(l=n.enter("destinationRaw"),c+=a.move(n.safe(e.url,{before:c,after:e.title?" ":")",...a.current()}))),l(),e.title&&(l=n.enter(`title${u}`),c+=a.move(" "+i),c+=a.move(n.safe(e.title,{before:c,after:i,...a.current()})),c+=a.move(i),l()),c+=a.move(")"),o(),c}function ap(e,t,n){return qu(e,n)?"<":"["}Vu.peek=up;function Vu(e,t,n,r){const i=e.referenceType,u=n.enter("linkReference");let a=n.enter("label");const o=n.createTracker(r);let l=o.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...o.current()});l+=o.move(c+"]["),a();const f=n.stack;n.stack=[],a=n.enter("reference");const h=n.safe(n.associationId(e),{before:l,after:"]",...o.current()});return a(),n.stack=f,u(),i==="full"||!c||c!==h?l+=o.move(h+"]"):i==="shortcut"?l=l.slice(0,-1):l+=o.move("]"),l}function up(){return"["}function Sr(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function sp(e){const t=Sr(e),n=e.options.bulletOther;if(!n)return t==="*"?"-":"*";if(n!=="*"&&n!=="+"&&n!=="-")throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}function op(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Wu(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function lp(e,t,n,r){const i=n.enter("list"),u=n.bulletCurrent;let a=e.ordered?op(n):Sr(n);const o=e.ordered?a==="."?")":".":sp(n);let l=t&&n.bulletLastUsed?a===n.bulletLastUsed:!1;if(!e.ordered){const f=e.children?e.children[0]:void 0;if((a==="*"||a==="-")&&f&&(!f.children||!f.children[0])&&n.stack[n.stack.length-1]==="list"&&n.stack[n.stack.length-2]==="listItem"&&n.stack[n.stack.length-3]==="list"&&n.stack[n.stack.length-4]==="listItem"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(l=!0),Wu(n)===a&&f){let h=-1;for(;++h-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+u);let a=u.length+1;(i==="tab"||i==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(a=Math.ceil(a/4)*4);const o=n.createTracker(r);o.move(u+" ".repeat(a-u.length)),o.shift(a);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),f);return l(),c;function f(h,E,p){return E?(p?"":" ".repeat(a))+h:(p?u:u+" ".repeat(a-u.length))+h}}function fp(e,t,n,r){const i=n.enter("paragraph"),u=n.enter("phrasing"),a=n.containerPhrasing(e,r);return u(),i(),a}const dp=Cn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function mp(e,t,n,r){return(e.children.some(function(a){return dp(a)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function pp(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Xu.peek=_p;function Xu(e,t,n,r){const i=pp(n),u=n.enter("strong"),a=n.createTracker(r);let o=a.move(i+i);return o+=a.move(n.containerPhrasing(e,{before:o,after:i,...a.current()})),o+=a.move(i+i),u(),o}function _p(e,t,n){return n.options.strong||"*"}function Ep(e,t,n,r){return n.safe(e.value,r)}function gp(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function bp(e,t,n){const r=(Wu(n)+(n.options.ruleSpaces?" ":"")).repeat(gp(n));return n.options.ruleSpaces?r.slice(0,-1):r}const Qu={blockquote:Ym,break:Ki,code:Qm,definition:Km,emphasis:Hu,hardBreak:Ki,heading:ep,html:Uu,image:vu,imageReference:zu,inlineCode:Yu,link:ju,linkReference:Vu,list:lp,listItem:hp,paragraph:fp,root:mp,strong:Xu,text:Ep,thematicBreak:bp};function Tp(){return{enter:{table:Ap,tableData:$i,tableHeader:$i,tableRow:kp},exit:{codeText:Ip,table:Cp,tableData:Wn,tableHeader:Wn,tableRow:Wn}}}function Ap(e){const t=e._align;this.enter({type:"table",align:t.map(function(n){return n==="none"?null:n}),children:[]},e),this.data.inTable=!0}function Cp(e){this.exit(e),this.data.inTable=void 0}function kp(e){this.enter({type:"tableRow",children:[]},e)}function Wn(e){this.exit(e)}function $i(e){this.enter({type:"tableCell",children:[]},e)}function Ip(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,yp));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function yp(e,t){return t==="|"?t:e}function Np(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,u=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:` +`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:E,table:a,tableCell:l,tableRow:o}};function a(p,T,I,R){return c(f(p,I,R),p.align)}function o(p,T,I,R){const y=h(p,I,R),w=c([y]);return w.slice(0,w.indexOf(` +`))}function l(p,T,I,R){const y=I.enter("tableCell"),w=I.enter("phrasing"),D=I.containerPhrasing(p,{...R,before:u,after:u});return w(),y(),D}function c(p,T){return Um(p,{align:T,alignDelimiters:r,padding:n,stringLength:i})}function f(p,T,I){const R=p.children;let y=-1;const w=[],D=T.enter("table");for(;++y0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const jp={tokenize:Jp,partial:!0};function Vp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Gp,continuation:{tokenize:Kp},exit:$p}},text:{91:{name:"gfmFootnoteCall",tokenize:Qp},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Wp,resolveTo:Xp}}}}function Wp(e,t,n){const r=this;let i=r.events.length;const u=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a;for(;i--;){const l=r.events[i][1];if(l.type==="labelImage"){a=l;break}if(l.type==="gfmFootnoteCall"||l.type==="labelLink"||l.type==="label"||l.type==="image"||l.type==="link")break}return o;function o(l){if(!a||!a._balanced)return n(l);const c=Le(r.sliceSerialize({start:a.end,end:r.now()}));return c.codePointAt(0)!==94||!u.includes(c.slice(1))?n(l):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),t(l))}}function Xp(e,t){let n=e.length;for(;n--;)if(e[n][1].type==="labelImage"&&e[n][0]==="enter"){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const u={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},a={type:"chunkString",contentType:"string",start:Object.assign({},u.start),end:Object.assign({},u.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",u,t],["enter",a,t],["exit",a,t],["exit",u,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function Qp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u=0,a;return o;function o(h){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),l}function l(h){return h!==94?n(h):(e.enter("gfmFootnoteCallMarker"),e.consume(h),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(h){if(u>999||h===93&&!a||h===null||h===91||J(h))return n(h);if(h===93){e.exit("chunkString");const E=e.exit("gfmFootnoteCallString");return i.includes(Le(r.sliceSerialize(E)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(h),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(h)}return J(h)||(a=!0),u++,e.consume(h),h===92?f:c}function f(h){return h===91||h===92||h===93?(e.consume(h),u++,c):c(h)}}function Gp(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let u,a=0,o;return l;function l(T){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),c}function c(T){return T===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",f):n(T)}function f(T){if(a>999||T===93&&!o||T===null||T===91||J(T))return n(T);if(T===93){e.exit("chunkString");const I=e.exit("gfmFootnoteDefinitionLabelString");return u=Le(r.sliceSerialize(I)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(T),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),E}return J(T)||(o=!0),a++,e.consume(T),T===92?h:f}function h(T){return T===91||T===92||T===93?(e.consume(T),a++,f):f(T)}function E(T){return T===58?(e.enter("definitionMarker"),e.consume(T),e.exit("definitionMarker"),i.includes(u)||i.push(u),X(e,p,"gfmFootnoteDefinitionWhitespace")):n(T)}function p(T){return t(T)}}function Kp(e,t,n){return e.check(Vt,t,e.attempt(jp,t,n))}function $p(e){e.exit("gfmFootnoteDefinition")}function Jp(e,t,n){const r=this;return X(e,i,"gfmFootnoteDefinitionIndent",5);function i(u){const a=r.events[r.events.length-1];return a&&a[1].type==="gfmFootnoteDefinitionIndent"&&a[2].sliceSerialize(a[1],!0).length===4?t(u):n(u)}}function Zp(e){let n=(e||{}).singleTilde;const r={name:"strikethrough",tokenize:u,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(a,o){let l=-1;for(;++l1?l(T):(a.consume(T),h++,p);if(h<2&&!n)return l(T);const R=a.exit("strikethroughSequenceTemporary"),y=fn(T);return R._open=!y||y===2&&!!I,R._close=!I||I===2&&!!y,o(T)}}}class e1{constructor(){this.map=[]}add(t,n,r){t1(this,t,n,r)}consume(t){if(this.map.sort(function(u,a){return u[0]-a[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push([...t]),t.length=0;let i=r.pop();for(;i;)t.push(...i),i=r.pop();this.map.length=0}}function t1(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i-1;){const re=r.events[M][1].type;if(re==="lineEnding"||re==="linePrefix")M--;else break}const B=M>-1?r.events[M][1].type:null,K=B==="tableHead"||B==="tableRow"?S:l;return K===S&&r.parser.lazy[r.now().line]?n(k):K(k)}function l(k){return e.enter("tableHead"),e.enter("tableRow"),c(k)}function c(k){return k===124||(a=!0,u+=1),f(k)}function f(k){return k===null?n(k):F(k)?u>1?(u=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(k),e.exit("lineEnding"),p):n(k):j(k)?X(e,f,"whitespace")(k):(u+=1,a&&(a=!1,i+=1),k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),a=!0,f):(e.enter("data"),h(k)))}function h(k){return k===null||k===124||J(k)?(e.exit("data"),f(k)):(e.consume(k),k===92?E:h)}function E(k){return k===92||k===124?(e.consume(k),h):h(k)}function p(k){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(k):(e.enter("tableDelimiterRow"),a=!1,j(k)?X(e,T,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(k):T(k))}function T(k){return k===45||k===58?R(k):k===124?(a=!0,e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),I):U(k)}function I(k){return j(k)?X(e,R,"whitespace")(k):R(k)}function R(k){return k===58?(u+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),y):k===45?(u+=1,y(k)):k===null||F(k)?H(k):U(k)}function y(k){return k===45?(e.enter("tableDelimiterFiller"),w(k)):U(k)}function w(k){return k===45?(e.consume(k),w):k===58?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(k),e.exit("tableDelimiterMarker"),D):(e.exit("tableDelimiterFiller"),D(k))}function D(k){return j(k)?X(e,H,"whitespace")(k):H(k)}function H(k){return k===124?T(k):k===null||F(k)?!a||i!==u?U(k):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(k)):U(k)}function U(k){return n(k)}function S(k){return e.enter("tableRow"),V(k)}function V(k){return k===124?(e.enter("tableCellDivider"),e.consume(k),e.exit("tableCellDivider"),V):k===null||F(k)?(e.exit("tableRow"),t(k)):j(k)?X(e,V,"whitespace")(k):(e.enter("data"),ee(k))}function ee(k){return k===null||k===124||J(k)?(e.exit("data"),V(k)):(e.consume(k),k===92?G:ee)}function G(k){return k===92||k===124?(e.consume(k),ee):ee(k)}}function a1(e,t){let n=-1,r=!0,i=0,u=[0,0,0,0],a=[0,0,0,0],o=!1,l=0,c,f,h;const E=new e1;for(;++nn[2]+1){const T=n[2]+1,I=n[3]-n[2]-1;e.add(T,I,[])}}e.add(n[3]+1,0,[["exit",h,t]])}return i!==void 0&&(u.end=Object.assign({},dt(t.events,i)),e.add(i,0,[["exit",u,t]]),u=void 0),u}function Zi(e,t,n,r,i){const u=[],a=dt(t.events,n);i&&(i.end=Object.assign({},a),u.push(["exit",i,t])),r.end=Object.assign({},a),u.push(["exit",r,t]),e.add(n+1,0,u)}function dt(e,t){const n=e[t],r=n[0]==="enter"?"start":"end";return n[1][r]}const u1={name:"tasklistCheck",tokenize:o1};function s1(){return{text:{91:u1}}}function o1(e,t,n){const r=this;return i;function i(l){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(l):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),u)}function u(l){return J(l)?(e.enter("taskListCheckValueUnchecked"),e.consume(l),e.exit("taskListCheckValueUnchecked"),a):l===88||l===120?(e.enter("taskListCheckValueChecked"),e.consume(l),e.exit("taskListCheckValueChecked"),a):n(l)}function a(l){return l===93?(e.enter("taskListCheckMarker"),e.consume(l),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(l)}function o(l){return F(l)?t(l):j(l)?e.check({tokenize:l1},t,n)(l):n(l)}}function l1(e,t,n){return X(e,r,"whitespace");function r(i){return i===null?n(i):t(i)}}function c1(e){return ya([Mp(),Vp(),Zp(e),r1(),s1()])}const h1={};function R1(e){const t=this,n=e||h1,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),u=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),a=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(c1(n)),u.push(Op()),a.push(wp(n))}const L1=["strong","summary","blockquote","details","table","tbody","thead","h1","h2","h3","h4","h5","h6","input","ul","li","div","pre","ul","ol","li","br","em","hr","td","th","tr","a","img","p","del","span","code","button"],f1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Alert}))),d1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Avatar}))),m1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Button}))),p1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Byline}))),_1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Checkbox}))),ct=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Heading}))),E1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Img}))),g1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Link}))),b1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.SourceCodeEditor}))),ht=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.Text}))),T1=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.ToggleDetails}))),an=te.lazy(()=>ke(()=>import("./index-FeyKb7iJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9])).then(e=>({default:e.View}))),un=e=>te.Children.map(e.children,t=>typeof t!="string"?t:null),ea=e=>{var t,n;return((n=(t=e==null?void 0:e.style)==null?void 0:t.textAlign)==null?void 0:n.replace(/\b(left|right)\b/,r=>r==="left"?"start":"end"))??"start"},O1={hr:({node:e,...t})=>z.jsx(an,{as:e==null?void 0:e.tagName,shadow:"topmost",borderWidth:"small",margin:"small none",padding:"none",borderColor:"primary",...t}),a:({node:e,...t})=>z.jsx(g1,{to:e.href,...t}),button:({node:e,...t})=>z.jsx(m1,{withBackground:!1,...t}),p:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),em:({node:e,...t})=>z.jsx(ht,{fontStyle:"italic",...t}),strong:({node:e,...t})=>z.jsx(ht,{weight:"bold",...t}),span:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),code:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),del:({node:e,...t})=>z.jsx(ht,{as:e.tagName,...t}),blockquote:({node:e,...t})=>{t={...t,children:un(t)};const n=/\[\!(NOTE|TIP|IMPORTANT|WARNING|CAUTION)\]/,r={NOTE:"info",TIP:"success",IMPORTANT:"info",WARNING:"warning",CAUTION:"error"},i=te.Children.toArray(t.children)[0];let u,a;ms.isValidElement(i)?[u,a]=i.props.children.split("--",2):[u,a]=i.toString().split("--",2);const o=u.match(n);return o?z.jsx(f1,{variant:r[o[1]],children:u.replace(`${o[0]}`,"")}):z.jsx(p1,{description:u,title:a,margin:"medium 0",...t,children:a?z.jsx(d1,{name:a}):z.jsx(z.Fragment,{})})},h1:({node:e,...t})=>z.jsx(ct,{margin:"none none medium",level:e.tagName,...t}),h2:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h3:({node:e,...t})=>z.jsx(ct,{margin:"small none",level:e.tagName,...t}),h4:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h5:({node:e,...t})=>z.jsx(ct,{level:e.tagName,...t}),h6:({node:e,...t})=>z.jsx(ct,{as:"h6",...t}),img:({node:e,...t})=>z.jsx(E1,{src:e.src,...t}),div:({node:e,...t})=>z.jsx(an,{as:e.tagName,...t}),pre:({node:e,...t})=>{if(e.children.length===1&&e.children[0].tagName==="code"){let n=e.children[0].children[0].value;return n.endsWith(` +`)&&(n=n.slice(0,-1)),z.jsx(b1,{label:"Code",lineNumbers:!0,foldGutter:!0,editable:!0,readOnly:!0,defaultValue:n})}return z.jsx(an,{as:e.tagName,...t})},ul:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t,i=(r==null?void 0:r.className)==="contains-task-list"||!1;return z.jsx(Nt,{isUnstyled:i,...r,children:te.Children.map(n,u=>{const{children:a,...o}=u.props;if(i&&a){let l=!1;return z.jsx(Nt.Item,{margin:"0 0 small small",...o,children:te.Children.map(a,c=>{var f,h,E;if(((f=c==null?void 0:c.props)==null?void 0:f.type)==="checkbox"&&(l=((h=c==null?void 0:c.props)==null?void 0:h.checked)??!1),((E=c==null?void 0:c.props)==null?void 0:E.type)!=="checkbox"&&c!==" "&&c!=="[ ]"&&c!=="[X]")return z.jsx(_1,{label:c,disabled:!0,defaultChecked:l})})},u.key)}return z.jsx(Nt.Item,{...u.props},u.key)})})},ol:({node:e,...t})=>{t={...t,children:un(t)};const{children:n,...r}=t;return z.jsx(Nt,{as:e.tagName,...r,children:te.Children.map(n,i=>z.jsx(Nt.Item,{...i.props},i.key))})},input:({node:e,...t})=>z.jsx(e.tagName,{...t}),details:({node:e,...t})=>{t={...t,children:un(t)};const n=t.children.shift();return z.jsx(T1,{summary:n,children:z.jsx(an,{display:"block",padding:"small",...t})})},table:({node:e,...t})=>{const{children:n,...r}=t;return z.jsx($e,{margin:"medium none",hover:!0,caption:"",...r,children:te.Children.map(n,i=>{const{children:u,...a}=i.props;return i.type==="thead"?z.jsx($e.Head,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.ColHeader,{id:f.key,textAlign:ea(f.props),...f.props},f.key))})})}):z.jsx($e.Body,{...a,children:te.Children.map(u,o=>{const{children:l,...c}=o.props;return z.jsx($e.Row,{...c,children:te.Children.map(l,f=>z.jsx($e.Cell,{textAlign:ea(f.props),...f.props}))})})})})})}};export{Nt as L,N1 as M,S1 as a,x1 as b,L1 as c,O1 as d,sa as e,R1 as r}; diff --git a/assets/RenderTopNavBar-CJuzk9-4.js b/assets/RenderTopNavBar-C6YLj6sY.js similarity index 99% rename from assets/RenderTopNavBar-CJuzk9-4.js rename to assets/RenderTopNavBar-C6YLj6sY.js index b6417f9..53c0e00 100644 --- a/assets/RenderTopNavBar-CJuzk9-4.js +++ b/assets/RenderTopNavBar-C6YLj6sY.js @@ -1,4 +1,4 @@ -import{R as v,v as Jt,z as M,A as Z,B as Ie,C as ve,D as Kt,m as $,r as w,P as s,w as E,h as j,q as ye,i as h,p as ie,l as Vn,f as N,E as ct,F as Fs,s as pe,t as A,G as Ar,T as ee,V as H,o as V,S as R,H as Dr,I as Pn,J as Ws,K as Hs,j as O,M as to,N as zs}from"./index-D4PUjdd4.js";function W(o,e={}){return typeof o=="function"?o.prototype&&o.prototype.isReactComponent?v.createElement(o,e):o(e):o}function Yt(o){if(Array.isArray(o)){const e=o.slice(0);for(let t=0;t{if(e==null)return!1;const n=Vs(o,e);return n.length===1||t===n[0]}).reduce((e,t)=>{if(typeof t!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return e===null?t:function(...i){e.apply(this,i),t.apply(this,i)}},null)}function Vs(o,e){const t=[];return o.forEach((n,i)=>{n===e&&t.push(i)}),t}function Lr(o){const e=`${o}`,t=e.match(/[\d.\-\+]*\s*(.*)/);return[parseFloat(e),t&&t.length>0?t[1]:""]}function js(o){if(!o||typeof o=="number")return o;const e=Lr(o),t=Jt(e,2),n=t[0],i=t[1];return i==="ms"?n:i==="s"?n*1e3:n}function fe(o,e,t,n){const i=o===window||o===document?o:M(o);return i==null||i.addEventListener(e,t,n),{remove(){i==null||i.removeEventListener(e,t,n)}}}function Us(o,e){const t=o&&M(o),n=e&&M(e);return!t||!n?!1:!(t instanceof Window)&&!(n instanceof Window)?t.contains(n):Nr(t,n)}function Nr(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentNode}return!1}const Ft=Z?Us:Nr;function z(o){const e={top:0,bottom:0,left:0,right:0,height:0,width:0};if(!Z)return e;const t=o&&M(o);if(!t)return e;if(t===window)return{left:window.pageXOffset,top:window.pageYOffset,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth+window.pageXOffset,bottom:window.innerHeight+window.pageYOffset};const n=o===document?document:Ie(t),i=n&&n.documentElement;if(!i||!Ft(i,t))return e;const r=t.getBoundingClientRect();let a;for(a in e)e[a]=r[a];if(n!==document&&n.defaultView){const l=n.defaultView.frameElement;if(l){const d=z(l);e.top+=d.top,e.bottom+=d.top,e.left+=d.left,e.right+=d.left}}return{top:e.top+(window.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(e.width==null?t.offsetWidth:e.width)||0,height:(e.height==null?t.offsetHeight:e.height)||0,right:n.body.clientWidth-e.width-e.left,bottom:n.body.clientHeight-e.height-e.top}}const Le=function(){let o;if(Z&&window.requestAnimationFrame&&window.cancelAnimationFrame)o=e=>{const t=window.requestAnimationFrame(e);return{cancel:()=>window.cancelAnimationFrame(t)}};else{let e=new Date().getTime();o=t=>{const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(t,i);return e=n,{cancel:()=>clearTimeout(r)}}}return o}();function Gs(o,e){const t=M(o),n=[];let i=z(t)||{},r=!1;function a(){if(!r){const l=z(t)||{};(l.top!==i.top||l.left!==i.left||l.right!==i.right||l.bottom!==i.bottom||l.width!==i.width||l.height!==i.height)&&typeof e=="function"&&e(l),i=l,n.push(Le(a))}}return a(),{remove(){r=!0,n.forEach(l=>l.cancel())}}}function qs(o){return!!(o.tagName.includes("-")&&customElements.get(o.tagName.toLowerCase()))}function Nt(o){const e=(o||document).activeElement;return e&&qs(e)?e.shadowRoot.activeElement:e}function ut(o){const e=o&&M(o),t=Nt();return!!e&&(t===e||Ft(e,t))}const no=["a[href]","frame","iframe","object","input:not([type=hidden])","select","textarea","button","*[tabindex]",'[contenteditable="true"]'].join(",");function jn(o,e,t){const n=o&&M(o);if(!n||typeof n.querySelectorAll!="function")return[];let i=Array.from(n.querySelectorAll(no));return t&&n.matches(no)&&(i=[...i,n]),i.filter(r=>typeof e=="function"?e(r)&&oo(r):oo(r))}function Xs(o){return ve(o).display==="none"}function Ks(o){var e,t;const n=["fixed","absolute"];return!!(n.includes((e=o.style.position)===null||e===void 0?void 0:e.toLowerCase())||n.includes((t=ve(o).getPropertyValue("position"))===null||t===void 0?void 0:t.toLowerCase()))}function Ys(o){let e=o;for(;e&&!(e===document.body||e instanceof ShadowRoot);){if(Xs(e))return!1;if(Ks(e))break;e=e.parentNode}return!0}function oo(o){return!o.disabled&&Ys(o)}function Un(o,e){return jn(o,t=>!Zs(t.getAttribute("tabindex")),e)}function Zs(o){return!isNaN(o)&&o<0}const Qs={toArray:()=>[],contains:()=>!1,add:()=>{},remove:()=>{}};function io(o){const e=M(o);if(!e)return Qs;const t={toArray(){return[...e.classList]},contains:()=>!1,add:()=>{},remove:()=>{}};return t.add=n=>e.classList.add(n),t.remove=n=>e.classList.remove(n),t.contains=n=>e.classList.contains(n),t}const ro=new WeakMap;function so(o,e=!1){var t;if(!Z)return 16;const n=o||((t=Ie(o))===null||t===void 0?void 0:t.documentElement),i=ro.get(n);if(!e&&i)return i;const r=parseInt(ve(n).getPropertyValue("font-size"));return ro.set(n,r),r}function Js(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){let n=t;for(;(n=n.parentNode)&&n&&n.nodeType===1&&n.tagName!=="BODY";){const i=ve(n),r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("-moz-transform")||i.getPropertyValue("-ms-transform")||i.getPropertyValue("-o-transform")||i.getPropertyValue("transform")||"none",a=r==="none"||r==="matrix(1, 0, 0, 1, 0, 0)";(i.position!=="static"||!a)&&e.push(n)}e.push(Ie(t).body)}return e}function Fr(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){const i=(ve(t)||{}).position;if(i==="fixed")return[t.ownerDocument];let r=t;for(;r&&r.nodeType===1&&(r=r.parentNode);){let l;try{l=ve(r)}catch{}if(typeof l>"u"||l===null)return e.push(r),e;const d=l,c=d.overflow,u=d.overflowX,p=d.overflowY;/(auto|scroll|overlay)/.test(c+p+u)&&(i!=="absolute"||["relative","absolute","fixed"].indexOf(l.position)>=0)&&e.push(r)}const a=t.ownerDocument;a&&(e.push(a.body),a!==document&&e.push(a.defaultView))}return e}function ao(o,e){const t=e.currentTarget,n=e.relatedTarget;(!n||n!==t&&!Ft(t,n))&&o(e)}function Zt(o){const e=o&&M(o);return e?Nt()===e:!1}function An(o,e=!0){const t=o&&M(o);if(t===window||t===document||t===document.body)return!0;const n=t.parentNode;if(t.nodeType===3)return An(n,e);const i=t?ve(t):{};if(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")return!1;if(i.overflow==="hidden"&&i.position==="absolute"&&i.clip!=="auto"){const r=i.clip.substring(5).slice(0,-1).split(", ");let a=!0;if(r.forEach(l=>{l!=="0px"&&(a=!1)}),a)return!1}return e&&n?An(n):!0}function ea(o,e){const t=M(e)||document;if(Z){const n=Kt(t);return n&&n.matchMedia(o)}return null}function Y(o,e){if(!o||typeof o=="number")return o;const t=Lr(o),n=Jt(t,2),i=n[0],r=n[1];if(r==="rem")return i*so();if(r==="em"){const a=Z?document.body:null;return i*so(e||a)}else return i}const ta=Object.prototype.hasOwnProperty;function wn(o,e){if(lo(o,e))return!0;if(typeof o!="object"||o===null||typeof e!="object"||e===null)return!1;const t=Object.keys(o),n=Object.keys(e);if(t.length!==n.length)return!1;for(let i=0;i{d.indexOf("on")===0&&(typeof e[d]=="function"||typeof o.props[d]=="function")&&(l[d]=L(o.props[d],e[d]))}),i==null||n==null?v.cloneElement(o,l,...t):($(r,`Cloning an element with a ref that will be overwritten because the ref is not a function. Use a composable callback-style ref instead. Ignoring ref: ${i}`),v.cloneElement(o,{...l,ref(d){a?n(d):n.current=d,i(d)}},...t))}function De(o,e={}){const t=w.Children.count(o);return t===0?null:typeof o=="string"&&o.length>0||t>1?v.createElement("span",e,o):J(Array.isArray(o)?o[0]:o,e)}const na=()=>o=>o;function co(o){return typeof o=="string"?o:o.displayName||o.name}function Wr({props:o={},interactionTypes:e=["disabled","readonly"]}={}){const t=o.interaction,n=o.disabled,i=o.readOnly;return t||(e.includes("disabled")&&n?"disabled":e.includes("readonly")&&i?"readonly":"enabled")}function U(o,e=[]){return o&&o.type?e.map(n=>co(n)).indexOf(co(o.type))>=0:!1}function uo(o){return function(e,t,n,i="",r=""){const a=e[t];return a===null||typeof a>"u"?new Error(`The prop \`${t}\` is marked as required in \`${n}\`, but its value is \`${a}\``):o(e,t,n,i,r)}}const G={oneOf(o){function e(t,n,i){const r=v.Children.toArray(t[n]),a=o.map(l=>l&&Ne(l));for(let l=0;l{const c=Ne(d);return r[c]=0,c});for(let d=0;d{r[d]>1&&l.push(`${r[d]} children of type ${d}`),r[d]===0&&l.push(`0 children of type ${d}`)}),l.length>0?new Error(`Expected exactly one of each ${a.join(", ")} in ${n} but found:${l.join(` +import{R as v,v as Jt,z as M,A as Z,B as Ie,C as ve,D as Kt,m as $,r as w,P as s,w as E,h as j,q as ye,i as h,p as ie,l as Vn,f as N,E as ct,F as Fs,s as pe,t as A,G as Ar,T as ee,V as H,o as V,S as R,H as Dr,I as Pn,J as Ws,K as Hs,j as O,M as to,N as zs}from"./index-Bko_xNHh.js";function W(o,e={}){return typeof o=="function"?o.prototype&&o.prototype.isReactComponent?v.createElement(o,e):o(e):o}function Yt(o){if(Array.isArray(o)){const e=o.slice(0);for(let t=0;t{if(e==null)return!1;const n=Vs(o,e);return n.length===1||t===n[0]}).reduce((e,t)=>{if(typeof t!="function")throw new Error("Invalid Argument Type, must only provide functions, undefined, or null.");return e===null?t:function(...i){e.apply(this,i),t.apply(this,i)}},null)}function Vs(o,e){const t=[];return o.forEach((n,i)=>{n===e&&t.push(i)}),t}function Lr(o){const e=`${o}`,t=e.match(/[\d.\-\+]*\s*(.*)/);return[parseFloat(e),t&&t.length>0?t[1]:""]}function js(o){if(!o||typeof o=="number")return o;const e=Lr(o),t=Jt(e,2),n=t[0],i=t[1];return i==="ms"?n:i==="s"?n*1e3:n}function fe(o,e,t,n){const i=o===window||o===document?o:M(o);return i==null||i.addEventListener(e,t,n),{remove(){i==null||i.removeEventListener(e,t,n)}}}function Us(o,e){const t=o&&M(o),n=e&&M(e);return!t||!n?!1:!(t instanceof Window)&&!(n instanceof Window)?t.contains(n):Nr(t,n)}function Nr(o,e){let t=e;for(;t;){if(t===o)return!0;t=t.parentNode}return!1}const Ft=Z?Us:Nr;function z(o){const e={top:0,bottom:0,left:0,right:0,height:0,width:0};if(!Z)return e;const t=o&&M(o);if(!t)return e;if(t===window)return{left:window.pageXOffset,top:window.pageYOffset,width:window.innerWidth,height:window.innerHeight,right:window.innerWidth+window.pageXOffset,bottom:window.innerHeight+window.pageYOffset};const n=o===document?document:Ie(t),i=n&&n.documentElement;if(!i||!Ft(i,t))return e;const r=t.getBoundingClientRect();let a;for(a in e)e[a]=r[a];if(n!==document&&n.defaultView){const l=n.defaultView.frameElement;if(l){const d=z(l);e.top+=d.top,e.bottom+=d.top,e.left+=d.left,e.right+=d.left}}return{top:e.top+(window.pageYOffset||i.scrollTop)-(i.clientTop||0),left:e.left+(window.pageXOffset||i.scrollLeft)-(i.clientLeft||0),width:(e.width==null?t.offsetWidth:e.width)||0,height:(e.height==null?t.offsetHeight:e.height)||0,right:n.body.clientWidth-e.width-e.left,bottom:n.body.clientHeight-e.height-e.top}}const Le=function(){let o;if(Z&&window.requestAnimationFrame&&window.cancelAnimationFrame)o=e=>{const t=window.requestAnimationFrame(e);return{cancel:()=>window.cancelAnimationFrame(t)}};else{let e=new Date().getTime();o=t=>{const n=new Date().getTime(),i=Math.max(0,16-(n-e)),r=setTimeout(t,i);return e=n,{cancel:()=>clearTimeout(r)}}}return o}();function Gs(o,e){const t=M(o),n=[];let i=z(t)||{},r=!1;function a(){if(!r){const l=z(t)||{};(l.top!==i.top||l.left!==i.left||l.right!==i.right||l.bottom!==i.bottom||l.width!==i.width||l.height!==i.height)&&typeof e=="function"&&e(l),i=l,n.push(Le(a))}}return a(),{remove(){r=!0,n.forEach(l=>l.cancel())}}}function qs(o){return!!(o.tagName.includes("-")&&customElements.get(o.tagName.toLowerCase()))}function Nt(o){const e=(o||document).activeElement;return e&&qs(e)?e.shadowRoot.activeElement:e}function ut(o){const e=o&&M(o),t=Nt();return!!e&&(t===e||Ft(e,t))}const no=["a[href]","frame","iframe","object","input:not([type=hidden])","select","textarea","button","*[tabindex]",'[contenteditable="true"]'].join(",");function jn(o,e,t){const n=o&&M(o);if(!n||typeof n.querySelectorAll!="function")return[];let i=Array.from(n.querySelectorAll(no));return t&&n.matches(no)&&(i=[...i,n]),i.filter(r=>typeof e=="function"?e(r)&&oo(r):oo(r))}function Xs(o){return ve(o).display==="none"}function Ks(o){var e,t;const n=["fixed","absolute"];return!!(n.includes((e=o.style.position)===null||e===void 0?void 0:e.toLowerCase())||n.includes((t=ve(o).getPropertyValue("position"))===null||t===void 0?void 0:t.toLowerCase()))}function Ys(o){let e=o;for(;e&&!(e===document.body||e instanceof ShadowRoot);){if(Xs(e))return!1;if(Ks(e))break;e=e.parentNode}return!0}function oo(o){return!o.disabled&&Ys(o)}function Un(o,e){return jn(o,t=>!Zs(t.getAttribute("tabindex")),e)}function Zs(o){return!isNaN(o)&&o<0}const Qs={toArray:()=>[],contains:()=>!1,add:()=>{},remove:()=>{}};function io(o){const e=M(o);if(!e)return Qs;const t={toArray(){return[...e.classList]},contains:()=>!1,add:()=>{},remove:()=>{}};return t.add=n=>e.classList.add(n),t.remove=n=>e.classList.remove(n),t.contains=n=>e.classList.contains(n),t}const ro=new WeakMap;function so(o,e=!1){var t;if(!Z)return 16;const n=o||((t=Ie(o))===null||t===void 0?void 0:t.documentElement),i=ro.get(n);if(!e&&i)return i;const r=parseInt(ve(n).getPropertyValue("font-size"));return ro.set(n,r),r}function Js(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){let n=t;for(;(n=n.parentNode)&&n&&n.nodeType===1&&n.tagName!=="BODY";){const i=ve(n),r=i.getPropertyValue("-webkit-transform")||i.getPropertyValue("-moz-transform")||i.getPropertyValue("-ms-transform")||i.getPropertyValue("-o-transform")||i.getPropertyValue("transform")||"none",a=r==="none"||r==="matrix(1, 0, 0, 1, 0, 0)";(i.position!=="static"||!a)&&e.push(n)}e.push(Ie(t).body)}return e}function Fr(o){const e=[];if(!Z)return e;const t=o&&M(o);if(t){const i=(ve(t)||{}).position;if(i==="fixed")return[t.ownerDocument];let r=t;for(;r&&r.nodeType===1&&(r=r.parentNode);){let l;try{l=ve(r)}catch{}if(typeof l>"u"||l===null)return e.push(r),e;const d=l,c=d.overflow,u=d.overflowX,p=d.overflowY;/(auto|scroll|overlay)/.test(c+p+u)&&(i!=="absolute"||["relative","absolute","fixed"].indexOf(l.position)>=0)&&e.push(r)}const a=t.ownerDocument;a&&(e.push(a.body),a!==document&&e.push(a.defaultView))}return e}function ao(o,e){const t=e.currentTarget,n=e.relatedTarget;(!n||n!==t&&!Ft(t,n))&&o(e)}function Zt(o){const e=o&&M(o);return e?Nt()===e:!1}function An(o,e=!0){const t=o&&M(o);if(t===window||t===document||t===document.body)return!0;const n=t.parentNode;if(t.nodeType===3)return An(n,e);const i=t?ve(t):{};if(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")return!1;if(i.overflow==="hidden"&&i.position==="absolute"&&i.clip!=="auto"){const r=i.clip.substring(5).slice(0,-1).split(", ");let a=!0;if(r.forEach(l=>{l!=="0px"&&(a=!1)}),a)return!1}return e&&n?An(n):!0}function ea(o,e){const t=M(e)||document;if(Z){const n=Kt(t);return n&&n.matchMedia(o)}return null}function Y(o,e){if(!o||typeof o=="number")return o;const t=Lr(o),n=Jt(t,2),i=n[0],r=n[1];if(r==="rem")return i*so();if(r==="em"){const a=Z?document.body:null;return i*so(e||a)}else return i}const ta=Object.prototype.hasOwnProperty;function wn(o,e){if(lo(o,e))return!0;if(typeof o!="object"||o===null||typeof e!="object"||e===null)return!1;const t=Object.keys(o),n=Object.keys(e);if(t.length!==n.length)return!1;for(let i=0;i{d.indexOf("on")===0&&(typeof e[d]=="function"||typeof o.props[d]=="function")&&(l[d]=L(o.props[d],e[d]))}),i==null||n==null?v.cloneElement(o,l,...t):($(r,`Cloning an element with a ref that will be overwritten because the ref is not a function. Use a composable callback-style ref instead. Ignoring ref: ${i}`),v.cloneElement(o,{...l,ref(d){a?n(d):n.current=d,i(d)}},...t))}function De(o,e={}){const t=w.Children.count(o);return t===0?null:typeof o=="string"&&o.length>0||t>1?v.createElement("span",e,o):J(Array.isArray(o)?o[0]:o,e)}const na=()=>o=>o;function co(o){return typeof o=="string"?o:o.displayName||o.name}function Wr({props:o={},interactionTypes:e=["disabled","readonly"]}={}){const t=o.interaction,n=o.disabled,i=o.readOnly;return t||(e.includes("disabled")&&n?"disabled":e.includes("readonly")&&i?"readonly":"enabled")}function U(o,e=[]){return o&&o.type?e.map(n=>co(n)).indexOf(co(o.type))>=0:!1}function uo(o){return function(e,t,n,i="",r=""){const a=e[t];return a===null||typeof a>"u"?new Error(`The prop \`${t}\` is marked as required in \`${n}\`, but its value is \`${a}\``):o(e,t,n,i,r)}}const G={oneOf(o){function e(t,n,i){const r=v.Children.toArray(t[n]),a=o.map(l=>l&&Ne(l));for(let l=0;l{const c=Ne(d);return r[c]=0,c});for(let d=0;d{r[d]>1&&l.push(`${r[d]} children of type ${d}`),r[d]===0&&l.push(`0 children of type ${d}`)}),l.length>0?new Error(`Expected exactly one of each ${a.join(", ")} in ${n} but found:${l.join(` `)}`):null}},enforceOrder(...o){function e(r,a){for(let l=0;ln(r,l)).join(` `)}function n(r,a){const l=a.map(d=>d?Ne(d):"??").map(d=>` <${d} />`).join(` diff --git a/assets/error-DeRkl5Z2.js b/assets/error-D4hOwfkO.js similarity index 92% rename from assets/error-DeRkl5Z2.js rename to assets/error-D4hOwfkO.js index 99bbd6a..6dfa853 100644 --- a/assets/error-DeRkl5Z2.js +++ b/assets/error-D4hOwfkO.js @@ -1 +1 @@ -import{a as _,x as w,y as R,j as s,V as j}from"./index-D4PUjdd4.js";import{c as f,a as y,g as k,L as N,T as E,R as b,b as B}from"./RenderTopNavBar-CJuzk9-4.js";import{B as T}from"./index-BGFQHV-c.js";const L={awkward:{EN:"Well, this is awkward.",ES_LA:"Esto es incómodo.",PT_BR:"Isso é constrangedor.",DE:"Das ist peinlich."},not_your_fault:{EN:"I'm not sure what happened, but I'm pretty sure it's not your fault.",ES_LA:"No estoy seguro de qué pasó, pero estoy bastante seguro de que no es tu culpa.",PT_BR:"Não tenho certeza do que aconteceu, mas tenho certeza de que não é sua culpa.",DE:"Ich bin mir nicht sicher, was passiert ist, aber ich bin mir ziemlich sicher, dass es nicht deine Schuld ist."},uhm:{EN:"Uhm...",ES_LA:"Ehm...",PT_BR:"Hã...",DE:"Ähm..."},class_dismissed:{EN:"class dismissed",ES_LA:"clase despedida",PT_BR:"classe dispensada",DE:"Klasse entlassen"},unknown_error:{EN:"An unknown error occurred.",ES_LA:"Ocurrió un error desconocido.",PT_BR:"Ocorreu um erro desconhecido.",DE:"Ein unbekannter Fehler ist aufgetreten."}};function x(){const e=f.c(24),a=_().language;let g,r;e[0]!==a?(r=y(a),g=k(L,r),e[0]=a,e[1]=g,e[2]=r):(g=e[1],r=e[2]);const t=g,i=w();let n;R(i)?n=`${i.status} ${i.statusText}`:i instanceof Error?n=i.message:typeof i=="string"?n=i:(console.error(i),n=t.unknown_error);let o;e[3]!==r?(o=s.jsx(b,{language:r}),e[3]=r,e[4]=o):o=e[4];let l;e[5]!==n?(l=s.jsx(E,{as:"p",children:s.jsx("i",{children:n})}),e[5]=n,e[6]=l):l=e[6];let d;e[7]!==t.class_dismissed?(d=s.jsx(N,{href:"./#/",children:t.class_dismissed}),e[7]=t.class_dismissed,e[8]=d):d=e[8];let c;e[9]!==t.uhm||e[10]!==d?(c=s.jsxs(E,{as:"p",children:[t.uhm," ",d,"."]}),e[9]=t.uhm,e[10]=d,e[11]=c):c=e[11];let u;e[12]!==l||e[13]!==c?(u=s.jsxs(s.Fragment,{children:[l,c]}),e[12]=l,e[13]=c,e[14]=u):u=e[14];let m;e[15]!==t.awkward||e[16]!==u?(m=s.jsx(j,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:s.jsx(T,{size:"medium",heading:t.awkward,headingAs:"h1",message:u})}),e[15]=t.awkward,e[16]=u,e[17]=m):m=e[17];let h;e[18]!==r?(h=s.jsx(B,{language:r}),e[18]=r,e[19]=h):h=e[19];let p;return e[20]!==o||e[21]!==m||e[22]!==h?(p=s.jsxs(s.Fragment,{children:[o,m,h]}),e[20]=o,e[21]=m,e[22]=h,e[23]=p):p=e[23],p}x.displayName="Route.Error";function S(){const e=f.c(1);let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(x,{}),e[0]=a):a=e[0],a}S.displayName="Error.ErrorPage";export{x as Component,S as ErrorBoundary}; +import{a as _,x as w,y as R,j as s,V as j}from"./index-Bko_xNHh.js";import{c as f,a as y,g as k,L as N,T as E,R as b,b as B}from"./RenderTopNavBar-C6YLj6sY.js";import{B as T}from"./index-BU6CM6-K.js";const L={awkward:{EN:"Well, this is awkward.",ES_LA:"Esto es incómodo.",PT_BR:"Isso é constrangedor.",DE:"Das ist peinlich."},not_your_fault:{EN:"I'm not sure what happened, but I'm pretty sure it's not your fault.",ES_LA:"No estoy seguro de qué pasó, pero estoy bastante seguro de que no es tu culpa.",PT_BR:"Não tenho certeza do que aconteceu, mas tenho certeza de que não é sua culpa.",DE:"Ich bin mir nicht sicher, was passiert ist, aber ich bin mir ziemlich sicher, dass es nicht deine Schuld ist."},uhm:{EN:"Uhm...",ES_LA:"Ehm...",PT_BR:"Hã...",DE:"Ähm..."},class_dismissed:{EN:"class dismissed",ES_LA:"clase despedida",PT_BR:"classe dispensada",DE:"Klasse entlassen"},unknown_error:{EN:"An unknown error occurred.",ES_LA:"Ocurrió un error desconocido.",PT_BR:"Ocorreu um erro desconhecido.",DE:"Ein unbekannter Fehler ist aufgetreten."}};function x(){const e=f.c(24),a=_().language;let g,r;e[0]!==a?(r=y(a),g=k(L,r),e[0]=a,e[1]=g,e[2]=r):(g=e[1],r=e[2]);const t=g,i=w();let n;R(i)?n=`${i.status} ${i.statusText}`:i instanceof Error?n=i.message:typeof i=="string"?n=i:(console.error(i),n=t.unknown_error);let o;e[3]!==r?(o=s.jsx(b,{language:r}),e[3]=r,e[4]=o):o=e[4];let l;e[5]!==n?(l=s.jsx(E,{as:"p",children:s.jsx("i",{children:n})}),e[5]=n,e[6]=l):l=e[6];let d;e[7]!==t.class_dismissed?(d=s.jsx(N,{href:"./#/",children:t.class_dismissed}),e[7]=t.class_dismissed,e[8]=d):d=e[8];let c;e[9]!==t.uhm||e[10]!==d?(c=s.jsxs(E,{as:"p",children:[t.uhm," ",d,"."]}),e[9]=t.uhm,e[10]=d,e[11]=c):c=e[11];let u;e[12]!==l||e[13]!==c?(u=s.jsxs(s.Fragment,{children:[l,c]}),e[12]=l,e[13]=c,e[14]=u):u=e[14];let m;e[15]!==t.awkward||e[16]!==u?(m=s.jsx(j,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:s.jsx(T,{size:"medium",heading:t.awkward,headingAs:"h1",message:u})}),e[15]=t.awkward,e[16]=u,e[17]=m):m=e[17];let h;e[18]!==r?(h=s.jsx(B,{language:r}),e[18]=r,e[19]=h):h=e[19];let p;return e[20]!==o||e[21]!==m||e[22]!==h?(p=s.jsxs(s.Fragment,{children:[o,m,h]}),e[20]=o,e[21]=m,e[22]=h,e[23]=p):p=e[23],p}x.displayName="Route.Error";function S(){const e=f.c(1);let a;return e[0]===Symbol.for("react.memo_cache_sentinel")?(a=s.jsx(x,{}),e[0]=a):a=e[0],a}S.displayName="Error.ErrorPage";export{x as Component,S as ErrorBoundary}; diff --git a/assets/index-vlHfeEdv.js b/assets/index-BMjzoizO.js similarity index 99% rename from assets/index-vlHfeEdv.js rename to assets/index-BMjzoizO.js index 53a8e01..6a1ea9d 100644 --- a/assets/index-vlHfeEdv.js +++ b/assets/index-BMjzoizO.js @@ -1,4 +1,4 @@ -import{P as l,T as re,w as F,t as R,r as h,h as se,p as ae,R as x,S as C,s as O,o as P,i as u,n as Q,X as de}from"./index-D4PUjdd4.js";import{b as ue,F as M}from"./index-DrEKPqe2.js";import{w as ce,k as ge,B as pe,i as E,p as he,l as Y,m as fe,s as ve,A as be,a3 as me}from"./RenderTopNavBar-CJuzk9-4.js";const ye={children:l.node,type:l.oneOf(["button","submit","reset"]),size:l.oneOf(["small","medium","large"]),elementRef:l.func,as:l.elementType,interaction:l.oneOf(["enabled","disabled","readonly"]),color:l.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:l.oneOf(["info","inverse"]),display:l.oneOf(["inline-block","block"]),textAlign:l.oneOf(["start","center"]),withBackground:l.bool,margin:re.spacing,cursor:l.string,href:l.string,renderIcon:l.oneOfType([l.node,l.func]),onClick:l.func},Se=["as","children","color","cursor","display","elementRef","focusColor","href","interaction","margin","renderIcon","size","textAlign","type","withBackground","onClick"],ke=["children","type","size","as","color","focusColor","display","textAlign","withBackground","margin","cursor","href","renderIcon"];var H,W,$,v;let xe=(H=F(null,ce),W=R(),H($=W($=(v=class extends h.Component{constructor(...e){super(...e),this._buttonComponent=null,this.ref=null,this.handleElementRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)},this.handleButtonRef=t=>{this._buttonComponent=t}}get focused(){return this._buttonComponent&&this._buttonComponent.focused}focus(){this._buttonComponent&&this._buttonComponent.focus()}render(){const e=this.props,t=e.children,o=e.type,n=e.size,a=e.as,r=e.color,s=e.focusColor,d=e.display,c=e.textAlign,g=e.withBackground,p=e.margin,f=e.cursor,z=e.href,oe=e.renderIcon,D=se(e,ke),te=ge({props:D}),le=this.props.themeOverride,ne={...ae(D),type:o,size:n,elementRef:this.handleElementRef,ref:this.handleButtonRef,as:a,color:r,interaction:te,focusColor:s,display:d,textAlign:c,withBackground:g,margin:p,cursor:f,href:z,renderIcon:oe,themeOverride:le};return x.createElement(pe,ne,t)}},v.displayName="Button",v.componentId="Button",v.propTypes=ye,v.allowedProps=Se,v.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",display:"inline-block",textAlign:"center",withBackground:!0,margin:"0",cursor:"pointer"},v))||$)||$);var L;class I extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconCopy",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),L||(L=x.createElement("path",{d:"M0 1919.887h1467.88V452.008H0v1467.88ZM1354.965 564.922v1242.051H112.914V564.922h1242.051ZM1920 0v1467.992h-338.741v-113.027h225.827V112.914H565.035V338.74H452.008V0H1920ZM338.741 1016.93h790.397V904.016H338.74v112.914Zm0 451.062h790.397v-113.027H338.74v113.027Zm0-225.588h564.57v-112.913H338.74v112.913Z",fillRule:"evenodd"})))}}I.glyphName="copy";I.variant="Line";I.displayName="IconCopyLine";I.propTypes={...C.propTypes};I.allowedProps=[...C.allowedProps];var A;class _ extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconX",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),A||(A=x.createElement("path",{d:"M797.32 985.882 344.772 1438.43l188.561 188.562 452.549-452.549 452.548 452.549 188.562-188.562-452.549-452.548 452.549-452.549-188.562-188.561L985.882 797.32 533.333 344.772 344.772 533.333z"})))}}_.glyphName="x";_.variant="Solid";_.displayName="IconXSolid";_.propTypes={...C.propTypes};_.allowedProps=[...C.allowedProps];const Ce={expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,children:l.func,render:l.func},ze=["expanded","defaultExpanded","onToggle","children","render"];var V,N,S;const Ie=({expanded:i})=>({expanded:!i});let j=(V=O(),V(N=(S=class extends h.Component{constructor(e){super(e),this._contentId=void 0,this.handleToggle=t=>{this.isControlled()||this.setState(Ie),this.props.onToggle(t,!this.expanded)},this.state={expanded:this.isControlled(e)?e.expanded:e.defaultExpanded},this._contentId=e.deterministicId()}get expanded(){return this.isControlled()?this.props.expanded:this.state.expanded}isControlled(e=this.props){return typeof e.expanded=="boolean"}static getDerivedStateFromProps(e,t){return typeof e.expanded=="boolean"&&e.expanded!==t.expanded?{expanded:e.expanded}:null}render(){const e=this.props,t=e.children,o=e.render,n=o===void 0?t:o;return typeof n=="function"?n({expanded:this.expanded,getToggleProps:(a={})=>({"aria-controls":this._contentId,"aria-expanded":this.expanded,onClick:he(this.handleToggle,a.onClick),...a}),getDetailsProps:()=>({id:this._contentId})}):null}},S.displayName="Expandable",S.propTypes=Ce,S.allowedProps=ze,S.defaultProps={defaultExpanded:!1,onToggle:function(){},children:null},S))||N);const _e=(i,e)=>{const t=e.disabled,o=e.variant,n=e.context,a=e.size,r=e.inline,s=z=>`[class$=-radioInput__input]:${z} + [class$=-radioInput__control] &`,d={success:{backgroundColor:i.toggleBackgroundSuccess},danger:{backgroundColor:i.toggleBackgroundDanger},warning:{backgroundColor:i.toggleBackgroundWarning},off:{backgroundColor:i.toggleBackgroundOff}},c={simple:{base:{boxSizing:"border-box",display:"block",position:"relative",marginInlineEnd:i.simpleFacadeMarginEnd,marginInlineStart:"0",flexShrink:0,minWidth:"1rem",transition:"all 0.2s ease-out",borderRadius:"100%",border:`${i.borderWidth} solid ${i.borderColor}`,background:i.background,"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",width:"calc(100% + 0.75rem)",height:"calc(100% + 0.75rem)",boxSizing:"border-box",borderRadius:"100%",border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none"},[s("hover")]:{borderColor:i.hoverBorderColor},[s("focus")]:{background:i.background,"&::before":{transform:"scale(1)",opacity:1}}},small:{width:i.simpleFacadeSmallSize,height:i.simpleFacadeSmallSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetSmall} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},medium:{width:i.simpleFacadeMediumSize,height:i.simpleFacadeMediumSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetMedium} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},large:{width:i.simpleFacadeLargeSize,height:i.simpleFacadeLargeSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetLarge} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}}},toggle:{base:{boxSizing:"border-box",visibility:"hidden",display:"block",position:"absolute",zIndex:1,top:"0",left:"0",width:"100%",height:"100%",boxShadow:i.toggleShadow,borderRadius:i.toggleBorderRadius,...d[n],"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:`calc(${i.toggleBorderRadius} + 0.0625rem)`,border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0},[s("checked")]:{visibility:"visible"},[s("focus")]:{"&::before":{opacity:1,transform:"scale(1)"}}},small:{},medium:{},large:{}}},g={simple:{base:{display:"flex",alignItems:"flex-start"},small:{},medium:{},large:{}},toggle:{base:{display:"block",userSelect:"none",boxSizing:"border-box",position:"relative"},small:{padding:"0 0.5rem",height:i.toggleSmallHeight},medium:{padding:"0 0.875rem",height:i.toggleMediumHeight},large:{padding:"0 1rem",height:i.toggleLargeHeight}}},p={simple:{base:{},small:{fontSize:i.simpleFontSizeSmall},medium:{fontSize:i.simpleFontSizeMedium},large:{fontSize:i.simpleFontSizeLarge}},toggle:{base:{position:"relative",zIndex:1,textTransform:"uppercase",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:1,display:"flex",alignItems:"center",minWidth:"0.0625rem",[s("checked")]:{color:i.toggleHandleText},[s("focus")]:{textDecoration:"underline"}},small:{fontSize:i.toggleSmallFontSize,height:i.toggleSmallHeight,svg:{fontSize:`calc(${i.toggleSmallFontSize} + 0.375rem)`}},medium:{fontSize:i.toggleMediumFontSize,height:i.toggleMediumHeight,svg:{fontSize:`calc(${i.toggleMediumFontSize} + 0.375rem)`}},large:{fontSize:i.toggleLargeFontSize,height:i.toggleLargeHeight,svg:{fontSize:`calc(${i.toggleLargeFontSize} + 0.375rem)`}}}},f={padding:"0",margin:"0",fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:"0",left:"0",opacity:1e-4};return{radioInput:{label:"radioInput",position:"relative",width:"100%",...t&&{opacity:.5},...r&&{display:"inline-block",verticalAlign:"middle",width:"auto"},"&:hover":{cursor:"default",...t&&{cursor:"not-allowed"}}},input:{label:"radioInput__input",...f,'&:is(input)[type="radio"]':f,'&:-webkit-any(input)[type="radio"]':f},control:{label:"radioInput__control",all:"initial",display:"block",direction:"inherit",textAlign:"start",...g[o].base,...g[o][a]},facade:{label:"radioInput__facade",...c[o].base,...c[o][a]},label:{label:"radioInput__label",flex:"1 1 auto",color:i.labelColor,fontFamily:i.labelFontFamily,fontWeight:i.labelFontWeight,lineHeight:i.labelLineHeight,...p[o].base,...p[o][a],cursor:"default"}}},$e=i=>{const e=i.spacing,t=i.borders,o=i.colors,n=i.forms,a=i.shadows,r=i.typography,s=i.key,d={canvas:{focusBorderColor:i["ic-brand-primary"],hoverBorderColor:i["ic-brand-font-color-dark"],labelColor:i["ic-brand-font-color-dark"]},"canvas-high-contrast":{toggleBackgroundOff:o==null?void 0:o.backgroundDarkest}};return{...{labelColor:o==null?void 0:o.textDarkest,labelFontFamily:r==null?void 0:r.fontFamily,labelFontWeight:r==null?void 0:r.fontWeightNormal,labelLineHeight:r==null?void 0:r.lineHeightCondensed,background:o==null?void 0:o.backgroundLightest,borderWidth:t==null?void 0:t.widthSmall,borderColor:o==null?void 0:o.borderMedium,hoverBorderColor:o==null?void 0:o.borderDarkest,controlSize:"0.1875rem",focusBorderColor:o==null?void 0:o.borderBrand,focusBorderWidth:t==null?void 0:t.widthMedium,focusBorderStyle:t==null?void 0:t.style,simpleFacadeSmallSize:"1rem",simpleFacadeMediumSize:"1.25rem",simpleFacadeLargeSize:"1.75rem",simpleCheckedInsetSmall:"0.1875rem",simpleCheckedInsetMedium:"0.25rem",simpleCheckedInsetLarge:"0.375rem",simpleFontSizeSmall:r==null?void 0:r.fontSizeSmall,simpleFontSizeMedium:r==null?void 0:r.fontSizeMedium,simpleFontSizeLarge:r==null?void 0:r.fontSizeLarge,simpleFacadeMarginEnd:e==null?void 0:e.xSmall,toggleBorderRadius:t==null?void 0:t.radiusSmall,toggleBorderWidth:t==null?void 0:t.widthLarge,toggleBackgroundSuccess:o==null?void 0:o.backgroundSuccess,toggleBackgroundOff:o==null?void 0:o.backgroundDark,toggleBackgroundDanger:o==null?void 0:o.backgroundDanger,toggleBackgroundWarning:o==null?void 0:o.backgroundWarning,toggleHandleText:o==null?void 0:o.textLightest,toggleSmallHeight:n==null?void 0:n.inputHeightSmall,toggleMediumHeight:n==null?void 0:n.inputHeightMedium,toggleLargeHeight:n==null?void 0:n.inputHeightLarge,toggleShadow:a==null?void 0:a.depth1,toggleSmallFontSize:r==null?void 0:r.fontSizeXSmall,toggleMediumFontSize:r==null?void 0:r.fontSizeSmall,toggleLargeFontSize:r==null?void 0:r.fontSizeMedium},...d[s]}},we={label:l.node.isRequired,value:l.oneOfType([l.string,l.number]),id:l.string,name:l.string,checked:l.bool,disabled:l.bool,readOnly:l.bool,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),context:l.oneOf(["success","warning","danger","off"]),inline:l.bool,onClick:l.func,onChange:l.func},Be=["label","value","id","name","checked","disabled","readOnly","variant","size","context","inline","onClick","onChange"];var G,Z,X,k,b;let Re=(G=O(),Z=F(_e,$e),X=R(),G(k=Z(k=X(k=(b=class T extends h.Component{constructor(e){super(e),this.ref=null,this._defaultId=void 0,this._input=null,this.handleClick=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.onClick=="function"&&this.props.onClick(t)},this.handleChange=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.checked>"u"&&this.setState({checked:!this.state.checked}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.checked>"u"&&(this.state={checked:!1}),this._defaultId=e.deterministicId()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get id(){return this.props.id||this._defaultId}get focused(){return Y(this._input)}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}render(){const e=this.props,t=e.disabled,o=e.readOnly,n=e.label,a=e.value,r=e.name,s=e.styles,d=P(this.props,T.allowedProps);return u("div",{css:s==null?void 0:s.radioInput,ref:c=>{this.ref=c}},u("input",Object.assign({},d,{id:this.id,ref:c=>{this._input=c},value:a,name:r,checked:this.checked,type:"radio",css:s==null?void 0:s.input,disabled:t||o,"aria-disabled":t||o?"true":void 0,onChange:this.handleChange,onClick:this.handleClick})),u("label",{css:s==null?void 0:s.control,htmlFor:this.id},u("span",{css:s==null?void 0:s.facade,"aria-hidden":"true"}),u("span",{css:s==null?void 0:s.label},n)))}},b.displayName="RadioInput",b.componentId="RadioInput",b.allowedProps=Be,b.propTypes=we,b.defaultProps={variant:"simple",size:"medium",disabled:!1,inline:!1,context:"success",readOnly:!1},b))||k)||k)||k);const Fe={name:l.string.isRequired,description:l.node.isRequired,defaultValue:l.oneOfType([l.string,l.number]),value:E(l.oneOfType([l.string,l.number])),onChange:l.func,disabled:l.bool,readOnly:l.bool,messages:l.arrayOf(ue.message),children:l.node,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),layout:l.oneOf(["stacked","columns","inline"])},Oe=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","variant","size","layout"];var q,U,w,m;let je=(q=O(),U=R(),q(w=U(w=(m=class ee extends h.Component{constructor(e){super(e),this.ref=null,this._messagesId=void 0,this.handleRef=t=>{this.ref=t},this.handleChange=t=>{const o=t.target.value;if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.value>"u"&&this.setState({value:o}),typeof this.props.onChange=="function"&&this.props.onChange(t,o)},typeof e.value>"u"&&(this.state={value:e.defaultValue}),this._messagesId=e.deterministicId("RadioInputGroup-messages")}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?this.state.value:this.props.value}renderChildren(){const e=this.props,t=e.children,o=e.name,n=e.variant,a=e.size,r=e.disabled,s=e.readOnly;return h.Children.map(t,(d,c)=>{if(fe(d,[Re])){const g=this.value===d.props.value,p=!this.value&&c===0;return ve(d,{name:o,disabled:r||d.props.disabled,variant:n,size:a,checked:g,onChange:this.handleChange,readOnly:s||d.props.readOnly,width:d.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0,tabIndex:g||p?0:-1,label:d.props.label})}else return d})}render(){const e=this.props,t=e.variant,o=e.layout,n=e.description;return x.createElement(M,Object.assign({},P(this.props,ee.allowedProps),Q(this.props,M.allowedProps),{description:n,layout:o==="columns"&&t==="toggle"?"stacked":o,vAlign:t==="toggle"?"middle":"top",rowSpacing:"small",colSpacing:t==="toggle"?"none":"small",startAt:t==="toggle"?"small":void 0,messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},m.displayName="RadioInputGroup",m.componentId="RadioInputGroup",m.allowedProps=Oe,m.propTypes=Fe,m.defaultProps={disabled:!1,variant:"simple",size:"medium",layout:"stacked",readOnly:!1},m))||w)||w);const Pe=de` +import{P as l,T as re,w as F,t as R,r as h,h as se,p as ae,R as x,S as C,s as O,o as P,i as u,n as Q,X as de}from"./index-Bko_xNHh.js";import{b as ue,F as M}from"./index-C29H8B_2.js";import{w as ce,k as ge,B as pe,i as E,p as he,l as Y,m as fe,s as ve,A as be,a3 as me}from"./RenderTopNavBar-C6YLj6sY.js";const ye={children:l.node,type:l.oneOf(["button","submit","reset"]),size:l.oneOf(["small","medium","large"]),elementRef:l.func,as:l.elementType,interaction:l.oneOf(["enabled","disabled","readonly"]),color:l.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:l.oneOf(["info","inverse"]),display:l.oneOf(["inline-block","block"]),textAlign:l.oneOf(["start","center"]),withBackground:l.bool,margin:re.spacing,cursor:l.string,href:l.string,renderIcon:l.oneOfType([l.node,l.func]),onClick:l.func},Se=["as","children","color","cursor","display","elementRef","focusColor","href","interaction","margin","renderIcon","size","textAlign","type","withBackground","onClick"],ke=["children","type","size","as","color","focusColor","display","textAlign","withBackground","margin","cursor","href","renderIcon"];var H,W,$,v;let xe=(H=F(null,ce),W=R(),H($=W($=(v=class extends h.Component{constructor(...e){super(...e),this._buttonComponent=null,this.ref=null,this.handleElementRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)},this.handleButtonRef=t=>{this._buttonComponent=t}}get focused(){return this._buttonComponent&&this._buttonComponent.focused}focus(){this._buttonComponent&&this._buttonComponent.focus()}render(){const e=this.props,t=e.children,o=e.type,n=e.size,a=e.as,r=e.color,s=e.focusColor,d=e.display,c=e.textAlign,g=e.withBackground,p=e.margin,f=e.cursor,z=e.href,oe=e.renderIcon,D=se(e,ke),te=ge({props:D}),le=this.props.themeOverride,ne={...ae(D),type:o,size:n,elementRef:this.handleElementRef,ref:this.handleButtonRef,as:a,color:r,interaction:te,focusColor:s,display:d,textAlign:c,withBackground:g,margin:p,cursor:f,href:z,renderIcon:oe,themeOverride:le};return x.createElement(pe,ne,t)}},v.displayName="Button",v.componentId="Button",v.propTypes=ye,v.allowedProps=Se,v.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",display:"inline-block",textAlign:"center",withBackground:!0,margin:"0",cursor:"pointer"},v))||$)||$);var L;class I extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconCopy",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),L||(L=x.createElement("path",{d:"M0 1919.887h1467.88V452.008H0v1467.88ZM1354.965 564.922v1242.051H112.914V564.922h1242.051ZM1920 0v1467.992h-338.741v-113.027h225.827V112.914H565.035V338.74H452.008V0H1920ZM338.741 1016.93h790.397V904.016H338.74v112.914Zm0 451.062h790.397v-113.027H338.74v113.027Zm0-225.588h564.57v-112.913H338.74v112.913Z",fillRule:"evenodd"})))}}I.glyphName="copy";I.variant="Line";I.displayName="IconCopyLine";I.propTypes={...C.propTypes};I.allowedProps=[...C.allowedProps];var A;class _ extends h.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=t=>{const o=this.props.elementRef;this.ref=t,typeof o=="function"&&o(t)}}render(){return x.createElement(C,Object.assign({},this.props,{name:"IconX",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),A||(A=x.createElement("path",{d:"M797.32 985.882 344.772 1438.43l188.561 188.562 452.549-452.549 452.548 452.549 188.562-188.562-452.549-452.548 452.549-452.549-188.562-188.561L985.882 797.32 533.333 344.772 344.772 533.333z"})))}}_.glyphName="x";_.variant="Solid";_.displayName="IconXSolid";_.propTypes={...C.propTypes};_.allowedProps=[...C.allowedProps];const Ce={expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,children:l.func,render:l.func},ze=["expanded","defaultExpanded","onToggle","children","render"];var V,N,S;const Ie=({expanded:i})=>({expanded:!i});let j=(V=O(),V(N=(S=class extends h.Component{constructor(e){super(e),this._contentId=void 0,this.handleToggle=t=>{this.isControlled()||this.setState(Ie),this.props.onToggle(t,!this.expanded)},this.state={expanded:this.isControlled(e)?e.expanded:e.defaultExpanded},this._contentId=e.deterministicId()}get expanded(){return this.isControlled()?this.props.expanded:this.state.expanded}isControlled(e=this.props){return typeof e.expanded=="boolean"}static getDerivedStateFromProps(e,t){return typeof e.expanded=="boolean"&&e.expanded!==t.expanded?{expanded:e.expanded}:null}render(){const e=this.props,t=e.children,o=e.render,n=o===void 0?t:o;return typeof n=="function"?n({expanded:this.expanded,getToggleProps:(a={})=>({"aria-controls":this._contentId,"aria-expanded":this.expanded,onClick:he(this.handleToggle,a.onClick),...a}),getDetailsProps:()=>({id:this._contentId})}):null}},S.displayName="Expandable",S.propTypes=Ce,S.allowedProps=ze,S.defaultProps={defaultExpanded:!1,onToggle:function(){},children:null},S))||N);const _e=(i,e)=>{const t=e.disabled,o=e.variant,n=e.context,a=e.size,r=e.inline,s=z=>`[class$=-radioInput__input]:${z} + [class$=-radioInput__control] &`,d={success:{backgroundColor:i.toggleBackgroundSuccess},danger:{backgroundColor:i.toggleBackgroundDanger},warning:{backgroundColor:i.toggleBackgroundWarning},off:{backgroundColor:i.toggleBackgroundOff}},c={simple:{base:{boxSizing:"border-box",display:"block",position:"relative",marginInlineEnd:i.simpleFacadeMarginEnd,marginInlineStart:"0",flexShrink:0,minWidth:"1rem",transition:"all 0.2s ease-out",borderRadius:"100%",border:`${i.borderWidth} solid ${i.borderColor}`,background:i.background,"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",width:"calc(100% + 0.75rem)",height:"calc(100% + 0.75rem)",boxSizing:"border-box",borderRadius:"100%",border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none"},[s("hover")]:{borderColor:i.hoverBorderColor},[s("focus")]:{background:i.background,"&::before":{transform:"scale(1)",opacity:1}}},small:{width:i.simpleFacadeSmallSize,height:i.simpleFacadeSmallSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetSmall} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},medium:{width:i.simpleFacadeMediumSize,height:i.simpleFacadeMediumSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetMedium} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}},large:{width:i.simpleFacadeLargeSize,height:i.simpleFacadeLargeSize,[s("checked")]:{background:i.background,boxShadow:`inset 0 0 0 ${i.simpleCheckedInsetLarge} ${i.hoverBorderColor}`,borderColor:i.hoverBorderColor}}},toggle:{base:{boxSizing:"border-box",visibility:"hidden",display:"block",position:"absolute",zIndex:1,top:"0",left:"0",width:"100%",height:"100%",boxShadow:i.toggleShadow,borderRadius:i.toggleBorderRadius,...d[n],"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:`calc(${i.toggleBorderRadius} + 0.0625rem)`,border:`${i.focusBorderWidth} ${i.focusBorderStyle} ${i.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0},[s("checked")]:{visibility:"visible"},[s("focus")]:{"&::before":{opacity:1,transform:"scale(1)"}}},small:{},medium:{},large:{}}},g={simple:{base:{display:"flex",alignItems:"flex-start"},small:{},medium:{},large:{}},toggle:{base:{display:"block",userSelect:"none",boxSizing:"border-box",position:"relative"},small:{padding:"0 0.5rem",height:i.toggleSmallHeight},medium:{padding:"0 0.875rem",height:i.toggleMediumHeight},large:{padding:"0 1rem",height:i.toggleLargeHeight}}},p={simple:{base:{},small:{fontSize:i.simpleFontSizeSmall},medium:{fontSize:i.simpleFontSizeMedium},large:{fontSize:i.simpleFontSizeLarge}},toggle:{base:{position:"relative",zIndex:1,textTransform:"uppercase",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",lineHeight:1,display:"flex",alignItems:"center",minWidth:"0.0625rem",[s("checked")]:{color:i.toggleHandleText},[s("focus")]:{textDecoration:"underline"}},small:{fontSize:i.toggleSmallFontSize,height:i.toggleSmallHeight,svg:{fontSize:`calc(${i.toggleSmallFontSize} + 0.375rem)`}},medium:{fontSize:i.toggleMediumFontSize,height:i.toggleMediumHeight,svg:{fontSize:`calc(${i.toggleMediumFontSize} + 0.375rem)`}},large:{fontSize:i.toggleLargeFontSize,height:i.toggleLargeHeight,svg:{fontSize:`calc(${i.toggleLargeFontSize} + 0.375rem)`}}}},f={padding:"0",margin:"0",fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:"0",left:"0",opacity:1e-4};return{radioInput:{label:"radioInput",position:"relative",width:"100%",...t&&{opacity:.5},...r&&{display:"inline-block",verticalAlign:"middle",width:"auto"},"&:hover":{cursor:"default",...t&&{cursor:"not-allowed"}}},input:{label:"radioInput__input",...f,'&:is(input)[type="radio"]':f,'&:-webkit-any(input)[type="radio"]':f},control:{label:"radioInput__control",all:"initial",display:"block",direction:"inherit",textAlign:"start",...g[o].base,...g[o][a]},facade:{label:"radioInput__facade",...c[o].base,...c[o][a]},label:{label:"radioInput__label",flex:"1 1 auto",color:i.labelColor,fontFamily:i.labelFontFamily,fontWeight:i.labelFontWeight,lineHeight:i.labelLineHeight,...p[o].base,...p[o][a],cursor:"default"}}},$e=i=>{const e=i.spacing,t=i.borders,o=i.colors,n=i.forms,a=i.shadows,r=i.typography,s=i.key,d={canvas:{focusBorderColor:i["ic-brand-primary"],hoverBorderColor:i["ic-brand-font-color-dark"],labelColor:i["ic-brand-font-color-dark"]},"canvas-high-contrast":{toggleBackgroundOff:o==null?void 0:o.backgroundDarkest}};return{...{labelColor:o==null?void 0:o.textDarkest,labelFontFamily:r==null?void 0:r.fontFamily,labelFontWeight:r==null?void 0:r.fontWeightNormal,labelLineHeight:r==null?void 0:r.lineHeightCondensed,background:o==null?void 0:o.backgroundLightest,borderWidth:t==null?void 0:t.widthSmall,borderColor:o==null?void 0:o.borderMedium,hoverBorderColor:o==null?void 0:o.borderDarkest,controlSize:"0.1875rem",focusBorderColor:o==null?void 0:o.borderBrand,focusBorderWidth:t==null?void 0:t.widthMedium,focusBorderStyle:t==null?void 0:t.style,simpleFacadeSmallSize:"1rem",simpleFacadeMediumSize:"1.25rem",simpleFacadeLargeSize:"1.75rem",simpleCheckedInsetSmall:"0.1875rem",simpleCheckedInsetMedium:"0.25rem",simpleCheckedInsetLarge:"0.375rem",simpleFontSizeSmall:r==null?void 0:r.fontSizeSmall,simpleFontSizeMedium:r==null?void 0:r.fontSizeMedium,simpleFontSizeLarge:r==null?void 0:r.fontSizeLarge,simpleFacadeMarginEnd:e==null?void 0:e.xSmall,toggleBorderRadius:t==null?void 0:t.radiusSmall,toggleBorderWidth:t==null?void 0:t.widthLarge,toggleBackgroundSuccess:o==null?void 0:o.backgroundSuccess,toggleBackgroundOff:o==null?void 0:o.backgroundDark,toggleBackgroundDanger:o==null?void 0:o.backgroundDanger,toggleBackgroundWarning:o==null?void 0:o.backgroundWarning,toggleHandleText:o==null?void 0:o.textLightest,toggleSmallHeight:n==null?void 0:n.inputHeightSmall,toggleMediumHeight:n==null?void 0:n.inputHeightMedium,toggleLargeHeight:n==null?void 0:n.inputHeightLarge,toggleShadow:a==null?void 0:a.depth1,toggleSmallFontSize:r==null?void 0:r.fontSizeXSmall,toggleMediumFontSize:r==null?void 0:r.fontSizeSmall,toggleLargeFontSize:r==null?void 0:r.fontSizeMedium},...d[s]}},we={label:l.node.isRequired,value:l.oneOfType([l.string,l.number]),id:l.string,name:l.string,checked:l.bool,disabled:l.bool,readOnly:l.bool,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),context:l.oneOf(["success","warning","danger","off"]),inline:l.bool,onClick:l.func,onChange:l.func},Be=["label","value","id","name","checked","disabled","readOnly","variant","size","context","inline","onClick","onChange"];var G,Z,X,k,b;let Re=(G=O(),Z=F(_e,$e),X=R(),G(k=Z(k=X(k=(b=class T extends h.Component{constructor(e){super(e),this.ref=null,this._defaultId=void 0,this._input=null,this.handleClick=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.onClick=="function"&&this.props.onClick(t)},this.handleChange=t=>{if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.checked>"u"&&this.setState({checked:!this.state.checked}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.checked>"u"&&(this.state={checked:!1}),this._defaultId=e.deterministicId()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t)}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get id(){return this.props.id||this._defaultId}get focused(){return Y(this._input)}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}render(){const e=this.props,t=e.disabled,o=e.readOnly,n=e.label,a=e.value,r=e.name,s=e.styles,d=P(this.props,T.allowedProps);return u("div",{css:s==null?void 0:s.radioInput,ref:c=>{this.ref=c}},u("input",Object.assign({},d,{id:this.id,ref:c=>{this._input=c},value:a,name:r,checked:this.checked,type:"radio",css:s==null?void 0:s.input,disabled:t||o,"aria-disabled":t||o?"true":void 0,onChange:this.handleChange,onClick:this.handleClick})),u("label",{css:s==null?void 0:s.control,htmlFor:this.id},u("span",{css:s==null?void 0:s.facade,"aria-hidden":"true"}),u("span",{css:s==null?void 0:s.label},n)))}},b.displayName="RadioInput",b.componentId="RadioInput",b.allowedProps=Be,b.propTypes=we,b.defaultProps={variant:"simple",size:"medium",disabled:!1,inline:!1,context:"success",readOnly:!1},b))||k)||k)||k);const Fe={name:l.string.isRequired,description:l.node.isRequired,defaultValue:l.oneOfType([l.string,l.number]),value:E(l.oneOfType([l.string,l.number])),onChange:l.func,disabled:l.bool,readOnly:l.bool,messages:l.arrayOf(ue.message),children:l.node,variant:l.oneOf(["simple","toggle"]),size:l.oneOf(["small","medium","large"]),layout:l.oneOf(["stacked","columns","inline"])},Oe=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","variant","size","layout"];var q,U,w,m;let je=(q=O(),U=R(),q(w=U(w=(m=class ee extends h.Component{constructor(e){super(e),this.ref=null,this._messagesId=void 0,this.handleRef=t=>{this.ref=t},this.handleChange=t=>{const o=t.target.value;if(this.props.disabled||this.props.readOnly){t.preventDefault();return}typeof this.props.value>"u"&&this.setState({value:o}),typeof this.props.onChange=="function"&&this.props.onChange(t,o)},typeof e.value>"u"&&(this.state={value:e.defaultValue}),this._messagesId=e.deterministicId("RadioInputGroup-messages")}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?this.state.value:this.props.value}renderChildren(){const e=this.props,t=e.children,o=e.name,n=e.variant,a=e.size,r=e.disabled,s=e.readOnly;return h.Children.map(t,(d,c)=>{if(fe(d,[Re])){const g=this.value===d.props.value,p=!this.value&&c===0;return ve(d,{name:o,disabled:r||d.props.disabled,variant:n,size:a,checked:g,onChange:this.handleChange,readOnly:s||d.props.readOnly,width:d.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0,tabIndex:g||p?0:-1,label:d.props.label})}else return d})}render(){const e=this.props,t=e.variant,o=e.layout,n=e.description;return x.createElement(M,Object.assign({},P(this.props,ee.allowedProps),Q(this.props,M.allowedProps),{description:n,layout:o==="columns"&&t==="toggle"?"stacked":o,vAlign:t==="toggle"?"middle":"top",rowSpacing:"small",colSpacing:t==="toggle"?"none":"small",startAt:t==="toggle"?"small":void 0,messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},m.displayName="RadioInputGroup",m.componentId="RadioInputGroup",m.allowedProps=Oe,m.propTypes=Fe,m.defaultProps={disabled:!1,variant:"simple",size:"medium",layout:"stacked",readOnly:!1},m))||w)||w);const Pe=de` to { opacity: 1; }`,Ee=(i,e,t)=>{const o=e.fluidWidth,n=e.iconPosition,a=e.size,r=e.variant,s=t.animate,d=n==="end"&&(r==="filled"||o),c=o?{display:"block",width:"100%"}:{},g={start:{marginInlineEnd:i.iconMargin,marginInlineStart:0},end:{marginInlineStart:i.iconMargin,marginInlineEnd:0}},p={small:{fontSize:i.fontSizeSmall},medium:{fontSize:i.fontSizeMedium},large:{fontSize:i.fontSizeLarge}},f={small:{fontSize:i.smallIconSize},medium:{fontSize:i.mediumIconSize},large:{fontSize:i.largeIconSize}},z=n==="start"&&!o?{small:{paddingInlineStart:`calc(${i.smallIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"},medium:{paddingInlineStart:`calc(${i.mediumIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"},large:{paddingInlineStart:`calc(${i.largeIconSize} + ${i.togglePadding})`,paddingInlineEnd:"0"}}:{small:{},medium:{},large:{}};return{toggleDetails:{label:"toggleDetails",fontFamily:i.fontFamily,fontWeight:i.fontWeight,lineHeight:i.lineHeight},summary:{label:"toggleDetails__summary",position:"relative",display:"flex",alignItems:"center",boxSizing:"border-box",textAlign:"start"},summaryText:{label:"toggleDetails__summaryText",minWidth:"0.0625rem",flexGrow:1,...d?{flex:1}:{}},toggle:{label:"toggleDetails__toggle",fontFamily:i.fontFamily,appearance:"none",cursor:"pointer",userSelect:"none",touchAction:"manipulation",position:"relative",overflow:"visible",boxSizing:"border-box",padding:"0",margin:"0",outline:"none",border:"none",background:"transparent",color:i.textColor,"&::-moz-focus-inner":{padding:"0",margin:"0"},"&::before":{content:'""',position:"absolute",top:"-0.375rem",left:"-0.375rem",right:"-0.375rem",bottom:"-0.375rem",border:`${i.toggleBorderWidth} ${i.toggleBorderStyle} ${i.toggleFocusBorderColor}`,borderRadius:`calc(${i.toggleBorderRadius} * 1.5)`,opacity:0,pointerEvents:"none"},"&:focus":{"&::before":{opacity:1}},"&:focus, &:hover, &:active":{textDecoration:"none",color:i.textColor},textDecoration:"none",...c,...p[a]},icon:{label:"toggleDetails__icon","& > svg":{display:"block"},...g[n],...f[a]},details:{label:"toggleDetails__details",boxSizing:"border-box",paddingTop:i.togglePadding,color:i.textColor,...p[a],...z[a]},content:s?{label:"toggleDetails__content",opacity:.01,animationName:Pe,animationFillMode:"forwards",animationDuration:".3s"}:{}}},De=i=>{const e=i.colors,t=i.spacing,o=i.borders,n=i.typography,a=i.key,r={canvas:{toggleFocusBorderColor:i["ic-brand-primary"],iconColor:i["ic-brand-font-color-dark"],textColor:i["ic-brand-font-color-dark"]}};return{...{fontFamily:n==null?void 0:n.fontFamily,fontWeight:n==null?void 0:n.fontWeightNormal,lineHeight:n==null?void 0:n.lineHeight,textColor:e==null?void 0:e.textDarkest,fontSizeSmall:n==null?void 0:n.fontSizeSmall,fontSizeMedium:n==null?void 0:n.fontSizeMedium,fontSizeLarge:n==null?void 0:n.fontSizeLarge,smallIconSize:"0.5rem",mediumIconSize:"0.75rem",largeIconSize:"1rem",iconMargin:t==null?void 0:t.xxSmall,iconColor:e==null?void 0:e.textDarkest,togglePadding:t==null?void 0:t.xxSmall,toggleBorderRadius:o==null?void 0:o.radiusMedium,toggleBorderWidth:o==null?void 0:o.widthMedium,toggleBorderStyle:o==null?void 0:o.style,toggleFocusBorderColor:e==null?void 0:e.borderBrand,filledBackgroundColor:e==null?void 0:e.backgroundLight,filledBorderWidth:o==null?void 0:o.widthSmall,filledBorderStyle:o==null?void 0:o.style,filledBorderColor:e==null?void 0:e.borderMedium,filledBorderRadius:o==null?void 0:o.radiusMedium,filledPadding:t==null?void 0:t.small},...r[a]}},Me={variant:l.oneOf(["default","filled"]),summary:l.node.isRequired,expanded:E(l.bool,"onToggle","defaultExpanded"),defaultExpanded:l.bool,onToggle:l.func,icon:l.func,iconExpanded:l.func,iconPosition:l.oneOf(["start","end"]),fluidWidth:l.bool,children:l.node,size:l.oneOf(["small","medium","large"])},He=["variant","summary","expanded","defaultExpanded","onToggle","icon","iconExpanded","iconPosition","fluidWidth","children","size"];var J,K,B,y;let Ge=(J=F(Ee,De),K=R(),J(B=K(B=(y=class ie extends h.Component{constructor(...e){super(...e),this.ref=null,this._button=null,this.getButtonRef=t=>this._button=t,this.handleToggle=(t,o)=>{var n,a;typeof this.props.onToggle=="function"&&this.props.onToggle(t,o),(n=(a=this.props).makeStyles)===null||n===void 0||n.call(a,{animate:!0})}}get focused(){return Y(this._button)}focus(){var e;(e=this._button)===null||e===void 0||e.focus()}componentDidMount(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t,{animate:!1})}componentDidUpdate(){var e,t;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t,{animate:!0})}renderSummary(e){var t,o;const n=this.props,a=n.summary,r=n.iconPosition;return u("span",{css:(t=this.props.styles)===null||t===void 0?void 0:t.summary},r==="start"&&this.renderIcon(e),u("span",{css:(o=this.props.styles)===null||o===void 0?void 0:o.summaryText},a),r==="end"&&this.renderIcon(e))}renderToggle(e,t){const o=this.props.variant,n={...P(this.props,ie.allowedProps),...e,children:this.renderSummary(t)},a=this.renderSummary(t);if(o==="filled")return u(xe,Object.assign({},n,{display:"block",textAlign:"start",elementRef:this.getButtonRef}),a);if(n.href){var r;return u("a",Object.assign({},n,{css:(r=this.props.styles)===null||r===void 0?void 0:r.toggle,ref:this.getButtonRef}),a)}else{var s;return u("button",Object.assign({},n,{type:"button",css:(s=this.props.styles)===null||s===void 0?void 0:s.toggle,ref:this.getButtonRef}),a)}}renderIcon(e){var t;const o=e?this.props.iconExpanded:this.props.icon;return this.props.children&&o?u("span",{css:(t=this.props.styles)===null||t===void 0?void 0:t.icon},u(o,null)):null}renderDetails(e,t){var o;const n=this.props.children,a=e?{display:"block"}:{display:"none"};return u("div",Object.assign({},t,{css:[(o=this.props.styles)===null||o===void 0?void 0:o.details,a]}),n&&e&&this.renderContent())}renderContent(){var e;return u("div",{css:(e=this.props.styles)===null||e===void 0?void 0:e.content},this.props.children)}render(){return u(j,Object.assign({},Q(this.props,j.allowedProps),{onToggle:this.handleToggle}),({expanded:e,getToggleProps:t,getDetailsProps:o})=>{var n;return u("div",{css:(n=this.props.styles)===null||n===void 0?void 0:n.toggleDetails,ref:a=>{this.ref=a}},this.renderToggle(t(),e),this.renderDetails(e,o()))})}},y.displayName="ToggleDetails",y.componentId="ToggleDetails",y.allowedProps=He,y.propTypes=Me,y.defaultProps={variant:"default",size:"medium",fluidWidth:!1,icon:be,iconExpanded:me,iconPosition:"start",defaultExpanded:!1,children:null},y))||B)||B);export{xe as B,j as E,I,je as R,Ge as T,Re as a,_ as b}; diff --git a/assets/index-BGFQHV-c.js b/assets/index-BU6CM6-K.js similarity index 97% rename from assets/index-BGFQHV-c.js rename to assets/index-BU6CM6-K.js index 7db1979..25d4727 100644 --- a/assets/index-BGFQHV-c.js +++ b/assets/index-BU6CM6-K.js @@ -1 +1 @@ -import{P as s,T as f,w as y,r as k,i as d,q as S,V as b,o as C}from"./index-D4PUjdd4.js";import{H as z,n as _}from"./RenderTopNavBar-CJuzk9-4.js";const x=(o,i)=>{const e=i.size,l=i.href,r=i.onClick,a=i.disabled,n=i.hero,g=i.heading,p=l||r,c={small:{billboard:{padding:o.paddingSmall},hero:{fontSize:"3rem"},message:{fontSize:o.messageFontSizeSmall},heading:{...n&&{margin:`${o.mediumMargin} 0 0`}}},medium:{billboard:{padding:o.paddingMedium},hero:{fontSize:"5rem"},message:{fontSize:o.messageFontSizeMedium},heading:{}},large:{billboard:{padding:o.paddingLarge},hero:{fontSize:"10rem"},message:{fontSize:o.messageFontSizeLarge},heading:{}}},m=p?{appearance:"none",boxSizing:"border-box",cursor:"pointer",userSelect:"none",touchAction:"manipulation",width:"100%",margin:"0",border:`${o.buttonBorderWidth} ${o.buttonBorderStyle} transparent`,borderRadius:o.buttonBorderRadius,background:o.backgroundColor,textDecoration:"none","&:hover":{borderStyle:o.buttonHoverBorderStyle},"&:hover, &:focus":{textDecoration:"none",outline:"none",borderColor:o.iconHoverColor,"& [class$=-billboard__hero]":{color:o.iconHoverColor}},"&:active":{background:o.clickableActiveBg,borderColor:o.iconHoverColor,"& [class$=-billboard__hero], & [class$=-billboard__message]":{color:o.clickableActiveText}}}:{backgroundColor:o.backgroundColor};return{billboard:{label:"billboard",boxSizing:"border-box",position:"relative",fontFamily:o.fontFamily,marginLeft:"auto",marginRight:"auto",textAlign:"center",display:"block",...c[e].billboard,...m,...a&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5}},content:{label:"billboard__content",display:"block"},hero:{label:"billboard__hero",display:"block",color:o.iconColor,...c[e].hero,"& > img, & > svg":{maxWidth:"100%",display:"block",margin:"0 auto"},"& > img":{height:"auto"}},heading:{label:"billboard__heading",display:"block",...n&&{margin:`${o.largeMargin} 0 0`},...c[e].heading},message:{label:"billboard__message",display:"block",color:p?o.messageColorClickable:o.messageColor,...(n||g)&&{margin:`${o.mediumMargin} 0 0`},...c[e].message}}},B=o=>{const i=o.borders,e=o.colors,l=o.spacing,r=o.typography,a=o.key,n={canvas:{iconHoverColor:o["ic-link-color"],messageColorClickable:o["ic-link-color"],clickableActiveBg:o["ic-brand-primary"]}};return{...{fontFamily:r==null?void 0:r.fontFamily,paddingSmall:l==null?void 0:l.small,paddingMedium:l==null?void 0:l.medium,paddingLarge:l==null?void 0:l.medium,iconColor:e==null?void 0:e.textDark,mediumMargin:l==null?void 0:l.small,largeMargin:l==null?void 0:l.medium,iconHoverColor:e==null?void 0:e.textLink,backgroundColor:e==null?void 0:e.backgroundLightest,iconHoverColorInverse:e==null?void 0:e.textLightest,buttonBorderWidth:i==null?void 0:i.widthMedium,buttonBorderRadius:i==null?void 0:i.radiusLarge,messageColor:e==null?void 0:e.textDark,messageColorClickable:e==null?void 0:e.textLink,messageColorInverse:e==null?void 0:e.textLight,messageFontSizeSmall:r==null?void 0:r.fontSizeSmall,messageFontSizeMedium:r==null?void 0:r.fontSizeMedium,messageFontSizeLarge:r==null?void 0:r.fontSizeLarge,clickableActiveBg:e==null?void 0:e.backgroundBrand,clickableActiveText:e==null?void 0:e.textLightest,buttonBorderStyle:i==null?void 0:i.style,buttonHoverBorderStyle:"dashed"},...n[a]}},L={hero:s.oneOfType([s.element,s.func]),size:s.oneOf(["small","medium","large"]),as:s.elementType,elementRef:s.func,heading:s.string,headingAs:s.oneOf(["h1","h2","h3","span"]),headingLevel:s.oneOf(["h1","h2","h3","h4"]),message:s.oneOfType([s.node,s.func]),onClick:s.func,href:s.string,disabled:s.bool,readOnly:s.bool,margin:f.spacing},$=["hero","size","as","elementRef","heading","headingAs","headingLevel","message","onClick","href","disabled","readOnly","margin"];var v,h,t;let R=(v=y(x,B),v(h=(t=class u extends k.Component{constructor(...i){super(...i),this.ref=null,this.handleRef=e=>{const l=this.props.elementRef;this.ref=e,typeof l=="function"&&l(e)},this.handleClick=e=>{const l=this.props,r=l.readOnly,a=l.onClick;r?(e.preventDefault(),e.stopPropagation()):typeof a=="function"&&a(e)}}componentDidMount(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}componentDidUpdate(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}renderHeading(){const i=this.props,e=i.headingLevel,l=i.headingAs,r=i.heading,a=i.styles;return d("span",{css:a==null?void 0:a.heading},d(z,{level:e,as:l,color:"primary"},r))}get SVGIconSize(){const i=this.props.size;return i==="small"?"medium":i==="large"?"x-large":"large"}renderHero(){return typeof this.props.hero=="function"?this.props.hero(this.SVGIconSize):this.props.hero}renderContent(){const i=this.props,e=i.heading,l=i.message,r=i.hero,a=i.styles;return d("span",{css:a==null?void 0:a.content},r&&d("span",{css:a==null?void 0:a.hero},this.renderHero()),e&&this.renderHeading(),l&&d("span",{css:a==null?void 0:a.message},_(l)))}render(){const i=this.props,e=i.href,l=i.disabled,r=i.readOnly,a=i.margin,n=i.styles,g=S(u,this.props);return d(b,{as:"div",margin:a},d(b,Object.assign({},C(this.props,[...u.allowedProps,...b.allowedProps]),{type:g==="button"?"button":void 0,as:g,elementRef:this.handleRef,css:n==null?void 0:n.billboard,href:e,onClick:this.handleClick,disabled:l,"aria-disabled":l||r?"true":void 0}),this.renderContent()))}},t.displayName="Billboard",t.componentId="Billboard",t.propTypes=L,t.allowedProps=$,t.defaultProps={disabled:!1,readOnly:!1,size:"medium",headingAs:"span",headingLevel:"h1",as:"span",elementRef:()=>{}},t))||h);export{R as B}; +import{P as s,T as f,w as y,r as k,i as d,q as S,V as b,o as C}from"./index-Bko_xNHh.js";import{H as z,n as _}from"./RenderTopNavBar-C6YLj6sY.js";const x=(o,i)=>{const e=i.size,l=i.href,r=i.onClick,a=i.disabled,n=i.hero,g=i.heading,p=l||r,c={small:{billboard:{padding:o.paddingSmall},hero:{fontSize:"3rem"},message:{fontSize:o.messageFontSizeSmall},heading:{...n&&{margin:`${o.mediumMargin} 0 0`}}},medium:{billboard:{padding:o.paddingMedium},hero:{fontSize:"5rem"},message:{fontSize:o.messageFontSizeMedium},heading:{}},large:{billboard:{padding:o.paddingLarge},hero:{fontSize:"10rem"},message:{fontSize:o.messageFontSizeLarge},heading:{}}},m=p?{appearance:"none",boxSizing:"border-box",cursor:"pointer",userSelect:"none",touchAction:"manipulation",width:"100%",margin:"0",border:`${o.buttonBorderWidth} ${o.buttonBorderStyle} transparent`,borderRadius:o.buttonBorderRadius,background:o.backgroundColor,textDecoration:"none","&:hover":{borderStyle:o.buttonHoverBorderStyle},"&:hover, &:focus":{textDecoration:"none",outline:"none",borderColor:o.iconHoverColor,"& [class$=-billboard__hero]":{color:o.iconHoverColor}},"&:active":{background:o.clickableActiveBg,borderColor:o.iconHoverColor,"& [class$=-billboard__hero], & [class$=-billboard__message]":{color:o.clickableActiveText}}}:{backgroundColor:o.backgroundColor};return{billboard:{label:"billboard",boxSizing:"border-box",position:"relative",fontFamily:o.fontFamily,marginLeft:"auto",marginRight:"auto",textAlign:"center",display:"block",...c[e].billboard,...m,...a&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5}},content:{label:"billboard__content",display:"block"},hero:{label:"billboard__hero",display:"block",color:o.iconColor,...c[e].hero,"& > img, & > svg":{maxWidth:"100%",display:"block",margin:"0 auto"},"& > img":{height:"auto"}},heading:{label:"billboard__heading",display:"block",...n&&{margin:`${o.largeMargin} 0 0`},...c[e].heading},message:{label:"billboard__message",display:"block",color:p?o.messageColorClickable:o.messageColor,...(n||g)&&{margin:`${o.mediumMargin} 0 0`},...c[e].message}}},B=o=>{const i=o.borders,e=o.colors,l=o.spacing,r=o.typography,a=o.key,n={canvas:{iconHoverColor:o["ic-link-color"],messageColorClickable:o["ic-link-color"],clickableActiveBg:o["ic-brand-primary"]}};return{...{fontFamily:r==null?void 0:r.fontFamily,paddingSmall:l==null?void 0:l.small,paddingMedium:l==null?void 0:l.medium,paddingLarge:l==null?void 0:l.medium,iconColor:e==null?void 0:e.textDark,mediumMargin:l==null?void 0:l.small,largeMargin:l==null?void 0:l.medium,iconHoverColor:e==null?void 0:e.textLink,backgroundColor:e==null?void 0:e.backgroundLightest,iconHoverColorInverse:e==null?void 0:e.textLightest,buttonBorderWidth:i==null?void 0:i.widthMedium,buttonBorderRadius:i==null?void 0:i.radiusLarge,messageColor:e==null?void 0:e.textDark,messageColorClickable:e==null?void 0:e.textLink,messageColorInverse:e==null?void 0:e.textLight,messageFontSizeSmall:r==null?void 0:r.fontSizeSmall,messageFontSizeMedium:r==null?void 0:r.fontSizeMedium,messageFontSizeLarge:r==null?void 0:r.fontSizeLarge,clickableActiveBg:e==null?void 0:e.backgroundBrand,clickableActiveText:e==null?void 0:e.textLightest,buttonBorderStyle:i==null?void 0:i.style,buttonHoverBorderStyle:"dashed"},...n[a]}},L={hero:s.oneOfType([s.element,s.func]),size:s.oneOf(["small","medium","large"]),as:s.elementType,elementRef:s.func,heading:s.string,headingAs:s.oneOf(["h1","h2","h3","span"]),headingLevel:s.oneOf(["h1","h2","h3","h4"]),message:s.oneOfType([s.node,s.func]),onClick:s.func,href:s.string,disabled:s.bool,readOnly:s.bool,margin:f.spacing},$=["hero","size","as","elementRef","heading","headingAs","headingLevel","message","onClick","href","disabled","readOnly","margin"];var v,h,t;let R=(v=y(x,B),v(h=(t=class u extends k.Component{constructor(...i){super(...i),this.ref=null,this.handleRef=e=>{const l=this.props.elementRef;this.ref=e,typeof l=="function"&&l(e)},this.handleClick=e=>{const l=this.props,r=l.readOnly,a=l.onClick;r?(e.preventDefault(),e.stopPropagation()):typeof a=="function"&&a(e)}}componentDidMount(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}componentDidUpdate(){var i,e;(i=(e=this.props).makeStyles)===null||i===void 0||i.call(e)}renderHeading(){const i=this.props,e=i.headingLevel,l=i.headingAs,r=i.heading,a=i.styles;return d("span",{css:a==null?void 0:a.heading},d(z,{level:e,as:l,color:"primary"},r))}get SVGIconSize(){const i=this.props.size;return i==="small"?"medium":i==="large"?"x-large":"large"}renderHero(){return typeof this.props.hero=="function"?this.props.hero(this.SVGIconSize):this.props.hero}renderContent(){const i=this.props,e=i.heading,l=i.message,r=i.hero,a=i.styles;return d("span",{css:a==null?void 0:a.content},r&&d("span",{css:a==null?void 0:a.hero},this.renderHero()),e&&this.renderHeading(),l&&d("span",{css:a==null?void 0:a.message},_(l)))}render(){const i=this.props,e=i.href,l=i.disabled,r=i.readOnly,a=i.margin,n=i.styles,g=S(u,this.props);return d(b,{as:"div",margin:a},d(b,Object.assign({},C(this.props,[...u.allowedProps,...b.allowedProps]),{type:g==="button"?"button":void 0,as:g,elementRef:this.handleRef,css:n==null?void 0:n.billboard,href:e,onClick:this.handleClick,disabled:l,"aria-disabled":l||r?"true":void 0}),this.renderContent()))}},t.displayName="Billboard",t.componentId="Billboard",t.propTypes=L,t.allowedProps=$,t.defaultProps={disabled:!1,readOnly:!1,size:"medium",headingAs:"span",headingLevel:"h1",as:"span",elementRef:()=>{}},t))||h);export{R as B}; diff --git a/assets/index-D4PUjdd4.js b/assets/index-Bko_xNHh.js similarity index 75% rename from assets/index-D4PUjdd4.js rename to assets/index-Bko_xNHh.js index be61b32..6220711 100644 --- a/assets/index-D4PUjdd4.js +++ b/assets/index-Bko_xNHh.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/markdownBrand-CS81ixp3.js","assets/RenderTopNavBar-CJuzk9-4.js","assets/Mdtoui-Bwh6I7pz.js","assets/index-DrEKPqe2.js","assets/redirectTo-CbhAz4iJ.js","assets/index-BGFQHV-c.js","assets/links-B2v1vUE9.js","assets/index-vlHfeEdv.js","assets/index-B30b3Gjx.js","assets/mdui-DYel0-BB.js","assets/index-CyJKhc9Y.js","assets/releases-3SohIBzz.js","assets/IconRssLine-CSAPFqUt.js","assets/error-DeRkl5Z2.js"])))=>i.map(i=>d[i]); -function Hs(e,t){for(var a=0;an[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function a(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(l){if(l.ep)return;l.ep=!0;const i=a(l);fetch(l.href,i)}})();const dg="modulepreload",hg=function(e){return"/"+e},bd={},Ut=function(t,a,n){let l=Promise.resolve();if(a&&a.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.all(a.map(u=>{if(u=hg(u),u in bd)return;bd[u]=!0;const c=u.endsWith(".css"),o=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${o}`))return;const s=document.createElement("link");if(s.rel=c?"stylesheet":dg,c||(s.as="script",s.crossOrigin=""),s.href=u,r&&s.setAttribute("nonce",r),document.head.appendChild(s),c)return new Promise((d,f)=>{s.addEventListener("load",d),s.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}return l.then(()=>t()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})};var y9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ll(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b9(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var l=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(a,n,l.get?l:{enumerable:!0,get:function(){return e[n]}})}),a}var Lh={exports:{}},Ku={};/** +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/markdownBrand-2KNU9Bj1.js","assets/RenderTopNavBar-C6YLj6sY.js","assets/Mdtoui-De8g0Gj_.js","assets/index-C29H8B_2.js","assets/redirectTo-AaFZn7xu.js","assets/index-BU6CM6-K.js","assets/links-B5asv8NG.js","assets/index-BMjzoizO.js","assets/index-XoI2c9b1.js","assets/mdui-gpddUef8.js","assets/index-DFC9d6f5.js","assets/releases-C1rwQ8gf.js","assets/IconRssLine-dU4u7fMc.js","assets/error-D4hOwfkO.js"])))=>i.map(i=>d[i]); +function Hs(e,t){for(var a=0;an[l]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const l of document.querySelectorAll('link[rel="modulepreload"]'))n(l);new MutationObserver(l=>{for(const i of l)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function a(l){const i={};return l.integrity&&(i.integrity=l.integrity),l.referrerPolicy&&(i.referrerPolicy=l.referrerPolicy),l.crossOrigin==="use-credentials"?i.credentials="include":l.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(l){if(l.ep)return;l.ep=!0;const i=a(l);fetch(l.href,i)}})();const dg="modulepreload",hg=function(e){return"/"+e},bd={},Ut=function(t,a,n){let l=Promise.resolve();if(a&&a.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),r=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));l=Promise.all(a.map(u=>{if(u=hg(u),u in bd)return;bd[u]=!0;const c=u.endsWith(".css"),o=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${o}`))return;const s=document.createElement("link");if(s.rel=c?"stylesheet":dg,c||(s.as="script",s.crossOrigin=""),s.href=u,r&&s.setAttribute("nonce",r),document.head.appendChild(s),c)return new Promise((d,f)=>{s.addEventListener("load",d),s.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${u}`)))})}))}return l.then(()=>t()).catch(i=>{const r=new Event("vite:preloadError",{cancelable:!0});if(r.payload=i,window.dispatchEvent(r),!r.defaultPrevented)throw i})};var y9=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ul(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function b9(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var a=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};a.prototype=t.prototype}else a={};return Object.defineProperty(a,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var l=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(a,n,l.get?l:{enumerable:!0,get:function(){return e[n]}})}),a}var Lh={exports:{}},Ku={};/** * @license React * react-jsx-runtime.production.js * @@ -7,7 +7,7 @@ function Hs(e,t){for(var a=0;a>>1,fe=z[ie];if(0>>1;iel(jt,Y))qel(_t,jt)?(z[ie]=_t,z[qe]=Y,ie=qe):(z[ie]=jt,z[pt]=Y,ie=pt);else if(qel(_t,Y))z[ie]=_t,z[qe]=Y,ie=qe;else break e}}return H}function l(z,H){var Y=z.sortIndex-H.sortIndex;return Y!==0?Y:z.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var r=Date,u=r.now();e.unstable_now=function(){return r.now()-u}}var c=[],o=[],s=1,d=null,f=3,p=!1,C=!1,S=!1,M=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;function v(z){for(var H=a(o);H!==null;){if(H.callback===null)n(o);else if(H.startTime<=z)n(o),H.sortIndex=H.expirationTime,t(c,H);else break;H=a(o)}}function R(z){if(S=!1,v(z),!C)if(a(c)!==null)C=!0,Ee();else{var H=a(o);H!==null&&Tt(R,H.startTime-z)}}var x=!1,y=-1,A=5,$=-1;function U(){return!(e.unstable_now()-$z&&U());){var ie=d.callback;if(typeof ie=="function"){d.callback=null,f=d.priorityLevel;var fe=ie(d.expirationTime<=z);if(z=e.unstable_now(),typeof fe=="function"){d.callback=fe,v(z),H=!0;break t}d===a(c)&&n(c),v(z)}else n(c);d=a(c)}if(d!==null)H=!0;else{var Ie=a(o);Ie!==null&&Tt(R,Ie.startTime-z),H=!1}}break e}finally{d=null,f=Y,p=!1}H=void 0}}finally{H?q():x=!1}}}var q;if(typeof h=="function")q=function(){h(j)};else if(typeof MessageChannel<"u"){var Me=new MessageChannel,_e=Me.port2;Me.port1.onmessage=j,q=function(){_e.postMessage(null)}}else q=function(){M(j,0)};function Ee(){x||(x=!0,q())}function Tt(z,H){y=M(function(){z(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){C||p||(C=!0,Ee())},e.unstable_forceFrameRate=function(z){0>z||125ie?(z.sortIndex=Y,t(o,z),a(c)===null&&z===a(o)&&(S?(m(y),y=-1):S=!0,Tt(R,Y-ie))):(z.sortIndex=fe,t(c,z),C||p||(C=!0,Ee())),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var H=f;return function(){var Y=f;f=H;try{return z.apply(this,arguments)}finally{f=Y}}}})(Zh);Xh.exports=Zh;var Dg=Xh.exports,Qh={exports:{}},st={};/** + */(function(e){function t(z,H){var Y=z.length;z.push(H);e:for(;0>>1,fe=z[le];if(0>>1;lel(jt,Y))qel(_t,jt)?(z[le]=_t,z[qe]=Y,le=qe):(z[le]=jt,z[pt]=Y,le=pt);else if(qel(_t,Y))z[le]=_t,z[qe]=Y,le=qe;else break e}}return H}function l(z,H){var Y=z.sortIndex-H.sortIndex;return Y!==0?Y:z.id-H.id}if(e.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var r=Date,u=r.now();e.unstable_now=function(){return r.now()-u}}var c=[],o=[],s=1,d=null,f=3,p=!1,C=!1,S=!1,M=typeof setTimeout=="function"?setTimeout:null,m=typeof clearTimeout=="function"?clearTimeout:null,h=typeof setImmediate<"u"?setImmediate:null;function v(z){for(var H=a(o);H!==null;){if(H.callback===null)n(o);else if(H.startTime<=z)n(o),H.sortIndex=H.expirationTime,t(c,H);else break;H=a(o)}}function R(z){if(S=!1,v(z),!C)if(a(c)!==null)C=!0,Ee();else{var H=a(o);H!==null&&Tt(R,H.startTime-z)}}var x=!1,y=-1,A=5,$=-1;function U(){return!(e.unstable_now()-$z&&U());){var le=d.callback;if(typeof le=="function"){d.callback=null,f=d.priorityLevel;var fe=le(d.expirationTime<=z);if(z=e.unstable_now(),typeof fe=="function"){d.callback=fe,v(z),H=!0;break t}d===a(c)&&n(c),v(z)}else n(c);d=a(c)}if(d!==null)H=!0;else{var Ie=a(o);Ie!==null&&Tt(R,Ie.startTime-z),H=!1}}break e}finally{d=null,f=Y,p=!1}H=void 0}}finally{H?q():x=!1}}}var q;if(typeof h=="function")q=function(){h(j)};else if(typeof MessageChannel<"u"){var Me=new MessageChannel,_e=Me.port2;Me.port1.onmessage=j,q=function(){_e.postMessage(null)}}else q=function(){M(j,0)};function Ee(){x||(x=!0,q())}function Tt(z,H){y=M(function(){z(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(z){z.callback=null},e.unstable_continueExecution=function(){C||p||(C=!0,Ee())},e.unstable_forceFrameRate=function(z){0>z||125le?(z.sortIndex=Y,t(o,z),a(c)===null&&z===a(o)&&(S?(m(y),y=-1):S=!0,Tt(R,Y-le))):(z.sortIndex=fe,t(c,z),C||p||(C=!0,Ee())),z},e.unstable_shouldYield=U,e.unstable_wrapCallback=function(z){var H=f;return function(){var Y=f;f=H;try{return z.apply(this,arguments)}finally{f=Y}}}})(Zh);Xh.exports=Zh;var Dg=Xh.exports,Qh={exports:{}},st={};/** * @license React * react-dom.production.js * @@ -31,7 +31,7 @@ function Hs(e,t){for(var a=0;a"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ph)}catch(e){console.error(e)}}Ph(),Qh.exports=st;var Ys=Qh.exports;const Jh=Ll(Ys),Ng=Hs({__proto__:null,default:Jh},[Ys]);/** + */function Kh(e){var t="https://react.dev/errors/"+e;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Ph)}catch(e){console.error(e)}}Ph(),Qh.exports=st;var Ys=Qh.exports;const Jh=Ul(Ys),Ng=Hs({__proto__:null,default:Jh},[Ys]);/** * @license React * react-dom-client.production.js * @@ -39,15 +39,15 @@ function Hs(e,t){for(var a=0;al||c[n]!==o[l]){var s=` -`+c[n].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=n&&0<=l);break}}}finally{jc=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?pi(a):""}function kg(e){switch(e.tag){case 26:case 27:case 5:return pi(e.type);case 16:return pi("Lazy");case 13:return pi("Suspense");case 19:return pi("SuspenseList");case 0:case 15:return e=Vc(e.type,!1),e;case 11:return e=Vc(e.type.render,!1),e;case 1:return e=Vc(e.type,!0),e;default:return""}}function Md(e){try{var t="";do t+=kg(e),e=e.return;while(e);return t}catch(a){return` +`+c[n].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=n&&0<=l);break}}}finally{jc=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?gi(a):""}function kg(e){switch(e.tag){case 26:case 27:case 5:return gi(e.type);case 16:return gi("Lazy");case 13:return gi("Suspense");case 19:return gi("SuspenseList");case 0:case 15:return e=Vc(e.type,!1),e;case 11:return e=Vc(e.type.render,!1),e;case 1:return e=Vc(e.type,!0),e;default:return""}}function Md(e){try{var t="";do t+=kg(e),e=e.return;while(e);return t}catch(a){return` Error generating stack: `+a.message+` -`+a.stack}}function Hl(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function am(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function xd(e){if(Hl(e)!==e)throw Error(w(188))}function Gg(e){var t=e.alternate;if(!t){if(t=Hl(e),t===null)throw Error(w(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return xd(l),e;if(i===n)return xd(l),t;i=i.sibling}throw Error(w(188))}if(a.return!==n.return)a=l,n=i;else{for(var r=!1,u=l.child;u;){if(u===a){r=!0,a=l,n=i;break}if(u===n){r=!0,n=l,a=i;break}u=u.sibling}if(!r){for(u=i.child;u;){if(u===a){r=!0,a=i,n=l;break}if(u===n){r=!0,n=i,a=l;break}u=u.sibling}if(!r)throw Error(w(189))}}if(a.alternate!==n)throw Error(w(190))}if(a.tag!==3)throw Error(w(188));return a.stateNode.current===a?e:t}function nm(e){return e=Gg(e),e!==null?lm(e):null}function lm(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=lm(e),t!==null)return t;e=e.sibling}return null}var gi=Array.isArray,ge=Lg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ai={pending:!1,data:null,method:null,action:null},Ho=[],ll=-1;function ua(e){return{current:e}}function Ge(e){0>ll||(e.current=Ho[ll],Ho[ll]=null,ll--)}function Se(e,t){ll++,Ho[ll]=e.current,e.current=t}var ea=ua(null),Vi=ua(null),Za=ua(null),Bo=ua(null),mu={$$typeof:Ya,Provider:null,Consumer:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(e,t){switch(Se(Za,t),Se(Vi,e),Se(ea,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?M1(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=M1(e),t=gv(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Ge(ea),Se(ea,t)}function Al(){Ge(ea),Ge(Vi),Ge(Za)}function jo(e){e.memoizedState!==null&&Se(Bo,e);var t=ea.current,a=gv(t,e.type);t!==a&&(Se(Vi,e),Se(ea,a))}function pu(e){Vi.current===e&&(Ge(ea),Ge(Vi)),Bo.current===e&&(Ge(Bo),mu._currentValue=null)}var Vo=Object.prototype.hasOwnProperty,qs=je.unstable_scheduleCallback,kc=je.unstable_cancelCallback,Yg=je.unstable_shouldYield,qg=je.unstable_requestPaint,ta=je.unstable_now,Xg=je.unstable_getCurrentPriorityLevel,Xs=je.unstable_ImmediatePriority,im=je.unstable_UserBlockingPriority,gu=je.unstable_NormalPriority,Zg=je.unstable_LowPriority,rm=je.unstable_IdlePriority,Qg=je.log,Kg=je.unstable_setDisableYieldValue,cr=null,Rt=null;function Pg(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(cr,e,void 0,(e.current.flags&128)===128)}catch{}}function qa(e){if(typeof Qg=="function"&&Kg(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(cr,e)}catch{}}var Lt=Math.clz32?Math.clz32:Fg,Jg=Math.log,Wg=Math.LN2;function Fg(e){return e>>>=0,e===0?32:31-(Jg(e)/Wg|0)|0}var xr=128,Dr=4194304;function yi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yu(e,t){var a=e.pendingLanes;if(a===0)return 0;var n=0,l=e.suspendedLanes;e=e.pingedLanes;var i=a&134217727;return i!==0?(a=i&~l,a!==0?n=yi(a):(e&=i,e!==0&&(n=yi(e)))):(a&=~l,a!==0?n=yi(a):e!==0&&(n=yi(e))),n===0?0:t!==0&&t!==n&&!(t&l)&&(l=n&-n,e=t&-t,l>=e||l===32&&(e&4194176)!==0)?t:n}function Ig(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function um(e,t){return e.errorRecoveryDisabledLanes&t?0:(e=e.pendingLanes&-536870913,e!==0?e:e&536870912?536870912:0)}function cm(){var e=xr;return xr<<=1,!(xr&4194176)&&(xr=128),e}function om(){var e=Dr;return Dr<<=1,!(Dr&62914560)&&(Dr=4194304),e}function Gc(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function ey(e,t,a){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0,t=e.entanglements;for(var l=e.expirationTimes,i=e.hiddenUpdates;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ly=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$d={},zd={};function iy(e){return Vo.call(zd,e)?!0:Vo.call($d,e)?!1:ly.test(e)?zd[e]=!0:($d[e]=!0,!1)}function Wr(e,t,a){if(iy(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Yc(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function sa(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function Mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ry(e){var t=pm(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(r){n=""+r,i.call(this,r)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(r){n=""+r},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bu(e){e._valueTracker||(e._valueTracker=ry(e))}function gm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=pm(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function Su(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var uy=/[\n"\\]/g;function $t(e){return e.replace(uy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Go(e,t,a,n,l,i,r,u){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Mt(t)):e.value!==""+Mt(t)&&(e.value=""+Mt(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?Yo(e,r,Mt(t)):a!=null?Yo(e,r,Mt(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.name=""+Mt(u):e.removeAttribute("name")}function ym(e,t,a,n,l,i,r,u){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null))return;a=a!=null?""+Mt(a):"",t=t!=null?""+Mt(t):a,u||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=u?e.checked:!!n,e.defaultChecked=!!n,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r)}function Yo(e,t,a){t==="number"&&Su(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function vl(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l=Ti),Vd=" ",kd=!1;function Tm(e,t){switch(e){case"keyup":return Ly.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _m(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rl=!1;function Hy(e,t){switch(e){case"compositionend":return _m(t);case"keypress":return t.which!==32?null:(kd=!0,Vd);case"textInput":return e=t.data,e===Vd&&kd?null:e;default:return null}}function By(e,t){if(rl)return e==="compositionend"||!Ws&&Tm(e,t)?(e=Cm(),Ir=Ps=Xa=null,rl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Zd(a)}}function xm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dm(){for(var e=window,t=Su();t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Su(e.document)}return t}function Fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zy(e){var t=Dm(),a=e.focusedElem,n=e.selectionRange;if(t!==a&&a&&a.ownerDocument&&xm(a.ownerDocument.documentElement,a)){if(n!==null&&Fs(a)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in a)a.selectionStart=t,a.selectionEnd=Math.min(e,a.value.length);else if(e=(t=a.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=a.textContent.length,i=Math.min(n.start,l);n=n.end===void 0?i:Math.min(n.end,l),!e.extend&&i>n&&(l=n,n=i,i=l),l=Qd(a,i);var r=Qd(a,n);l&&r&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(r.node,r.offset)):(t.setEnd(r.node,r.offset),e.addRange(t)))}}for(t=[],e=a;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a=document.documentMode,ul=null,Zo=null,wi=null,Qo=!1;function Kd(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Qo||ul==null||ul!==Su(n)||(n=ul,"selectionStart"in n&&Fs(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),wi&&qi(wi,n)||(wi=n,n=Uu(Zo,"onSelect"),0>=r,l-=r,ga=1<<32-Lt(t)+l|a<$?(U=A,A=null):U=A.sibling;var j=f(m,A,v[$],R);if(j===null){A===null&&(A=U);break}e&&A&&j.alternate===null&&t(m,A),h=i(j,h,$),y===null?x=j:y.sibling=j,y=j,A=U}if($===v.length)return a(m,A),ae&&sn(m,$),x;if(A===null){for(;$$?(U=A,A=null):U=A.sibling;var q=f(m,A,j.value,R);if(q===null){A===null&&(A=U);break}e&&A&&q.alternate===null&&t(m,A),h=i(q,h,$),y===null?x=q:y.sibling=q,y=q,A=U}if(j.done)return a(m,A),ae&&sn(m,$),x;if(A===null){for(;!j.done;$++,j=v.next())j=d(m,j.value,R),j!==null&&(h=i(j,h,$),y===null?x=j:y.sibling=j,y=j);return ae&&sn(m,$),x}for(A=n(A);!j.done;$++,j=v.next())j=p(A,m,$,j.value,R),j!==null&&(e&&j.alternate!==null&&A.delete(j.key===null?$:j.key),h=i(j,h,$),y===null?x=j:y.sibling=j,y=j);return e&&A.forEach(function(Me){return t(m,Me)}),ae&&sn(m,$),x}function M(m,h,v,R){if(typeof v=="object"&&v!==null&&v.type===vi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Or:e:{for(var x=v.key,y=h;y!==null;){if(y.key===x){if(x=v.type,x===vi){if(y.tag===7){a(m,y.sibling),h=l(y,v.props.children),h.return=m,m=h;break e}}else if(y.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===on&&t1(x)===y.type){a(m,y.sibling),h=l(y,v.props),ai(m,y,h,v),h.return=m,m=h;break e}a(m,y);break}else t(m,y);y=y.sibling}v.type===vi?(h=Sn(v.props.children,m.mode,R,v.key),h.return=m,m=h):(R=iu(v.type,v.key,v.props,null,m.mode,R),ai(m,h,R,v),R.return=m,m=R)}return r(m);case Mr:e:{for(y=v.key;h!==null;){if(h.key===y)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){a(m,h.sibling),h=l(h,v.children||[]),h.return=m,m=h;break e}else{a(m,h);break}else t(m,h);h=h.sibling}h=so(v,m.mode,R),h.return=m,m=h}return r(m);case on:return y=v._init,v=y(v._payload),M(m,h,v,R)}if(gi(v))return C(m,h,v,R);if(Fl(v)){if(y=Fl(v),typeof y!="function")throw Error(w(150));return v=y.call(v),S(m,h,v,R)}if(typeof v.then=="function")return M(m,h,Nr(v),R);if(v.$$typeof===Ya)return M(m,h,Hr(m,v,R),R);Lr(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,h!==null&&h.tag===6?(a(m,h.sibling),h=l(h,v),h.return=m,m=h):(a(m,h),h=oo(v,m.mode,R),h.return=m,m=h),r(m)):a(m,h)}return function(m,h,v,R){try{Zi=0;var x=M(m,h,v,R);return gl=null,x}catch(A){if(A===Oi)throw A;var y=Nt(29,A,null,m.mode);return y.lanes=R,y.return=m,y}finally{}}}var Cn=Gm(!0),Ym=Gm(!1),wl=ua(null),Au=ua(0);function a1(e,t){e=_a,Se(Au,e),Se(wl,t),_a=e|t.baseLanes}function Jo(){Se(Au,_a),Se(wl,wl.current)}function nf(){_a=Au.current,Ge(wl),Ge(Au)}var la=ua(null),aa=null;function ja(e){var t=e.alternate;Se(Be,Be.current&1),Se(la,e),aa===null&&(t===null||wl.current!==null||t.memoizedState!==null)&&(aa=e)}function qm(e){if(e.tag===22){if(Se(Be,Be.current),Se(la,e),aa===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(aa=e)}}else Va()}function Va(){Se(Be,Be.current),Se(la,la.current)}function ba(e){Ge(la),aa===e&&(aa=null),Ge(Be)}var Be=ua(0);function Tu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Fy=je.unstable_scheduleCallback,Iy=je.unstable_NormalPriority,He={$$typeof:Ya,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lf(){return{controller:new Wy,data:new Map,refCount:0}}function fr(e){e.refCount--,e.refCount===0&&Fy(Iy,function(){e.controller.abort()})}var xi=null,Wo=0,Ol=0,yl=null;function e2(e,t){if(xi===null){var a=xi=[];Wo=0,Ol=xf(),yl={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Wo++,t.then(n1,n1),t}function n1(){if(xi!==null&&--Wo===0){yl!==null&&(yl.status="fulfilled");var e=xi;xi=null,Ol=0,yl=null;for(var t=0;ti?i:8;var r=X.T,u={};X.T=u,yf(e,!1,t,a);try{var c=l(),o=X.S;if(o!==null&&o(u,c),c!==null&&typeof c=="object"&&typeof c.then=="function"){var s=t2(c,n);El(e,t,s)}else El(e,t,n)}catch(d){El(e,t,{then:function(){},status:"rejected",reason:d})}finally{ge.p=i,X.T=r}}function r2(){}function es(e,t,a,n){if(e.tag!==5)throw Error(w(476));var l=g0(e).queue;p0(e,l,t,Ai,a===null?r2:function(){return y0(e),a(n)})}function g0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ai,baseState:Ai,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:Ai},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function y0(e){var t=g0(e).next.queue;El(e,t,{})}function gf(){var e=nt(mu);return e!==null?e:Ai}function b0(){return Ue().memoizedState}function S0(){return Ue().memoizedState}function u2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Ra();e=Ea(a);var n=Qa(t,e,a);n!==null&&(ot(n,t,a),$i(n,t,a)),t={cache:lf()},e.payload=t;return}t=t.return}}function c2(e,t,a){var n=Ra();a={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},ic(e)?E0(t,a):(a=ef(e,t,a,n),a!==null&&(ot(a,e,n),R0(a,t,n)))}function El(e,t,a){var n=Ra(),l={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ic(e))E0(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var r=t.lastRenderedState,u=i(r,a);if(l.hasEagerState=!0,l.eagerState=u,Ht(u,r)){tc(e,t,l,0),se===null&&ec();return}}catch{}finally{}a=ef(e,t,l,n),a!==null&&(ot(a,e,n),R0(a,t,n))}}function yf(e,t,a,n){if(n={lane:2,revertLane:xf(),action:n,hasEagerState:!1,eagerState:null,next:null},ic(e)){if(t)throw Error(w(479))}else t=ef(e,a,n,2),t!==null&&ot(t,e,2)}function ic(e){var t=e.alternate;return e===P||t!==null&&t===P}function E0(e,t){bl=_u=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function R0(e,t,a){if(a&4194176){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fm(e,a)}}var ia={readContext:nt,use:nc,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useLayoutEffect:xe,useInsertionEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useSyncExternalStore:xe,useId:xe};ia.useCacheRefresh=xe;ia.useMemoCache=xe;ia.useHostTransitionStatus=xe;ia.useFormState=xe;ia.useActionState=xe;ia.useOptimistic=xe;var Ln={readContext:nt,use:nc,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:u1,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,nu(4194308,4,f0.bind(null,t,e),a)},useLayoutEffect:function(e,t){return nu(4194308,4,e,t)},useInsertionEffect:function(e,t){nu(4,2,e,t)},useMemo:function(e,t){var a=ft();t=t===void 0?null:t;var n=e();return An&&(qa(!0),e(),qa(!1)),a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=ft();if(a!==void 0){var l=a(t);An&&(qa(!0),a(t),qa(!1))}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=c2.bind(null,P,e),[n.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:function(e){e=Fo(e);var t=e.queue,a=El.bind(null,P,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:vf,useDeferredValue:function(e,t){var a=ft();return pf(a,e,t)},useTransition:function(){var e=Fo(!1);return e=p0.bind(null,P,e.queue,!0,!1),ft().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=P,l=ft();if(ae){if(a===void 0)throw Error(w(407));a=a()}else{if(a=t(),se===null)throw Error(w(349));ne&60||Pm(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,u1(Wm.bind(null,n,i,e),[e]),n.flags|=2048,Ml(9,Jm.bind(null,n,i,a,t),{destroy:void 0},null),a},useId:function(){var e=ft(),t=se.identifierPrefix;if(ae){var a=ya,n=ga;a=(n&~(1<<32-Lt(n)-1)).toString(32)+a,t=":"+t+"R"+a,a=wu++,0 title"))),We(l,n,a),l[at]=e,ke(l),n=l;break e;case"link":var i=L1("link","href",t).get(n+(a.href||""));if(i){for(var r=0;r<\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof n.is=="string"?l.createElement("select",{is:n.is}):l.createElement("select"),n.multiple?e.multiple=!0:n.size&&(e.size=n.size);break;default:e=typeof n.is=="string"?l.createElement(a,{is:n.is}):l.createElement(a)}}e[at]=t,e[ct]=n;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(We(e,a,n),a){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ha(t)}}return Re(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ha(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(w(166));if(e=Za.current,ti(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=rt,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[at]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||pv(e.nodeValue,a)),e||Rn(t)}else e=Hu(e).createTextNode(n),e[at]=t,t.stateNode=e}return Re(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=ti(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(w(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(w(317));l[at]=t}else sr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),l=!1}else qt!==null&&(vs(qt),qt=null),l=!0;if(!l)return t.flags&256?(ba(t),t):(ba(t),null)}if(ba(t),t.flags&128)return t.lanes=a,t;if(a=n!==null,e=e!==null&&e.memoizedState!==null,a){n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool);var i=null;n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),Br(t,t.updateQueue),Re(t),null;case 4:return Al(),e===null&&Df(t.stateNode.containerInfo),Re(t),null;case 10:return Sa(t.type),Re(t),null;case 19:if(Ge(Be),l=t.memoizedState,l===null)return Re(t),null;if(n=(t.flags&128)!==0,i=l.rendering,i===null)if(n)ni(l,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Tu(e),i!==null){for(t.flags|=128,ni(l,!1),e=i.updateQueue,t.updateQueue=e,Br(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ev(a,e),a=a.sibling;return Se(Be,Be.current&1|2),t.child}e=e.sibling}l.tail!==null&&ta()>$u&&(t.flags|=128,n=!0,ni(l,!1),t.lanes=4194304)}else{if(!n)if(e=Tu(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Br(t,e),ni(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!ae)return Re(t),null}else 2*ta()-l.renderingStartTime>$u&&a!==536870912&&(t.flags|=128,n=!0,ni(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ta(),t.sibling=null,e=Be.current,Se(Be,n?e&1|2:e&1),t):(Re(t),null);case 22:case 23:return ba(t),nf(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?a&536870912&&!(t.flags&128)&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),a=t.updateQueue,a!==null&&Br(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&Ge(bn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Sa(He),Re(t),null;case 25:return null}throw Error(w(156,t.tag))}function v2(e,t){switch(af(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(He),Al(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pu(t),null;case 13:if(ba(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Be),null;case 4:return Al(),null;case 10:return Sa(t.type),null;case 22:case 23:return ba(t),nf(),e!==null&&Ge(bn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(He),null;case 25:return null;default:return null}}function av(e,t){switch(af(t),t.tag){case 3:Sa(He),Al();break;case 26:case 27:case 5:pu(t);break;case 4:Al();break;case 13:ba(t);break;case 19:Ge(Be);break;case 10:Sa(t.type);break;case 22:case 23:ba(t),nf(),e!==null&&Ge(bn);break;case 24:Sa(He)}}var p2={getCacheForType:function(e){var t=nt(He),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},g2=typeof WeakMap=="function"?WeakMap:Map,re=0,se=null,W=null,ne=0,Ce=0,Ot=null,Tf=!1,_a=0,Oe=0,wa=0,Vl=0,_f=0,dt=0,Ui=null,Xt=null,Dl=!1,Du=!1,wf=0,$u=1/0,Ki=null,Pa=null,jr=!1,fn=null,Hi=0,ds=0,hs=null,Bi=0,ms=null;function Ra(){if(re&2&&ne!==0)return ne&-ne;if(X.T!==null){var e=Ol;return e!==0?e:xf()}return hm()}function nv(){dt===0&&(dt=!(ne&536870912)||ae?cm():536870912);var e=la.current;return e!==null&&(e.flags|=32),dt}function ot(e,t,a){(e===se&&Ce===2||e.cancelPendingCommit!==null)&&(Hn(e,0),It(e,ne,dt)),hr(e,a),(!(re&2)||e!==se)&&(e===se&&(!(re&2)&&(Vl|=a),Oe===4&&It(e,ne,dt)),ht(e))}function lv(e,t){if(re&6)throw Error(w(327));var a=e.callbackNode;if(Rl()&&e.callbackNode!==a)return null;var n=yu(e,e===se?ne:0);if(n===0)return null;var l=(n&60)===0&&(n&e.expiredLanes)===0&&!t;if(t=l?E2(e,n):zu(e,n),t!==0){var i=l;do{if(t===6)It(e,n,0);else{if(l=e.current.alternate,i&&!y2(l)){t=zu(e,n),i=!1;continue}if(t===2){i=n;var r=um(e,i);if(r!==0&&(n=r,t=iv(e,i,r),i=!1,t!==2))continue}if(t===1){Hn(e,0),It(e,n,0);break}e.finishedWork=l,e.finishedLanes=n;e:{switch(i=e,t){case 0:case 1:throw Error(w(345));case 4:if((n&4194176)===n){It(i,n,dt);break e}break;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(w(329))}if((n&62914560)===n&&(t=wf+300-ta(),10a?32:a,X.T=null,fn===null)var i=!1;else{a=hs,hs=null;var r=fn,u=Hi;if(fn=null,Hi=0,re&6)throw Error(w(331));var c=re;if(re|=4,F0(r.current),P0(r,r.current,u,a),re=c,mr(),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(cr,r)}catch{}i=!0}return i}finally{ge.p=l,X.T=n,fv(e,t)}}return!1}function C1(e,t,a){t=zt(a,t),t=ts(e.stateNode,t,2),e=Qa(e,t,2),e!==null&&(hr(e,2),ht(e))}function he(e,t,a){if(e.tag===3)C1(e,e,a);else for(;t!==null;){if(t.tag===3){C1(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Pa===null||!Pa.has(n))){e=zt(a,e),a=_0(2),n=Qa(t,a,2),n!==null&&(w0(a,n,t,e),hr(n,2),ht(n));break}}t=t.return}}function fo(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new g2;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(Tf=!0,l.add(a),e=A2.bind(null,e,t,a),t.then(e,e))}function A2(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,re&2?Dl=!0:re&4&&(Du=!0),Mf(),se===e&&(ne&a)===a&&(Oe===4||Oe===3&&(ne&62914560)===ne&&300>ta()-wf?!(re&2)&&Hn(e,0):_f|=a),ht(e)}function dv(e,t){t===0&&(t=om()),e=Ia(e,t),e!==null&&(hr(e,t),ht(e))}function T2(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),dv(e,a)}function _2(e,t){var a=0;switch(e.tag){case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(w(314))}n!==null&&n.delete(t),dv(e,a)}function Mf(){if(50"u"?null:document;function Sv(e,t,a){var n=kl;if(n&&typeof t=="string"&&t){var l=$t(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),$1.has(l)||($1.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),We(t,"link",e),ke(t),n.head.appendChild(t)))}}function q2(e){Oa.D(e),Sv("dns-prefetch",e,null)}function X2(e,t){Oa.C(e,t),Sv("preconnect",e,t)}function Z2(e,t,a){Oa.L(e,t,a);var n=kl;if(n&&e&&t){var l='link[rel="preload"][as="'+$t(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+$t(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+$t(a.imageSizes)+'"]')):l+='[href="'+$t(e)+'"]';var i=l;switch(t){case"style":i=$l(e);break;case"script":i=Gl(e)}Bt.has(i)||(e=ye({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Bt.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector(vr(i))||t==="script"&&n.querySelector(pr(i))||(t=n.createElement("link"),We(t,"link",e),ke(t),n.head.appendChild(t)))}}function Q2(e,t){Oa.m(e,t);var a=kl;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+$t(n)+'"][href="'+$t(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Gl(e)}if(!Bt.has(i)&&(e=ye({rel:"modulepreload",href:e},t),Bt.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(pr(i)))return}n=a.createElement("link"),We(n,"link",e),ke(n),a.head.appendChild(n)}}}function K2(e,t,a){Oa.S(e,t,a);var n=kl;if(n&&e){var l=ml(n).hoistableStyles,i=$l(e);t=t||"default";var r=l.get(i);if(!r){var u={loading:0,preload:null};if(r=n.querySelector(vr(i)))u.loading=5;else{e=ye({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Bt.get(i))&&$f(e,a);var c=r=n.createElement("link");ke(c),We(c,"link",e),c._p=new Promise(function(o,s){c.onload=o,c.onerror=s}),c.addEventListener("load",function(){u.loading|=1}),c.addEventListener("error",function(){u.loading|=2}),u.loading|=4,ru(r,t,n)}r={type:"stylesheet",instance:r,count:1,state:u},l.set(i,r)}}}function P2(e,t){Oa.X(e,t);var a=kl;if(a&&e){var n=ml(a).hoistableScripts,l=Gl(e),i=n.get(l);i||(i=a.querySelector(pr(l)),i||(e=ye({src:e,async:!0},t),(t=Bt.get(l))&&zf(e,t),i=a.createElement("script"),ke(i),We(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function J2(e,t){Oa.M(e,t);var a=kl;if(a&&e){var n=ml(a).hoistableScripts,l=Gl(e),i=n.get(l);i||(i=a.querySelector(pr(l)),i||(e=ye({src:e,async:!0,type:"module"},t),(t=Bt.get(l))&&zf(e,t),i=a.createElement("script"),ke(i),We(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function z1(e,t,a,n){var l=(l=Za.current)?Bu(l):null;if(!l)throw Error(w(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=$l(a.href),a=ml(l).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=$l(a.href);var i=ml(l).hoistableStyles,r=i.get(e);if(r||(l=l.ownerDocument||l,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,r),(i=l.querySelector(vr(e)))&&!i._p&&(r.instance=i,r.state.loading=5),Bt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Bt.set(e,a),i||W2(l,e,a,r.state))),t&&n===null)throw Error(w(528,""));return r}if(t&&n!==null)throw Error(w(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Gl(a),a=ml(l).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(w(444,e))}}function $l(e){return'href="'+$t(e)+'"'}function vr(e){return'link[rel="stylesheet"]['+e+"]"}function Ev(e){return ye({},e,{"data-precedence":e.precedence,precedence:null})}function W2(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),We(t,"link",a),ke(t),e.head.appendChild(t))}function Gl(e){return'[src="'+$t(e)+'"]'}function pr(e){return"script[async]"+e}function N1(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+$t(a.href)+'"]');if(n)return t.instance=n,ke(n),n;var l=ye({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),ke(n),We(n,"style",l),ru(n,a.precedence,e),t.instance=n;case"stylesheet":l=$l(a.href);var i=e.querySelector(vr(l));if(i)return t.state.loading|=4,t.instance=i,ke(i),i;n=Ev(a),(l=Bt.get(l))&&$f(n,l),i=(e.ownerDocument||e).createElement("link"),ke(i);var r=i;return r._p=new Promise(function(u,c){r.onload=u,r.onerror=c}),We(i,"link",n),t.state.loading|=4,ru(i,a.precedence,e),t.instance=i;case"script":return i=Gl(a.src),(l=e.querySelector(pr(i)))?(t.instance=l,ke(l),l):(n=a,(l=Bt.get(i))&&(n=ye({},a),zf(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),ke(l),We(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(w(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,ru(n,a.precedence,e));return t.instance}function ru(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,r=0;r title"):null)}function F2(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Rv(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Wi=null;function I2(){}function eb(e,t,a){if(Wi===null)throw Error(w(475));var n=Wi;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var l=$l(a.href),i=e.querySelector(vr(l));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(n.count++,n=ju.bind(n),e.then(n,n)),t.state.loading|=4,t.instance=i,ke(i);return}i=e.ownerDocument||e,a=Ev(a),(l=Bt.get(l))&&$f(a,l),i=i.createElement("link"),ke(i);var r=i;r._p=new Promise(function(u,c){r.onload=u,r.onerror=c}),We(i,"link",a),t.instance=i}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(n.count++,t=ju.bind(n),e.addEventListener("load",t),e.addEventListener("error",t))}}function tb(){if(Wi===null)throw Error(w(475));var e=Wi;return e.stylesheets&&e.count===0&&As(e,e.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mv)}catch(e){console.error(e)}}Mv(),qh.exports=Pu;var xv=qh.exports;const Dv=Ll(xv),S9=Hs({__proto__:null,default:Dv},[xv]);/** - * @remix-run/router v1.17.1 +`+a.stack}}function Bl(e){var t=e,a=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do t=e,t.flags&4098&&(a=t.return),e=t.return;while(e)}return t.tag===3?a:null}function am(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function xd(e){if(Bl(e)!==e)throw Error(w(188))}function Gg(e){var t=e.alternate;if(!t){if(t=Bl(e),t===null)throw Error(w(188));return t!==e?null:e}for(var a=e,n=t;;){var l=a.return;if(l===null)break;var i=l.alternate;if(i===null){if(n=l.return,n!==null){a=n;continue}break}if(l.child===i.child){for(i=l.child;i;){if(i===a)return xd(l),e;if(i===n)return xd(l),t;i=i.sibling}throw Error(w(188))}if(a.return!==n.return)a=l,n=i;else{for(var r=!1,u=l.child;u;){if(u===a){r=!0,a=l,n=i;break}if(u===n){r=!0,n=l,a=i;break}u=u.sibling}if(!r){for(u=i.child;u;){if(u===a){r=!0,a=i,n=l;break}if(u===n){r=!0,n=i,a=l;break}u=u.sibling}if(!r)throw Error(w(189))}}if(a.alternate!==n)throw Error(w(190))}if(a.tag!==3)throw Error(w(188));return a.stateNode.current===a?e:t}function nm(e){return e=Gg(e),e!==null?lm(e):null}function lm(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=lm(e),t!==null)return t;e=e.sibling}return null}var yi=Array.isArray,pe=Lg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Ti={pending:!1,data:null,method:null,action:null},Ho=[],ll=-1;function ua(e){return{current:e}}function Ge(e){0>ll||(e.current=Ho[ll],Ho[ll]=null,ll--)}function Se(e,t){ll++,Ho[ll]=e.current,e.current=t}var ea=ua(null),Vi=ua(null),Za=ua(null),Bo=ua(null),mu={$$typeof:Ya,Provider:null,Consumer:null,_currentValue:null,_currentValue2:null,_threadCount:0};function vu(e,t){switch(Se(Za,t),Se(Vi,e),Se(ea,null),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)&&(t=t.namespaceURI)?M1(t):0;break;default:if(e=e===8?t.parentNode:t,t=e.tagName,e=e.namespaceURI)e=M1(e),t=gv(e,t);else switch(t){case"svg":t=1;break;case"math":t=2;break;default:t=0}}Ge(ea),Se(ea,t)}function Tl(){Ge(ea),Ge(Vi),Ge(Za)}function jo(e){e.memoizedState!==null&&Se(Bo,e);var t=ea.current,a=gv(t,e.type);t!==a&&(Se(Vi,e),Se(ea,a))}function pu(e){Vi.current===e&&(Ge(ea),Ge(Vi)),Bo.current===e&&(Ge(Bo),mu._currentValue=null)}var Vo=Object.prototype.hasOwnProperty,qs=je.unstable_scheduleCallback,kc=je.unstable_cancelCallback,Yg=je.unstable_shouldYield,qg=je.unstable_requestPaint,ta=je.unstable_now,Xg=je.unstable_getCurrentPriorityLevel,Xs=je.unstable_ImmediatePriority,im=je.unstable_UserBlockingPriority,gu=je.unstable_NormalPriority,Zg=je.unstable_LowPriority,rm=je.unstable_IdlePriority,Qg=je.log,Kg=je.unstable_setDisableYieldValue,cr=null,Rt=null;function Pg(e){if(Rt&&typeof Rt.onCommitFiberRoot=="function")try{Rt.onCommitFiberRoot(cr,e,void 0,(e.current.flags&128)===128)}catch{}}function qa(e){if(typeof Qg=="function"&&Kg(e),Rt&&typeof Rt.setStrictMode=="function")try{Rt.setStrictMode(cr,e)}catch{}}var Lt=Math.clz32?Math.clz32:Fg,Jg=Math.log,Wg=Math.LN2;function Fg(e){return e>>>=0,e===0?32:31-(Jg(e)/Wg|0)|0}var xr=128,Dr=4194304;function bi(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function yu(e,t){var a=e.pendingLanes;if(a===0)return 0;var n=0,l=e.suspendedLanes;e=e.pingedLanes;var i=a&134217727;return i!==0?(a=i&~l,a!==0?n=bi(a):(e&=i,e!==0&&(n=bi(e)))):(a&=~l,a!==0?n=bi(a):e!==0&&(n=bi(e))),n===0?0:t!==0&&t!==n&&!(t&l)&&(l=n&-n,e=t&-t,l>=e||l===32&&(e&4194176)!==0)?t:n}function Ig(e,t){switch(e){case 1:case 2:case 4:case 8:return t+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function um(e,t){return e.errorRecoveryDisabledLanes&t?0:(e=e.pendingLanes&-536870913,e!==0?e:e&536870912?536870912:0)}function cm(){var e=xr;return xr<<=1,!(xr&4194176)&&(xr=128),e}function om(){var e=Dr;return Dr<<=1,!(Dr&62914560)&&(Dr=4194304),e}function Gc(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function ey(e,t,a){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.entangledLanes&=t,e.errorRecoveryDisabledLanes&=t,e.shellSuspendCounter=0,t=e.entanglements;for(var l=e.expirationTimes,i=e.hiddenUpdates;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),ly=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),$d={},zd={};function iy(e){return Vo.call(zd,e)?!0:Vo.call($d,e)?!1:ly.test(e)?zd[e]=!0:($d[e]=!0,!1)}function Wr(e,t,a){if(iy(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,""+a)}}function Yc(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,""+a)}}function sa(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,""+n)}}function Mt(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function pm(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ry(e){var t=pm(e)?"checked":"value",a=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var l=a.get,i=a.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(r){n=""+r,i.call(this,r)}}),Object.defineProperty(e,t,{enumerable:a.enumerable}),{getValue:function(){return n},setValue:function(r){n=""+r},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function bu(e){e._valueTracker||(e._valueTracker=ry(e))}function gm(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=pm(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}function Su(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}var uy=/[\n"\\]/g;function $t(e){return e.replace(uy,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Go(e,t,a,n,l,i,r,u){e.name="",r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"?e.type=r:e.removeAttribute("type"),t!=null?r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Mt(t)):e.value!==""+Mt(t)&&(e.value=""+Mt(t)):r!=="submit"&&r!=="reset"||e.removeAttribute("value"),t!=null?Yo(e,r,Mt(t)):a!=null?Yo(e,r,Mt(a)):n!=null&&e.removeAttribute("value"),l==null&&i!=null&&(e.defaultChecked=!!i),l!=null&&(e.checked=l&&typeof l!="function"&&typeof l!="symbol"),u!=null&&typeof u!="function"&&typeof u!="symbol"&&typeof u!="boolean"?e.name=""+Mt(u):e.removeAttribute("name")}function ym(e,t,a,n,l,i,r,u){if(i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.type=i),t!=null||a!=null){if(!(i!=="submit"&&i!=="reset"||t!=null))return;a=a!=null?""+Mt(a):"",t=t!=null?""+Mt(t):a,u||t===e.value||(e.value=t),e.defaultValue=t}n=n??l,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=u?e.checked:!!n,e.defaultChecked=!!n,r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.name=r)}function Yo(e,t,a){t==="number"&&Su(e.ownerDocument)===e||e.defaultValue===""+a||(e.defaultValue=""+a)}function pl(e,t,a,n){if(e=e.options,t){t={};for(var l=0;l=_i),Vd=" ",kd=!1;function Tm(e,t){switch(e){case"keyup":return Ly.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function _m(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var rl=!1;function Hy(e,t){switch(e){case"compositionend":return _m(t);case"keypress":return t.which!==32?null:(kd=!0,Vd);case"textInput":return e=t.data,e===Vd&&kd?null:e;default:return null}}function By(e,t){if(rl)return e==="compositionend"||!Ws&&Tm(e,t)?(e=Cm(),Ir=Ps=Xa=null,rl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=Zd(a)}}function xm(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?xm(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function Dm(){for(var e=window,t=Su();t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Su(e.document)}return t}function Fs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function Zy(e){var t=Dm(),a=e.focusedElem,n=e.selectionRange;if(t!==a&&a&&a.ownerDocument&&xm(a.ownerDocument.documentElement,a)){if(n!==null&&Fs(a)){if(t=n.start,e=n.end,e===void 0&&(e=t),"selectionStart"in a)a.selectionStart=t,a.selectionEnd=Math.min(e,a.value.length);else if(e=(t=a.ownerDocument||document)&&t.defaultView||window,e.getSelection){e=e.getSelection();var l=a.textContent.length,i=Math.min(n.start,l);n=n.end===void 0?i:Math.min(n.end,l),!e.extend&&i>n&&(l=n,n=i,i=l),l=Qd(a,i);var r=Qd(a,n);l&&r&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==r.node||e.focusOffset!==r.offset)&&(t=t.createRange(),t.setStart(l.node,l.offset),e.removeAllRanges(),i>n?(e.addRange(t),e.extend(r.node,r.offset)):(t.setEnd(r.node,r.offset),e.addRange(t)))}}for(t=[],e=a;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof a.focus=="function"&&a.focus(),a=0;a=document.documentMode,ul=null,Zo=null,Oi=null,Qo=!1;function Kd(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Qo||ul==null||ul!==Su(n)||(n=ul,"selectionStart"in n&&Fs(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),Oi&&qi(Oi,n)||(Oi=n,n=Uu(Zo,"onSelect"),0>=r,l-=r,ga=1<<32-Lt(t)+l|a<$?(U=A,A=null):U=A.sibling;var j=f(m,A,v[$],R);if(j===null){A===null&&(A=U);break}e&&A&&j.alternate===null&&t(m,A),h=i(j,h,$),y===null?x=j:y.sibling=j,y=j,A=U}if($===v.length)return a(m,A),te&&sn(m,$),x;if(A===null){for(;$$?(U=A,A=null):U=A.sibling;var q=f(m,A,j.value,R);if(q===null){A===null&&(A=U);break}e&&A&&q.alternate===null&&t(m,A),h=i(q,h,$),y===null?x=q:y.sibling=q,y=q,A=U}if(j.done)return a(m,A),te&&sn(m,$),x;if(A===null){for(;!j.done;$++,j=v.next())j=d(m,j.value,R),j!==null&&(h=i(j,h,$),y===null?x=j:y.sibling=j,y=j);return te&&sn(m,$),x}for(A=n(A);!j.done;$++,j=v.next())j=p(A,m,$,j.value,R),j!==null&&(e&&j.alternate!==null&&A.delete(j.key===null?$:j.key),h=i(j,h,$),y===null?x=j:y.sibling=j,y=j);return e&&A.forEach(function(Me){return t(m,Me)}),te&&sn(m,$),x}function M(m,h,v,R){if(typeof v=="object"&&v!==null&&v.type===pi&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Or:e:{for(var x=v.key,y=h;y!==null;){if(y.key===x){if(x=v.type,x===pi){if(y.tag===7){a(m,y.sibling),h=l(y,v.props.children),h.return=m,m=h;break e}}else if(y.elementType===x||typeof x=="object"&&x!==null&&x.$$typeof===on&&t1(x)===y.type){a(m,y.sibling),h=l(y,v.props),ni(m,y,h,v),h.return=m,m=h;break e}a(m,y);break}else t(m,y);y=y.sibling}v.type===pi?(h=Sn(v.props.children,m.mode,R,v.key),h.return=m,m=h):(R=iu(v.type,v.key,v.props,null,m.mode,R),ni(m,h,R,v),R.return=m,m=R)}return r(m);case Mr:e:{for(y=v.key;h!==null;){if(h.key===y)if(h.tag===4&&h.stateNode.containerInfo===v.containerInfo&&h.stateNode.implementation===v.implementation){a(m,h.sibling),h=l(h,v.children||[]),h.return=m,m=h;break e}else{a(m,h);break}else t(m,h);h=h.sibling}h=so(v,m.mode,R),h.return=m,m=h}return r(m);case on:return y=v._init,v=y(v._payload),M(m,h,v,R)}if(yi(v))return C(m,h,v,R);if(Il(v)){if(y=Il(v),typeof y!="function")throw Error(w(150));return v=y.call(v),S(m,h,v,R)}if(typeof v.then=="function")return M(m,h,Nr(v),R);if(v.$$typeof===Ya)return M(m,h,Hr(m,v,R),R);Lr(m,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,h!==null&&h.tag===6?(a(m,h.sibling),h=l(h,v),h.return=m,m=h):(a(m,h),h=oo(v,m.mode,R),h.return=m,m=h),r(m)):a(m,h)}return function(m,h,v,R){try{Zi=0;var x=M(m,h,v,R);return yl=null,x}catch(A){if(A===Mi)throw A;var y=Nt(29,A,null,m.mode);return y.lanes=R,y.return=m,y}finally{}}}var Cn=Gm(!0),Ym=Gm(!1),Ol=ua(null),Au=ua(0);function a1(e,t){e=_a,Se(Au,e),Se(Ol,t),_a=e|t.baseLanes}function Jo(){Se(Au,_a),Se(Ol,Ol.current)}function nf(){_a=Au.current,Ge(Ol),Ge(Au)}var la=ua(null),aa=null;function ja(e){var t=e.alternate;Se(Be,Be.current&1),Se(la,e),aa===null&&(t===null||Ol.current!==null||t.memoizedState!==null)&&(aa=e)}function qm(e){if(e.tag===22){if(Se(Be,Be.current),Se(la,e),aa===null){var t=e.alternate;t!==null&&t.memoizedState!==null&&(aa=e)}}else Va()}function Va(){Se(Be,Be.current),Se(la,la.current)}function ba(e){Ge(la),aa===e&&(aa=null),Ge(Be)}var Be=ua(0);function Tu(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Wy=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Fy=je.unstable_scheduleCallback,Iy=je.unstable_NormalPriority,He={$$typeof:Ya,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function lf(){return{controller:new Wy,data:new Map,refCount:0}}function fr(e){e.refCount--,e.refCount===0&&Fy(Iy,function(){e.controller.abort()})}var Di=null,Wo=0,Ml=0,bl=null;function e2(e,t){if(Di===null){var a=Di=[];Wo=0,Ml=xf(),bl={status:"pending",value:void 0,then:function(n){a.push(n)}}}return Wo++,t.then(n1,n1),t}function n1(){if(Di!==null&&--Wo===0){bl!==null&&(bl.status="fulfilled");var e=Di;Di=null,Ml=0,bl=null;for(var t=0;ti?i:8;var r=X.T,u={};X.T=u,yf(e,!1,t,a);try{var c=l(),o=X.S;if(o!==null&&o(u,c),c!==null&&typeof c=="object"&&typeof c.then=="function"){var s=t2(c,n);Rl(e,t,s)}else Rl(e,t,n)}catch(d){Rl(e,t,{then:function(){},status:"rejected",reason:d})}finally{pe.p=i,X.T=r}}function r2(){}function es(e,t,a,n){if(e.tag!==5)throw Error(w(476));var l=g0(e).queue;p0(e,l,t,Ti,a===null?r2:function(){return y0(e),a(n)})}function g0(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Ti,baseState:Ti,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:Ti},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Ta,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function y0(e){var t=g0(e).next.queue;Rl(e,t,{})}function gf(){var e=nt(mu);return e!==null?e:Ti}function b0(){return Ue().memoizedState}function S0(){return Ue().memoizedState}function u2(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Ra();e=Ea(a);var n=Qa(t,e,a);n!==null&&(ot(n,t,a),zi(n,t,a)),t={cache:lf()},e.payload=t;return}t=t.return}}function c2(e,t,a){var n=Ra();a={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},ic(e)?E0(t,a):(a=ef(e,t,a,n),a!==null&&(ot(a,e,n),R0(a,t,n)))}function Rl(e,t,a){var n=Ra(),l={lane:n,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(ic(e))E0(t,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=t.lastRenderedReducer,i!==null))try{var r=t.lastRenderedState,u=i(r,a);if(l.hasEagerState=!0,l.eagerState=u,Ht(u,r)){tc(e,t,l,0),se===null&&ec();return}}catch{}finally{}a=ef(e,t,l,n),a!==null&&(ot(a,e,n),R0(a,t,n))}}function yf(e,t,a,n){if(n={lane:2,revertLane:xf(),action:n,hasEagerState:!1,eagerState:null,next:null},ic(e)){if(t)throw Error(w(479))}else t=ef(e,a,n,2),t!==null&&ot(t,e,2)}function ic(e){var t=e.alternate;return e===P||t!==null&&t===P}function E0(e,t){Sl=_u=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function R0(e,t,a){if(a&4194176){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,fm(e,a)}}var ia={readContext:nt,use:nc,useCallback:xe,useContext:xe,useEffect:xe,useImperativeHandle:xe,useLayoutEffect:xe,useInsertionEffect:xe,useMemo:xe,useReducer:xe,useRef:xe,useState:xe,useDebugValue:xe,useDeferredValue:xe,useTransition:xe,useSyncExternalStore:xe,useId:xe};ia.useCacheRefresh=xe;ia.useMemoCache=xe;ia.useHostTransitionStatus=xe;ia.useFormState=xe;ia.useActionState=xe;ia.useOptimistic=xe;var Ln={readContext:nt,use:nc,useCallback:function(e,t){return ft().memoizedState=[e,t===void 0?null:t],e},useContext:nt,useEffect:u1,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,nu(4194308,4,f0.bind(null,t,e),a)},useLayoutEffect:function(e,t){return nu(4194308,4,e,t)},useInsertionEffect:function(e,t){nu(4,2,e,t)},useMemo:function(e,t){var a=ft();t=t===void 0?null:t;var n=e();return An&&(qa(!0),e(),qa(!1)),a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=ft();if(a!==void 0){var l=a(t);An&&(qa(!0),a(t),qa(!1))}else l=t;return n.memoizedState=n.baseState=l,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:l},n.queue=e,e=e.dispatch=c2.bind(null,P,e),[n.memoizedState,e]},useRef:function(e){var t=ft();return e={current:e},t.memoizedState=e},useState:function(e){e=Fo(e);var t=e.queue,a=Rl.bind(null,P,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:vf,useDeferredValue:function(e,t){var a=ft();return pf(a,e,t)},useTransition:function(){var e=Fo(!1);return e=p0.bind(null,P,e.queue,!0,!1),ft().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=P,l=ft();if(te){if(a===void 0)throw Error(w(407));a=a()}else{if(a=t(),se===null)throw Error(w(349));ae&60||Pm(n,t,a)}l.memoizedState=a;var i={value:a,getSnapshot:t};return l.queue=i,u1(Wm.bind(null,n,i,e),[e]),n.flags|=2048,xl(9,Jm.bind(null,n,i,a,t),{destroy:void 0},null),a},useId:function(){var e=ft(),t=se.identifierPrefix;if(te){var a=ya,n=ga;a=(n&~(1<<32-Lt(n)-1)).toString(32)+a,t=":"+t+"R"+a,a=wu++,0 title"))),We(l,n,a),l[at]=e,ke(l),n=l;break e;case"link":var i=L1("link","href",t).get(n+(a.href||""));if(i){for(var r=0;r<\/script>",e=e.removeChild(e.firstChild);break;case"select":e=typeof n.is=="string"?l.createElement("select",{is:n.is}):l.createElement("select"),n.multiple?e.multiple=!0:n.size&&(e.size=n.size);break;default:e=typeof n.is=="string"?l.createElement(a,{is:n.is}):l.createElement(a)}}e[at]=t,e[ct]=n;e:for(l=t.child;l!==null;){if(l.tag===5||l.tag===6)e.appendChild(l.stateNode);else if(l.tag!==4&&l.tag!==27&&l.child!==null){l.child.return=l,l=l.child;continue}if(l===t)break e;for(;l.sibling===null;){if(l.return===null||l.return===t)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}t.stateNode=e;e:switch(We(e,a,n),a){case"button":case"input":case"select":case"textarea":e=!!n.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ha(t)}}return Re(t),t.flags&=-16777217,null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ha(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(w(166));if(e=Za.current,ai(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,l=rt,l!==null)switch(l.tag){case 27:case 5:n=l.memoizedProps}e[at]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||pv(e.nodeValue,a)),e||Rn(t)}else e=Hu(e).createTextNode(n),e[at]=t,t.stateNode=e}return Re(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(l=ai(t),n!==null&&n.dehydrated!==null){if(e===null){if(!l)throw Error(w(318));if(l=t.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(w(317));l[at]=t}else sr(),!(t.flags&128)&&(t.memoizedState=null),t.flags|=4;Re(t),l=!1}else qt!==null&&(vs(qt),qt=null),l=!0;if(!l)return t.flags&256?(ba(t),t):(ba(t),null)}if(ba(t),t.flags&128)return t.lanes=a,t;if(a=n!==null,e=e!==null&&e.memoizedState!==null,a){n=t.child,l=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(l=n.alternate.memoizedState.cachePool.pool);var i=null;n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(i=n.memoizedState.cachePool.pool),i!==l&&(n.flags|=2048)}return a!==e&&a&&(t.child.flags|=8192),Br(t,t.updateQueue),Re(t),null;case 4:return Tl(),e===null&&Df(t.stateNode.containerInfo),Re(t),null;case 10:return Sa(t.type),Re(t),null;case 19:if(Ge(Be),l=t.memoizedState,l===null)return Re(t),null;if(n=(t.flags&128)!==0,i=l.rendering,i===null)if(n)li(l,!1);else{if(Oe!==0||e!==null&&e.flags&128)for(e=t.child;e!==null;){if(i=Tu(e),i!==null){for(t.flags|=128,li(l,!1),e=i.updateQueue,t.updateQueue=e,Br(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)ev(a,e),a=a.sibling;return Se(Be,Be.current&1|2),t.child}e=e.sibling}l.tail!==null&&ta()>$u&&(t.flags|=128,n=!0,li(l,!1),t.lanes=4194304)}else{if(!n)if(e=Tu(i),e!==null){if(t.flags|=128,n=!0,e=e.updateQueue,t.updateQueue=e,Br(t,e),li(l,!0),l.tail===null&&l.tailMode==="hidden"&&!i.alternate&&!te)return Re(t),null}else 2*ta()-l.renderingStartTime>$u&&a!==536870912&&(t.flags|=128,n=!0,li(l,!1),t.lanes=4194304);l.isBackwards?(i.sibling=t.child,t.child=i):(e=l.last,e!==null?e.sibling=i:t.child=i,l.last=i)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=ta(),t.sibling=null,e=Be.current,Se(Be,n?e&1|2:e&1),t):(Re(t),null);case 22:case 23:return ba(t),nf(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?a&536870912&&!(t.flags&128)&&(Re(t),t.subtreeFlags&6&&(t.flags|=8192)):Re(t),a=t.updateQueue,a!==null&&Br(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&Ge(bn),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),Sa(He),Re(t),null;case 25:return null}throw Error(w(156,t.tag))}function v2(e,t){switch(af(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Sa(He),Tl(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return pu(t),null;case 13:if(ba(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(w(340));sr()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Ge(Be),null;case 4:return Tl(),null;case 10:return Sa(t.type),null;case 22:case 23:return ba(t),nf(),e!==null&&Ge(bn),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return Sa(He),null;case 25:return null;default:return null}}function av(e,t){switch(af(t),t.tag){case 3:Sa(He),Tl();break;case 26:case 27:case 5:pu(t);break;case 4:Tl();break;case 13:ba(t);break;case 19:Ge(Be);break;case 10:Sa(t.type);break;case 22:case 23:ba(t),nf(),e!==null&&Ge(bn);break;case 24:Sa(He)}}var p2={getCacheForType:function(e){var t=nt(He),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a}},g2=typeof WeakMap=="function"?WeakMap:Map,re=0,se=null,W=null,ae=0,Ce=0,Ot=null,Tf=!1,_a=0,Oe=0,wa=0,kl=0,_f=0,dt=0,Hi=null,Xt=null,$l=!1,Du=!1,wf=0,$u=1/0,Ki=null,Pa=null,jr=!1,fn=null,Bi=0,ds=0,hs=null,ji=0,ms=null;function Ra(){if(re&2&&ae!==0)return ae&-ae;if(X.T!==null){var e=Ml;return e!==0?e:xf()}return hm()}function nv(){dt===0&&(dt=!(ae&536870912)||te?cm():536870912);var e=la.current;return e!==null&&(e.flags|=32),dt}function ot(e,t,a){(e===se&&Ce===2||e.cancelPendingCommit!==null)&&(Hn(e,0),It(e,ae,dt)),hr(e,a),(!(re&2)||e!==se)&&(e===se&&(!(re&2)&&(kl|=a),Oe===4&&It(e,ae,dt)),ht(e))}function lv(e,t){if(re&6)throw Error(w(327));var a=e.callbackNode;if(Cl()&&e.callbackNode!==a)return null;var n=yu(e,e===se?ae:0);if(n===0)return null;var l=(n&60)===0&&(n&e.expiredLanes)===0&&!t;if(t=l?E2(e,n):zu(e,n),t!==0){var i=l;do{if(t===6)It(e,n,0);else{if(l=e.current.alternate,i&&!y2(l)){t=zu(e,n),i=!1;continue}if(t===2){i=n;var r=um(e,i);if(r!==0&&(n=r,t=iv(e,i,r),i=!1,t!==2))continue}if(t===1){Hn(e,0),It(e,n,0);break}e.finishedWork=l,e.finishedLanes=n;e:{switch(i=e,t){case 0:case 1:throw Error(w(345));case 4:if((n&4194176)===n){It(i,n,dt);break e}break;case 2:Xt=null;break;case 3:case 5:break;default:throw Error(w(329))}if((n&62914560)===n&&(t=wf+300-ta(),10a?32:a,X.T=null,fn===null)var i=!1;else{a=hs,hs=null;var r=fn,u=Bi;if(fn=null,Bi=0,re&6)throw Error(w(331));var c=re;if(re|=4,F0(r.current),P0(r,r.current,u,a),re=c,mr(),Rt&&typeof Rt.onPostCommitFiberRoot=="function")try{Rt.onPostCommitFiberRoot(cr,r)}catch{}i=!0}return i}finally{pe.p=l,X.T=n,fv(e,t)}}return!1}function C1(e,t,a){t=zt(a,t),t=ts(e.stateNode,t,2),e=Qa(e,t,2),e!==null&&(hr(e,2),ht(e))}function he(e,t,a){if(e.tag===3)C1(e,e,a);else for(;t!==null;){if(t.tag===3){C1(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(Pa===null||!Pa.has(n))){e=zt(a,e),a=_0(2),n=Qa(t,a,2),n!==null&&(w0(a,n,t,e),hr(n,2),ht(n));break}}t=t.return}}function fo(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new g2;var l=new Set;n.set(t,l)}else l=n.get(t),l===void 0&&(l=new Set,n.set(t,l));l.has(a)||(Tf=!0,l.add(a),e=A2.bind(null,e,t,a),t.then(e,e))}function A2(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,re&2?$l=!0:re&4&&(Du=!0),Mf(),se===e&&(ae&a)===a&&(Oe===4||Oe===3&&(ae&62914560)===ae&&300>ta()-wf?!(re&2)&&Hn(e,0):_f|=a),ht(e)}function dv(e,t){t===0&&(t=om()),e=Ia(e,t),e!==null&&(hr(e,t),ht(e))}function T2(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),dv(e,a)}function _2(e,t){var a=0;switch(e.tag){case 13:var n=e.stateNode,l=e.memoizedState;l!==null&&(a=l.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(w(314))}n!==null&&n.delete(t),dv(e,a)}function Mf(){if(50"u"?null:document;function Sv(e,t,a){var n=Gl;if(n&&typeof t=="string"&&t){var l=$t(t);l='link[rel="'+e+'"][href="'+l+'"]',typeof a=="string"&&(l+='[crossorigin="'+a+'"]'),$1.has(l)||($1.add(l),e={rel:e,crossOrigin:a,href:t},n.querySelector(l)===null&&(t=n.createElement("link"),We(t,"link",e),ke(t),n.head.appendChild(t)))}}function q2(e){Oa.D(e),Sv("dns-prefetch",e,null)}function X2(e,t){Oa.C(e,t),Sv("preconnect",e,t)}function Z2(e,t,a){Oa.L(e,t,a);var n=Gl;if(n&&e&&t){var l='link[rel="preload"][as="'+$t(t)+'"]';t==="image"&&a&&a.imageSrcSet?(l+='[imagesrcset="'+$t(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(l+='[imagesizes="'+$t(a.imageSizes)+'"]')):l+='[href="'+$t(e)+'"]';var i=l;switch(t){case"style":i=zl(e);break;case"script":i=Yl(e)}Bt.has(i)||(e=ge({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),Bt.set(i,e),n.querySelector(l)!==null||t==="style"&&n.querySelector(vr(i))||t==="script"&&n.querySelector(pr(i))||(t=n.createElement("link"),We(t,"link",e),ke(t),n.head.appendChild(t)))}}function Q2(e,t){Oa.m(e,t);var a=Gl;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",l='link[rel="modulepreload"][as="'+$t(n)+'"][href="'+$t(e)+'"]',i=l;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":i=Yl(e)}if(!Bt.has(i)&&(e=ge({rel:"modulepreload",href:e},t),Bt.set(i,e),a.querySelector(l)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(pr(i)))return}n=a.createElement("link"),We(n,"link",e),ke(n),a.head.appendChild(n)}}}function K2(e,t,a){Oa.S(e,t,a);var n=Gl;if(n&&e){var l=vl(n).hoistableStyles,i=zl(e);t=t||"default";var r=l.get(i);if(!r){var u={loading:0,preload:null};if(r=n.querySelector(vr(i)))u.loading=5;else{e=ge({rel:"stylesheet",href:e,"data-precedence":t},a),(a=Bt.get(i))&&$f(e,a);var c=r=n.createElement("link");ke(c),We(c,"link",e),c._p=new Promise(function(o,s){c.onload=o,c.onerror=s}),c.addEventListener("load",function(){u.loading|=1}),c.addEventListener("error",function(){u.loading|=2}),u.loading|=4,ru(r,t,n)}r={type:"stylesheet",instance:r,count:1,state:u},l.set(i,r)}}}function P2(e,t){Oa.X(e,t);var a=Gl;if(a&&e){var n=vl(a).hoistableScripts,l=Yl(e),i=n.get(l);i||(i=a.querySelector(pr(l)),i||(e=ge({src:e,async:!0},t),(t=Bt.get(l))&&zf(e,t),i=a.createElement("script"),ke(i),We(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function J2(e,t){Oa.M(e,t);var a=Gl;if(a&&e){var n=vl(a).hoistableScripts,l=Yl(e),i=n.get(l);i||(i=a.querySelector(pr(l)),i||(e=ge({src:e,async:!0,type:"module"},t),(t=Bt.get(l))&&zf(e,t),i=a.createElement("script"),ke(i),We(i,"link",e),a.head.appendChild(i)),i={type:"script",instance:i,count:1,state:null},n.set(l,i))}}function z1(e,t,a,n){var l=(l=Za.current)?Bu(l):null;if(!l)throw Error(w(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(t=zl(a.href),a=vl(l).hoistableStyles,n=a.get(t),n||(n={type:"style",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=zl(a.href);var i=vl(l).hoistableStyles,r=i.get(e);if(r||(l=l.ownerDocument||l,r={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},i.set(e,r),(i=l.querySelector(vr(e)))&&!i._p&&(r.instance=i,r.state.loading=5),Bt.has(e)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},Bt.set(e,a),i||W2(l,e,a,r.state))),t&&n===null)throw Error(w(528,""));return r}if(t&&n!==null)throw Error(w(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(t=Yl(a),a=vl(l).hoistableScripts,n=a.get(t),n||(n={type:"script",instance:null,count:0,state:null},a.set(t,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(w(444,e))}}function zl(e){return'href="'+$t(e)+'"'}function vr(e){return'link[rel="stylesheet"]['+e+"]"}function Ev(e){return ge({},e,{"data-precedence":e.precedence,precedence:null})}function W2(e,t,a,n){e.querySelector('link[rel="preload"][as="style"]['+t+"]")?n.loading=1:(t=e.createElement("link"),n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2}),We(t,"link",a),ke(t),e.head.appendChild(t))}function Yl(e){return'[src="'+$t(e)+'"]'}function pr(e){return"script[async]"+e}function N1(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+$t(a.href)+'"]');if(n)return t.instance=n,ke(n),n;var l=ge({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),ke(n),We(n,"style",l),ru(n,a.precedence,e),t.instance=n;case"stylesheet":l=zl(a.href);var i=e.querySelector(vr(l));if(i)return t.state.loading|=4,t.instance=i,ke(i),i;n=Ev(a),(l=Bt.get(l))&&$f(n,l),i=(e.ownerDocument||e).createElement("link"),ke(i);var r=i;return r._p=new Promise(function(u,c){r.onload=u,r.onerror=c}),We(i,"link",n),t.state.loading|=4,ru(i,a.precedence,e),t.instance=i;case"script":return i=Yl(a.src),(l=e.querySelector(pr(i)))?(t.instance=l,ke(l),l):(n=a,(l=Bt.get(i))&&(n=ge({},a),zf(n,l)),e=e.ownerDocument||e,l=e.createElement("script"),ke(l),We(l,"link",n),e.head.appendChild(l),t.instance=l);case"void":return null;default:throw Error(w(443,t.type))}else t.type==="stylesheet"&&!(t.state.loading&4)&&(n=t.instance,t.state.loading|=4,ru(n,a.precedence,e));return t.instance}function ru(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),l=n.length?n[n.length-1]:null,i=l,r=0;r title"):null)}function F2(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;switch(t.rel){case"stylesheet":return e=t.disabled,typeof t.precedence=="string"&&e==null;default:return!0}case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function Rv(e){return!(e.type==="stylesheet"&&!(e.state.loading&3))}var Wi=null;function I2(){}function eb(e,t,a){if(Wi===null)throw Error(w(475));var n=Wi;if(t.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&!(t.state.loading&4)){if(t.instance===null){var l=zl(a.href),i=e.querySelector(vr(l));if(i){e=i._p,e!==null&&typeof e=="object"&&typeof e.then=="function"&&(n.count++,n=ju.bind(n),e.then(n,n)),t.state.loading|=4,t.instance=i,ke(i);return}i=e.ownerDocument||e,a=Ev(a),(l=Bt.get(l))&&$f(a,l),i=i.createElement("link"),ke(i);var r=i;r._p=new Promise(function(u,c){r.onload=u,r.onerror=c}),We(i,"link",a),t.instance=i}n.stylesheets===null&&(n.stylesheets=new Map),n.stylesheets.set(t,e),(e=t.state.preload)&&!(t.state.loading&3)&&(n.count++,t=ju.bind(n),e.addEventListener("load",t),e.addEventListener("error",t))}}function tb(){if(Wi===null)throw Error(w(475));var e=Wi;return e.stylesheets&&e.count===0&&As(e,e.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Mv)}catch(e){console.error(e)}}Mv(),qh.exports=Pu;var xv=qh.exports;const Dv=Ul(xv),S9=Hs({__proto__:null,default:Dv},[xv]);/** + * @remix-run/router v1.18.0 * * Copyright (c) Remix Software Inc. * @@ -55,9 +55,10 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function wn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function db(){return Math.random().toString(36).substr(2,8)}function Y1(e,t){return{usr:e.state,key:e.key,idx:t}}function tr(e,t,a,n){return a===void 0&&(a=null),Ae({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ma(t):t,{state:a,key:t&&t.key||n||db()})}function On(e){let{pathname:t="/",search:a="",hash:n=""}=e;return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Ma(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substr(a),e=e.substr(0,a));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function hb(e,t,a,n){n===void 0&&(n={});let{window:l=document.defaultView,v5Compat:i=!1}=n,r=l.history,u=ze.Pop,c=null,o=s();o==null&&(o=0,r.replaceState(Ae({},r.state,{idx:o}),""));function s(){return(r.state||{idx:null}).idx}function d(){u=ze.Pop;let M=s(),m=M==null?null:M-o;o=M,c&&c({action:u,location:S.location,delta:m})}function f(M,m){u=ze.Push;let h=tr(S.location,M,m);a&&a(h,M),o=s()+1;let v=Y1(h,o),R=S.createHref(h);try{r.pushState(v,"",R)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(R)}i&&c&&c({action:u,location:S.location,delta:1})}function p(M,m){u=ze.Replace;let h=tr(S.location,M,m);a&&a(h,M),o=s();let v=Y1(h,o),R=S.createHref(h);r.replaceState(v,"",R),i&&c&&c({action:u,location:S.location,delta:0})}function C(M){let m=l.location.origin!=="null"?l.location.origin:l.location.href,h=typeof M=="string"?M:On(M);return h=h.replace(/ $/,"%20"),J(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let S={get action(){return u},get location(){return e(l,r)},listen(M){if(c)throw new Error("A history only accepts one active listener");return l.addEventListener(G1,d),c=M,()=>{l.removeEventListener(G1,d),c=null}},createHref(M){return t(l,M)},createURL:C,encodeLocation(M){let m=C(M);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:p,go(M){return r.go(M)}};return S}var ve;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(ve||(ve={}));const mb=new Set(["lazy","caseSensitive","path","id","index","children"]);function vb(e){return e.index===!0}function ar(e,t,a,n){return a===void 0&&(a=[]),n===void 0&&(n={}),e.map((l,i)=>{let r=[...a,String(i)],u=typeof l.id=="string"?l.id:r.join("-");if(J(l.index!==!0||!l.children,"Cannot specify children on an index route"),J(!n[u],'Found a route id collision on id "'+u+`". Route id's must be globally unique within Data Router usages`),vb(l)){let c=Ae({},l,t(l),{id:u});return n[u]=c,c}else{let c=Ae({},l,t(l),{id:u,children:void 0});return n[u]=c,l.children&&(c.children=ar(l.children,t,r,n)),c}})}function dn(e,t,a){return a===void 0&&(a="/"),ou(e,t,a,!1)}function ou(e,t,a,n){let l=typeof t=="string"?Ma(t):t,i=Yl(l.pathname||"/",a);if(i==null)return null;let r=$v(e);gb(r);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:r,route:i};c.relativePath.startsWith("/")&&(J(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let o=Ca([n,c.relativePath]),s=a.concat(c);i.children&&i.children.length>0&&(J(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+o+'".')),$v(i.children,t,s,o)),!(i.path==null&&!i.index)&&t.push({path:o,score:Ab(o,i.index),routesMeta:s})};return e.forEach((i,r)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,r);else for(let c of zv(i.path))l(i,r,c)}),t}function zv(e){let t=e.split("/");if(t.length===0)return[];let[a,...n]=t,l=a.endsWith("?"),i=a.replace(/\?$/,"");if(n.length===0)return l?[i,""]:[i];let r=zv(n.join("/")),u=[];return u.push(...r.map(c=>c===""?i:[i,c].join("/"))),l&&u.push(...r),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function gb(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:Tb(t.routesMeta.map(n=>n.childrenIndex),a.routesMeta.map(n=>n.childrenIndex)))}const yb=/^:[\w-]+$/,bb=3,Sb=2,Eb=1,Rb=10,Cb=-2,q1=e=>e==="*";function Ab(e,t){let a=e.split("/"),n=a.length;return a.some(q1)&&(n+=Cb),t&&(n+=Sb),a.filter(l=>!q1(l)).reduce((l,i)=>l+(yb.test(i)?bb:i===""?Eb:Rb),n)}function Tb(e,t){return e.length===t.length&&e.slice(0,-1).every((n,l)=>n===t[l])?e[e.length-1]-t[t.length-1]:0}function _b(e,t,a){a===void 0&&(a=!1);let{routesMeta:n}=e,l={},i="/",r=[];for(let u=0;u{let{paramName:f,isOptional:p}=s;if(f==="*"){let S=u[d]||"";r=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const C=u[d];return p&&!C?o[f]=void 0:o[f]=(C||"").replace(/%2F/g,"/"),o},{}),pathname:i,pathnameBase:r,pattern:e}}function wb(e,t,a){t===void 0&&(t=!1),a===void 0&&(a=!0),wn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(r,u,c)=>(n.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),n]}function Ob(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return wn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function Yl(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,n=e.charAt(a);return n&&n!=="/"?null:e.slice(a)||"/"}function Mb(e,t){t===void 0&&(t="/");let{pathname:a,search:n="",hash:l=""}=typeof e=="string"?Ma(e):e;return{pathname:a?a.startsWith("/")?a:xb(a,t):t,search:$b(n),hash:zb(l)}}function xb(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?a.length>1&&a.pop():l!=="."&&a.push(l)}),a.length>1?a.join("/"):"/"}function So(e,t,a,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+a+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Nv(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function Bf(e,t){let a=Nv(e);return t?a.map((n,l)=>l===a.length-1?n.pathname:n.pathnameBase):a.map(n=>n.pathnameBase)}function jf(e,t,a,n){n===void 0&&(n=!1);let l;typeof e=="string"?l=Ma(e):(l=Ae({},e),J(!l.pathname||!l.pathname.includes("?"),So("?","pathname","search",l)),J(!l.pathname||!l.pathname.includes("#"),So("#","pathname","hash",l)),J(!l.search||!l.search.includes("#"),So("#","search","hash",l)));let i=e===""||l.pathname==="",r=i?"/":l.pathname,u;if(r==null)u=a;else{let d=t.length-1;if(!n&&r.startsWith("..")){let f=r.split("/");for(;f[0]==="..";)f.shift(),d-=1;l.pathname=f.join("/")}u=d>=0?t[d]:"/"}let c=Mb(l,u),o=r&&r!=="/"&&r.endsWith("/"),s=(i||r===".")&&a.endsWith("/");return!c.pathname.endsWith("/")&&(o||s)&&(c.pathname+="/"),c}const Ca=e=>e.join("/").replace(/\/\/+/g,"/"),Db=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$b=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zb=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Vf{constructor(t,a,n,l){l===void 0&&(l=!1),this.status=t,this.statusText=a||"",this.internal=l,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function dc(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lv=["post","put","patch","delete"],Nb=new Set(Lv),Lb=["get",...Lv],Ub=new Set(Lb),Hb=new Set([301,302,303,307,308]),Bb=new Set([307,308]),Eo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jb={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ri={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},kf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vb=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Uv="remix-router-transitions";function kb(e){const t=e.window?e.window:typeof window<"u"?window:void 0,a=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!a;J(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let g=e.detectErrorBoundary;l=b=>({hasErrorBoundary:g(b)})}else l=Vb;let i={},r=ar(e.routes,l,void 0,i),u,c=e.basename||"/",o=e.unstable_dataStrategy||Zb,s=e.unstable_patchRoutesOnMiss,d=Ae({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,unstable_skipActionErrorRevalidation:!1},e.future),f=null,p=new Set,C=null,S=null,M=null,m=e.hydrationData!=null,h=dn(r,e.history.location,c),v=null;if(h==null&&!s){let g=it(404,{pathname:e.history.location.pathname}),{matches:b,route:E}=th(r);h=b,v={[E.id]:g}}h&&s&&Uc(h,r,e.history.location.pathname).active&&(h=null);let R;if(!h)R=!1,h=[];else if(h.some(g=>g.route.lazy))R=!1;else if(!h.some(g=>g.route.loader))R=!0;else if(d.v7_partialHydration){let g=e.hydrationData?e.hydrationData.loaderData:null,b=e.hydrationData?e.hydrationData.errors:null,E=T=>T.route.loader?typeof T.route.loader=="function"&&T.route.loader.hydrate===!0?!1:g&&g[T.route.id]!==void 0||b&&b[T.route.id]!==void 0:!0;if(b){let T=h.findIndex(N=>b[N.route.id]!==void 0);R=h.slice(0,T+1).every(E)}else R=h.every(E)}else R=e.hydrationData!=null;let x,y={historyAction:e.history.action,location:e.history.location,matches:h,initialized:R,navigation:Eo,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},A=ze.Pop,$=!1,U,j=!1,q=new Map,Me=null,_e=!1,Ee=!1,Tt=[],z=[],H=new Map,Y=0,ie=-1,fe=new Map,Ie=new Set,pt=new Map,jt=new Map,qe=new Set,_t=new Map,ln=new Map,Kp=new Map,$c=!1;function Pp(){if(f=e.history.listen(g=>{let{action:b,location:E,delta:T}=g;if($c){$c=!1;return}wn(ln.size===0||T!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let N=vd({currentLocation:y.location,nextLocation:E,historyAction:b});if(N&&T!=null){$c=!0,e.history.go(T*-1),Er(N,{state:"blocked",location:E,proceed(){Er(N,{state:"proceeding",proceed:void 0,reset:void 0,location:E}),e.history.go(T)},reset(){let B=new Map(y.blockers);B.set(N,ri),lt({blockers:B})}});return}return rn(b,E)}),a){i4(t,q);let g=()=>r4(t,q);t.addEventListener("pagehide",g),Me=()=>t.removeEventListener("pagehide",g)}return y.initialized||rn(ze.Pop,y.location,{initialHydration:!0}),x}function Jp(){f&&f(),Me&&Me(),p.clear(),U&&U.abort(),y.fetchers.forEach((g,b)=>Sr(b)),y.blockers.forEach((g,b)=>md(b))}function Wp(g){return p.add(g),()=>p.delete(g)}function lt(g,b){b===void 0&&(b={}),y=Ae({},y,g);let E=[],T=[];d.v7_fetcherPersist&&y.fetchers.forEach((N,B)=>{N.state==="idle"&&(qe.has(B)?T.push(B):E.push(B))}),[...p].forEach(N=>N(y,{deletedFetchers:T,unstable_viewTransitionOpts:b.viewTransitionOpts,unstable_flushSync:b.flushSync===!0})),d.v7_fetcherPersist&&(E.forEach(N=>y.fetchers.delete(N)),T.forEach(N=>Sr(N)))}function kn(g,b,E){var T,N;let{flushSync:B}=E===void 0?{}:E,G=y.actionData!=null&&y.navigation.formMethod!=null&&Yt(y.navigation.formMethod)&&y.navigation.state==="loading"&&((T=g.state)==null?void 0:T._isRedirect)!==!0,D;b.actionData?Object.keys(b.actionData).length>0?D=b.actionData:D=null:G?D=y.actionData:D=null;let Z=b.loaderData?I1(y.loaderData,b.loaderData,b.matches||[],b.errors):y.loaderData,V=y.blockers;V.size>0&&(V=new Map(V),V.forEach((I,de)=>V.set(de,ri)));let k=$===!0||y.navigation.formMethod!=null&&Yt(y.navigation.formMethod)&&((N=g.state)==null?void 0:N._isRedirect)!==!0;u&&(r=u,u=void 0),_e||A===ze.Pop||(A===ze.Push?e.history.push(g,g.state):A===ze.Replace&&e.history.replace(g,g.state));let ce;if(A===ze.Pop){let I=q.get(y.location.pathname);I&&I.has(g.pathname)?ce={currentLocation:y.location,nextLocation:g}:q.has(g.pathname)&&(ce={currentLocation:g,nextLocation:y.location})}else if(j){let I=q.get(y.location.pathname);I?I.add(g.pathname):(I=new Set([g.pathname]),q.set(y.location.pathname,I)),ce={currentLocation:y.location,nextLocation:g}}lt(Ae({},b,{actionData:D,loaderData:Z,historyAction:A,location:g,initialized:!0,navigation:Eo,revalidation:"idle",restoreScrollPosition:gd(g,b.matches||y.matches),preventScrollReset:k,blockers:V}),{viewTransitionOpts:ce,flushSync:B===!0}),A=ze.Pop,$=!1,j=!1,_e=!1,Ee=!1,Tt=[],z=[]}async function ud(g,b){if(typeof g=="number"){e.history.go(g);return}let E=ws(y.location,y.matches,c,d.v7_prependBasename,g,d.v7_relativeSplatPath,b==null?void 0:b.fromRouteId,b==null?void 0:b.relative),{path:T,submission:N,error:B}=Z1(d.v7_normalizeFormMethod,!1,E,b),G=y.location,D=tr(y.location,T,b&&b.state);D=Ae({},D,e.history.encodeLocation(D));let Z=b&&b.replace!=null?b.replace:void 0,V=ze.Push;Z===!0?V=ze.Replace:Z===!1||N!=null&&Yt(N.formMethod)&&N.formAction===y.location.pathname+y.location.search&&(V=ze.Replace);let k=b&&"preventScrollReset"in b?b.preventScrollReset===!0:void 0,ce=(b&&b.unstable_flushSync)===!0,I=vd({currentLocation:G,nextLocation:D,historyAction:V});if(I){Er(I,{state:"blocked",location:D,proceed(){Er(I,{state:"proceeding",proceed:void 0,reset:void 0,location:D}),ud(g,b)},reset(){let de=new Map(y.blockers);de.set(I,ri),lt({blockers:de})}});return}return await rn(V,D,{submission:N,pendingError:B,preventScrollReset:k,replace:b&&b.replace,enableViewTransition:b&&b.unstable_viewTransition,flushSync:ce})}function Fp(){if(zc(),lt({revalidation:"loading"}),y.navigation.state!=="submitting"){if(y.navigation.state==="idle"){rn(y.historyAction,y.location,{startUninterruptedRevalidation:!0});return}rn(A||y.historyAction,y.navigation.location,{overrideNavigation:y.navigation})}}async function rn(g,b,E){U&&U.abort(),U=null,A=g,_e=(E&&E.startUninterruptedRevalidation)===!0,cg(y.location,y.matches),$=(E&&E.preventScrollReset)===!0,j=(E&&E.enableViewTransition)===!0;let T=u||r,N=E&&E.overrideNavigation,B=dn(T,b,c),G=(E&&E.flushSync)===!0,D=Uc(B,T,b.pathname);if(D.active&&D.matches&&(B=D.matches),!B){let{error:le,notFoundMatches:Xe,route:De}=Nc(b.pathname);kn(b,{matches:Xe,loaderData:{},errors:{[De.id]:le}},{flushSync:G});return}if(y.initialized&&!Ee&&Fb(y.location,b)&&!(E&&E.submission&&Yt(E.submission.formMethod))){kn(b,{matches:B},{flushSync:G});return}U=new AbortController;let Z=Kn(e.history,b,U.signal,E&&E.submission),V;if(E&&E.pendingError)V=[ji(B).route.id,{type:ve.error,error:E.pendingError}];else if(E&&E.submission&&Yt(E.submission.formMethod)){let le=await Ip(Z,b,E.submission,B,D.active,{replace:E.replace,flushSync:G});if(le.shortCircuited)return;if(le.pendingActionResult){let[Xe,De]=le.pendingActionResult;if(St(De)&&dc(De.error)&&De.error.status===404){U=null,kn(b,{matches:le.matches,loaderData:{},errors:{[Xe]:De.error}});return}}B=le.matches||B,V=le.pendingActionResult,N=Ro(b,E.submission),G=!1,D.active=!1,Z=Kn(e.history,Z.url,Z.signal)}let{shortCircuited:k,matches:ce,loaderData:I,errors:de}=await eg(Z,b,B,D.active,N,E&&E.submission,E&&E.fetcherSubmission,E&&E.replace,E&&E.initialHydration===!0,G,V);k||(U=null,kn(b,Ae({matches:ce||B},eh(V),{loaderData:I,errors:de})))}async function Ip(g,b,E,T,N,B){B===void 0&&(B={}),zc();let G=n4(b,E);if(lt({navigation:G},{flushSync:B.flushSync===!0}),N){let V=await Cr(T,b.pathname,g.signal);if(V.type==="aborted")return{shortCircuited:!0};if(V.type==="error"){let{error:k,notFoundMatches:ce,route:I}=Rr(b.pathname,V);return{matches:ce,pendingActionResult:[I.id,{type:ve.error,error:k}]}}else if(V.matches)T=V.matches;else{let{notFoundMatches:k,error:ce,route:I}=Nc(b.pathname);return{matches:k,pendingActionResult:[I.id,{type:ve.error,error:ce}]}}}let D,Z=Ri(T,b);if(!Z.route.action&&!Z.route.lazy)D={type:ve.error,error:it(405,{method:g.method,pathname:b.pathname,routeId:Z.route.id})};else if(D=(await Jl("action",g,[Z],T))[0],g.signal.aborted)return{shortCircuited:!0};if(gn(D)){let V;return B&&B.replace!=null?V=B.replace:V=J1(D.response.headers.get("Location"),new URL(g.url),c)===y.location.pathname+y.location.search,await Pl(g,D,{submission:E,replace:V}),{shortCircuited:!0}}if(pn(D))throw it(400,{type:"defer-action"});if(St(D)){let V=ji(T,Z.route.id);return(B&&B.replace)!==!0&&(A=ze.Push),{matches:T,pendingActionResult:[V.route.id,D]}}return{matches:T,pendingActionResult:[Z.route.id,D]}}async function eg(g,b,E,T,N,B,G,D,Z,V,k){let ce=N||Ro(b,B),I=B||G||lh(ce),de=!_e&&(!d.v7_partialHydration||!Z);if(T){if(de){let we=cd(k);lt(Ae({navigation:ce},we!==void 0?{actionData:we}:{}),{flushSync:V})}let K=await Cr(E,b.pathname,g.signal);if(K.type==="aborted")return{shortCircuited:!0};if(K.type==="error"){let{error:we,notFoundMatches:gt,route:me}=Rr(b.pathname,K);return{matches:gt,loaderData:{},errors:{[me.id]:we}}}else if(K.matches)E=K.matches;else{let{error:we,notFoundMatches:gt,route:me}=Nc(b.pathname);return{matches:gt,loaderData:{},errors:{[me.id]:we}}}}let le=u||r,[Xe,De]=Q1(e.history,y,E,I,b,d.v7_partialHydration&&Z===!0,d.unstable_skipActionErrorRevalidation,Ee,Tt,z,qe,pt,Ie,le,c,k);if(Lc(K=>!(E&&E.some(we=>we.route.id===K))||Xe&&Xe.some(we=>we.route.id===K)),ie=++Y,Xe.length===0&&De.length===0){let K=dd();return kn(b,Ae({matches:E,loaderData:{},errors:k&&St(k[1])?{[k[0]]:k[1].error}:null},eh(k),K?{fetchers:new Map(y.fetchers)}:{}),{flushSync:V}),{shortCircuited:!0}}if(de){let K={};if(!T){K.navigation=ce;let we=cd(k);we!==void 0&&(K.actionData=we)}De.length>0&&(K.fetchers=tg(De)),lt(K,{flushSync:V})}De.forEach(K=>{H.has(K.key)&&Da(K.key),K.controller&&H.set(K.key,K.controller)});let Wl=()=>De.forEach(K=>Da(K.key));U&&U.signal.addEventListener("abort",Wl);let{loaderResults:$a,fetcherResults:Gn}=await od(y.matches,E,Xe,De,g);if(g.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",Wl),De.forEach(K=>H.delete(K.key));let Yn=ah([...$a,...Gn]);if(Yn){if(Yn.idx>=Xe.length){let K=De[Yn.idx-Xe.length].key;Ie.add(K)}return await Pl(g,Yn.result,{replace:D}),{shortCircuited:!0}}let{loaderData:qn,errors:Kt}=F1(y,E,Xe,$a,k,De,Gn,_t);_t.forEach((K,we)=>{K.subscribe(gt=>{(gt||K.done)&&_t.delete(we)})}),d.v7_partialHydration&&Z&&y.errors&&Object.entries(y.errors).filter(K=>{let[we]=K;return!Xe.some(gt=>gt.route.id===we)}).forEach(K=>{let[we,gt]=K;Kt=Object.assign(Kt||{},{[we]:gt})});let Ar=dd(),Tr=hd(ie),_r=Ar||Tr||De.length>0;return Ae({matches:E,loaderData:qn,errors:Kt},_r?{fetchers:new Map(y.fetchers)}:{})}function cd(g){if(g&&!St(g[1]))return{[g[0]]:g[1].data};if(y.actionData)return Object.keys(y.actionData).length===0?null:y.actionData}function tg(g){return g.forEach(b=>{let E=y.fetchers.get(b.key),T=ui(void 0,E?E.data:void 0);y.fetchers.set(b.key,T)}),new Map(y.fetchers)}function ag(g,b,E,T){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");H.has(g)&&Da(g);let N=(T&&T.unstable_flushSync)===!0,B=u||r,G=ws(y.location,y.matches,c,d.v7_prependBasename,E,d.v7_relativeSplatPath,b,T==null?void 0:T.relative),D=dn(B,G,c),Z=Uc(D,B,G);if(Z.active&&Z.matches&&(D=Z.matches),!D){ca(g,b,it(404,{pathname:G}),{flushSync:N});return}let{path:V,submission:k,error:ce}=Z1(d.v7_normalizeFormMethod,!0,G,T);if(ce){ca(g,b,ce,{flushSync:N});return}let I=Ri(D,V);if($=(T&&T.preventScrollReset)===!0,k&&Yt(k.formMethod)){ng(g,b,V,I,D,Z.active,N,k);return}pt.set(g,{routeId:b,path:V}),lg(g,b,V,I,D,Z.active,N,k)}async function ng(g,b,E,T,N,B,G,D){zc(),pt.delete(g);function Z(me){if(!me.route.action&&!me.route.lazy){let oa=it(405,{method:D.formMethod,pathname:E,routeId:b});return ca(g,b,oa,{flushSync:G}),!0}return!1}if(!B&&Z(T))return;let V=y.fetchers.get(g);xa(g,l4(D,V),{flushSync:G});let k=new AbortController,ce=Kn(e.history,E,k.signal,D);if(B){let me=await Cr(N,E,ce.signal);if(me.type==="aborted")return;if(me.type==="error"){let{error:oa}=Rr(E,me);ca(g,b,oa,{flushSync:G});return}else if(me.matches){if(N=me.matches,T=Ri(N,E),Z(T))return}else{ca(g,b,it(404,{pathname:E}),{flushSync:G});return}}H.set(g,k);let I=Y,le=(await Jl("action",ce,[T],N))[0];if(ce.signal.aborted){H.get(g)===k&&H.delete(g);return}if(d.v7_fetcherPersist&&qe.has(g)){if(gn(le)||St(le)){xa(g,Ha(void 0));return}}else{if(gn(le))if(H.delete(g),ie>I){xa(g,Ha(void 0));return}else return Ie.add(g),xa(g,ui(D)),Pl(ce,le,{fetcherSubmission:D});if(St(le)){ca(g,b,le.error);return}}if(pn(le))throw it(400,{type:"defer-action"});let Xe=y.navigation.location||y.location,De=Kn(e.history,Xe,k.signal),Wl=u||r,$a=y.navigation.state!=="idle"?dn(Wl,y.navigation.location,c):y.matches;J($a,"Didn't find any matches after fetcher action");let Gn=++Y;fe.set(g,Gn);let Yn=ui(D,le.data);y.fetchers.set(g,Yn);let[qn,Kt]=Q1(e.history,y,$a,D,Xe,!1,d.unstable_skipActionErrorRevalidation,Ee,Tt,z,qe,pt,Ie,Wl,c,[T.route.id,le]);Kt.filter(me=>me.key!==g).forEach(me=>{let oa=me.key,yd=y.fetchers.get(oa),fg=ui(void 0,yd?yd.data:void 0);y.fetchers.set(oa,fg),H.has(oa)&&Da(oa),me.controller&&H.set(oa,me.controller)}),lt({fetchers:new Map(y.fetchers)});let Ar=()=>Kt.forEach(me=>Da(me.key));k.signal.addEventListener("abort",Ar);let{loaderResults:Tr,fetcherResults:_r}=await od(y.matches,$a,qn,Kt,De);if(k.signal.aborted)return;k.signal.removeEventListener("abort",Ar),fe.delete(g),H.delete(g),Kt.forEach(me=>H.delete(me.key));let K=ah([...Tr,..._r]);if(K){if(K.idx>=qn.length){let me=Kt[K.idx-qn.length].key;Ie.add(me)}return Pl(De,K.result)}let{loaderData:we,errors:gt}=F1(y,y.matches,qn,Tr,void 0,Kt,_r,_t);if(y.fetchers.has(g)){let me=Ha(le.data);y.fetchers.set(g,me)}hd(Gn),y.navigation.state==="loading"&&Gn>ie?(J(A,"Expected pending action"),U&&U.abort(),kn(y.navigation.location,{matches:$a,loaderData:we,errors:gt,fetchers:new Map(y.fetchers)})):(lt({errors:gt,loaderData:I1(y.loaderData,we,$a,gt),fetchers:new Map(y.fetchers)}),Ee=!1)}async function lg(g,b,E,T,N,B,G,D){let Z=y.fetchers.get(g);xa(g,ui(D,Z?Z.data:void 0),{flushSync:G});let V=new AbortController,k=Kn(e.history,E,V.signal);if(B){let le=await Cr(N,E,k.signal);if(le.type==="aborted")return;if(le.type==="error"){let{error:Xe}=Rr(E,le);ca(g,b,Xe,{flushSync:G});return}else if(le.matches)N=le.matches,T=Ri(N,E);else{ca(g,b,it(404,{pathname:E}),{flushSync:G});return}}H.set(g,V);let ce=Y,de=(await Jl("loader",k,[T],N))[0];if(pn(de)&&(de=await kv(de,k.signal,!0)||de),H.get(g)===V&&H.delete(g),!k.signal.aborted){if(qe.has(g)){xa(g,Ha(void 0));return}if(gn(de))if(ie>ce){xa(g,Ha(void 0));return}else{Ie.add(g),await Pl(k,de);return}if(St(de)){ca(g,b,de.error);return}J(!pn(de),"Unhandled fetcher deferred data"),xa(g,Ha(de.data))}}async function Pl(g,b,E){let{submission:T,fetcherSubmission:N,replace:B}=E===void 0?{}:E;b.response.headers.has("X-Remix-Revalidate")&&(Ee=!0);let G=b.response.headers.get("Location");J(G,"Expected a Location header on the redirect Response"),G=J1(G,new URL(g.url),c);let D=tr(y.location,G,{_isRedirect:!0});if(a){let de=!1;if(b.response.headers.has("X-Remix-Reload-Document"))de=!0;else if(kf.test(G)){const le=e.history.createURL(G);de=le.origin!==t.location.origin||Yl(le.pathname,c)==null}if(de){B?t.location.replace(G):t.location.assign(G);return}}U=null;let Z=B===!0?ze.Replace:ze.Push,{formMethod:V,formAction:k,formEncType:ce}=y.navigation;!T&&!N&&V&&k&&ce&&(T=lh(y.navigation));let I=T||N;if(Bb.has(b.response.status)&&I&&Yt(I.formMethod))await rn(Z,D,{submission:Ae({},I,{formAction:G}),preventScrollReset:$});else{let de=Ro(D,T);await rn(Z,D,{overrideNavigation:de,fetcherSubmission:N,preventScrollReset:$})}}async function Jl(g,b,E,T){try{let N=await Qb(o,g,b,E,T,i,l);return await Promise.all(N.map((B,G)=>{if(e4(B)){let D=B.result;return{type:ve.redirect,response:Jb(D,b,E[G].route.id,T,c,d.v7_relativeSplatPath)}}return Pb(B)}))}catch(N){return E.map(()=>({type:ve.error,error:N}))}}async function od(g,b,E,T,N){let[B,...G]=await Promise.all([E.length?Jl("loader",N,E,b):[],...T.map(D=>{if(D.matches&&D.match&&D.controller){let Z=Kn(e.history,D.path,D.controller.signal);return Jl("loader",Z,[D.match],D.matches).then(V=>V[0])}else return Promise.resolve({type:ve.error,error:it(404,{pathname:D.path})})})]);return await Promise.all([nh(g,E,B,B.map(()=>N.signal),!1,y.loaderData),nh(g,T.map(D=>D.match),G,T.map(D=>D.controller?D.controller.signal:null),!0)]),{loaderResults:B,fetcherResults:G}}function zc(){Ee=!0,Tt.push(...Lc()),pt.forEach((g,b)=>{H.has(b)&&(z.push(b),Da(b))})}function xa(g,b,E){E===void 0&&(E={}),y.fetchers.set(g,b),lt({fetchers:new Map(y.fetchers)},{flushSync:(E&&E.flushSync)===!0})}function ca(g,b,E,T){T===void 0&&(T={});let N=ji(y.matches,b);Sr(g),lt({errors:{[N.route.id]:E},fetchers:new Map(y.fetchers)},{flushSync:(T&&T.flushSync)===!0})}function sd(g){return d.v7_fetcherPersist&&(jt.set(g,(jt.get(g)||0)+1),qe.has(g)&&qe.delete(g)),y.fetchers.get(g)||jb}function Sr(g){let b=y.fetchers.get(g);H.has(g)&&!(b&&b.state==="loading"&&fe.has(g))&&Da(g),pt.delete(g),fe.delete(g),Ie.delete(g),qe.delete(g),y.fetchers.delete(g)}function ig(g){if(d.v7_fetcherPersist){let b=(jt.get(g)||0)-1;b<=0?(jt.delete(g),qe.add(g)):jt.set(g,b)}else Sr(g);lt({fetchers:new Map(y.fetchers)})}function Da(g){let b=H.get(g);J(b,"Expected fetch controller: "+g),b.abort(),H.delete(g)}function fd(g){for(let b of g){let E=sd(b),T=Ha(E.data);y.fetchers.set(b,T)}}function dd(){let g=[],b=!1;for(let E of Ie){let T=y.fetchers.get(E);J(T,"Expected fetcher: "+E),T.state==="loading"&&(Ie.delete(E),g.push(E),b=!0)}return fd(g),b}function hd(g){let b=[];for(let[E,T]of fe)if(T0}function rg(g,b){let E=y.blockers.get(g)||ri;return ln.get(g)!==b&&ln.set(g,b),E}function md(g){y.blockers.delete(g),ln.delete(g)}function Er(g,b){let E=y.blockers.get(g)||ri;J(E.state==="unblocked"&&b.state==="blocked"||E.state==="blocked"&&b.state==="blocked"||E.state==="blocked"&&b.state==="proceeding"||E.state==="blocked"&&b.state==="unblocked"||E.state==="proceeding"&&b.state==="unblocked","Invalid blocker state transition: "+E.state+" -> "+b.state);let T=new Map(y.blockers);T.set(g,b),lt({blockers:T})}function vd(g){let{currentLocation:b,nextLocation:E,historyAction:T}=g;if(ln.size===0)return;ln.size>1&&wn(!1,"A router only supports one blocker at a time");let N=Array.from(ln.entries()),[B,G]=N[N.length-1],D=y.blockers.get(B);if(!(D&&D.state==="proceeding")&&G({currentLocation:b,nextLocation:E,historyAction:T}))return B}function Nc(g){let b=it(404,{pathname:g}),E=u||r,{matches:T,route:N}=th(E);return Lc(),{notFoundMatches:T,route:N,error:b}}function Rr(g,b){let E=b.partialMatches,T=E[E.length-1].route,N=it(400,{type:"route-discovery",routeId:T.id,pathname:g,message:b.error!=null&&"message"in b.error?b.error:String(b.error)});return{notFoundMatches:E,route:T,error:N}}function Lc(g){let b=[];return _t.forEach((E,T)=>{(!g||g(T))&&(E.cancel(),b.push(T),_t.delete(T))}),b}function ug(g,b,E){if(C=g,M=b,S=E||null,!m&&y.navigation===Eo){m=!0;let T=gd(y.location,y.matches);T!=null&<({restoreScrollPosition:T})}return()=>{C=null,M=null,S=null}}function pd(g,b){return S&&S(g,b.map(T=>pb(T,y.loaderData)))||g.key}function cg(g,b){if(C&&M){let E=pd(g,b);C[E]=M()}}function gd(g,b){if(C){let E=pd(g,b),T=C[E];if(typeof T=="number")return T}return null}function Uc(g,b,E){if(s)if(g){let T=g[g.length-1].route;if(T.path&&(T.path==="*"||T.path.endsWith("/*")))return{active:!0,matches:ou(b,E,c,!0)}}else return{active:!0,matches:ou(b,E,c,!0)||[]};return{active:!1,matches:null}}async function Cr(g,b,E){let T=g,N=T.length>0?T[T.length-1].route:null;for(;;){let B=u==null,G=u||r;try{await Xb(s,b,T,G,i,l,Kp,E)}catch(k){return{type:"error",error:k,partialMatches:T}}finally{B&&(r=[...r])}if(E.aborted)return{type:"aborted"};let D=dn(G,b,c),Z=!1;if(D){let k=D[D.length-1].route;if(k.index)return{type:"success",matches:D};if(k.path&&k.path.length>0)if(k.path==="*")Z=!0;else return{type:"success",matches:D}}let V=ou(G,b,c,!0);if(!V||T.map(k=>k.route.id).join("-")===V.map(k=>k.route.id).join("-"))return{type:"success",matches:Z?D:null};if(T=V,N=T[T.length-1].route,N.path==="*")return{type:"success",matches:T}}}function og(g){i={},u=ar(g,l,void 0,i)}function sg(g,b){let E=u==null;Bv(g,b,u||r,i,l),E&&(r=[...r],lt({}))}return x={get basename(){return c},get future(){return d},get state(){return y},get routes(){return r},get window(){return t},initialize:Pp,subscribe:Wp,enableScrollRestoration:ug,navigate:ud,fetch:ag,revalidate:Fp,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:sd,deleteFetcher:ig,dispose:Jp,getBlocker:rg,deleteBlocker:md,patchRoutes:sg,_internalFetchControllers:H,_internalActiveDeferreds:_t,_internalSetRoutes:og},x}function Gb(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ws(e,t,a,n,l,i,r,u){let c,o;if(r){c=[];for(let d of t)if(c.push(d),d.route.id===r){o=d;break}}else c=t,o=t[t.length-1];let s=jf(l||".",Bf(c,i),Yl(e.pathname,a)||e.pathname,u==="path");return l==null&&(s.search=e.search,s.hash=e.hash),(l==null||l===""||l===".")&&o&&o.route.index&&!Gf(s.search)&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n&&a!=="/"&&(s.pathname=s.pathname==="/"?a:Ca([a,s.pathname])),On(s)}function Z1(e,t,a,n){if(!n||!Gb(n))return{path:a};if(n.formMethod&&!a4(n.formMethod))return{path:a,error:it(405,{method:n.formMethod})};let l=()=>({path:a,error:it(400,{type:"invalid-body"})}),i=n.formMethod||"get",r=e?i.toUpperCase():i.toLowerCase(),u=jv(a);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Yt(r))return l();let f=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((p,C)=>{let[S,M]=C;return""+p+S+"="+M+` -`},""):String(n.body);return{path:a,submission:{formMethod:r,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}else if(n.formEncType==="application/json"){if(!Yt(r))return l();try{let f=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:a,submission:{formMethod:r,formAction:u,formEncType:n.formEncType,formData:void 0,json:f,text:void 0}}}catch{return l()}}}J(typeof FormData=="function","FormData is not available in this environment");let c,o;if(n.formData)c=Os(n.formData),o=n.formData;else if(n.body instanceof FormData)c=Os(n.body),o=n.body;else if(n.body instanceof URLSearchParams)c=n.body,o=W1(c);else if(n.body==null)c=new URLSearchParams,o=new FormData;else try{c=new URLSearchParams(n.body),o=W1(c)}catch{return l()}let s={formMethod:r,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Yt(s.formMethod))return{path:a,submission:s};let d=Ma(a);return t&&d.search&&Gf(d.search)&&c.append("index",""),d.search="?"+c,{path:On(d),submission:s}}function Yb(e,t){let a=e;if(t){let n=e.findIndex(l=>l.route.id===t);n>=0&&(a=e.slice(0,n))}return a}function Q1(e,t,a,n,l,i,r,u,c,o,s,d,f,p,C,S){let M=S?St(S[1])?S[1].error:S[1].data:void 0,m=e.createURL(t.location),h=e.createURL(l),v=S&&St(S[1])?S[0]:void 0,R=v?Yb(a,v):a,x=S?S[1].statusCode:void 0,y=r&&x&&x>=400,A=R.filter((U,j)=>{let{route:q}=U;if(q.lazy)return!0;if(q.loader==null)return!1;if(i)return typeof q.loader!="function"||q.loader.hydrate?!0:t.loaderData[q.id]===void 0&&(!t.errors||t.errors[q.id]===void 0);if(qb(t.loaderData,t.matches[j],U)||c.some(Ee=>Ee===U.route.id))return!0;let Me=t.matches[j],_e=U;return K1(U,Ae({currentUrl:m,currentParams:Me.params,nextUrl:h,nextParams:_e.params},n,{actionResult:M,unstable_actionStatus:x,defaultShouldRevalidate:y?!1:u||m.pathname+m.search===h.pathname+h.search||m.search!==h.search||Hv(Me,_e)}))}),$=[];return d.forEach((U,j)=>{if(i||!a.some(Tt=>Tt.route.id===U.routeId)||s.has(j))return;let q=dn(p,U.path,C);if(!q){$.push({key:j,routeId:U.routeId,path:U.path,matches:null,match:null,controller:null});return}let Me=t.fetchers.get(j),_e=Ri(q,U.path),Ee=!1;f.has(j)?Ee=!1:o.includes(j)?Ee=!0:Me&&Me.state!=="idle"&&Me.data===void 0?Ee=u:Ee=K1(_e,Ae({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:h,nextParams:a[a.length-1].params},n,{actionResult:M,unstable_actionStatus:x,defaultShouldRevalidate:y?!1:u})),Ee&&$.push({key:j,routeId:U.routeId,path:U.path,matches:q,match:_e,controller:new AbortController})}),[A,$]}function qb(e,t,a){let n=!t||a.route.id!==t.route.id,l=e[a.route.id]===void 0;return n||l}function Hv(e,t){let a=e.route.path;return e.pathname!==t.pathname||a!=null&&a.endsWith("*")&&e.params["*"]!==t.params["*"]}function K1(e,t){if(e.route.shouldRevalidate){let a=e.route.shouldRevalidate(t);if(typeof a=="boolean")return a}return t.defaultShouldRevalidate}async function Xb(e,t,a,n,l,i,r,u){let c=[t,...a.map(o=>o.route.id)].join("-");try{let o=r.get(c);o||(o=e({path:t,matches:a,patch:(s,d)=>{u.aborted||Bv(s,d,n,l,i)}}),r.set(c,o)),o&&Ib(o)&&await o}finally{r.delete(c)}}function Bv(e,t,a,n,l){if(e){var i;let r=n[e];J(r,"No route found to patch children into: routeId = "+e);let u=ar(t,l,[e,"patch",String(((i=r.children)==null?void 0:i.length)||"0")],n);r.children?r.children.push(...u):r.children=u}else{let r=ar(t,l,["patch",String(a.length||"0")],n);a.push(...r)}}async function P1(e,t,a){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let l=a[e.id];J(l,"No route found in manifest");let i={};for(let r in n){let c=l[r]!==void 0&&r!=="hasErrorBoundary";wn(!c,'Route "'+l.id+'" has a static property "'+r+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+r+'" will be ignored.')),!c&&!mb.has(r)&&(i[r]=n[r])}Object.assign(l,i),Object.assign(l,Ae({},t(l),{lazy:void 0}))}function Zb(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function Qb(e,t,a,n,l,i,r,u){let c=n.reduce((d,f)=>d.add(f.route.id),new Set),o=new Set,s=await e({matches:l.map(d=>{let f=c.has(d.route.id);return Ae({},d,{shouldLoad:f,resolve:C=>(o.add(d.route.id),f?Kb(t,a,d,i,r,C,u):Promise.resolve({type:ve.data,result:void 0}))})}),request:a,params:l[0].params,context:u});return l.forEach(d=>J(o.has(d.route.id),'`match.resolve()` was not called for route id "'+d.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),s.filter((d,f)=>c.has(l[f].route.id))}async function Kb(e,t,a,n,l,i,r){let u,c,o=s=>{let d,f=new Promise((S,M)=>d=M);c=()=>d(),t.signal.addEventListener("abort",c);let p=S=>typeof s!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+a.route.id+"]"))):s({request:t,params:a.params,context:r},...S!==void 0?[S]:[]),C;return i?C=i(S=>p(S)):C=(async()=>{try{return{type:"data",result:await p()}}catch(S){return{type:"error",result:S}}})(),Promise.race([C,f])};try{let s=a.route[e];if(a.route.lazy)if(s){let d,[f]=await Promise.all([o(s).catch(p=>{d=p}),P1(a.route,l,n)]);if(d!==void 0)throw d;u=f}else if(await P1(a.route,l,n),s=a.route[e],s)u=await o(s);else if(e==="action"){let d=new URL(t.url),f=d.pathname+d.search;throw it(405,{method:t.method,pathname:f,routeId:a.route.id})}else return{type:ve.data,result:void 0};else if(s)u=await o(s);else{let d=new URL(t.url),f=d.pathname+d.search;throw it(404,{pathname:f})}J(u.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+a.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(s){return{type:ve.error,result:s}}finally{c&&t.signal.removeEventListener("abort",c)}return u}async function Pb(e){let{result:t,type:a,status:n}=e;if(Vv(t)){let r;try{let u=t.headers.get("Content-Type");u&&/\bapplication\/json\b/.test(u)?t.body==null?r=null:r=await t.json():r=await t.text()}catch(u){return{type:ve.error,error:u}}return a===ve.error?{type:ve.error,error:new Vf(t.status,t.statusText,r),statusCode:t.status,headers:t.headers}:{type:ve.data,data:r,statusCode:t.status,headers:t.headers}}if(a===ve.error)return{type:ve.error,error:t,statusCode:dc(t)?t.status:n};if(t4(t)){var l,i;return{type:ve.deferred,deferredData:t,statusCode:(l=t.init)==null?void 0:l.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}return{type:ve.data,data:t,statusCode:n}}function Jb(e,t,a,n,l,i){let r=e.headers.get("Location");if(J(r,"Redirects returned/thrown from loaders/actions must have a Location header"),!kf.test(r)){let u=n.slice(0,n.findIndex(c=>c.route.id===a)+1);r=ws(new URL(t.url),u,l,!0,r,i),e.headers.set("Location",r)}return e}function J1(e,t,a){if(kf.test(e)){let n=e,l=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=Yl(l.pathname,a)!=null;if(l.origin===t.origin&&i)return l.pathname+l.search+l.hash}return e}function Kn(e,t,a,n){let l=e.createURL(jv(t)).toString(),i={signal:a};if(n&&Yt(n.formMethod)){let{formMethod:r,formEncType:u}=n;i.method=r.toUpperCase(),u==="application/json"?(i.headers=new Headers({"Content-Type":u}),i.body=JSON.stringify(n.json)):u==="text/plain"?i.body=n.text:u==="application/x-www-form-urlencoded"&&n.formData?i.body=Os(n.formData):i.body=n.formData}return new Request(l,i)}function Os(e){let t=new URLSearchParams;for(let[a,n]of e.entries())t.append(a,typeof n=="string"?n:n.name);return t}function W1(e){let t=new FormData;for(let[a,n]of e.entries())t.append(a,n);return t}function Wb(e,t,a,n,l,i){let r={},u=null,c,o=!1,s={},d=n&&St(n[1])?n[1].error:void 0;return a.forEach((f,p)=>{let C=t[p].route.id;if(J(!gn(f),"Cannot handle redirect results in processLoaderData"),St(f)){let S=f.error;d!==void 0&&(S=d,d=void 0),u=u||{};{let M=ji(e,C);u[M.route.id]==null&&(u[M.route.id]=S)}r[C]=void 0,o||(o=!0,c=dc(f.error)?f.error.status:500),f.headers&&(s[C]=f.headers)}else pn(f)?(l.set(C,f.deferredData),r[C]=f.deferredData.data,f.statusCode!=null&&f.statusCode!==200&&!o&&(c=f.statusCode),f.headers&&(s[C]=f.headers)):(r[C]=f.data,f.statusCode&&f.statusCode!==200&&!o&&(c=f.statusCode),f.headers&&(s[C]=f.headers))}),d!==void 0&&n&&(u={[n[0]]:d},r[n[0]]=void 0),{loaderData:r,errors:u,statusCode:c||200,loaderHeaders:s}}function F1(e,t,a,n,l,i,r,u){let{loaderData:c,errors:o}=Wb(t,a,n,l,u);for(let s=0;sn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function th(e){let t=e.length===1?e[0]:e.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function it(e,t){let{pathname:a,routeId:n,method:l,type:i,message:r}=t===void 0?{}:t,u="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(u="Bad Request",i==="route-discovery"?c='Unable to match URL "'+a+'" - the `children()` function for '+("route `"+n+"` threw the following error:\n"+r):l&&a&&n?c="You made a "+l+' request to "'+a+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):e===403?(u="Forbidden",c='Route "'+n+'" does not match URL "'+a+'"'):e===404?(u="Not Found",c='No route matches URL "'+a+'"'):e===405&&(u="Method Not Allowed",l&&a&&n?c="You made a "+l.toUpperCase()+' request to "'+a+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":l&&(c='Invalid request method "'+l.toUpperCase()+'"')),new Vf(e||500,u,new Error(c),!0)}function ah(e){for(let t=e.length-1;t>=0;t--){let a=e[t];if(gn(a))return{result:a,idx:t}}}function jv(e){let t=typeof e=="string"?Ma(e):e;return On(Ae({},t,{hash:""}))}function Fb(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Ib(e){return typeof e=="object"&&e!=null&&"then"in e}function e4(e){return Vv(e.result)&&Hb.has(e.result.status)}function pn(e){return e.type===ve.deferred}function St(e){return e.type===ve.error}function gn(e){return(e&&e.type)===ve.redirect}function t4(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function a4(e){return Ub.has(e.toLowerCase())}function Yt(e){return Nb.has(e.toLowerCase())}async function nh(e,t,a,n,l,i){for(let r=0;rd.route.id===c.route.id),s=o!=null&&!Hv(o,c)&&(i&&i[c.route.id])!==void 0;if(pn(u)&&(l||s)){let d=n[r];J(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await kv(u,d,l).then(f=>{f&&(a[r]=f||a[r])})}}}async function kv(e,t,a){if(a===void 0&&(a=!1),!await e.deferredData.resolveData(t)){if(a)try{return{type:ve.data,data:e.deferredData.unwrappedData}}catch(l){return{type:ve.error,error:l}}return{type:ve.data,data:e.deferredData.data}}}function Gf(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ri(e,t){let a=typeof t=="string"?Ma(t).search:t.search;if(e[e.length-1].route.index&&Gf(a||""))return e[e.length-1];let n=Nv(e);return n[n.length-1]}function lh(e){let{formMethod:t,formAction:a,formEncType:n,text:l,formData:i,json:r}=e;if(!(!t||!a||!n)){if(l!=null)return{formMethod:t,formAction:a,formEncType:n,formData:void 0,json:void 0,text:l};if(i!=null)return{formMethod:t,formAction:a,formEncType:n,formData:i,json:void 0,text:void 0};if(r!==void 0)return{formMethod:t,formAction:a,formEncType:n,formData:void 0,json:r,text:void 0}}}function Ro(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function n4(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ui(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function l4(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Ha(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function i4(e,t){try{let a=e.sessionStorage.getItem(Uv);if(a){let n=JSON.parse(a);for(let[l,i]of Object.entries(n||{}))i&&Array.isArray(i)&&t.set(l,new Set(i||[]))}}catch{}}function r4(e,t){if(t.size>0){let a={};for(let[n,l]of t)a[n]=[...l];try{e.sessionStorage.setItem(Uv,JSON.stringify(a))}catch(n){wn(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** - * React Router v6.24.1 + */function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t"u")throw new Error(t)}function wn(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function db(){return Math.random().toString(36).substr(2,8)}function Y1(e,t){return{usr:e.state,key:e.key,idx:t}}function tr(e,t,a,n){return a===void 0&&(a=null),Ae({pathname:typeof e=="string"?e:e.pathname,search:"",hash:""},typeof t=="string"?Ma(t):t,{state:a,key:t&&t.key||n||db()})}function On(e){let{pathname:t="/",search:a="",hash:n=""}=e;return a&&a!=="?"&&(t+=a.charAt(0)==="?"?a:"?"+a),n&&n!=="#"&&(t+=n.charAt(0)==="#"?n:"#"+n),t}function Ma(e){let t={};if(e){let a=e.indexOf("#");a>=0&&(t.hash=e.substr(a),e=e.substr(0,a));let n=e.indexOf("?");n>=0&&(t.search=e.substr(n),e=e.substr(0,n)),e&&(t.pathname=e)}return t}function hb(e,t,a,n){n===void 0&&(n={});let{window:l=document.defaultView,v5Compat:i=!1}=n,r=l.history,u=ze.Pop,c=null,o=s();o==null&&(o=0,r.replaceState(Ae({},r.state,{idx:o}),""));function s(){return(r.state||{idx:null}).idx}function d(){u=ze.Pop;let M=s(),m=M==null?null:M-o;o=M,c&&c({action:u,location:S.location,delta:m})}function f(M,m){u=ze.Push;let h=tr(S.location,M,m);a&&a(h,M),o=s()+1;let v=Y1(h,o),R=S.createHref(h);try{r.pushState(v,"",R)}catch(x){if(x instanceof DOMException&&x.name==="DataCloneError")throw x;l.location.assign(R)}i&&c&&c({action:u,location:S.location,delta:1})}function p(M,m){u=ze.Replace;let h=tr(S.location,M,m);a&&a(h,M),o=s();let v=Y1(h,o),R=S.createHref(h);r.replaceState(v,"",R),i&&c&&c({action:u,location:S.location,delta:0})}function C(M){let m=l.location.origin!=="null"?l.location.origin:l.location.href,h=typeof M=="string"?M:On(M);return h=h.replace(/ $/,"%20"),J(m,"No window.location.(origin|href) available to create URL for href: "+h),new URL(h,m)}let S={get action(){return u},get location(){return e(l,r)},listen(M){if(c)throw new Error("A history only accepts one active listener");return l.addEventListener(G1,d),c=M,()=>{l.removeEventListener(G1,d),c=null}},createHref(M){return t(l,M)},createURL:C,encodeLocation(M){let m=C(M);return{pathname:m.pathname,search:m.search,hash:m.hash}},push:f,replace:p,go(M){return r.go(M)}};return S}var me;(function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"})(me||(me={}));const mb=new Set(["lazy","caseSensitive","path","id","index","children"]);function vb(e){return e.index===!0}function ar(e,t,a,n){return a===void 0&&(a=[]),n===void 0&&(n={}),e.map((l,i)=>{let r=[...a,String(i)],u=typeof l.id=="string"?l.id:r.join("-");if(J(l.index!==!0||!l.children,"Cannot specify children on an index route"),J(!n[u],'Found a route id collision on id "'+u+`". Route id's must be globally unique within Data Router usages`),vb(l)){let c=Ae({},l,t(l),{id:u});return n[u]=c,c}else{let c=Ae({},l,t(l),{id:u,children:void 0});return n[u]=c,l.children&&(c.children=ar(l.children,t,r,n)),c}})}function dn(e,t,a){return a===void 0&&(a="/"),ou(e,t,a,!1)}function ou(e,t,a,n){let l=typeof t=="string"?Ma(t):t,i=ql(l.pathname||"/",a);if(i==null)return null;let r=$v(e);gb(r);let u=null;for(let c=0;u==null&&c{let c={relativePath:u===void 0?i.path||"":u,caseSensitive:i.caseSensitive===!0,childrenIndex:r,route:i};c.relativePath.startsWith("/")&&(J(c.relativePath.startsWith(n),'Absolute route path "'+c.relativePath+'" nested under path '+('"'+n+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),c.relativePath=c.relativePath.slice(n.length));let o=Ca([n,c.relativePath]),s=a.concat(c);i.children&&i.children.length>0&&(J(i.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+o+'".')),$v(i.children,t,s,o)),!(i.path==null&&!i.index)&&t.push({path:o,score:Ab(o,i.index),routesMeta:s})};return e.forEach((i,r)=>{var u;if(i.path===""||!((u=i.path)!=null&&u.includes("?")))l(i,r);else for(let c of zv(i.path))l(i,r,c)}),t}function zv(e){let t=e.split("/");if(t.length===0)return[];let[a,...n]=t,l=a.endsWith("?"),i=a.replace(/\?$/,"");if(n.length===0)return l?[i,""]:[i];let r=zv(n.join("/")),u=[];return u.push(...r.map(c=>c===""?i:[i,c].join("/"))),l&&u.push(...r),u.map(c=>e.startsWith("/")&&c===""?"/":c)}function gb(e){e.sort((t,a)=>t.score!==a.score?a.score-t.score:Tb(t.routesMeta.map(n=>n.childrenIndex),a.routesMeta.map(n=>n.childrenIndex)))}const yb=/^:[\w-]+$/,bb=3,Sb=2,Eb=1,Rb=10,Cb=-2,q1=e=>e==="*";function Ab(e,t){let a=e.split("/"),n=a.length;return a.some(q1)&&(n+=Cb),t&&(n+=Sb),a.filter(l=>!q1(l)).reduce((l,i)=>l+(yb.test(i)?bb:i===""?Eb:Rb),n)}function Tb(e,t){return e.length===t.length&&e.slice(0,-1).every((n,l)=>n===t[l])?e[e.length-1]-t[t.length-1]:0}function _b(e,t,a){a===void 0&&(a=!1);let{routesMeta:n}=e,l={},i="/",r=[];for(let u=0;u{let{paramName:f,isOptional:p}=s;if(f==="*"){let S=u[d]||"";r=i.slice(0,i.length-S.length).replace(/(.)\/+$/,"$1")}const C=u[d];return p&&!C?o[f]=void 0:o[f]=(C||"").replace(/%2F/g,"/"),o},{}),pathname:i,pathnameBase:r,pattern:e}}function wb(e,t,a){t===void 0&&(t=!1),a===void 0&&(a=!0),wn(e==="*"||!e.endsWith("*")||e.endsWith("/*"),'Route path "'+e+'" will be treated as if it were '+('"'+e.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+e.replace(/\*$/,"/*")+'".'));let n=[],l="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(r,u,c)=>(n.push({paramName:u,isOptional:c!=null}),c?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(n.push({paramName:"*"}),l+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):a?l+="\\/*$":e!==""&&e!=="/"&&(l+="(?:(?=\\/|$))"),[new RegExp(l,t?void 0:"i"),n]}function Ob(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return wn(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+t+").")),e}}function ql(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let a=t.endsWith("/")?t.length-1:t.length,n=e.charAt(a);return n&&n!=="/"?null:e.slice(a)||"/"}function Mb(e,t){t===void 0&&(t="/");let{pathname:a,search:n="",hash:l=""}=typeof e=="string"?Ma(e):e;return{pathname:a?a.startsWith("/")?a:xb(a,t):t,search:$b(n),hash:zb(l)}}function xb(e,t){let a=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(l=>{l===".."?a.length>1&&a.pop():l!=="."&&a.push(l)}),a.length>1?a.join("/"):"/"}function So(e,t,a,n){return"Cannot include a '"+e+"' character in a manually specified "+("`to."+t+"` field ["+JSON.stringify(n)+"]. Please separate it out to the ")+("`to."+a+"` field. Alternatively you may provide the full path as ")+'a string in and the router will parse it for you.'}function Nv(e){return e.filter((t,a)=>a===0||t.route.path&&t.route.path.length>0)}function Bf(e,t){let a=Nv(e);return t?a.map((n,l)=>l===a.length-1?n.pathname:n.pathnameBase):a.map(n=>n.pathnameBase)}function jf(e,t,a,n){n===void 0&&(n=!1);let l;typeof e=="string"?l=Ma(e):(l=Ae({},e),J(!l.pathname||!l.pathname.includes("?"),So("?","pathname","search",l)),J(!l.pathname||!l.pathname.includes("#"),So("#","pathname","hash",l)),J(!l.search||!l.search.includes("#"),So("#","search","hash",l)));let i=e===""||l.pathname==="",r=i?"/":l.pathname,u;if(r==null)u=a;else{let d=t.length-1;if(!n&&r.startsWith("..")){let f=r.split("/");for(;f[0]==="..";)f.shift(),d-=1;l.pathname=f.join("/")}u=d>=0?t[d]:"/"}let c=Mb(l,u),o=r&&r!=="/"&&r.endsWith("/"),s=(i||r===".")&&a.endsWith("/");return!c.pathname.endsWith("/")&&(o||s)&&(c.pathname+="/"),c}const Ca=e=>e.join("/").replace(/\/\/+/g,"/"),Db=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),$b=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,zb=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e;class Vf{constructor(t,a,n,l){l===void 0&&(l=!1),this.status=t,this.statusText=a||"",this.internal=l,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function dc(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}const Lv=["post","put","patch","delete"],Nb=new Set(Lv),Lb=["get",...Lv],Ub=new Set(Lb),Hb=new Set([301,302,303,307,308]),Bb=new Set([307,308]),Eo={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},jb={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},ui={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},kf=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Vb=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),Uv="remix-router-transitions";function kb(e){const t=e.window?e.window:typeof window<"u"?window:void 0,a=typeof t<"u"&&typeof t.document<"u"&&typeof t.document.createElement<"u",n=!a;J(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let l;if(e.mapRouteProperties)l=e.mapRouteProperties;else if(e.detectErrorBoundary){let g=e.detectErrorBoundary;l=b=>({hasErrorBoundary:g(b)})}else l=Vb;let i={},r=ar(e.routes,l,void 0,i),u,c=e.basename||"/",o=e.unstable_dataStrategy||Zb,s=e.unstable_patchRoutesOnMiss,d=Ae({v7_fetcherPersist:!1,v7_normalizeFormMethod:!1,v7_partialHydration:!1,v7_prependBasename:!1,v7_relativeSplatPath:!1,v7_skipActionErrorRevalidation:!1},e.future),f=null,p=new Set,C=null,S=null,M=null,m=e.hydrationData!=null,h=dn(r,e.history.location,c),v=null;if(h==null&&!s){let g=it(404,{pathname:e.history.location.pathname}),{matches:b,route:E}=th(r);h=b,v={[E.id]:g}}h&&s&&!e.hydrationData&&Uc(h,r,e.history.location.pathname).active&&(h=null);let R;if(!h)R=!1,h=[];else if(h.some(g=>g.route.lazy))R=!1;else if(!h.some(g=>g.route.loader))R=!0;else if(d.v7_partialHydration){let g=e.hydrationData?e.hydrationData.loaderData:null,b=e.hydrationData?e.hydrationData.errors:null,E=_=>_.route.loader?typeof _.route.loader=="function"&&_.route.loader.hydrate===!0?!1:g&&g[_.route.id]!==void 0||b&&b[_.route.id]!==void 0:!0;if(b){let _=h.findIndex(N=>b[N.route.id]!==void 0);R=h.slice(0,_+1).every(E)}else R=h.every(E)}else R=e.hydrationData!=null;let x,y={historyAction:e.history.action,location:e.history.location,matches:h,initialized:R,navigation:Eo,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||v,fetchers:new Map,blockers:new Map},A=ze.Pop,$=!1,U,j=!1,q=new Map,Me=null,_e=!1,Ee=!1,Tt=[],z=[],H=new Map,Y=0,le=-1,fe=new Map,Ie=new Set,pt=new Map,jt=new Map,qe=new Set,_t=new Map,ln=new Map,Kp=new Map,$c=!1;function Pp(){if(f=e.history.listen(g=>{let{action:b,location:E,delta:_}=g;if($c){$c=!1;return}wn(ln.size===0||_!=null,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let N=vd({currentLocation:y.location,nextLocation:E,historyAction:b});if(N&&_!=null){$c=!0,e.history.go(_*-1),Er(N,{state:"blocked",location:E,proceed(){Er(N,{state:"proceeding",proceed:void 0,reset:void 0,location:E}),e.history.go(_)},reset(){let B=new Map(y.blockers);B.set(N,ui),lt({blockers:B})}});return}return rn(b,E)}),a){i4(t,q);let g=()=>r4(t,q);t.addEventListener("pagehide",g),Me=()=>t.removeEventListener("pagehide",g)}return y.initialized||rn(ze.Pop,y.location,{initialHydration:!0}),x}function Jp(){f&&f(),Me&&Me(),p.clear(),U&&U.abort(),y.fetchers.forEach((g,b)=>Sr(b)),y.blockers.forEach((g,b)=>md(b))}function Wp(g){return p.add(g),()=>p.delete(g)}function lt(g,b){b===void 0&&(b={}),y=Ae({},y,g);let E=[],_=[];d.v7_fetcherPersist&&y.fetchers.forEach((N,B)=>{N.state==="idle"&&(qe.has(B)?_.push(B):E.push(B))}),[...p].forEach(N=>N(y,{deletedFetchers:_,unstable_viewTransitionOpts:b.viewTransitionOpts,unstable_flushSync:b.flushSync===!0})),d.v7_fetcherPersist&&(E.forEach(N=>y.fetchers.delete(N)),_.forEach(N=>Sr(N)))}function kn(g,b,E){var _,N;let{flushSync:B}=E===void 0?{}:E,G=y.actionData!=null&&y.navigation.formMethod!=null&&Yt(y.navigation.formMethod)&&y.navigation.state==="loading"&&((_=g.state)==null?void 0:_._isRedirect)!==!0,D;b.actionData?Object.keys(b.actionData).length>0?D=b.actionData:D=null:G?D=y.actionData:D=null;let Z=b.loaderData?I1(y.loaderData,b.loaderData,b.matches||[],b.errors):y.loaderData,V=y.blockers;V.size>0&&(V=new Map(V),V.forEach((ie,de)=>V.set(de,ui)));let k=$===!0||y.navigation.formMethod!=null&&Yt(y.navigation.formMethod)&&((N=g.state)==null?void 0:N._isRedirect)!==!0;u&&(r=u,u=void 0),_e||A===ze.Pop||(A===ze.Push?e.history.push(g,g.state):A===ze.Replace&&e.history.replace(g,g.state));let ce;if(A===ze.Pop){let ie=q.get(y.location.pathname);ie&&ie.has(g.pathname)?ce={currentLocation:y.location,nextLocation:g}:q.has(g.pathname)&&(ce={currentLocation:g,nextLocation:y.location})}else if(j){let ie=q.get(y.location.pathname);ie?ie.add(g.pathname):(ie=new Set([g.pathname]),q.set(y.location.pathname,ie)),ce={currentLocation:y.location,nextLocation:g}}lt(Ae({},b,{actionData:D,loaderData:Z,historyAction:A,location:g,initialized:!0,navigation:Eo,revalidation:"idle",restoreScrollPosition:gd(g,b.matches||y.matches),preventScrollReset:k,blockers:V}),{viewTransitionOpts:ce,flushSync:B===!0}),A=ze.Pop,$=!1,j=!1,_e=!1,Ee=!1,Tt=[],z=[]}async function ud(g,b){if(typeof g=="number"){e.history.go(g);return}let E=ws(y.location,y.matches,c,d.v7_prependBasename,g,d.v7_relativeSplatPath,b==null?void 0:b.fromRouteId,b==null?void 0:b.relative),{path:_,submission:N,error:B}=Z1(d.v7_normalizeFormMethod,!1,E,b),G=y.location,D=tr(y.location,_,b&&b.state);D=Ae({},D,e.history.encodeLocation(D));let Z=b&&b.replace!=null?b.replace:void 0,V=ze.Push;Z===!0?V=ze.Replace:Z===!1||N!=null&&Yt(N.formMethod)&&N.formAction===y.location.pathname+y.location.search&&(V=ze.Replace);let k=b&&"preventScrollReset"in b?b.preventScrollReset===!0:void 0,ce=(b&&b.unstable_flushSync)===!0,ie=vd({currentLocation:G,nextLocation:D,historyAction:V});if(ie){Er(ie,{state:"blocked",location:D,proceed(){Er(ie,{state:"proceeding",proceed:void 0,reset:void 0,location:D}),ud(g,b)},reset(){let de=new Map(y.blockers);de.set(ie,ui),lt({blockers:de})}});return}return await rn(V,D,{submission:N,pendingError:B,preventScrollReset:k,replace:b&&b.replace,enableViewTransition:b&&b.unstable_viewTransition,flushSync:ce})}function Fp(){if(zc(),lt({revalidation:"loading"}),y.navigation.state!=="submitting"){if(y.navigation.state==="idle"){rn(y.historyAction,y.location,{startUninterruptedRevalidation:!0});return}rn(A||y.historyAction,y.navigation.location,{overrideNavigation:y.navigation})}}async function rn(g,b,E){U&&U.abort(),U=null,A=g,_e=(E&&E.startUninterruptedRevalidation)===!0,cg(y.location,y.matches),$=(E&&E.preventScrollReset)===!0,j=(E&&E.enableViewTransition)===!0;let _=u||r,N=E&&E.overrideNavigation,B=dn(_,b,c),G=(E&&E.flushSync)===!0,D=Uc(B,_,b.pathname);if(D.active&&D.matches&&(B=D.matches),!B){let{error:ne,notFoundMatches:Xe,route:De}=Nc(b.pathname);kn(b,{matches:Xe,loaderData:{},errors:{[De.id]:ne}},{flushSync:G});return}if(y.initialized&&!Ee&&Fb(y.location,b)&&!(E&&E.submission&&Yt(E.submission.formMethod))){kn(b,{matches:B},{flushSync:G});return}U=new AbortController;let Z=Kn(e.history,b,U.signal,E&&E.submission),V;if(E&&E.pendingError)V=[ml(B).route.id,{type:me.error,error:E.pendingError}];else if(E&&E.submission&&Yt(E.submission.formMethod)){let ne=await Ip(Z,b,E.submission,B,D.active,{replace:E.replace,flushSync:G});if(ne.shortCircuited)return;if(ne.pendingActionResult){let[Xe,De]=ne.pendingActionResult;if(St(De)&&dc(De.error)&&De.error.status===404){U=null,kn(b,{matches:ne.matches,loaderData:{},errors:{[Xe]:De.error}});return}}B=ne.matches||B,V=ne.pendingActionResult,N=Ro(b,E.submission),G=!1,D.active=!1,Z=Kn(e.history,Z.url,Z.signal)}let{shortCircuited:k,matches:ce,loaderData:ie,errors:de}=await eg(Z,b,B,D.active,N,E&&E.submission,E&&E.fetcherSubmission,E&&E.replace,E&&E.initialHydration===!0,G,V);k||(U=null,kn(b,Ae({matches:ce||B},eh(V),{loaderData:ie,errors:de})))}async function Ip(g,b,E,_,N,B){B===void 0&&(B={}),zc();let G=n4(b,E);if(lt({navigation:G},{flushSync:B.flushSync===!0}),N){let V=await Cr(_,b.pathname,g.signal);if(V.type==="aborted")return{shortCircuited:!0};if(V.type==="error"){let{boundaryId:k,error:ce}=Rr(b.pathname,V);return{matches:V.partialMatches,pendingActionResult:[k,{type:me.error,error:ce}]}}else if(V.matches)_=V.matches;else{let{notFoundMatches:k,error:ce,route:ie}=Nc(b.pathname);return{matches:k,pendingActionResult:[ie.id,{type:me.error,error:ce}]}}}let D,Z=Ci(_,b);if(!Z.route.action&&!Z.route.lazy)D={type:me.error,error:it(405,{method:g.method,pathname:b.pathname,routeId:Z.route.id})};else if(D=(await Wl("action",g,[Z],_))[0],g.signal.aborted)return{shortCircuited:!0};if(gn(D)){let V;return B&&B.replace!=null?V=B.replace:V=J1(D.response.headers.get("Location"),new URL(g.url),c)===y.location.pathname+y.location.search,await Jl(g,D,{submission:E,replace:V}),{shortCircuited:!0}}if(pn(D))throw it(400,{type:"defer-action"});if(St(D)){let V=ml(_,Z.route.id);return(B&&B.replace)!==!0&&(A=ze.Push),{matches:_,pendingActionResult:[V.route.id,D]}}return{matches:_,pendingActionResult:[Z.route.id,D]}}async function eg(g,b,E,_,N,B,G,D,Z,V,k){let ce=N||Ro(b,B),ie=B||G||lh(ce),de=!_e&&(!d.v7_partialHydration||!Z);if(_){if(de){let we=cd(k);lt(Ae({navigation:ce},we!==void 0?{actionData:we}:{}),{flushSync:V})}let Q=await Cr(E,b.pathname,g.signal);if(Q.type==="aborted")return{shortCircuited:!0};if(Q.type==="error"){let{boundaryId:we,error:gt}=Rr(b.pathname,Q);return{matches:Q.partialMatches,loaderData:{},errors:{[we]:gt}}}else if(Q.matches)E=Q.matches;else{let{error:we,notFoundMatches:gt,route:ye}=Nc(b.pathname);return{matches:gt,loaderData:{},errors:{[ye.id]:we}}}}let ne=u||r,[Xe,De]=Q1(e.history,y,E,ie,b,d.v7_partialHydration&&Z===!0,d.v7_skipActionErrorRevalidation,Ee,Tt,z,qe,pt,Ie,ne,c,k);if(Lc(Q=>!(E&&E.some(we=>we.route.id===Q))||Xe&&Xe.some(we=>we.route.id===Q)),le=++Y,Xe.length===0&&De.length===0){let Q=dd();return kn(b,Ae({matches:E,loaderData:{},errors:k&&St(k[1])?{[k[0]]:k[1].error}:null},eh(k),Q?{fetchers:new Map(y.fetchers)}:{}),{flushSync:V}),{shortCircuited:!0}}if(de){let Q={};if(!_){Q.navigation=ce;let we=cd(k);we!==void 0&&(Q.actionData=we)}De.length>0&&(Q.fetchers=tg(De)),lt(Q,{flushSync:V})}De.forEach(Q=>{H.has(Q.key)&&Da(Q.key),Q.controller&&H.set(Q.key,Q.controller)});let Fl=()=>De.forEach(Q=>Da(Q.key));U&&U.signal.addEventListener("abort",Fl);let{loaderResults:$a,fetcherResults:Gn}=await od(y.matches,E,Xe,De,g);if(g.signal.aborted)return{shortCircuited:!0};U&&U.signal.removeEventListener("abort",Fl),De.forEach(Q=>H.delete(Q.key));let Yn=ah([...$a,...Gn]);if(Yn){if(Yn.idx>=Xe.length){let Q=De[Yn.idx-Xe.length].key;Ie.add(Q)}return await Jl(g,Yn.result,{replace:D}),{shortCircuited:!0}}let{loaderData:qn,errors:Kt}=F1(y,E,Xe,$a,k,De,Gn,_t);_t.forEach((Q,we)=>{Q.subscribe(gt=>{(gt||Q.done)&&_t.delete(we)})}),d.v7_partialHydration&&Z&&y.errors&&Object.entries(y.errors).filter(Q=>{let[we]=Q;return!Xe.some(gt=>gt.route.id===we)}).forEach(Q=>{let[we,gt]=Q;Kt=Object.assign(Kt||{},{[we]:gt})});let Ar=dd(),Tr=hd(le),_r=Ar||Tr||De.length>0;return Ae({matches:E,loaderData:qn,errors:Kt},_r?{fetchers:new Map(y.fetchers)}:{})}function cd(g){if(g&&!St(g[1]))return{[g[0]]:g[1].data};if(y.actionData)return Object.keys(y.actionData).length===0?null:y.actionData}function tg(g){return g.forEach(b=>{let E=y.fetchers.get(b.key),_=ci(void 0,E?E.data:void 0);y.fetchers.set(b.key,_)}),new Map(y.fetchers)}function ag(g,b,E,_){if(n)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");H.has(g)&&Da(g);let N=(_&&_.unstable_flushSync)===!0,B=u||r,G=ws(y.location,y.matches,c,d.v7_prependBasename,E,d.v7_relativeSplatPath,b,_==null?void 0:_.relative),D=dn(B,G,c),Z=Uc(D,B,G);if(Z.active&&Z.matches&&(D=Z.matches),!D){ca(g,b,it(404,{pathname:G}),{flushSync:N});return}let{path:V,submission:k,error:ce}=Z1(d.v7_normalizeFormMethod,!0,G,_);if(ce){ca(g,b,ce,{flushSync:N});return}let ie=Ci(D,V);if($=(_&&_.preventScrollReset)===!0,k&&Yt(k.formMethod)){ng(g,b,V,ie,D,Z.active,N,k);return}pt.set(g,{routeId:b,path:V}),lg(g,b,V,ie,D,Z.active,N,k)}async function ng(g,b,E,_,N,B,G,D){zc(),pt.delete(g);function Z(ye){if(!ye.route.action&&!ye.route.lazy){let oa=it(405,{method:D.formMethod,pathname:E,routeId:b});return ca(g,b,oa,{flushSync:G}),!0}return!1}if(!B&&Z(_))return;let V=y.fetchers.get(g);xa(g,l4(D,V),{flushSync:G});let k=new AbortController,ce=Kn(e.history,E,k.signal,D);if(B){let ye=await Cr(N,E,ce.signal);if(ye.type==="aborted")return;if(ye.type==="error"){let{error:oa}=Rr(E,ye);ca(g,b,oa,{flushSync:G});return}else if(ye.matches){if(N=ye.matches,_=Ci(N,E),Z(_))return}else{ca(g,b,it(404,{pathname:E}),{flushSync:G});return}}H.set(g,k);let ie=Y,ne=(await Wl("action",ce,[_],N))[0];if(ce.signal.aborted){H.get(g)===k&&H.delete(g);return}if(d.v7_fetcherPersist&&qe.has(g)){if(gn(ne)||St(ne)){xa(g,Ha(void 0));return}}else{if(gn(ne))if(H.delete(g),le>ie){xa(g,Ha(void 0));return}else return Ie.add(g),xa(g,ci(D)),Jl(ce,ne,{fetcherSubmission:D});if(St(ne)){ca(g,b,ne.error);return}}if(pn(ne))throw it(400,{type:"defer-action"});let Xe=y.navigation.location||y.location,De=Kn(e.history,Xe,k.signal),Fl=u||r,$a=y.navigation.state!=="idle"?dn(Fl,y.navigation.location,c):y.matches;J($a,"Didn't find any matches after fetcher action");let Gn=++Y;fe.set(g,Gn);let Yn=ci(D,ne.data);y.fetchers.set(g,Yn);let[qn,Kt]=Q1(e.history,y,$a,D,Xe,!1,d.v7_skipActionErrorRevalidation,Ee,Tt,z,qe,pt,Ie,Fl,c,[_.route.id,ne]);Kt.filter(ye=>ye.key!==g).forEach(ye=>{let oa=ye.key,yd=y.fetchers.get(oa),fg=ci(void 0,yd?yd.data:void 0);y.fetchers.set(oa,fg),H.has(oa)&&Da(oa),ye.controller&&H.set(oa,ye.controller)}),lt({fetchers:new Map(y.fetchers)});let Ar=()=>Kt.forEach(ye=>Da(ye.key));k.signal.addEventListener("abort",Ar);let{loaderResults:Tr,fetcherResults:_r}=await od(y.matches,$a,qn,Kt,De);if(k.signal.aborted)return;k.signal.removeEventListener("abort",Ar),fe.delete(g),H.delete(g),Kt.forEach(ye=>H.delete(ye.key));let Q=ah([...Tr,..._r]);if(Q){if(Q.idx>=qn.length){let ye=Kt[Q.idx-qn.length].key;Ie.add(ye)}return Jl(De,Q.result)}let{loaderData:we,errors:gt}=F1(y,y.matches,qn,Tr,void 0,Kt,_r,_t);if(y.fetchers.has(g)){let ye=Ha(ne.data);y.fetchers.set(g,ye)}hd(Gn),y.navigation.state==="loading"&&Gn>le?(J(A,"Expected pending action"),U&&U.abort(),kn(y.navigation.location,{matches:$a,loaderData:we,errors:gt,fetchers:new Map(y.fetchers)})):(lt({errors:gt,loaderData:I1(y.loaderData,we,$a,gt),fetchers:new Map(y.fetchers)}),Ee=!1)}async function lg(g,b,E,_,N,B,G,D){let Z=y.fetchers.get(g);xa(g,ci(D,Z?Z.data:void 0),{flushSync:G});let V=new AbortController,k=Kn(e.history,E,V.signal);if(B){let ne=await Cr(N,E,k.signal);if(ne.type==="aborted")return;if(ne.type==="error"){let{error:Xe}=Rr(E,ne);ca(g,b,Xe,{flushSync:G});return}else if(ne.matches)N=ne.matches,_=Ci(N,E);else{ca(g,b,it(404,{pathname:E}),{flushSync:G});return}}H.set(g,V);let ce=Y,de=(await Wl("loader",k,[_],N))[0];if(pn(de)&&(de=await kv(de,k.signal,!0)||de),H.get(g)===V&&H.delete(g),!k.signal.aborted){if(qe.has(g)){xa(g,Ha(void 0));return}if(gn(de))if(le>ce){xa(g,Ha(void 0));return}else{Ie.add(g),await Jl(k,de);return}if(St(de)){ca(g,b,de.error);return}J(!pn(de),"Unhandled fetcher deferred data"),xa(g,Ha(de.data))}}async function Jl(g,b,E){let{submission:_,fetcherSubmission:N,replace:B}=E===void 0?{}:E;b.response.headers.has("X-Remix-Revalidate")&&(Ee=!0);let G=b.response.headers.get("Location");J(G,"Expected a Location header on the redirect Response"),G=J1(G,new URL(g.url),c);let D=tr(y.location,G,{_isRedirect:!0});if(a){let de=!1;if(b.response.headers.has("X-Remix-Reload-Document"))de=!0;else if(kf.test(G)){const ne=e.history.createURL(G);de=ne.origin!==t.location.origin||ql(ne.pathname,c)==null}if(de){B?t.location.replace(G):t.location.assign(G);return}}U=null;let Z=B===!0?ze.Replace:ze.Push,{formMethod:V,formAction:k,formEncType:ce}=y.navigation;!_&&!N&&V&&k&&ce&&(_=lh(y.navigation));let ie=_||N;if(Bb.has(b.response.status)&&ie&&Yt(ie.formMethod))await rn(Z,D,{submission:Ae({},ie,{formAction:G}),preventScrollReset:$});else{let de=Ro(D,_);await rn(Z,D,{overrideNavigation:de,fetcherSubmission:N,preventScrollReset:$})}}async function Wl(g,b,E,_){try{let N=await Qb(o,g,b,E,_,i,l);return await Promise.all(N.map((B,G)=>{if(e4(B)){let D=B.result;return{type:me.redirect,response:Jb(D,b,E[G].route.id,_,c,d.v7_relativeSplatPath)}}return Pb(B)}))}catch(N){return E.map(()=>({type:me.error,error:N}))}}async function od(g,b,E,_,N){let[B,...G]=await Promise.all([E.length?Wl("loader",N,E,b):[],..._.map(D=>{if(D.matches&&D.match&&D.controller){let Z=Kn(e.history,D.path,D.controller.signal);return Wl("loader",Z,[D.match],D.matches).then(V=>V[0])}else return Promise.resolve({type:me.error,error:it(404,{pathname:D.path})})})]);return await Promise.all([nh(g,E,B,B.map(()=>N.signal),!1,y.loaderData),nh(g,_.map(D=>D.match),G,_.map(D=>D.controller?D.controller.signal:null),!0)]),{loaderResults:B,fetcherResults:G}}function zc(){Ee=!0,Tt.push(...Lc()),pt.forEach((g,b)=>{H.has(b)&&(z.push(b),Da(b))})}function xa(g,b,E){E===void 0&&(E={}),y.fetchers.set(g,b),lt({fetchers:new Map(y.fetchers)},{flushSync:(E&&E.flushSync)===!0})}function ca(g,b,E,_){_===void 0&&(_={});let N=ml(y.matches,b);Sr(g),lt({errors:{[N.route.id]:E},fetchers:new Map(y.fetchers)},{flushSync:(_&&_.flushSync)===!0})}function sd(g){return d.v7_fetcherPersist&&(jt.set(g,(jt.get(g)||0)+1),qe.has(g)&&qe.delete(g)),y.fetchers.get(g)||jb}function Sr(g){let b=y.fetchers.get(g);H.has(g)&&!(b&&b.state==="loading"&&fe.has(g))&&Da(g),pt.delete(g),fe.delete(g),Ie.delete(g),qe.delete(g),y.fetchers.delete(g)}function ig(g){if(d.v7_fetcherPersist){let b=(jt.get(g)||0)-1;b<=0?(jt.delete(g),qe.add(g)):jt.set(g,b)}else Sr(g);lt({fetchers:new Map(y.fetchers)})}function Da(g){let b=H.get(g);J(b,"Expected fetch controller: "+g),b.abort(),H.delete(g)}function fd(g){for(let b of g){let E=sd(b),_=Ha(E.data);y.fetchers.set(b,_)}}function dd(){let g=[],b=!1;for(let E of Ie){let _=y.fetchers.get(E);J(_,"Expected fetcher: "+E),_.state==="loading"&&(Ie.delete(E),g.push(E),b=!0)}return fd(g),b}function hd(g){let b=[];for(let[E,_]of fe)if(_0}function rg(g,b){let E=y.blockers.get(g)||ui;return ln.get(g)!==b&&ln.set(g,b),E}function md(g){y.blockers.delete(g),ln.delete(g)}function Er(g,b){let E=y.blockers.get(g)||ui;J(E.state==="unblocked"&&b.state==="blocked"||E.state==="blocked"&&b.state==="blocked"||E.state==="blocked"&&b.state==="proceeding"||E.state==="blocked"&&b.state==="unblocked"||E.state==="proceeding"&&b.state==="unblocked","Invalid blocker state transition: "+E.state+" -> "+b.state);let _=new Map(y.blockers);_.set(g,b),lt({blockers:_})}function vd(g){let{currentLocation:b,nextLocation:E,historyAction:_}=g;if(ln.size===0)return;ln.size>1&&wn(!1,"A router only supports one blocker at a time");let N=Array.from(ln.entries()),[B,G]=N[N.length-1],D=y.blockers.get(B);if(!(D&&D.state==="proceeding")&&G({currentLocation:b,nextLocation:E,historyAction:_}))return B}function Nc(g){let b=it(404,{pathname:g}),E=u||r,{matches:_,route:N}=th(E);return Lc(),{notFoundMatches:_,route:N,error:b}}function Rr(g,b){return{boundaryId:ml(b.partialMatches).route.id,error:it(400,{type:"route-discovery",pathname:g,message:b.error!=null&&"message"in b.error?b.error:String(b.error)})}}function Lc(g){let b=[];return _t.forEach((E,_)=>{(!g||g(_))&&(E.cancel(),b.push(_),_t.delete(_))}),b}function ug(g,b,E){if(C=g,M=b,S=E||null,!m&&y.navigation===Eo){m=!0;let _=gd(y.location,y.matches);_!=null&<({restoreScrollPosition:_})}return()=>{C=null,M=null,S=null}}function pd(g,b){return S&&S(g,b.map(_=>pb(_,y.loaderData)))||g.key}function cg(g,b){if(C&&M){let E=pd(g,b);C[E]=M()}}function gd(g,b){if(C){let E=pd(g,b),_=C[E];if(typeof _=="number")return _}return null}function Uc(g,b,E){if(s)if(g){let _=g[g.length-1].route;if(_.path&&(_.path==="*"||_.path.endsWith("/*")))return{active:!0,matches:ou(b,E,c,!0)}}else return{active:!0,matches:ou(b,E,c,!0)||[]};return{active:!1,matches:null}}async function Cr(g,b,E){let _=g,N=_.length>0?_[_.length-1].route:null;for(;;){let B=u==null,G=u||r;try{await Xb(s,b,_,G,i,l,Kp,E)}catch(k){return{type:"error",error:k,partialMatches:_}}finally{B&&(r=[...r])}if(E.aborted)return{type:"aborted"};let D=dn(G,b,c),Z=!1;if(D){let k=D[D.length-1].route;if(k.index)return{type:"success",matches:D};if(k.path&&k.path.length>0)if(k.path==="*")Z=!0;else return{type:"success",matches:D}}let V=ou(G,b,c,!0);if(!V||_.map(k=>k.route.id).join("-")===V.map(k=>k.route.id).join("-"))return{type:"success",matches:Z?D:null};if(_=V,N=_[_.length-1].route,N.path==="*")return{type:"success",matches:_}}}function og(g){i={},u=ar(g,l,void 0,i)}function sg(g,b){let E=u==null;Bv(g,b,u||r,i,l),E&&(r=[...r],lt({}))}return x={get basename(){return c},get future(){return d},get state(){return y},get routes(){return r},get window(){return t},initialize:Pp,subscribe:Wp,enableScrollRestoration:ug,navigate:ud,fetch:ag,revalidate:Fp,createHref:g=>e.history.createHref(g),encodeLocation:g=>e.history.encodeLocation(g),getFetcher:sd,deleteFetcher:ig,dispose:Jp,getBlocker:rg,deleteBlocker:md,patchRoutes:sg,_internalFetchControllers:H,_internalActiveDeferreds:_t,_internalSetRoutes:og},x}function Gb(e){return e!=null&&("formData"in e&&e.formData!=null||"body"in e&&e.body!==void 0)}function ws(e,t,a,n,l,i,r,u){let c,o;if(r){c=[];for(let d of t)if(c.push(d),d.route.id===r){o=d;break}}else c=t,o=t[t.length-1];let s=jf(l||".",Bf(c,i),ql(e.pathname,a)||e.pathname,u==="path");return l==null&&(s.search=e.search,s.hash=e.hash),(l==null||l===""||l===".")&&o&&o.route.index&&!Gf(s.search)&&(s.search=s.search?s.search.replace(/^\?/,"?index&"):"?index"),n&&a!=="/"&&(s.pathname=s.pathname==="/"?a:Ca([a,s.pathname])),On(s)}function Z1(e,t,a,n){if(!n||!Gb(n))return{path:a};if(n.formMethod&&!a4(n.formMethod))return{path:a,error:it(405,{method:n.formMethod})};let l=()=>({path:a,error:it(400,{type:"invalid-body"})}),i=n.formMethod||"get",r=e?i.toUpperCase():i.toLowerCase(),u=jv(a);if(n.body!==void 0){if(n.formEncType==="text/plain"){if(!Yt(r))return l();let f=typeof n.body=="string"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((p,C)=>{let[S,M]=C;return""+p+S+"="+M+` +`},""):String(n.body);return{path:a,submission:{formMethod:r,formAction:u,formEncType:n.formEncType,formData:void 0,json:void 0,text:f}}}else if(n.formEncType==="application/json"){if(!Yt(r))return l();try{let f=typeof n.body=="string"?JSON.parse(n.body):n.body;return{path:a,submission:{formMethod:r,formAction:u,formEncType:n.formEncType,formData:void 0,json:f,text:void 0}}}catch{return l()}}}J(typeof FormData=="function","FormData is not available in this environment");let c,o;if(n.formData)c=Os(n.formData),o=n.formData;else if(n.body instanceof FormData)c=Os(n.body),o=n.body;else if(n.body instanceof URLSearchParams)c=n.body,o=W1(c);else if(n.body==null)c=new URLSearchParams,o=new FormData;else try{c=new URLSearchParams(n.body),o=W1(c)}catch{return l()}let s={formMethod:r,formAction:u,formEncType:n&&n.formEncType||"application/x-www-form-urlencoded",formData:o,json:void 0,text:void 0};if(Yt(s.formMethod))return{path:a,submission:s};let d=Ma(a);return t&&d.search&&Gf(d.search)&&c.append("index",""),d.search="?"+c,{path:On(d),submission:s}}function Yb(e,t){let a=e;if(t){let n=e.findIndex(l=>l.route.id===t);n>=0&&(a=e.slice(0,n))}return a}function Q1(e,t,a,n,l,i,r,u,c,o,s,d,f,p,C,S){let M=S?St(S[1])?S[1].error:S[1].data:void 0,m=e.createURL(t.location),h=e.createURL(l),v=S&&St(S[1])?S[0]:void 0,R=v?Yb(a,v):a,x=S?S[1].statusCode:void 0,y=r&&x&&x>=400,A=R.filter((U,j)=>{let{route:q}=U;if(q.lazy)return!0;if(q.loader==null)return!1;if(i)return typeof q.loader!="function"||q.loader.hydrate?!0:t.loaderData[q.id]===void 0&&(!t.errors||t.errors[q.id]===void 0);if(qb(t.loaderData,t.matches[j],U)||c.some(Ee=>Ee===U.route.id))return!0;let Me=t.matches[j],_e=U;return K1(U,Ae({currentUrl:m,currentParams:Me.params,nextUrl:h,nextParams:_e.params},n,{actionResult:M,actionStatus:x,defaultShouldRevalidate:y?!1:u||m.pathname+m.search===h.pathname+h.search||m.search!==h.search||Hv(Me,_e)}))}),$=[];return d.forEach((U,j)=>{if(i||!a.some(Tt=>Tt.route.id===U.routeId)||s.has(j))return;let q=dn(p,U.path,C);if(!q){$.push({key:j,routeId:U.routeId,path:U.path,matches:null,match:null,controller:null});return}let Me=t.fetchers.get(j),_e=Ci(q,U.path),Ee=!1;f.has(j)?Ee=!1:o.includes(j)?Ee=!0:Me&&Me.state!=="idle"&&Me.data===void 0?Ee=u:Ee=K1(_e,Ae({currentUrl:m,currentParams:t.matches[t.matches.length-1].params,nextUrl:h,nextParams:a[a.length-1].params},n,{actionResult:M,actionStatus:x,defaultShouldRevalidate:y?!1:u})),Ee&&$.push({key:j,routeId:U.routeId,path:U.path,matches:q,match:_e,controller:new AbortController})}),[A,$]}function qb(e,t,a){let n=!t||a.route.id!==t.route.id,l=e[a.route.id]===void 0;return n||l}function Hv(e,t){let a=e.route.path;return e.pathname!==t.pathname||a!=null&&a.endsWith("*")&&e.params["*"]!==t.params["*"]}function K1(e,t){if(e.route.shouldRevalidate){let a=e.route.shouldRevalidate(t);if(typeof a=="boolean")return a}return t.defaultShouldRevalidate}async function Xb(e,t,a,n,l,i,r,u){let c=[t,...a.map(o=>o.route.id)].join("-");try{let o=r.get(c);o||(o=e({path:t,matches:a,patch:(s,d)=>{u.aborted||Bv(s,d,n,l,i)}}),r.set(c,o)),o&&Ib(o)&&await o}finally{r.delete(c)}}function Bv(e,t,a,n,l){if(e){var i;let r=n[e];J(r,"No route found to patch children into: routeId = "+e);let u=ar(t,l,[e,"patch",String(((i=r.children)==null?void 0:i.length)||"0")],n);r.children?r.children.push(...u):r.children=u}else{let r=ar(t,l,["patch",String(a.length||"0")],n);a.push(...r)}}async function P1(e,t,a){if(!e.lazy)return;let n=await e.lazy();if(!e.lazy)return;let l=a[e.id];J(l,"No route found in manifest");let i={};for(let r in n){let c=l[r]!==void 0&&r!=="hasErrorBoundary";wn(!c,'Route "'+l.id+'" has a static property "'+r+'" defined but its lazy function is also returning a value for this property. '+('The lazy route property "'+r+'" will be ignored.')),!c&&!mb.has(r)&&(i[r]=n[r])}Object.assign(l,i),Object.assign(l,Ae({},t(l),{lazy:void 0}))}function Zb(e){return Promise.all(e.matches.map(t=>t.resolve()))}async function Qb(e,t,a,n,l,i,r,u){let c=n.reduce((d,f)=>d.add(f.route.id),new Set),o=new Set,s=await e({matches:l.map(d=>{let f=c.has(d.route.id);return Ae({},d,{shouldLoad:f,resolve:C=>(o.add(d.route.id),f?Kb(t,a,d,i,r,C,u):Promise.resolve({type:me.data,result:void 0}))})}),request:a,params:l[0].params,context:u});return l.forEach(d=>J(o.has(d.route.id),'`match.resolve()` was not called for route id "'+d.route.id+'". You must call `match.resolve()` on every match passed to `dataStrategy` to ensure all routes are properly loaded.')),s.filter((d,f)=>c.has(l[f].route.id))}async function Kb(e,t,a,n,l,i,r){let u,c,o=s=>{let d,f=new Promise((S,M)=>d=M);c=()=>d(),t.signal.addEventListener("abort",c);let p=S=>typeof s!="function"?Promise.reject(new Error("You cannot call the handler for a route which defines a boolean "+('"'+e+'" [routeId: '+a.route.id+"]"))):s({request:t,params:a.params,context:r},...S!==void 0?[S]:[]),C;return i?C=i(S=>p(S)):C=(async()=>{try{return{type:"data",result:await p()}}catch(S){return{type:"error",result:S}}})(),Promise.race([C,f])};try{let s=a.route[e];if(a.route.lazy)if(s){let d,[f]=await Promise.all([o(s).catch(p=>{d=p}),P1(a.route,l,n)]);if(d!==void 0)throw d;u=f}else if(await P1(a.route,l,n),s=a.route[e],s)u=await o(s);else if(e==="action"){let d=new URL(t.url),f=d.pathname+d.search;throw it(405,{method:t.method,pathname:f,routeId:a.route.id})}else return{type:me.data,result:void 0};else if(s)u=await o(s);else{let d=new URL(t.url),f=d.pathname+d.search;throw it(404,{pathname:f})}J(u.result!==void 0,"You defined "+(e==="action"?"an action":"a loader")+" for route "+('"'+a.route.id+"\" but didn't return anything from your `"+e+"` ")+"function. Please return a value or `null`.")}catch(s){return{type:me.error,result:s}}finally{c&&t.signal.removeEventListener("abort",c)}return u}async function Pb(e){let{result:t,type:a,status:n}=e;if(Vv(t)){let r;try{let u=t.headers.get("Content-Type");u&&/\bapplication\/json\b/.test(u)?t.body==null?r=null:r=await t.json():r=await t.text()}catch(u){return{type:me.error,error:u}}return a===me.error?{type:me.error,error:new Vf(t.status,t.statusText,r),statusCode:t.status,headers:t.headers}:{type:me.data,data:r,statusCode:t.status,headers:t.headers}}if(a===me.error)return{type:me.error,error:t,statusCode:dc(t)?t.status:n};if(t4(t)){var l,i;return{type:me.deferred,deferredData:t,statusCode:(l=t.init)==null?void 0:l.status,headers:((i=t.init)==null?void 0:i.headers)&&new Headers(t.init.headers)}}return{type:me.data,data:t,statusCode:n}}function Jb(e,t,a,n,l,i){let r=e.headers.get("Location");if(J(r,"Redirects returned/thrown from loaders/actions must have a Location header"),!kf.test(r)){let u=n.slice(0,n.findIndex(c=>c.route.id===a)+1);r=ws(new URL(t.url),u,l,!0,r,i),e.headers.set("Location",r)}return e}function J1(e,t,a){if(kf.test(e)){let n=e,l=n.startsWith("//")?new URL(t.protocol+n):new URL(n),i=ql(l.pathname,a)!=null;if(l.origin===t.origin&&i)return l.pathname+l.search+l.hash}return e}function Kn(e,t,a,n){let l=e.createURL(jv(t)).toString(),i={signal:a};if(n&&Yt(n.formMethod)){let{formMethod:r,formEncType:u}=n;i.method=r.toUpperCase(),u==="application/json"?(i.headers=new Headers({"Content-Type":u}),i.body=JSON.stringify(n.json)):u==="text/plain"?i.body=n.text:u==="application/x-www-form-urlencoded"&&n.formData?i.body=Os(n.formData):i.body=n.formData}return new Request(l,i)}function Os(e){let t=new URLSearchParams;for(let[a,n]of e.entries())t.append(a,typeof n=="string"?n:n.name);return t}function W1(e){let t=new FormData;for(let[a,n]of e.entries())t.append(a,n);return t}function Wb(e,t,a,n,l,i){let r={},u=null,c,o=!1,s={},d=n&&St(n[1])?n[1].error:void 0;return a.forEach((f,p)=>{let C=t[p].route.id;if(J(!gn(f),"Cannot handle redirect results in processLoaderData"),St(f)){let S=f.error;d!==void 0&&(S=d,d=void 0),u=u||{};{let M=ml(e,C);u[M.route.id]==null&&(u[M.route.id]=S)}r[C]=void 0,o||(o=!0,c=dc(f.error)?f.error.status:500),f.headers&&(s[C]=f.headers)}else pn(f)?(l.set(C,f.deferredData),r[C]=f.deferredData.data,f.statusCode!=null&&f.statusCode!==200&&!o&&(c=f.statusCode),f.headers&&(s[C]=f.headers)):(r[C]=f.data,f.statusCode&&f.statusCode!==200&&!o&&(c=f.statusCode),f.headers&&(s[C]=f.headers))}),d!==void 0&&n&&(u={[n[0]]:d},r[n[0]]=void 0),{loaderData:r,errors:u,statusCode:c||200,loaderHeaders:s}}function F1(e,t,a,n,l,i,r,u){let{loaderData:c,errors:o}=Wb(t,a,n,l,u);for(let s=0;sn.route.id===t)+1):[...e]).reverse().find(n=>n.route.hasErrorBoundary===!0)||e[0]}function th(e){let t=e.length===1?e[0]:e.find(a=>a.index||!a.path||a.path==="/")||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function it(e,t){let{pathname:a,routeId:n,method:l,type:i,message:r}=t===void 0?{}:t,u="Unknown Server Error",c="Unknown @remix-run/router error";return e===400?(u="Bad Request",i==="route-discovery"?c='Unable to match URL "'+a+'" - the `unstable_patchRoutesOnMiss()` '+(`function threw the following error: +`+r):l&&a&&n?c="You made a "+l+' request to "'+a+'" but '+('did not provide a `loader` for route "'+n+'", ')+"so there is no way to handle the request.":i==="defer-action"?c="defer() is not supported in actions":i==="invalid-body"&&(c="Unable to encode submission body")):e===403?(u="Forbidden",c='Route "'+n+'" does not match URL "'+a+'"'):e===404?(u="Not Found",c='No route matches URL "'+a+'"'):e===405&&(u="Method Not Allowed",l&&a&&n?c="You made a "+l.toUpperCase()+' request to "'+a+'" but '+('did not provide an `action` for route "'+n+'", ')+"so there is no way to handle the request.":l&&(c='Invalid request method "'+l.toUpperCase()+'"')),new Vf(e||500,u,new Error(c),!0)}function ah(e){for(let t=e.length-1;t>=0;t--){let a=e[t];if(gn(a))return{result:a,idx:t}}}function jv(e){let t=typeof e=="string"?Ma(e):e;return On(Ae({},t,{hash:""}))}function Fb(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===""?t.hash!=="":e.hash===t.hash?!0:t.hash!==""}function Ib(e){return typeof e=="object"&&e!=null&&"then"in e}function e4(e){return Vv(e.result)&&Hb.has(e.result.status)}function pn(e){return e.type===me.deferred}function St(e){return e.type===me.error}function gn(e){return(e&&e.type)===me.redirect}function t4(e){let t=e;return t&&typeof t=="object"&&typeof t.data=="object"&&typeof t.subscribe=="function"&&typeof t.cancel=="function"&&typeof t.resolveData=="function"}function Vv(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.headers=="object"&&typeof e.body<"u"}function a4(e){return Ub.has(e.toLowerCase())}function Yt(e){return Nb.has(e.toLowerCase())}async function nh(e,t,a,n,l,i){for(let r=0;rd.route.id===c.route.id),s=o!=null&&!Hv(o,c)&&(i&&i[c.route.id])!==void 0;if(pn(u)&&(l||s)){let d=n[r];J(d,"Expected an AbortSignal for revalidating fetcher deferred result"),await kv(u,d,l).then(f=>{f&&(a[r]=f||a[r])})}}}async function kv(e,t,a){if(a===void 0&&(a=!1),!await e.deferredData.resolveData(t)){if(a)try{return{type:me.data,data:e.deferredData.unwrappedData}}catch(l){return{type:me.error,error:l}}return{type:me.data,data:e.deferredData.data}}}function Gf(e){return new URLSearchParams(e).getAll("index").some(t=>t==="")}function Ci(e,t){let a=typeof t=="string"?Ma(t).search:t.search;if(e[e.length-1].route.index&&Gf(a||""))return e[e.length-1];let n=Nv(e);return n[n.length-1]}function lh(e){let{formMethod:t,formAction:a,formEncType:n,text:l,formData:i,json:r}=e;if(!(!t||!a||!n)){if(l!=null)return{formMethod:t,formAction:a,formEncType:n,formData:void 0,json:void 0,text:l};if(i!=null)return{formMethod:t,formAction:a,formEncType:n,formData:i,json:void 0,text:void 0};if(r!==void 0)return{formMethod:t,formAction:a,formEncType:n,formData:void 0,json:r,text:void 0}}}function Ro(e,t){return t?{state:"loading",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:"loading",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function n4(e,t){return{state:"submitting",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ci(e,t){return e?{state:"loading",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function l4(e,t){return{state:"submitting",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function Ha(e){return{state:"idle",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function i4(e,t){try{let a=e.sessionStorage.getItem(Uv);if(a){let n=JSON.parse(a);for(let[l,i]of Object.entries(n||{}))i&&Array.isArray(i)&&t.set(l,new Set(i||[]))}}catch{}}function r4(e,t){if(t.size>0){let a={};for(let[n,l]of t)a[n]=[...l];try{e.sessionStorage.setItem(Uv,JSON.stringify(a))}catch(n){wn(!1,"Failed to save applied view transitions in sessionStorage ("+n+").")}}}/** + * React Router v6.25.0 * * Copyright (c) Remix Software Inc. * @@ -65,8 +66,8 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),_.useCallback(function(o,s){if(s===void 0&&(s={}),!u.current)return;if(typeof o=="number"){n.go(o);return}let d=jf(o,JSON.parse(r),i,s.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ca([t,d.pathname])),(s.replace?n.replace:n.push)(d,s.state,s)},[t,n,r,i,e])}function E9(){let{matches:e}=_.useContext(nn),t=e[e.length-1];return t?t.params:{}}function Xv(e,t){let{relative:a}=t===void 0?{}:t,{future:n}=_.useContext(Bn),{matches:l}=_.useContext(nn),{pathname:i}=mc(),r=JSON.stringify(Bf(l,n.v7_relativeSplatPath));return _.useMemo(()=>jf(e,JSON.parse(r),i,a==="path"),[e,r,i,a])}function s4(e,t,a,n){gr()||J(!1);let{navigator:l}=_.useContext(Bn),{matches:i}=_.useContext(nn),r=i[i.length-1],u=r?r.params:{};r&&r.pathname;let c=r?r.pathnameBase:"/";r&&r.route;let o=mc(),s;s=o;let d=s.pathname||"/",f=d;if(c!=="/"){let S=c.replace(/^\//,"").split("/");f="/"+d.replace(/^\//,"").split("/").slice(S.length).join("/")}let p=dn(e,{pathname:f});return v4(p&&p.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:Ca([c,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?c:Ca([c,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,a,n)}function f4(){let e=y4(),t=dc(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return _.createElement(_.Fragment,null,_.createElement("h2",null,"Unexpected Application Error!"),_.createElement("h3",{style:{fontStyle:"italic"}},t),a?_.createElement("pre",{style:l},a):null,null)}const d4=_.createElement(f4,null);class h4 extends _.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){console.error("React Router caught the following error during render",t,a)}render(){return this.state.error!==void 0?_.createElement(nn.Provider,{value:this.props.routeContext},_.createElement(Yv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function m4(e){let{routeContext:t,match:a,children:n}=e,l=_.useContext(hc);return l&&l.static&&l.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=a.route.id),_.createElement(nn.Provider,{value:t},n)}function v4(e,t,a,n){var l;if(t===void 0&&(t=[]),a===void 0&&(a=null),n===void 0&&(n=null),e==null){var i;if((i=a)!=null&&i.errors)e=a.matches;else return null}let r=e,u=(l=a)==null?void 0:l.errors;if(u!=null){let s=r.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id])!==void 0);s>=0||J(!1),r=r.slice(0,Math.min(r.length,s+1))}let c=!1,o=-1;if(a&&n&&n.v7_partialHydration)for(let s=0;s=0?r=r.slice(0,o+1):r=[r[0]];break}}}return r.reduceRight((s,d,f)=>{let p,C=!1,S=null,M=null;a&&(p=u&&d.route.id?u[d.route.id]:void 0,S=d.route.errorElement||d4,c&&(o<0&&f===0?(C=!0,M=null):o===f&&(C=!0,M=d.route.hydrateFallbackElement||null)));let m=t.concat(r.slice(0,f+1)),h=()=>{let v;return p?v=S:C?v=M:d.route.Component?v=_.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=s,_.createElement(m4,{match:d,routeContext:{outlet:s,matches:m,isDataRoute:a!=null},children:v})};return a&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?_.createElement(h4,{location:a.location,revalidation:a.revalidation,component:S,error:p,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var Zv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Zv||{}),zl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(zl||{});function p4(e){let t=_.useContext(hc);return t||J(!1),t}function Qv(e){let t=_.useContext(Gv);return t||J(!1),t}function g4(e){let t=_.useContext(nn);return t||J(!1),t}function qf(e){let t=g4(),a=t.matches[t.matches.length-1];return a.route.id||J(!1),a.route.id}function R9(){let e=Qv(zl.UseLoaderData),t=qf(zl.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function y4(){var e;let t=_.useContext(Yv),a=Qv(zl.UseRouteError),n=qf(zl.UseRouteError);return t!==void 0?t:(e=a.errors)==null?void 0:e[n]}function b4(){let{router:e}=p4(Zv.UseNavigateStable),t=qf(zl.UseNavigateStable),a=_.useRef(!1);return qv(()=>{a.current=!0}),_.useCallback(function(l,i){i===void 0&&(i={}),a.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Yu({fromRouteId:t},i)))},[e,t])}function S4(e){let{basename:t="/",children:a=null,location:n,navigationType:l=ze.Pop,navigator:i,static:r=!1,future:u}=e;gr()&&J(!1);let c=t.replace(/^\/*/,"/"),o=_.useMemo(()=>({basename:c,navigator:i,static:r,future:Yu({v7_relativeSplatPath:!1},u)}),[c,u,i,r]);typeof n=="string"&&(n=Ma(n));let{pathname:s="/",search:d="",hash:f="",state:p=null,key:C="default"}=n,S=_.useMemo(()=>{let M=Yl(s,c);return M==null?null:{location:{pathname:M,search:d,hash:f,state:p,key:C},navigationType:l}},[c,s,d,f,p,C,l]);return S==null?null:_.createElement(Bn.Provider,{value:o},_.createElement(Yf.Provider,{children:a,value:S}))}new Promise(()=>{});function E4(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:_.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:_.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:_.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** - * React Router DOM v6.24.1 + */function Yu(){return Yu=Object.assign?Object.assign.bind():function(e){for(var t=1;t{u.current=!0}),T.useCallback(function(o,s){if(s===void 0&&(s={}),!u.current)return;if(typeof o=="number"){n.go(o);return}let d=jf(o,JSON.parse(r),i,s.relative==="path");e==null&&t!=="/"&&(d.pathname=d.pathname==="/"?t:Ca([t,d.pathname])),(s.replace?n.replace:n.push)(d,s.state,s)},[t,n,r,i,e])}function E9(){let{matches:e}=T.useContext(nn),t=e[e.length-1];return t?t.params:{}}function Xv(e,t){let{relative:a}=t===void 0?{}:t,{future:n}=T.useContext(Bn),{matches:l}=T.useContext(nn),{pathname:i}=mc(),r=JSON.stringify(Bf(l,n.v7_relativeSplatPath));return T.useMemo(()=>jf(e,JSON.parse(r),i,a==="path"),[e,r,i,a])}function s4(e,t,a,n){gr()||J(!1);let{navigator:l}=T.useContext(Bn),{matches:i}=T.useContext(nn),r=i[i.length-1],u=r?r.params:{};r&&r.pathname;let c=r?r.pathnameBase:"/";r&&r.route;let o=mc(),s;s=o;let d=s.pathname||"/",f=d;if(c!=="/"){let S=c.replace(/^\//,"").split("/");f="/"+d.replace(/^\//,"").split("/").slice(S.length).join("/")}let p=dn(e,{pathname:f});return v4(p&&p.map(S=>Object.assign({},S,{params:Object.assign({},u,S.params),pathname:Ca([c,l.encodeLocation?l.encodeLocation(S.pathname).pathname:S.pathname]),pathnameBase:S.pathnameBase==="/"?c:Ca([c,l.encodeLocation?l.encodeLocation(S.pathnameBase).pathname:S.pathnameBase])})),i,a,n)}function f4(){let e=y4(),t=dc(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),a=e instanceof Error?e.stack:null,l={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return T.createElement(T.Fragment,null,T.createElement("h2",null,"Unexpected Application Error!"),T.createElement("h3",{style:{fontStyle:"italic"}},t),a?T.createElement("pre",{style:l},a):null,null)}const d4=T.createElement(f4,null);class h4 extends T.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,a){return a.location!==t.location||a.revalidation!=="idle"&&t.revalidation==="idle"?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:t.error!==void 0?t.error:a.error,location:a.location,revalidation:t.revalidation||a.revalidation}}componentDidCatch(t,a){console.error("React Router caught the following error during render",t,a)}render(){return this.state.error!==void 0?T.createElement(nn.Provider,{value:this.props.routeContext},T.createElement(Yv.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function m4(e){let{routeContext:t,match:a,children:n}=e,l=T.useContext(hc);return l&&l.static&&l.staticContext&&(a.route.errorElement||a.route.ErrorBoundary)&&(l.staticContext._deepestRenderedBoundaryId=a.route.id),T.createElement(nn.Provider,{value:t},n)}function v4(e,t,a,n){var l;if(t===void 0&&(t=[]),a===void 0&&(a=null),n===void 0&&(n=null),e==null){var i;if((i=a)!=null&&i.errors)e=a.matches;else return null}let r=e,u=(l=a)==null?void 0:l.errors;if(u!=null){let s=r.findIndex(d=>d.route.id&&(u==null?void 0:u[d.route.id])!==void 0);s>=0||J(!1),r=r.slice(0,Math.min(r.length,s+1))}let c=!1,o=-1;if(a&&n&&n.v7_partialHydration)for(let s=0;s=0?r=r.slice(0,o+1):r=[r[0]];break}}}return r.reduceRight((s,d,f)=>{let p,C=!1,S=null,M=null;a&&(p=u&&d.route.id?u[d.route.id]:void 0,S=d.route.errorElement||d4,c&&(o<0&&f===0?(C=!0,M=null):o===f&&(C=!0,M=d.route.hydrateFallbackElement||null)));let m=t.concat(r.slice(0,f+1)),h=()=>{let v;return p?v=S:C?v=M:d.route.Component?v=T.createElement(d.route.Component,null):d.route.element?v=d.route.element:v=s,T.createElement(m4,{match:d,routeContext:{outlet:s,matches:m,isDataRoute:a!=null},children:v})};return a&&(d.route.ErrorBoundary||d.route.errorElement||f===0)?T.createElement(h4,{location:a.location,revalidation:a.revalidation,component:S,error:p,children:h(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):h()},null)}var Zv=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(Zv||{}),Nl=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(Nl||{});function p4(e){let t=T.useContext(hc);return t||J(!1),t}function Qv(e){let t=T.useContext(Gv);return t||J(!1),t}function g4(e){let t=T.useContext(nn);return t||J(!1),t}function qf(e){let t=g4(),a=t.matches[t.matches.length-1];return a.route.id||J(!1),a.route.id}function R9(){let e=Qv(Nl.UseLoaderData),t=qf(Nl.UseLoaderData);if(e.errors&&e.errors[t]!=null){console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")");return}return e.loaderData[t]}function y4(){var e;let t=T.useContext(Yv),a=Qv(Nl.UseRouteError),n=qf(Nl.UseRouteError);return t!==void 0?t:(e=a.errors)==null?void 0:e[n]}function b4(){let{router:e}=p4(Zv.UseNavigateStable),t=qf(Nl.UseNavigateStable),a=T.useRef(!1);return qv(()=>{a.current=!0}),T.useCallback(function(l,i){i===void 0&&(i={}),a.current&&(typeof l=="number"?e.navigate(l):e.navigate(l,Yu({fromRouteId:t},i)))},[e,t])}function S4(e){let{basename:t="/",children:a=null,location:n,navigationType:l=ze.Pop,navigator:i,static:r=!1,future:u}=e;gr()&&J(!1);let c=t.replace(/^\/*/,"/"),o=T.useMemo(()=>({basename:c,navigator:i,static:r,future:Yu({v7_relativeSplatPath:!1},u)}),[c,u,i,r]);typeof n=="string"&&(n=Ma(n));let{pathname:s="/",search:d="",hash:f="",state:p=null,key:C="default"}=n,S=T.useMemo(()=>{let M=ql(s,c);return M==null?null:{location:{pathname:M,search:d,hash:f,state:p,key:C},navigationType:l}},[c,s,d,f,p,C,l]);return S==null?null:T.createElement(Bn.Provider,{value:o},T.createElement(Yf.Provider,{children:a,value:S}))}new Promise(()=>{});function E4(e){let t={hasErrorBoundary:e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&Object.assign(t,{element:T.createElement(e.Component),Component:void 0}),e.HydrateFallback&&Object.assign(t,{hydrateFallbackElement:T.createElement(e.HydrateFallback),HydrateFallback:void 0}),e.ErrorBoundary&&Object.assign(t,{errorElement:T.createElement(e.ErrorBoundary),ErrorBoundary:void 0}),t}/** + * React Router DOM v6.25.0 * * Copyright (c) Remix Software Inc. * @@ -74,16 +75,16 @@ Error generating stack: `+a.message+` * LICENSE.md file in the root directory of this source tree. * * @license MIT - */function nr(){return nr=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0)&&(a[l]=e[l]);return a}function C4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function A4(e,t){return e.button===0&&(!t||t==="_self")&&!C4(e)}const T4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],_4="6";try{window.__reactRouterVersion=_4}catch{}function w4(e,t){return kb({basename:void 0,future:nr({},void 0,{v7_prependBasename:!0}),history:fb({window:void 0}),hydrationData:O4(),routes:e,mapRouteProperties:E4,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function O4(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=nr({},t,{errors:M4(t.errors)})),t}function M4(e){if(!e)return null;let t=Object.entries(e),a={};for(let[n,l]of t)if(l&&l.__type==="RouteErrorResponse")a[n]=new Vf(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let r=new i(l.message);r.stack="",a[n]=r}catch{}}if(a[n]==null){let i=new Error(l.message);i.stack="",a[n]=i}}else a[n]=l;return a}const x4=_.createContext({isTransitioning:!1}),D4=_.createContext(new Map),$4="startTransition",ih=Uo[$4],z4="flushSync",rh=Ng[z4];function N4(e){ih?ih(e):e()}function ci(e){rh?rh(e):e()}class L4{constructor(){this.status="pending",this.promise=new Promise((t,a)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",a(n))}})}}function U4(e){let{fallbackElement:t,router:a,future:n}=e,[l,i]=_.useState(a.state),[r,u]=_.useState(),[c,o]=_.useState({isTransitioning:!1}),[s,d]=_.useState(),[f,p]=_.useState(),[C,S]=_.useState(),M=_.useRef(new Map),{v7_startTransition:m}=n||{},h=_.useCallback(A=>{m?N4(A):A()},[m]),v=_.useCallback((A,$)=>{let{deletedFetchers:U,unstable_flushSync:j,unstable_viewTransitionOpts:q}=$;U.forEach(_e=>M.current.delete(_e)),A.fetchers.forEach((_e,Ee)=>{_e.data!==void 0&&M.current.set(Ee,_e.data)});let Me=a.window==null||a.window.document==null||typeof a.window.document.startViewTransition!="function";if(!q||Me){j?ci(()=>i(A)):h(()=>i(A));return}if(j){ci(()=>{f&&(s&&s.resolve(),f.skipTransition()),o({isTransitioning:!0,flushSync:!0,currentLocation:q.currentLocation,nextLocation:q.nextLocation})});let _e=a.window.document.startViewTransition(()=>{ci(()=>i(A))});_e.finished.finally(()=>{ci(()=>{d(void 0),p(void 0),u(void 0),o({isTransitioning:!1})})}),ci(()=>p(_e));return}f?(s&&s.resolve(),f.skipTransition(),S({state:A,currentLocation:q.currentLocation,nextLocation:q.nextLocation})):(u(A),o({isTransitioning:!0,flushSync:!1,currentLocation:q.currentLocation,nextLocation:q.nextLocation}))},[a.window,f,s,M,h]);_.useLayoutEffect(()=>a.subscribe(v),[a,v]),_.useEffect(()=>{c.isTransitioning&&!c.flushSync&&d(new L4)},[c]),_.useEffect(()=>{if(s&&r&&a.window){let A=r,$=s.promise,U=a.window.document.startViewTransition(async()=>{h(()=>i(A)),await $});U.finished.finally(()=>{d(void 0),p(void 0),u(void 0),o({isTransitioning:!1})}),p(U)}},[h,r,s,a.window]),_.useEffect(()=>{s&&r&&l.location.key===r.location.key&&s.resolve()},[s,f,l.location,r]),_.useEffect(()=>{!c.isTransitioning&&C&&(u(C.state),o({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),S(void 0))},[c.isTransitioning,C]),_.useEffect(()=>{},[]);let R=_.useMemo(()=>({createHref:a.createHref,encodeLocation:a.encodeLocation,go:A=>a.navigate(A),push:(A,$,U)=>a.navigate(A,{state:$,preventScrollReset:U==null?void 0:U.preventScrollReset}),replace:(A,$,U)=>a.navigate(A,{replace:!0,state:$,preventScrollReset:U==null?void 0:U.preventScrollReset})}),[a]),x=a.basename||"/",y=_.useMemo(()=>({router:a,navigator:R,static:!1,basename:x}),[a,R,x]);return _.createElement(_.Fragment,null,_.createElement(hc.Provider,{value:y},_.createElement(Gv.Provider,{value:l},_.createElement(D4.Provider,{value:M.current},_.createElement(x4.Provider,{value:c},_.createElement(S4,{basename:x,location:l.location,navigationType:l.historyAction,navigator:R,future:{v7_relativeSplatPath:a.future.v7_relativeSplatPath}},l.initialized||a.future.v7_partialHydration?_.createElement(H4,{routes:a.routes,future:a.future,state:l}):t))))),null)}function H4(e){let{routes:t,future:a,state:n}=e;return s4(t,void 0,n,a)}const B4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",j4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,C9=_.forwardRef(function(t,a){let{onClick:n,relative:l,reloadDocument:i,replace:r,state:u,target:c,to:o,preventScrollReset:s,unstable_viewTransition:d}=t,f=R4(t,T4),{basename:p}=_.useContext(Bn),C,S=!1;if(typeof o=="string"&&j4.test(o)&&(C=o,B4))try{let v=new URL(window.location.href),R=o.startsWith("//")?new URL(v.protocol+o):new URL(o),x=Yl(R.pathname,p);R.origin===v.origin&&x!=null?o=x+R.search+R.hash:S=!0}catch{}let M=u4(o,{relative:l}),m=V4(o,{replace:r,state:u,target:c,preventScrollReset:s,relative:l,unstable_viewTransition:d});function h(v){n&&n(v),v.defaultPrevented||m(v)}return _.createElement("a",nr({},f,{href:C||M,onClick:S||i?n:h,ref:a,target:c}))});var uh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uh||(uh={}));var ch;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ch||(ch={}));function V4(e,t){let{target:a,replace:n,state:l,preventScrollReset:i,relative:r,unstable_viewTransition:u}=t===void 0?{}:t,c=c4(),o=mc(),s=Xv(e,{relative:r});return _.useCallback(d=>{if(A4(d,a)){d.preventDefault();let f=n!==void 0?n:On(o)===On(s);c(e,{replace:f,state:l,preventScrollReset:i,relative:r,unstable_viewTransition:u})}},[o,c,s,n,l,a,e,i,r,u])}function k4(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ke(ql,--mt):0,Nl--,Le===10&&(Nl=1,pc--),Le}function Ct(){return Le=mt2||ir(Le)>3?"":" "}function e3(e,t){for(;--t&&Ct()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return yr(e,su()+(t<6&&na()==32&&Ct()==32))}function xs(e){for(;Ct();)switch(Le){case e:return mt;case 34:case 39:e!==34&&e!==39&&xs(Le);break;case 40:e===41&&xs(e);break;case 92:Ct();break}return mt}function t3(e,t){for(;Ct()&&e+Le!==57;)if(e+Le===84&&na()===47)break;return"/*"+yr(t,mt-1)+"*"+vc(e===47?e:Ct())}function a3(e){for(;!ir(na());)Ct();return yr(e,mt)}function n3(e){return Iv(du("",null,null,null,[""],e=Fv(e),0,[0],e))}function du(e,t,a,n,l,i,r,u,c){for(var o=0,s=0,d=r,f=0,p=0,C=0,S=1,M=1,m=1,h=0,v="",R=l,x=i,y=n,A=v;M;)switch(C=h,h=Ct()){case 40:if(C!=108&&Ke(A,d-1)==58){Ms(A+=te(fu(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:A+=fu(h);break;case 9:case 10:case 13:case 32:A+=I4(C);break;case 92:A+=e3(su()-1,7);continue;case 47:switch(na()){case 42:case 47:qr(l3(t3(Ct(),su()),t,a),c);break;default:A+="/"}break;case 123*S:u[o++]=Jt(A)*m;case 125*S:case 59:case 0:switch(h){case 0:case 125:M=0;case 59+s:m==-1&&(A=te(A,/\f/g,"")),p>0&&Jt(A)-d&&qr(p>32?sh(A+";",n,a,d-1):sh(te(A," ","")+";",n,a,d-2),c);break;case 59:A+=";";default:if(qr(y=oh(A,t,a,o,s,l,u,v,R=[],x=[],d),i),h===123)if(s===0)du(A,t,y,y,R,i,d,u,x);else switch(f===99&&Ke(A,3)===110?100:f){case 100:case 108:case 109:case 115:du(e,y,y,n&&qr(oh(e,y,y,0,0,l,u,v,l,R=[],d),x),l,x,d,u,n?R:x);break;default:du(A,y,y,y,[""],x,0,u,x)}}o=s=p=0,S=m=1,v=A="",d=r;break;case 58:d=1+Jt(A),p=C;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&F4()==125)continue}switch(A+=vc(h),h*S){case 38:m=s>0?1:(A+="\f",-1);break;case 44:u[o++]=(Jt(A)-1)*m,m=1;break;case 64:na()===45&&(A+=fu(Ct())),f=na(),s=d=Jt(v=A+=a3(su())),h++;break;case 45:C===45&&Jt(A)==2&&(S=0)}}return i}function oh(e,t,a,n,l,i,r,u,c,o,s){for(var d=l-1,f=l===0?i:[""],p=Qf(f),C=0,S=0,M=0;C0?f[m]+" "+h:te(h,/&\f/g,f[m])))&&(c[M++]=v);return gc(e,t,a,l===0?Xf:u,c,o,s)}function l3(e,t,a){return gc(e,t,a,Kv,vc(W4()),lr(e,2,-2),0)}function sh(e,t,a,n){return gc(e,t,a,Zf,lr(e,0,n),lr(e,n+1,-1),n)}function Cl(e,t){for(var a="",n=Qf(e),l=0;l6)switch(Ke(e,t+1)){case 109:if(Ke(e,t+4)!==45)break;case 102:return te(e,/(.+:)(.+)-([^]+)/,"$1"+ee+"$2-$3$1"+qu+(Ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ms(e,"stretch")?tp(te(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ke(e,t+1)!==115)break;case 6444:switch(Ke(e,Jt(e)-3-(~Ms(e,"!important")&&10))){case 107:return te(e,":",":"+ee)+e;case 101:return te(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ee+(Ke(e,14)===45?"inline-":"")+"box$3$1"+ee+"$2$3$1"+et+"$2box$3")+e}break;case 5936:switch(Ke(e,t+11)){case 114:return ee+e+et+te(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ee+e+et+te(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ee+e+et+te(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ee+e+et+e+e}return e}var h3=function(t,a,n,l){if(t.length>-1&&!t.return)switch(t.type){case Zf:t.return=tp(t.value,t.length);break;case Pv:return Cl([oi(t,{value:te(t.value,"@","@"+ee)})],l);case Xf:if(t.length)return J4(t.props,function(i){switch(P4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Cl([oi(t,{props:[te(i,/:(read-\w+)/,":"+qu+"$1")]})],l);case"::placeholder":return Cl([oi(t,{props:[te(i,/:(plac\w+)/,":"+ee+"input-$1")]}),oi(t,{props:[te(i,/:(plac\w+)/,":"+qu+"$1")]}),oi(t,{props:[te(i,/:(plac\w+)/,et+"input-$1")]})],l)}return""})}},m3=[h3],v3=function(t){var a=t.key;if(a==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(S){var M=S.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var l=t.stylisPlugins||m3,i={},r,u=[];r=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(S){for(var M=S.getAttribute("data-emotion").split(" "),m=1;m=0)&&(a[l]=e[l]);return a}function C4(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function A4(e,t){return e.button===0&&(!t||t==="_self")&&!C4(e)}const T4=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],_4="6";try{window.__reactRouterVersion=_4}catch{}function w4(e,t){return kb({basename:void 0,future:nr({},void 0,{v7_prependBasename:!0}),history:fb({window:void 0}),hydrationData:O4(),routes:e,mapRouteProperties:E4,unstable_dataStrategy:void 0,unstable_patchRoutesOnMiss:void 0,window:void 0}).initialize()}function O4(){var e;let t=(e=window)==null?void 0:e.__staticRouterHydrationData;return t&&t.errors&&(t=nr({},t,{errors:M4(t.errors)})),t}function M4(e){if(!e)return null;let t=Object.entries(e),a={};for(let[n,l]of t)if(l&&l.__type==="RouteErrorResponse")a[n]=new Vf(l.status,l.statusText,l.data,l.internal===!0);else if(l&&l.__type==="Error"){if(l.__subType){let i=window[l.__subType];if(typeof i=="function")try{let r=new i(l.message);r.stack="",a[n]=r}catch{}}if(a[n]==null){let i=new Error(l.message);i.stack="",a[n]=i}}else a[n]=l;return a}const x4=T.createContext({isTransitioning:!1}),D4=T.createContext(new Map),$4="startTransition",ih=Uo[$4],z4="flushSync",rh=Ng[z4];function N4(e){ih?ih(e):e()}function oi(e){rh?rh(e):e()}class L4{constructor(){this.status="pending",this.promise=new Promise((t,a)=>{this.resolve=n=>{this.status==="pending"&&(this.status="resolved",t(n))},this.reject=n=>{this.status==="pending"&&(this.status="rejected",a(n))}})}}function U4(e){let{fallbackElement:t,router:a,future:n}=e,[l,i]=T.useState(a.state),[r,u]=T.useState(),[c,o]=T.useState({isTransitioning:!1}),[s,d]=T.useState(),[f,p]=T.useState(),[C,S]=T.useState(),M=T.useRef(new Map),{v7_startTransition:m}=n||{},h=T.useCallback(A=>{m?N4(A):A()},[m]),v=T.useCallback((A,$)=>{let{deletedFetchers:U,unstable_flushSync:j,unstable_viewTransitionOpts:q}=$;U.forEach(_e=>M.current.delete(_e)),A.fetchers.forEach((_e,Ee)=>{_e.data!==void 0&&M.current.set(Ee,_e.data)});let Me=a.window==null||a.window.document==null||typeof a.window.document.startViewTransition!="function";if(!q||Me){j?oi(()=>i(A)):h(()=>i(A));return}if(j){oi(()=>{f&&(s&&s.resolve(),f.skipTransition()),o({isTransitioning:!0,flushSync:!0,currentLocation:q.currentLocation,nextLocation:q.nextLocation})});let _e=a.window.document.startViewTransition(()=>{oi(()=>i(A))});_e.finished.finally(()=>{oi(()=>{d(void 0),p(void 0),u(void 0),o({isTransitioning:!1})})}),oi(()=>p(_e));return}f?(s&&s.resolve(),f.skipTransition(),S({state:A,currentLocation:q.currentLocation,nextLocation:q.nextLocation})):(u(A),o({isTransitioning:!0,flushSync:!1,currentLocation:q.currentLocation,nextLocation:q.nextLocation}))},[a.window,f,s,M,h]);T.useLayoutEffect(()=>a.subscribe(v),[a,v]),T.useEffect(()=>{c.isTransitioning&&!c.flushSync&&d(new L4)},[c]),T.useEffect(()=>{if(s&&r&&a.window){let A=r,$=s.promise,U=a.window.document.startViewTransition(async()=>{h(()=>i(A)),await $});U.finished.finally(()=>{d(void 0),p(void 0),u(void 0),o({isTransitioning:!1})}),p(U)}},[h,r,s,a.window]),T.useEffect(()=>{s&&r&&l.location.key===r.location.key&&s.resolve()},[s,f,l.location,r]),T.useEffect(()=>{!c.isTransitioning&&C&&(u(C.state),o({isTransitioning:!0,flushSync:!1,currentLocation:C.currentLocation,nextLocation:C.nextLocation}),S(void 0))},[c.isTransitioning,C]),T.useEffect(()=>{},[]);let R=T.useMemo(()=>({createHref:a.createHref,encodeLocation:a.encodeLocation,go:A=>a.navigate(A),push:(A,$,U)=>a.navigate(A,{state:$,preventScrollReset:U==null?void 0:U.preventScrollReset}),replace:(A,$,U)=>a.navigate(A,{replace:!0,state:$,preventScrollReset:U==null?void 0:U.preventScrollReset})}),[a]),x=a.basename||"/",y=T.useMemo(()=>({router:a,navigator:R,static:!1,basename:x}),[a,R,x]);return T.createElement(T.Fragment,null,T.createElement(hc.Provider,{value:y},T.createElement(Gv.Provider,{value:l},T.createElement(D4.Provider,{value:M.current},T.createElement(x4.Provider,{value:c},T.createElement(S4,{basename:x,location:l.location,navigationType:l.historyAction,navigator:R,future:{v7_relativeSplatPath:a.future.v7_relativeSplatPath}},l.initialized||a.future.v7_partialHydration?T.createElement(H4,{routes:a.routes,future:a.future,state:l}):t))))),null)}function H4(e){let{routes:t,future:a,state:n}=e;return s4(t,void 0,n,a)}const B4=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",j4=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,C9=T.forwardRef(function(t,a){let{onClick:n,relative:l,reloadDocument:i,replace:r,state:u,target:c,to:o,preventScrollReset:s,unstable_viewTransition:d}=t,f=R4(t,T4),{basename:p}=T.useContext(Bn),C,S=!1;if(typeof o=="string"&&j4.test(o)&&(C=o,B4))try{let v=new URL(window.location.href),R=o.startsWith("//")?new URL(v.protocol+o):new URL(o),x=ql(R.pathname,p);R.origin===v.origin&&x!=null?o=x+R.search+R.hash:S=!0}catch{}let M=u4(o,{relative:l}),m=V4(o,{replace:r,state:u,target:c,preventScrollReset:s,relative:l,unstable_viewTransition:d});function h(v){n&&n(v),v.defaultPrevented||m(v)}return T.createElement("a",nr({},f,{href:C||M,onClick:S||i?n:h,ref:a,target:c}))});var uh;(function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"})(uh||(uh={}));var ch;(function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"})(ch||(ch={}));function V4(e,t){let{target:a,replace:n,state:l,preventScrollReset:i,relative:r,unstable_viewTransition:u}=t===void 0?{}:t,c=c4(),o=mc(),s=Xv(e,{relative:r});return T.useCallback(d=>{if(A4(d,a)){d.preventDefault();let f=n!==void 0?n:On(o)===On(s);c(e,{replace:f,state:l,preventScrollReset:i,relative:r,unstable_viewTransition:u})}},[o,c,s,n,l,a,e,i,r,u])}function k4(e){if(e.sheet)return e.sheet;for(var t=0;t0?Ke(Xl,--mt):0,Ll--,Le===10&&(Ll=1,pc--),Le}function Ct(){return Le=mt2||ir(Le)>3?"":" "}function e3(e,t){for(;--t&&Ct()&&!(Le<48||Le>102||Le>57&&Le<65||Le>70&&Le<97););return yr(e,su()+(t<6&&na()==32&&Ct()==32))}function xs(e){for(;Ct();)switch(Le){case e:return mt;case 34:case 39:e!==34&&e!==39&&xs(Le);break;case 40:e===41&&xs(e);break;case 92:Ct();break}return mt}function t3(e,t){for(;Ct()&&e+Le!==57;)if(e+Le===84&&na()===47)break;return"/*"+yr(t,mt-1)+"*"+vc(e===47?e:Ct())}function a3(e){for(;!ir(na());)Ct();return yr(e,mt)}function n3(e){return Iv(du("",null,null,null,[""],e=Fv(e),0,[0],e))}function du(e,t,a,n,l,i,r,u,c){for(var o=0,s=0,d=r,f=0,p=0,C=0,S=1,M=1,m=1,h=0,v="",R=l,x=i,y=n,A=v;M;)switch(C=h,h=Ct()){case 40:if(C!=108&&Ke(A,d-1)==58){Ms(A+=ee(fu(h),"&","&\f"),"&\f")!=-1&&(m=-1);break}case 34:case 39:case 91:A+=fu(h);break;case 9:case 10:case 13:case 32:A+=I4(C);break;case 92:A+=e3(su()-1,7);continue;case 47:switch(na()){case 42:case 47:qr(l3(t3(Ct(),su()),t,a),c);break;default:A+="/"}break;case 123*S:u[o++]=Jt(A)*m;case 125*S:case 59:case 0:switch(h){case 0:case 125:M=0;case 59+s:m==-1&&(A=ee(A,/\f/g,"")),p>0&&Jt(A)-d&&qr(p>32?sh(A+";",n,a,d-1):sh(ee(A," ","")+";",n,a,d-2),c);break;case 59:A+=";";default:if(qr(y=oh(A,t,a,o,s,l,u,v,R=[],x=[],d),i),h===123)if(s===0)du(A,t,y,y,R,i,d,u,x);else switch(f===99&&Ke(A,3)===110?100:f){case 100:case 108:case 109:case 115:du(e,y,y,n&&qr(oh(e,y,y,0,0,l,u,v,l,R=[],d),x),l,x,d,u,n?R:x);break;default:du(A,y,y,y,[""],x,0,u,x)}}o=s=p=0,S=m=1,v=A="",d=r;break;case 58:d=1+Jt(A),p=C;default:if(S<1){if(h==123)--S;else if(h==125&&S++==0&&F4()==125)continue}switch(A+=vc(h),h*S){case 38:m=s>0?1:(A+="\f",-1);break;case 44:u[o++]=(Jt(A)-1)*m,m=1;break;case 64:na()===45&&(A+=fu(Ct())),f=na(),s=d=Jt(v=A+=a3(su())),h++;break;case 45:C===45&&Jt(A)==2&&(S=0)}}return i}function oh(e,t,a,n,l,i,r,u,c,o,s){for(var d=l-1,f=l===0?i:[""],p=Qf(f),C=0,S=0,M=0;C0?f[m]+" "+h:ee(h,/&\f/g,f[m])))&&(c[M++]=v);return gc(e,t,a,l===0?Xf:u,c,o,s)}function l3(e,t,a){return gc(e,t,a,Kv,vc(W4()),lr(e,2,-2),0)}function sh(e,t,a,n){return gc(e,t,a,Zf,lr(e,0,n),lr(e,n+1,-1),n)}function Al(e,t){for(var a="",n=Qf(e),l=0;l6)switch(Ke(e,t+1)){case 109:if(Ke(e,t+4)!==45)break;case 102:return ee(e,/(.+:)(.+)-([^]+)/,"$1"+I+"$2-$3$1"+qu+(Ke(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ms(e,"stretch")?tp(ee(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ke(e,t+1)!==115)break;case 6444:switch(Ke(e,Jt(e)-3-(~Ms(e,"!important")&&10))){case 107:return ee(e,":",":"+I)+e;case 101:return ee(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+I+(Ke(e,14)===45?"inline-":"")+"box$3$1"+I+"$2$3$1"+et+"$2box$3")+e}break;case 5936:switch(Ke(e,t+11)){case 114:return I+e+et+ee(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return I+e+et+ee(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return I+e+et+ee(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return I+e+et+e+e}return e}var h3=function(t,a,n,l){if(t.length>-1&&!t.return)switch(t.type){case Zf:t.return=tp(t.value,t.length);break;case Pv:return Al([si(t,{value:ee(t.value,"@","@"+I)})],l);case Xf:if(t.length)return J4(t.props,function(i){switch(P4(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Al([si(t,{props:[ee(i,/:(read-\w+)/,":"+qu+"$1")]})],l);case"::placeholder":return Al([si(t,{props:[ee(i,/:(plac\w+)/,":"+I+"input-$1")]}),si(t,{props:[ee(i,/:(plac\w+)/,":"+qu+"$1")]}),si(t,{props:[ee(i,/:(plac\w+)/,et+"input-$1")]})],l)}return""})}},m3=[h3],v3=function(t){var a=t.key;if(a==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(S){var M=S.getAttribute("data-emotion");M.indexOf(" ")!==-1&&(document.head.appendChild(S),S.setAttribute("data-s",""))})}var l=t.stylisPlugins||m3,i={},r,u=[];r=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(S){for(var M=S.getAttribute("data-emotion").split(" "),m=1;m=4;++n,l-=4)a=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,t=(a&65535)*1540483477+((a>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var z3={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},N3=/[A-Z]|^ms/g,L3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cp=function(t){return t.charCodeAt(1)===45},ph=function(t){return t!=null&&typeof t!="boolean"},Co=ep(function(e){return cp(e)?e:e.replace(N3,"-$&").toLowerCase()}),gh=function(t,a){switch(t){case"animation":case"animationName":if(typeof a=="string")return a.replace(L3,function(n,l,i){return Wt={name:l,styles:i,next:Wt},l})}return z3[t]!==1&&!cp(t)&&typeof a=="number"&&a!==0?a+"px":a};function rr(e,t,a){if(a==null)return"";if(a.__emotion_styles!==void 0)return a;switch(typeof a){case"boolean":return"";case"object":{if(a.anim===1)return Wt={name:a.name,styles:a.styles,next:Wt},a.name;if(a.styles!==void 0){var n=a.next;if(n!==void 0)for(;n!==void 0;)Wt={name:n.name,styles:n.styles,next:Wt},n=n.next;var l=a.styles+";";return l}return U3(e,t,a)}case"function":{if(e!==void 0){var i=Wt,r=a(e);return Wt=i,rr(e,t,r)}break}}return a}function U3(e,t,a){var n="";if(Array.isArray(a))for(var l=0;la=>{if(typeof e=="function"){const n=a.displayName||a.name,l=e(a,...t);return l.displayName=n,l}else return a}}function vp(e,t,a,n,...l){}const Mn=(e,t,...a)=>vp("error",!0,e,t,...a),Xu=(e,t,...a)=>vp("warn",!0,e,t,...a);var I3=function e(t,a){if(t===a)return!0;if(t&&a&&typeof t=="object"&&typeof a=="object"){if(t.constructor!==a.constructor)return!1;var n,l,i;if(Array.isArray(t)){if(n=t.length,n!=a.length)return!1;for(l=n;l--!==0;)if(!e(t[l],a[l]))return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(a).length)return!1;for(l=n;l--!==0;)if(!Object.prototype.hasOwnProperty.call(a,i[l]))return!1;for(l=n;l--!==0;){var r=i[l];if(!e(t[r],a[r]))return!1}return!0}return t!==t&&a!==a};const e5=Ll(I3),t5=(e,t)=>(t.has(e)?t.set(e,t.get(e)+1):t.set(e,0),`${e}_${t.get(e)}`),a5=Object.prototype.hasOwnProperty;function pp(e){if(typeof e!="object")return!0;for(const t in e)if(a5.call(e,t))return!1;return!0}function gp(...e){let t={};return e.forEach(a=>{t=yp(t,a)}),t}function yp(e,t){if(Ao(t)){const a=[...Object.keys(t),...Object.getOwnPropertySymbols(t)],n={...e};return a.forEach(l=>{Ao(e[l])&&Ao(t[l])?n[l]=yp(e[l],t[l]):To(t[l])&&To(e[l])?n[l]=[...new Set([...e[l],...t[l]])]:To(e[l])?n[l]=[...new Set([...e[l],t[l]])]:n[l]=t[l]}),n}else return{...e}}function Ao(e){return e&&(typeof e=="object"||typeof e=="function")&&!Array.isArray(e)}function To(e){return Array.isArray(e)}function n5(e){if(Array.isArray(e))return e}function l5(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,l,i,r,u=[],c=!0,o=!1;try{if(i=(a=a.call(e)).next,t===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(n=i.call(a)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(s){o=!0,l=s}finally{try{if(!c&&a.return!=null&&(r=a.return(),Object(r)!==r))return}finally{if(o)throw l}}return u}}function Sh(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a!!e&&e.ref!==void 0,o5=e=>!!e&&e.current!==void 0;function br(e){const t=typeof e=="function"?e():e;if(t&&t===document)return document.documentElement;if(t instanceof Element||t===window||t&&typeof t.nodeType<"u")return t;if(t){const a=t;if(c5(a)){const n=o5(a.ref)?a.ref.current:a.ref;return n instanceof HTMLElement?n:br(n)}else return a.constructor.componentId?a.constructor.componentId:a.constructor.name,Jh.findDOMNode(t)}}const Mc=!!(typeof window<"u"&&window.document&&window.document.createElement);function s5(e){const t=e&&br(e);let a;t&&"ownerDocument"in t&&(a=t.ownerDocument);const n=Mc?window.document:void 0;return a||n}function f5(e){const t=e&&br(e),a=s5(t);return a&&a.defaultView}function d5(e,t){let a={};if(Mc){const n=e&&br(e);if(n){const l=f5(e);a=l?l.getComputedStyle(n,t):{}}}return a}function bp(e){return e.replace(/-([a-z])/g,t=>t[1].toUpperCase())}const h5=["borders","breakpoints","colors","forms","media","shadows","spacing","stacking","transitions","typography"],Sp=e=>{if(Array.isArray(e)||typeof e=="function")throw new Error;try{return"key"in e&&h5.every(t=>t in e)}catch{throw new Error}};function m5(e,t,a){var n,l;return t.as&&t.as!==((n=e.defaultProps)===null||n===void 0?void 0:n.as)?t.as:typeof a=="function"?a():t.href?"a":t.to?(Xu(!t.as,`[${e.displayName}] \`as\` prop should be provided when using \`to\``),"a"):typeof t.onClick=="function"?"button":((l=e.defaultProps)===null||l===void 0?void 0:l.as)||"span"}function Ep(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return p5(e,l)}const v5=Object.prototype.hasOwnProperty,p5=(e,t)=>{const a={};for(const n in e)n==="theme"||n==="children"||n==="className"||n==="style"||n==="styles"||n==="makeStyles"||n==="themeOverride"||n==="deterministicId"||t.includes(n)||!v5.call(e,n)||(a[n]=e[n]);return a};var g5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,y5=ep(function(e){return g5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function b5(e){const t={};return Object.keys(e).filter(a=>y5(a)&&a!=="style"&&a!=="className"&&a!=="children"&&a!=="styles"&&a!=="makeStyles"&&a!=="deterministicId").forEach(a=>{t[a]=e[a]}),t}function Rp(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return S5(e,l)}function S5(e,t){const a={},n=t.length;let l=-1,i;for(;++lbe.createElement(Ap.Provider,{value:t},e),C5=Oc(e=>{const t=_.forwardRef((a,n)=>{const l=e.componentId||e.displayName||e.name,i=_.useContext(Ap),r=(u=l)=>t5(u,i);return a.deterministicId&&Xu(!1,`Manually passing the "deterministicId" property is not allowed on the ${l} component. -`,a.deterministicId),be.createElement(e,Object.assign({ref:n,deterministicId:r},a))});return If(t,e),t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,t.allowedProps=e.allowedProps,t.originalType=e.originalType||e,t});function A5(e,t){if(e==null)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;a[n]=e[n]}return a}function xn(e,t){if(e==null)return{};var a,n,l=A5(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}let si,Xr,_o;const T5=()=>{if(si)return si;if(Mc){const e=document.documentElement;return Xr=e.getAttribute("dir"),si=Xr||d5(e).direction,_o||(_o=new MutationObserver(()=>{const t=e.getAttribute("dir");t&&t!==Xr&&(Xr=si=t)}),_o.observe(e,{attributes:!0})),si}};function _5(e){if(Mc)return T5()}const zs=_.createContext(_5()||"ltr"),xc={ltr:"ltr",rtl:"rtl"},w5=["forwardedRef"],ad=Oc(e=>{class t extends be.Component{render(){const l=this.props,i=l.forwardedRef,r=xn(l,w5);return be.createElement(zs.Consumer,null,u=>be.createElement(e,Object.assign({ref:i,dir:u},r)))}}t.displayName="TextDirectionContextConsumerComponent";const a=_.forwardRef((n,l)=>be.createElement(t,Object.assign({},n,{forwardedRef:l})));return If(a,e),a.defaultProps=e.defaultProps,a.propTypes=e.propTypes,a.allowedProps=e.allowedProps,a.originalType=e.originalType||e,a});ad.DIRECTION=xc;const O5=L.oneOf(["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"]),M5=Object.freeze({radiusSmall:"0.125rem",radiusMedium:"0.25rem",radiusLarge:"0.5rem",widthSmall:"0.0625rem",widthMedium:"0.125rem",widthLarge:"0.25rem",style:"solid"});function x5(e){const t={textDarkest:e.licorice,textDark:e.ash,textLight:e.porcelain,textLightest:e.white,textBrand:e.brand,textLink:e.link,textAlert:e.barney,textInfo:e.brand,textSuccess:e.shamrock,textDanger:e.crimson,textWarning:e.fire},a={backgroundDarkest:e.licorice,backgroundDark:e.ash,backgroundMedium:e.tiara,backgroundLight:e.porcelain,backgroundLightest:e.white,backgroundBrand:e.brand,backgroundBrandSecondary:e.oxford,backgroundAlert:e.barney,backgroundInfo:e.brand,backgroundSuccess:e.shamrock,backgroundDanger:e.crimson,backgroundWarning:e.fire},n={borderLightest:e.white,borderLight:e.porcelain,borderMedium:e.tiara,borderDark:e.ash,borderDarkest:e.licorice,borderBrand:e.brand,borderAlert:e.barney,borderInfo:e.brand,borderSuccess:e.shamrock,borderDanger:e.crimson,borderWarning:e.fire,borderDebug:e.crimson};return{...e,...t,...a,...n,values:e,text:t,background:a,border:n}}const D5={brand:"#0374B5",link:"#0374B5",electric:"#0374B5",shamrock:"#0B874B",barney:"#BF32A4",crimson:"#E0061F",fire:"#FC5E13",licorice:"#2D3B45",oxford:"#394B58",ash:"#6B7780",slate:"#8B969E",tiara:"#C7CDD1",porcelain:"#F5F5F5",white:"#FFFFFF"},$5=Object.freeze(x5(D5)),z5=Object.freeze({duration:"300ms",timing:"ease-in-out"}),N5=Object.freeze({fontFamily:'LatoWeb, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif',fontFamilyMonospace:'Menlo, Consolas, Monaco, "Andale Mono", monospace',fontSizeXSmall:"0.75rem",fontSizeSmall:"0.875rem",fontSizeMedium:"1rem",fontSizeLarge:"1.375rem",fontSizeXLarge:"1.75rem",fontSizeXXLarge:"2.375rem",fontWeightLight:300,fontWeightNormal:400,fontWeightBold:700,lineHeight:1.5,lineHeightFit:1.125,lineHeightCondensed:1.25,lineHeightDouble:2,letterSpacingNormal:0,letterSpacingCondensed:"-0.0625rem",letterSpacingExpanded:"0.0625rem"}),L5=Object.freeze({xxxSmall:"0.125rem",xxSmall:"0.375rem",xSmall:"0.5rem",small:"0.75rem",mediumSmall:"1rem",medium:"1.5rem",large:"2.25rem",xLarge:"3rem",xxLarge:"3.75rem"}),U5=Object.freeze({inputHeightSmall:"1.75rem",inputHeightMedium:"2.375rem",inputHeightLarge:"3rem"}),H5=.0625,ma={xxSmall:8,xSmall:16,small:30,medium:48,tablet:48,large:62,desktop:64,xLarge:75},hu=Object.freeze({xxSmall:`${ma.xxSmall}em`,xSmall:`${ma.xSmall}em`,small:`${ma.small}em`,medium:`${ma.medium}em`,tablet:`${ma.tablet}em`,large:`${ma.large}em`,desktop:`${ma.desktop}em`,xLarge:`${ma.xLarge}em`,maxWidth:`${ma.large-H5}em`}),B5=Object.freeze({mediumMin:`min-width: ${hu.medium}`,largeMin:`min-width: ${hu.large}`,xLargeMin:`min-width: ${hu.xLarge}`}),Pn=["0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)","0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)","0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)"],j5=Object.freeze({depth1:Pn[0],depth2:Pn[1],depth3:Pn[2],resting:Pn[0],above:Pn[1],topmost:Pn[2]}),V5=Object.freeze({topmost:9999,above:1,below:-1,deepest:-9999}),Tp={colors:$5,borders:M5,transitions:z5,typography:N5,spacing:L5,forms:U5,media:B5,breakpoints:hu,shadows:j5,stacking:V5},k5=["key","description"],G5=["key","description","use"],Y5="@@themeRegistryDefaultTheme",Zu="__GLOBAL_THEME_REGISTRY__";globalThis[Zu]?nd(q5(globalThis[Zu])):wp();function _p(){return{currentThemeKey:null,themes:{},registered:[]}}function q5(e){const t=_p();if(typeof e>"u")return t;let a=!0;return Object.keys(t).forEach(n=>{typeof e[n]>"u"&&(a=!1)}),Mn(a,"[theme-registry] Invalid global theme registry!"),e}function Dc(){return globalThis[Zu]}function nd(e){globalThis[Zu]=e}function wp(){nd(_p())}function X5(){const e=Dc(),t=e.currentThemeKey;if(t)return e.themes[t]}function Z5(e,t){const a=Dc(),n=a.themes[e];n||e!==Y5&&Mn(n,`[theme-registry] Could not find theme: '${e}' in the registry.`),a.currentThemeKey=e;const l=gp(n,t);return a.themes[e]=l,l}function Q5(e){const t=e.key,a=e.description,n=xn(e,k5),l={key:t,description:a,...n,use(i){Z5(t,(i==null?void 0:i.overrides)||{})}};return new Proxy(l,{get(i,r){i.key,i.description,i.use;const u=xn(i,G5);return r==="variables"?u:Reflect.get(i,r)}})}function K5(e){const t=Dc();if(e.key&&t.themes[e.key])return t.themes[e.key];{if(!Sp(e))throw Mn(!1,`[theme-registry] The theme provided to 'registerTheme' is not a valid theme object! -For it to be valid some properties have to be present, check out https://instructure.design/#canvas as a reference.`),new Error;const a=Q5(e);return t.themes[a.key]=a,t.registered.push(a.key),a}}const ld={getRegistry:Dc,clearRegistry:wp,setRegistry:nd,registerTheme:K5,getCurrentTheme:X5},yt=Tp.colors,P5="canvas",J5={"ic-brand-primary":yt.textBrand,"ic-brand-font-color-dark":yt.textDarkest,"ic-link-color":yt.textLink,"ic-link-decoration":"none","ic-brand-button--primary-bgd":yt.backgroundBrand,"ic-brand-button--primary-text":yt.textLightest,"ic-brand-button--secondary-bgd":yt.backgroundDarkest,"ic-brand-button--secondary-text":yt.textLightest,"ic-brand-global-nav-bgd":yt.backgroundBrandSecondary,"ic-global-nav-link-hover":yt.backgroundDarkest,"ic-brand-global-nav-ic-icon-svg-fill":yt.textLightest,"ic-brand-global-nav-ic-icon-svg-fill--active":yt.textBrand,"ic-brand-global-nav-menu-item__text-color":yt.textLightest,"ic-brand-global-nav-menu-item__text-color--active":yt.textBrand},W5={key:P5,...Tp,...J5},id=ld.registerTheme(W5),F5=e=>(t={})=>{var a,n;try{if(Sp(e))return e}catch{e={}}let l;Object.keys(t).length===0?l=ld.getCurrentTheme()||id:l=t;const i=l.key,r=((a=e)===null||a===void 0||(n=a.themeOverrides)===null||n===void 0?void 0:n[i])||e.themeOverrides||{};return gp(l,e,r)};function Op({children:e,theme:t={},dir:a,instanceCounterMap:n,as:l}){const i=a||_.useContext(zs);let r=be.createElement(R5,{instanceCounterMap:n},be.createElement(G3,{theme:F5(t)},be.createElement(zs.Provider,{value:i},e)));if(a){const u=l||"span";r=be.createElement(u,{dir:i},r)}return r}Op.propTypes={children:L.node,theme:L.object,dir:L.oneOf(["ltr","rtl"]),instanceCounterMap:L.instanceOf(Map),as:L.string};const I5=(e,t,a,n,l)=>{const i=t,r=a,u=n,c=u.themeOverride,o=e,s=o.componentOverrides;let d={},f={};return s&&(d=i&&s[i]||r&&s[r]||{}),c&&(typeof c=="function"?f=c(l||{},e):f=c),{...d,...f}},eS=()=>{let e=j3();if(pp(e)){const t=ld.getCurrentTheme();if(t)return t;e=id}return e},wo={styles:{},makeStyles:()=>{}},rd=Oc((e,t,a)=>{const n=e.displayName||e.name,l=_.forwardRef((i,r)=>{const u=eS();i.styles&&Xu(!1,`Manually passing the "styles" property is not allowed on the ${n} component. Using the default styles calculated by the @withStyle decorator instead. -`,i.styles),i.makeStyles&&Xu(!1,`Manually passing the "makeStyles" property is not allowed on the ${n} component. Styles are calculated by the @withStyle decorator.`);const c={...e.defaultProps,...i,...wo};let o=typeof a=="function"?a(u):{};const s=I5(u,n,e.componentId,c,o);o={...o,...s};const d=_.useState(t?t(o,c,{}):{}),f=u5(d,2),p=f[0],C=f[1],S=M=>{const m=t(o,c,M);e5(m,p)||C(m)};return be.createElement(e,Object.assign({ref:r},i,{makeStyles:S,styles:p,themeOverride:s}))});return If(l,e),l.originalType=e.originalType||e,l.propTypes=e.propTypes,l.defaultProps=e.defaultProps,l.allowedProps=e.allowedProps,l.generateComponentTheme=a,e.defaultProps={...e.defaultProps,makeStyles:wo.makeStyles,styles:wo.styles},l}),jn={SHADOW_TYPES:{resting:"resting",above:"above",topmost:"topmost",none:"none"},STACKING_TYPES:{deepest:"deepest",below:"below",resting:"resting",above:"above",topmost:"topmost"},BORDER_WIDTHS:{0:"0",none:"none",small:"small",medium:"medium",large:"large"},BORDER_RADII:{0:"0",none:"none",small:"small",medium:"medium",large:"large",circle:"circle",pill:"pill"},BACKGROUNDS:{default:"default",inverse:"inverse",transparent:"transparent"},SIZES:{xSmall:"x-small",small:"small",medium:"medium",large:"large",xLarge:"x-large"},SPACING:{0:"0",none:"none",auto:"auto",xxxSmall:"xxx-small",xxSmall:"xx-small",xSmall:"x-small",small:"small",mediumSmall:"mediumSmall",medium:"medium",large:"large",xLarge:"x-large",xxLarge:"xx-large"}},tS=jn.SHADOW_TYPES,aS=jn.STACKING_TYPES,nS=jn.BORDER_WIDTHS,lS=jn.BORDER_RADII,iS=jn.BACKGROUNDS,rS=jn.SIZES,uS=jn.SPACING,Jn={shadow:L.oneOf(Object.values(tS)),stacking:L.oneOf(Object.values(aS)),borderWidth:Oo(Object.values(nS)),borderRadius:Oo(Object.values(lS)),background:L.oneOf(Object.values(iS)),size:L.oneOf(Object.values(rS)),spacing:Oo(Object.values(uS))};function Oo(e){return function(t,a,n,l){const i=t[a];if(typeof i>"u")return null;if(typeof i!="string")return new Error(`Invalid ${l} \`${a}\` of type \`${typeof i}\` supplied to \`${n}\`, expected a string.`);const r=i.split(" "),u=r.length;if(u>0&&u<5){for(let c=0;c{a[bp(`${e}-${String(n)}`)]=t[n]}),a}function Qu(e,t,a,n){if(!(typeof a!="string"||pp(t)))return a.split(" ").map(l=>{if(l==="auto"||l==="0")return l;if(l==="none")return"0";if(l==="circle")return"100%";if(l==="pill")return"999em";const i=bp(`${n}-${l}`),r=t[i];return Mn(typeof r<"u",`[${e}] '${i}' is an invalid '${n}' value.`),r||"0"}).join(" ").trim()}function Ns(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===4){var a=[t[3],t[1]];t[1]=a[0],t[3]=a[1]}return t.join(" ")}function cS(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===2){var a=[t[1],t[0]];t[0]=a[0],t[1]=a[1]}if(t.length===3&&t.push(t[1]),t.length===4){var n=[t[1],t[0],t[3],t[2]];t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]}return t.join(" ")}let Ls=!0;try{var Mo,xo;Ls=!((Mo=process)!==null&&Mo!==void 0&&(xo=Mo.env)!==null&&xo!==void 0&&xo.ALWAYS_APPEND_UI_TESTABLE_LOCATORS)}catch(e){if(e instanceof ReferenceError)Ls=!1;else throw e}const Mp=Ls?()=>e=>e:Oc(e=>{const a={attribute:"data-cid",value:e.displayName||e.name},n=`[${a.attribute}~="${a.value}"]`;class l extends e{constructor(...r){super(...r),this._testableUnmounted=void 0,this._locatorTimeout=void 0}componentDidMount(){this._testableUnmounted=!1,super.componentDidMount&&super.componentDidMount(),this.appendLocatorAttribute()}componentDidUpdate(r,u,c){super.componentDidUpdate&&super.componentDidUpdate(r,u,c),this.appendLocatorAttribute()}componentWillUnmount(){this._testableUnmounted=!0,super.componentWillUnmount&&super.componentWillUnmount(),this._locatorTimeout&&clearTimeout(this._locatorTimeout)}appendLocatorAttribute(){this._locatorTimeout=setTimeout(()=>{let r;if(!this._testableUnmounted){try{r=this.DOMNode||br(this)}catch{}if(r){const u=r.getAttribute(a.attribute),c=typeof u=="string"?u.split(/\s+/):[];c.includes(a.value)||c.push(a.value),r.setAttribute(a.attribute,c.join(" "))}}})}}return l.selector=n,l}),oS=({borderRadius:e,borderWidth:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{borderRadius:Qu("View",n,l?cS(e):e,"borderRadius"),borderWidth:Qu("View",n,l?Ns(t):t,"borderWidth")}},sS=({margin:e,padding:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{margin:Qu("View",n,l?Ns(e):e,"margin"),padding:Qu("View",n,l?Ns(t):t,"padding")}},fS=({insetBlockStart:e,insetBlockEnd:t,insetInlineStart:a,insetInlineEnd:n,dir:l})=>{const i=l===xc.rtl;return{...{top:e,insetBlockStart:e},...{bottom:t,insetBlockEnd:t},...{left:i?n:a,right:i?a:n}}},dS=({cursor:e,style:t})=>{const a=Rp(t||{},{},["top","left","position","display","transform","overflow","minWidth","minHeight","filter","flexBasis","backgroundImage","pointerEvents"]);return e&&(a.cursor=e),a},hS=(e,t)=>typeof t!="string"?!1:t.trim().split(" ").every(a=>e===a),mS=e=>{const t="focusRing--radius",a=(e||"").trim().split(" ")[0];if(hS(a,e)){const n=l=>`${l.charAt(0).toUpperCase()}${l.slice(1)}`;if(["small","medium","large"].includes(a))return`${t}${n(a)}`;if(["circle","pill"].includes(a))return`${t}Inherit`}return`${t}None`},vS=e=>{const t=e.position,a=e.display,n=e.focusPosition,l=e.withFocusOutline;return typeof l>"u"||l&&(Mn(a==="inline"||t==="relative","[View] the focus outline will only show if the `position` prop is `relative`."),Mn(a!=="inline"||n==="inset","[View] when display is set to `inline` the focus outline will only show if `focusPosition` is set to `inset`.")),l},pS=e=>{const t=e.borderWidth;return t&&t!=="0"&&t!=="none"},gS=(e,t)=>{const a=e.focusColor,n=e.focusPosition,l=e.position,i=e.shouldAnimateFocus,r=e.borderRadius,u=vS(e),c=typeof u>"u",o={offset:{top:`calc(${t.focusOutlineOffset} * -1)`,left:`calc(${t.focusOutlineOffset} * -1)`,right:`calc(${t.focusOutlineOffset} * -1)`,bottom:`calc(${t.focusOutlineOffset}* -1)`},inset:{top:`calc(${t.focusOutlineInset} * -1)`,left:`calc(${t.focusOutlineInset} * -1)`,right:`calc(${t.focusOutlineInset} * -1)`,bottom:`calc(${t.focusOutlineInset} * -1)`}},s={info:t.focusColorInfo,inverse:t.focusColorInverse,success:t.focusColorSuccess,danger:t.focusColorDanger};if(l==="relative"){const d=mS(r),f={"focusRing--radiusInherit":"inherit","focusRing--radiusNone":0},p={offset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`}},inset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`}}};return{"&::before":{pointerEvents:"none",content:'""',position:"absolute",borderStyle:t.focusOutlineStyle,borderWidth:t.focusOutlineWidth,borderColor:s[a],opacity:0,borderRadius:f[d],...p[n][d],...o[n],...i?{transition:"all 0.2s",transform:"scale(0.95)"}:{},...u?{opacity:1,transform:"scale(1)"}:{}},"&:focus":{outline:"none","&::before":{...c?{opacity:1,transform:"scale(1)"}:{}}}}}return{"&::before":{borderStyle:"none"},outlineStyle:"none",outlineColor:s[a],...u?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{},"&:focus":{...c?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{}}}},yS=(e,t)=>{const a=t.borderRadius,n=t.borderWidth,l=t.margin,i=t.padding,r=t.position,u=t.display,c=t.focusPosition,o=t.textAlign,s=t.borderColor,d=t.background,f=t.stacking,p=t.shadow,C=t.overflowY,S=t.overflowX,M=t.overscrollBehavior,m=t.insetBlockEnd,h=t.insetBlockStart,v=t.insetInlineEnd,R=t.insetInlineStart,x=t.width,y=t.height,A=t.minWidth,$=t.minHeight,U=t.maxWidth,j=t.maxHeight,q=t.withVisualDebug,Me=t.dir,_e=oS({theme:e,borderRadius:a,borderWidth:n,dir:Me}),Ee=sS({margin:l,padding:i,theme:e,dir:Me}),Tt=fS({dir:Me,insetBlockEnd:m,insetBlockStart:h,insetInlineEnd:v,insetInlineStart:R}),z=r==="relative"||u==="inline"&&c==="inset",H={inline:{label:"view--inline",display:"inline"},block:{label:"view--block",display:"block"},"inline-block":{label:"view--inlineBlock",display:"inline-block",verticalAlign:"middle"},flex:{label:"view--flex",display:"flex"},"inline-flex":{label:"view--inlineFlex",display:"inline-flex",verticalAlign:"middle"},auto:{}},Y={start:{textAlign:"start"},center:{textAlign:"center"},end:{textAlign:"end"}},ie={transparent:{borderColor:e.borderColorTransparent},primary:{borderColor:e.borderColorPrimary},secondary:{borderColor:e.borderColorSecondary},brand:{borderColor:e.borderColorBrand},info:{borderColor:e.borderColorInfo},success:{borderColor:e.borderColorSuccess},warning:{borderColor:e.borderColorWarning},alert:{borderColor:e.borderColorAlert},danger:{borderColor:e.borderColorDanger}},fe={transparent:{color:e.color,background:"none"},primary:{color:e.color,background:e.backgroundPrimary},secondary:{color:e.color,background:e.backgroundSecondary},"primary-inverse":{color:e.colorPrimaryInverse,background:e.backgroundPrimaryInverse},brand:{color:e.colorPrimaryInverse,background:e.backgroundBrand},info:{color:e.colorPrimaryInverse,background:e.backgroundInfo},alert:{color:e.colorPrimaryInverse,background:e.backgroundAlert},success:{color:e.colorPrimaryInverse,background:e.backgroundSuccess},danger:{color:e.colorPrimaryInverse,background:e.backgroundDanger},warning:{color:e.colorPrimaryInverse,background:e.backgroundWarning}},Ie={topmost:{zIndex:e.stackingTopmost},above:{zIndex:e.stackingAbove},resting:{},below:{zIndex:e.stackingBelow},deepest:{zIndex:e.stackingDeepest}},pt={topmost:{boxShadow:e.shadowTopmost},resting:{boxShadow:e.shadowResting},above:{boxShadow:e.shadowAbove},none:{}},jt=gS(t,e);return{view:{label:"view",boxSizing:"border-box",fontFamily:e.fontFamily,maxWidth:"100%",overflow:"visible",...H[u],...d&&fe[d],...f&&Ie[f],...p&&pt[p],...o&&Y[o],overflowX:S&&S!=="visible"?S:"",overflowY:C&&C!=="visible"?C:"",position:r!=="static"?r:"",overscrollBehavior:M||"auto",...q?{outline:`0.0625rem dashed ${e.debugOutlineColor}`}:{},...pS(t)?{borderStyle:e.borderStyle,...ie[s]}:{},...z?jt:{}},inlineStyles:{"&&&&&&&&&&":{...Ee,..._e,...Tt,width:x,height:y,minWidth:A,minHeight:$,maxWidth:U,maxHeight:j,...dS(t)}}}},bS=e=>{const t=e.colors,a=e.typography,n=e.borders,l=e.breakpoints,i=e.spacing,r=e.shadows,u=e.stacking,c=e.key,o={canvas:{color:e["ic-brand-font-color-dark"],focusColorInfo:e["ic-brand-primary"],backgroundBrand:e["ic-brand-primary"],backgroundInfo:e["ic-brand-primary"],borderColorBrand:e["ic-brand-primary"],borderColorInfo:e["ic-brand-primary"]}};return{...{fontFamily:a==null?void 0:a.fontFamily,color:t==null?void 0:t.textDarkest,colorPrimaryInverse:t==null?void 0:t.textLightest,borderColorPrimary:t==null?void 0:t.borderMedium,borderColorSecondary:t==null?void 0:t.borderDark,borderColorSuccess:t==null?void 0:t.borderSuccess,borderColorBrand:t==null?void 0:t.borderBrand,borderColorInfo:t==null?void 0:t.borderInfo,borderColorAlert:t==null?void 0:t.borderAlert,borderColorWarning:t==null?void 0:t.borderWarning,borderColorDanger:t==null?void 0:t.borderDanger,borderColorTransparent:"transparent",debugOutlineColor:t==null?void 0:t.borderDebug,backgroundPrimary:t==null?void 0:t.backgroundLightest,backgroundSecondary:t==null?void 0:t.backgroundLight,backgroundPrimaryInverse:t==null?void 0:t.backgroundDarkest,backgroundBrand:t==null?void 0:t.backgroundBrand,backgroundInfo:t==null?void 0:t.backgroundInfo,backgroundAlert:t==null?void 0:t.backgroundAlert,backgroundSuccess:t==null?void 0:t.backgroundSuccess,backgroundDanger:t==null?void 0:t.backgroundDanger,backgroundWarning:t==null?void 0:t.backgroundWarning,arrowSize:"0.5rem",focusOutlineStyle:n==null?void 0:n.style,focusOutlineWidth:n==null?void 0:n.widthMedium,focusOutlineOffset:"0.3125rem",focusOutlineInset:"0rem",focusColorInfo:t==null?void 0:t.borderInfo,focusColorDanger:t==null?void 0:t.borderDanger,focusColorSuccess:t==null?void 0:t.borderSuccess,focusColorInverse:t==null?void 0:t.borderLightest,xSmallMaxWidth:l==null?void 0:l.xSmall,smallMaxWidth:l==null?void 0:l.small,mediumMaxWidth:l==null?void 0:l.medium,largeMaxWidth:l==null?void 0:l.large,...fi("margin",i),...fi("padding",i),...fi("shadow",r),...fi("stacking",u),...fi("border",n)},...o[c]}},SS={as:L.elementType,elementRef:L.func,display:L.oneOf(["auto","inline","block","inline-block","flex","inline-flex"]),overflowX:L.oneOf(["auto","hidden","visible"]),overflowY:L.oneOf(["auto","hidden","visible"]),margin:Jn.spacing,padding:Jn.spacing,height:L.oneOfType([L.string,L.number]),width:L.oneOfType([L.string,L.number]),maxHeight:L.oneOfType([L.string,L.number]),maxWidth:L.oneOfType([L.string,L.number]),minHeight:L.oneOfType([L.string,L.number]),minWidth:L.oneOfType([L.string,L.number]),children:L.node,textAlign:L.oneOf(["start","center","end"]),borderWidth:Jn.borderWidth,borderRadius:Jn.borderRadius,borderColor:L.oneOf(["transparent","primary","secondary","brand","info","success","warning","alert","danger"]),background:L.oneOf(["transparent","primary","secondary","primary-inverse","brand","info","alert","success","danger","warning"]),shadow:Jn.shadow,stacking:Jn.stacking,cursor:O5,position:L.oneOf(["static","absolute","relative","sticky","fixed"]),insetInlineStart:L.string,insetInlineEnd:L.string,insetBlockStart:L.string,insetBlockEnd:L.string,withFocusOutline:L.bool,focusPosition:L.oneOf(["offset","inset"]),focusColor:L.oneOf(["info","inverse","success","danger"]),shouldAnimateFocus:L.bool,withVisualDebug:L.bool,dir:L.oneOf(Object.values(ad.DIRECTION)),overscrollBehavior:L.oneOf(["auto","contain","none"])},ES=["as","background","borderColor","borderRadius","borderWidth","children","cursor","dir","display","elementRef","focusColor","focusPosition","height","insetBlockEnd","insetBlockStart","insetInlineEnd","insetInlineStart","margin","maxHeight","maxWidth","minHeight","minWidth","overflowX","overflowY","overscrollBehavior","padding","position","shadow","shouldAnimateFocus","stacking","textAlign","width","withFocusOutline","withVisualDebug"],RS=["children","textAlign","background","display","withVisualDebug","width","height","minWidth","minHeight","maxWidth","maxHeight","overflowX","overflowY","stacking","shadow","position","focusPosition","focusColor","shouldAnimateFocus","borderColor","className","overscrollBehavior","styles","makeStyles"];var Eh,Rh,Zr,va;let CS=(Eh=ad(),Rh=rd(yS,bS),Eh(Zr=Rh(Zr=(va=class xp extends _.Component{get _element(){return this.ref}constructor(t){super(t),this.spanMarginVerified=void 0,this.ref=null,this.handleElementRef=a=>{typeof this.props.elementRef=="function"&&this.props.elementRef(a),this.ref=a},this.spanMarginVerified=!1}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.children;t.textAlign,t.background,t.display,t.withVisualDebug,t.width,t.height,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.overflowX,t.overflowY,t.stacking,t.shadow,t.position,t.focusPosition,t.focusColor,t.shouldAnimateFocus,t.borderColor;const n=t.className;t.overscrollBehavior;const l=t.styles;t.makeStyles;const i=xn(t,RS),r=m5(xp,this.props);return hn(r,Object.assign({},b5(i),{className:n,css:[l==null?void 0:l.view,l==null?void 0:l.inlineStyles],ref:this.handleElementRef}),a)}},va.displayName="View",va.componentId="View",va.allowedProps=ES,va.propTypes=SS,va.defaultProps={display:"auto",overflowX:"visible",overflowY:"visible",withVisualDebug:!1,borderColor:"primary",position:"static",focusPosition:"offset",focusColor:"info",shouldAnimateFocus:!0,overscrollBehavior:"auto"},va.omitViewProps=(e,t)=>{const a=[...va.allowedProps,"styles","makeStyles","themeOverride"];let n=!0;try{n=!1}catch(l){if(l instanceof ReferenceError)n=!1;else throw l}return n&&Object.keys(Rp(e,a)).forEach(l=>{Mn(!1,`[${t.name}] prop '${l}' is not allowed.`)}),Ep(e,a)},va))||Zr)||Zr);const AS=(e,t)=>{const a=t.inline,n=t.color,l={inherit:{color:"inherit"},primary:{color:e.primaryColor},secondary:{color:e.secondaryColor},"primary-inverse":{color:e.primaryInverseColor},"secondary-inverse":{color:e.secondaryInverseColor},success:{color:e.successColor},brand:{color:e.brandColor},warning:{color:e.warningColor},error:{color:e.errorColor},alert:{color:e.alertColor},auto:{}};return{inlineSVG:{label:"inlineSVG",fill:"currentColor",display:a?"inline-block":"block",overflow:"visible",...l[n]}}},TS=e=>{const t=e.colors,a=e.key,n={canvas:{primaryColor:e["ic-brand-font-color-dark"],brandColor:e["ic-brand-primary"]}};return{...{primaryInverseColor:t==null?void 0:t.textLightest,primaryColor:t==null?void 0:t.textDarkest,secondaryColor:t==null?void 0:t.textDark,secondaryInverseColor:t==null?void 0:t.textLight,warningColor:t==null?void 0:t.textWarning,brandColor:t==null?void 0:t.textBrand,errorColor:t==null?void 0:t.textDanger,alertColor:t==null?void 0:t.textAlert,successColor:t==null?void 0:t.textSuccess},...n[a]}},_S={children:L.node,src:L.string,title:L.string,description:L.string,focusable:L.bool,width:L.oneOfType([L.string,L.number]),height:L.oneOfType([L.string,L.number]),inline:L.bool,color:L.oneOf(["inherit","primary","secondary","primary-inverse","secondary-inverse","success","error","alert","warning","brand","auto"]),elementRef:L.func},wS=["children","src","title","description","focusable","width","height","inline","color","elementRef"],OS=["style","title","description","focusable","children","src","styles"];var Ch,Ah,Th,Wn,Na;let Dp=(Ch=C5(),Ah=rd(AS,TS),Th=Mp(),Ch(Wn=Ah(Wn=Th(Wn=(Na=class Us extends _.Component{constructor(t){super(t),this.titleId=void 0,this.descId=void 0,this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)},this.titleId=t.deterministicId("InlineSVG-title"),this.descId=t.deterministicId("InlineSVG-desc")}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}get role(){return this.props.title?"img":"presentation"}renderTitle(){const t=this.props.title;return t?hn("title",{id:this.titleId},t):null}renderDesc(t){return t?hn("desc",{id:this.descId},t):null}get labelledBy(){const t=[];return this.props.title&&t.push(this.titleId),this.props.description&&t.push(this.descId),t.length>0?t.join(" "):void 0}renderContent(){if(this.props.src){const t=Us.prepareSrc(this.props.src);return hn("g",{role:"presentation",dangerouslySetInnerHTML:{__html:t}})}else return hn("g",{role:"presentation"},this.props.children)}render(){const t=this.props,a=t.style,n=t.title,l=t.description,i=t.focusable;t.children;const r=t.src,u=t.styles,c=xn(t,OS),o=this.props.width==="auto"?void 0:this.props.width,s=this.props.height==="auto"?void 0:this.props.height;return hn("svg",Object.assign({},MS(r),Ep(this.props,Us.allowedProps,["inline"]),{style:{...a,width:o,height:s},width:o,height:s,"aria-hidden":n?void 0:"true","aria-labelledby":this.labelledBy,role:this.role,focusable:i?"true":"false",css:u==null?void 0:u.inlineSVG,className:c.className,ref:this.handleRef}),this.renderTitle(),this.renderDesc(l),this.renderContent())}},Na.displayName="InlineSVG",Na.componentId="InlineSVG",Na.allowedProps=wS,Na.propTypes=_S,Na.defaultProps={focusable:!1,src:"",title:"",description:"",inline:!0,width:"1em",height:"1em",color:"inherit"},Na.prepareSrc=e=>{const a=/]*>((.|[\n\r])*)<\/svg>/.exec(e);return a?a[1]:e},Na))||Wn)||Wn)||Wn);function MS(e){const t={},a=/]*)\s*>/,n=/(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|[>"']))+.)["']?/g;if(typeof e=="string"){const l=a.exec(e),i=l?l[1]:"",r=["xmlns","xmlns:xlink","version"];let u=n.exec(i);for(;u!=null;)r.indexOf(u[1])===-1&&(t[u[1]]=u[2]||(u[3]?u[3]:u[4]?u[4]:u[5])||u[1]),u=n.exec(i)}return t}const xS=(e,t)=>{const a=t.rotate,n=t.size,l=t.bidirectional,i={0:{},90:{transform:"rotate(90deg)"},180:{transform:"rotate(180deg)"},270:{transform:"rotate(270deg)"}},r={0:{transform:"scale3d(-1, 1, 1)"},90:{transform:"scale3d(-1, 1, 1) rotate(90deg)"},180:{transform:"scale3d(-1, 1, 1) rotate(180deg)"},270:{transform:"scale3d(-1, 1, 1) rotate(270deg)"}},u={"x-small":{fontSize:e.sizeXSmall},small:{fontSize:e.sizeSmall},medium:{fontSize:e.sizeMedium},large:{fontSize:e.sizeLarge},"x-large":{fontSize:e.sizeXLarge}};return{svgIcon:{label:"svgIcon",verticalAlign:"middle",lineHeight:1,width:"1em",height:"1em",...i[a],...n&&u[n],...l&&{'[dir="rtl"] &':r[a]}}}},DS=()=>({...{sizeXSmall:"1.125rem",sizeSmall:"2rem",sizeMedium:"3rem",sizeLarge:"5rem",sizeXLarge:"10rem"}}),$S={...Dp.propTypes,rotate:L.oneOf(["0","90","180","270"]),size:L.oneOf(["x-small","small","medium","large","x-large"]),bidirectional:L.bool},zS=["children","src","title","description","focusable","width","height","inline","color","elementRef","rotate","size","bidirectional"],NS=["rotate","className","themeOverride","size","bidirectional","makeStyles","styles"],LS=["sizeXSmall","sizeSmall","sizeMedium","sizeLarge","sizeXLarge"];var _h,wh,Qr,cn;let Fe=(_h=rd(xS,DS),wh=Mp(),_h(Qr=wh(Qr=(cn=class extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.rotate,n=t.className,l=t.themeOverride;t.size,t.bidirectional,t.makeStyles;const i=t.styles,r=xn(t,NS),u=l;u.sizeXSmall,u.sizeSmall,u.sizeMedium,u.sizeLarge,u.sizeXLarge;const c=xn(u,LS);return hn(Dp,Object.assign({},r,{themeOverride:c,rotate:a,css:i==null?void 0:i.svgIcon,className:n,elementRef:this.handleRef}))}},cn.displayName="SVGIcon",cn.componentId="SVGIcon",cn.allowedProps=zS,cn.propTypes=$S,cn.defaultProps={rotate:"0",bidirectional:!1},cn))||Qr)||Qr);var Oh;class Xl extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconCanvasLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Oh||(Oh=be.createElement("path",{d:"M958.568 277.97C1100.42 277.97 1216.48 171.94 1233.67 34.3881 1146.27 12.8955 1054.57 0 958.568 0 864.001 0 770.867 12.8955 683.464 34.3881 700.658 171.94 816.718 277.97 958.568 277.97ZM35.8207 682.031C173.373 699.225 279.403 815.285 279.403 957.136 279.403 1098.99 173.373 1215.05 35.8207 1232.24 12.8953 1144.84 1.43262 1051.7 1.43262 957.136 1.43262 862.569 12.8953 769.434 35.8207 682.031ZM528.713 957.142C528.713 1005.41 489.581 1044.55 441.31 1044.55 393.038 1044.55 353.907 1005.41 353.907 957.142 353.907 908.871 393.038 869.74 441.31 869.74 489.581 869.74 528.713 908.871 528.713 957.142ZM1642.03 957.136C1642.03 1098.99 1748.06 1215.05 1885.61 1232.24 1908.54 1144.84 1920 1051.7 1920 957.136 1920 862.569 1908.54 769.434 1885.61 682.031 1748.06 699.225 1642.03 815.285 1642.03 957.136ZM1567.51 957.142C1567.51 1005.41 1528.38 1044.55 1480.11 1044.55 1431.84 1044.55 1392.71 1005.41 1392.71 957.142 1392.71 908.871 1431.84 869.74 1480.11 869.74 1528.38 869.74 1567.51 908.871 1567.51 957.142ZM958.568 1640.6C816.718 1640.6 700.658 1746.63 683.464 1884.18 770.867 1907.11 864.001 1918.57 958.568 1918.57 1053.14 1918.57 1146.27 1907.11 1233.67 1884.18 1216.48 1746.63 1100.42 1640.6 958.568 1640.6ZM1045.98 1480.11C1045.98 1528.38 1006.85 1567.51 958.575 1567.51 910.304 1567.51 871.172 1528.38 871.172 1480.11 871.172 1431.84 910.304 1392.71 958.575 1392.71 1006.85 1392.71 1045.98 1431.84 1045.98 1480.11ZM1045.98 439.877C1045.98 488.148 1006.85 527.28 958.575 527.28 910.304 527.28 871.172 488.148 871.172 439.877 871.172 391.606 910.304 352.474 958.575 352.474 1006.85 352.474 1045.98 391.606 1045.98 439.877ZM1441.44 1439.99C1341.15 1540.29 1333.98 1697.91 1418.52 1806.8 1579 1712.23 1713.68 1577.55 1806.82 1418.5 1699.35 1332.53 1541.74 1339.7 1441.44 1439.99ZM1414.21 1325.37C1414.21 1373.64 1375.08 1412.77 1326.8 1412.77 1278.53 1412.77 1239.4 1373.64 1239.4 1325.37 1239.4 1277.1 1278.53 1237.97 1326.8 1237.97 1375.08 1237.97 1414.21 1277.1 1414.21 1325.37ZM478.577 477.145C578.875 376.846 586.039 219.234 501.502 110.339 341.024 204.906 206.338 339.592 113.203 498.637 220.666 584.607 378.278 576.01 478.577 477.145ZM679.155 590.32C679.155 638.591 640.024 677.723 591.752 677.723 543.481 677.723 504.349 638.591 504.349 590.32 504.349 542.048 543.481 502.917 591.752 502.917 640.024 502.917 679.155 542.048 679.155 590.32ZM1440 475.712C1540.3 576.01 1697.91 583.174 1806.8 498.637 1712.24 338.159 1577.55 203.473 1418.51 110.339 1332.54 217.801 1341.13 375.413 1440 475.712ZM1414.21 590.32C1414.21 638.591 1375.08 677.723 1326.8 677.723 1278.53 677.723 1239.4 638.591 1239.4 590.32 1239.4 542.048 1278.53 502.917 1326.8 502.917 1375.08 502.917 1414.21 542.048 1414.21 590.32ZM477.145 1438.58C376.846 1338.28 219.234 1331.12 110.339 1415.65 204.906 1576.13 339.593 1710.82 498.637 1805.39 584.607 1696.49 577.443 1538.88 477.145 1438.58ZM679.155 1325.37C679.155 1373.64 640.024 1412.77 591.752 1412.77 543.481 1412.77 504.349 1373.64 504.349 1325.37 504.349 1277.1 543.481 1237.97 591.752 1237.97 640.024 1237.97 679.155 1277.1 679.155 1325.37Z"})))}}Xl.glyphName="canvas-logo";Xl.variant="Line";Xl.displayName="IconCanvasLogoLine";Xl.propTypes={...Fe.propTypes};Xl.allowedProps=[...Fe.allowedProps];var Mh;class Zl extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconElevateLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Mh||(Mh=be.createElement("path",{d:"M1070.45 53.9152C1104.97 88.4365 1124.36 135.258 1124.36 184.078L1123.51 1188.09C1123.74 1229.1 1110.25 1269.01 1085.18 1301.47 1060.11 1333.93 1024.9 1357.08 985.16 1367.22 945.419 1377.35 903.428 1373.91 865.87 1357.43 828.312 1340.95 797.346 1312.38 777.899 1276.28 763.314 1249.19 755.85 1218.85 756.21 1188.09V184.078C756.21 135.258 775.603 88.4365 810.124 53.9152 844.646 19.3939 891.467 0 940.288 0 989.108 0 1035.93 19.3939 1070.45 53.9152ZM161.091 1320.33C194.624 1353.7 240.009 1372.44 287.319 1372.44 310.767 1372.44 333.985 1367.81 355.644 1358.83 377.304 1349.85 396.98 1336.69 413.547 1320.1 430.113 1303.5 443.246 1283.8 452.193 1262.13 461.141 1240.45 465.726 1217.23 465.689 1193.78L463.406 359.01 106.666 741.15 108.378 1194.35C108.605 1241.67 127.558 1286.96 161.091 1320.33ZM1592.41 1372.44C1639.74 1372.51 1685.17 1353.81 1718.72 1320.42 1752.27 1287.02 1771.2 1241.69 1771.35 1194.35L1773.06 741.15 1416.33 359.01 1414.32 1193.78C1414.29 1217.21 1418.87 1240.41 1427.79 1262.06 1436.72 1283.71 1449.83 1303.41 1466.37 1319.99 1482.9 1336.58 1502.55 1349.75 1524.17 1358.75 1545.8 1367.75 1568.99 1372.4 1592.41 1372.44ZM1123.46 1752.39C1126.77 1716.09 1119.25 1679.61 1101.83 1647.56 1090.29 1626.27 1074.66 1607.47 1055.85 1592.22 1037.03 1576.97 1015.39 1565.59 992.163 1558.73 968.939 1551.86 944.588 1549.64 920.506 1552.2 896.423 1554.76 873.083 1562.05 851.822 1573.65 819.782 1591.06 793.627 1617.59 776.661 1649.87 759.697 1682.14 752.685 1718.73 756.513 1754.99 760.341 1791.25 774.837 1825.57 798.168 1853.59 821.499 1881.62 852.616 1902.09 887.585 1912.44 922.554 1922.77 959.804 1922.51 994.623 1911.68 1029.44 1900.84 1060.27 1879.94 1083.2 1851.58 1106.13 1823.23 1120.14 1788.71 1123.46 1752.39Z"})))}}Zl.glyphName="elevate-logo";Zl.variant="Line";Zl.displayName="IconElevateLogoLine";Zl.propTypes={...Fe.propTypes};Zl.allowedProps=[...Fe.allowedProps];var xh;class Ql extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconImpactLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),xh||(xh=be.createElement("path",{d:"M910.001 203.918C910.001 163.587 921.96 124.161 944.366 90.6273 966.773 57.0931 998.621 30.9565 1035.88 15.5225 1073.14.0883516 1114.15-3.9499 1153.7 3.91831 1193.26 11.7866 1229.59 31.2078 1258.11 59.7263 1286.63 88.2447 1306.05 124.579 1313.92 164.135 1321.78 203.692 1317.75 244.693 1302.32 281.954 1286.88 319.215 1260.74 351.062 1227.21 373.47 1193.68 395.876 1154.25 407.836 1113.92 407.836 1087.13 407.869 1060.6 402.617 1035.84 392.38 1011.09 382.144 988.596 367.124 969.654 348.182 950.712 329.241 935.692 306.748 925.457 281.993 915.22 257.237 909.967 230.706 910.001 203.918ZM167.424 913.308 458.311 622.422H1045.04L460.789 1206.68C421.886 1245.58 369.124 1267.44 314.107 1267.44 259.09 1267.44 206.327 1245.58 167.424 1206.68 128.522 1167.77 106.667 1115.01 106.667 1059.99 106.667 1004.97 128.522 952.211 167.424 913.308ZM1738.81 1027.77 1454.11 1313.21H867.136L1444.7 734.406C1483.6 695.405 1536.4 673.455 1591.49 673.386 1646.57 673.316 1699.43 695.132 1738.43 734.034 1777.43 772.936 1799.38 825.739 1799.45 880.826 1799.52 935.911 1777.71 988.769 1738.81 1027.77ZM587.075 1602.79C564.668 1636.33 552.709 1675.75 552.709 1716.08 552.709 1770.16 574.192 1822.02 612.435 1860.27 650.677 1898.51 702.543 1920 756.627 1920 796.957 1920 836.382 1908.04 869.917 1885.63 903.451 1863.23 929.588 1831.38 945.021 1794.12 960.456 1756.85 964.494 1715.85 956.625 1676.29 948.758 1636.74 929.336 1600.4 900.817 1571.89 872.299 1543.37 835.965 1523.94 796.409 1516.08 756.853 1508.21 715.851 1512.25 678.59 1527.69 641.329 1543.12 609.481 1569.25 587.075 1602.79Z"})))}}Ql.glyphName="impact-logo";Ql.variant="Line";Ql.displayName="IconImpactLogoLine";Ql.propTypes={...Fe.propTypes};Ql.allowedProps=[...Fe.allowedProps];var Dh;class Dn extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconInstructureLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Dh||(Dh=be.createElement("path",{d:"M1448.57 288.052 1084.46 502.746 1448.55 718.026 1813.23 502.732 1448.57 288.052ZM959.965 429.191 1323.92 214.589 959.988 0 596.032 214.602 959.965 429.191ZM835.499 502.732 471.388 288.038 106.704 502.732 471.388 718.026 835.499 502.732ZM106.667 1416.54 960 1920 1813.33 1416.54 960 913.07 106.667 1416.54Z"})))}}Dn.glyphName="instructure-logo";Dn.variant="Line";Dn.displayName="IconInstructureLogoLine";Dn.propTypes={...Fe.propTypes};Dn.allowedProps=[...Fe.allowedProps];var $h;class Kl extends _.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconMasteryLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),$h||($h=be.createElement("path",{d:"M672.274 547.699V889.681L371.706 760.866C332.318 747.272 297.441 723.083 270.907 690.958 244.373 658.833 227.209 620.015 221.301 578.769 215.392 537.524 220.969 495.447 237.417 457.164 253.866 418.883 280.55 385.876 314.537 361.771 348.524 337.668 388.498 323.399 430.066 320.536 471.634 317.672 513.187 326.323 550.158 345.538 587.13 364.753 618.089 393.788 639.632 429.453 661.176 465.119 672.47 506.033 672.274 547.699ZM959.895 1550.52C1013.45 1550.76 1065.35 1531.95 1106.32 1497.47 1147.3 1462.98 1174.68 1415.06 1183.6 1362.25 1192.51 1309.44 1182.37 1255.17 1154.98 1209.16 1127.6 1163.13 1084.75 1128.34 1034.08 1110.97L733.516 982.161V1324.15C733.584 1384.17 757.456 1441.7 799.895 1484.15 842.335 1526.59 899.876 1550.46 959.895 1550.52ZM226.887 1097.53C182.052 1097.47 138.21 1110.72 100.908 1135.6 63.6045 1160.47 34.5168 1195.85 17.3245 1237.26.13224 1278.67-4.39211 1324.24 4.32386 1368.21 13.0399 1412.19 34.6045 1452.61 66.2896 1484.32 97.9747 1516.04 138.356 1537.65 182.325 1546.42 226.295 1555.19 271.876 1550.71 313.303 1533.57 354.73 1516.42 390.14 1487.37 415.054 1450.1 439.968 1412.82 453.266 1368.99 453.266 1324.16 453.199 1264.12 429.335 1206.55 386.902 1164.08 344.47 1121.59 286.929 1097.66 226.887 1097.53ZM1693.14 1550.52C1746.69 1550.76 1798.6 1531.95 1839.57 1497.47 1880.54 1462.98 1907.93 1415.06 1916.85 1362.25 1925.75 1309.44 1915.62 1255.17 1888.23 1209.16 1860.85 1163.13 1818 1128.34 1767.33 1110.97L1466.51 982.161V1324.15C1466.64 1384.19 1490.57 1441.72 1533.05 1484.16 1575.53 1526.59 1633.1 1550.46 1693.14 1550.52ZM1405.53 547.689V889.671L1104.7 760.856C1065.35 747.221 1030.51 723.005 1004.02 690.865 977.527 658.724 960.404 619.905 954.531 578.67 948.656 537.434 954.261 495.378 970.726 457.12 987.192 418.861 1013.88 385.879 1047.87 361.798 1081.85 337.716 1121.81 323.465 1163.37 320.611 1204.92 317.757 1246.46 326.408 1283.41 345.617 1320.37 364.825 1351.33 393.847 1372.86 429.495 1394.41 465.143 1405.71 506.038 1405.53 547.689Z"})))}}Kl.glyphName="mastery-logo";Kl.variant="Line";Kl.displayName="IconMasteryLogoLine";Kl.propTypes={...Fe.propTypes};Kl.allowedProps=[...Fe.allowedProps];const US="isp-site",HS="4.4.1+1720644913",BS="https://inst.bid/#/",jS="module",VS={dev:"vite","biome:check":"pnpm lint && pnpm check && pnpm format","biome:apply":"pnpm lint:apply && pnpm check:apply && pnpm format:apply",build:"pnpm build:preview && pnpm build:git","build:git":'git add . && git commit -m "Build v$npm_package_version" && git push',"build:js":"vite build","build:preview":"pnpm biome:apply && pnpm sec && pnpm build:version && pnpm build:ts && pnpm build:js","build:ts":"tsc","build:version":`node-jq -r '.version=$ARGS.positional[0]+"+"+$ARGS.positional[1]' package.json --args "$(pnpm -s env:semver)" "$(date +%s)" | sponge package.json`,check:"biome check","check:apply":"biome check --write","env:package":"node-jq '.' package.json","env:biome":"biome rage","env:buildtime":`date -r $(node-jq -r '(.version | split("+"))[1]' package.json)`,"env:semver":`node-jq -r '(.version | split("+"))[0]' package.json`,"env:version":'echo "$npm_package_version"',format:"biome format","format:apply":"biome format --write",lint:"biome lint","lint:apply":"biome lint --write",preview:"pnpm build:preview && vite preview",push:`pnpm build && {pnpm tag || printf "git tag already exists.\r -";} && gh-pages -t -m "Deploy v$(pnpm -s env:version)" -d dist`,sec:"pnpm sec:audit && pnpm sec:scan","sec:audit":"snyk test && pnpm audit","sec:scan":"snyk code test",tag:"git tag isp-site-v$(pnpm -s env:semver) && git push origin isp-site-v$(pnpm -s env:semver)"},kS={"@instructure/browserslist-config-canvas-lms":"^2.0.0","@instructure/ui":"^9.2.0","gh-pages":"^6.1.1",react:"19.0.0-rc-fb9a90fa48-20240614","react-dom":"19.0.0-rc-fb9a90fa48-20240614","react-markdown":"^9.0.1","react-router-dom":"^6.24.1","rehype-raw":"^7.0.0","remark-gemoji":"^8.0.0","remark-gfm":"^4.0.0"},GS={"@babel/plugin-syntax-import-attributes":"^7.24.7","@biomejs/biome":"1.8.2","@instructure/shared-types":"^9.2.0","@octokit/types":"^13.5.0","@types/react":"npm:types-react@19.0.0-rc.0","@types/react-dom":"npm:types-react-dom@19.0.0-rc.0","@vitejs/plugin-react":"^4.3.1","babel-plugin-react-compiler":"0.0.0-experimental-938cd9a-20240601","node-jq":"^4.4.0",snyk:"^1.1292.1","snyk-policy":"^3.0.0",typescript:"^5.5.3",vite:"^5.3.3"},YS={node:">=22.4.1",pnpm:">=9.5.0"},qS="pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",XS={overrides:{react:"^19.0.0-rc-f994737d14-20240522","react-dom":"^19.0.0-rc-f994737d14-20240522","@instructure/ui-test-sandbox>sinon":"^17.0.1","gh-pages>globby":"11.1.0","node-jq>tempfile":"^5.0.0","bin-build>tempfile":"^5.0.0","bin-build>download":"^8.0.0","download>got":"^14.4.1"}},ZS=["extends @instructure/browserslist-config-canvas-lms"],QS={name:US,version:HS,homepage:BS,private:!0,type:jS,scripts:VS,dependencies:kS,devDependencies:GS,engines:YS,packageManager:qS,pnpm:XS,browserslist:ZS},O={owner:"thedannywahl",repo:"instructure-security-package",branch:"main",url:QS.homepage.replace("/#/",""),gh:"https://github.com",api:"https://api.github.com",raw:"https://raw.githubusercontent.com"},La=`${O.raw}/${O.owner}/${O.repo}/${O.branch}/README`,KS=["Instructure","Canvas","Mastery","Elevate","Impact","LearnPlatform","Intelligent Insights","Parchment"],w9=[...KS,"Canvas LMS","Canvas Mobile","Canvas Studio","Canvas Credentials","Canvas Catalog","Canvas Commons","Canvas Data","Mastery Connect","Mastery Item Bank","Mastery View Assessments","Elevate Data Quality","Elevate Data Sync","Learn Platform"],PS=[{brandName:"Instructure",get title(){return this.brandName.toLowerCase()},route:"/",readme:`${La}.md`,color:"#287A9F",Icon:Dn},{brandName:"Canvas",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#E72429",Icon:Xl},{brandName:"Mastery",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#24A159",Icon:Kl},{brandName:"Elevate",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0097D3",Icon:Zl},{brandName:"Impact",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#F76400",Icon:Ql},{brandName:"LearnPlatform",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0077CC",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 0 300 300",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("path",{d:"M191.431 212.736H205.086C204.961 212.34 204.846 211.974 204.738 211.63C204.404 210.567 204.135 209.713 203.834 208.81C199.852 198.417 195.964 187.986 192.171 177.517C181.493 149.012 170.872 120.497 160.309 91.9733C159.911 90.214 158.223 89.0597 156.44 89.3276C151.091 89.4698 145.743 89.5267 140.423 89.3276C138.432 89 136.546 90.3293 136.184 92.3147C121.657 131.422 107.129 170.519 92.6017 209.607C92.414 210.136 92.2467 210.686 92.0507 211.329C91.9201 211.759 91.7767 212.23 91.606 212.765C93.7973 212.765 95.9464 212.748 98.0664 212.732C102.222 212.701 106.265 212.67 110.297 212.765C112.402 212.935 113.17 211.94 113.824 210.091C115.474 205.226 117.167 200.375 118.859 195.525C120.552 190.675 122.245 185.824 123.895 180.959C124.199 179.276 125.788 178.141 127.479 178.399H168.729C170.418 178.138 172.011 179.255 172.342 180.931C173.799 185.14 175.307 189.334 176.814 193.524C178.251 197.519 179.687 201.511 181.076 205.51C182.365 209.107 183.012 210.914 184.295 211.821C185.589 212.736 187.531 212.736 191.431 212.736ZM148.417 109.213C154.145 126.092 159.977 143.351 165.913 160.989H131.121L148.417 109.213Z"}),Ze.jsx("path",{d:"M225 110.209V114.191H207.931V133.707H203.522V114.191H186.453V110.209H203.522V90.8069H207.732V110.209H225Z"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"})]})},{brandName:"Intelligent Insights",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title.replace(/ /g,"-")}`},get readme(){return`${La}-${this.brandName.replace(/ /g,"-")}.md`},color:"#287A9F",Icon:Dn},{brandName:"Parchment",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0093b2",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 -3 29 31.68",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("polygon",{points:"26.87 21.98 2.44 21.98 2.44 2.44 19.54 2.44 19.54 0 0 0 0 24.43 29.31 24.43 29.31 9.77 26.87 9.77"}),Ze.jsx("rect",{x:"26.87",y:"4.89",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"21.98",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"26.87",width:"2.44",height:"2.44"}),Ze.jsxs("g",{children:[Ze.jsx("path",{d:"M9.38,13.2c-.5,0-.62.37-.62.71v1.53c0,.4.23.69.66.69.36,0,.55-.21.55-.69v-1.53c0-.42-.13-.71-.58-.71Z"}),Ze.jsx("path",{d:"M9.15,11.01c-2.36,0-4.27,1.91-4.27,4.27s1.91,4.27,4.27,4.27,4.27-1.91,4.27-4.27-1.91-4.27-4.27-4.27ZM10.86,15.4c0,.81-.54,1.44-1.27,1.44-.31,0-.84-.14-.84-.38v1.87c0,.14-.18.23-.3.23h-.3c-.13,0-.31-.08-.31-.23v-5.53c0-.14.18-.28.31-.28h.31c.13,0,.29.13.29.28v.05c0-.18.44-.36.8-.36.8,0,1.31.5,1.31,1.48v1.43Z"})]})]})}],JS=`${O.raw}/${O.owner}/${O.repo}`,Fn=`${JS}/${O.branch}`,WS=[{title:"CAIQ",from:"/aws/caiq/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CAIQ.pdf`},{title:"Cyber Essentials+ Certificate",from:"/aws/ce/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20Cyber%20Essentials%20Plus%20Certificate.pdf`},{title:"CSA Star Level 2 Certificate",from:"/aws/csa/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CSA%20Star%20Certification.pdf`},{title:"ISO 27001 Certificate",from:"/aws/iso/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%2027001%20Certificate.pdf`},{title:"ISO 9001 Certificate",from:"/aws/iso9001/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%209001%20Certificate.pdf`},{title:"SOC 3 Report",from:"/aws/soc/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20SOC%203.pdf`}],FS=WS.map(e=>({...e,lang:"EN"})),IS={brand:"AWS",links:FS},$p="canvas-catalog",e7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,t7=`${O.raw}/${O.owner}/${O.repo}`,In=`${t7}/${$p}`,a7=[{title:"Compliance Package",from:"/canvas/catalog/dl",to:`${e7}/${$p}.zip`},{title:"PCI AOC SAQ",from:"/canvas/catalog/aoc/dl",to:`${In}/Canvas%20Catalog/2024_Instructure_PCI_DSS_Summary.pdf`},{title:"Architecture Paper",from:"/canvas/catalog/architecture/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20Architecture.pdf`},{title:"HECVAT Lite",from:"/canvas/catalog/hecvat/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20HECVAT%20Lite.xlsx`},{title:"PCI Shared Responsibility Matrix",from:"/canvas/catalog/pci/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20PCI%20Responsibility%20Matrix.pdf`},{title:"TX-RAMP Certification",from:"/canvas/catalog/tx-ramp/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20TX-RAMP%20Provisional%20Certificate.pdf`},{title:"Payment Redirector",from:"/canvas/catalog/payments/dl",to:`${In}/Canvas%20Catalog/Catalog%20Payment%20Redirector.png`},{title:"Home (HE)",from:"/canvas/catalog",to:"https://www.instructure.com/higher-education/products/canvas/canvas-catalog/"},{title:"Home (K12)",from:"/canvas/catalog/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-catalog/"},{title:"Guides",from:"/canvas/catalog/guides",to:"https://community.canvaslms.com/t5/Canvas-Catalog/ct-p/canvas_catalog"},{title:"Release Notes",from:"/canvas/catalog/releases",to:"https://community.canvaslms.com/t5/Catalog-Releases/ct-p/catalog_releases"},{title:"API",from:"/canvas/catalog/api",to:"https://api.catalog.instructure.com/api/docs"}],n7=a7.map(e=>({...e,lang:"EN"})),l7={brand:"Canvas Catalog",links:n7},i7=[{title:"Home",from:"/canvas/commons",to:"https://lor.instructure.com/"},{title:"Guides",from:"/canvas/commons/guides",to:"https://community.canvaslms.com/t5/Canvas-Commons/tkb-p/commons"},{title:"API",from:"/canvas/commons/api",to:"https://lor.instructure.com/docs/api/"}],r7=i7.map(e=>({...e,lang:"EN"})),u7={brand:"Canvas Commons",links:r7},zp="canvas-credentials",c7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,o7=`${O.raw}/${O.owner}/${O.repo}`,Kr=`${o7}/${zp}`,s7=[{title:"Compliance Package",from:"/canvas/credentials/dl",to:`${c7}/${zp}.zip`},{title:"VPAT",from:"/canvas/credentials/vpat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Architecture Paper",from:"/canvas/credentials/architecture/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/credentials/hecvat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Certification",from:"/canvas/credentials/tx-ramp/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/credentials",to:"https://www.instructure.com/higher-education/products/canvas/canvas-credentials-digital-badges/"},{title:"Home (K12)",from:"/canvas/credentials/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-credentials-digital-badges/"},{title:"Guides",from:"/canvas/credentials/guides",to:"https://community.canvaslms.com/t5/Canvas-Credentials-Badges-Badgr/ct-p/canvas-credentials-badges"},{title:"Release Notes",from:"/canvas/credentials/releases",to:"https://community.canvaslms.com/t5/Badges-Credentials-Releases/tkb-p/badges-release"},{title:"API",from:"/canvas/credentials/api",to:"https://api.badgr.io/docs/v2/"}],f7=s7.map(e=>({...e,lang:"EN"})),Np="canvas-credentials-ES_LA",d7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,h7=`${O.raw}/${O.owner}/${O.repo}`,Pr=`${h7}/${Np}`,m7=[{title:"Compliance Package",from:"/es-la/canvas/credentials/dl",to:`${d7}/${Np}.zip`},{title:"VPAT",from:"/es-la/canvas/credentials/vpat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/es-la/canvas/credentials/arquitectura/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/credentials/hecvat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/credentials/tx-ramp/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],v7=m7.map(e=>({...e,lang:"ES_LA"})),Lp="canvas-credentials-PT_BR",p7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,g7=`${O.raw}/${O.owner}/${O.repo}`,Jr=`${g7}/${Lp}`,y7=[{title:"Compliance Package",from:"/pt-br/canvas/credentials/dl",to:`${p7}/${Lp}.zip`},{title:"VPAT",from:"/pt-br/canvas/credentials/vpat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/pt-br/canvas/credentials/arquitectura/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/credentials/hecvat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 de TX-RAMP",from:"/pt-br/canvas/credentials/tx-ramp/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],b7=y7.map(e=>({...e,lang:"PT_BR"})),S7={brand:"Canvas Credentials",links:[...f7,...v7,...b7]},E7=[{title:"Guides",from:"/canvas/data/guides",to:"https://community.canvaslms.com/t5/Canvas-Data-Users/gh-p/data"},{title:"API",from:"/canvas/data/api",to:"https://portal.inshosteddata.com/docs"}],R7=E7.map(e=>({...e,lang:"EN"})),C7={brand:"Canvas Data",links:R7},A7=[{title:"Startseite",from:"/de/canvas/lms",to:"https://www.instructure.com/de/hochschule/produkt/canvas/canvas-lms/"},{title:"Handbücher",from:"/de/canvas/handbuch",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],T7=A7.map(e=>({...e,lang:"DE"})),Up="canvas-lms",_7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,w7=`${O.raw}/${O.owner}/${O.repo}`,di=`${w7}/${Up}`,O7=[{title:"Compliance Package",from:"/canvas/lms/dl",to:`${_7}/${Up}.zip`},{title:"Architecture Paper",from:"/canvas/lms/architecture/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/lms/hecvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/canvas/lms/k12cvat/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20K12CVAT%20Full.xlsx`},{title:"SOC 3 Report",from:"/canvas/lms/soc/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"TX-RAMP Level 2 Certificate",from:"/canvas/lms/txramp/dl",to:`${di}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/lms",to:"https://www.instructure.com/higher-education/products/canvas/canvas-lms/"},{title:"Home (K12)",from:"/canvas/lms/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-lms/"},{title:"VPAT",from:"/canvas/lms/vpat",to:"https://www.instructure.com/products/canvas/accessibility/"},{title:"Guides",from:"/canvas/lms/guides",to:"https://community.canvaslms.com/t5/Canvas-Guides/ct-p/canvas_guides/"},{title:"Release Notes",from:"/canvas/lms/releases",to:"https://community.canvaslms.com/t5/Canvas-Releases/tkb-p/canvas-release"},{title:"API",from:"/canvas/lms/api",to:"https://canvas.instructure.com/doc/api/index.html"}],M7=O7.map(e=>({...e,lang:"EN"})),Hp="canvas-lms-ES_LA",x7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,D7=`${O.raw}/${O.owner}/${O.repo}`,hi=`${D7}/${Hp}`,$7=[{title:"Compliance Package",from:"/es-la/canvas/lms/dl",to:`${x7}/${Hp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/canvas/lms/arquitectura/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/lms/hecvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/es-la/canvas/lms/k12cvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Informe SOC 3",from:"/es-la/canvas/lms/soc/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/lms/txramp/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página de inicio (HE)",from:"/es-la/canvas/lms",to:"https://www.instructure.com/es/canvas/educacion-superior/"},{title:"Página de inicio (K12)",from:"/es-la/canvas/lms/basica",to:"https://www.instructure.com/es/educacion-basica/"},{title:"Guías",from:"/es-la/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de implementación",from:"/es-la/canvas/lms/publicacion",to:"https://community.canvaslms.com/t5/Espa%C3%B1ol/tkb-p/canvas-release-espanol"}],z7=$7.map(e=>({...e,lang:"ES_LA"})),Bp="canvas-lms-PT_BR",N7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,L7=`${O.raw}/${O.owner}/${O.repo}`,mi=`${L7}/${Bp}`,U7=[{title:"Compliance Package",from:"/pt-br/canvas/lms/dl",to:`${N7}/${Bp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/canvas/lms/arquitetura/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/lms/hecvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/pt-br/canvas/lms/k12cvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Relatório SOC 3",from:"/pt-br/canvas/lms/soc/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/canvas/lms/txramp/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página inicial (HE)",from:"/canvas/lms/pt",to:"https://www.instructure.com/pt-br/canvas/ensino-superior/"},{title:"Página inicial (K12)",from:"/canvas/lms/pt/basica",to:"https://www.instructure.com/pt-br/ensino-fundamental-e-medio/"},{title:"Guias",from:"/pt-br/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de lançamento (Canvas LMS)",from:"/canvas/lms/lancamentos",to:"https://community.canvaslms.com/t5/Portugues/tkb-p/canvas-release-portugues"}],H7=U7.map(e=>({...e,lang:"PT_BR"})),B7={brand:"Canvas LMS",links:[...M7,...z7,...H7,...T7]},j7=[{title:"Mobile Apps (Android)",from:"/canvas/mobile/android",to:"https://play.google.com/store/apps/developer?id=Instructure"},{title:"Mobile Apps (iOS)",from:"/canvas/mobile/ios",to:"https://apps.apple.com/us/developer/instructure-inc/id418441198"},{title:"Release Notes",from:"/canvas/mobile/releases",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Releases/tkb-p/CanvasMobileReleases"},{title:"Guides",from:"/canvas/mobile/guides",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Users/gh-p/mobile"}],V7=j7.map(e=>({...e,lang:"EN"})),k7={brand:"Canvas Mobile",links:V7},jp="canvas-studio",G7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,Y7=`${O.raw}/${O.owner}/${O.repo}`,zh=`${Y7}/${jp}`,q7=[{title:"Compliance Package",from:"/canvas/studio/dl",to:`${G7}/${jp}.zip`},{title:"Architecture Paper",from:"/canvas/studio/architecture/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/studio/hecvat/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20HECVAT%20Lite.xlsx`},{title:"Home (HE)",from:"/canvas/studio",to:"https://www.instructure.com/higher-education/products/canvas/canvas-studio/"},{title:"Home (K12)",from:"/canvas/studio/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-studio/"},{title:"VPAT",from:"/canvas/studio/vpat",to:"https://www.instructure.com/accessibility/canvas/canvas-studio-vpat/"},{title:"Guides",from:"/canvas/studio/guides",to:"https://community.canvaslms.com/t5/Canvas-Studio/ct-p/studio_guides"},{title:"Release Notes",from:"/canvas/studio/releases",to:"https://community.canvaslms.com/t5/Studio-Releases/ct-p/studio_releases"},{title:"API",from:"/canvas/studio/api",to:"https://canvas.instructuremedia.com/api/public/docs/#/"}],X7=q7.map(e=>({...e,lang:"EN"})),Z7={brand:"Canvas Studio",links:X7},Q7=[{title:"Gemeinschaft",from:"/de/canvas/gemeinschaft",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],K7=Q7.map(e=>({...e,lang:"DE"})),P7="canvas-lms",J7=`${O.raw}/${O.owner}/${O.repo}`,W7=`${J7}/${P7}`,F7=[{title:"Security Audit Report",from:"/canvas/audit/dl",to:`${W7}/Canvas%20LMS/Canvas%20Security%20Audit%20Report.pdf`},{title:"Try Canvas (FFT)",from:"/canvas/try",to:"https://www.instructure.com/try-canvas"},{title:"Community",from:"/canvas/community",to:"https://community.canvaslms.com/t5/Canvas/ct-p/canvas"},{title:"Roadmap",from:"/canvas/roadmap",to:"https://community.canvaslms.com/t5/Canvas-Product-Roadmap/ct-p/canvas-product-roadmap"},{title:"Ideas",from:"/canvas/ideas",to:"https://community.canvaslms.com/t5/Canvas-Ideas-and-Themes/ct-p/canvas-ideas-themes?tab=identified"}],I7=F7.map(e=>({...e,lang:"EN"})),e6=[{title:"Communidad",from:"/es-la/canvas/lms/communidad",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"}],t6=e6.map(e=>({...e,lang:"ES_LA"})),a6=[{title:"Comunidade",from:"/pt-br/canvas/comunidade",to:"https://community.canvaslms.com/t5/Recursos-em-Portugu%C3%AAs-Portuguese/ct-p/portuguese_resources"}],n6=a6.map(e=>({...e,lang:"PT_BR"})),l6={brand:"Canvas",links:[...I7,...t6,...n6,...K7]},i6=[{title:"Home",from:"/elevate/dataquality",to:"https://www.instructure.com/k12/products/elevate/elevate-data-quality/"},{title:"Guides",from:"/elevate/dataquality/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Quality/ct-p/certify"}],r6=i6.map(e=>({...e,lang:"EN"})),u6={brand:"Elevate Data Quality",links:r6},c6=[{title:"Guides",from:"/elevate/datasync/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Sync/ct-p/elevate_data_sync"}],o6=c6.map(e=>({...e,lang:"EN"})),s6={brand:"Elevate Data Sync",links:o6},Vp="elevate-standards-alignment",f6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,d6=`${O.raw}/${O.owner}/${O.repo}`,h6=`${d6}/${Vp}`,m6=[{title:"Compliance Package",from:"/elevate/standards-alignment/dl",to:`${f6}/${Vp}.zip`},{title:"HECVAT Lite",from:"/elevate/standards-alignment/hecvat/dl",to:`${h6}/Elevate%20Standards%20Alignment/Elevate%20Standards%20Alignment%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/elevate/standards-alignment",to:"https://www.instructure.com/corporate-education/products/elevate/elevate-standards-alignment"},{title:"Release Notes",from:"/elevate/standards-alignment/releases",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/esa_releases"},{title:"Guides",from:"/elevate/standards-alignment/guides",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/ab_basics"}],v6=m6.map(e=>({...e,lang:"EN"})),p6={brand:"Elevate Standards Alignment",links:v6},g6=[{title:"Community",from:"/elevate/community",to:"https://community.canvaslms.com/t5/Elevate/ct-p/elevate"},{title:"Roadmap",from:"/elevate/roadmap",to:"https://community.canvaslms.com/t5/Elevate-Product-Roadmap/ct-p/elevate-product-roadmap"}],y6=g6.map(e=>({...e,lang:"EN"})),b6={brand:"Elevate",links:y6},kp="impact",S6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,E6=`${O.raw}/${O.owner}/${O.repo}`,Do=`${E6}/${kp}`,R6=[{title:"Compliance Package",from:"/impact/dl",to:`${S6}/${kp}.zip`},{title:"Architecture Paper",from:"/impact/architecture/dl",to:`${Do}/Impact/Impact%20Architecture.pdf`},{title:"HECVAT",from:"/impact/hecvat/dl",to:`${Do}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Level 2 Certification",from:"/impact/tx-ramp/dl",to:`${Do}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/impact/he",to:"https://www.instructure.com/higher-education/products/impact/"},{title:"Home (K12)",from:"/impact/k12",to:"https://www.instructure.com/k12/products/impact/"},{title:"Community",from:"/impact/community",to:"https://community.canvaslms.com/t5/Impact/ct-p/impact"},{title:"Guides",from:"/impact/guides",to:"https://community.canvaslms.com/t5/Impact-Guides/tkb-p/impact_guides"},{title:"Release Notes",from:"/impact/releases",to:"https://community.canvaslms.com/t5/Impact-Releases/ct-p/impact_releases"}],C6=R6.map(e=>({...e,lang:"EN"})),Gp="impact-ES_LA",A6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,T6=`${O.raw}/${O.owner}/${O.repo}`,$o=`${T6}/${Gp}`,_6=[{title:"Compliance Package",from:"/es-la/impact/dl",to:`${A6}/${Gp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/impact/arquitectura/dl",to:`${$o}/Impact/Impact%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/impact/hecvat/dl",to:`${$o}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/impact/tx-ramp/dl",to:`${$o}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],w6=_6.map(e=>({...e,lang:"ES_LA"})),Yp="impact-PT_BR",O6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,M6=`${O.raw}/${O.owner}/${O.repo}`,zo=`${M6}/${Yp}`,x6=[{title:"Compliance Package",from:"/pt-br/impact/dl",to:`${O6}/${Yp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/impact/arquitetura/dl",to:`${zo}/Impact/Impact%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/impact/hecvat/dl",to:`${zo}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/impact/tx-ramp/dl",to:`${zo}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],D6=x6.map(e=>({...e,lang:"PT_BR"})),$6={brand:"Impact",links:[...C6,...w6,...D6]},z6=[{title:"Startseite",from:"/de/home",to:"https://www.instructure.com/de"},{title:"Kontakt",from:"/de/kontakt",to:"https://www.instructure.com/de/contact-us"}],N6=z6.map(e=>({...e,lang:"DE"})),L6=`${O.raw}/${O.owner}/${O.repo}`,Pt=`${L6}/${O.branch}`,U6=[{title:"Security White Paper",from:"/security/dl",to:`${Pt}/Instructure/Instructure%20Security%20Overview.pdf`},{title:"Business Continuity White Paper",from:"/bc/dl",to:`${Pt}/Instructure/Instructure%20Business%20Continuity%20%26%20Disaster%20Recovery.pdf`},{title:"CAIQ",from:"/caiq/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"CSA Star Certificate",from:"/csa/dl",to:`${Pt}/Instructure/Instructure%20CSA%20STAR%20Certificate.pdf`},{title:"Cyber Essentials+ Certificate",from:"/ce/dl",to:`${Pt}/Instructure/Instructure%20Cyber%20Essentials%20Plus.pdf`},{title:"Environmental, Social, and Governance Report",from:"/esg/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"Instructure, Inc. Certificate of Insurance",from:"/coi/dl",to:`${Pt}/Instructure/Instructure%20Inc%20COI.pdf`},{title:"Instructure Global Certificate of Insurance",from:"/coi-global/dl",to:`${Pt}/Instructure/Instructure%20Global%20COI.pdf`},{title:"ISO 27001 Certificate",from:"/iso/dl",to:`${Pt}/Instructure/Instructure%20ISO%2027001%20Compliance%20Certificate.pdf`},{title:"Quality Assurance Program",from:"/qa/dl",to:`${Pt}/Instructure/Instructure%20Quality%20Assurance%20Program.pdf`},{title:"Home",from:"/home",to:"https://www.instructure.com/"},{title:"Roadmap",from:"/roadmap",to:"https://community.canvaslms.com/t5/Instructure-Roadmap/ct-p/instructure-roadmap/"},{title:"Accessibility",from:"/a11y",to:"https://www.instructure.com/accessibility/"},{title:"Contact",from:"/contact",to:"https://www.instructure.com/contact-us/"},{title:"Privacy",from:"/privacy",to:"https://www.instructure.com/canvas/privacy/"},{title:"Security",from:"/security",to:"https://www.instructure.com/products/canvas/security/"},{title:"Trust Center",from:"/trust",to:"https://www.instructure.com/trust-center/"},{title:"Community",from:"/community",to:"https://community.canvaslms.com/"},{title:"Terms & Conditions",from:"/tos",to:"https://www.instructure.com/policies/master-terms-conditions/"},{title:"Global Terms & Conditions",from:"/tos/global",to:"https://www.instructure.com/policies/global/master-terms-and-conditions/"},{title:"Acceptable Use Policy",from:"/aup",to:"https://www.instructure.com/policies/acceptable-use/"},{title:"Data Privacy Addendum",from:"/dpa",to:"https://www.instructure.com/policies/data-processing/"},{title:"Investor Relations",from:"/investors",to:"https://ir.instructure.com/overview/default.aspx"},{title:"Status",from:"/status",to:"https://status.instructure.com/"},{title:"CSA Star Registration",from:"/csa",to:"https://cloudsecurityalliance.org/star/registry/instructure/"},{title:"1EdTech Registrations",from:"/1edtech",to:"https://site.imsglobal.org/certifications?query=instructure"},{title:"Our Story",from:"/story",to:"https://www.instructure.com/about/our-story"},{title:"Study Hall",from:"/resources",to:"https://www.instructure.com/resources/"},{title:"EduAppCenter",from:"/apps",to:"https://www.eduappcenter.com/"},{title:"ESG Report (online)",from:"/esg",to:"https://instructure.com/esg-report"}],H6=U6.map(e=>({...e,lang:"EN"})),B6=[{title:"Página de inicio",from:"/es-la/home",to:"https://www.instructure.com/es/"},{title:"Contáctenos",from:"/es-la/contactenos",to:"https://www.instructure.com/es/contactenos/"},{title:"Privacidad",from:"/es-la/privicidad",to:"https://www.instructure.com/es/canvas/privacidad/"},{title:"Seguridad",from:"/es-la/seguridad",to:"https://www.instructure.com/es/canvas/seguridad/"},{title:"Nuestra Historia",from:"/es-la/historia",to:"https://www.instructure.com/es/sobre/nuestra-historia"}],j6=B6.map(e=>({...e,lang:"ES_LA"})),V6=[{title:"Pagina inicial",from:"/pt-br/home",to:"https://www.instructure.com/pt-br/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Privacidade",from:"/pt-br/privacidade",to:"https://www.instructure.com/pt-br/canvas/privacidade/"},{title:"Segurança",from:"/pt-br/seguranca",to:"https://www.instructure.com/pt-br/canvas/seguranca/"},{title:"Nossa História",from:"/pt-br/historia",to:"https://www.instructure.com/pt-br/sobre/nossa-historia"}],k6=V6.map(e=>({...e,lang:"PT_BR"})),G6={brand:"Instructure",links:[...H6,...j6,...k6,...N6]},qp="intelligent-insights",Y6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,q6=`${O.raw}/${O.owner}/${O.repo}`,No=`${q6}/${qp}`,X6=[{title:"Compliance Package",from:"/intelligent-insights/dl",to:`${Y6}/${qp}.zip`},{title:"Architecture Paper",from:"/intelligent-insights/architecture/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Architecture%20Overview.pdf`},{title:"HECVAT",from:"/intelligent-insights/hecvat/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20HECVAT%20Lite.xlsx`},{title:"Data Sheet",from:"/intelligent-insights/data/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Data%20Sheet.pdf`},{title:"Home",from:"/intelligent-insights/home",to:"https://www.instructure.com/products/intelligent-insights"},{title:"Community",from:"/intelligent-insights/community",to:"https://community.canvaslms.com/t5/Intelligent-Insights/ct-p/intelligent_insights"},{title:"Guides",from:"/intelligent-insights/guides",to:"https://community.canvaslms.com/t5/Intelligent-Insights-Guides/tkb-p/intelligent_insights_guides"},{title:"Release Notes",from:"/intelligent-insights/releases",to:"https://community.canvaslms.com/t5/Intelligent-Insight-Release/tkb-p/intelligent_insights_releases"}],Z6=X6.map(e=>({...e,lang:"EN"})),Q6={brand:"Intelligent Insights",links:Z6},Xp="learnplatform",K6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,P6=`${O.raw}/${O.owner}/${O.repo}`,Lo=`${P6}/${Xp}`,J6=[{title:"Compliance Package",from:"/learnplatform/dl",to:`${K6}/${Xp}.zip`},{title:"EdTech Top 40 Report",from:"/learnplatform/top40/dl",to:`${Lo}/LearnPlatform/EdTech%20Top%2040.pdf`},{title:"Architecture Paper",from:"/learnplatform/architecture/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20Architecture%20Overview.pdf`},{title:"HECVAT Lite",from:"/learnplatform/hecvat/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/learnplatform",to:"https://www.instructure.com/k12/products/learnplatform/"},{title:"Terms of Service",from:"/learnplatform/tos",to:"https://www.instructure.com/policies/learnplatform-terms-of-service/"},{title:"Privacy",from:"/learnplatform/privacy",to:"https://www.instructure.com/policies/privacy-learnplatform/"},{title:"Data Processing Agreement",from:"/learnplatform/dpa",to:"https://www.instructure.com/policies/learnplatform-data-processing-agreement/"},{title:"Statement of Neutrality",from:"/learnplatform/neutrality",to:"https://www.instructure.com/policies/learnplatform-neutrality/"}],W6=J6.map(e=>({...e,lang:"EN"})),F6={brand:"Learnplatform",links:W6},Zp="mastery-connect",I6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,e9=`${O.raw}/${O.owner}/${O.repo}`,Nh=`${e9}/${Zp}`,t9=[{title:"Compliance Package",from:"/mastery/connect/dl",to:`${I6}/${Zp}.zip`},{title:"Architecture Paper",from:"/mastery/connect/architecture/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20Architecture.pdf`},{title:"HECVAT Lite",from:"/mastery/connect/hecvat/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/mastery/connect",to:"https://www.instructure.com/k12/products/mastery/mastery-connect"},{title:"Guides",from:"/mastery/connect/guides",to:"https://community.canvaslms.com/t5/Mastery-Connect/ct-p/masteryconnect"},{title:"Release Notes",from:"/mastery/connect/releases",to:"https://community.canvaslms.com/t5/Mastery-Connect-Releases/tkb-p/masteryconnect"},{title:"API",from:"/mastery/connect/api",to:"https://docs.google.com/document/d/19TxyeRzF6nyJDY6ej2dZozbE87JdUygw"},{title:"Mobile App (Android)",from:"/mastery/connect/android",to:"https://play.google.com/store/apps/dev?id=8869528477632015729&hl=EN&gl=US"},{title:"Mobile App (iOS)",from:"/canvas/lms/ios",to:"https://apps.apple.com/us/developer/masteryconnect/id413937396"}],a9=t9.map(e=>({...e,lang:"EN"})),n9={brand:"Mastery Connect",links:a9},l9=[{title:"Home",from:"/mastery/itembank",to:"https://www.instructure.com/k12/products/mastery/mastery-item-bank/"},{title:"Guides",from:"/mastery/itembank/guides",to:"https://community.canvaslms.com/t5/Mastery-Item-Bank/ct-p/mastery-item-bank/"}],i9=l9.map(e=>({...e,lang:"EN"})),r9={brand:"Mastery Item Bank",links:i9},u9=[{title:"Formatives Home",from:"/mastery/view/formative",to:"https://www.instructure.com/k12/products/mastery/mastery-view-formative-assessments/"},{title:"Predictives Home",from:"/mastery/view/predictive",to:"https://www.instructure.com/k12/products/mastery/mastery-view-predictive-assessments/"}],c9=u9.map(e=>({...e,lang:"EN"})),o9={brand:"Mastery View Assessments",links:c9},s9=[{title:"Community",from:"/mastery/community",to:"https://community.canvaslms.com/t5/Mastery/ct-p/mastery"},{title:"Roadmap",from:"/mastery/roadmap",to:"https://community.canvaslms.com/t5/Mastery-Product-Roadmap/ct-p/mastery-product-roadmap"}],f9=s9.map(e=>({...e,lang:"EN"})),d9={brand:"Mastery",links:f9},h9=[],m9=h9.map(e=>({...e,lang:"EN"})),v9={brand:"Parchment",links:m9},p9=[IS,G6,l6,B7,k7,Z7,l7,u7,C7,S7,d9,n9,r9,o9,$6,b6,p6,u6,s6,F6,Q6,v9],Vn=[];for(const e of PS)Vn.push({path:`${e.route}`,lazy:()=>Ut(()=>import("./markdownBrand-CS81ixp3.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName}),children:[{path:":language",lazy:()=>Ut(()=>import("./markdownBrand-CS81ixp3.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName})}]});for(const e of p9)for(const t of e.links)Vn.push({path:t.from,lazy:()=>Ut(()=>import("./redirectTo-CbhAz4iJ.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to}),children:[{path:":language",lazy:()=>Ut(()=>import("./redirectTo-CbhAz4iJ.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to})}]});Vn.push({path:"/links",lazy:()=>Ut(()=>import("./links-B2v1vUE9.js"),__vite__mapDeps([6,1,7,3,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./links-B2v1vUE9.js"),__vite__mapDeps([6,1,7,3,8]))}]});Vn.push({path:"/mdui",lazy:()=>Ut(()=>import("./mdui-DYel0-BB.js"),__vite__mapDeps([9,1,2,3,10,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./mdui-DYel0-BB.js"),__vite__mapDeps([9,1,2,3,10,8]))}]});Vn.push({path:"/releases",lazy:()=>Ut(()=>import("./releases-3SohIBzz.js"),__vite__mapDeps([11,1,2,3,12])),children:[{path:":language",lazy:()=>Ut(()=>import("./releases-3SohIBzz.js"),__vite__mapDeps([11,1,2,3,12]))}]});Vn.push({path:"*",lazy:()=>Ut(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([13,1,5])),children:[{path:":language",lazy:()=>Ut(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([13,1,5]))}]});const g9=w4(Vn),Qp=document.getElementById("root");if(!Qp)throw new Error("Root element not found");Dv.createRoot(Qp).render(Ze.jsx(be.StrictMode,{children:Ze.jsx(Op,{theme:id,children:Ze.jsx(CS,{as:"div",minHeight:"100vh",position:"relative",children:Ze.jsx(U4,{router:g9})})})}));export{zs as $,Mc as A,s5 as B,d5 as C,f5 as D,ad as E,Jh as F,e5 as G,A9 as H,Op as I,t5 as J,E5 as K,p9 as L,PS as M,C9 as N,b9 as O,L as P,x5 as Q,be as R,Fe as S,Jn as T,Tp as U,CS as V,ld as W,T9 as X,Qu as Y,fi as Z,Ut as _,E9 as a,Dp as a0,id as a1,Xl as a2,Zl as a3,Ql as a4,Dn as a5,Kl as a6,Ys as b,S9 as c,KS as d,w9 as e,Mn as f,O as g,xn as h,hn as i,Ze as j,y9 as k,Ll as l,Xu as m,Rp as n,Ep as o,b5 as p,m5 as q,_ as r,C5 as s,Mp as t,R9 as u,u5 as v,rd as w,y4 as x,dc as y,br as z}; + */var Ye=typeof Symbol=="function"&&Symbol.for,Kf=Ye?Symbol.for("react.element"):60103,Pf=Ye?Symbol.for("react.portal"):60106,yc=Ye?Symbol.for("react.fragment"):60107,bc=Ye?Symbol.for("react.strict_mode"):60108,Sc=Ye?Symbol.for("react.profiler"):60114,Ec=Ye?Symbol.for("react.provider"):60109,Rc=Ye?Symbol.for("react.context"):60110,Jf=Ye?Symbol.for("react.async_mode"):60111,Cc=Ye?Symbol.for("react.concurrent_mode"):60111,Ac=Ye?Symbol.for("react.forward_ref"):60112,Tc=Ye?Symbol.for("react.suspense"):60113,p3=Ye?Symbol.for("react.suspense_list"):60120,_c=Ye?Symbol.for("react.memo"):60115,wc=Ye?Symbol.for("react.lazy"):60116,g3=Ye?Symbol.for("react.block"):60121,y3=Ye?Symbol.for("react.fundamental"):60117,b3=Ye?Symbol.for("react.responder"):60118,S3=Ye?Symbol.for("react.scope"):60119;function At(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case Kf:switch(e=e.type,e){case Jf:case Cc:case yc:case Sc:case bc:case Tc:return e;default:switch(e=e&&e.$$typeof,e){case Rc:case Ac:case wc:case _c:case Ec:return e;default:return t}}case Pf:return t}}}function np(e){return At(e)===Cc}ue.AsyncMode=Jf;ue.ConcurrentMode=Cc;ue.ContextConsumer=Rc;ue.ContextProvider=Ec;ue.Element=Kf;ue.ForwardRef=Ac;ue.Fragment=yc;ue.Lazy=wc;ue.Memo=_c;ue.Portal=Pf;ue.Profiler=Sc;ue.StrictMode=bc;ue.Suspense=Tc;ue.isAsyncMode=function(e){return np(e)||At(e)===Jf};ue.isConcurrentMode=np;ue.isContextConsumer=function(e){return At(e)===Rc};ue.isContextProvider=function(e){return At(e)===Ec};ue.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===Kf};ue.isForwardRef=function(e){return At(e)===Ac};ue.isFragment=function(e){return At(e)===yc};ue.isLazy=function(e){return At(e)===wc};ue.isMemo=function(e){return At(e)===_c};ue.isPortal=function(e){return At(e)===Pf};ue.isProfiler=function(e){return At(e)===Sc};ue.isStrictMode=function(e){return At(e)===bc};ue.isSuspense=function(e){return At(e)===Tc};ue.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===yc||e===Cc||e===Sc||e===bc||e===Tc||e===p3||typeof e=="object"&&e!==null&&(e.$$typeof===wc||e.$$typeof===_c||e.$$typeof===Ec||e.$$typeof===Rc||e.$$typeof===Ac||e.$$typeof===y3||e.$$typeof===b3||e.$$typeof===S3||e.$$typeof===g3)};ue.typeOf=At;ap.exports=ue;var E3=ap.exports,Wf=E3,R3={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},C3={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},A3={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},lp={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ff={};Ff[Wf.ForwardRef]=A3;Ff[Wf.Memo]=lp;function hh(e){return Wf.isMemo(e)?lp:Ff[e.$$typeof]||R3}var T3=Object.defineProperty,_3=Object.getOwnPropertyNames,mh=Object.getOwnPropertySymbols,w3=Object.getOwnPropertyDescriptor,O3=Object.getPrototypeOf,vh=Object.prototype;function ip(e,t,a){if(typeof t!="string"){if(vh){var n=O3(t);n&&n!==vh&&ip(e,n,a)}var l=_3(t);mh&&(l=l.concat(mh(t)));for(var i=hh(e),r=hh(t),u=0;u=4;++n,l-=4)a=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,a=(a&65535)*1540483477+((a>>>16)*59797<<16),a^=a>>>24,t=(a&65535)*1540483477+((a>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(l){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var z3={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},N3=/[A-Z]|^ms/g,L3=/_EMO_([^_]+?)_([^]*?)_EMO_/g,cp=function(t){return t.charCodeAt(1)===45},ph=function(t){return t!=null&&typeof t!="boolean"},Co=ep(function(e){return cp(e)?e:e.replace(N3,"-$&").toLowerCase()}),gh=function(t,a){switch(t){case"animation":case"animationName":if(typeof a=="string")return a.replace(L3,function(n,l,i){return Wt={name:l,styles:i,next:Wt},l})}return z3[t]!==1&&!cp(t)&&typeof a=="number"&&a!==0?a+"px":a};function rr(e,t,a){if(a==null)return"";if(a.__emotion_styles!==void 0)return a;switch(typeof a){case"boolean":return"";case"object":{if(a.anim===1)return Wt={name:a.name,styles:a.styles,next:Wt},a.name;if(a.styles!==void 0){var n=a.next;if(n!==void 0)for(;n!==void 0;)Wt={name:n.name,styles:n.styles,next:Wt},n=n.next;var l=a.styles+";";return l}return U3(e,t,a)}case"function":{if(e!==void 0){var i=Wt,r=a(e);return Wt=i,rr(e,t,r)}break}}return a}function U3(e,t,a){var n="";if(Array.isArray(a))for(var l=0;la=>{if(typeof e=="function"){const n=a.displayName||a.name,l=e(a,...t);return l.displayName=n,l}else return a}}function vp(e,t,a,n,...l){}const Mn=(e,t,...a)=>vp("error",!0,e,t,...a),Xu=(e,t,...a)=>vp("warn",!0,e,t,...a);var I3=function e(t,a){if(t===a)return!0;if(t&&a&&typeof t=="object"&&typeof a=="object"){if(t.constructor!==a.constructor)return!1;var n,l,i;if(Array.isArray(t)){if(n=t.length,n!=a.length)return!1;for(l=n;l--!==0;)if(!e(t[l],a[l]))return!1;return!0}if(t.constructor===RegExp)return t.source===a.source&&t.flags===a.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===a.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===a.toString();if(i=Object.keys(t),n=i.length,n!==Object.keys(a).length)return!1;for(l=n;l--!==0;)if(!Object.prototype.hasOwnProperty.call(a,i[l]))return!1;for(l=n;l--!==0;){var r=i[l];if(!e(t[r],a[r]))return!1}return!0}return t!==t&&a!==a};const e5=Ul(I3),t5=(e,t)=>(t.has(e)?t.set(e,t.get(e)+1):t.set(e,0),`${e}_${t.get(e)}`),a5=Object.prototype.hasOwnProperty;function pp(e){if(typeof e!="object")return!0;for(const t in e)if(a5.call(e,t))return!1;return!0}function gp(...e){let t={};return e.forEach(a=>{t=yp(t,a)}),t}function yp(e,t){if(Ao(t)){const a=[...Object.keys(t),...Object.getOwnPropertySymbols(t)],n={...e};return a.forEach(l=>{Ao(e[l])&&Ao(t[l])?n[l]=yp(e[l],t[l]):To(t[l])&&To(e[l])?n[l]=[...new Set([...e[l],...t[l]])]:To(e[l])?n[l]=[...new Set([...e[l],t[l]])]:n[l]=t[l]}),n}else return{...e}}function Ao(e){return e&&(typeof e=="object"||typeof e=="function")&&!Array.isArray(e)}function To(e){return Array.isArray(e)}function n5(e){if(Array.isArray(e))return e}function l5(e,t){var a=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(a!=null){var n,l,i,r,u=[],c=!0,o=!1;try{if(i=(a=a.call(e)).next,t===0){if(Object(a)!==a)return;c=!1}else for(;!(c=(n=i.call(a)).done)&&(u.push(n.value),u.length!==t);c=!0);}catch(s){o=!0,l=s}finally{try{if(!c&&a.return!=null&&(r=a.return(),Object(r)!==r))return}finally{if(o)throw l}}return u}}function Sh(e,t){(t==null||t>e.length)&&(t=e.length);for(var a=0,n=Array(t);a!!e&&e.ref!==void 0,o5=e=>!!e&&e.current!==void 0;function br(e){const t=typeof e=="function"?e():e;if(t&&t===document)return document.documentElement;if(t instanceof Element||t===window||t&&typeof t.nodeType<"u")return t;if(t){const a=t;if(c5(a)){const n=o5(a.ref)?a.ref.current:a.ref;return n instanceof HTMLElement?n:br(n)}else return a.constructor.componentId?a.constructor.componentId:a.constructor.name,Jh.findDOMNode(t)}}const Mc=!!(typeof window<"u"&&window.document&&window.document.createElement);function s5(e){const t=e&&br(e);let a;t&&"ownerDocument"in t&&(a=t.ownerDocument);const n=Mc?window.document:void 0;return a||n}function f5(e){const t=e&&br(e),a=s5(t);return a&&a.defaultView}function d5(e,t){let a={};if(Mc){const n=e&&br(e);if(n){const l=f5(e);a=l?l.getComputedStyle(n,t):{}}}return a}function bp(e){return e.replace(/-([a-z])/g,t=>t[1].toUpperCase())}const h5=["borders","breakpoints","colors","forms","media","shadows","spacing","stacking","transitions","typography"],Sp=e=>{if(Array.isArray(e)||typeof e=="function")throw new Error;try{return"key"in e&&h5.every(t=>t in e)}catch{throw new Error}};function m5(e,t,a){var n,l;return t.as&&t.as!==((n=e.defaultProps)===null||n===void 0?void 0:n.as)?t.as:typeof a=="function"?a():t.href?"a":t.to?(Xu(!t.as,`[${e.displayName}] \`as\` prop should be provided when using \`to\``),"a"):typeof t.onClick=="function"?"button":((l=e.defaultProps)===null||l===void 0?void 0:l.as)||"span"}function Ep(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return p5(e,l)}const v5=Object.prototype.hasOwnProperty,p5=(e,t)=>{const a={};for(const n in e)n==="theme"||n==="children"||n==="className"||n==="style"||n==="styles"||n==="makeStyles"||n==="themeOverride"||n==="deterministicId"||t.includes(n)||!v5.call(e,n)||(a[n]=e[n]);return a};var g5=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,y5=ep(function(e){return g5.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});function b5(e){const t={};return Object.keys(e).filter(a=>y5(a)&&a!=="style"&&a!=="className"&&a!=="children"&&a!=="styles"&&a!=="makeStyles"&&a!=="deterministicId").forEach(a=>{t[a]=e[a]}),t}function Rp(e,t,a){const n=Array.isArray(t)?t:Object.keys(t||{}),l=a?n.concat(a):n;return S5(e,l)}function S5(e,t){const a={},n=t.length;let l=-1,i;for(;++lbe.createElement(Ap.Provider,{value:t},e),C5=Oc(e=>{const t=T.forwardRef((a,n)=>{const l=e.componentId||e.displayName||e.name,i=T.useContext(Ap),r=(u=l)=>t5(u,i);return a.deterministicId&&Xu(!1,`Manually passing the "deterministicId" property is not allowed on the ${l} component. +`,a.deterministicId),be.createElement(e,Object.assign({ref:n,deterministicId:r},a))});return If(t,e),t.propTypes=e.propTypes,t.defaultProps=e.defaultProps,t.allowedProps=e.allowedProps,t.originalType=e.originalType||e,t});function A5(e,t){if(e==null)return{};var a={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;a[n]=e[n]}return a}function xn(e,t){if(e==null)return{};var a,n,l=A5(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n{if(fi)return fi;if(Mc){const e=document.documentElement;return Xr=e.getAttribute("dir"),fi=Xr||d5(e).direction,_o||(_o=new MutationObserver(()=>{const t=e.getAttribute("dir");t&&t!==Xr&&(Xr=fi=t)}),_o.observe(e,{attributes:!0})),fi}};function _5(e){if(Mc)return T5()}const zs=T.createContext(_5()||"ltr"),xc={ltr:"ltr",rtl:"rtl"},w5=["forwardedRef"],ad=Oc(e=>{class t extends be.Component{render(){const l=this.props,i=l.forwardedRef,r=xn(l,w5);return be.createElement(zs.Consumer,null,u=>be.createElement(e,Object.assign({ref:i,dir:u},r)))}}t.displayName="TextDirectionContextConsumerComponent";const a=T.forwardRef((n,l)=>be.createElement(t,Object.assign({},n,{forwardedRef:l})));return If(a,e),a.defaultProps=e.defaultProps,a.propTypes=e.propTypes,a.allowedProps=e.allowedProps,a.originalType=e.originalType||e,a});ad.DIRECTION=xc;const O5=L.oneOf(["auto","default","none","context-menu","help","pointer","progress","wait","cell","crosshair","text","vertical-text","alias","copy","move","no-drop","not-allowed","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"]),M5=Object.freeze({radiusSmall:"0.125rem",radiusMedium:"0.25rem",radiusLarge:"0.5rem",widthSmall:"0.0625rem",widthMedium:"0.125rem",widthLarge:"0.25rem",style:"solid"});function x5(e){const t={textDarkest:e.licorice,textDark:e.ash,textLight:e.porcelain,textLightest:e.white,textBrand:e.brand,textLink:e.link,textAlert:e.barney,textInfo:e.brand,textSuccess:e.shamrock,textDanger:e.crimson,textWarning:e.fire},a={backgroundDarkest:e.licorice,backgroundDark:e.ash,backgroundMedium:e.tiara,backgroundLight:e.porcelain,backgroundLightest:e.white,backgroundBrand:e.brand,backgroundBrandSecondary:e.oxford,backgroundAlert:e.barney,backgroundInfo:e.brand,backgroundSuccess:e.shamrock,backgroundDanger:e.crimson,backgroundWarning:e.fire},n={borderLightest:e.white,borderLight:e.porcelain,borderMedium:e.tiara,borderDark:e.ash,borderDarkest:e.licorice,borderBrand:e.brand,borderAlert:e.barney,borderInfo:e.brand,borderSuccess:e.shamrock,borderDanger:e.crimson,borderWarning:e.fire,borderDebug:e.crimson};return{...e,...t,...a,...n,values:e,text:t,background:a,border:n}}const D5={brand:"#0374B5",link:"#0374B5",electric:"#0374B5",shamrock:"#0B874B",barney:"#BF32A4",crimson:"#E0061F",fire:"#FC5E13",licorice:"#2D3B45",oxford:"#394B58",ash:"#6B7780",slate:"#8B969E",tiara:"#C7CDD1",porcelain:"#F5F5F5",white:"#FFFFFF"},$5=Object.freeze(x5(D5)),z5=Object.freeze({duration:"300ms",timing:"ease-in-out"}),N5=Object.freeze({fontFamily:'LatoWeb, Lato, "Helvetica Neue", Helvetica, Arial, sans-serif',fontFamilyMonospace:'Menlo, Consolas, Monaco, "Andale Mono", monospace',fontSizeXSmall:"0.75rem",fontSizeSmall:"0.875rem",fontSizeMedium:"1rem",fontSizeLarge:"1.375rem",fontSizeXLarge:"1.75rem",fontSizeXXLarge:"2.375rem",fontWeightLight:300,fontWeightNormal:400,fontWeightBold:700,lineHeight:1.5,lineHeightFit:1.125,lineHeightCondensed:1.25,lineHeightDouble:2,letterSpacingNormal:0,letterSpacingCondensed:"-0.0625rem",letterSpacingExpanded:"0.0625rem"}),L5=Object.freeze({xxxSmall:"0.125rem",xxSmall:"0.375rem",xSmall:"0.5rem",small:"0.75rem",mediumSmall:"1rem",medium:"1.5rem",large:"2.25rem",xLarge:"3rem",xxLarge:"3.75rem"}),U5=Object.freeze({inputHeightSmall:"1.75rem",inputHeightMedium:"2.375rem",inputHeightLarge:"3rem"}),H5=.0625,ma={xxSmall:8,xSmall:16,small:30,medium:48,tablet:48,large:62,desktop:64,xLarge:75},hu=Object.freeze({xxSmall:`${ma.xxSmall}em`,xSmall:`${ma.xSmall}em`,small:`${ma.small}em`,medium:`${ma.medium}em`,tablet:`${ma.tablet}em`,large:`${ma.large}em`,desktop:`${ma.desktop}em`,xLarge:`${ma.xLarge}em`,maxWidth:`${ma.large-H5}em`}),B5=Object.freeze({mediumMin:`min-width: ${hu.medium}`,largeMin:`min-width: ${hu.large}`,xLargeMin:`min-width: ${hu.xLarge}`}),Pn=["0 0.0625rem 0.125rem rgba(0, 0, 0, 0.2), 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.1)","0 0.1875rem 0.375rem rgba(0, 0, 0, 0.1), 0 0.1875rem 0.375rem rgba(0, 0, 0, 0.16)","0 0.375rem 0.4375rem rgba(0, 0, 0, 0.1), 0 0.625rem 1.75rem rgba(0, 0, 0, 0.25)"],j5=Object.freeze({depth1:Pn[0],depth2:Pn[1],depth3:Pn[2],resting:Pn[0],above:Pn[1],topmost:Pn[2]}),V5=Object.freeze({topmost:9999,above:1,below:-1,deepest:-9999}),Tp={colors:$5,borders:M5,transitions:z5,typography:N5,spacing:L5,forms:U5,media:B5,breakpoints:hu,shadows:j5,stacking:V5},k5=["key","description"],G5=["key","description","use"],Y5="@@themeRegistryDefaultTheme",Zu="__GLOBAL_THEME_REGISTRY__";globalThis[Zu]?nd(q5(globalThis[Zu])):wp();function _p(){return{currentThemeKey:null,themes:{},registered:[]}}function q5(e){const t=_p();if(typeof e>"u")return t;let a=!0;return Object.keys(t).forEach(n=>{typeof e[n]>"u"&&(a=!1)}),Mn(a,"[theme-registry] Invalid global theme registry!"),e}function Dc(){return globalThis[Zu]}function nd(e){globalThis[Zu]=e}function wp(){nd(_p())}function X5(){const e=Dc(),t=e.currentThemeKey;if(t)return e.themes[t]}function Z5(e,t){const a=Dc(),n=a.themes[e];n||e!==Y5&&Mn(n,`[theme-registry] Could not find theme: '${e}' in the registry.`),a.currentThemeKey=e;const l=gp(n,t);return a.themes[e]=l,l}function Q5(e){const t=e.key,a=e.description,n=xn(e,k5),l={key:t,description:a,...n,use(i){Z5(t,(i==null?void 0:i.overrides)||{})}};return new Proxy(l,{get(i,r){i.key,i.description,i.use;const u=xn(i,G5);return r==="variables"?u:Reflect.get(i,r)}})}function K5(e){const t=Dc();if(e.key&&t.themes[e.key])return t.themes[e.key];{if(!Sp(e))throw Mn(!1,`[theme-registry] The theme provided to 'registerTheme' is not a valid theme object! +For it to be valid some properties have to be present, check out https://instructure.design/#canvas as a reference.`),new Error;const a=Q5(e);return t.themes[a.key]=a,t.registered.push(a.key),a}}const ld={getRegistry:Dc,clearRegistry:wp,setRegistry:nd,registerTheme:K5,getCurrentTheme:X5},yt=Tp.colors,P5="canvas",J5={"ic-brand-primary":yt.textBrand,"ic-brand-font-color-dark":yt.textDarkest,"ic-link-color":yt.textLink,"ic-link-decoration":"none","ic-brand-button--primary-bgd":yt.backgroundBrand,"ic-brand-button--primary-text":yt.textLightest,"ic-brand-button--secondary-bgd":yt.backgroundDarkest,"ic-brand-button--secondary-text":yt.textLightest,"ic-brand-global-nav-bgd":yt.backgroundBrandSecondary,"ic-global-nav-link-hover":yt.backgroundDarkest,"ic-brand-global-nav-ic-icon-svg-fill":yt.textLightest,"ic-brand-global-nav-ic-icon-svg-fill--active":yt.textBrand,"ic-brand-global-nav-menu-item__text-color":yt.textLightest,"ic-brand-global-nav-menu-item__text-color--active":yt.textBrand},W5={key:P5,...Tp,...J5},id=ld.registerTheme(W5),F5=e=>(t={})=>{var a,n;try{if(Sp(e))return e}catch{e={}}let l;Object.keys(t).length===0?l=ld.getCurrentTheme()||id:l=t;const i=l.key,r=((a=e)===null||a===void 0||(n=a.themeOverrides)===null||n===void 0?void 0:n[i])||e.themeOverrides||{};return gp(l,e,r)};function Op({children:e,theme:t={},dir:a,instanceCounterMap:n,as:l}){const i=a||T.useContext(zs);let r=be.createElement(R5,{instanceCounterMap:n},be.createElement(G3,{theme:F5(t)},be.createElement(zs.Provider,{value:i},e)));if(a){const u=l||"span";r=be.createElement(u,{dir:i},r)}return r}Op.propTypes={children:L.node,theme:L.object,dir:L.oneOf(["ltr","rtl"]),instanceCounterMap:L.instanceOf(Map),as:L.string};const I5=(e,t,a,n,l)=>{const i=t,r=a,u=n,c=u.themeOverride,o=e,s=o.componentOverrides;let d={},f={};return s&&(d=i&&s[i]||r&&s[r]||{}),c&&(typeof c=="function"?f=c(l||{},e):f=c),{...d,...f}},eS=()=>{let e=j3();if(pp(e)){const t=ld.getCurrentTheme();if(t)return t;e=id}return e},wo={styles:{},makeStyles:()=>{}},rd=Oc((e,t,a)=>{const n=e.displayName||e.name,l=T.forwardRef((i,r)=>{const u=eS();i.styles&&Xu(!1,`Manually passing the "styles" property is not allowed on the ${n} component. Using the default styles calculated by the @withStyle decorator instead. +`,i.styles),i.makeStyles&&Xu(!1,`Manually passing the "makeStyles" property is not allowed on the ${n} component. Styles are calculated by the @withStyle decorator.`);const c={...e.defaultProps,...i,...wo};let o=typeof a=="function"?a(u):{};const s=I5(u,n,e.componentId,c,o);o={...o,...s};const d=T.useState(t?t(o,c,{}):{}),f=u5(d,2),p=f[0],C=f[1],S=M=>{const m=t(o,c,M);e5(m,p)||C(m)};return be.createElement(e,Object.assign({ref:r},i,{makeStyles:S,styles:p,themeOverride:s}))});return If(l,e),l.originalType=e.originalType||e,l.propTypes=e.propTypes,l.defaultProps=e.defaultProps,l.allowedProps=e.allowedProps,l.generateComponentTheme=a,e.defaultProps={...e.defaultProps,makeStyles:wo.makeStyles,styles:wo.styles},l}),jn={SHADOW_TYPES:{resting:"resting",above:"above",topmost:"topmost",none:"none"},STACKING_TYPES:{deepest:"deepest",below:"below",resting:"resting",above:"above",topmost:"topmost"},BORDER_WIDTHS:{0:"0",none:"none",small:"small",medium:"medium",large:"large"},BORDER_RADII:{0:"0",none:"none",small:"small",medium:"medium",large:"large",circle:"circle",pill:"pill"},BACKGROUNDS:{default:"default",inverse:"inverse",transparent:"transparent"},SIZES:{xSmall:"x-small",small:"small",medium:"medium",large:"large",xLarge:"x-large"},SPACING:{0:"0",none:"none",auto:"auto",xxxSmall:"xxx-small",xxSmall:"xx-small",xSmall:"x-small",small:"small",mediumSmall:"mediumSmall",medium:"medium",large:"large",xLarge:"x-large",xxLarge:"xx-large"}},tS=jn.SHADOW_TYPES,aS=jn.STACKING_TYPES,nS=jn.BORDER_WIDTHS,lS=jn.BORDER_RADII,iS=jn.BACKGROUNDS,rS=jn.SIZES,uS=jn.SPACING,Jn={shadow:L.oneOf(Object.values(tS)),stacking:L.oneOf(Object.values(aS)),borderWidth:Oo(Object.values(nS)),borderRadius:Oo(Object.values(lS)),background:L.oneOf(Object.values(iS)),size:L.oneOf(Object.values(rS)),spacing:Oo(Object.values(uS))};function Oo(e){return function(t,a,n,l){const i=t[a];if(typeof i>"u")return null;if(typeof i!="string")return new Error(`Invalid ${l} \`${a}\` of type \`${typeof i}\` supplied to \`${n}\`, expected a string.`);const r=i.split(" "),u=r.length;if(u>0&&u<5){for(let c=0;c{a[bp(`${e}-${String(n)}`)]=t[n]}),a}function Qu(e,t,a,n){if(!(typeof a!="string"||pp(t)))return a.split(" ").map(l=>{if(l==="auto"||l==="0")return l;if(l==="none")return"0";if(l==="circle")return"100%";if(l==="pill")return"999em";const i=bp(`${n}-${l}`),r=t[i];return Mn(typeof r<"u",`[${e}] '${i}' is an invalid '${n}' value.`),r||"0"}).join(" ").trim()}function Ns(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===4){var a=[t[3],t[1]];t[1]=a[0],t[3]=a[1]}return t.join(" ")}function cS(e){if(typeof e!="string")return;const t=e.split(" ");if(t.length===2){var a=[t[1],t[0]];t[0]=a[0],t[1]=a[1]}if(t.length===3&&t.push(t[1]),t.length===4){var n=[t[1],t[0],t[3],t[2]];t[0]=n[0],t[1]=n[1],t[2]=n[2],t[3]=n[3]}return t.join(" ")}let Ls=!0;try{var Mo,xo;Ls=!((Mo=process)!==null&&Mo!==void 0&&(xo=Mo.env)!==null&&xo!==void 0&&xo.ALWAYS_APPEND_UI_TESTABLE_LOCATORS)}catch(e){if(e instanceof ReferenceError)Ls=!1;else throw e}const Mp=Ls?()=>e=>e:Oc(e=>{const a={attribute:"data-cid",value:e.displayName||e.name},n=`[${a.attribute}~="${a.value}"]`;class l extends e{constructor(...r){super(...r),this._testableUnmounted=void 0,this._locatorTimeout=void 0}componentDidMount(){this._testableUnmounted=!1,super.componentDidMount&&super.componentDidMount(),this.appendLocatorAttribute()}componentDidUpdate(r,u,c){super.componentDidUpdate&&super.componentDidUpdate(r,u,c),this.appendLocatorAttribute()}componentWillUnmount(){this._testableUnmounted=!0,super.componentWillUnmount&&super.componentWillUnmount(),this._locatorTimeout&&clearTimeout(this._locatorTimeout)}appendLocatorAttribute(){this._locatorTimeout=setTimeout(()=>{let r;if(!this._testableUnmounted){try{r=this.DOMNode||br(this)}catch{}if(r){const u=r.getAttribute(a.attribute),c=typeof u=="string"?u.split(/\s+/):[];c.includes(a.value)||c.push(a.value),r.setAttribute(a.attribute,c.join(" "))}}})}}return l.selector=n,l}),oS=({borderRadius:e,borderWidth:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{borderRadius:Qu("View",n,l?cS(e):e,"borderRadius"),borderWidth:Qu("View",n,l?Ns(t):t,"borderWidth")}},sS=({margin:e,padding:t,dir:a,theme:n})=>{const l=a===xc.rtl;return{margin:Qu("View",n,l?Ns(e):e,"margin"),padding:Qu("View",n,l?Ns(t):t,"padding")}},fS=({insetBlockStart:e,insetBlockEnd:t,insetInlineStart:a,insetInlineEnd:n,dir:l})=>{const i=l===xc.rtl;return{...{top:e,insetBlockStart:e},...{bottom:t,insetBlockEnd:t},...{left:i?n:a,right:i?a:n}}},dS=({cursor:e,style:t})=>{const a=Rp(t||{},{},["top","left","position","display","transform","overflow","minWidth","minHeight","filter","flexBasis","backgroundImage","pointerEvents"]);return e&&(a.cursor=e),a},hS=(e,t)=>typeof t!="string"?!1:t.trim().split(" ").every(a=>e===a),mS=e=>{const t="focusRing--radius",a=(e||"").trim().split(" ")[0];if(hS(a,e)){const n=l=>`${l.charAt(0).toUpperCase()}${l.slice(1)}`;if(["small","medium","large"].includes(a))return`${t}${n(a)}`;if(["circle","pill"].includes(a))return`${t}Inherit`}return`${t}None`},vS=e=>{const t=e.position,a=e.display,n=e.focusPosition,l=e.withFocusOutline;return typeof l>"u"||l&&(Mn(a==="inline"||t==="relative","[View] the focus outline will only show if the `position` prop is `relative`."),Mn(a!=="inline"||n==="inset","[View] when display is set to `inline` the focus outline will only show if `focusPosition` is set to `inset`.")),l},pS=e=>{const t=e.borderWidth;return t&&t!=="0"&&t!=="none"},gS=(e,t)=>{const a=e.focusColor,n=e.focusPosition,l=e.position,i=e.shouldAnimateFocus,r=e.borderRadius,u=vS(e),c=typeof u>"u",o={offset:{top:`calc(${t.focusOutlineOffset} * -1)`,left:`calc(${t.focusOutlineOffset} * -1)`,right:`calc(${t.focusOutlineOffset} * -1)`,bottom:`calc(${t.focusOutlineOffset}* -1)`},inset:{top:`calc(${t.focusOutlineInset} * -1)`,left:`calc(${t.focusOutlineInset} * -1)`,right:`calc(${t.focusOutlineInset} * -1)`,bottom:`calc(${t.focusOutlineInset} * -1)`}},s={info:t.focusColorInfo,inverse:t.focusColorInverse,success:t.focusColorSuccess,danger:t.focusColorDanger};if(l==="relative"){const d=mS(r),f={"focusRing--radiusInherit":"inherit","focusRing--radiusNone":0},p={offset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} + (${t.focusOutlineOffset} - ${t.focusOutlineWidth}))`}},inset:{"focusRing--radiusSmall":{borderRadius:`calc(${t.borderRadiusSmall} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusMedium":{borderRadius:`calc(${t.borderRadiusMedium} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`},"focusRing--radiusLarge":{borderRadius:`calc(${t.borderRadiusLarge} - (${t.focusOutlineInset} + ${t.focusOutlineWidth}))`}}};return{"&::before":{pointerEvents:"none",content:'""',position:"absolute",borderStyle:t.focusOutlineStyle,borderWidth:t.focusOutlineWidth,borderColor:s[a],opacity:0,borderRadius:f[d],...p[n][d],...o[n],...i?{transition:"all 0.2s",transform:"scale(0.95)"}:{},...u?{opacity:1,transform:"scale(1)"}:{}},"&:focus":{outline:"none","&::before":{...c?{opacity:1,transform:"scale(1)"}:{}}}}}return{"&::before":{borderStyle:"none"},outlineStyle:"none",outlineColor:s[a],...u?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{},"&:focus":{...c?{outlineWidth:t.focusOutlineWidth,outlineStyle:t.focusOutlineStyle}:{}}}},yS=(e,t)=>{const a=t.borderRadius,n=t.borderWidth,l=t.margin,i=t.padding,r=t.position,u=t.display,c=t.focusPosition,o=t.textAlign,s=t.borderColor,d=t.background,f=t.stacking,p=t.shadow,C=t.overflowY,S=t.overflowX,M=t.overscrollBehavior,m=t.insetBlockEnd,h=t.insetBlockStart,v=t.insetInlineEnd,R=t.insetInlineStart,x=t.width,y=t.height,A=t.minWidth,$=t.minHeight,U=t.maxWidth,j=t.maxHeight,q=t.withVisualDebug,Me=t.dir,_e=oS({theme:e,borderRadius:a,borderWidth:n,dir:Me}),Ee=sS({margin:l,padding:i,theme:e,dir:Me}),Tt=fS({dir:Me,insetBlockEnd:m,insetBlockStart:h,insetInlineEnd:v,insetInlineStart:R}),z=r==="relative"||u==="inline"&&c==="inset",H={inline:{label:"view--inline",display:"inline"},block:{label:"view--block",display:"block"},"inline-block":{label:"view--inlineBlock",display:"inline-block",verticalAlign:"middle"},flex:{label:"view--flex",display:"flex"},"inline-flex":{label:"view--inlineFlex",display:"inline-flex",verticalAlign:"middle"},auto:{}},Y={start:{textAlign:"start"},center:{textAlign:"center"},end:{textAlign:"end"}},le={transparent:{borderColor:e.borderColorTransparent},primary:{borderColor:e.borderColorPrimary},secondary:{borderColor:e.borderColorSecondary},brand:{borderColor:e.borderColorBrand},info:{borderColor:e.borderColorInfo},success:{borderColor:e.borderColorSuccess},warning:{borderColor:e.borderColorWarning},alert:{borderColor:e.borderColorAlert},danger:{borderColor:e.borderColorDanger}},fe={transparent:{color:e.color,background:"none"},primary:{color:e.color,background:e.backgroundPrimary},secondary:{color:e.color,background:e.backgroundSecondary},"primary-inverse":{color:e.colorPrimaryInverse,background:e.backgroundPrimaryInverse},brand:{color:e.colorPrimaryInverse,background:e.backgroundBrand},info:{color:e.colorPrimaryInverse,background:e.backgroundInfo},alert:{color:e.colorPrimaryInverse,background:e.backgroundAlert},success:{color:e.colorPrimaryInverse,background:e.backgroundSuccess},danger:{color:e.colorPrimaryInverse,background:e.backgroundDanger},warning:{color:e.colorPrimaryInverse,background:e.backgroundWarning}},Ie={topmost:{zIndex:e.stackingTopmost},above:{zIndex:e.stackingAbove},resting:{},below:{zIndex:e.stackingBelow},deepest:{zIndex:e.stackingDeepest}},pt={topmost:{boxShadow:e.shadowTopmost},resting:{boxShadow:e.shadowResting},above:{boxShadow:e.shadowAbove},none:{}},jt=gS(t,e);return{view:{label:"view",boxSizing:"border-box",fontFamily:e.fontFamily,maxWidth:"100%",overflow:"visible",...H[u],...d&&fe[d],...f&&Ie[f],...p&&pt[p],...o&&Y[o],overflowX:S&&S!=="visible"?S:"",overflowY:C&&C!=="visible"?C:"",position:r!=="static"?r:"",overscrollBehavior:M||"auto",...q?{outline:`0.0625rem dashed ${e.debugOutlineColor}`}:{},...pS(t)?{borderStyle:e.borderStyle,...le[s]}:{},...z?jt:{}},inlineStyles:{"&&&&&&&&&&":{...Ee,..._e,...Tt,width:x,height:y,minWidth:A,minHeight:$,maxWidth:U,maxHeight:j,...dS(t)}}}},bS=e=>{const t=e.colors,a=e.typography,n=e.borders,l=e.breakpoints,i=e.spacing,r=e.shadows,u=e.stacking,c=e.key,o={canvas:{color:e["ic-brand-font-color-dark"],focusColorInfo:e["ic-brand-primary"],backgroundBrand:e["ic-brand-primary"],backgroundInfo:e["ic-brand-primary"],borderColorBrand:e["ic-brand-primary"],borderColorInfo:e["ic-brand-primary"]}};return{...{fontFamily:a==null?void 0:a.fontFamily,color:t==null?void 0:t.textDarkest,colorPrimaryInverse:t==null?void 0:t.textLightest,borderColorPrimary:t==null?void 0:t.borderMedium,borderColorSecondary:t==null?void 0:t.borderDark,borderColorSuccess:t==null?void 0:t.borderSuccess,borderColorBrand:t==null?void 0:t.borderBrand,borderColorInfo:t==null?void 0:t.borderInfo,borderColorAlert:t==null?void 0:t.borderAlert,borderColorWarning:t==null?void 0:t.borderWarning,borderColorDanger:t==null?void 0:t.borderDanger,borderColorTransparent:"transparent",debugOutlineColor:t==null?void 0:t.borderDebug,backgroundPrimary:t==null?void 0:t.backgroundLightest,backgroundSecondary:t==null?void 0:t.backgroundLight,backgroundPrimaryInverse:t==null?void 0:t.backgroundDarkest,backgroundBrand:t==null?void 0:t.backgroundBrand,backgroundInfo:t==null?void 0:t.backgroundInfo,backgroundAlert:t==null?void 0:t.backgroundAlert,backgroundSuccess:t==null?void 0:t.backgroundSuccess,backgroundDanger:t==null?void 0:t.backgroundDanger,backgroundWarning:t==null?void 0:t.backgroundWarning,arrowSize:"0.5rem",focusOutlineStyle:n==null?void 0:n.style,focusOutlineWidth:n==null?void 0:n.widthMedium,focusOutlineOffset:"0.3125rem",focusOutlineInset:"0rem",focusColorInfo:t==null?void 0:t.borderInfo,focusColorDanger:t==null?void 0:t.borderDanger,focusColorSuccess:t==null?void 0:t.borderSuccess,focusColorInverse:t==null?void 0:t.borderLightest,xSmallMaxWidth:l==null?void 0:l.xSmall,smallMaxWidth:l==null?void 0:l.small,mediumMaxWidth:l==null?void 0:l.medium,largeMaxWidth:l==null?void 0:l.large,...di("margin",i),...di("padding",i),...di("shadow",r),...di("stacking",u),...di("border",n)},...o[c]}},SS={as:L.elementType,elementRef:L.func,display:L.oneOf(["auto","inline","block","inline-block","flex","inline-flex"]),overflowX:L.oneOf(["auto","hidden","visible"]),overflowY:L.oneOf(["auto","hidden","visible"]),margin:Jn.spacing,padding:Jn.spacing,height:L.oneOfType([L.string,L.number]),width:L.oneOfType([L.string,L.number]),maxHeight:L.oneOfType([L.string,L.number]),maxWidth:L.oneOfType([L.string,L.number]),minHeight:L.oneOfType([L.string,L.number]),minWidth:L.oneOfType([L.string,L.number]),children:L.node,textAlign:L.oneOf(["start","center","end"]),borderWidth:Jn.borderWidth,borderRadius:Jn.borderRadius,borderColor:L.oneOf(["transparent","primary","secondary","brand","info","success","warning","alert","danger"]),background:L.oneOf(["transparent","primary","secondary","primary-inverse","brand","info","alert","success","danger","warning"]),shadow:Jn.shadow,stacking:Jn.stacking,cursor:O5,position:L.oneOf(["static","absolute","relative","sticky","fixed"]),insetInlineStart:L.string,insetInlineEnd:L.string,insetBlockStart:L.string,insetBlockEnd:L.string,withFocusOutline:L.bool,focusPosition:L.oneOf(["offset","inset"]),focusColor:L.oneOf(["info","inverse","success","danger"]),shouldAnimateFocus:L.bool,withVisualDebug:L.bool,dir:L.oneOf(Object.values(ad.DIRECTION)),overscrollBehavior:L.oneOf(["auto","contain","none"])},ES=["as","background","borderColor","borderRadius","borderWidth","children","cursor","dir","display","elementRef","focusColor","focusPosition","height","insetBlockEnd","insetBlockStart","insetInlineEnd","insetInlineStart","margin","maxHeight","maxWidth","minHeight","minWidth","overflowX","overflowY","overscrollBehavior","padding","position","shadow","shouldAnimateFocus","stacking","textAlign","width","withFocusOutline","withVisualDebug"],RS=["children","textAlign","background","display","withVisualDebug","width","height","minWidth","minHeight","maxWidth","maxHeight","overflowX","overflowY","stacking","shadow","position","focusPosition","focusColor","shouldAnimateFocus","borderColor","className","overscrollBehavior","styles","makeStyles"];var Eh,Rh,Zr,va;let CS=(Eh=ad(),Rh=rd(yS,bS),Eh(Zr=Rh(Zr=(va=class xp extends T.Component{get _element(){return this.ref}constructor(t){super(t),this.spanMarginVerified=void 0,this.ref=null,this.handleElementRef=a=>{typeof this.props.elementRef=="function"&&this.props.elementRef(a),this.ref=a},this.spanMarginVerified=!1}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.children;t.textAlign,t.background,t.display,t.withVisualDebug,t.width,t.height,t.minWidth,t.minHeight,t.maxWidth,t.maxHeight,t.overflowX,t.overflowY,t.stacking,t.shadow,t.position,t.focusPosition,t.focusColor,t.shouldAnimateFocus,t.borderColor;const n=t.className;t.overscrollBehavior;const l=t.styles;t.makeStyles;const i=xn(t,RS),r=m5(xp,this.props);return hn(r,Object.assign({},b5(i),{className:n,css:[l==null?void 0:l.view,l==null?void 0:l.inlineStyles],ref:this.handleElementRef}),a)}},va.displayName="View",va.componentId="View",va.allowedProps=ES,va.propTypes=SS,va.defaultProps={display:"auto",overflowX:"visible",overflowY:"visible",withVisualDebug:!1,borderColor:"primary",position:"static",focusPosition:"offset",focusColor:"info",shouldAnimateFocus:!0,overscrollBehavior:"auto"},va.omitViewProps=(e,t)=>{const a=[...va.allowedProps,"styles","makeStyles","themeOverride"];let n=!0;try{n=!1}catch(l){if(l instanceof ReferenceError)n=!1;else throw l}return n&&Object.keys(Rp(e,a)).forEach(l=>{Mn(!1,`[${t.name}] prop '${l}' is not allowed.`)}),Ep(e,a)},va))||Zr)||Zr);const AS=(e,t)=>{const a=t.inline,n=t.color,l={inherit:{color:"inherit"},primary:{color:e.primaryColor},secondary:{color:e.secondaryColor},"primary-inverse":{color:e.primaryInverseColor},"secondary-inverse":{color:e.secondaryInverseColor},success:{color:e.successColor},brand:{color:e.brandColor},warning:{color:e.warningColor},error:{color:e.errorColor},alert:{color:e.alertColor},auto:{}};return{inlineSVG:{label:"inlineSVG",fill:"currentColor",display:a?"inline-block":"block",overflow:"visible",...l[n]}}},TS=e=>{const t=e.colors,a=e.key,n={canvas:{primaryColor:e["ic-brand-font-color-dark"],brandColor:e["ic-brand-primary"]}};return{...{primaryInverseColor:t==null?void 0:t.textLightest,primaryColor:t==null?void 0:t.textDarkest,secondaryColor:t==null?void 0:t.textDark,secondaryInverseColor:t==null?void 0:t.textLight,warningColor:t==null?void 0:t.textWarning,brandColor:t==null?void 0:t.textBrand,errorColor:t==null?void 0:t.textDanger,alertColor:t==null?void 0:t.textAlert,successColor:t==null?void 0:t.textSuccess},...n[a]}},_S={children:L.node,src:L.string,title:L.string,description:L.string,focusable:L.bool,width:L.oneOfType([L.string,L.number]),height:L.oneOfType([L.string,L.number]),inline:L.bool,color:L.oneOf(["inherit","primary","secondary","primary-inverse","secondary-inverse","success","error","alert","warning","brand","auto"]),elementRef:L.func},wS=["children","src","title","description","focusable","width","height","inline","color","elementRef"],OS=["style","title","description","focusable","children","src","styles"];var Ch,Ah,Th,Wn,Na;let Dp=(Ch=C5(),Ah=rd(AS,TS),Th=Mp(),Ch(Wn=Ah(Wn=Th(Wn=(Na=class Us extends T.Component{constructor(t){super(t),this.titleId=void 0,this.descId=void 0,this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)},this.titleId=t.deterministicId("InlineSVG-title"),this.descId=t.deterministicId("InlineSVG-desc")}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}get role(){return this.props.title?"img":"presentation"}renderTitle(){const t=this.props.title;return t?hn("title",{id:this.titleId},t):null}renderDesc(t){return t?hn("desc",{id:this.descId},t):null}get labelledBy(){const t=[];return this.props.title&&t.push(this.titleId),this.props.description&&t.push(this.descId),t.length>0?t.join(" "):void 0}renderContent(){if(this.props.src){const t=Us.prepareSrc(this.props.src);return hn("g",{role:"presentation",dangerouslySetInnerHTML:{__html:t}})}else return hn("g",{role:"presentation"},this.props.children)}render(){const t=this.props,a=t.style,n=t.title,l=t.description,i=t.focusable;t.children;const r=t.src,u=t.styles,c=xn(t,OS),o=this.props.width==="auto"?void 0:this.props.width,s=this.props.height==="auto"?void 0:this.props.height;return hn("svg",Object.assign({},MS(r),Ep(this.props,Us.allowedProps,["inline"]),{style:{...a,width:o,height:s},width:o,height:s,"aria-hidden":n?void 0:"true","aria-labelledby":this.labelledBy,role:this.role,focusable:i?"true":"false",css:u==null?void 0:u.inlineSVG,className:c.className,ref:this.handleRef}),this.renderTitle(),this.renderDesc(l),this.renderContent())}},Na.displayName="InlineSVG",Na.componentId="InlineSVG",Na.allowedProps=wS,Na.propTypes=_S,Na.defaultProps={focusable:!1,src:"",title:"",description:"",inline:!0,width:"1em",height:"1em",color:"inherit"},Na.prepareSrc=e=>{const a=/]*>((.|[\n\r])*)<\/svg>/.exec(e);return a?a[1]:e},Na))||Wn)||Wn)||Wn);function MS(e){const t={},a=/]*)\s*>/,n=/(\S+)=["']?((?:.(?!["']?\s+(?:\S+)=|[>"']))+.)["']?/g;if(typeof e=="string"){const l=a.exec(e),i=l?l[1]:"",r=["xmlns","xmlns:xlink","version"];let u=n.exec(i);for(;u!=null;)r.indexOf(u[1])===-1&&(t[u[1]]=u[2]||(u[3]?u[3]:u[4]?u[4]:u[5])||u[1]),u=n.exec(i)}return t}const xS=(e,t)=>{const a=t.rotate,n=t.size,l=t.bidirectional,i={0:{},90:{transform:"rotate(90deg)"},180:{transform:"rotate(180deg)"},270:{transform:"rotate(270deg)"}},r={0:{transform:"scale3d(-1, 1, 1)"},90:{transform:"scale3d(-1, 1, 1) rotate(90deg)"},180:{transform:"scale3d(-1, 1, 1) rotate(180deg)"},270:{transform:"scale3d(-1, 1, 1) rotate(270deg)"}},u={"x-small":{fontSize:e.sizeXSmall},small:{fontSize:e.sizeSmall},medium:{fontSize:e.sizeMedium},large:{fontSize:e.sizeLarge},"x-large":{fontSize:e.sizeXLarge}};return{svgIcon:{label:"svgIcon",verticalAlign:"middle",lineHeight:1,width:"1em",height:"1em",...i[a],...n&&u[n],...l&&{'[dir="rtl"] &':r[a]}}}},DS=()=>({...{sizeXSmall:"1.125rem",sizeSmall:"2rem",sizeMedium:"3rem",sizeLarge:"5rem",sizeXLarge:"10rem"}}),$S={...Dp.propTypes,rotate:L.oneOf(["0","90","180","270"]),size:L.oneOf(["x-small","small","medium","large","x-large"]),bidirectional:L.bool},zS=["children","src","title","description","focusable","width","height","inline","color","elementRef","rotate","size","bidirectional"],NS=["rotate","className","themeOverride","size","bidirectional","makeStyles","styles"],LS=["sizeXSmall","sizeSmall","sizeMedium","sizeLarge","sizeXLarge"];var _h,wh,Qr,cn;let Fe=(_h=rd(xS,DS),wh=Mp(),_h(Qr=wh(Qr=(cn=class extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}componentDidMount(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}componentDidUpdate(){var t,a;(t=(a=this.props).makeStyles)===null||t===void 0||t.call(a)}render(){const t=this.props,a=t.rotate,n=t.className,l=t.themeOverride;t.size,t.bidirectional,t.makeStyles;const i=t.styles,r=xn(t,NS),u=l;u.sizeXSmall,u.sizeSmall,u.sizeMedium,u.sizeLarge,u.sizeXLarge;const c=xn(u,LS);return hn(Dp,Object.assign({},r,{themeOverride:c,rotate:a,css:i==null?void 0:i.svgIcon,className:n,elementRef:this.handleRef}))}},cn.displayName="SVGIcon",cn.componentId="SVGIcon",cn.allowedProps=zS,cn.propTypes=$S,cn.defaultProps={rotate:"0",bidirectional:!1},cn))||Qr)||Qr);var Oh;class Zl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconCanvasLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Oh||(Oh=be.createElement("path",{d:"M958.568 277.97C1100.42 277.97 1216.48 171.94 1233.67 34.3881 1146.27 12.8955 1054.57 0 958.568 0 864.001 0 770.867 12.8955 683.464 34.3881 700.658 171.94 816.718 277.97 958.568 277.97ZM35.8207 682.031C173.373 699.225 279.403 815.285 279.403 957.136 279.403 1098.99 173.373 1215.05 35.8207 1232.24 12.8953 1144.84 1.43262 1051.7 1.43262 957.136 1.43262 862.569 12.8953 769.434 35.8207 682.031ZM528.713 957.142C528.713 1005.41 489.581 1044.55 441.31 1044.55 393.038 1044.55 353.907 1005.41 353.907 957.142 353.907 908.871 393.038 869.74 441.31 869.74 489.581 869.74 528.713 908.871 528.713 957.142ZM1642.03 957.136C1642.03 1098.99 1748.06 1215.05 1885.61 1232.24 1908.54 1144.84 1920 1051.7 1920 957.136 1920 862.569 1908.54 769.434 1885.61 682.031 1748.06 699.225 1642.03 815.285 1642.03 957.136ZM1567.51 957.142C1567.51 1005.41 1528.38 1044.55 1480.11 1044.55 1431.84 1044.55 1392.71 1005.41 1392.71 957.142 1392.71 908.871 1431.84 869.74 1480.11 869.74 1528.38 869.74 1567.51 908.871 1567.51 957.142ZM958.568 1640.6C816.718 1640.6 700.658 1746.63 683.464 1884.18 770.867 1907.11 864.001 1918.57 958.568 1918.57 1053.14 1918.57 1146.27 1907.11 1233.67 1884.18 1216.48 1746.63 1100.42 1640.6 958.568 1640.6ZM1045.98 1480.11C1045.98 1528.38 1006.85 1567.51 958.575 1567.51 910.304 1567.51 871.172 1528.38 871.172 1480.11 871.172 1431.84 910.304 1392.71 958.575 1392.71 1006.85 1392.71 1045.98 1431.84 1045.98 1480.11ZM1045.98 439.877C1045.98 488.148 1006.85 527.28 958.575 527.28 910.304 527.28 871.172 488.148 871.172 439.877 871.172 391.606 910.304 352.474 958.575 352.474 1006.85 352.474 1045.98 391.606 1045.98 439.877ZM1441.44 1439.99C1341.15 1540.29 1333.98 1697.91 1418.52 1806.8 1579 1712.23 1713.68 1577.55 1806.82 1418.5 1699.35 1332.53 1541.74 1339.7 1441.44 1439.99ZM1414.21 1325.37C1414.21 1373.64 1375.08 1412.77 1326.8 1412.77 1278.53 1412.77 1239.4 1373.64 1239.4 1325.37 1239.4 1277.1 1278.53 1237.97 1326.8 1237.97 1375.08 1237.97 1414.21 1277.1 1414.21 1325.37ZM478.577 477.145C578.875 376.846 586.039 219.234 501.502 110.339 341.024 204.906 206.338 339.592 113.203 498.637 220.666 584.607 378.278 576.01 478.577 477.145ZM679.155 590.32C679.155 638.591 640.024 677.723 591.752 677.723 543.481 677.723 504.349 638.591 504.349 590.32 504.349 542.048 543.481 502.917 591.752 502.917 640.024 502.917 679.155 542.048 679.155 590.32ZM1440 475.712C1540.3 576.01 1697.91 583.174 1806.8 498.637 1712.24 338.159 1577.55 203.473 1418.51 110.339 1332.54 217.801 1341.13 375.413 1440 475.712ZM1414.21 590.32C1414.21 638.591 1375.08 677.723 1326.8 677.723 1278.53 677.723 1239.4 638.591 1239.4 590.32 1239.4 542.048 1278.53 502.917 1326.8 502.917 1375.08 502.917 1414.21 542.048 1414.21 590.32ZM477.145 1438.58C376.846 1338.28 219.234 1331.12 110.339 1415.65 204.906 1576.13 339.593 1710.82 498.637 1805.39 584.607 1696.49 577.443 1538.88 477.145 1438.58ZM679.155 1325.37C679.155 1373.64 640.024 1412.77 591.752 1412.77 543.481 1412.77 504.349 1373.64 504.349 1325.37 504.349 1277.1 543.481 1237.97 591.752 1237.97 640.024 1237.97 679.155 1277.1 679.155 1325.37Z"})))}}Zl.glyphName="canvas-logo";Zl.variant="Line";Zl.displayName="IconCanvasLogoLine";Zl.propTypes={...Fe.propTypes};Zl.allowedProps=[...Fe.allowedProps];var Mh;class Ql extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconElevateLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Mh||(Mh=be.createElement("path",{d:"M1070.45 53.9152C1104.97 88.4365 1124.36 135.258 1124.36 184.078L1123.51 1188.09C1123.74 1229.1 1110.25 1269.01 1085.18 1301.47 1060.11 1333.93 1024.9 1357.08 985.16 1367.22 945.419 1377.35 903.428 1373.91 865.87 1357.43 828.312 1340.95 797.346 1312.38 777.899 1276.28 763.314 1249.19 755.85 1218.85 756.21 1188.09V184.078C756.21 135.258 775.603 88.4365 810.124 53.9152 844.646 19.3939 891.467 0 940.288 0 989.108 0 1035.93 19.3939 1070.45 53.9152ZM161.091 1320.33C194.624 1353.7 240.009 1372.44 287.319 1372.44 310.767 1372.44 333.985 1367.81 355.644 1358.83 377.304 1349.85 396.98 1336.69 413.547 1320.1 430.113 1303.5 443.246 1283.8 452.193 1262.13 461.141 1240.45 465.726 1217.23 465.689 1193.78L463.406 359.01 106.666 741.15 108.378 1194.35C108.605 1241.67 127.558 1286.96 161.091 1320.33ZM1592.41 1372.44C1639.74 1372.51 1685.17 1353.81 1718.72 1320.42 1752.27 1287.02 1771.2 1241.69 1771.35 1194.35L1773.06 741.15 1416.33 359.01 1414.32 1193.78C1414.29 1217.21 1418.87 1240.41 1427.79 1262.06 1436.72 1283.71 1449.83 1303.41 1466.37 1319.99 1482.9 1336.58 1502.55 1349.75 1524.17 1358.75 1545.8 1367.75 1568.99 1372.4 1592.41 1372.44ZM1123.46 1752.39C1126.77 1716.09 1119.25 1679.61 1101.83 1647.56 1090.29 1626.27 1074.66 1607.47 1055.85 1592.22 1037.03 1576.97 1015.39 1565.59 992.163 1558.73 968.939 1551.86 944.588 1549.64 920.506 1552.2 896.423 1554.76 873.083 1562.05 851.822 1573.65 819.782 1591.06 793.627 1617.59 776.661 1649.87 759.697 1682.14 752.685 1718.73 756.513 1754.99 760.341 1791.25 774.837 1825.57 798.168 1853.59 821.499 1881.62 852.616 1902.09 887.585 1912.44 922.554 1922.77 959.804 1922.51 994.623 1911.68 1029.44 1900.84 1060.27 1879.94 1083.2 1851.58 1106.13 1823.23 1120.14 1788.71 1123.46 1752.39Z"})))}}Ql.glyphName="elevate-logo";Ql.variant="Line";Ql.displayName="IconElevateLogoLine";Ql.propTypes={...Fe.propTypes};Ql.allowedProps=[...Fe.allowedProps];var xh;class Kl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconImpactLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),xh||(xh=be.createElement("path",{d:"M910.001 203.918C910.001 163.587 921.96 124.161 944.366 90.6273 966.773 57.0931 998.621 30.9565 1035.88 15.5225 1073.14.0883516 1114.15-3.9499 1153.7 3.91831 1193.26 11.7866 1229.59 31.2078 1258.11 59.7263 1286.63 88.2447 1306.05 124.579 1313.92 164.135 1321.78 203.692 1317.75 244.693 1302.32 281.954 1286.88 319.215 1260.74 351.062 1227.21 373.47 1193.68 395.876 1154.25 407.836 1113.92 407.836 1087.13 407.869 1060.6 402.617 1035.84 392.38 1011.09 382.144 988.596 367.124 969.654 348.182 950.712 329.241 935.692 306.748 925.457 281.993 915.22 257.237 909.967 230.706 910.001 203.918ZM167.424 913.308 458.311 622.422H1045.04L460.789 1206.68C421.886 1245.58 369.124 1267.44 314.107 1267.44 259.09 1267.44 206.327 1245.58 167.424 1206.68 128.522 1167.77 106.667 1115.01 106.667 1059.99 106.667 1004.97 128.522 952.211 167.424 913.308ZM1738.81 1027.77 1454.11 1313.21H867.136L1444.7 734.406C1483.6 695.405 1536.4 673.455 1591.49 673.386 1646.57 673.316 1699.43 695.132 1738.43 734.034 1777.43 772.936 1799.38 825.739 1799.45 880.826 1799.52 935.911 1777.71 988.769 1738.81 1027.77ZM587.075 1602.79C564.668 1636.33 552.709 1675.75 552.709 1716.08 552.709 1770.16 574.192 1822.02 612.435 1860.27 650.677 1898.51 702.543 1920 756.627 1920 796.957 1920 836.382 1908.04 869.917 1885.63 903.451 1863.23 929.588 1831.38 945.021 1794.12 960.456 1756.85 964.494 1715.85 956.625 1676.29 948.758 1636.74 929.336 1600.4 900.817 1571.89 872.299 1543.37 835.965 1523.94 796.409 1516.08 756.853 1508.21 715.851 1512.25 678.59 1527.69 641.329 1543.12 609.481 1569.25 587.075 1602.79Z"})))}}Kl.glyphName="impact-logo";Kl.variant="Line";Kl.displayName="IconImpactLogoLine";Kl.propTypes={...Fe.propTypes};Kl.allowedProps=[...Fe.allowedProps];var Dh;class Dn extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconInstructureLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Dh||(Dh=be.createElement("path",{d:"M1448.57 288.052 1084.46 502.746 1448.55 718.026 1813.23 502.732 1448.57 288.052ZM959.965 429.191 1323.92 214.589 959.988 0 596.032 214.602 959.965 429.191ZM835.499 502.732 471.388 288.038 106.704 502.732 471.388 718.026 835.499 502.732ZM106.667 1416.54 960 1920 1813.33 1416.54 960 913.07 106.667 1416.54Z"})))}}Dn.glyphName="instructure-logo";Dn.variant="Line";Dn.displayName="IconInstructureLogoLine";Dn.propTypes={...Fe.propTypes};Dn.allowedProps=[...Fe.allowedProps];var $h;class Pl extends T.Component{constructor(...t){super(...t),this.ref=null,this.handleRef=a=>{const n=this.props.elementRef;this.ref=a,typeof n=="function"&&n(a)}}render(){return be.createElement(Fe,Object.assign({},this.props,{name:"IconMasteryLogo",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),$h||($h=be.createElement("path",{d:"M672.274 547.699V889.681L371.706 760.866C332.318 747.272 297.441 723.083 270.907 690.958 244.373 658.833 227.209 620.015 221.301 578.769 215.392 537.524 220.969 495.447 237.417 457.164 253.866 418.883 280.55 385.876 314.537 361.771 348.524 337.668 388.498 323.399 430.066 320.536 471.634 317.672 513.187 326.323 550.158 345.538 587.13 364.753 618.089 393.788 639.632 429.453 661.176 465.119 672.47 506.033 672.274 547.699ZM959.895 1550.52C1013.45 1550.76 1065.35 1531.95 1106.32 1497.47 1147.3 1462.98 1174.68 1415.06 1183.6 1362.25 1192.51 1309.44 1182.37 1255.17 1154.98 1209.16 1127.6 1163.13 1084.75 1128.34 1034.08 1110.97L733.516 982.161V1324.15C733.584 1384.17 757.456 1441.7 799.895 1484.15 842.335 1526.59 899.876 1550.46 959.895 1550.52ZM226.887 1097.53C182.052 1097.47 138.21 1110.72 100.908 1135.6 63.6045 1160.47 34.5168 1195.85 17.3245 1237.26.13224 1278.67-4.39211 1324.24 4.32386 1368.21 13.0399 1412.19 34.6045 1452.61 66.2896 1484.32 97.9747 1516.04 138.356 1537.65 182.325 1546.42 226.295 1555.19 271.876 1550.71 313.303 1533.57 354.73 1516.42 390.14 1487.37 415.054 1450.1 439.968 1412.82 453.266 1368.99 453.266 1324.16 453.199 1264.12 429.335 1206.55 386.902 1164.08 344.47 1121.59 286.929 1097.66 226.887 1097.53ZM1693.14 1550.52C1746.69 1550.76 1798.6 1531.95 1839.57 1497.47 1880.54 1462.98 1907.93 1415.06 1916.85 1362.25 1925.75 1309.44 1915.62 1255.17 1888.23 1209.16 1860.85 1163.13 1818 1128.34 1767.33 1110.97L1466.51 982.161V1324.15C1466.64 1384.19 1490.57 1441.72 1533.05 1484.16 1575.53 1526.59 1633.1 1550.46 1693.14 1550.52ZM1405.53 547.689V889.671L1104.7 760.856C1065.35 747.221 1030.51 723.005 1004.02 690.865 977.527 658.724 960.404 619.905 954.531 578.67 948.656 537.434 954.261 495.378 970.726 457.12 987.192 418.861 1013.88 385.879 1047.87 361.798 1081.85 337.716 1121.81 323.465 1163.37 320.611 1204.92 317.757 1246.46 326.408 1283.41 345.617 1320.37 364.825 1351.33 393.847 1372.86 429.495 1394.41 465.143 1405.71 506.038 1405.53 547.689Z"})))}}Pl.glyphName="mastery-logo";Pl.variant="Line";Pl.displayName="IconMasteryLogoLine";Pl.propTypes={...Fe.propTypes};Pl.allowedProps=[...Fe.allowedProps];const US="isp-site",HS="4.4.2+1721144689",BS="https://inst.bid/#/",jS="module",VS={dev:"vite","biome:check":"pnpm lint && pnpm check && pnpm format","biome:apply":"pnpm lint:apply && pnpm check:apply && pnpm format:apply",build:"pnpm build:preview && pnpm build:git","build:git":'git add . && git commit -m "Build v$npm_package_version" && git push',"build:js":"vite build","build:preview":"pnpm biome:apply && pnpm sec && pnpm build:version && pnpm build:ts && pnpm build:js","build:ts":"tsc","build:version":`node-jq -r '.version=$ARGS.positional[0]+"+"+$ARGS.positional[1]' package.json --args "$(pnpm -s env:semver)" "$(date +%s)" | sponge package.json`,check:"biome check","check:apply":"biome check --write","env:package":"node-jq '.' package.json","env:biome":"biome rage","env:buildtime":`date -r $(node-jq -r '(.version | split("+"))[1]' package.json)`,"env:semver":`node-jq -r '(.version | split("+"))[0]' package.json`,"env:version":'echo "$npm_package_version"',format:"biome format","format:apply":"biome format --write",lint:"biome lint","lint:apply":"biome lint --write",preview:"pnpm build:preview && vite preview",push:`pnpm build && {pnpm tag || printf "git tag already exists.\r +";} && gh-pages -t -m "Deploy v$(pnpm -s env:version)" -d dist`,sec:"pnpm sec:audit && pnpm sec:scan","sec:audit":"snyk test && pnpm audit","sec:scan":"snyk code test",tag:"git tag isp-site-v$(pnpm -s env:semver) && git push origin isp-site-v$(pnpm -s env:semver)"},kS={"@instructure/browserslist-config-canvas-lms":"^2.0.0","@instructure/ui":"^9.2.0","gh-pages":"^6.1.1",react:"19.0.0-rc-fb9a90fa48-20240614","react-dom":"19.0.0-rc-fb9a90fa48-20240614","react-markdown":"^9.0.1","react-router-dom":"^6.25.0","rehype-raw":"^7.0.0","remark-gemoji":"^8.0.0","remark-gfm":"^4.0.0"},GS={"@babel/plugin-syntax-import-attributes":"^7.24.7","@biomejs/biome":"1.8.2","@instructure/shared-types":"^9.2.0","@octokit/types":"^13.5.0","@types/react":"npm:types-react@19.0.0-rc.0","@types/react-dom":"npm:types-react-dom@19.0.0-rc.0","@vitejs/plugin-react":"^4.3.1","babel-plugin-react-compiler":"0.0.0-experimental-938cd9a-20240601","node-jq":"^4.4.0",snyk:"^1.1292.1","snyk-policy":"^3.0.0",typescript:"^5.5.3",vite:"^5.3.4"},YS={node:">=22.4.1",pnpm:">=9.5.0"},qS="pnpm@9.5.0+sha512.140036830124618d624a2187b50d04289d5a087f326c9edfc0ccd733d76c4f52c3a313d4fc148794a2a9d81553016004e6742e8cf850670268a7387fc220c903",XS={overrides:{react:"^19.0.0-rc-f994737d14-20240522","react-dom":"^19.0.0-rc-f994737d14-20240522","@instructure/ui-test-sandbox>sinon":"^17.0.1","gh-pages>globby":"11.1.0","node-jq>tempfile":"^5.0.0","bin-build>tempfile":"^5.0.0","bin-build>download":"^8.0.0","download>got":"^14.4.1"}},ZS=["extends @instructure/browserslist-config-canvas-lms"],QS={name:US,version:HS,homepage:BS,private:!0,type:jS,scripts:VS,dependencies:kS,devDependencies:GS,engines:YS,packageManager:qS,pnpm:XS,browserslist:ZS},O={owner:"thedannywahl",repo:"instructure-security-package",branch:"main",url:QS.homepage.replace("/#/",""),gh:"https://github.com",api:"https://api.github.com",raw:"https://raw.githubusercontent.com"},La=`${O.raw}/${O.owner}/${O.repo}/${O.branch}/README`,KS=["Instructure","Canvas","Mastery","Elevate","Impact","LearnPlatform","Intelligent Insights","Parchment"],w9=[...KS,"Canvas LMS","Canvas Mobile","Canvas Studio","Canvas Credentials","Canvas Catalog","Canvas Commons","Canvas Data","Mastery Connect","Mastery Item Bank","Mastery View Assessments","Elevate Data Quality","Elevate Data Sync","Learn Platform"],PS=[{brandName:"Instructure",get title(){return this.brandName.toLowerCase()},route:"/",readme:`${La}.md`,color:"#287A9F",Icon:Dn},{brandName:"Canvas",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#E72429",Icon:Zl},{brandName:"Mastery",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#24A159",Icon:Pl},{brandName:"Elevate",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0097D3",Icon:Ql},{brandName:"Impact",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#F76400",Icon:Kl},{brandName:"LearnPlatform",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0077CC",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 0 300 300",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("path",{d:"M191.431 212.736H205.086C204.961 212.34 204.846 211.974 204.738 211.63C204.404 210.567 204.135 209.713 203.834 208.81C199.852 198.417 195.964 187.986 192.171 177.517C181.493 149.012 170.872 120.497 160.309 91.9733C159.911 90.214 158.223 89.0597 156.44 89.3276C151.091 89.4698 145.743 89.5267 140.423 89.3276C138.432 89 136.546 90.3293 136.184 92.3147C121.657 131.422 107.129 170.519 92.6017 209.607C92.414 210.136 92.2467 210.686 92.0507 211.329C91.9201 211.759 91.7767 212.23 91.606 212.765C93.7973 212.765 95.9464 212.748 98.0664 212.732C102.222 212.701 106.265 212.67 110.297 212.765C112.402 212.935 113.17 211.94 113.824 210.091C115.474 205.226 117.167 200.375 118.859 195.525C120.552 190.675 122.245 185.824 123.895 180.959C124.199 179.276 125.788 178.141 127.479 178.399H168.729C170.418 178.138 172.011 179.255 172.342 180.931C173.799 185.14 175.307 189.334 176.814 193.524C178.251 197.519 179.687 201.511 181.076 205.51C182.365 209.107 183.012 210.914 184.295 211.821C185.589 212.736 187.531 212.736 191.431 212.736ZM148.417 109.213C154.145 126.092 159.977 143.351 165.913 160.989H131.121L148.417 109.213Z"}),Ze.jsx("path",{d:"M225 110.209V114.191H207.931V133.707H203.522V114.191H186.453V110.209H203.522V90.8069H207.732V110.209H225Z"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"}),Ze.jsx("path",{d:"M219.488 246.567C178.123 277.109 121.739 277.405 80.0539 247.301L86.1316 238.9C47.7742 211.418 31.5805 162.32 46.069 117.435L55.9454 119.307C69.5589 79.1029 107.372 52.0989 149.847 52.2484V13C90.0696 13.0663 37.1326 51.5854 18.7192 108.414C0.305744 165.242 20.6036 227.455 68.998 262.519C117.392 297.583 182.877 297.523 231.207 262.37C279.537 227.218 299.72 164.967 281.203 108.173L272.111 111.134C289.714 164.146 271.022 222.449 225.87 255.373"})]})},{brandName:"Intelligent Insights",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title.replace(/ /g,"-")}`},get readme(){return`${La}-${this.brandName.replace(/ /g,"-")}.md`},color:"#287A9F",Icon:Dn},{brandName:"Parchment",get title(){return this.brandName.toLowerCase()},get route(){return`/${this.title}`},get readme(){return`${La}-${this.brandName}.md`},color:"#0093b2",Icon:()=>Ze.jsxs(Fe,{viewBox:"0 -3 29 31.68",size:"small",color:"primary-inverse",height:"2.5rem",width:"2.5rem",children:[Ze.jsx("polygon",{points:"26.87 21.98 2.44 21.98 2.44 2.44 19.54 2.44 19.54 0 0 0 0 24.43 29.31 24.43 29.31 9.77 26.87 9.77"}),Ze.jsx("rect",{x:"26.87",y:"4.89",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"21.98",width:"2.44",height:"2.44"}),Ze.jsx("rect",{x:"26.87",width:"2.44",height:"2.44"}),Ze.jsxs("g",{children:[Ze.jsx("path",{d:"M9.38,13.2c-.5,0-.62.37-.62.71v1.53c0,.4.23.69.66.69.36,0,.55-.21.55-.69v-1.53c0-.42-.13-.71-.58-.71Z"}),Ze.jsx("path",{d:"M9.15,11.01c-2.36,0-4.27,1.91-4.27,4.27s1.91,4.27,4.27,4.27,4.27-1.91,4.27-4.27-1.91-4.27-4.27-4.27ZM10.86,15.4c0,.81-.54,1.44-1.27,1.44-.31,0-.84-.14-.84-.38v1.87c0,.14-.18.23-.3.23h-.3c-.13,0-.31-.08-.31-.23v-5.53c0-.14.18-.28.31-.28h.31c.13,0,.29.13.29.28v.05c0-.18.44-.36.8-.36.8,0,1.31.5,1.31,1.48v1.43Z"})]})]})}],JS=`${O.raw}/${O.owner}/${O.repo}`,Fn=`${JS}/${O.branch}`,WS=[{title:"CAIQ",from:"/aws/caiq/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CAIQ.pdf`},{title:"Cyber Essentials+ Certificate",from:"/aws/ce/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20Cyber%20Essentials%20Plus%20Certificate.pdf`},{title:"CSA Star Level 2 Certificate",from:"/aws/csa/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20CSA%20Star%20Certification.pdf`},{title:"ISO 27001 Certificate",from:"/aws/iso/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%2027001%20Certificate.pdf`},{title:"ISO 9001 Certificate",from:"/aws/iso9001/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20ISO%209001%20Certificate.pdf`},{title:"SOC 3 Report",from:"/aws/soc/dl",to:`${Fn}/Amazon%20Web%20Services/AWS%20SOC%203.pdf`}],FS=WS.map(e=>({...e,lang:"EN"})),IS={brand:"AWS",links:FS},$p="canvas-catalog",e7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,t7=`${O.raw}/${O.owner}/${O.repo}`,In=`${t7}/${$p}`,a7=[{title:"Compliance Package",from:"/canvas/catalog/dl",to:`${e7}/${$p}.zip`},{title:"PCI AOC SAQ",from:"/canvas/catalog/aoc/dl",to:`${In}/Canvas%20Catalog/2024_Instructure_PCI_DSS_Summary.pdf`},{title:"Architecture Paper",from:"/canvas/catalog/architecture/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20Architecture.pdf`},{title:"HECVAT Lite",from:"/canvas/catalog/hecvat/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20HECVAT%20Lite.xlsx`},{title:"PCI Shared Responsibility Matrix",from:"/canvas/catalog/pci/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20PCI%20Responsibility%20Matrix.pdf`},{title:"TX-RAMP Certification",from:"/canvas/catalog/tx-ramp/dl",to:`${In}/Canvas%20Catalog/Canvas%20Catalog%20TX-RAMP%20Provisional%20Certificate.pdf`},{title:"Payment Redirector",from:"/canvas/catalog/payments/dl",to:`${In}/Canvas%20Catalog/Catalog%20Payment%20Redirector.png`},{title:"Home (HE)",from:"/canvas/catalog",to:"https://www.instructure.com/higher-education/products/canvas/canvas-catalog/"},{title:"Home (K12)",from:"/canvas/catalog/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-catalog/"},{title:"Guides",from:"/canvas/catalog/guides",to:"https://community.canvaslms.com/t5/Canvas-Catalog/ct-p/canvas_catalog"},{title:"Release Notes",from:"/canvas/catalog/releases",to:"https://community.canvaslms.com/t5/Catalog-Releases/ct-p/catalog_releases"},{title:"API",from:"/canvas/catalog/api",to:"https://api.catalog.instructure.com/api/docs"}],n7=a7.map(e=>({...e,lang:"EN"})),l7={brand:"Canvas Catalog",links:n7},i7=[{title:"Home",from:"/canvas/commons",to:"https://lor.instructure.com/"},{title:"Guides",from:"/canvas/commons/guides",to:"https://community.canvaslms.com/t5/Canvas-Commons/tkb-p/commons"},{title:"API",from:"/canvas/commons/api",to:"https://lor.instructure.com/docs/api/"}],r7=i7.map(e=>({...e,lang:"EN"})),u7={brand:"Canvas Commons",links:r7},zp="canvas-credentials",c7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,o7=`${O.raw}/${O.owner}/${O.repo}`,Kr=`${o7}/${zp}`,s7=[{title:"Compliance Package",from:"/canvas/credentials/dl",to:`${c7}/${zp}.zip`},{title:"VPAT",from:"/canvas/credentials/vpat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Architecture Paper",from:"/canvas/credentials/architecture/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/credentials/hecvat/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Certification",from:"/canvas/credentials/tx-ramp/dl",to:`${Kr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/credentials",to:"https://www.instructure.com/higher-education/products/canvas/canvas-credentials-digital-badges/"},{title:"Home (K12)",from:"/canvas/credentials/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-credentials-digital-badges/"},{title:"Guides",from:"/canvas/credentials/guides",to:"https://community.canvaslms.com/t5/Canvas-Credentials-Badges-Badgr/ct-p/canvas-credentials-badges"},{title:"Release Notes",from:"/canvas/credentials/releases",to:"https://community.canvaslms.com/t5/Badges-Credentials-Releases/tkb-p/badges-release"},{title:"API",from:"/canvas/credentials/api",to:"https://api.badgr.io/docs/v2/"}],f7=s7.map(e=>({...e,lang:"EN"})),Np="canvas-credentials-ES_LA",d7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,h7=`${O.raw}/${O.owner}/${O.repo}`,Pr=`${h7}/${Np}`,m7=[{title:"Compliance Package",from:"/es-la/canvas/credentials/dl",to:`${d7}/${Np}.zip`},{title:"VPAT",from:"/es-la/canvas/credentials/vpat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/es-la/canvas/credentials/arquitectura/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/credentials/hecvat/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/credentials/tx-ramp/dl",to:`${Pr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],v7=m7.map(e=>({...e,lang:"ES_LA"})),Lp="canvas-credentials-PT_BR",p7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,g7=`${O.raw}/${O.owner}/${O.repo}`,Jr=`${g7}/${Lp}`,y7=[{title:"Compliance Package",from:"/pt-br/canvas/credentials/dl",to:`${p7}/${Lp}.zip`},{title:"VPAT",from:"/pt-br/canvas/credentials/vpat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20(formerly%20Badgr)%20VPAT.pdf`},{title:"Papel de Arquitectura",from:"/pt-br/canvas/credentials/arquitectura/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/credentials/hecvat/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 de TX-RAMP",from:"/pt-br/canvas/credentials/tx-ramp/dl",to:`${Jr}/Canvas%20Credentials/Canvas%20Credentials%20TX-RAMP%20Level%202%20Certification.pdf`}],b7=y7.map(e=>({...e,lang:"PT_BR"})),S7={brand:"Canvas Credentials",links:[...f7,...v7,...b7]},E7=[{title:"Guides",from:"/canvas/data/guides",to:"https://community.canvaslms.com/t5/Canvas-Data-Users/gh-p/data"},{title:"API",from:"/canvas/data/api",to:"https://portal.inshosteddata.com/docs"}],R7=E7.map(e=>({...e,lang:"EN"})),C7={brand:"Canvas Data",links:R7},A7=[{title:"Startseite",from:"/de/canvas/lms",to:"https://www.instructure.com/de/hochschule/produkt/canvas/canvas-lms/"},{title:"Handbücher",from:"/de/canvas/handbuch",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],T7=A7.map(e=>({...e,lang:"DE"})),Up="canvas-lms",_7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,w7=`${O.raw}/${O.owner}/${O.repo}`,hi=`${w7}/${Up}`,O7=[{title:"Compliance Package",from:"/canvas/lms/dl",to:`${_7}/${Up}.zip`},{title:"Architecture Paper",from:"/canvas/lms/architecture/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/lms/hecvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/canvas/lms/k12cvat/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20K12CVAT%20Full.xlsx`},{title:"SOC 3 Report",from:"/canvas/lms/soc/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"TX-RAMP Level 2 Certificate",from:"/canvas/lms/txramp/dl",to:`${hi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/canvas/lms",to:"https://www.instructure.com/higher-education/products/canvas/canvas-lms/"},{title:"Home (K12)",from:"/canvas/lms/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-lms/"},{title:"VPAT",from:"/canvas/lms/vpat",to:"https://www.instructure.com/products/canvas/accessibility/"},{title:"Guides",from:"/canvas/lms/guides",to:"https://community.canvaslms.com/t5/Canvas-Guides/ct-p/canvas_guides/"},{title:"Release Notes",from:"/canvas/lms/releases",to:"https://community.canvaslms.com/t5/Canvas-Releases/tkb-p/canvas-release"},{title:"API",from:"/canvas/lms/api",to:"https://canvas.instructure.com/doc/api/index.html"}],M7=O7.map(e=>({...e,lang:"EN"})),Hp="canvas-lms-ES_LA",x7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,D7=`${O.raw}/${O.owner}/${O.repo}`,mi=`${D7}/${Hp}`,$7=[{title:"Compliance Package",from:"/es-la/canvas/lms/dl",to:`${x7}/${Hp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/canvas/lms/arquitectura/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/canvas/lms/hecvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/es-la/canvas/lms/k12cvat/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Informe SOC 3",from:"/es-la/canvas/lms/soc/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/canvas/lms/txramp/dl",to:`${mi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página de inicio (HE)",from:"/es-la/canvas/lms",to:"https://www.instructure.com/es/canvas/educacion-superior/"},{title:"Página de inicio (K12)",from:"/es-la/canvas/lms/basica",to:"https://www.instructure.com/es/educacion-basica/"},{title:"Guías",from:"/es-la/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de implementación",from:"/es-la/canvas/lms/publicacion",to:"https://community.canvaslms.com/t5/Espa%C3%B1ol/tkb-p/canvas-release-espanol"}],z7=$7.map(e=>({...e,lang:"ES_LA"})),Bp="canvas-lms-PT_BR",N7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,L7=`${O.raw}/${O.owner}/${O.repo}`,vi=`${L7}/${Bp}`,U7=[{title:"Compliance Package",from:"/pt-br/canvas/lms/dl",to:`${N7}/${Bp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/canvas/lms/arquitetura/dl",to:`${vi}/Canvas%20LMS/Canvas%20LMS%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/canvas/lms/hecvat/dl",to:`${vi}/Canvas%20LMS/Canvas%20LMS%20HECVAT%20Full.xlsx`},{title:"K12CVAT",from:"/pt-br/canvas/lms/k12cvat/dl",to:`${vi}/Canvas%20LMS/Canvas%20LMS%20K-12CVAT-Lite.xlsx`},{title:"Relatório SOC 3",from:"/pt-br/canvas/lms/soc/dl",to:`${vi}/Canvas%20LMS/Canvas%20LMS%20SOC%203.pdf`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/canvas/lms/txramp/dl",to:`${vi}/Canvas%20LMS/Canvas%20LMS%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Página inicial (HE)",from:"/canvas/lms/pt",to:"https://www.instructure.com/pt-br/canvas/ensino-superior/"},{title:"Página inicial (K12)",from:"/canvas/lms/pt/basica",to:"https://www.instructure.com/pt-br/ensino-fundamental-e-medio/"},{title:"Guias",from:"/pt-br/canvas/guias",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"},{title:"Notas de lançamento (Canvas LMS)",from:"/canvas/lms/lancamentos",to:"https://community.canvaslms.com/t5/Portugues/tkb-p/canvas-release-portugues"}],H7=U7.map(e=>({...e,lang:"PT_BR"})),B7={brand:"Canvas LMS",links:[...M7,...z7,...H7,...T7]},j7=[{title:"Mobile Apps (Android)",from:"/canvas/mobile/android",to:"https://play.google.com/store/apps/developer?id=Instructure"},{title:"Mobile Apps (iOS)",from:"/canvas/mobile/ios",to:"https://apps.apple.com/us/developer/instructure-inc/id418441198"},{title:"Release Notes",from:"/canvas/mobile/releases",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Releases/tkb-p/CanvasMobileReleases"},{title:"Guides",from:"/canvas/mobile/guides",to:"https://community.canvaslms.com/t5/Canvas-Mobile-Users/gh-p/mobile"}],V7=j7.map(e=>({...e,lang:"EN"})),k7={brand:"Canvas Mobile",links:V7},jp="canvas-studio",G7=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,Y7=`${O.raw}/${O.owner}/${O.repo}`,zh=`${Y7}/${jp}`,q7=[{title:"Compliance Package",from:"/canvas/studio/dl",to:`${G7}/${jp}.zip`},{title:"Architecture Paper",from:"/canvas/studio/architecture/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20Architecture.pdf`},{title:"HECVAT",from:"/canvas/studio/hecvat/dl",to:`${zh}/Canvas%20Studio/Canvas%20Studio%20HECVAT%20Lite.xlsx`},{title:"Home (HE)",from:"/canvas/studio",to:"https://www.instructure.com/higher-education/products/canvas/canvas-studio/"},{title:"Home (K12)",from:"/canvas/studio/k12",to:"https://www.instructure.com/k12/products/canvas/canvas-studio/"},{title:"VPAT",from:"/canvas/studio/vpat",to:"https://www.instructure.com/accessibility/canvas/canvas-studio-vpat/"},{title:"Guides",from:"/canvas/studio/guides",to:"https://community.canvaslms.com/t5/Canvas-Studio/ct-p/studio_guides"},{title:"Release Notes",from:"/canvas/studio/releases",to:"https://community.canvaslms.com/t5/Studio-Releases/ct-p/studio_releases"},{title:"API",from:"/canvas/studio/api",to:"https://canvas.instructuremedia.com/api/public/docs/#/"}],X7=q7.map(e=>({...e,lang:"EN"})),Z7={brand:"Canvas Studio",links:X7},Q7=[{title:"Gemeinschaft",from:"/de/canvas/gemeinschaft",to:"https://community.canvaslms.com/t5/Ressourcen-auf-Deutsch-German/ct-p/german_resources"}],K7=Q7.map(e=>({...e,lang:"DE"})),P7="canvas-lms",J7=`${O.raw}/${O.owner}/${O.repo}`,W7=`${J7}/${P7}`,F7=[{title:"Security Audit Report",from:"/canvas/audit/dl",to:`${W7}/Canvas%20LMS/Canvas%20Security%20Audit%20Report.pdf`},{title:"Try Canvas (FFT)",from:"/canvas/try",to:"https://www.instructure.com/try-canvas"},{title:"Community",from:"/canvas/community",to:"https://community.canvaslms.com/t5/Canvas/ct-p/canvas"},{title:"Roadmap",from:"/canvas/roadmap",to:"https://community.canvaslms.com/t5/Canvas-Product-Roadmap/ct-p/canvas-product-roadmap"},{title:"Ideas",from:"/canvas/ideas",to:"https://community.canvaslms.com/t5/Canvas-Ideas-and-Themes/ct-p/canvas-ideas-themes?tab=identified"}],I7=F7.map(e=>({...e,lang:"EN"})),e6=[{title:"Communidad",from:"/es-la/canvas/lms/communidad",to:"https://community.canvaslms.com/t5/Recursos-en-Espa%C3%B1ol-Spanish/ct-p/espanol_resources"}],t6=e6.map(e=>({...e,lang:"ES_LA"})),a6=[{title:"Comunidade",from:"/pt-br/canvas/comunidade",to:"https://community.canvaslms.com/t5/Recursos-em-Portugu%C3%AAs-Portuguese/ct-p/portuguese_resources"}],n6=a6.map(e=>({...e,lang:"PT_BR"})),l6={brand:"Canvas",links:[...I7,...t6,...n6,...K7]},i6=[{title:"Home",from:"/elevate/dataquality",to:"https://www.instructure.com/k12/products/elevate/elevate-data-quality/"},{title:"Guides",from:"/elevate/dataquality/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Quality/ct-p/certify"}],r6=i6.map(e=>({...e,lang:"EN"})),u6={brand:"Elevate Data Quality",links:r6},c6=[{title:"Guides",from:"/elevate/datasync/guides",to:"https://community.canvaslms.com/t5/Elevate-Data-Sync/ct-p/elevate_data_sync"}],o6=c6.map(e=>({...e,lang:"EN"})),s6={brand:"Elevate Data Sync",links:o6},Vp="elevate-standards-alignment",f6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,d6=`${O.raw}/${O.owner}/${O.repo}`,h6=`${d6}/${Vp}`,m6=[{title:"Compliance Package",from:"/elevate/standards-alignment/dl",to:`${f6}/${Vp}.zip`},{title:"HECVAT Lite",from:"/elevate/standards-alignment/hecvat/dl",to:`${h6}/Elevate%20Standards%20Alignment/Elevate%20Standards%20Alignment%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/elevate/standards-alignment",to:"https://www.instructure.com/corporate-education/products/elevate/elevate-standards-alignment"},{title:"Release Notes",from:"/elevate/standards-alignment/releases",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/esa_releases"},{title:"Guides",from:"/elevate/standards-alignment/guides",to:"https://community.canvaslms.com/t5/Elevate-Standards-Alignment/tkb-p/ab_basics"}],v6=m6.map(e=>({...e,lang:"EN"})),p6={brand:"Elevate Standards Alignment",links:v6},g6=[{title:"Community",from:"/elevate/community",to:"https://community.canvaslms.com/t5/Elevate/ct-p/elevate"},{title:"Roadmap",from:"/elevate/roadmap",to:"https://community.canvaslms.com/t5/Elevate-Product-Roadmap/ct-p/elevate-product-roadmap"}],y6=g6.map(e=>({...e,lang:"EN"})),b6={brand:"Elevate",links:y6},kp="impact",S6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,E6=`${O.raw}/${O.owner}/${O.repo}`,Do=`${E6}/${kp}`,R6=[{title:"Compliance Package",from:"/impact/dl",to:`${S6}/${kp}.zip`},{title:"Architecture Paper",from:"/impact/architecture/dl",to:`${Do}/Impact/Impact%20Architecture.pdf`},{title:"HECVAT",from:"/impact/hecvat/dl",to:`${Do}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"TX-RAMP Level 2 Certification",from:"/impact/tx-ramp/dl",to:`${Do}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`},{title:"Home (HE)",from:"/impact/he",to:"https://www.instructure.com/higher-education/products/impact/"},{title:"Home (K12)",from:"/impact/k12",to:"https://www.instructure.com/k12/products/impact/"},{title:"Community",from:"/impact/community",to:"https://community.canvaslms.com/t5/Impact/ct-p/impact"},{title:"Guides",from:"/impact/guides",to:"https://community.canvaslms.com/t5/Impact-Guides/tkb-p/impact_guides"},{title:"Release Notes",from:"/impact/releases",to:"https://community.canvaslms.com/t5/Impact-Releases/ct-p/impact_releases"}],C6=R6.map(e=>({...e,lang:"EN"})),Gp="impact-ES_LA",A6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,T6=`${O.raw}/${O.owner}/${O.repo}`,$o=`${T6}/${Gp}`,_6=[{title:"Compliance Package",from:"/es-la/impact/dl",to:`${A6}/${Gp}.zip`},{title:"Papel de Arquitectura",from:"/es-la/impact/arquitectura/dl",to:`${$o}/Impact/Impact%20Architecture_ES.pdf`},{title:"HECVAT",from:"/es-la/impact/hecvat/dl",to:`${$o}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nivel 2 de TX-RAMP",from:"/es-la/impact/tx-ramp/dl",to:`${$o}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],w6=_6.map(e=>({...e,lang:"ES_LA"})),Yp="impact-PT_BR",O6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,M6=`${O.raw}/${O.owner}/${O.repo}`,zo=`${M6}/${Yp}`,x6=[{title:"Compliance Package",from:"/pt-br/impact/dl",to:`${O6}/${Yp}.zip`},{title:"Papel de Arquitetura",from:"/pt-br/impact/arquitetura/dl",to:`${zo}/Impact/Impact%20Architecture_PT.pdf`},{title:"HECVAT",from:"/pt-br/impact/hecvat/dl",to:`${zo}/Impact/Impact%20by%20Instructure%20HECVAT%20Full.xlsx`},{title:"Certificado de Nível 2 do TX-RAMP",from:"/pt-br/impact/tx-ramp/dl",to:`${zo}/Impact/Impact%20TX-RAMP%20Level%202%20Certification.pdf`}],D6=x6.map(e=>({...e,lang:"PT_BR"})),$6={brand:"Impact",links:[...C6,...w6,...D6]},z6=[{title:"Startseite",from:"/de/home",to:"https://www.instructure.com/de"},{title:"Kontakt",from:"/de/kontakt",to:"https://www.instructure.com/de/contact-us"}],N6=z6.map(e=>({...e,lang:"DE"})),L6=`${O.raw}/${O.owner}/${O.repo}`,Pt=`${L6}/${O.branch}`,U6=[{title:"Security White Paper",from:"/security/dl",to:`${Pt}/Instructure/Instructure%20Security%20Overview.pdf`},{title:"Business Continuity White Paper",from:"/bc/dl",to:`${Pt}/Instructure/Instructure%20Business%20Continuity%20%26%20Disaster%20Recovery.pdf`},{title:"CAIQ",from:"/caiq/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"CSA Star Certificate",from:"/csa/dl",to:`${Pt}/Instructure/Instructure%20CSA%20STAR%20Certificate.pdf`},{title:"Cyber Essentials+ Certificate",from:"/ce/dl",to:`${Pt}/Instructure/Instructure%20Cyber%20Essentials%20Plus.pdf`},{title:"Environmental, Social, and Governance Report",from:"/esg/dl",to:`${Pt}/Instructure/Instructure%20ESG%20Report%20FY2023.pdf`},{title:"Instructure, Inc. Certificate of Insurance",from:"/coi/dl",to:`${Pt}/Instructure/Instructure%20Inc%20COI.pdf`},{title:"Instructure Global Certificate of Insurance",from:"/coi-global/dl",to:`${Pt}/Instructure/Instructure%20Global%20COI.pdf`},{title:"ISO 27001 Certificate",from:"/iso/dl",to:`${Pt}/Instructure/Instructure%20ISO%2027001%20Compliance%20Certificate.pdf`},{title:"Quality Assurance Program",from:"/qa/dl",to:`${Pt}/Instructure/Instructure%20Quality%20Assurance%20Program.pdf`},{title:"Home",from:"/home",to:"https://www.instructure.com/"},{title:"Roadmap",from:"/roadmap",to:"https://community.canvaslms.com/t5/Instructure-Roadmap/ct-p/instructure-roadmap/"},{title:"Accessibility",from:"/a11y",to:"https://www.instructure.com/accessibility/"},{title:"Contact",from:"/contact",to:"https://www.instructure.com/contact-us/"},{title:"Privacy",from:"/privacy",to:"https://www.instructure.com/canvas/privacy/"},{title:"Security",from:"/security",to:"https://www.instructure.com/products/canvas/security/"},{title:"Trust Center",from:"/trust",to:"https://www.instructure.com/trust-center/"},{title:"Community",from:"/community",to:"https://community.canvaslms.com/"},{title:"Terms & Conditions",from:"/tos",to:"https://www.instructure.com/policies/master-terms-conditions/"},{title:"Global Terms & Conditions",from:"/tos/global",to:"https://www.instructure.com/policies/global/master-terms-and-conditions/"},{title:"Acceptable Use Policy",from:"/aup",to:"https://www.instructure.com/policies/acceptable-use/"},{title:"Data Privacy Addendum",from:"/dpa",to:"https://www.instructure.com/policies/data-processing/"},{title:"Investor Relations",from:"/investors",to:"https://ir.instructure.com/overview/default.aspx"},{title:"Status",from:"/status",to:"https://status.instructure.com/"},{title:"CSA Star Registration",from:"/csa",to:"https://cloudsecurityalliance.org/star/registry/instructure/"},{title:"1EdTech Registrations",from:"/1edtech",to:"https://site.imsglobal.org/certifications?query=instructure"},{title:"Our Story",from:"/story",to:"https://www.instructure.com/about/our-story"},{title:"Study Hall",from:"/resources",to:"https://www.instructure.com/resources/"},{title:"EduAppCenter",from:"/apps",to:"https://www.eduappcenter.com/"},{title:"ESG Report (online)",from:"/esg",to:"https://instructure.com/esg-report"}],H6=U6.map(e=>({...e,lang:"EN"})),B6=[{title:"Página de inicio",from:"/es-la/home",to:"https://www.instructure.com/es/"},{title:"Contáctenos",from:"/es-la/contactenos",to:"https://www.instructure.com/es/contactenos/"},{title:"Privacidad",from:"/es-la/privicidad",to:"https://www.instructure.com/es/canvas/privacidad/"},{title:"Seguridad",from:"/es-la/seguridad",to:"https://www.instructure.com/es/canvas/seguridad/"},{title:"Nuestra Historia",from:"/es-la/historia",to:"https://www.instructure.com/es/sobre/nuestra-historia"}],j6=B6.map(e=>({...e,lang:"ES_LA"})),V6=[{title:"Pagina inicial",from:"/pt-br/home",to:"https://www.instructure.com/pt-br/"},{title:"Contato",from:"/pt-br/contato",to:"https://www.instructure.com/pt-br/contato/"},{title:"Privacidade",from:"/pt-br/privacidade",to:"https://www.instructure.com/pt-br/canvas/privacidade/"},{title:"Segurança",from:"/pt-br/seguranca",to:"https://www.instructure.com/pt-br/canvas/seguranca/"},{title:"Nossa História",from:"/pt-br/historia",to:"https://www.instructure.com/pt-br/sobre/nossa-historia"}],k6=V6.map(e=>({...e,lang:"PT_BR"})),G6={brand:"Instructure",links:[...H6,...j6,...k6,...N6]},qp="intelligent-insights",Y6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,q6=`${O.raw}/${O.owner}/${O.repo}`,No=`${q6}/${qp}`,X6=[{title:"Compliance Package",from:"/intelligent-insights/dl",to:`${Y6}/${qp}.zip`},{title:"Architecture Paper",from:"/intelligent-insights/architecture/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Architecture%20Overview.pdf`},{title:"HECVAT",from:"/intelligent-insights/hecvat/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20HECVAT%20Lite.xlsx`},{title:"Data Sheet",from:"/intelligent-insights/data/dl",to:`${No}/Intelligent%20Insights/Intelligent%20Insights%20Data%20Sheet.pdf`},{title:"Home",from:"/intelligent-insights/home",to:"https://www.instructure.com/products/intelligent-insights"},{title:"Community",from:"/intelligent-insights/community",to:"https://community.canvaslms.com/t5/Intelligent-Insights/ct-p/intelligent_insights"},{title:"Guides",from:"/intelligent-insights/guides",to:"https://community.canvaslms.com/t5/Intelligent-Insights-Guides/tkb-p/intelligent_insights_guides"},{title:"Release Notes",from:"/intelligent-insights/releases",to:"https://community.canvaslms.com/t5/Intelligent-Insight-Release/tkb-p/intelligent_insights_releases"}],Z6=X6.map(e=>({...e,lang:"EN"})),Q6={brand:"Intelligent Insights",links:Z6},Xp="learnplatform",K6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,P6=`${O.raw}/${O.owner}/${O.repo}`,Lo=`${P6}/${Xp}`,J6=[{title:"Compliance Package",from:"/learnplatform/dl",to:`${K6}/${Xp}.zip`},{title:"EdTech Top 40 Report",from:"/learnplatform/top40/dl",to:`${Lo}/LearnPlatform/EdTech%20Top%2040.pdf`},{title:"Architecture Paper",from:"/learnplatform/architecture/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20Architecture%20Overview.pdf`},{title:"HECVAT Lite",from:"/learnplatform/hecvat/dl",to:`${Lo}/LearnPlatform/LearnPlatform%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/learnplatform",to:"https://www.instructure.com/k12/products/learnplatform/"},{title:"Terms of Service",from:"/learnplatform/tos",to:"https://www.instructure.com/policies/learnplatform-terms-of-service/"},{title:"Privacy",from:"/learnplatform/privacy",to:"https://www.instructure.com/policies/privacy-learnplatform/"},{title:"Data Processing Agreement",from:"/learnplatform/dpa",to:"https://www.instructure.com/policies/learnplatform-data-processing-agreement/"},{title:"Statement of Neutrality",from:"/learnplatform/neutrality",to:"https://www.instructure.com/policies/learnplatform-neutrality/"}],W6=J6.map(e=>({...e,lang:"EN"})),F6={brand:"Learnplatform",links:W6},Zp="mastery-connect",I6=`${O.gh}/${O.owner}/${O.repo}/archive/refs/heads`,e9=`${O.raw}/${O.owner}/${O.repo}`,Nh=`${e9}/${Zp}`,t9=[{title:"Compliance Package",from:"/mastery/connect/dl",to:`${I6}/${Zp}.zip`},{title:"Architecture Paper",from:"/mastery/connect/architecture/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20Architecture.pdf`},{title:"HECVAT Lite",from:"/mastery/connect/hecvat/dl",to:`${Nh}/Mastery%20Connect/Mastery%20Connect%20HECVAT%20Lite.xlsx`},{title:"Home",from:"/mastery/connect",to:"https://www.instructure.com/k12/products/mastery/mastery-connect"},{title:"Guides",from:"/mastery/connect/guides",to:"https://community.canvaslms.com/t5/Mastery-Connect/ct-p/masteryconnect"},{title:"Release Notes",from:"/mastery/connect/releases",to:"https://community.canvaslms.com/t5/Mastery-Connect-Releases/tkb-p/masteryconnect"},{title:"API",from:"/mastery/connect/api",to:"https://docs.google.com/document/d/19TxyeRzF6nyJDY6ej2dZozbE87JdUygw"},{title:"Mobile App (Android)",from:"/mastery/connect/android",to:"https://play.google.com/store/apps/dev?id=8869528477632015729&hl=EN&gl=US"},{title:"Mobile App (iOS)",from:"/canvas/lms/ios",to:"https://apps.apple.com/us/developer/masteryconnect/id413937396"}],a9=t9.map(e=>({...e,lang:"EN"})),n9={brand:"Mastery Connect",links:a9},l9=[{title:"Home",from:"/mastery/itembank",to:"https://www.instructure.com/k12/products/mastery/mastery-item-bank/"},{title:"Guides",from:"/mastery/itembank/guides",to:"https://community.canvaslms.com/t5/Mastery-Item-Bank/ct-p/mastery-item-bank/"}],i9=l9.map(e=>({...e,lang:"EN"})),r9={brand:"Mastery Item Bank",links:i9},u9=[{title:"Formatives Home",from:"/mastery/view/formative",to:"https://www.instructure.com/k12/products/mastery/mastery-view-formative-assessments/"},{title:"Predictives Home",from:"/mastery/view/predictive",to:"https://www.instructure.com/k12/products/mastery/mastery-view-predictive-assessments/"}],c9=u9.map(e=>({...e,lang:"EN"})),o9={brand:"Mastery View Assessments",links:c9},s9=[{title:"Community",from:"/mastery/community",to:"https://community.canvaslms.com/t5/Mastery/ct-p/mastery"},{title:"Roadmap",from:"/mastery/roadmap",to:"https://community.canvaslms.com/t5/Mastery-Product-Roadmap/ct-p/mastery-product-roadmap"}],f9=s9.map(e=>({...e,lang:"EN"})),d9={brand:"Mastery",links:f9},h9=[],m9=h9.map(e=>({...e,lang:"EN"})),v9={brand:"Parchment",links:m9},p9=[IS,G6,l6,B7,k7,Z7,l7,u7,C7,S7,d9,n9,r9,o9,$6,b6,p6,u6,s6,F6,Q6,v9],Vn=[];for(const e of PS)Vn.push({path:`${e.route}`,lazy:()=>Ut(()=>import("./markdownBrand-2KNU9Bj1.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName}),children:[{path:":language",lazy:()=>Ut(()=>import("./markdownBrand-2KNU9Bj1.js"),__vite__mapDeps([0,1,2,3])),loader:()=>({readme:e.readme,brand:e.brandName})}]});for(const e of p9)for(const t of e.links)Vn.push({path:t.from,lazy:()=>Ut(()=>import("./redirectTo-AaFZn7xu.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to}),children:[{path:":language",lazy:()=>Ut(()=>import("./redirectTo-AaFZn7xu.js"),__vite__mapDeps([4,1,5])),loader:()=>({path:t.from,brand:e.brand,url:t.to})}]});Vn.push({path:"/links",lazy:()=>Ut(()=>import("./links-B5asv8NG.js"),__vite__mapDeps([6,1,7,3,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./links-B5asv8NG.js"),__vite__mapDeps([6,1,7,3,8]))}]});Vn.push({path:"/mdui",lazy:()=>Ut(()=>import("./mdui-gpddUef8.js"),__vite__mapDeps([9,1,2,3,10,8])),children:[{path:":language",lazy:()=>Ut(()=>import("./mdui-gpddUef8.js"),__vite__mapDeps([9,1,2,3,10,8]))}]});Vn.push({path:"/releases",lazy:()=>Ut(()=>import("./releases-C1rwQ8gf.js"),__vite__mapDeps([11,1,2,3,12])),children:[{path:":language",lazy:()=>Ut(()=>import("./releases-C1rwQ8gf.js"),__vite__mapDeps([11,1,2,3,12]))}]});Vn.push({path:"*",lazy:()=>Ut(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([13,1,5])),children:[{path:":language",lazy:()=>Ut(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([13,1,5]))}]});const g9=w4(Vn),Qp=document.getElementById("root");if(!Qp)throw new Error("Root element not found");Dv.createRoot(Qp).render(Ze.jsx(be.StrictMode,{children:Ze.jsx(Op,{theme:id,children:Ze.jsx(CS,{as:"div",minHeight:"100vh",position:"relative",children:Ze.jsx(U4,{router:g9})})})}));export{zs as $,Mc as A,s5 as B,d5 as C,f5 as D,ad as E,Jh as F,e5 as G,A9 as H,Op as I,t5 as J,E5 as K,p9 as L,PS as M,C9 as N,b9 as O,L as P,x5 as Q,be as R,Fe as S,Jn as T,Tp as U,CS as V,ld as W,T9 as X,Qu as Y,di as Z,Ut as _,E9 as a,Dp as a0,id as a1,Zl as a2,Ql as a3,Kl as a4,Dn as a5,Pl as a6,Ys as b,S9 as c,KS as d,w9 as e,Mn as f,O as g,xn as h,hn as i,Ze as j,y9 as k,Ul as l,Xu as m,Rp as n,Ep as o,b5 as p,m5 as q,T as r,C5 as s,Mp as t,R9 as u,u5 as v,rd as w,y4 as x,dc as y,br as z}; diff --git a/assets/index-DrEKPqe2.js b/assets/index-C29H8B_2.js similarity index 99% rename from assets/index-DrEKPqe2.js rename to assets/index-C29H8B_2.js index 842df4a..a5986ab 100644 --- a/assets/index-DrEKPqe2.js +++ b/assets/index-C29H8B_2.js @@ -1,2 +1,2 @@ -import{k as Jt,l as Qt,r as b,R as H,S as F,P as o,w as M,m as Mt,o as L,i as f,h as B,n as We,q as zt,s as ii,f as eo,t as Oi,p as Je,V as G,v as Qe,T as io}from"./index-D4PUjdd4.js";import{C as Re,S as Ce,m as P,s as Ve,h as Et,i as to,j as oo,k as De,l as Bt,n as ie,P as ke,O as ye,o as Hi,p as Mi,q as no,r as so}from"./RenderTopNavBar-CJuzk9-4.js";var di={exports:{}};(function(n,e){(function(i,t){var s="1.0.38",d="",h="?",u="function",m="undefined",g="object",v="string",x="major",r="model",a="name",l="type",p="vendor",c="version",A="architecture",z="console",y="mobile",w="tablet",S="smarttv",k="wearable",D="embedded",Se=500,Oe="Amazon",ne="Apple",He="ASUS",Me="BlackBerry",X="Browser",Ne="Chrome",Zt="Edge",Te="Firefox",qe="Google",xi="Huawei",ti="LG",oi="Microsoft",$i="Motorola",ze="Opera",Ge="Samsung",ki="Sharp",je="Sony",ni="Xiaomi",si="Zebra",Ri="Facebook",Ci="Chromium OS",Ii="Mac OS",Yt=function($,C){var _={};for(var I in $)C[I]&&C[I].length%2===0?_[I]=C[I].concat($[I]):_[I]=$[I];return _},Ue=function($){for(var C={},_=0;_<$.length;_++)C[$[_].toUpperCase()]=$[_];return C},Ai=function($,C){return typeof $===v?Ee(C).indexOf(Ee($))!==-1:!1},Ee=function($){return $.toLowerCase()},Xt=function($){return typeof $===v?$.replace(/[^\d\.]/g,d).split(".")[0]:t},ri=function($,C){if(typeof $===v)return $=$.replace(/^\s\s*/,d),typeof C===m?$:$.substring(0,Se)},Be=function($,C){for(var _=0,I,K,j,R,O,U;_0?R.length===2?typeof R[1]==u?this[R[0]]=R[1].call(this,U):this[R[0]]=R[1]:R.length===3?typeof R[1]===u&&!(R[1].exec&&R[1].test)?this[R[0]]=U?R[1].call(this,U,R[2]):t:this[R[0]]=U?U.replace(R[1],R[2]):t:R.length===4&&(this[R[0]]=U?R[3].call(this,U.replace(R[1],R[2])):t):this[R]=U||t;_+=2}},li=function($,C){for(var _ in C)if(typeof C[_]===g&&C[_].length>0){for(var I=0;I2&&(O[r]="iPad",O[l]=w),O},this.getEngine=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.engine),O},this.getOS=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.os),R&&!O[a]&&K&&K.platform&&K.platform!="Unknown"&&(O[a]=K.platform.replace(/chrome os/i,Ci).replace(/macos/i,Ii)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return I},this.setUA=function(O){return I=typeof O===v&&O.length>Se?ri(O,Se):O,this},this.setUA(I),this};V.VERSION=s,V.BROWSER=Ue([a,c,x]),V.CPU=Ue([A]),V.DEVICE=Ue([r,p,l,z,y,S,w,k,D]),V.ENGINE=V.OS=Ue([a,c]),n.exports&&(e=n.exports=V),e.UAParser=V;var _e=typeof i!==m&&(i.jQuery||i.Zepto);if(_e&&!_e.ua){var Ze=new V;_e.ua=Ze.getResult(),_e.ua.get=function(){return Ze.getUA()},_e.ua.set=function($){Ze.setUA($);var C=Ze.getResult();for(var _ in C)_e.ua[_]=C[_]}}})(typeof window=="object"?window:Jt)})(di,di.exports);var ro=di.exports;const lo=Qt(ro),ao=()=>new lo().getResult().browser,po=()=>ao().name==="Safari";var zi;class Ie extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),zi||(zi=H.createElement("path",{d:"m.153 526.146 92.168-92.299 867.767 867.636 867.636-867.636 92.429 92.299-960.065 959.935z",fillRule:"evenodd"})))}}Ie.glyphName="arrow-open-down";Ie.variant="Line";Ie.displayName="IconArrowOpenDownLine";Ie.propTypes={...F.propTypes};Ie.allowedProps=[...F.allowedProps];var Ei;class Ae extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Ei||(Ei=H.createElement("path",{d:"m.153 1393.854 92.168 92.299 867.767-867.636 867.636 867.636 92.429-92.299L960.088 433.92z",fillRule:"evenodd"})))}}Ae.glyphName="arrow-open-up";Ae.variant="Line";Ae.displayName="IconArrowOpenUpLine";Ae.propTypes={...F.propTypes};Ae.allowedProps=[...F.allowedProps];var Bi;class te extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconCheck",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Bi||(Bi=H.createElement("path",{d:"M1827.701 303.065 698.835 1431.801 92.299 825.266 0 917.564 698.835 1616.4 1919.869 395.234z",fillRule:"evenodd"})))}}te.glyphName="check";te.variant="Line";te.displayName="IconCheckLine";te.propTypes={...F.propTypes};te.allowedProps=[...F.allowedProps];var Di;class Le extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDouble",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Di||(Di=H.createElement("path",{d:"M1319.1 790.054 1020.06 355.79c-33.165-48.165-87.553-47.273-120.104 0L600.92 790.054c-33.166 48.165-12.581 87.21 46.116 87.21h625.944c58.64 0 78.67-39.938 46.12-87.21ZM600.634 1129.94l299.035 434.27c33.167 48.16 87.554 47.27 120.101 0l299.04-434.27c33.17-48.16 12.58-87.21-46.12-87.21H646.75c-58.636 0-78.668 39.94-46.116 87.21Z"})))}}Le.glyphName="mini-arrow-double";Le.variant="Line";Le.displayName="IconMiniArrowDoubleLine";Le.propTypes={...F.propTypes};Le.allowedProps=[...F.allowedProps];var Wi;class Fe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Wi||(Wi=H.createElement("path",{d:"M994.034 1226.26c-18.796 27.296-49.269 27.3-68.067 0L574.893 716.424C556.096 689.128 567.713 667 600.852 667h718.297c33.133 0 44.757 22.125 25.959 49.424L994.034 1226.26Z",fillRule:"evenodd"})))}}Fe.glyphName="mini-arrow-down";Fe.variant="Line";Fe.displayName="IconMiniArrowDownLine";Fe.propTypes={...F.propTypes};Fe.allowedProps=[...F.allowedProps];var Vi;class Pe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Vi||(Vi=H.createElement("path",{d:"M994.034 694.296c-18.796-27.296-49.269-27.3-68.067 0l-351.074 509.836c-18.797 27.296-7.18 49.424 25.959 49.424h718.297c33.133 0 44.757-22.125 25.959-49.424L994.034 694.296Z",fillRule:"evenodd"})))}}Pe.glyphName="mini-arrow-up";Pe.variant="Line";Pe.displayName="IconMiniArrowUpLine";Pe.propTypes={...F.propTypes};Pe.allowedProps=[...F.allowedProps];const co=(n,e)=>{const i=e.vAlign,t=e.textAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.isLastCol,m=e.startAt,g=e.visualDebug,v={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}},x=()=>{const S={small:{paddingLeft:`calc(${n.spacingSmall} / 2)`,paddingRight:`calc(${n.spacingSmall} / 2)`},medium:{paddingLeft:`calc(${n.spacingMedium} / 2)`,paddingRight:`calc(${n.spacingMedium} / 2)`},large:{paddingLeft:`calc(${n.spacingLarge} / 2)`,paddingRight:`calc(${n.spacingLarge} / 2)`},none:{}},k={top:{alignSelf:"flex-start"},middle:{alignSelf:"center"},bottom:{alignSelf:"flex-end"},stretch:{alignSelf:"stretch"}},D={start:{textAlign:"start"},end:{textAlign:"end"},center:{textAlign:"center"},inherit:{textAlign:"inherit"}};return{flexGrow:1,flexShrink:1,flexBasis:"0%",marginBottom:0,boxSizing:"border-box",...d&&S[d],...i&&k[i],...t&&D[t]}},r=()=>{const S=["small","medium","large","x-large",null];return S.slice(S.indexOf(m))},a=S=>r().includes(S),l=S=>{let k=e.width;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},p=S=>{let k=e.offset;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},c=(S="1")=>{switch(S){case"auto":return{flexGrow:0,flexShrink:0,flexBasis:"auto"};case 12:return{flex:"0 0 100%"};default:return{flexGrow:0,flexShrink:0,flexBasis:`calc(${S} / 12 * 99.999%)`,maxWidth:`calc(${S} / 12 * 99.999%)`}}},A=(S="1")=>{switch(S){case"auto":case 12:return{};default:return{marginInlineStart:`calc(${S} / 12 * 99.999%)`,marginInlineEnd:0}}},z=S=>m&&m===S?{...x()}:{},y=S=>{const k=l(S),D=p(S);return a(S)?{...k&&c(k),...D&&A(D)}:{}},w=S=>({...z(S),...y(S)});return{gridCol:{label:"gridCol",display:"block",boxSizing:"border-box",textAlign:"inherit",minWidth:"0.0625rem",...s&&v[s],...h&&u&&{marginBottom:0},...w("small"),[`@media screen and (${n.mediumMin})`]:{...w("medium")},[`@media screen and (${n.largeMin})`]:{...w("large")},[`@media screen and (${n.xLargeMin})`]:{...w("x-large")},...g&&{outline:"0.0625rem dashed red"}}}},uo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},Z=o.oneOfType([o.number,o.oneOf(["auto"])]),ho={children:o.node,colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),textAlign:o.oneOf(["start","end","center","inherit"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,width:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),offset:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),isLastRow:o.bool,isLastCol:o.bool,elementRef:o.func},fo=["children","colSpacing","rowSpacing","textAlign","hAlign","vAlign","startAt","visualDebug","width","offset","isLastRow","isLastCol","elementRef"];var Ni,Ti,se;let _i=(Ni=M(co,uo),Ni(Ti=(se=class Dt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}widthCheck(){const e=this.props.width;let i=!1;e&&(typeof e=="number"&&e<=0&&(i=!0),typeof e=="object"&&Object.keys(e).forEach(t=>{typeof e[t]=="number"&&e[t]<=0&&(i=!0)})),i&&Mt(!1,"Col width must be positive!")}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}render(){const e=this.props,i=e.children,t=e.styles,s=L(this.props,Dt.allowedProps);return f("span",Object.assign({},s,{ref:this.handleRef,css:t==null?void 0:t.gridCol}),i)}},se.displayName="GridCol",se.componentId="Grid.Col",se.propTypes=ho,se.allowedProps=fo,se.defaultProps={textAlign:"inherit",children:null,isLastCol:!1,isLastRow:!1},se))||Ti);const go=(n,e)=>{const i=e.hAlign,t=e.vAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.startAt,m=e.visualDebug,g=()=>{const x={center:{justifyContent:"center"},start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},"space-around":{justifyContent:"space-around"},"space-between":{justifyContent:"space-between"}},r={top:{alignItems:"flex-start"},middle:{alignItems:"center"},bottom:{alignItems:"flex-end"},stretch:{alignItems:"stretch"}},a={small:{margin:`0 calc(-1 * ${n.spacingSmall} / 2)`},medium:{margin:`0 calc(-1 * ${n.spacingMedium} / 2)`},large:{margin:`0 calc(-1 * ${n.spacingLarge} / 2)`},none:{}},l={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}};return{display:"flex",flexFlow:"row nowrap",...i&&x[i],...t&&r[t],...d&&a[d],...s&&l[s],...h&&{marginBottom:0}}},v=x=>u&&u===x?{...g()}:{};return{gridRow:{label:"gridRow",display:"block",boxSizing:"border-box",...v("small"),[`@media screen and (${n.mediumMin})`]:{...v("medium")},[`@media screen and (${n.largeMin})`]:{...v("large")},[`@media screen and (${n.xLargeMin})`]:{...v("x-large")},...m&&{outline:"0.0625rem dashed blue"}}}},mo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},bo={children:Re.oneOf([_i,Ce]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,isLastRow:o.bool},vo=["children","rowSpacing","colSpacing","hAlign","vAlign","startAt","visualDebug","isLastRow"],yo=["styles","makeStyles"],wo=["styles"];var qi,Gi,re;let pi=(qi=M(go,mo),qi(Gi=(re=class ci extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,yo);return b.Children.map(this.props.children,(t,s)=>P(t,[_i])?Ve(t,{...We(i,ci.allowedProps),...t.props,isLastRow:i.isLastRow,isLastCol:s+1===b.Children.count(this.props.children)}):t)}render(){const e=this.props,i=e.styles,t=B(e,wo),s=L(t,ci.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.gridRow,ref:this.handleRef}),this.renderChildren())}},re.displayName="GridRow",re.componentId="Grid.Row",re.propTypes=bo,re.allowedProps=vo,re.defaultProps={children:null,isLastRow:!1},re))||Gi);const So=(n,e)=>{const i=e.startAt,t=e.visualDebug,s=d=>i&&i===d?{boxSizing:"border-box"}:{};return{grid:{label:"grid",display:"block",...s("small"),[`@media screen and (${n.mediumMin})`]:{...s("medium")},[`@media screen and (${n.largeMin})`]:{...s("large")},[`@media screen and (${n.xLargeMin})`]:{...s("x-large")},...t&&{outline:"0.0625rem dashed red"}}}},Oo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},_o={children:Re.oneOf([pi,Ce]),colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool},xo=["children","colSpacing","rowSpacing","hAlign","vAlign","startAt","visualDebug"],$o=["styles","makeStyles"],ko=["styles"];var ji,Ui,J;let N=(ji=M(So,Oo),ji(Ui=(J=class ui extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,$o),t=b.Children.toArray(this.props.children);return t.map((s,d)=>P(s,[pi])?Ve(s,{...We(i,ui.allowedProps),...s.props,isLastRow:d+1===t.length}):s)}render(){const e=this.props,i=e.styles,t=B(e,ko),s=L(t,ui.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.grid,ref:this.handleRef}),this.renderChildren())}},J.displayName="Grid",J.componentId="Grid",J.propTypes=_o,J.allowedProps=xo,J.defaultProps={colSpacing:"medium",rowSpacing:"medium",hAlign:"start",startAt:"small",vAlign:"top",visualDebug:!1,children:null},J.Row=pi,J.Col=_i,J))||Ui);const Ro=(n,e)=>{const i=e.children,s={all:"initial",display:"block",...Et(i)&&{color:n.color,fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,margin:0,textAlign:"inherit"}};return{formFieldLabel:{label:"formFieldLabel",...s,"&:is(label)":s,"&:-webkit-any(label)":s}}},Co=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textDarkest,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightBold,fontSize:i==null?void 0:i.fontSizeMedium,lineHeight:i==null?void 0:i.lineHeightFit},...s[t]}},Io={children:o.node.isRequired,as:o.elementType},Ao=["as","children"];var Zi,Yi,le;let Lo=(Zi=M(Ro,Co),Zi(Yi=(le=class hi extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=zt(hi,this.props),i=this.props,t=i.styles,s=i.children;return f(e,Object.assign({},L(this.props,hi.allowedProps),{css:t==null?void 0:t.formFieldLabel,ref:this.handleRef}),s)}},le.displayName="FormFieldLabel",le.componentId="FormFieldLabel",le.propTypes=Io,le.allowedProps=Ao,le.defaultProps={as:"span"},le))||Yi);const Fo=(n,e)=>{const i=e.variant,t={hint:{color:n.colorHint},error:{color:n.colorError},success:{color:n.colorSuccess},"screenreader-only":{}};return{formFieldMessage:{label:"formFieldMessage",fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,display:"block",...t[i]}}},Po=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{colorHint:n["ic-brand-font-color-dark"]}};return{...{colorHint:e==null?void 0:e.textDarkest,colorError:e==null?void 0:e.textDanger,colorSuccess:e==null?void 0:e.textSuccess,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,fontSize:i==null?void 0:i.fontSizeSmall,lineHeight:i==null?void 0:i.lineHeight},...s[t]}},Wt=o.oneOf(["error","hint","success","screenreader-only"]),Vt=o.node,we={message:o.shape({type:Wt,text:Vt})},Ho={variant:Wt,children:Vt},Mo=["variant","children"];var Xi,Ki,ae;let zo=(Xi=M(Fo,Po),Xi(Ki=(ae=class extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles;return this.props.variant!=="screenreader-only"?f("span",{css:t==null?void 0:t.formFieldMessage,ref:this.handleRef},i):f(Ce,{elementRef:this.handleRef},i)}},ae.displayName="FormFieldMessage",ae.componentId="FormFieldMessage",ae.propTypes=Ho,ae.allowedProps=Mo,ae.defaultProps={variant:"hint"},ae))||Ki);const Eo=n=>({formFieldMessages:{label:"formFieldMessages",padding:0,display:"block",margin:`calc(-1 * ${n.topMargin}) 0 0 0`},message:{label:"formFieldMessages__message",display:"block"}}),Bo=n=>{const e=n.spacing;return{...{topMargin:e==null?void 0:e.xxSmall}}},Do={messages:o.arrayOf(we.message)},Wo=["messages"];var Ji,Qi,de;let et=(Ji=M(Eo,Bo),Ji(Qi=(de=class Nt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.messages,t=e.styles;return i&&i.length>0?f("span",Object.assign({css:t==null?void 0:t.formFieldMessages},L(this.props,Nt.allowedProps),{ref:this.handleRef}),i.map((s,d)=>f("span",{key:`error${d}`,css:t==null?void 0:t.message},f(zo,{variant:s.type},s.text)))):null}},de.displayName="FormFieldMessages",de.componentId="FormFieldMessages",de.propTypes=Do,de.allowedProps=Wo,de.defaultProps={},de))||Qi);const Vo=(n,e)=>({formFieldLayout:{label:"formFieldLayout",all:"initial",border:"0",padding:"0",margin:"0",minWidth:"0",direction:"inherit",textAlign:"start",opacity:"inherit",display:"block",width:"100%",...e.inline&&{display:"inline-block",verticalAlign:"middle",width:"auto"}}}),No={label:o.node.isRequired,id:o.string,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},To=["label","id","as","messages","messagesId","children","inline","layout","labelAlign","width","inputContainerRef","elementRef"],qo=["makeStyles","styles"];var it,tt,Ye,pe;let ei=(it=ii(),tt=M(Vo,null),it(Ye=tt(Ye=(pe=class fi extends b.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.handleInputContainerRef=i=>{typeof this.props.inputContainerRef=="function"&&this.props.inputContainerRef(i)},this._messagesId=e.messagesId||e.deterministicId(),eo(typeof e.width<"u"||!e.inline||e.layout!=="inline",`[FormFieldLayout] The 'inline' prop is true, and the 'layout' is set to 'inline'. +import{k as Jt,l as Qt,r as b,R as H,S as F,P as o,w as M,m as Mt,o as L,i as f,h as B,n as We,q as zt,s as ii,f as eo,t as Oi,p as Je,V as G,v as Qe,T as io}from"./index-Bko_xNHh.js";import{C as Re,S as Ce,m as P,s as Ve,h as Et,i as to,j as oo,k as De,l as Bt,n as ie,P as ke,O as ye,o as Hi,p as Mi,q as no,r as so}from"./RenderTopNavBar-C6YLj6sY.js";var di={exports:{}};(function(n,e){(function(i,t){var s="1.0.38",d="",h="?",u="function",m="undefined",g="object",v="string",x="major",r="model",a="name",l="type",p="vendor",c="version",A="architecture",z="console",y="mobile",w="tablet",S="smarttv",k="wearable",D="embedded",Se=500,Oe="Amazon",ne="Apple",He="ASUS",Me="BlackBerry",X="Browser",Ne="Chrome",Zt="Edge",Te="Firefox",qe="Google",xi="Huawei",ti="LG",oi="Microsoft",$i="Motorola",ze="Opera",Ge="Samsung",ki="Sharp",je="Sony",ni="Xiaomi",si="Zebra",Ri="Facebook",Ci="Chromium OS",Ii="Mac OS",Yt=function($,C){var _={};for(var I in $)C[I]&&C[I].length%2===0?_[I]=C[I].concat($[I]):_[I]=$[I];return _},Ue=function($){for(var C={},_=0;_<$.length;_++)C[$[_].toUpperCase()]=$[_];return C},Ai=function($,C){return typeof $===v?Ee(C).indexOf(Ee($))!==-1:!1},Ee=function($){return $.toLowerCase()},Xt=function($){return typeof $===v?$.replace(/[^\d\.]/g,d).split(".")[0]:t},ri=function($,C){if(typeof $===v)return $=$.replace(/^\s\s*/,d),typeof C===m?$:$.substring(0,Se)},Be=function($,C){for(var _=0,I,K,j,R,O,U;_0?R.length===2?typeof R[1]==u?this[R[0]]=R[1].call(this,U):this[R[0]]=R[1]:R.length===3?typeof R[1]===u&&!(R[1].exec&&R[1].test)?this[R[0]]=U?R[1].call(this,U,R[2]):t:this[R[0]]=U?U.replace(R[1],R[2]):t:R.length===4&&(this[R[0]]=U?R[3].call(this,U.replace(R[1],R[2])):t):this[R]=U||t;_+=2}},li=function($,C){for(var _ in C)if(typeof C[_]===g&&C[_].length>0){for(var I=0;I2&&(O[r]="iPad",O[l]=w),O},this.getEngine=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.engine),O},this.getOS=function(){var O={};return O[a]=t,O[c]=t,Be.call(O,I,j.os),R&&!O[a]&&K&&K.platform&&K.platform!="Unknown"&&(O[a]=K.platform.replace(/chrome os/i,Ci).replace(/macos/i,Ii)),O},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return I},this.setUA=function(O){return I=typeof O===v&&O.length>Se?ri(O,Se):O,this},this.setUA(I),this};V.VERSION=s,V.BROWSER=Ue([a,c,x]),V.CPU=Ue([A]),V.DEVICE=Ue([r,p,l,z,y,S,w,k,D]),V.ENGINE=V.OS=Ue([a,c]),n.exports&&(e=n.exports=V),e.UAParser=V;var _e=typeof i!==m&&(i.jQuery||i.Zepto);if(_e&&!_e.ua){var Ze=new V;_e.ua=Ze.getResult(),_e.ua.get=function(){return Ze.getUA()},_e.ua.set=function($){Ze.setUA($);var C=Ze.getResult();for(var _ in C)_e.ua[_]=C[_]}}})(typeof window=="object"?window:Jt)})(di,di.exports);var ro=di.exports;const lo=Qt(ro),ao=()=>new lo().getResult().browser,po=()=>ao().name==="Safari";var zi;class Ie extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),zi||(zi=H.createElement("path",{d:"m.153 526.146 92.168-92.299 867.767 867.636 867.636-867.636 92.429 92.299-960.065 959.935z",fillRule:"evenodd"})))}}Ie.glyphName="arrow-open-down";Ie.variant="Line";Ie.displayName="IconArrowOpenDownLine";Ie.propTypes={...F.propTypes};Ie.allowedProps=[...F.allowedProps];var Ei;class Ae extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconArrowOpenUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Ei||(Ei=H.createElement("path",{d:"m.153 1393.854 92.168 92.299 867.767-867.636 867.636 867.636 92.429-92.299L960.088 433.92z",fillRule:"evenodd"})))}}Ae.glyphName="arrow-open-up";Ae.variant="Line";Ae.displayName="IconArrowOpenUpLine";Ae.propTypes={...F.propTypes};Ae.allowedProps=[...F.allowedProps];var Bi;class te extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconCheck",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Bi||(Bi=H.createElement("path",{d:"M1827.701 303.065 698.835 1431.801 92.299 825.266 0 917.564 698.835 1616.4 1919.869 395.234z",fillRule:"evenodd"})))}}te.glyphName="check";te.variant="Line";te.displayName="IconCheckLine";te.propTypes={...F.propTypes};te.allowedProps=[...F.allowedProps];var Di;class Le extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDouble",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Di||(Di=H.createElement("path",{d:"M1319.1 790.054 1020.06 355.79c-33.165-48.165-87.553-47.273-120.104 0L600.92 790.054c-33.166 48.165-12.581 87.21 46.116 87.21h625.944c58.64 0 78.67-39.938 46.12-87.21ZM600.634 1129.94l299.035 434.27c33.167 48.16 87.554 47.27 120.101 0l299.04-434.27c33.17-48.16 12.58-87.21-46.12-87.21H646.75c-58.636 0-78.668 39.94-46.116 87.21Z"})))}}Le.glyphName="mini-arrow-double";Le.variant="Line";Le.displayName="IconMiniArrowDoubleLine";Le.propTypes={...F.propTypes};Le.allowedProps=[...F.allowedProps];var Wi;class Fe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowDown",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Wi||(Wi=H.createElement("path",{d:"M994.034 1226.26c-18.796 27.296-49.269 27.3-68.067 0L574.893 716.424C556.096 689.128 567.713 667 600.852 667h718.297c33.133 0 44.757 22.125 25.959 49.424L994.034 1226.26Z",fillRule:"evenodd"})))}}Fe.glyphName="mini-arrow-down";Fe.variant="Line";Fe.displayName="IconMiniArrowDownLine";Fe.propTypes={...F.propTypes};Fe.allowedProps=[...F.allowedProps];var Vi;class Pe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(F,Object.assign({},this.props,{name:"IconMiniArrowUp",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),Vi||(Vi=H.createElement("path",{d:"M994.034 694.296c-18.796-27.296-49.269-27.3-68.067 0l-351.074 509.836c-18.797 27.296-7.18 49.424 25.959 49.424h718.297c33.133 0 44.757-22.125 25.959-49.424L994.034 694.296Z",fillRule:"evenodd"})))}}Pe.glyphName="mini-arrow-up";Pe.variant="Line";Pe.displayName="IconMiniArrowUpLine";Pe.propTypes={...F.propTypes};Pe.allowedProps=[...F.allowedProps];const co=(n,e)=>{const i=e.vAlign,t=e.textAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.isLastCol,m=e.startAt,g=e.visualDebug,v={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}},x=()=>{const S={small:{paddingLeft:`calc(${n.spacingSmall} / 2)`,paddingRight:`calc(${n.spacingSmall} / 2)`},medium:{paddingLeft:`calc(${n.spacingMedium} / 2)`,paddingRight:`calc(${n.spacingMedium} / 2)`},large:{paddingLeft:`calc(${n.spacingLarge} / 2)`,paddingRight:`calc(${n.spacingLarge} / 2)`},none:{}},k={top:{alignSelf:"flex-start"},middle:{alignSelf:"center"},bottom:{alignSelf:"flex-end"},stretch:{alignSelf:"stretch"}},D={start:{textAlign:"start"},end:{textAlign:"end"},center:{textAlign:"center"},inherit:{textAlign:"inherit"}};return{flexGrow:1,flexShrink:1,flexBasis:"0%",marginBottom:0,boxSizing:"border-box",...d&&S[d],...i&&k[i],...t&&D[t]}},r=()=>{const S=["small","medium","large","x-large",null];return S.slice(S.indexOf(m))},a=S=>r().includes(S),l=S=>{let k=e.width;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},p=S=>{let k=e.offset;if(k)return k&&typeof k=="object"&&(k=k[S==="x-large"?"xLarge":S]),k},c=(S="1")=>{switch(S){case"auto":return{flexGrow:0,flexShrink:0,flexBasis:"auto"};case 12:return{flex:"0 0 100%"};default:return{flexGrow:0,flexShrink:0,flexBasis:`calc(${S} / 12 * 99.999%)`,maxWidth:`calc(${S} / 12 * 99.999%)`}}},A=(S="1")=>{switch(S){case"auto":case 12:return{};default:return{marginInlineStart:`calc(${S} / 12 * 99.999%)`,marginInlineEnd:0}}},z=S=>m&&m===S?{...x()}:{},y=S=>{const k=l(S),D=p(S);return a(S)?{...k&&c(k),...D&&A(D)}:{}},w=S=>({...z(S),...y(S)});return{gridCol:{label:"gridCol",display:"block",boxSizing:"border-box",textAlign:"inherit",minWidth:"0.0625rem",...s&&v[s],...h&&u&&{marginBottom:0},...w("small"),[`@media screen and (${n.mediumMin})`]:{...w("medium")},[`@media screen and (${n.largeMin})`]:{...w("large")},[`@media screen and (${n.xLargeMin})`]:{...w("x-large")},...g&&{outline:"0.0625rem dashed red"}}}},uo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},Z=o.oneOfType([o.number,o.oneOf(["auto"])]),ho={children:o.node,colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),textAlign:o.oneOf(["start","end","center","inherit"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,width:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),offset:o.oneOfType([Z,o.shape({small:Z,medium:Z,large:Z,xLarge:Z})]),isLastRow:o.bool,isLastCol:o.bool,elementRef:o.func},fo=["children","colSpacing","rowSpacing","textAlign","hAlign","vAlign","startAt","visualDebug","width","offset","isLastRow","isLastCol","elementRef"];var Ni,Ti,se;let _i=(Ni=M(co,uo),Ni(Ti=(se=class Dt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}widthCheck(){const e=this.props.width;let i=!1;e&&(typeof e=="number"&&e<=0&&(i=!0),typeof e=="object"&&Object.keys(e).forEach(t=>{typeof e[t]=="number"&&e[t]<=0&&(i=!0)})),i&&Mt(!1,"Col width must be positive!")}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.widthCheck()}render(){const e=this.props,i=e.children,t=e.styles,s=L(this.props,Dt.allowedProps);return f("span",Object.assign({},s,{ref:this.handleRef,css:t==null?void 0:t.gridCol}),i)}},se.displayName="GridCol",se.componentId="Grid.Col",se.propTypes=ho,se.allowedProps=fo,se.defaultProps={textAlign:"inherit",children:null,isLastCol:!1,isLastRow:!1},se))||Ti);const go=(n,e)=>{const i=e.hAlign,t=e.vAlign,s=e.rowSpacing,d=e.colSpacing,h=e.isLastRow,u=e.startAt,m=e.visualDebug,g=()=>{const x={center:{justifyContent:"center"},start:{justifyContent:"flex-start"},end:{justifyContent:"flex-end"},"space-around":{justifyContent:"space-around"},"space-between":{justifyContent:"space-between"}},r={top:{alignItems:"flex-start"},middle:{alignItems:"center"},bottom:{alignItems:"flex-end"},stretch:{alignItems:"stretch"}},a={small:{margin:`0 calc(-1 * ${n.spacingSmall} / 2)`},medium:{margin:`0 calc(-1 * ${n.spacingMedium} / 2)`},large:{margin:`0 calc(-1 * ${n.spacingLarge} / 2)`},none:{}},l={small:{marginBottom:n.spacingSmall},medium:{marginBottom:n.spacingMedium},large:{marginBottom:n.spacingLarge},none:{marginBottom:0}};return{display:"flex",flexFlow:"row nowrap",...i&&x[i],...t&&r[t],...d&&a[d],...s&&l[s],...h&&{marginBottom:0}}},v=x=>u&&u===x?{...g()}:{};return{gridRow:{label:"gridRow",display:"block",boxSizing:"border-box",...v("small"),[`@media screen and (${n.mediumMin})`]:{...v("medium")},[`@media screen and (${n.largeMin})`]:{...v("large")},[`@media screen and (${n.xLargeMin})`]:{...v("x-large")},...m&&{outline:"0.0625rem dashed blue"}}}},mo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},bo={children:Re.oneOf([_i,Ce]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool,isLastRow:o.bool},vo=["children","rowSpacing","colSpacing","hAlign","vAlign","startAt","visualDebug","isLastRow"],yo=["styles","makeStyles"],wo=["styles"];var qi,Gi,re;let pi=(qi=M(go,mo),qi(Gi=(re=class ci extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,yo);return b.Children.map(this.props.children,(t,s)=>P(t,[_i])?Ve(t,{...We(i,ci.allowedProps),...t.props,isLastRow:i.isLastRow,isLastCol:s+1===b.Children.count(this.props.children)}):t)}render(){const e=this.props,i=e.styles,t=B(e,wo),s=L(t,ci.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.gridRow,ref:this.handleRef}),this.renderChildren())}},re.displayName="GridRow",re.componentId="Grid.Row",re.propTypes=bo,re.allowedProps=vo,re.defaultProps={children:null,isLastRow:!1},re))||Gi);const So=(n,e)=>{const i=e.startAt,t=e.visualDebug,s=d=>i&&i===d?{boxSizing:"border-box"}:{};return{grid:{label:"grid",display:"block",...s("small"),[`@media screen and (${n.mediumMin})`]:{...s("medium")},[`@media screen and (${n.largeMin})`]:{...s("large")},[`@media screen and (${n.xLargeMin})`]:{...s("x-large")},...t&&{outline:"0.0625rem dashed red"}}}},Oo=n=>{const e=n.spacing,i=n.media;return{...{spacingSmall:e==null?void 0:e.small,spacingMedium:e==null?void 0:e.medium,spacingLarge:e==null?void 0:e.large,...i}}},_o={children:Re.oneOf([pi,Ce]),colSpacing:o.oneOf(["none","small","medium","large"]),rowSpacing:o.oneOf(["none","small","medium","large"]),hAlign:o.oneOf(["start","center","end","space-around","space-between"]),vAlign:o.oneOf(["top","middle","bottom","stretch"]),startAt:o.oneOf(["small","medium","large","x-large",null]),visualDebug:o.bool},xo=["children","colSpacing","rowSpacing","hAlign","vAlign","startAt","visualDebug"],$o=["styles","makeStyles"],ko=["styles"];var ji,Ui,J;let N=(ji=M(So,Oo),ji(Ui=(J=class ui extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderChildren(){const e=this.props;e.styles,e.makeStyles;const i=B(e,$o),t=b.Children.toArray(this.props.children);return t.map((s,d)=>P(s,[pi])?Ve(s,{...We(i,ui.allowedProps),...s.props,isLastRow:d+1===t.length}):s)}render(){const e=this.props,i=e.styles,t=B(e,ko),s=L(t,ui.allowedProps);return f("span",Object.assign({},s,{css:i==null?void 0:i.grid,ref:this.handleRef}),this.renderChildren())}},J.displayName="Grid",J.componentId="Grid",J.propTypes=_o,J.allowedProps=xo,J.defaultProps={colSpacing:"medium",rowSpacing:"medium",hAlign:"start",startAt:"small",vAlign:"top",visualDebug:!1,children:null},J.Row=pi,J.Col=_i,J))||Ui);const Ro=(n,e)=>{const i=e.children,s={all:"initial",display:"block",...Et(i)&&{color:n.color,fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,margin:0,textAlign:"inherit"}};return{formFieldLabel:{label:"formFieldLabel",...s,"&:is(label)":s,"&:-webkit-any(label)":s}}},Co=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textDarkest,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightBold,fontSize:i==null?void 0:i.fontSizeMedium,lineHeight:i==null?void 0:i.lineHeightFit},...s[t]}},Io={children:o.node.isRequired,as:o.elementType},Ao=["as","children"];var Zi,Yi,le;let Lo=(Zi=M(Ro,Co),Zi(Yi=(le=class hi extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=zt(hi,this.props),i=this.props,t=i.styles,s=i.children;return f(e,Object.assign({},L(this.props,hi.allowedProps),{css:t==null?void 0:t.formFieldLabel,ref:this.handleRef}),s)}},le.displayName="FormFieldLabel",le.componentId="FormFieldLabel",le.propTypes=Io,le.allowedProps=Ao,le.defaultProps={as:"span"},le))||Yi);const Fo=(n,e)=>{const i=e.variant,t={hint:{color:n.colorHint},error:{color:n.colorError},success:{color:n.colorSuccess},"screenreader-only":{}};return{formFieldMessage:{label:"formFieldMessage",fontFamily:n.fontFamily,fontWeight:n.fontWeight,fontSize:n.fontSize,lineHeight:n.lineHeight,display:"block",...t[i]}}},Po=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{colorHint:n["ic-brand-font-color-dark"]}};return{...{colorHint:e==null?void 0:e.textDarkest,colorError:e==null?void 0:e.textDanger,colorSuccess:e==null?void 0:e.textSuccess,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,fontSize:i==null?void 0:i.fontSizeSmall,lineHeight:i==null?void 0:i.lineHeight},...s[t]}},Wt=o.oneOf(["error","hint","success","screenreader-only"]),Vt=o.node,we={message:o.shape({type:Wt,text:Vt})},Ho={variant:Wt,children:Vt},Mo=["variant","children"];var Xi,Ki,ae;let zo=(Xi=M(Fo,Po),Xi(Ki=(ae=class extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles;return this.props.variant!=="screenreader-only"?f("span",{css:t==null?void 0:t.formFieldMessage,ref:this.handleRef},i):f(Ce,{elementRef:this.handleRef},i)}},ae.displayName="FormFieldMessage",ae.componentId="FormFieldMessage",ae.propTypes=Ho,ae.allowedProps=Mo,ae.defaultProps={variant:"hint"},ae))||Ki);const Eo=n=>({formFieldMessages:{label:"formFieldMessages",padding:0,display:"block",margin:`calc(-1 * ${n.topMargin}) 0 0 0`},message:{label:"formFieldMessages__message",display:"block"}}),Bo=n=>{const e=n.spacing;return{...{topMargin:e==null?void 0:e.xxSmall}}},Do={messages:o.arrayOf(we.message)},Wo=["messages"];var Ji,Qi,de;let et=(Ji=M(Eo,Bo),Ji(Qi=(de=class Nt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{this.ref=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.messages,t=e.styles;return i&&i.length>0?f("span",Object.assign({css:t==null?void 0:t.formFieldMessages},L(this.props,Nt.allowedProps),{ref:this.handleRef}),i.map((s,d)=>f("span",{key:`error${d}`,css:t==null?void 0:t.message},f(zo,{variant:s.type},s.text)))):null}},de.displayName="FormFieldMessages",de.componentId="FormFieldMessages",de.propTypes=Do,de.allowedProps=Wo,de.defaultProps={},de))||Qi);const Vo=(n,e)=>({formFieldLayout:{label:"formFieldLayout",all:"initial",border:"0",padding:"0",margin:"0",minWidth:"0",direction:"inherit",textAlign:"start",opacity:"inherit",display:"block",width:"100%",...e.inline&&{display:"inline-block",verticalAlign:"middle",width:"auto"}}}),No={label:o.node.isRequired,id:o.string,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},To=["label","id","as","messages","messagesId","children","inline","layout","labelAlign","width","inputContainerRef","elementRef"],qo=["makeStyles","styles"];var it,tt,Ye,pe;let ei=(it=ii(),tt=M(Vo,null),it(Ye=tt(Ye=(pe=class fi extends b.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.handleInputContainerRef=i=>{typeof this.props.inputContainerRef=="function"&&this.props.inputContainerRef(i)},this._messagesId=e.messagesId||e.deterministicId(),eo(typeof e.width<"u"||!e.inline||e.layout!=="inline",`[FormFieldLayout] The 'inline' prop is true, and the 'layout' is set to 'inline'. This will cause a layout issue in Internet Explorer 11 unless you also add a value for the 'width' prop.`)}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}get hasVisibleLabel(){return this.props.label&&Et(this.props.label)}get hasMessages(){return this.props.messages&&this.props.messages.length>0}get elementType(){return zt(fi,this.props)}get inlineContainerAndLabel(){return this.props.inline&&this.props.layout==="inline"}renderLabel(){return this.hasVisibleLabel?f(N.Col,{textAlign:this.props.labelAlign,width:this.inlineContainerAndLabel?"auto":3},f(Lo,{"aria-hidden":this.elementType==="fieldset"?"true":void 0},this.props.label)):this.elementType!=="fieldset"?this.props.label:null}renderLegend(){return f(Ce,{as:"legend"},this.props.label,this.hasMessages&&f(et,{messages:this.props.messages}))}renderVisibleMessages(){return this.hasMessages?f(N.Row,null,f(N.Col,{offset:this.inlineContainerAndLabel?void 0:3,textAlign:this.inlineContainerAndLabel?"end":void 0},f(et,{id:this._messagesId,messages:this.props.messages}))):null}render(){const e=this.elementType,i=this.props;i.makeStyles;const t=i.styles,s=B(i,qo),d=s.width,h=s.layout,u=s.children;return f(e,Object.assign({},L(s,[...fi.allowedProps,...N.allowedProps]),{css:t==null?void 0:t.formFieldLayout,style:{width:d},"aria-describedby":this.hasMessages?this._messagesId:void 0,ref:this.handleRef}),this.elementType==="fieldset"&&this.renderLegend(),f(N,Object.assign({rowSpacing:"small",colSpacing:"small",startAt:h==="inline"&&this.hasVisibleLabel?"medium":null},We(s,N.allowedProps)),f(N.Row,null,this.renderLabel(),f(N.Col,{width:this.inlineContainerAndLabel?"auto":void 0,elementRef:this.handleInputContainerRef},u)),this.renderVisibleMessages()))}},pe.displayName="FormFieldLayout",pe.componentId="FormFieldLayout",pe.propTypes=No,pe.allowedProps=To,pe.defaultProps={inline:!1,layout:"stacked",as:"label",labelAlign:"end"},pe))||Ye)||Ye);const Go={label:o.node.isRequired,id:o.string.isRequired,messages:o.arrayOf(we.message),messagesId:o.string,children:o.node,inline:o.bool,layout:o.oneOf(["stacked","inline"]),labelAlign:o.oneOf(["start","end"]),vAlign:o.oneOf(["top","middle","bottom"]),width:o.string,inputContainerRef:o.func,elementRef:o.func},jo=["label","id","messages","messagesId","children","inline","layout","labelAlign","vAlign","width","inputContainerRef","elementRef"];class oe extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}render(){return H.createElement(ei,Object.assign({},L(this.props,oe.allowedProps),We(this.props,ei.allowedProps),{label:this.props.label,vAlign:this.props.vAlign,as:"label",htmlFor:this.props.id,elementRef:this.handleRef}))}}oe.displayName="FormField";oe.componentId="FormField";oe.propTypes=Go;oe.allowedProps=jo;oe.defaultProps={inline:!1,layout:"stacked",labelAlign:"end",vAlign:"middle"};const Uo=(n,e,i)=>{const t=e.disabled,s=i.invalid;return{formFieldGroup:{label:"formFieldGroup",border:`${n.borderWidth} ${n.borderStyle} ${n.borderColor}`,borderRadius:n.borderRadius,display:"block",...s&&{borderColor:n.errorBorderColor,padding:n.errorFieldsPadding},...t&&{opacity:.6,cursor:"not-allowed",pointerEvents:"none"}}}},Zo=n=>{const e=n.borders,i=n.colors,t=n.spacing;return{...{borderWidth:e==null?void 0:e.widthSmall,borderStyle:e==null?void 0:e.style,borderColor:"transparent",borderRadius:e==null?void 0:e.radiusMedium,errorBorderColor:i==null?void 0:i.borderDanger,errorFieldsPadding:t==null?void 0:t.xSmall}}},Yo={description:o.node.isRequired,as:o.elementType,messages:o.arrayOf(we.message),messagesId:o.string,disabled:o.bool,children:o.node,layout:o.oneOf(["stacked","columns","inline"]),rowSpacing:o.oneOf(["none","small","medium","large"]),colSpacing:o.oneOf(["none","small","medium","large"]),vAlign:o.oneOf(["top","middle","bottom"]),startAt:o.oneOf(["small","medium","large","x-large",null]),elementRef:o.func},Xo=["description","as","messages","messagesId","disabled","children","layout","rowSpacing","colSpacing","vAlign","startAt","elementRef"],Ko=["styles","makeStyles"];var ot,nt,ce;let rs=(ot=M(Uo,Zo),ot(nt=(ce=class Tt extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStylesVariables)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStylesVariables)}get makeStylesVariables(){return{invalid:this.invalid}}get invalid(){return!!this.props.messages&&this.props.messages.findIndex(e=>e.type==="error")>=0}renderColumns(){return b.Children.map(this.props.children,(e,i)=>e?f(N.Col,{width:e.props&&e.props.width?"auto":void 0,key:i},e):null)}renderChildren(){return f(N,{colSpacing:this.props.colSpacing,rowSpacing:this.props.rowSpacing,vAlign:this.props.vAlign,startAt:this.props.startAt||(this.props.layout==="columns"?"medium":null)},f(N.Row,null,this.renderColumns()))}renderFields(){const e=this.props.styles;return f("span",{key:"fields",css:e==null?void 0:e.formFieldGroup},this.renderChildren())}render(){const e=this.props;e.styles,e.makeStyles;const i=B(e,Ko);return f(ei,Object.assign({},L(i,Tt.allowedProps),We(i,ei.allowedProps),{vAlign:i.vAlign,layout:i.layout==="inline"?"inline":"stacked",label:i.description,"aria-disabled":i.disabled?"true":void 0,"aria-invalid":this.invalid?"true":void 0,elementRef:this.handleRef}),this.renderFields())}},ce.displayName="FormFieldGroup",ce.componentId="FormFieldGroup",ce.propTypes=Yo,ce.allowedProps=Xo,ce.defaultProps={as:"fieldset",disabled:!1,rowSpacing:"medium",colSpacing:"small",vAlign:"middle"},ce))||nt);const Jo=(n,e,i)=>{const t=e.size,s=e.textAlign,d=e.shouldNotWrap,h=i.disabled,u=i.invalid,m=i.focused,g=i.beforeElementHasWidth,v=i.afterElementHasWidth,x={small:{fontSize:n.smallFontSize,height:`calc(${n.smallHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.smallHeight} - (2 * ${n.borderWidth}))`},medium:{fontSize:n.mediumFontSize,height:`calc(${n.mediumHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.mediumHeight} - (2 * ${n.borderWidth}))`},large:{fontSize:n.largeFontSize,height:`calc(${n.largeHeight} - (2 * ${n.borderWidth}))`,lineHeight:`calc(${n.largeHeight} - (2 * ${n.borderWidth}))`}},r=h?{cursor:"not-allowed",pointerEvents:"none",opacity:"0.5"}:{},a=m?{opacity:1,transform:"scale(1)"}:{opacity:0,transform:"scale(0.95)"},l=u?{borderColor:n.errorBorderColor}:{},p=u&&m?{borderColor:n.errorBorderColor}:{},c={all:"initial","&::-ms-clear":{display:"none"},WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",appearance:"none",margin:0,width:"100%",display:"block",boxSizing:"border-box",outline:"none",fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,padding:`0 ${n.padding}`,background:"transparent",border:"none",verticalAlign:"baseline",'&[autocomplete="off"]::-webkit-contacts-auto-fill-button':{display:"none !important"},"&:focus":{boxShadow:"initial"},"&::placeholder":{color:n.placeholderColor},...x[t],textAlign:s},A={boxSizing:"border-box",fontFamily:n.fontFamily,maxWidth:"100%",overflow:"visible",unicodeBidi:"isolate"},z={...A,display:"flex",alignItems:"center",justifyContent:"flex-start",flexDirection:"row"},y={...A,flexShrink:0};return{textInput:{label:"textInput",...c,"&:is(input)[type]":c,"&:-webkit-any(input)[type]":c},facade:{label:"textInput__facade",position:"relative",display:"block",boxSizing:"border-box",border:`${n.borderWidth} ${n.borderStyle} ${n.borderColor}`,borderRadius:n.borderRadius,background:n.background,color:n.color,"&::before":{content:'""',pointerEvents:"none",position:"absolute",display:"block",boxSizing:"border-box",top:"-0.25rem",bottom:"-0.25rem",left:"-0.25rem",right:"-0.25rem",border:`${n.focusOutlineWidth} ${n.focusOutlineStyle} ${n.focusOutlineColor}`,borderRadius:`calc(${n.borderRadius} * 1.5)`,transition:"all 0.2s",...a,...p},...r,...l},layout:{label:"textInput__layout",...z,...!d&&{flexWrap:"wrap"}},beforeElement:{label:"textInput__beforeElement",...y,paddingInlineStart:n.padding,...g===!1&&{paddingInlineStart:0}},innerWrapper:{label:"textInput__innerWrapper",...y,minWidth:"0.0625rem",flexShrink:1,flexGrow:1},inputLayout:{label:"textInput__inputLayout",...z},afterElement:{label:"textInput__afterElement",...y,paddingInlineEnd:n.padding,...v===!1&&{paddingInlineEnd:0}}}},Qo=n=>{const e=n.colors,i=n.typography,t=n.borders,s=n.spacing,d=n.forms,h=n.key,u={canvas:{color:n["ic-brand-font-color-dark"],focusOutlineColor:n["ic-brand-primary"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,borderWidth:t==null?void 0:t.widthSmall,borderStyle:t==null?void 0:t.style,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,padding:s==null?void 0:s.small,focusOutlineWidth:t==null?void 0:t.widthMedium,focusOutlineStyle:t==null?void 0:t.style,focusOutlineColor:e==null?void 0:e.borderBrand,errorBorderColor:e==null?void 0:e.borderDanger,errorOutlineColor:e==null?void 0:e.borderDanger,placeholderColor:e==null?void 0:e.textDark,smallFontSize:i==null?void 0:i.fontSizeSmall,smallHeight:d==null?void 0:d.inputHeightSmall,mediumFontSize:i==null?void 0:i.fontSizeMedium,mediumHeight:d==null?void 0:d.inputHeightMedium,largeFontSize:i==null?void 0:i.fontSizeLarge,largeHeight:d==null?void 0:d.inputHeightLarge},...u[h]}},en={renderLabel:o.oneOfType([o.node,o.func]),type:o.oneOf(["text","email","url","tel","search","password"]),id:o.string,value:to(o.string),defaultValue:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),messages:o.arrayOf(we.message),size:o.oneOf(["small","medium","large"]),textAlign:o.oneOf(["start","center"]),width:o.string,htmlSize:o.number,display:o.oneOf(["inline-block","block"]),shouldNotWrap:o.bool,placeholder:o.string,isRequired:o.bool,elementRef:o.func,inputRef:o.func,inputContainerRef:o.func,renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),onChange:o.func,onBlur:o.func,onFocus:o.func},tn=["renderLabel","type","id","value","defaultValue","interaction","messages","size","textAlign","width","htmlSize","display","shouldNotWrap","placeholder","isRequired","elementRef","inputRef","inputContainerRef","renderBeforeInput","renderAfterInput","onChange","onBlur","onFocus"],on=["type","size","htmlSize","display","textAlign","placeholder","value","defaultValue","isRequired","onFocus"];var st,rt,lt,xe,ue;let nn=(st=ii(),rt=M(Jo,Qo),lt=Oi(),st(xe=rt(xe=lt(xe=(ue=class extends b.Component{constructor(e){super(e),this.ref=null,this._input=null,this._beforeElement=null,this._afterElement=null,this._defaultId=void 0,this._messagesId=void 0,this._focusListener=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)},this.makeStyleProps=()=>{const i=this.interaction,t=this.state,s=t.hasFocus,d=t.beforeElementHasWidth,h=t.afterElementHasWidth;return{disabled:i==="disabled",invalid:this.invalid,focused:s,beforeElementHasWidth:d,afterElementHasWidth:h}},this.handleInputRef=i=>{this._input=i,typeof this.props.inputRef=="function"&&this.props.inputRef(i)},this.handleChange=i=>{typeof this.props.onChange=="function"&&this.props.onChange(i,i.target.value)},this.handleBlur=i=>{typeof this.props.onBlur=="function"&&this.props.onBlur(i),this.setState({hasFocus:!1})},this.handleFocus=i=>{typeof this.props.onFocus=="function"&&this.props.onFocus(i),this.setState({hasFocus:!0})},this.state={hasFocus:!1,beforeElementHasWidth:void 0,afterElementHasWidth:void 0},this._defaultId=e.deterministicId(),this._messagesId=e.deterministicId("TextInput-messages")}componentDidMount(){var e,i;this._input&&(this._focusListener=oo(this._input,"focus",this.handleFocus),this.setState({beforeElementHasWidth:this.getElementHasWidth(this._beforeElement),afterElementHasWidth:this.getElementHasWidth(this._afterElement)})),(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i,this.makeStyleProps())}componentWillUnmount(){this._focusListener&&this._focusListener.remove()}componentDidUpdate(e){var i,t;e.renderBeforeInput!==this.props.renderBeforeInput&&this.setState({beforeElementHasWidth:this.getElementHasWidth(this._beforeElement)}),e.renderAfterInput!==this.props.renderAfterInput&&this.setState({afterElementHasWidth:this.getElementHasWidth(this._afterElement)}),De({props:e})!=="disabled"&&De({props:this.props})==="disabled"&&this.setState({hasFocus:!1}),(i=(t=this.props).makeStyles)===null||i===void 0||i.call(t,this.makeStyleProps())}focus(){var e;(e=this._input)===null||e===void 0||e.focus()}get interaction(){return De({props:this.props})}get hasMessages(){return!!this.props.messages&&this.props.messages.length>0}get invalid(){return!!this.props.messages&&this.props.messages.findIndex(e=>e.type==="error")>=0}get focused(){return Bt(this._input)}get value(){var e;return(e=this._input)===null||e===void 0?void 0:e.value}get id(){return this.props.id||this._defaultId}renderInput(){var e;const i=this.props,t=i.type;i.size;const s=i.htmlSize;i.display,i.textAlign;const d=i.placeholder,h=i.value,u=i.defaultValue,m=i.isRequired;i.onFocus;const g=B(i,on),v=Je(g),x=this.interaction;let r="";return v["aria-describedby"]&&(r=`${v["aria-describedby"]}`),this.hasMessages&&(r=r!==""?`${r} ${this._messagesId}`:this._messagesId),f("input",Object.assign({},v,{css:(e=this.props.styles)===null||e===void 0?void 0:e.textInput,defaultValue:u,value:h,placeholder:d,ref:this.handleInputRef,type:t,id:this.id,required:m,"aria-invalid":this.invalid?"true":void 0,disabled:x==="disabled",readOnly:x==="readonly","aria-describedby":r!==""?r:void 0,size:s,onChange:this.handleChange,onBlur:this.handleBlur}))}getElementHasWidth(e){if(!e)return;const i=getComputedStyle(e),t=i.width,s=i.paddingInlineStart,d=i.paddingInlineEnd;return t==="auto"||t===""?!0:parseFloat(t)-parseFloat(s)-parseFloat(d)>0}render(){const e=this.props,i=e.width,t=e.display,s=e.renderLabel,d=e.renderBeforeInput,h=e.renderAfterInput,u=e.messages,m=e.inputContainerRef,g=e.styles,v=d?ie(d):null,x=h?ie(h):null,r=!!v||!!x;return f(oe,{id:this.id,label:ie(s),messagesId:this._messagesId,messages:u,inline:t==="inline-block",width:i,inputContainerRef:m,layout:this.props.layout,elementRef:this.handleRef},f("span",{css:g==null?void 0:g.facade},r?f("div",null,f("span",{css:g==null?void 0:g.layout},v&&f("span",{css:g==null?void 0:g.beforeElement,ref:a=>{this._beforeElement=a}},v),f("span",{css:g==null?void 0:g.innerWrapper},f("span",{css:g==null?void 0:g.inputLayout},f("span",{css:g==null?void 0:g.innerWrapper},this.renderInput()),x&&f("span",{css:g==null?void 0:g.afterElement,ref:a=>{this._afterElement=a}},x))))):this.renderInput()))}},ue.displayName="TextInput",ue.componentId="TextInput",ue.allowedProps=tn,ue.propTypes=en,ue.defaultProps={type:"text",interaction:void 0,isRequired:!1,display:"block",shouldNotWrap:!1,size:"medium",textAlign:"start",messages:[]},ue))||xe)||xe)||xe);const sn=(n,e)=>{const i=e.size,t={small:{fontSize:n.smallIconSize},medium:{fontSize:n.mediumIconSize},large:{fontSize:n.largeIconSize}};return{select:{label:"select",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color},icon:{label:"select__icon",...t[i]},assistiveText:{label:"select__assistiveText",display:"none"}}},rn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,smallIconSize:i==null?void 0:i.fontSizeXSmall,mediumIconSize:i==null?void 0:i.fontSizeSmall,largeIconSize:i==null?void 0:i.fontSizeMedium,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},ln={id:o.string.isRequired,isHighlighted:o.bool,isSelected:o.bool,isDisabled:o.bool,renderBeforeLabel:o.oneOfType([o.node,o.func]),renderAfterLabel:o.oneOfType([o.node,o.func]),children:o.node},an=["id","isHighlighted","isSelected","isDisabled","renderBeforeLabel","renderAfterLabel","children"];let T=class extends b.Component{render(){return null}};T.displayName="Option";T.componentId="Select.Option";T.allowedProps=an;T.propTypes=ln;T.defaultProps={isHighlighted:!1,isSelected:!1,isDisabled:!1};const dn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,children:Re.oneOf([T])},pn=["renderLabel","children"];let W=class extends b.Component{render(){return null}};W.displayName="Group";W.componentId="Select.Group";W.allowedProps=pn;W.propTypes=dn;W.defaultProps={};const cn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,inputValue:o.string,id:o.string,size:o.oneOf(["small","medium","large"]),assistiveText:o.string,placeholder:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),isRequired:o.bool,isInline:o.bool,width:o.string,htmlSize:o.number,visibleOptionsCount:o.number,optionsMaxHeight:o.string,optionsMaxWidth:o.string,messages:o.arrayOf(we.message),placement:ke.placement,constrain:ke.constrain,mountNode:ke.mountNode,onFocus:o.func,onBlur:o.func,onInputChange:o.func,isShowingOptions:o.bool,onRequestShowOptions:o.func,onRequestHideOptions:o.func,onRequestHighlightOption:o.func,onRequestSelectOption:o.func,inputRef:o.func,listRef:o.func,renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),children:Re.oneOf([W,T]),shouldNotWrap:o.bool,scrollToHighlightedOption:o.bool},un=["renderLabel","inputValue","isShowingOptions","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","htmlSize","visibleOptionsCount","optionsMaxHeight","optionsMaxWidth","messages","placement","constrain","mountNode","onFocus","onBlur","onInputChange","onRequestShowOptions","onRequestHideOptions","onRequestHighlightOption","onRequestSelectOption","inputRef","listRef","renderBeforeInput","renderAfterInput","children","shouldNotWrap","scrollToHighlightedOption"],hn=["id","renderLabel","children"],fn=["renderLabel","inputValue","placeholder","isRequired","shouldNotWrap","size","isInline","width","htmlSize","messages","renderBeforeInput","renderAfterInput","onFocus","onBlur","onInputChange","onRequestHideOptions"],gn=["ref"];var at,dt,pt,$e,Q,ct,ut,ht,ft;const qt=b.memo(function(e){const i=e.optionsItemProps,t=e.children;return f(ye.Item,Object.assign({as:"li"},i),t)},(n,e)=>n.selectOption.props.isHighlighted===e.selectOption.props.isHighlighted&&n.selectOption.props.isSelected===e.selectOption.props.isSelected&&n.selectOption.props.isDisabled===e.selectOption.props.isDisabled&&n.selectOption.props.children===e.selectOption.props.children&&n.selectOption.props.id===e.selectOption.props.id&&n.selectOption.props.renderBeforeLabel===e.selectOption.props.renderBeforeLabel&&n.selectOption.props.renderAfterLabel===e.selectOption.props.renderAfterLabel&&n.children===e.children);qt.displayName="Item";let Xe=(at=ii(),dt=M(sn,rn),pt=Oi(),at($e=dt($e=pt($e=(Q=class Gt extends b.Component{constructor(...e){super(...e),this.state={hasInputRef:!1},this.ref=null,this._input=null,this._defaultId=this.props.deterministicId(),this._inputContainer=null,this._listView=null,this._optionIds=[],this._optionHeight=36,this.handleInputRef=i=>{var t,s;this.state.hasInputRef||this.setState({hasInputRef:!0}),this._input=i,(t=(s=this.props).inputRef)===null||t===void 0||t.call(s,i)},this.handleListRef=i=>{var t,s;(t=(s=this.props).listRef)===null||t===void 0||t.call(s,i),i&&i.querySelector('[role="option"]')&&(this._optionHeight=i.querySelector('[role="option"]').offsetHeight)},this.handleInputContainerRef=i=>{this._inputContainer=i}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i),this.props.scrollToHighlightedOption&&requestAnimationFrame(()=>this.scrollToOption(this.highlightedOptionId))}focus(){this._input&&this._input.focus()}get childrenArray(){return b.Children.toArray(this.props.children)}getGroupChildrenArray(e){return b.Children.toArray(e.props.children)}get focused(){return this._input?Bt(this._input):!1}get id(){return this.props.id||this._defaultId}get width(){return this._inputContainer?this._inputContainer.offsetWidth:void 0}get interaction(){return De({props:this.props})}get highlightedOptionId(){let e;return this.childrenArray.forEach(i=>{P(i,[W])?this.getGroupChildrenArray(i).forEach(t=>{t.props.isHighlighted&&(e=t.props.id)}):i.props.isHighlighted&&(e=i.props.id)}),e}get selectedOptionId(){const e=[];if(this.childrenArray.forEach(i=>{P(i,[W])?this.getGroupChildrenArray(i).forEach(t=>{t.props.isSelected&&e.push(t.props.id)}):i.props.isSelected&&e.push(i.props.id)}),e.length===1)return e[0];if(e.length!==0)return e}scrollToOption(e){if(this._listView){const i=this._listView.querySelector(`[id="${e}"]`);if(!i)return;const t=i.parentNode,s=Hi(this._listView).top,d=Hi(t).top,h=s+this._listView.clientHeight,u=d+(t?t.clientHeight:0);u>h?this._listView.scrollTop+=u-h:d{t==null||t(h);const u=this.selectedOptionId;u&&!Array.isArray(u)&&this.highlightOption(h,u)},onRequestHideOptions:h=>{s==null||s(h)},onRequestHighlightOption:(h,{id:u,direction:m})=>{if(!i)return;const g=this.highlightedOptionId;let v=this._optionIds.indexOf(u)>-1?u:void 0;if(!v)if(!g)v=this._optionIds[0];else{const x=this._optionIds.indexOf(g);v=x>-1?this._optionIds[x+m]:void 0}v&&this.highlightOption(h,v)},onRequestHighlightFirstOption:h=>{this.highlightOption(h,this._optionIds[0])},onRequestHighlightLastOption:h=>{this.highlightOption(h,this._optionIds[this._optionIds.length-1])},onRequestSelectOption:(h,{id:u})=>{u&&this._optionIds.indexOf(u)!==-1&&(d==null||d(h,{id:u}))}}:{}}renderOption(e,i){const t=i.getOptionProps,s=i.getDisabledOptionProps,d=e.props,h=d.id,u=d.isDisabled,m=d.isHighlighted,g=d.isSelected,v=d.renderBeforeLabel,x=d.renderAfterLabel,r=d.children,a=p=>{var c;return typeof p=="function"&&!(p!=null&&(c=p.prototype)!==null&&c!==void 0&&c.isReactComponent)?p.bind(null,{id:h,isDisabled:u,isSelected:g,isHighlighted:m,children:r}):p};let l={...L(e.props,[...T.allowedProps,...ye.Item.allowedProps]),...t({id:h}),renderBeforeLabel:a(v),renderAfterLabel:a(x)};return g?l.variant="selected":m&&(l.variant="highlighted"),u?(l.variant="disabled",l={...l,...s()}):this._optionIds.push(h),f(qt,{optionsItemProps:l,selectOption:e},r)}renderGroup(e,i){const t=i.getOptionProps,s=i.getDisabledOptionProps,d=i.isFirstChild,h=i.isLastChild,u=i.afterGroup,m=e.props,g=m.id,v=m.renderLabel,x=m.children,r=B(m,hn),a=[];return!d&&!u&&a.push(ct||(ct=f(ye.Separator,null))),a.push(f(ye,Object.assign({id:g,as:"ul",role:"group",renderLabel:v},L(r,[...ye.allowedProps,...W.allowedProps])),b.Children.map(x,l=>this.renderOption(l,{getOptionProps:t,getDisabledOptionProps:s})))),h||a.push(ut||(ut=f(ye.Separator,null))),a}renderList(e){const i=e.getListProps,t=e.getOptionProps,s=e.getDisabledOptionProps,d=this.props,h=d.isShowingOptions,u=d.optionsMaxWidth,m=d.optionsMaxHeight,g=d.visibleOptionsCount,v=d.children;let x=!1;const r=h?{display:"block",overflowY:"auto",maxHeight:m||this._optionHeight*g,maxWidth:u||this.width,background:"primary",elementRef:a=>this._listView=a}:{maxHeight:0};return f(G,r,f(ye,i({as:"ul",elementRef:this.handleListRef}),h?b.Children.map(v,(a,l)=>{if(!(!a||!P(a,[W,T]))){if(P(a,[T]))return x=!1,this.renderOption(a,{getOptionProps:t,getDisabledOptionProps:s});if(P(a,[W])){const p=x;return x=!0,this.renderGroup(a,{getOptionProps:t,getDisabledOptionProps:s,isFirstChild:l===0,isLastChild:l===b.Children.count(v)-1,afterGroup:p})}}}):null))}renderIcon(){const e=this.props,i=e.styles,t=e.isShowingOptions;return f("span",{css:i==null?void 0:i.icon},t?ht||(ht=f(Ae,{inline:!1})):ft||(ft=f(Ie,{inline:!1})))}renderInput(e){const i=e.getInputProps,t=e.getTriggerProps,s=this.props,d=s.renderLabel,h=s.inputValue,u=s.placeholder,m=s.isRequired,g=s.shouldNotWrap,v=s.size,x=s.isInline,r=s.width,a=s.htmlSize,l=s.messages,p=s.renderBeforeInput,c=s.renderAfterInput,A=s.onFocus,z=s.onBlur,y=s.onInputChange,w=s.onRequestHideOptions,S=B(s,fn),k=this.interaction,D=L(S,Gt.allowedProps),Se=t({...D}),Oe=Se.ref,ne=B(Se,gn),He=typeof y<"u",Me=He?{}:{role:po()?"button":"combobox",title:h,"aria-autocomplete":void 0,"aria-readonly":!0};D.autoComplete&&(Me.autoComplete=D.autoComplete);const X={id:this.id,renderLabel:d,placeholder:u,size:v,width:r,htmlSize:a,messages:l,value:h,inputRef:Mi(Oe,this.handleInputRef),inputContainerRef:this.handleInputContainerRef,interaction:k==="enabled"&&!He?"readonly":k,isRequired:m,shouldNotWrap:g,display:x?"inline-block":"block",renderBeforeInput:p,renderAfterInput:c||this.renderIcon(),onChange:typeof y=="function"?y:h?()=>{}:void 0,onFocus:A,onBlur:Mi(z,w),...Me};return f(nn,Object.assign({},ne,i(X)))}render(){const e=this.props,i=e.constrain,t=e.placement,s=e.mountNode,d=e.assistiveText,h=e.isShowingOptions,u=e.styles;this._optionIds=[];const m=this.highlightedOptionId,g=this.selectedOptionId;return f(no,Object.assign({highlightedOptionId:m,isShowingOptions:h,selectedOptionId:g},this.getEventHandlers()),({getRootProps:v,getInputProps:x,getTriggerProps:r,getListProps:a,getOptionProps:l,getDisabledOptionProps:p,getDescriptionProps:c})=>f("span",Object.assign({},v({css:u==null?void 0:u.select}),{ref:A=>this.ref=A}),this.renderInput({getInputProps:x,getTriggerProps:r}),f("span",Object.assign({},c(),{css:u==null?void 0:u.assistiveText}),d),f(so,{constrain:i,placement:t,mountNode:s,positionTarget:this._inputContainer,isShowingContent:h,shouldReturnFocus:!1,withArrow:!1},this.renderList({getListProps:a,getOptionProps:l,getDisabledOptionProps:p}))))}},Q.displayName="Select",Q.componentId="Select",Q.allowedProps=un,Q.propTypes=cn,Q.defaultProps={inputValue:"",isShowingOptions:!1,size:"medium",interaction:void 0,isRequired:!1,isInline:!1,visibleOptionsCount:8,placement:"bottom stretch",constrain:"window",shouldNotWrap:!1,scrollToHighlightedOption:!0},Q.Option=T,Q.Group=W,Q))||$e)||$e)||$e);const mn={id:o.string.isRequired,value:o.oneOfType([o.string,o.number]).isRequired,isDisabled:o.bool,renderBeforeLabel:o.oneOfType([o.node,o.func]),renderAfterLabel:o.oneOfType([o.node,o.func]),children:o.string},bn=["id","value","isDisabled","renderBeforeLabel","renderAfterLabel","children"];class q extends b.Component{render(){return null}}q.displayName="Option";q.componentId="SimpleSelect.Option";q.allowedProps=bn;q.propTypes=mn;q.defaultProps={isDisabled:!1};const vn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,children:Re.oneOf([q])},yn=["renderLabel","children"];class Y extends b.Component{render(){return null}}Y.displayName="Group";Y.componentId="SimpleSelect.Group";Y.allowedProps=yn;Y.propTypes=vn;Y.defaultProps={};const wn={renderLabel:o.oneOfType([o.node,o.func]).isRequired,value:o.oneOfType([o.string,o.number]),defaultValue:o.string,id:o.string,size:o.oneOf(["small","medium","large"]),assistiveText:o.string,placeholder:o.string,interaction:o.oneOf(["enabled","disabled","readonly"]),isRequired:o.bool,isInline:o.bool,width:o.string,visibleOptionsCount:o.number,optionsMaxHeight:o.string,optionsMaxWidth:o.string,messages:o.arrayOf(we.message),placement:ke.placement,constrain:ke.constrain,mountNode:ke.mountNode,onChange:o.func,onFocus:o.func,onBlur:o.func,onShowOptions:o.func,onHideOptions:o.func,inputRef:o.func,listRef:o.func,renderEmptyOption:o.oneOfType([o.node,o.func]),renderBeforeInput:o.oneOfType([o.node,o.func]),renderAfterInput:o.oneOfType([o.node,o.func]),children:Re.oneOf([Y,q])},Sn=["renderLabel","value","defaultValue","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","visibleOptionsCount","optionsMaxHeight","optionsMaxWidth","messages","placement","constrain","mountNode","onChange","onFocus","onBlur","onShowOptions","onHideOptions","inputRef","listRef","renderEmptyOption","renderBeforeInput","renderAfterInput","children"],On=["id","value","children","renderBeforeLabel","renderAfterLabel"],_n=["id","renderLabel","children"],xn=["renderLabel","value","defaultValue","id","size","assistiveText","placeholder","interaction","isRequired","isInline","width","optionsMaxWidth","optionsMaxHeight","visibleOptionsCount","messages","placement","constrain","mountNode","inputRef","listRef","renderEmptyOption","renderBeforeInput","renderAfterInput","onFocus","onBlur","onShowOptions","onHideOptions","children"];var gt,mt,Ke,ee;let bt=(gt=ii(),mt=Oi(),gt(Ke=mt(Ke=(ee=class extends b.Component{constructor(e){super(e),this.ref=null,this._emptyOptionId=void 0,this.getOption=(t,s)=>{const d=b.Children.toArray(this.props.children);let h;for(let u=0;u{this.ref=t},this.handleBlur=t=>{this.setState({highlightedOptionId:void 0}),typeof this.props.onBlur=="function"&&this.props.onBlur(t)},this.handleShowOptions=t=>{this.setState({isShowingOptions:!0}),typeof this.props.onShowOptions=="function"&&this.props.onShowOptions(t)},this.handleHideOptions=t=>{this.setState(s=>{const d=this.getOption("id",s.selectedOptionId);return{isShowingOptions:!1,highlightedOptionId:void 0,inputValue:d?d.props.children:""}}),typeof this.props.onHideOptions=="function"&&this.props.onHideOptions(t)},this.handleHighlightOption=(t,{id:s})=>{if(s===this._emptyOptionId)return;const d=this.getOption("id",s),h=d==null?void 0:d.props.children,u=t.type==="keydown"?h:this.state.inputValue;this.setState({highlightedOptionId:s,inputValue:u})},this.handleSelectOption=(t,{id:s})=>{if(s===this._emptyOptionId){this.setState({isShowingOptions:!1});return}const d=this.getOption("id",s),h=d&&d.props.value;this.isControlled?this.setState({isShowingOptions:!1}):this.setState(u=>({isShowingOptions:!1,selectedOptionId:s,inputValue:d?d.props.children:u.inputValue})),d&&typeof this.props.onChange=="function"&&this.props.onChange(t,{value:h,id:s}),typeof this.props.onHideOptions=="function"&&this.props.onHideOptions(t)};const i=this.getInitialOption(e);this.state={inputValue:i?i.props.children:"",isShowingOptions:!1,highlightedOptionId:void 0,selectedOptionId:i?i.props.id:void 0},this._emptyOptionId=e.deterministicId("Select-EmptyOption")}get _select(){return this.ref}focus(){this.ref&&this.ref.focus()}get focused(){return this.ref?this.ref.focused:!1}get id(){return this.ref?this.ref.id:void 0}get isControlled(){return typeof this.props.value<"u"}get interaction(){return De({props:this.props})}componentDidUpdate(e){if(this.props.value!==e.value){let i=this.getOption("value",this.props.value);typeof this.props.value>"u"&&(i=this.getOption("value",e.value)),this.setState({inputValue:i?i.props.children:"",selectedOptionId:i?i.props.id:""})}}getInitialOption(e){const i=e.value,t=e.defaultValue,s=i||t;return typeof s=="string"||typeof s=="number"?this.getOption("value",s):this.getFirstOption()}getOptionLabelById(e){const i=this.getOption("id",e);return i?i.props.children:""}getFirstOption(){const e=b.Children.toArray(this.props.children);let i;for(let t=0;tP(i,[q])?this.renderOption(i):P(i,[Y])?this.renderGroup(i):null).filter(i=>!!i),e.length===0?this.renderEmptyOption():e}renderEmptyOption(){return H.createElement(Xe.Option,{id:this._emptyOptionId,isHighlighted:!1,isSelected:!1},ie(this.props.renderEmptyOption))}renderOption(e){const i=e.props,t=i.id,s=i.value,d=i.children,h=i.renderBeforeLabel,u=i.renderAfterLabel,m=B(i,On),g=e.props.isDisabled,v=t===this.state.selectedOptionId,x=t===this.state.highlightedOptionId,r=a=>{var l;return typeof a=="function"&&!(a!=null&&(l=a.prototype)!==null&&l!==void 0&&l.isReactComponent)?a.bind(null,{id:t,isDisabled:g,isSelected:v,isHighlighted:x,children:d}):a};return H.createElement(Xe.Option,Object.assign({id:t,value:s,key:e.key||t,isHighlighted:t===this.state.highlightedOptionId,isSelected:t===this.state.selectedOptionId,isDisabled:e.props.isDisabled,renderBeforeLabel:r(h),renderAfterLabel:r(u)},Je(m)),d)}renderGroup(e){const i=e.props,t=i.id,s=i.renderLabel,d=i.children,h=B(i,_n);return H.createElement(Xe.Group,Object.assign({renderLabel:s,key:e.key||t},Je(h)),b.Children.map(d,u=>this.renderOption(u)))}render(){const e=this.props,i=e.renderLabel;e.value,e.defaultValue;const t=e.id,s=e.size,d=e.assistiveText,h=e.placeholder;e.interaction;const u=e.isRequired,m=e.isInline,g=e.width,v=e.optionsMaxWidth,x=e.optionsMaxHeight,r=e.visibleOptionsCount,a=e.messages,l=e.placement,p=e.constrain,c=e.mountNode,A=e.inputRef,z=e.listRef;e.renderEmptyOption;const y=e.renderBeforeInput,w=e.renderAfterInput,S=e.onFocus;e.onBlur,e.onShowOptions,e.onHideOptions,e.children;const k=B(e,xn);return H.createElement(Xe,Object.assign({renderLabel:i,inputValue:this.state.inputValue,isShowingOptions:this.state.isShowingOptions,id:t,size:s,assistiveText:d,placeholder:h,interaction:this.interaction,isRequired:u,isInline:m,width:g,optionsMaxWidth:v,optionsMaxHeight:x,visibleOptionsCount:r,messages:a,placement:l,constrain:p,mountNode:c,ref:this.handleRef,inputRef:A,listRef:z,renderBeforeInput:y,renderAfterInput:w,onFocus:S,onBlur:this.handleBlur,onRequestShowOptions:this.handleShowOptions,onRequestHideOptions:this.handleHideOptions,onRequestHighlightOption:this.handleHighlightOption,onRequestSelectOption:this.handleSelectOption},Je(k)),this.renderChildren())}},ee.displayName="SimpleSelect",ee.componentId="SimpleSelect",ee.Option=q,ee.Group=Y,ee.allowedProps=Sn,ee.propTypes=wn,ee.defaultProps={size:"medium",isRequired:!1,isInline:!1,visibleOptionsCount:8,placement:"bottom stretch",constrain:"window",renderEmptyOption:"---"},ee))||Ke)||Ke);const $n=(n,e)=>{const i=e.layout;return{table:{label:"table",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,display:"table",width:"100%",borderCollapse:"collapse",borderSpacing:0,...i==="fixed"&&{tableLayout:"fixed"},caption:{textAlign:"start"}}}},kn=n=>{const e=n.colors,i=n.typography,t=n.key,s={canvas:{color:n["ic-brand-font-color-dark"]}};return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest},...s[t]}},Rn=n=>({head:{label:"head",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background}}),Cn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},In=(n,e)=>{const i=e.hover,t=e.isStacked;return{row:{label:"row",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,boxSizing:"border-box",borderBottomStyle:"solid",borderBottomWidth:"0.0625rem",borderBottomColor:n.borderColor,...i&&{borderLeft:"0.1875rem solid transparent",borderRight:"0.1875rem solid transparent","&:hover":{borderLeftColor:n.hoverBorderColor,borderRightColor:n.hoverBorderColor}},...t&&{padding:n.padding}}}},An=n=>{const e=n.colors,i=n.typography,t=n.spacing,s=n.key,d={canvas:{hoverBorderColor:n["ic-brand-primary"]}};return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,hoverBorderColor:e==null?void 0:e.borderBrand,padding:`${t==null?void 0:t.xSmall} 0`},...d[s]}},Ln={children:o.node,hover:o.bool,isStacked:o.bool,headers:o.arrayOf(o.oneOfType([o.node,o.func]))},Fn=["children","hover","isStacked","headers"];var vt,yt,he;let gi=(vt=M(In,An),vt(yt=(he=class mi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles,s=e.isStacked,d=e.headers;return f(G,Object.assign({},G.omitViewProps(L(this.props,mi.allowedProps),mi),{as:s?"div":"tr",css:t==null?void 0:t.row,role:s?"row":void 0}),b.Children.toArray(i).filter(Boolean).map((h,u)=>Ve(h,{key:h.props.name,isStacked:s,header:d&&d[u]})))}},he.displayName="Row",he.componentId="Table.Row",he.allowedProps=Fn,he.propTypes=Ln,he.defaultProps={children:null},he))||yt);const Pn=(n,e)=>{const i=e.onRequestSort,t=e.textAlign,s={color:n.color,fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:"bold",lineHeight:n.lineHeight,padding:n.padding},d={start:{flexDirection:"row"},center:{justifyContent:"center"},end:{flexDirection:"row-reverse"}};return{colHeader:{label:"colHeader",background:n.background,verticalAlign:"middle",boxSizing:"border-box",...!i&&s,textAlign:t},button:{label:"colHeader__button",...s,display:"flex",alignItems:"center",boxSizing:"border-box",border:"none",width:"100%",height:"100%",background:"transparent",cursor:"pointer",outline:"none","&::-moz-focus-inner":{border:0},"&:focus":{outline:`${n.focusOutlineWidth} ${n.focusOutlineStyle} ${n.focusOutlineColor}`},...d[t]},buttonContent:{label:"colHeader__buttonContent",display:"flex",alignItems:"center"}}},Hn=n=>{const e=n.typography,i=n.colors,t=n.borders,s=n.spacing;return{...{fontSize:e==null?void 0:e.fontSizeMedium,fontFamily:e==null?void 0:e.fontFamily,color:i==null?void 0:i.textDarkest,background:i==null?void 0:i.backgroundLightest,borderColor:i==null?void 0:i.borderMedium,lineHeight:e==null?void 0:e.lineHeightCondensed,padding:`${s==null?void 0:s.xSmall} ${s==null?void 0:s.small}`,focusOutlineColor:i==null?void 0:i.borderBrand,focusOutlineWidth:t==null?void 0:t.widthMedium,focusOutlineStyle:t==null?void 0:t.style}}},Mn={id:o.string.isRequired,stackedSortByLabel:o.string,children:o.oneOfType([o.node,o.func]),width:o.oneOfType([o.string,o.number]),textAlign:o.oneOf(["start","center","end"]),sortDirection:o.oneOf(["none","ascending","descending"]),onRequestSort:o.func,scope:o.oneOf(["row","col","rowgroup","colgroup","auto"])},zn=["id","stackedSortByLabel","children","width","textAlign","sortDirection","onRequestSort","scope"];var wt,St,fe,Ot,_t;let bi=(wt=M(Pn,Hn),wt(St=(fe=class jt extends b.Component{constructor(...e){super(...e),this.handleClick=i=>{const t=this.props,s=t.id,d=t.onRequestSort;d&&d(i,{id:s})}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderSortArrow(){const e=this.props,i=e.sortDirection,t=e.onRequestSort;if(i==="ascending")return Ot||(Ot=f(Pe,null));if(i==="descending")return _t||(_t=f(Fe,null));if(t)return f(Le,{css:{opacity:"30%"}})}render(){const e=this.props,i=e.onRequestSort,t=e.width,s=e.children,d=e.sortDirection,h=e.scope,u=e.styles;return f("th",Object.assign({},L(this.props,jt.allowedProps),{css:u==null?void 0:u.colHeader,style:{width:t},scope:h,"aria-sort":d}),i&&f("button",{onClick:this.handleClick,css:u==null?void 0:u.button},f("div",{css:u==null?void 0:u.buttonContent},ie(s),this.renderSortArrow())),!i&&s,!i&&this.renderSortArrow())}},fe.displayName="ColHeader",fe.componentId="Table.ColHeader",fe.allowedProps=zn,fe.propTypes=Mn,fe.defaultProps={textAlign:"start",sortDirection:"none",children:null,scope:"col"},fe))||St);const En={children:o.node,isStacked:o.bool,renderSortLabel:o.oneOfType([o.node,o.func])},Bn=["children","isStacked","renderSortLabel"];var xt,$t,ge,kt;let Dn=(xt=M(Rn,Cn),xt($t=(ge=class Ut extends b.Component{get isSortable(){const e=b.Children.toArray(this.props.children),i=Qe(e,1),t=i[0];let s=!1;return t&&b.Children.forEach(t.props.children,d=>{P(d,[bi])&&d.props.onRequestSort&&(s=!0)}),s}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;this.isSortable&&typeof this.props.renderSortLabel>"u"&&Mt(!1,"[Table.Head] The `renderSortLabel` prop should be provided when Table is sortable."),(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}renderSelect(){const e=this.props,i=e.children,t=e.renderSortLabel,s=b.Children.toArray(i),d=Qe(s,1),h=d[0];if(!P(h,[gi]))return null;const u=[],m={};let g,v=0;if(b.Children.forEach(h.props.children,r=>{if(v+=1,P(r,[bi])){const a=r.props,l=a.id,p=a.stackedSortByLabel,c=a.sortDirection,A=a.onRequestSort,z=p||l;A&&(u.push({id:l,label:z}),m[l]=A,c!=="none"&&(g=l))}}),!u.length)return null;const x=(r,{value:a})=>{a&&typeof m[a]=="function"&&m[a](r,{id:`${a}`})};return f("div",{role:"rowgroup"},f("div",{role:"row"},f("div",{role:"cell","aria-colspan":v},f(bt,{renderLabel:t?ie(t):kt||(kt=f(Ce,null)),renderBeforeInput:g&&te,value:g,onChange:x},u.map(({id:r,label:a})=>f(bt.Option,{id:r,key:r,value:r,renderBeforeLabel:r===g?te:()=>f(te,{style:{color:"transparent"}})},a))))))}render(){const e=this.props,i=e.children,t=e.isStacked,s=e.styles;return t?this.renderSelect():f("thead",Object.assign({},L(this.props,Ut.allowedProps),{css:s==null?void 0:s.head}),b.Children.map(i,d=>P(d,[gi])?d:null))}},ge.displayName="Head",ge.componentId="Table.Head",ge.allowedProps=Bn,ge.propTypes=En,ge.defaultProps={children:null},ge))||$t);const Wn=n=>({body:{label:"body",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background}}),Vn=n=>{const e=n.colors,i=n.typography;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest}}},Nn={children:o.node,hover:o.bool,isStacked:o.bool,headers:o.arrayOf(o.oneOfType([o.node,o.func]))},Tn=["children","hover","isStacked","headers"];var Rt,Ct,me;let qn=(Rt=M(Wn,Vn),Rt(Ct=(me=class vi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.hover,s=e.isStacked,d=e.headers,h=e.styles;return f(G,Object.assign({},G.omitViewProps(L(this.props,vi.allowedProps),vi),{as:s?"div":"tbody",css:h==null?void 0:h.body,role:s?"rowgroup":void 0}),b.Children.map(i,u=>Ve(u,{key:u.props.name,hover:t,isStacked:s,headers:d})))}},me.displayName="Body",me.componentId="Table.Body",me.allowedProps=Tn,me.propTypes=Nn,me.defaultProps={children:null},me))||Ct);const Gn=(n,e)=>{const i=e.textAlign;return{rowHeader:{label:"rowHeader",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:"bold",color:n.color,background:n.background,boxSizing:"border-box",verticalAlign:"middle",lineHeight:n.lineHeight,padding:n.padding,...i&&{textAlign:i}}}},jn=n=>{const e=n.colors,i=n.typography,t=n.spacing;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,lineHeight:i==null?void 0:i.lineHeightCondensed,padding:`${t==null?void 0:t.xSmall} ${t==null?void 0:t.small}`}}},Un={children:o.oneOfType([o.node,o.func]),isStacked:o.bool,textAlign:o.oneOf(["start","center","end"])},Zn=["children","isStacked","textAlign"];var It,At,be;let Yn=(It=M(Gn,jn),It(At=(be=class yi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.isStacked,s=e.styles;return f(G,Object.assign({},G.omitViewProps(L(this.props,yi.allowedProps),yi),{as:t?"div":"th",css:s==null?void 0:s.rowHeader,scope:"row",role:t?"rowheader":void 0}),ie(i))}},be.displayName="RowHeader",be.componentId="Table.RowHeader",be.allowedProps=Zn,be.propTypes=Un,be.defaultProps={textAlign:"start",children:null},be))||At);const Xn=(n,e)=>{const i=e.textAlign;return{cell:{label:"cell",fontSize:n.fontSize,fontFamily:n.fontFamily,fontWeight:n.fontWeight,color:n.color,background:n.background,boxSizing:"border-box",verticalAlign:"middle",lineHeight:n.lineHeight,padding:n.padding,...i&&{textAlign:i}}}},Kn=n=>{const e=n.colors,i=n.typography,t=n.spacing;return{...{fontSize:i==null?void 0:i.fontSizeMedium,fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,borderColor:e==null?void 0:e.borderMedium,lineHeight:i==null?void 0:i.lineHeightCondensed,padding:`${t==null?void 0:t.xSmall} ${t==null?void 0:t.small}`}}},Jn={children:o.oneOfType([o.node,o.func]),isStacked:o.bool,header:o.oneOfType([o.node,o.func]),textAlign:o.oneOf(["start","center","end"])},Qn=["children","isStacked","header","textAlign"];var Lt,Ft,ve;let es=(Lt=M(Xn,Kn),Lt(Ft=(ve=class wi extends b.Component{componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}render(){const e=this.props,i=e.children,t=e.styles,s=e.isStacked,d=e.header;return f(G,Object.assign({},G.omitViewProps(L(this.props,wi.allowedProps),wi),{as:s?"div":"td",css:t==null?void 0:t.cell,role:s?"cell":void 0}),d&&ie(d),d&&": ",ie(i))}},ve.displayName="Cell",ve.componentId="Table.Cell",ve.allowedProps=Qn,ve.propTypes=Jn,ve.defaultProps={textAlign:"start",children:null},ve))||Ft);const is={caption:o.node.isRequired,children:o.node,margin:io.spacing,elementRef:o.func,hover:o.bool,layout:o.oneOf(["auto","fixed","stacked"])},ts=["caption","children","margin","elementRef","hover","layout"];var Pt,Ht,E;let cs=(Pt=M($n,kn),Pt(Ht=(E=class Si extends b.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=i=>{const t=this.props.elementRef;this.ref=i,typeof t=="function"&&t(i)}}componentDidMount(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}componentDidUpdate(){var e,i;(e=(i=this.props).makeStyles)===null||e===void 0||e.call(i)}getHeaders(){const e=this.props.children,i=b.Children.toArray(e),t=Qe(i,1),s=t[0],d=b.Children.toArray(s.props.children),h=Qe(d,1),u=h[0];if(u)return b.Children.map(u.props.children,m=>m.props.children)}render(){const e=this.props,i=e.margin,t=e.layout,s=e.caption,d=e.children,h=e.hover,u=e.styles,m=t==="stacked",g=m?this.getHeaders():void 0;return f(G,Object.assign({},G.omitViewProps(L(this.props,Si.allowedProps),Si),{as:m?"div":"table",margin:i,elementRef:this.handleRef,css:u==null?void 0:u.table,role:m?"table":void 0,"aria-label":m?s:void 0}),!m&&f("caption",null,f(Ce,null,s)),b.Children.map(d,v=>Ve(v,{key:v.props.name,isStacked:m,hover:h,headers:g})))}},E.displayName="Table",E.componentId="Table",E.allowedProps=ts,E.propTypes=is,E.defaultProps={children:null,hover:!1,layout:"auto"},E.Head=Dn,E.Body=qn,E.Row=gi,E.ColHeader=bi,E.RowHeader=Yn,E.Cell=es,E))||Ht);export{rs as F,N as G,Ie as I,bt as S,nn as T,cs as a,we as b,et as c,Xe as d,Ae as e,oe as f,Lo as g,zo as h,ei as i,pi as j,_i as k,te as l,Le as m,Fe as n,Pe as o}; diff --git a/assets/index-CyJKhc9Y.js b/assets/index-DFC9d6f5.js similarity index 99% rename from assets/index-CyJKhc9Y.js rename to assets/index-DFC9d6f5.js index 8f7ef85..c83e09c 100644 --- a/assets/index-CyJKhc9Y.js +++ b/assets/index-DFC9d6f5.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css"])))=>i.map(i=>d[i]); -import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t as zp,G as Lp,h as _p,i as Un,p as Bp,o as Up}from"./index-D4PUjdd4.js";import{T as Ip,I as jp,e as Np}from"./index-DrEKPqe2.js";import{I as Gp,a as ha}from"./index-B30b3Gjx.js";import{i as Fp,U as Hp,S as Kp}from"./RenderTopNavBar-CJuzk9-4.js";class B{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=Qi(this,e,t);let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),ot.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Qi(this,e,t);let i=[];return this.decompose(e,t,i,0),ot.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new rn(this),r=new rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new rn(this,e)}iterRange(e,t=this.length){return new Kc(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Jc(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?B.empty:e.length<=32?new ne(e):ot.from(ne.split(e,[]))}}class ne extends B{constructor(e,t=Jp(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new em(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ne(ca(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=gs(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ne(l,o.length+r.length));else{let a=l.length>>1;i.push(new ne(l.slice(0,a)),new ne(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ne))return super.replace(e,t,i);[e,t]=Qi(this,e,t);let s=gs(this.text,gs(i.text,ca(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ne(s,r):ot.from(ne.split(s,[]),r)}sliceString(e,t=this.length,i=` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css"])))=>i.map(i=>d[i]); +import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t as zp,G as Lp,h as _p,i as Un,p as Bp,o as Up}from"./index-Bko_xNHh.js";import{T as Ip,I as jp,e as Np}from"./index-C29H8B_2.js";import{I as Gp,a as ha}from"./index-XoI2c9b1.js";import{i as Fp,U as Hp,S as Kp}from"./RenderTopNavBar-C6YLj6sY.js";class B{lineAt(e){if(e<0||e>this.length)throw new RangeError(`Invalid position ${e} in document of length ${this.length}`);return this.lineInner(e,!1,1,0)}line(e){if(e<1||e>this.lines)throw new RangeError(`Invalid line number ${e} in ${this.lines}-line document`);return this.lineInner(e,!0,1,0)}replace(e,t,i){[e,t]=Qi(this,e,t);let s=[];return this.decompose(0,e,s,2),i.length&&i.decompose(0,i.length,s,3),this.decompose(t,this.length,s,1),ot.from(s,this.length-(t-e)+i.length)}append(e){return this.replace(this.length,this.length,e)}slice(e,t=this.length){[e,t]=Qi(this,e,t);let i=[];return this.decompose(e,t,i,0),ot.from(i,t-e)}eq(e){if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1;let t=this.scanIdentical(e,1),i=this.length-this.scanIdentical(e,-1),s=new rn(this),r=new rn(e);for(let o=t,l=t;;){if(s.next(o),r.next(o),o=0,s.lineBreak!=r.lineBreak||s.done!=r.done||s.value!=r.value)return!1;if(l+=s.value.length,s.done||l>=i)return!0}}iter(e=1){return new rn(this,e)}iterRange(e,t=this.length){return new Kc(this,e,t)}iterLines(e,t){let i;if(e==null)i=this.iter();else{t==null&&(t=this.lines+1);let s=this.line(e).from;i=this.iterRange(s,Math.max(s,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))}return new Jc(i)}toString(){return this.sliceString(0)}toJSON(){let e=[];return this.flatten(e),e}constructor(){}static of(e){if(e.length==0)throw new RangeError("A document must have at least one line");return e.length==1&&!e[0]?B.empty:e.length<=32?new ne(e):ot.from(ne.split(e,[]))}}class ne extends B{constructor(e,t=Jp(e)){super(),this.text=e,this.length=t}get lines(){return this.text.length}get children(){return null}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.text[r],l=s+o.length;if((t?i:l)>=e)return new em(s,l,i,o);s=l+1,i++}}decompose(e,t,i,s){let r=e<=0&&t>=this.length?this:new ne(ca(this.text,e,t),Math.min(t,this.length)-Math.max(0,e));if(s&1){let o=i.pop(),l=gs(r.text,o.text.slice(),0,r.length);if(l.length<=32)i.push(new ne(l,o.length+r.length));else{let a=l.length>>1;i.push(new ne(l.slice(0,a)),new ne(l.slice(a)))}}else i.push(r)}replace(e,t,i){if(!(i instanceof ne))return super.replace(e,t,i);[e,t]=Qi(this,e,t);let s=gs(this.text,gs(i.text,ca(this.text,0,e)),t),r=this.length+i.length-(t-e);return s.length<=32?new ne(s,r):ot.from(ne.split(s,[]),r)}sliceString(e,t=this.length,i=` `){[e,t]=Qi(this,e,t);let s="";for(let r=0,o=0;r<=t&&oe&&o&&(s+=i),er&&(s+=l.slice(Math.max(0,e-r),t-r)),r=a+1}return s}flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}static split(e,t){let i=[],s=-1;for(let r of e)i.push(r),s+=r.length+1,i.length==32&&(t.push(new ne(i,s)),i=[],s=-1);return s>-1&&t.push(new ne(i,s)),t}}class ot extends B{constructor(e,t){super(),this.children=e,this.length=t,this.lines=0;for(let i of e)this.lines+=i.lines}lineInner(e,t,i,s){for(let r=0;;r++){let o=this.children[r],l=s+o.length,a=i+o.lines-1;if((t?a:l)>=e)return o.lineInner(e,t,i,s);s=l+1,i=a+1}}decompose(e,t,i,s){for(let r=0,o=0;o<=t&&r=o){let h=s&((o<=e?1:0)|(a>=t?2:0));o>=e&&a<=t&&!h?i.push(l):l.decompose(e-o,t-o,i,h)}o=a+1}}replace(e,t,i){if([e,t]=Qi(this,e,t),i.lines=r&&t<=l){let a=o.replace(e-r,t-r,i),h=this.lines-o.lines+a.lines;if(a.lines>4&&a.lines>h>>6){let c=this.children.slice();return c[s]=a,new ot(c,this.length-(t-e)+i.length)}return super.replace(r,l,a)}r=l+1}return super.replace(e,t,i)}sliceString(e,t=this.length,i=` `){[e,t]=Qi(this,e,t);let s="";for(let r=0,o=0;re&&r&&(s+=i),eo&&(s+=l.sliceString(e-o,t-o,i)),o=a+1}return s}flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){if(!(e instanceof ot))return 0;let i=0,[s,r,o,l]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1];for(;;s+=t,r+=t){if(s==o||r==l)return i;let a=this.children[s],h=e.children[r];if(a!=h)return i+a.scanIdentical(h,t);i+=a.length+1}}static from(e,t=e.reduce((i,s)=>i+s.length+1,-1)){let i=0;for(let d of e)i+=d.lines;if(i<32){let d=[];for(let O of e)O.flatten(d);return new ne(d,t)}let s=Math.max(32,i>>5),r=s<<1,o=s>>1,l=[],a=0,h=-1,c=[];function f(d){let O;if(d.lines>r&&d instanceof ot)for(let m of d.children)f(m);else d.lines>o&&(a>o||!a)?(u(),l.push(d)):d instanceof ne&&a&&(O=c[c.length-1])instanceof ne&&d.lines+O.lines<=32?(a+=d.lines,h+=d.length+1,c[c.length-1]=new ne(O.text.concat(d.text),O.length+1+d.length)):(a+d.lines>s&&u(),a+=d.lines,h+=d.length+1,c.push(d))}function u(){a!=0&&(l.push(c.length==1?c[0]:ot.from(c,h)),h=-1,a=c.length=0)}for(let d of e)f(d);return u(),l.length==1?l[0]:new ot(l,t)}}B.empty=new ne([""],0);function Jp(n){let e=-1;for(let t of n)e+=t.length+1;return e}function gs(n,e,t=0,i=1e9){for(let s=0,r=0,o=!0;r=t&&(a>i&&(l=l.slice(0,i-s)),s0?1:(e instanceof ne?e.text.length:e.children.length)<<1]}nextInner(e,t){for(this.done=this.lineBreak=!1;;){let i=this.nodes.length-1,s=this.nodes[i],r=this.offsets[i],o=r>>1,l=s instanceof ne?s.text.length:s.children.length;if(o==(t>0?l:0)){if(i==0)return this.done=!0,this.value="",this;t>0&&this.offsets[i-1]++,this.nodes.pop(),this.offsets.pop()}else if((r&1)==(t>0?0:1)){if(this.offsets[i]+=t,e==0)return this.lineBreak=!0,this.value=` `,this;e--}else if(s instanceof ne){let a=s.text[o+(t<0?-1:0)];if(this.offsets[i]+=t,a.length>Math.max(0,e))return this.value=e==0?a:t>0?a.slice(e):a.slice(0,a.length-e),this;e-=a.length}else{let a=s.children[o+(t<0?-1:0)];e>a.length?(e-=a.length,this.offsets[i]+=t):(t<0&&this.offsets[i]--,this.nodes.push(a),this.offsets.push(t>0?1:(a instanceof ne?a.text.length:a.children.length)<<1))}}}next(e=0){return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)}}class Kc{constructor(e,t,i){this.value="",this.done=!1,this.cursor=new rn(e,t>i?-1:1),this.pos=t>i?e.length:0,this.from=Math.min(t,i),this.to=Math.max(t,i)}nextInner(e,t){if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos);let i=t<0?this.pos-this.from:this.to-this.pos;e>i&&(e=i),i-=e;let{value:s}=this.cursor.next(e);return this.pos+=(s.length+e)*t,this.value=s.length<=i?s:t<0?s.slice(s.length-i):s.slice(0,i),this.done=!this.value,this}next(e=0){return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),this.nextInner(e,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class Jc{constructor(e){this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){let{done:t,lineBreak:i,value:s}=this.inner.next(e);return t&&this.afterBreak?(this.value="",this.afterBreak=!1):t?(this.done=!0,this.value=""):i?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=s,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(B.prototype[Symbol.iterator]=function(){return this.iter()},rn.prototype[Symbol.iterator]=Kc.prototype[Symbol.iterator]=Jc.prototype[Symbol.iterator]=function(){return this});let em=class{constructor(e,t,i,s){this.from=e,this.to=t,this.number=i,this.text=s}get length(){return this.to-this.from}};function Qi(n,e,t){return e=Math.max(0,Math.min(n.length,e)),[e,Math.max(e,Math.min(n.length,t))]}let mi="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(n=>n?parseInt(n,36):1);for(let n=1;nn)return mi[e-1]<=n;return!1}function fa(n){return n>=127462&&n<=127487}const ua=8205;function me(n,e,t=!0,i=!0){return(t?ef:im)(n,e,i)}function ef(n,e,t){if(e==n.length)return e;e&&tf(n.charCodeAt(e))&&nf(n.charCodeAt(e-1))&&e--;let i=ue(n,e);for(e+=ze(i);e=0&&fa(ue(n,o));)r++,o-=2;if(r%2==0)break;e+=2}else break}return e}function im(n,e,t){for(;e>0;){let i=ef(n,e-2,t);if(i=56320&&n<57344}function nf(n){return n>=55296&&n<56320}function ue(n,e){let t=n.charCodeAt(e);if(!nf(t)||e+1==n.length)return t;let i=n.charCodeAt(e+1);return tf(i)?(t-55296<<10)+(i-56320)+65536:t}function cl(n){return n<=65535?String.fromCharCode(n):(n-=65536,String.fromCharCode((n>>10)+55296,(n&1023)+56320))}function ze(n){return n<65536?1:2}const io=/\r\n?|\n/;var Oe=function(n){return n[n.Simple=0]="Simple",n[n.TrackDel=1]="TrackDel",n[n.TrackBefore=2]="TrackBefore",n[n.TrackAfter=3]="TrackAfter",n}(Oe||(Oe={}));class ft{constructor(e){this.sections=e}get length(){let e=0;for(let t=0;te)return r+(e-s);r+=l}else{if(i!=Oe.Simple&&h>=e&&(i==Oe.TrackDel&&se||i==Oe.TrackBefore&&se))return null;if(h>e||h==e&&t<0&&!l)return e==s||t<0?r:r+a;r+=a}s=h}if(e>s)throw new RangeError(`Position ${e} is out of range for changeset of length ${s}`);return r}touchesRange(e,t=e){for(let i=0,s=0;i=0&&s<=t&&l>=e)return st?"cover":!0;s=l}return!1}toString(){let e="";for(let t=0;t=0?":"+s:"")}return e}toJSON(){return this.sections}static fromJSON(e){if(!Array.isArray(e)||e.length%2||e.some(t=>typeof t!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new ft(e)}static create(e){return new ft(e)}}class he extends ft{constructor(e,t){super(e),this.inserted=t}apply(e){if(this.length!=e.length)throw new RangeError("Applying change set to a document with the wrong length");return no(this,(t,i,s,r,o)=>e=e.replace(s,s+(i-t),o),!1),e}mapDesc(e,t=!1){return so(this,e,t,!0)}invert(e){let t=this.sections.slice(),i=[];for(let s=0,r=0;s=0){t[s]=l,t[s+1]=o;let a=s>>1;for(;i.length0&&Tt(i,t,r.text),r.forward(c),l+=c}let h=e[o++];for(;l>1].toJSON()))}return e}static of(e,t,i){let s=[],r=[],o=0,l=null;function a(c=!1){if(!c&&!s.length)return;ou||f<0||u>t)throw new RangeError(`Invalid change range ${f} to ${u} (in doc of length ${t})`);let O=d?typeof d=="string"?B.of(d.split(i||io)):d:B.empty,m=O.length;if(f==u&&m==0)return;fo&&ge(s,f-o,-1),ge(s,u-f,m),Tt(r,s,O),o=u}}return h(e),a(!l),l}static empty(e){return new he(e?[e,-1]:[],[])}static fromJSON(e){if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet");let t=[],i=[];for(let s=0;sl&&typeof o!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(r.length==1)t.push(r[0],0);else{for(;i.length=0&&t<=0&&t==n[s+1]?n[s]+=e:e==0&&n[s]==0?n[s+1]+=t:i?(n[s]+=e,n[s+1]+=t):n.push(e,t)}function Tt(n,e,t){if(t.length==0)return;let i=e.length-2>>1;if(i>1])),!(t||o==n.sections.length||n.sections[o+1]<0);)l=n.sections[o++],a=n.sections[o++];e(s,h,r,c,f),s=h,r=c}}}function so(n,e,t,i=!1){let s=[],r=i?[]:null,o=new un(n),l=new un(e);for(let a=-1;;)if(o.ins==-1&&l.ins==-1){let h=Math.min(o.len,l.len);ge(s,h,-1),o.forward(h),l.forward(h)}else if(l.ins>=0&&(o.ins<0||a==o.i||o.off==0&&(l.len=0&&a=0){let h=0,c=o.len;for(;c;)if(l.ins==-1){let f=Math.min(c,l.len);h+=f,c-=f,l.forward(f)}else if(l.ins==0&&l.lena||o.ins>=0&&o.len>a)&&(l||i.length>h),r.forward2(a),o.forward(a)}}}}class un{constructor(e){this.set=e,this.i=0,this.next()}next(){let{sections:e}=this.set;this.i>1;return t>=e.length?B.empty:e[t]}textBit(e){let{inserted:t}=this.set,i=this.i-2>>1;return i>=t.length&&!e?B.empty:t[i].slice(this.off,e==null?void 0:this.off+e)}forward(e){e==this.len?this.next():(this.len-=e,this.off+=e)}forward2(e){this.ins==-1?this.forward(e):e==this.ins?this.next():(this.ins-=e,this.off+=e)}}class Gt{constructor(e,t,i){this.from=e,this.to=t,this.flags=i}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let e=this.flags&7;return e==7?null:e}get goalColumn(){let e=this.flags>>6;return e==16777215?void 0:e}map(e,t=-1){let i,s;return this.empty?i=s=e.mapPos(this.from,t):(i=e.mapPos(this.from,1),s=e.mapPos(this.to,-1)),i==this.from&&s==this.to?this:new Gt(i,s,this.flags)}extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return y.range(e,t);let i=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t;return y.range(this.anchor,i)}eq(e,t=!1){return this.anchor==e.anchor&&this.head==e.head&&(!t||!this.empty||this.assoc==e.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(e){if(!e||typeof e.anchor!="number"||typeof e.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return y.range(e.anchor,e.head)}static create(e,t,i){return new Gt(e,t,i)}}class y{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){return e.empty?this:y.create(this.ranges.map(i=>i.map(e,t)),this.mainIndex)}eq(e,t=!1){if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1;for(let i=0;ie.toJSON()),main:this.mainIndex}}static fromJSON(e){if(!e||!Array.isArray(e.ranges)||typeof e.main!="number"||e.main>=e.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new y(e.ranges.map(t=>Gt.fromJSON(t)),e.main)}static single(e,t=e){return new y([y.range(e,t)],0)}static create(e,t=0){if(e.length==0)throw new RangeError("A selection needs at least one range");for(let i=0,s=0;se?8:0)|r)}static normalized(e,t=0){let i=e[t];e.sort((s,r)=>s.from-r.from),t=e.indexOf(i);for(let s=1;sr.head?y.range(a,l):y.range(l,a))}}return new y(e,t)}}function rf(n,e){for(let t of n.ranges)if(t.to>e)throw new RangeError("Selection points outside of document")}let fl=0;class T{constructor(e,t,i,s,r){this.combine=e,this.compareInput=t,this.compare=i,this.isStatic=s,this.id=fl++,this.default=e([]),this.extensions=typeof r=="function"?r(this):r}get reader(){return this}static define(e={}){return new T(e.combine||(t=>t),e.compareInput||((t,i)=>t===i),e.compare||(e.combine?(t,i)=>t===i:ul),!!e.static,e.enables)}of(e){return new bs([],this,0,e)}compute(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bs(e,this,1,t)}computeN(e,t){if(this.isStatic)throw new Error("Can't compute a static facet");return new bs(e,this,2,t)}from(e,t){return t||(t=i=>i),this.compute([e],i=>t(i.field(e)))}}function ul(n,e){return n==e||n.length==e.length&&n.every((t,i)=>t===e[i])}class bs{constructor(e,t,i,s){this.dependencies=e,this.facet=t,this.type=i,this.value=s,this.id=fl++}dynamicSlot(e){var t;let i=this.value,s=this.facet.compareInput,r=this.id,o=e[r]>>1,l=this.type==2,a=!1,h=!1,c=[];for(let f of this.dependencies)f=="doc"?a=!0:f=="selection"?h=!0:((t=e[f.id])!==null&&t!==void 0?t:1)&1||c.push(e[f.id]);return{create(f){return f.values[o]=i(f),1},update(f,u){if(a&&u.docChanged||h&&(u.docChanged||u.selection)||ro(f,c)){let d=i(f);if(l?!da(d,f.values[o],s):!s(d,f.values[o]))return f.values[o]=d,1}return 0},reconfigure:(f,u)=>{let d,O=u.config.address[r];if(O!=null){let m=Ts(u,O);if(this.dependencies.every(g=>g instanceof T?u.facet(g)===f.facet(g):g instanceof ce?u.field(g,!1)==f.field(g,!1):!0)||(l?da(d=i(f),m,s):s(d=i(f),m)))return f.values[o]=m,0}else d=i(f);return f.values[o]=d,1}}}}function da(n,e,t){if(n.length!=e.length)return!1;for(let i=0;in[a.id]),s=t.map(a=>a.type),r=i.filter(a=>!(a&1)),o=n[e.id]>>1;function l(a){let h=[];for(let c=0;ci===s),e);return e.provide&&(t.provides=e.provide(t)),t}create(e){let t=e.facet(Oa).find(i=>i.field==this);return((t==null?void 0:t.create)||this.createF)(e)}slot(e){let t=e[this.id]>>1;return{create:i=>(i.values[t]=this.create(i),1),update:(i,s)=>{let r=i.values[t],o=this.updateF(r,s);return this.compareF(r,o)?0:(i.values[t]=o,1)},reconfigure:(i,s)=>s.config.address[this.id]!=null?(i.values[t]=s.field(this),0):(i.values[t]=this.create(i),1)}}init(e){return[this,Oa.of({field:this,create:e})]}get extension(){return this}}const jt={lowest:4,low:3,default:2,high:1,highest:0};function _i(n){return e=>new of(e,n)}const kt={highest:_i(jt.highest),high:_i(jt.high),default:_i(jt.default),low:_i(jt.low),lowest:_i(jt.lowest)};class of{constructor(e,t){this.inner=e,this.prec=t}}class rr{of(e){return new oo(this,e)}reconfigure(e){return rr.reconfigure.of({compartment:this,extension:e})}get(e){return e.config.compartments.get(this)}}class oo{constructor(e,t){this.compartment=e,this.inner=t}}class Zs{constructor(e,t,i,s,r,o){for(this.base=e,this.compartments=t,this.dynamicSlots=i,this.address=s,this.staticValues=r,this.facets=o,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(e,t,i){let s=[],r=Object.create(null),o=new Map;for(let u of sm(e,t,o))u instanceof ce?s.push(u):(r[u.facet.id]||(r[u.facet.id]=[])).push(u);let l=Object.create(null),a=[],h=[];for(let u of s)l[u.id]=h.length<<1,h.push(d=>u.slot(d));let c=i==null?void 0:i.config.facets;for(let u in r){let d=r[u],O=d[0].facet,m=c&&c[u]||[];if(d.every(g=>g.type==0))if(l[O.id]=a.length<<1|1,ul(m,d))a.push(i.facet(O));else{let g=O.combine(d.map(b=>b.value));a.push(i&&O.compare(g,i.facet(O))?i.facet(O):g)}else{for(let g of d)g.type==0?(l[g.id]=a.length<<1|1,a.push(g.value)):(l[g.id]=h.length<<1,h.push(b=>g.dynamicSlot(b)));l[O.id]=h.length<<1,h.push(g=>nm(g,O,d))}}let f=h.map(u=>u(l));return new Zs(e,o,f,l,a,r)}}function sm(n,e,t){let i=[[],[],[],[],[]],s=new Map;function r(o,l){let a=s.get(o);if(a!=null){if(a<=l)return;let h=i[a].indexOf(o);h>-1&&i[a].splice(h,1),o instanceof oo&&t.delete(o.compartment)}if(s.set(o,l),Array.isArray(o))for(let h of o)r(h,l);else if(o instanceof oo){if(t.has(o.compartment))throw new RangeError("Duplicate use of compartment in extensions");let h=e.get(o.compartment)||o.inner;t.set(o.compartment,h),r(h,l)}else if(o instanceof of)r(o.inner,o.prec);else if(o instanceof ce)i[l].push(o),o.provides&&r(o.provides,l);else if(o instanceof bs)i[l].push(o),o.facet.extensions&&r(o.facet.extensions,jt.default);else{let h=o.extension;if(!h)throw new Error(`Unrecognized extension value in extension set (${o}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);r(h,l)}}return r(n,jt.default),i.reduce((o,l)=>o.concat(l))}function on(n,e){if(e&1)return 2;let t=e>>1,i=n.status[t];if(i==4)throw new Error("Cyclic dependency between fields and/or facets");if(i&2)return i;n.status[t]=4;let s=n.computeSlot(n,n.config.dynamicSlots[t]);return n.status[t]=2|s}function Ts(n,e){return e&1?n.config.staticValues[e>>1]:n.values[e>>1]}const lf=T.define(),lo=T.define({combine:n=>n.some(e=>e),static:!0}),af=T.define({combine:n=>n.length?n[0]:void 0,static:!0}),hf=T.define(),cf=T.define(),ff=T.define(),uf=T.define({combine:n=>n.length?n[0]:!1});class xt{constructor(e,t){this.type=e,this.value=t}static define(){return new rm}}class rm{of(e){return new xt(this,e)}}class om{constructor(e){this.map=e}of(e){return new M(this,e)}}class M{constructor(e,t){this.type=e,this.value=t}map(e){let t=this.type.map(this.value,e);return t===void 0?void 0:t==this.value?this:new M(this.type,t)}is(e){return this.type==e}static define(e={}){return new om(e.map||(t=>t))}static mapEffects(e,t){if(!e.length)return e;let i=[];for(let s of e){let r=s.map(t);r&&i.push(r)}return i}}M.reconfigure=M.define();M.appendConfig=M.define();class re{constructor(e,t,i,s,r,o){this.startState=e,this.changes=t,this.selection=i,this.effects=s,this.annotations=r,this.scrollIntoView=o,this._doc=null,this._state=null,i&&rf(i,t.newLength),r.some(l=>l.type==re.time)||(this.annotations=r.concat(re.time.of(Date.now())))}static create(e,t,i,s,r,o){return new re(e,t,i,s,r,o)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(e){for(let t of this.annotations)if(t.type==e)return t.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(e){let t=this.annotation(re.userEvent);return!!(t&&(t==e||t.length>e.length&&t.slice(0,e.length)==e&&t[e.length]=="."))}}re.time=xt.define();re.userEvent=xt.define();re.addToHistory=xt.define();re.remote=xt.define();function lm(n,e){let t=[];for(let i=0,s=0;;){let r,o;if(i=n[i]))r=n[i++],o=n[i++];else if(s=0;s--){let r=i[s](n);r instanceof re?n=r:Array.isArray(r)&&r.length==1&&r[0]instanceof re?n=r[0]:n=Of(e,gi(r),!1)}return n}function hm(n){let e=n.startState,t=e.facet(ff),i=n;for(let s=t.length-1;s>=0;s--){let r=t[s](n);r&&Object.keys(r).length&&(i=df(i,ao(e,r,n.changes.newLength),!0))}return i==n?n:re.create(e,n.changes,n.selection,i.effects,i.annotations,i.scrollIntoView)}const cm=[];function gi(n){return n==null?cm:Array.isArray(n)?n:[n]}var te=function(n){return n[n.Word=0]="Word",n[n.Space=1]="Space",n[n.Other=2]="Other",n}(te||(te={}));const fm=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let ho;try{ho=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function um(n){if(ho)return ho.test(n);for(let e=0;e"€"&&(t.toUpperCase()!=t.toLowerCase()||fm.test(t)))return!0}return!1}function dm(n){return e=>{if(!/\S/.test(e))return te.Space;if(um(e))return te.Word;for(let t=0;t-1)return te.Word;return te.Other}}class Y{constructor(e,t,i,s,r,o){this.config=e,this.doc=t,this.selection=i,this.values=s,this.status=e.statusTemplate.slice(),this.computeSlot=r,o&&(o._state=this);for(let l=0;ls.set(h,a)),t=null),s.set(l.value.compartment,l.value.extension)):l.is(M.reconfigure)?(t=null,i=l.value):l.is(M.appendConfig)&&(t=null,i=gi(i).concat(l.value));let r;t?r=e.startState.values.slice():(t=Zs.resolve(i,s,this),r=new Y(t,this.doc,this.selection,t.dynamicSlots.map(()=>null),(a,h)=>h.reconfigure(a,this),null).values);let o=e.startState.facet(lo)?e.newSelection:e.newSelection.asSingle();new Y(t,e.newDoc,o,r,(l,a)=>a.update(l,e),e)}replaceSelection(e){return typeof e=="string"&&(e=this.toText(e)),this.changeByRange(t=>({changes:{from:t.from,to:t.to,insert:e},range:y.cursor(t.from+e.length)}))}changeByRange(e){let t=this.selection,i=e(t.ranges[0]),s=this.changes(i.changes),r=[i.range],o=gi(i.effects);for(let l=1;lo.spec.fromJSON(l,a)))}}return Y.create({doc:e.doc,selection:y.fromJSON(e.selection),extensions:t.extensions?s.concat([t.extensions]):s})}static create(e={}){let t=Zs.resolve(e.extensions||[],new Map),i=e.doc instanceof B?e.doc:B.of((e.doc||"").split(t.staticFacet(Y.lineSeparator)||io)),s=e.selection?e.selection instanceof y?e.selection:y.single(e.selection.anchor,e.selection.head):y.single(0);return rf(s,i.length),t.staticFacet(lo)||(s=s.asSingle()),new Y(t,i,s,t.dynamicSlots.map(()=>null),(r,o)=>o.create(r),null)}get tabSize(){return this.facet(Y.tabSize)}get lineBreak(){return this.facet(Y.lineSeparator)||` @@ -29,4 +29,4 @@ import{R as rt,_ as Wp,F as Ep,r as Hc,v as Vp,P as j,s as Yp,w as Dp,E as qp,t `+e.scrub();for(let i of e.markers)t.marks.push(i)}return this.finishLeaf(t),null}stopAt(e){if(this.stoppedAt!=null&&this.stoppedAt=this.to?(this.absoluteLineStart=this.absoluteLineEnd,this.atEnd=!0,this.readLine(),!1):(this.lineStart++,this.absoluteLineStart=this.absoluteLineEnd+1,this.moveRangeI(),this.readLine(),!0)}moveRangeI(){for(;this.rangeI=this.ranges[this.rangeI].to;)this.rangeI++,this.absoluteLineStart=Math.max(this.absoluteLineStart,this.ranges[this.rangeI].from)}scanLine(e){let t=Nx;if(t.end=e,e>=this.to)t.text="";else if(t.text=this.lineChunkAt(e),t.end+=t.text.length,this.ranges.length>1){let i=this.absoluteLineStart,s=this.rangeI;for(;this.ranges[s].tothis.to?i.slice(0,this.to-e):i}prevLineEnd(){return this.atEnd?this.lineStart:this.lineStart-1}startContext(e,t,i=0){this.block=sr.create(e,i,this.lineStart+t,this.block.hash,this.lineStart+this.line.text.length),this.stack.push(this.block)}startComposite(e,t,i=0){this.startContext(this.parser.getNodeType(e),t,i)}addNode(e,t,i){typeof e=="number"&&(e=new D(this.parser.nodeSet.types[e],Wi,Wi,(i??this.prevLineEnd())-t)),this.block.addChild(e,t-this.block.from)}addElement(e){this.block.addChild(e.toTree(this.parser.nodeSet),e.from-this.block.from)}addLeafElement(e,t){this.addNode(this.buffer.writeElements(ol(t.children,e.marks),-t.from).finish(t.type,t.to-t.from),t.from)}finishContext(){let e=this.stack.pop(),t=this.stack[this.stack.length-1];t.addChild(e.toTree(this.parser.nodeSet),e.from-t.from),this.block=t}finish(){for(;this.stack.length>1;)this.finishContext();return this.addGaps(this.block.toTree(this.parser.nodeSet,this.lineStart))}addGaps(e){return this.ranges.length>1?up(this.ranges,0,e.topNode,this.ranges[0].from,this.reusePlaceholders):e}finishLeaf(e){for(let i of e.parsers)if(i.finish(this,e))return;let t=ol(this.parser.parseInline(e.content,e.start),e.marks);this.addNode(this.buffer.writeElements(t,-e.start).finish(Q.Paragraph,e.content.length),e.start)}elt(e,t,i,s){return typeof e=="string"?L(this.parser.getNodeType(e),t,i,s):new pp(e,t)}get buffer(){return new Op(this.parser.nodeSet)}}function up(n,e,t,i,s){let r=n[e].to,o=[],l=[],a=t.from+i;function h(c,f){for(;f?c>=r:c>r;){let u=n[e+1].from-r;i+=u,c+=u,e++,r=n[e].to}}for(let c=t.firstChild;c;c=c.nextSibling){h(c.from+i,!0);let f=c.from+i,u,d=s.get(c.tree);d?u=d:c.to+i>r?(u=up(n,e,c,i,s),h(c.to+i,!1)):u=c.toTree(),o.push(u),l.push(f-a)}return h(t.to+i,!1),new D(t.type,o,l,t.to+i-a,t.tree?t.tree.propValues:void 0)}class gr extends ar{constructor(e,t,i,s,r,o,l,a,h){super(),this.nodeSet=e,this.blockParsers=t,this.leafBlockParsers=i,this.blockNames=s,this.endLeafBlock=r,this.skipContextMarkup=o,this.inlineParsers=l,this.inlineNames=a,this.wrappers=h,this.nodeTypes=Object.create(null);for(let c of e.types)this.nodeTypes[c.name]=c.id}createParse(e,t,i){let s=new Gx(this,e,t,i);for(let r of this.wrappers)s=r(s,e,t,i);return s}configure(e){let t=sl(e);if(!t)return this;let{nodeSet:i,skipContextMarkup:s}=this,r=this.blockParsers.slice(),o=this.leafBlockParsers.slice(),l=this.blockNames.slice(),a=this.inlineParsers.slice(),h=this.inlineNames.slice(),c=this.endLeafBlock.slice(),f=this.wrappers;if(Hi(t.defineNodes)){s=Object.assign({},s);let u=i.types.slice(),d;for(let O of t.defineNodes){let{name:m,block:g,composite:b,style:S}=typeof O=="string"?{name:O}:O;if(u.some(k=>k.name==m))continue;b&&(s[u.length]=(k,C,v)=>b(C,v,k.value));let x=u.length,w=b?["Block","BlockContext"]:g?x>=Q.ATXHeading1&&x<=Q.SetextHeading2?["Block","LeafBlock","Heading"]:["Block","LeafBlock"]:void 0;u.push(le.define({id:x,name:m,props:w&&[[X.group,w]]})),S&&(d||(d={}),Array.isArray(S)||S instanceof Ne?d[m]=S:Object.assign(d,S))}i=new Vi(u),d&&(i=i.extend(oi(d)))}if(Hi(t.props)&&(i=i.extend(...t.props)),Hi(t.remove))for(let u of t.remove){let d=this.blockNames.indexOf(u),O=this.inlineNames.indexOf(u);d>-1&&(r[d]=o[d]=void 0),O>-1&&(a[O]=void 0)}if(Hi(t.parseBlock))for(let u of t.parseBlock){let d=l.indexOf(u.name);if(d>-1)r[d]=u.parse,o[d]=u.leaf;else{let O=u.before?ps(l,u.before):u.after?ps(l,u.after)+1:l.length-1;r.splice(O,0,u.parse),o.splice(O,0,u.leaf),l.splice(O,0,u.name)}u.endLeaf&&c.push(u.endLeaf)}if(Hi(t.parseInline))for(let u of t.parseInline){let d=h.indexOf(u.name);if(d>-1)a[d]=u.parse;else{let O=u.before?ps(h,u.before):u.after?ps(h,u.after)+1:h.length-1;a.splice(O,0,u.parse),h.splice(O,0,u.name)}}return t.wrap&&(f=f.concat(t.wrap)),new gr(i,r,o,l,c,s,a,h,f)}getNodeType(e){let t=this.nodeTypes[e];if(t==null)throw new RangeError(`Unknown node type '${e}'`);return t}parseInline(e,t){let i=new Hx(this,e,t);e:for(let s=t;s=0){s=l;continue e}}s++}return i.resolveMarkers(0)}}function Hi(n){return n!=null&&n.length>0}function sl(n){if(!Array.isArray(n))return n;if(n.length==0)return null;let e=sl(n[0]);if(n.length==1)return e;let t=sl(n.slice(1));if(!t||!e)return e||t;let i=(o,l)=>(o||Wi).concat(l||Wi),s=e.wrap,r=t.wrap;return{props:i(e.props,t.props),defineNodes:i(e.defineNodes,t.defineNodes),parseBlock:i(e.parseBlock,t.parseBlock),parseInline:i(e.parseInline,t.parseInline),remove:i(e.remove,t.remove),wrap:s?r?(o,l,a,h)=>s(r(o,l,a,h),l,a,h):s:r}}function ps(n,e){let t=n.indexOf(e);if(t<0)throw new RangeError(`Position specified relative to unknown parser ${e}`);return t}let dp=[le.none];for(let n=1,e;e=Q[n];n++)dp[n]=le.define({id:n,name:e,props:n>=Q.Escape?[]:[[X.group,n in np?["Block","BlockContext"]:["Block","LeafBlock"]]],top:e=="Document"});const Wi=[];class Op{constructor(e){this.nodeSet=e,this.content=[],this.nodes=[]}write(e,t,i,s=0){return this.content.push(e,t,i,4+s*4),this}writeElements(e,t=0){for(let i of e)i.writeTo(this,t);return this}finish(e,t){return D.build({buffer:this.content,nodeSet:this.nodeSet,reused:this.nodes,topID:e,length:t})}}class Xn{constructor(e,t,i,s=Wi){this.type=e,this.from=t,this.to=i,this.children=s}writeTo(e,t){let i=e.content.length;e.writeElements(this.children,t),e.content.push(this.type,this.from+t,this.to+t,e.content.length+4-i)}toTree(e){return new Op(e).writeElements(this.children,-this.from).finish(this.type,this.to-this.from)}}class pp{constructor(e,t){this.tree=e,this.from=t}get to(){return this.from+this.tree.length}get type(){return this.tree.type.id}get children(){return Wi}writeTo(e,t){e.nodes.push(this.tree),e.content.push(e.nodes.length-1,this.from+t,this.to+t,-1)}toTree(){return this.tree}}function L(n,e,t,i){return new Xn(n,e,t,i)}const mp={resolve:"Emphasis",mark:"EmphasisMark"},gp={resolve:"Emphasis",mark:"EmphasisMark"},di={},rl={};class qe{constructor(e,t,i,s){this.type=e,this.from=t,this.to=i,this.side=s}}const Rc="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";let Mn=/[!"#$%&'()*+,\-.\/:;<=>?@\[\\\]^_`{|}~\xA1\u2010-\u2027]/;try{Mn=new RegExp("[\\p{Pc}|\\p{Pd}|\\p{Pe}|\\p{Pf}|\\p{Pi}|\\p{Po}|\\p{Ps}]","u")}catch{}const Jr={Escape(n,e,t){if(e!=92||t==n.end-1)return-1;let i=n.char(t+1);for(let s=0;s]+|[a-z\d.!#$%&'*+/=?^_`{|}~-]+@[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?(?:\.[a-z\d](?:[a-z\d-]{0,61}[a-z\d])?)*)>/i.exec(i);if(s)return n.append(L(Q.Autolink,t,t+1+s[0].length,[L(Q.LinkMark,t,t+1),L(Q.URL,t+1,t+s[0].length),L(Q.LinkMark,t+s[0].length,t+1+s[0].length)]));let r=/^!--[^>](?:-[^-]|[^-])*?-->/i.exec(i);if(r)return n.append(L(Q.Comment,t,t+1+r[0].length));let o=/^\?[^]*?\?>/.exec(i);if(o)return n.append(L(Q.ProcessingInstruction,t,t+1+o[0].length));let l=/^(?:![A-Z][^]*?>|!\[CDATA\[[^]*?\]\]>|\/\s*[a-zA-Z][\w-]*\s*>|\s*[a-zA-Z][\w-]*(\s+[a-zA-Z:_][\w-.:]*(?:\s*=\s*(?:[^\s"'=<>`]+|'[^']*'|"[^"]*"))?)*\s*(\/\s*)?>)/.exec(i);return l?n.append(L(Q.HTMLTag,t,t+1+l[0].length)):-1},Emphasis(n,e,t){if(e!=95&&e!=42)return-1;let i=t+1;for(;n.char(i)==e;)i++;let s=n.slice(t-1,t),r=n.slice(i,i+1),o=Mn.test(s),l=Mn.test(r),a=/\s|^$/.test(s),h=/\s|^$/.test(r),c=!h&&(!l||a||o),f=!a&&(!o||h||l),u=c&&(e==42||!f||o),d=f&&(e==42||!c||l);return n.append(new qe(e==95?mp:gp,t,i,(u?1:0)|(d?2:0)))},HardBreak(n,e,t){if(e==92&&n.char(t+1)==10)return n.append(L(Q.HardBreak,t,t+2));if(e==32){let i=t+1;for(;n.char(i)==32;)i++;if(n.char(i)==10&&i>=t+2)return n.append(L(Q.HardBreak,t,i+1))}return-1},Link(n,e,t){return e==91?n.append(new qe(di,t,t+1,1)):-1},Image(n,e,t){return e==33&&n.char(t+1)==91?n.append(new qe(rl,t,t+2,1)):-1},LinkEnd(n,e,t){if(e!=93)return-1;for(let i=n.parts.length-1;i>=0;i--){let s=n.parts[i];if(s instanceof qe&&(s.type==di||s.type==rl)){if(!s.side||n.skipSpace(s.to)==t&&!/[(\[]/.test(n.slice(t+1,t+2)))return n.parts[i]=null,-1;let r=n.takeContent(i),o=n.parts[i]=Fx(n,r,s.type==di?Q.Link:Q.Image,s.from,t+1);if(s.type==di)for(let l=0;le?L(Q.URL,e+t,r+t):r==n.length?null:!1}}function Sp(n,e,t){let i=n.charCodeAt(e);if(i!=39&&i!=34&&i!=40)return!1;let s=i==40?41:i;for(let r=e+1,o=!1;r=this.end?-1:this.text.charCodeAt(e-this.offset)}get end(){return this.offset+this.text.length}slice(e,t){return this.text.slice(e-this.offset,t-this.offset)}append(e){return this.parts.push(e),e.to}addDelimiter(e,t,i,s,r){return this.append(new qe(e,t,i,(s?1:0)|(r?2:0)))}get hasOpenLink(){for(let e=this.parts.length-1;e>=0;e--){let t=this.parts[e];if(t instanceof qe&&(t.type==di||t.type==rl))return!0}return!1}addElement(e){return this.append(e)}resolveMarkers(e){for(let i=e;i=e;a--){let m=this.parts[a];if(m instanceof qe&&m.side&1&&m.type==s.type&&!(r&&(s.side&1||m.side&2)&&(m.to-m.from+o)%3==0&&((m.to-m.from)%3||o%3))){l=m;break}}if(!l)continue;let h=s.type.resolve,c=[],f=l.from,u=s.to;if(r){let m=Math.min(2,l.to-l.from,o);f=l.to-m,u=s.from+m,h=m==1?"Emphasis":"StrongEmphasis"}l.type.mark&&c.push(this.elt(l.type.mark,f,l.to));for(let m=a+1;m=0;t--){let i=this.parts[t];if(i instanceof qe&&i.type==e)return t}return null}takeContent(e){let t=this.resolveMarkers(e);return this.parts.length=e,t}skipSpace(e){return cn(this.text,e-this.offset)+this.offset}elt(e,t,i,s){return typeof e=="string"?L(this.parser.getNodeType(e),t,i,s):new pp(e,t)}}function ol(n,e){if(!e.length)return n;if(!n.length)return e;let t=n.slice(),i=0;for(let s of e){for(;i(e?e-1:0))return!1;if(this.fragmentEnd<0){let r=this.fragment.to;for(;r>0&&this.input.read(r-1,r)!=` -`;)r--;this.fragmentEnd=r?r-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let s=e+this.fragment.offset;for(;i.to<=s;)if(!i.parent())return!1;for(;;){if(i.from>=s)return this.fragment.from<=t;if(!i.childAfter(s))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(X.contextHash)==e}takeNodes(e){let t=this.cursor,i=this.fragment.offset,s=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,o=r,l=e.block.children.length,a=o,h=l;for(;;){if(t.to-i>s){if(t.type.isAnonymous&&t.firstChild())continue;break}let c=kp(t.from-i,e.ranges);if(t.to-i<=e.ranges[e.rangeI].to)e.addNode(t.tree,c);else{let f=new D(e.parser.nodeSet.types[Q.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,t.tree),e.addNode(f,c)}if(t.type.is("Block")&&(Kx.indexOf(t.type.id)<0?(o=t.to-i,l=e.block.children.length):(o=a,l=h,a=t.to-i,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-r}}function kp(n,e){let t=n;for(let i=1;iOs[n]),Object.keys(Os).map(n=>Ix[n]),Object.keys(Os),jx,np,Object.keys(Jr).map(n=>Jr[n]),Object.keys(Jr),[]);function iw(n,e,t){let i=[];for(let s=n.firstChild,r=e;;s=s.nextSibling){let o=s?s.from:t;if(o>r&&i.push({from:r,to:o}),!s)break;r=s.to}return i}function nw(n){let{codeParser:e,htmlParser:t}=n;return{wrap:Au((s,r)=>{let o=s.type.id;if(e&&(o==Q.CodeBlock||o==Q.FencedCode)){let l="";if(o==Q.FencedCode){let h=s.node.getChild(Q.CodeInfo);h&&(l=r.read(h.from,h.to))}let a=e(l);if(a)return{parser:a,overlay:h=>h.type.id==Q.CodeText}}else if(t&&(o==Q.HTMLBlock||o==Q.HTMLTag))return{parser:t,overlay:iw(s.node,s.from,s.to)};return null})}}const sw={resolve:"Strikethrough",mark:"StrikethroughMark"},rw={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":p.strikethrough}},{name:"StrikethroughMark",style:p.processingInstruction}],parseInline:[{name:"Strikethrough",parse(n,e,t){if(e!=126||n.char(t+1)!=126||n.char(t+2)==126)return-1;let i=n.slice(t-1,t),s=n.slice(t+2,t+3),r=/\s|^$/.test(i),o=/\s|^$/.test(s),l=Mn.test(i),a=Mn.test(s);return n.addDelimiter(sw,t,t+2,!o&&(!a||r||l),!r&&(!l||o||a))},after:"Emphasis"}]};function fn(n,e,t=0,i,s=0){let r=0,o=!0,l=-1,a=-1,h=!1,c=()=>{i.push(n.elt("TableCell",s+l,s+a,n.parser.parseInline(e.slice(l,a),s+l)))};for(let f=t;f-1)&&r++,o=!1,i&&(l>-1&&c(),i.push(n.elt("TableDelimiter",f+s,f+s+1))),l=a=-1):(h||u!=32&&u!=9)&&(l<0&&(l=f),a=f+1),h=!h&&u==92}return l>-1&&(r++,i&&c()),r}function Ac(n,e){for(let t=e;ts instanceof Xc)||!Ac(e.text,e.basePos))return!1;let i=n.scanLine(n.absoluteLineEnd+1).text;return xp.test(i)&&fn(n,e.text,e.basePos)==fn(n,i,e.basePos)},before:"SetextHeading"}]};class lw{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const aw={defineNodes:[{name:"Task",block:!0,style:p.list},{name:"TaskMarker",style:p.atom}],parseBlock:[{name:"TaskList",leaf(n,e){return/^\[[ xX]\][ \t]/.test(e.content)&&n.parentType().name=="ListItem"?new lw:null},after:"SetextHeading"}]},Mc=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Wc=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,hw=/[\w-]+\.[\w-]+($|\/)/,Ec=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vc=/\/[a-zA-Z\d@.]+/gy;function Yc(n,e,t,i){let s=0;for(let r=e;r-1)return-1;let i=e+t[0].length;for(;;){let s=n[i-1],r;if(/[?!.,:*_~]/.test(s)||s==")"&&Yc(n,e,i,")")>Yc(n,e,i,"("))i--;else if(s==";"&&(r=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(n.slice(e,i))))i=e+r.index;else break}return i}function Dc(n,e){Ec.lastIndex=e;let t=Ec.exec(n);if(!t)return-1;let i=t[0][t[0].length-1];return i=="_"||i=="-"?-1:e+t[0].length-(i=="."?1:0)}const fw={parseInline:[{name:"Autolink",parse(n,e,t){let i=t-n.offset;Mc.lastIndex=i;let s=Mc.exec(n.text),r=-1;if(!s)return-1;if(s[1]||s[2]){if(r=cw(n.text,i+s[0].length),r>-1&&n.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(n.text.slice(i,r));r=i+o[0].length}}else s[3]?r=Dc(n.text,i):(r=Dc(n.text,i+s[0].length),r>-1&&s[0]=="xmpp:"&&(Vc.lastIndex=r,s=Vc.exec(n.text),s&&(r=s.index+s[0].length)));return r<0?-1:(n.addElement(n.elt("URL",t,r+n.offset)),r+n.offset)}}]},uw=[ow,aw,rw,fw];function wp(n,e,t){return(i,s,r)=>{if(s!=n||i.char(r+1)==n)return-1;let o=[i.elt(t,r,r+1)];for(let l=r+1;l"}}}),Pp=new X,$p=tw.configure({props:[li.add(n=>!n.is("Block")||n.is("Document")||ll(n)!=null||mw(n)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),Pp.add(ll),Di.add({Document:()=>null}),Xt.add({Document:Qp})]});function ll(n){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(n.name);return e?+e[1]:void 0}function mw(n){return n.name=="OrderedList"||n.name=="BulletList"}function gw(n,e){let t=n;for(;;){let i=t.nextSibling,s;if(!i||(s=ll(i.type))!=null&&s<=e)break;t=i}return t.to}const bw=Du.of((n,e,t)=>{for(let i=F(n).resolveInner(t,-1);i&&!(i.fromt)return{from:t,to:r}}return null});function ra(n){return new Ee(Qp,n,[bw],"markdown")}const Sw=ra($p),yw=$p.configure([uw,Ow,dw,pw,{props:[li.add({Table:(n,e)=>({from:e.doc.lineAt(n.from).to,to:n.to})})]}]),vp=ra(yw);function kw(n,e){return t=>{if(t&&n){let i=null;if(t=/\S*/.exec(t)[0],typeof n=="function"?i=n(t):i=Ds.matchLanguageName(n,t,!0),i instanceof Ds)return i.support?i.support.language.parser:ii.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}class ms{constructor(e,t,i,s,r,o,l){this.node=e,this.from=t,this.to=i,this.spaceBefore=s,this.spaceAfter=r,this.type=o,this.item=l}blank(e,t=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length0;s--)i+=" ";return i+(t?this.spaceAfter:"")}}marker(e,t){let i=this.node.name=="OrderedList"?String(+Zp(this.item,e)[2]+t):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function Cp(n,e){let t=[];for(let s=n;s&&s.name!="Document";s=s.parent)(s.name=="ListItem"||s.name=="Blockquote"||s.name=="FencedCode")&&t.push(s);let i=[];for(let s=t.length-1;s>=0;s--){let r=t[s],o,l=e.lineAt(r.from),a=r.from-l.from;if(r.name=="FencedCode")i.push(new ms(r,a,a,"","","",null));else if(r.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))i.push(new ms(r,a,a+o[0].length,"",o[1],">",null));else if(r.name=="ListItem"&&r.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let h=o[3],c=o[0].length;h.length>=4&&(h=h.slice(0,h.length-4),c-=4),i.push(new ms(r.parent,a,a+c,o[1],h,o[2],r))}else if(r.name=="ListItem"&&r.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let h=o[4],c=o[0].length;h.length>4&&(h=h.slice(0,h.length-4),c-=4);let f=o[2];o[3]&&(f+=o[3].replace(/[xX]/," ")),i.push(new ms(r.parent,a,a+c,o[1],h,f,r))}}return i}function Zp(n,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(n.from,n.from+10))}function eo(n,e,t,i=0){for(let s=-1,r=n;;){if(r.name=="ListItem"){let l=Zp(r,e),a=+l[2];if(s>=0){if(a!=s+1)return;t.push({from:r.from+l[1].length,to:r.from+l[0].length,insert:String(s+2+i)})}s=a}let o=r.nextSibling;if(!o)break;r=o}}function oa(n,e){let t=/^[ \t]*/.exec(n)[0].length;if(!t||e.facet(Yi)!=" ")return n;let i=Ge(n,4,t),s="";for(let r=i;r>0;)r>=4?(s+=" ",r-=4):(s+=" ",r--);return s+n.slice(t)}const xw=({state:n,dispatch:e})=>{let t=F(n),{doc:i}=n,s=null,r=n.changeByRange(o=>{if(!o.empty||!vp.isActiveAt(n,o.from))return s={range:o};let l=o.from,a=i.lineAt(l),h=Cp(t.resolveInner(l,-1),i);for(;h.length&&h[h.length-1].from>l-a.from;)h.pop();if(!h.length)return s={range:o};let c=h[h.length-1];if(c.to-c.spaceAfter.length>l-a.from)return s={range:o};let f=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&f){let g=c.node.firstChild,b=c.node.getChild("ListItem","ListItem");if(g.to>=l||b&&b.to0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let S=h.length>1?h[h.length-2]:null,x,w="";S&&S.item?(x=a.from+S.from,w=S.marker(i,1)):x=a.from+(S?S.to:0);let k=[{from:x,to:l,insert:w}];return c.node.name=="OrderedList"&&eo(c.item,i,k,-2),S&&S.node.name=="OrderedList"&&eo(S.item,i,k),{range:y.cursor(x+w.length),changes:k}}else{let S=zc(h,n,a);return{range:y.cursor(l+S.length+1),changes:{from:a.from,insert:S+n.lineBreak}}}}if(c.node.name=="Blockquote"&&f&&a.from){let g=i.lineAt(a.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==c.from){let S=n.changes([{from:g.from+b.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(S),changes:S}}}let u=[];c.node.name=="OrderedList"&&eo(c.item,i,u);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,b=h.length-1;g<=b;g++)O+=g==b&&!d?h[g].marker(i,1):h[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return O=oa(O,n),ww(c.node,n.doc)&&(O=zc(h,n,a)+n.lineBreak+O),u.push({from:m,to:l,insert:n.lineBreak+O}),{range:y.cursor(m+O.length+1),changes:u}});return s?!1:(e(n.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function qc(n){return n.name=="QuoteMark"||n.name=="ListMark"}function ww(n,e){if(n.name!="OrderedList"&&n.name!="BulletList")return!1;let t=n.firstChild,i=n.getChild("ListItem","ListItem");if(!i)return!1;let s=e.lineAt(t.to),r=e.lineAt(i.from),o=/^[\s>]*$/.test(s.text);return s.number+(o?0:1){let t=F(n),i=null,s=n.changeByRange(r=>{let o=r.from,{doc:l}=n;if(r.empty&&vp.isActiveAt(n,r.from)){let a=l.lineAt(o),h=Cp(Qw(t,o),l);if(h.length){let c=h[h.length-1],f=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>f&&!/\S/.test(a.text.slice(f,o-a.from)))return{range:y.cursor(a.from+f),changes:{from:a.from+f,to:o}};if(o-a.from==f&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let u=a.from+c.from;if(c.item&&c.node.from1&&n.eat("$");var t=n.next();return/['"({]/.test(t)?(e.tokens[0]=br(t,t=="("?"quote":t=="{"?"def":"string"),Ei(n,e)):(/\d/.test(t)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function Ew(n){return function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"}}function Ei(n,e){return(e.tokens[0]||Mw)(n,e)}const Vw={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return Ei(n,e)},languageData:{autocomplete:Tp.concat(Rp,Ap),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};var Yw=["true","false","on","off","yes","no"],Dw=new RegExp("\\b(("+Yw.join(")|(")+"))$","i");const qw={name:"yaml",token:function(n,e){var t=n.peek(),i=e.escaped;if(e.escaped=!1,t=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&n.indentation()>e.keyCol)return n.skipToEnd(),"string";if(e.literal&&(e.literal=!1),n.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return t=="{"?e.inlinePairs++:t=="}"?e.inlinePairs--:t=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&t==",")return n.next(),"meta";if(e.inlinePairs>0&&!i&&t==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,n.next(),"meta";if(e.pairStart){if(n.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(Dw))return"keyword"}return!e.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=n.indentation(),"atom"):e.pair&&n.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=t=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var Lc,_c,Bc;function Uc({view:n,searchConfig:e}){const t=Hc.useState(""),i=Vp(t,2),s=i[0],r=i[1],o=(u,d)=>{r(d),l(d)},l=u=>{n.dispatch({effects:Ri.of(new Dl({search:u}))})},a=u=>{u.key==="Enter"&&(u.shiftKey?f():c())},h=u=>{u.key==="Escape"&&Ll(n)},c=()=>{l(s),vn(n)},f=()=>{l(s),Cn(n)};return rt.createElement(Ip,{renderLabel:"",inputRef:u=>{setTimeout(()=>u==null?void 0:u.focus(),0)},size:"small",display:"inline-block",width:"20rem",placeholder:e.placeholder,onChange:o,onKeyDown:a,onKeyUp:h,renderBeforeInput:Lc||(Lc=rt.createElement(Gp,{size:"x-small"})),renderAfterInput:rt.createElement("span",null,rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:c,screenReaderLabel:e.nextResultLabel},_c||(_c=rt.createElement(jp,null))),rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:f,screenReaderLabel:e.prevResultLabel},Bc||(Bc=rt.createElement(Np,null))))})}function zw(n){return n?OS({createPanel:e=>{var t;const i=document.createElement("div");return i.style.padding="8px",Number(rt.version.split(".")[0])>=18?Wp(()=>import("./index-D4PUjdd4.js").then(r=>r.c),__vite__mapDeps([0,1])).then(r=>{r.createRoot(i).render(t||(t=rt.createElement(Uc,{view:e,searchConfig:n})))}).catch(r=>{}):Ep.render(rt.createElement(Uc,{view:e,searchConfig:n}),i),{dom:i}}}):[]}const Lw=(n,e)=>{const t=e.attachment,i=e.height,s=e.width,r={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0}},o={top:{marginBottom:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}},l=1.4375;return{codeEditor:{label:"codeEditor",position:"relative",boxSizing:"border-box",height:i||"auto",width:s},label:{label:"label",height:"100%",width:"100%"},codeEditorContainer:{label:"codeEditorContainer",height:"100%",width:"100%",borderColor:n==null?void 0:n.borderColor,borderStyle:"solid",borderWidth:n==null?void 0:n.borderWidth,borderRadius:n.borderRadius,marginBottom:"1rem",...t&&{...o[t],...r[t]}},theme:{"&":{overflow:"hidden",background:n.background,fontFamily:n.fontFamily,fontSize:n.fontSize,color:n.color,border:0,height:"100%",width:"100%",minHeight:`${l}rem`,lineHeight:l,borderRadius:n.borderRadius,...t&&{...r[t]}},"&.cm-editor.cm-focused":{outline:`${n==null?void 0:n.borderWidth} solid ${n==null?void 0:n.focusBorderColor}`},".cm-content":{padding:`${n.verticalPadding} 0`},".cm-scroller":{fontFamily:n.fontFamily,lineHeight:1.4375},".cm-gutters":{background:n.gutterBackground,borderColor:n.borderColor},".cm-line":{padding:`0 ${n.horizontalPadding}`},".cm-selectionBackground":{background:"transparent"},".cm-focused .cm-selectionBackground":{background:"#d7d4f0"},".cm-placeholder":{color:"#707070"}},highlightStyle:[{tag:p.link,textDecoration:"underline"},{tag:p.heading,textDecoration:"underline",fontWeight:"bold"},{tag:p.emphasis,fontStyle:"italic"},{tag:p.strong,fontWeight:"bold"},{tag:p.strikethrough,textDecoration:"line-through"},{tag:p.keyword,color:"#708"},{tag:[p.atom,p.bool,p.url,p.contentSeparator,p.labelName],color:"#219"},{tag:[p.literal,p.inserted],color:"#164"},{tag:[p.string,p.deleted],color:"#a11"},{tag:p.definition(p.variableName),color:"#00f"},{tag:p.local(p.variableName),color:"#30a"},{tag:p.className,color:"#167"},{tag:[p.special(p.variableName),p.macroName],color:"#256"},{tag:p.definition(p.propertyName),color:"#00c"},{tag:p.comment,color:"#940"},{tag:p.meta,color:"#757075"},{tag:[p.regexp,p.escape,p.special(p.string)],color:"#d13b00"},{tag:[p.typeName,p.namespace],color:"#008051"},{tag:p.invalid,color:"#e60000"}]}},_w=n=>{const e=n.colors,t=n.borders,i=n.typography,s=n.spacing;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,gutterBackground:e==null?void 0:e.backgroundLight,borderWidth:t==null?void 0:t.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,horizontalPadding:s==null?void 0:s.xSmall,verticalPadding:s==null?void 0:s.xxSmall}}},Ic=[{key:"ArrowLeft",run:jl,shift:Gl,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Xd,shift:Nd},{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Wd,shift:Fd},{mac:"Cmd-ArrowLeft",run:Bd,shift:sO},{key:"Home",run:zd,shift:tO},{key:"ArrowRight",run:Il,shift:Nl,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Ad,shift:jd},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Md,shift:Gd},{mac:"Cmd-ArrowRight",run:_d,shift:nO},{key:"End",run:Ld,shift:iO},{key:"Delete",run:Fs},{key:"Mod-Delete",mac:"Alt-Delete",run:Fl},{key:"Backspace",run:Hs,shift:Hs},{key:"Mod-Backspace",mac:"Alt-Backspace",run:lO},{mac:"Mod-Delete",run:sy},{mac:"Mod-Backspace",run:aO}],Bw={label:j.string.isRequired,language:j.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:j.bool,editable:j.bool,lineNumbers:j.bool,foldGutter:j.bool,highlightActiveLineGutter:j.bool,highlightActiveLine:j.bool,lineWrapping:j.bool,autofocus:j.bool,spellcheck:j.bool,direction:j.oneOf(["ltr","rtl"]),rtlMoveVisually:j.bool,indentOnLoad:j.bool,indentWithTab:j.bool,indentUnit:j.string,defaultValue:j.string,value:Fp(j.string,"onChange","defaultValue"),onChange:j.func,onFocus:j.func,onBlur:j.func,attachment:j.oneOf(["bottom","top"]),height:j.string,width:j.string,elementRef:j.func,containerRef:j.func,searchConfig:j.object},Uw=["label","language","readOnly","editable","lineNumbers","foldGutter","highlightActiveLineGutter","highlightActiveLine","lineWrapping","autofocus","spellcheck","direction","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","defaultValue","value","onChange","onFocus","onBlur","attachment","height","width","elementRef","containerRef","searchConfig"],Iw=["label","styles"];var jc,Nc,Gc,Fc,Pt,It;let sQ=(jc=Yp(),Nc=Dp(Lw,_w),Gc=qp(),Fc=zp(),jc(Pt=Nc(Pt=Gc(Pt=Fc(Pt=(It=class Mp extends Hc.Component{addAnimationFrame(e){typeof e=="function"&&this._raf.push(Hp(e))}cancelAnimationFrames(){this._raf.forEach(e=>e.cancel()),this._raf=[]}focus(){this.addAnimationFrame(()=>{var e;(e=this._editorView)===null||e===void 0||e.focus()})}get hasFocus(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.hasFocus}selectAll(){this._editorView&&this.addAnimationFrame(()=>{var e;this.dispatchViewSelection({anchor:0,head:(e=this.currentDocValue)===null||e===void 0?void 0:e.length})})}deselectAll(){this._editorView&&this.addAnimationFrame(()=>{this.dispatchViewSelection({anchor:0,head:0})})}indentCurrentSelection(){this.addAnimationFrame(()=>{this._editorView&&uO({state:this._editorView.state,dispatch:e=>{var t;(t=this._editorView)===null||t===void 0||t.update([e])}})})}indentAll(){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.indentCodeRange(0,this.currentDocValue.length)})}indentCodeRange(e,t){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.dispatchViewChanges({changes:Ob(this._editorView.state,e,t)})})}dispatchViewEffects(e){!this._editorView||!e||this._editorView.dispatch({effects:e})}dispatchViewChanges({changes:e,selection:t,userEvent:i}){!this._editorView||!e||this._editorView.dispatch({changes:e,...t?{selection:t}:void 0,...i?{userEvent:i}:void 0})}dispatchViewSelection(e){!this._editorView||!e||this._editorView.dispatch({selection:e})}get currentDocValue(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.state.doc}get isControlled(){return typeof this.props.value=="string"}constructor(e){super(e),this._id=void 0,this.ref=null,this._containerRef=void 0,this._editorView=void 0,this._raf=[],this._newSelectionAfterValueChange=void 0,this.handleRef=t=>{const i=this.props.elementRef;this.ref=t,typeof i=="function"&&i(t)},this.handleContainerRef=t=>{const i=this.props.containerRef;this._containerRef=t||void 0,typeof i=="function"&&i(t)},this._id=e.deterministicId()}componentDidMount(){var e,t;const i=this.props,s=i.value,r=i.defaultValue,o=i.autofocus,l=i.indentOnLoad;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t);const a=Y.create({doc:s||r,extensions:this.extensions});this._editorView=new $({state:a,parent:this._containerRef}),o&&this.focus(),l&&this.indentAll()}componentWillUnmount(){var e;(e=this._editorView)===null||e===void 0||e.destroy(),this.cancelAnimationFrames()}componentDidUpdate(e){var t,i;(t=(i=this.props).makeStyles)===null||t===void 0||t.call(i),this._editorView&&(this.props.value!==e.value&&this.refreshEditorValue(),this.shouldUpdateExtensions(e)&&this.refreshExtensions())}shouldUpdateExtensions(e){const t=["styles","themeOverride","language","readOnly","editable","lineNumbers","highlightActiveLineGutter","foldGutter","lineWrapping","autofocus","spellcheck","direction","dir","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","highlightActiveLine","attachment"];for(const i of t)if(!Lp(this.props[i],e[i]))return!0;return!1}get direction(){return this.props.direction||this.props.dir}get extensions(){const e=[...this.baseExtensions,this.languageExtension,this.onChangeExtension,this.focusListenerExtension,this.announceLineNumberExtension];return this.themeExtension&&e.push(this.themeExtension),this.props.lineNumbers&&e.push(z0()),this.props.highlightActiveLine&&e.push(p0()),this.props.highlightActiveLineGutter&&e.push(B0()),this.props.foldGutter&&e.push(Eb()),this.props.lineWrapping&&e.push($.lineWrapping),this.props.editable===!1&&e.push($.editable.of(!1)),this.props.readOnly&&e.push(Y.readOnly.of(!0)),this.props.spellcheck&&e.push($.contentAttributes.of({spellcheck:"true"})),this.direction&&e.push($.contentAttributes.of({dir:this.direction})),this.props.indentUnit&&e.push(Yi.of(this.props.indentUnit)),e}get baseExtensions(){return[h0(),VS(),Kg(),n0(),Y.allowMultipleSelections.of(!0),vh(qb,{fallback:!0}),jb(),z1(),K1(),k0(),Q0(),rS(),Qb(),zw(this.props.searchConfig),Vn.of(this.keymaps)]}get keymaps(){const e=[...U1,...this.commandKeybinding,...IS,...Ab,...pd,...Zy,...this.props.searchConfig?PS:[]];return this.props.indentWithTab&&e.push(yy),e}get commandKeybinding(){const e=this.props.rtlMoveVisually;if(this.direction==="rtl"&&!e){const t=Ic.map(s=>s.key?s.key:s.mac?s.mac:s);return[...Kh.filter(s=>s.key?t.indexOf(s.key)<0:s.mac?t.indexOf(s.mac)<0:!1),...Ic]}return Kh}get themeExtension(){const e=this.props.styles;if(!(e!=null&&e.theme)||!e.highlightStyle)return;const t=$.theme(e==null?void 0:e.theme),i=vh(zn.define(e==null?void 0:e.highlightStyle));return[t,i]}get languageExtension(){switch(this.props.language){case"json":return Xw();case"js":case"jsx":case"javascript":return Jo({jsx:!0,typescript:!0});case"html":return ip({matchClosingTags:!0,autoCloseTags:!0});case"css":return jO();case"markdown":return vw();case"sh":case"shell":case"bash":return Ls.define(Vw);case"yml":case"yaml":return Ls.define(qw);default:return Jo({jsx:!0,typescript:!0})}}callOnChangeHandler(e){const t=this.props,i=t.onChange,s=t.value;this.addAnimationFrame(()=>{typeof i=="function"&&e!==s&&i(e)})}get onChangeExtension(){return Y.changeFilter.of(e=>{if(!this._editorView)return!1;if(e.docChanged){const t=e.newDoc.toString();if(this.isControlled)return t!==this.props.value?(this._newSelectionAfterValueChange=e.selection,this.cancelAnimationFrames(),this.callOnChangeHandler(t),!1):!0;this.callOnChangeHandler(t)}return!0})}get focusListenerExtension(){const e=this.props,t=e.onFocus,i=e.onBlur;return $.updateListener.of(s=>{s.focusChanged&&this._editorView&&(this.hasFocus?typeof t=="function"&&t():typeof i=="function"&&i())})}get announceLineNumberExtension(){return Y.transactionExtender.of(e=>{const t=e.selection,i=e.startState.selection.main;if(t&&t.main.empty&&i.empty){const s=e.startState.doc.lineAt(i.head),r=e.newDoc.lineAt(t.main.head);if(s.number!=r.number)return{effects:$.announce.of(e.startState.phrase("line ")+r.number+".")}}return null})}refreshExtensions(){this.dispatchViewEffects(M.reconfigure.of(this.extensions))}refreshEditorValue(){if(!this._editorView)return;const e=this.props.value,t=this._editorView.state.doc.toString();if(typeof e<"u"&&t!==e){let i;const s=e.length-t.length;s===1?i="input.type":s===-1&&(i="delete.backward"),this.dispatchViewChanges({changes:{from:0,to:t.length,insert:e||""},selection:this._newSelectionAfterValueChange,userEvent:i}),this._newSelectionAfterValueChange=void 0}this.props.indentOnLoad&&this.indentAll()}render(){const e=this.props,t=e.label,i=e.styles,s=_p(e,Iw);return Un("div",Object.assign({ref:this.handleRef,css:i==null?void 0:i.codeEditor},Bp(Up(s,Mp.allowedProps))),Un("label",{css:i==null?void 0:i.label,htmlFor:this._id},Un(Kp,null,t),Un("div",{ref:this.handleContainerRef,css:i==null?void 0:i.codeEditorContainer})))}},It.displayName="SourceCodeEditor",It.componentId="SourceCodeEditor",It.propTypes=Bw,It.allowedProps=Uw,It.defaultProps={language:"jsx",readOnly:!1,editable:!0,lineNumbers:!1,foldGutter:!1,highlightActiveLine:!1,highlightActiveLineGutter:!1,lineWrapping:!1,autofocus:!1,spellcheck:!1,rtlMoveVisually:!0,indentOnLoad:!1,indentWithTab:!1,defaultValue:"",height:"auto"},It))||Pt)||Pt)||Pt)||Pt);export{sQ as S}; +`;)r--;this.fragmentEnd=r?r-1:0}let i=this.cursor;i||(i=this.cursor=this.fragment.tree.cursor(),i.firstChild());let s=e+this.fragment.offset;for(;i.to<=s;)if(!i.parent())return!1;for(;;){if(i.from>=s)return this.fragment.from<=t;if(!i.childAfter(s))return!1}}matches(e){let t=this.cursor.tree;return t&&t.prop(X.contextHash)==e}takeNodes(e){let t=this.cursor,i=this.fragment.offset,s=this.fragmentEnd-(this.fragment.openEnd?1:0),r=e.absoluteLineStart,o=r,l=e.block.children.length,a=o,h=l;for(;;){if(t.to-i>s){if(t.type.isAnonymous&&t.firstChild())continue;break}let c=kp(t.from-i,e.ranges);if(t.to-i<=e.ranges[e.rangeI].to)e.addNode(t.tree,c);else{let f=new D(e.parser.nodeSet.types[Q.Paragraph],[],[],0,e.block.hashProp);e.reusePlaceholders.set(f,t.tree),e.addNode(f,c)}if(t.type.is("Block")&&(Kx.indexOf(t.type.id)<0?(o=t.to-i,l=e.block.children.length):(o=a,l=h,a=t.to-i,h=e.block.children.length)),!t.nextSibling())break}for(;e.block.children.length>l;)e.block.children.pop(),e.block.positions.pop();return o-r}}function kp(n,e){let t=n;for(let i=1;iOs[n]),Object.keys(Os).map(n=>Ix[n]),Object.keys(Os),jx,np,Object.keys(Jr).map(n=>Jr[n]),Object.keys(Jr),[]);function iw(n,e,t){let i=[];for(let s=n.firstChild,r=e;;s=s.nextSibling){let o=s?s.from:t;if(o>r&&i.push({from:r,to:o}),!s)break;r=s.to}return i}function nw(n){let{codeParser:e,htmlParser:t}=n;return{wrap:Au((s,r)=>{let o=s.type.id;if(e&&(o==Q.CodeBlock||o==Q.FencedCode)){let l="";if(o==Q.FencedCode){let h=s.node.getChild(Q.CodeInfo);h&&(l=r.read(h.from,h.to))}let a=e(l);if(a)return{parser:a,overlay:h=>h.type.id==Q.CodeText}}else if(t&&(o==Q.HTMLBlock||o==Q.HTMLTag))return{parser:t,overlay:iw(s.node,s.from,s.to)};return null})}}const sw={resolve:"Strikethrough",mark:"StrikethroughMark"},rw={defineNodes:[{name:"Strikethrough",style:{"Strikethrough/...":p.strikethrough}},{name:"StrikethroughMark",style:p.processingInstruction}],parseInline:[{name:"Strikethrough",parse(n,e,t){if(e!=126||n.char(t+1)!=126||n.char(t+2)==126)return-1;let i=n.slice(t-1,t),s=n.slice(t+2,t+3),r=/\s|^$/.test(i),o=/\s|^$/.test(s),l=Mn.test(i),a=Mn.test(s);return n.addDelimiter(sw,t,t+2,!o&&(!a||r||l),!r&&(!l||o||a))},after:"Emphasis"}]};function fn(n,e,t=0,i,s=0){let r=0,o=!0,l=-1,a=-1,h=!1,c=()=>{i.push(n.elt("TableCell",s+l,s+a,n.parser.parseInline(e.slice(l,a),s+l)))};for(let f=t;f-1)&&r++,o=!1,i&&(l>-1&&c(),i.push(n.elt("TableDelimiter",f+s,f+s+1))),l=a=-1):(h||u!=32&&u!=9)&&(l<0&&(l=f),a=f+1),h=!h&&u==92}return l>-1&&(r++,i&&c()),r}function Ac(n,e){for(let t=e;ts instanceof Xc)||!Ac(e.text,e.basePos))return!1;let i=n.scanLine(n.absoluteLineEnd+1).text;return xp.test(i)&&fn(n,e.text,e.basePos)==fn(n,i,e.basePos)},before:"SetextHeading"}]};class lw{nextLine(){return!1}finish(e,t){return e.addLeafElement(t,e.elt("Task",t.start,t.start+t.content.length,[e.elt("TaskMarker",t.start,t.start+3),...e.parser.parseInline(t.content.slice(3),t.start+3)])),!0}}const aw={defineNodes:[{name:"Task",block:!0,style:p.list},{name:"TaskMarker",style:p.atom}],parseBlock:[{name:"TaskList",leaf(n,e){return/^\[[ xX]\][ \t]/.test(e.content)&&n.parentType().name=="ListItem"?new lw:null},after:"SetextHeading"}]},Mc=/(www\.)|(https?:\/\/)|([\w.+-]+@)|(mailto:|xmpp:)/gy,Wc=/[\w-]+(\.[\w-]+)+(\/[^\s<]*)?/gy,hw=/[\w-]+\.[\w-]+($|\/)/,Ec=/[\w.+-]+@[\w-]+(\.[\w.-]+)+/gy,Vc=/\/[a-zA-Z\d@.]+/gy;function Yc(n,e,t,i){let s=0;for(let r=e;r-1)return-1;let i=e+t[0].length;for(;;){let s=n[i-1],r;if(/[?!.,:*_~]/.test(s)||s==")"&&Yc(n,e,i,")")>Yc(n,e,i,"("))i--;else if(s==";"&&(r=/&(?:#\d+|#x[a-f\d]+|\w+);$/.exec(n.slice(e,i))))i=e+r.index;else break}return i}function Dc(n,e){Ec.lastIndex=e;let t=Ec.exec(n);if(!t)return-1;let i=t[0][t[0].length-1];return i=="_"||i=="-"?-1:e+t[0].length-(i=="."?1:0)}const fw={parseInline:[{name:"Autolink",parse(n,e,t){let i=t-n.offset;Mc.lastIndex=i;let s=Mc.exec(n.text),r=-1;if(!s)return-1;if(s[1]||s[2]){if(r=cw(n.text,i+s[0].length),r>-1&&n.hasOpenLink){let o=/([^\[\]]|\[[^\]]*\])*/.exec(n.text.slice(i,r));r=i+o[0].length}}else s[3]?r=Dc(n.text,i):(r=Dc(n.text,i+s[0].length),r>-1&&s[0]=="xmpp:"&&(Vc.lastIndex=r,s=Vc.exec(n.text),s&&(r=s.index+s[0].length)));return r<0?-1:(n.addElement(n.elt("URL",t,r+n.offset)),r+n.offset)}}]},uw=[ow,aw,rw,fw];function wp(n,e,t){return(i,s,r)=>{if(s!=n||i.char(r+1)==n)return-1;let o=[i.elt(t,r,r+1)];for(let l=r+1;l"}}}),Pp=new X,$p=tw.configure({props:[li.add(n=>!n.is("Block")||n.is("Document")||ll(n)!=null||mw(n)?void 0:(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})),Pp.add(ll),Di.add({Document:()=>null}),Xt.add({Document:Qp})]});function ll(n){let e=/^(?:ATX|Setext)Heading(\d)$/.exec(n.name);return e?+e[1]:void 0}function mw(n){return n.name=="OrderedList"||n.name=="BulletList"}function gw(n,e){let t=n;for(;;){let i=t.nextSibling,s;if(!i||(s=ll(i.type))!=null&&s<=e)break;t=i}return t.to}const bw=Du.of((n,e,t)=>{for(let i=F(n).resolveInner(t,-1);i&&!(i.fromt)return{from:t,to:r}}return null});function ra(n){return new Ee(Qp,n,[bw],"markdown")}const Sw=ra($p),yw=$p.configure([uw,Ow,dw,pw,{props:[li.add({Table:(n,e)=>({from:e.doc.lineAt(n.from).to,to:n.to})})]}]),vp=ra(yw);function kw(n,e){return t=>{if(t&&n){let i=null;if(t=/\S*/.exec(t)[0],typeof n=="function"?i=n(t):i=Ds.matchLanguageName(n,t,!0),i instanceof Ds)return i.support?i.support.language.parser:ii.getSkippingParser(i.load());if(i)return i.parser}return e?e.parser:null}}class ms{constructor(e,t,i,s,r,o,l){this.node=e,this.from=t,this.to=i,this.spaceBefore=s,this.spaceAfter=r,this.type=o,this.item=l}blank(e,t=!0){let i=this.spaceBefore+(this.node.name=="Blockquote"?">":"");if(e!=null){for(;i.length0;s--)i+=" ";return i+(t?this.spaceAfter:"")}}marker(e,t){let i=this.node.name=="OrderedList"?String(+Zp(this.item,e)[2]+t):"";return this.spaceBefore+i+this.type+this.spaceAfter}}function Cp(n,e){let t=[];for(let s=n;s&&s.name!="Document";s=s.parent)(s.name=="ListItem"||s.name=="Blockquote"||s.name=="FencedCode")&&t.push(s);let i=[];for(let s=t.length-1;s>=0;s--){let r=t[s],o,l=e.lineAt(r.from),a=r.from-l.from;if(r.name=="FencedCode")i.push(new ms(r,a,a,"","","",null));else if(r.name=="Blockquote"&&(o=/^ *>( ?)/.exec(l.text.slice(a))))i.push(new ms(r,a,a+o[0].length,"",o[1],">",null));else if(r.name=="ListItem"&&r.parent.name=="OrderedList"&&(o=/^( *)\d+([.)])( *)/.exec(l.text.slice(a)))){let h=o[3],c=o[0].length;h.length>=4&&(h=h.slice(0,h.length-4),c-=4),i.push(new ms(r.parent,a,a+c,o[1],h,o[2],r))}else if(r.name=="ListItem"&&r.parent.name=="BulletList"&&(o=/^( *)([-+*])( {1,4}\[[ xX]\])?( +)/.exec(l.text.slice(a)))){let h=o[4],c=o[0].length;h.length>4&&(h=h.slice(0,h.length-4),c-=4);let f=o[2];o[3]&&(f+=o[3].replace(/[xX]/," ")),i.push(new ms(r.parent,a,a+c,o[1],h,f,r))}}return i}function Zp(n,e){return/^(\s*)(\d+)(?=[.)])/.exec(e.sliceString(n.from,n.from+10))}function eo(n,e,t,i=0){for(let s=-1,r=n;;){if(r.name=="ListItem"){let l=Zp(r,e),a=+l[2];if(s>=0){if(a!=s+1)return;t.push({from:r.from+l[1].length,to:r.from+l[0].length,insert:String(s+2+i)})}s=a}let o=r.nextSibling;if(!o)break;r=o}}function oa(n,e){let t=/^[ \t]*/.exec(n)[0].length;if(!t||e.facet(Yi)!=" ")return n;let i=Ge(n,4,t),s="";for(let r=i;r>0;)r>=4?(s+=" ",r-=4):(s+=" ",r--);return s+n.slice(t)}const xw=({state:n,dispatch:e})=>{let t=F(n),{doc:i}=n,s=null,r=n.changeByRange(o=>{if(!o.empty||!vp.isActiveAt(n,o.from))return s={range:o};let l=o.from,a=i.lineAt(l),h=Cp(t.resolveInner(l,-1),i);for(;h.length&&h[h.length-1].from>l-a.from;)h.pop();if(!h.length)return s={range:o};let c=h[h.length-1];if(c.to-c.spaceAfter.length>l-a.from)return s={range:o};let f=l>=c.to-c.spaceAfter.length&&!/\S/.test(a.text.slice(c.to));if(c.item&&f){let g=c.node.firstChild,b=c.node.getChild("ListItem","ListItem");if(g.to>=l||b&&b.to0&&!/[^\s>]/.test(i.lineAt(a.from-1).text)){let S=h.length>1?h[h.length-2]:null,x,w="";S&&S.item?(x=a.from+S.from,w=S.marker(i,1)):x=a.from+(S?S.to:0);let k=[{from:x,to:l,insert:w}];return c.node.name=="OrderedList"&&eo(c.item,i,k,-2),S&&S.node.name=="OrderedList"&&eo(S.item,i,k),{range:y.cursor(x+w.length),changes:k}}else{let S=zc(h,n,a);return{range:y.cursor(l+S.length+1),changes:{from:a.from,insert:S+n.lineBreak}}}}if(c.node.name=="Blockquote"&&f&&a.from){let g=i.lineAt(a.from-1),b=/>\s*$/.exec(g.text);if(b&&b.index==c.from){let S=n.changes([{from:g.from+b.index,to:g.to},{from:a.from+c.from,to:a.to}]);return{range:o.map(S),changes:S}}}let u=[];c.node.name=="OrderedList"&&eo(c.item,i,u);let d=c.item&&c.item.from]*/.exec(a.text)[0].length>=c.to)for(let g=0,b=h.length-1;g<=b;g++)O+=g==b&&!d?h[g].marker(i,1):h[g].blank(ga.from&&/\s/.test(a.text.charAt(m-a.from-1));)m--;return O=oa(O,n),ww(c.node,n.doc)&&(O=zc(h,n,a)+n.lineBreak+O),u.push({from:m,to:l,insert:n.lineBreak+O}),{range:y.cursor(m+O.length+1),changes:u}});return s?!1:(e(n.update(r,{scrollIntoView:!0,userEvent:"input"})),!0)};function qc(n){return n.name=="QuoteMark"||n.name=="ListMark"}function ww(n,e){if(n.name!="OrderedList"&&n.name!="BulletList")return!1;let t=n.firstChild,i=n.getChild("ListItem","ListItem");if(!i)return!1;let s=e.lineAt(t.to),r=e.lineAt(i.from),o=/^[\s>]*$/.test(s.text);return s.number+(o?0:1){let t=F(n),i=null,s=n.changeByRange(r=>{let o=r.from,{doc:l}=n;if(r.empty&&vp.isActiveAt(n,r.from)){let a=l.lineAt(o),h=Cp(Qw(t,o),l);if(h.length){let c=h[h.length-1],f=c.to-c.spaceAfter.length+(c.spaceAfter?1:0);if(o-a.from>f&&!/\S/.test(a.text.slice(f,o-a.from)))return{range:y.cursor(a.from+f),changes:{from:a.from+f,to:o}};if(o-a.from==f&&(!c.item||a.from<=c.item.from||!/\S/.test(a.text.slice(0,c.to)))){let u=a.from+c.from;if(c.item&&c.node.from1&&n.eat("$");var t=n.next();return/['"({]/.test(t)?(e.tokens[0]=br(t,t=="("?"quote":t=="{"?"def":"string"),Ei(n,e)):(/\d/.test(t)||n.eatWhile(/\w/),e.tokens.shift(),"def")};function Ew(n){return function(e,t){return e.sol()&&e.string==n&&t.tokens.shift(),e.skipToEnd(),"string.special"}}function Ei(n,e){return(e.tokens[0]||Mw)(n,e)}const Vw={name:"shell",startState:function(){return{tokens:[]}},token:function(n,e){return Ei(n,e)},languageData:{autocomplete:Tp.concat(Rp,Ap),closeBrackets:{brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"#"}}};var Yw=["true","false","on","off","yes","no"],Dw=new RegExp("\\b(("+Yw.join(")|(")+"))$","i");const qw={name:"yaml",token:function(n,e){var t=n.peek(),i=e.escaped;if(e.escaped=!1,t=="#"&&(n.pos==0||/\s/.test(n.string.charAt(n.pos-1))))return n.skipToEnd(),"comment";if(n.match(/^('([^']|\\.)*'?|"([^"]|\\.)*"?)/))return"string";if(e.literal&&n.indentation()>e.keyCol)return n.skipToEnd(),"string";if(e.literal&&(e.literal=!1),n.sol()){if(e.keyCol=0,e.pair=!1,e.pairStart=!1,n.match("---")||n.match("..."))return"def";if(n.match(/^\s*-\s+/))return"meta"}if(n.match(/^(\{|\}|\[|\])/))return t=="{"?e.inlinePairs++:t=="}"?e.inlinePairs--:t=="["?e.inlineList++:e.inlineList--,"meta";if(e.inlineList>0&&!i&&t==",")return n.next(),"meta";if(e.inlinePairs>0&&!i&&t==",")return e.keyCol=0,e.pair=!1,e.pairStart=!1,n.next(),"meta";if(e.pairStart){if(n.match(/^\s*(\||\>)\s*/))return e.literal=!0,"meta";if(n.match(/^\s*(\&|\*)[a-z0-9\._-]+\b/i))return"variable";if(e.inlinePairs==0&&n.match(/^\s*-?[0-9\.\,]+\s?$/)||e.inlinePairs>0&&n.match(/^\s*-?[0-9\.\,]+\s?(?=(,|}))/))return"number";if(n.match(Dw))return"keyword"}return!e.pair&&n.match(/^\s*(?:[,\[\]{}&*!|>'"%@`][^\s'":]|[^,\[\]{}#&*!|>'"%@`])[^#]*?(?=\s*:($|\s))/)?(e.pair=!0,e.keyCol=n.indentation(),"atom"):e.pair&&n.match(/^:\s*/)?(e.pairStart=!0,"meta"):(e.pairStart=!1,e.escaped=t=="\\",n.next(),null)},startState:function(){return{pair:!1,pairStart:!1,keyCol:0,inlinePairs:0,inlineList:0,literal:!1,escaped:!1}},languageData:{commentTokens:{line:"#"}}};var Lc,_c,Bc;function Uc({view:n,searchConfig:e}){const t=Hc.useState(""),i=Vp(t,2),s=i[0],r=i[1],o=(u,d)=>{r(d),l(d)},l=u=>{n.dispatch({effects:Ri.of(new Dl({search:u}))})},a=u=>{u.key==="Enter"&&(u.shiftKey?f():c())},h=u=>{u.key==="Escape"&&Ll(n)},c=()=>{l(s),vn(n)},f=()=>{l(s),Cn(n)};return rt.createElement(Ip,{renderLabel:"",inputRef:u=>{setTimeout(()=>u==null?void 0:u.focus(),0)},size:"small",display:"inline-block",width:"20rem",placeholder:e.placeholder,onChange:o,onKeyDown:a,onKeyUp:h,renderBeforeInput:Lc||(Lc=rt.createElement(Gp,{size:"x-small"})),renderAfterInput:rt.createElement("span",null,rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:c,screenReaderLabel:e.nextResultLabel},_c||(_c=rt.createElement(jp,null))),rt.createElement(ha,{size:"small",withBorder:!1,withBackground:!1,onClick:f,screenReaderLabel:e.prevResultLabel},Bc||(Bc=rt.createElement(Np,null))))})}function zw(n){return n?OS({createPanel:e=>{var t;const i=document.createElement("div");return i.style.padding="8px",Number(rt.version.split(".")[0])>=18?Wp(()=>import("./index-Bko_xNHh.js").then(r=>r.c),__vite__mapDeps([0,1])).then(r=>{r.createRoot(i).render(t||(t=rt.createElement(Uc,{view:e,searchConfig:n})))}).catch(r=>{}):Ep.render(rt.createElement(Uc,{view:e,searchConfig:n}),i),{dom:i}}}):[]}const Lw=(n,e)=>{const t=e.attachment,i=e.height,s=e.width,r={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0}},o={top:{marginBottom:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}},l=1.4375;return{codeEditor:{label:"codeEditor",position:"relative",boxSizing:"border-box",height:i||"auto",width:s},label:{label:"label",height:"100%",width:"100%"},codeEditorContainer:{label:"codeEditorContainer",height:"100%",width:"100%",borderColor:n==null?void 0:n.borderColor,borderStyle:"solid",borderWidth:n==null?void 0:n.borderWidth,borderRadius:n.borderRadius,marginBottom:"1rem",...t&&{...o[t],...r[t]}},theme:{"&":{overflow:"hidden",background:n.background,fontFamily:n.fontFamily,fontSize:n.fontSize,color:n.color,border:0,height:"100%",width:"100%",minHeight:`${l}rem`,lineHeight:l,borderRadius:n.borderRadius,...t&&{...r[t]}},"&.cm-editor.cm-focused":{outline:`${n==null?void 0:n.borderWidth} solid ${n==null?void 0:n.focusBorderColor}`},".cm-content":{padding:`${n.verticalPadding} 0`},".cm-scroller":{fontFamily:n.fontFamily,lineHeight:1.4375},".cm-gutters":{background:n.gutterBackground,borderColor:n.borderColor},".cm-line":{padding:`0 ${n.horizontalPadding}`},".cm-selectionBackground":{background:"transparent"},".cm-focused .cm-selectionBackground":{background:"#d7d4f0"},".cm-placeholder":{color:"#707070"}},highlightStyle:[{tag:p.link,textDecoration:"underline"},{tag:p.heading,textDecoration:"underline",fontWeight:"bold"},{tag:p.emphasis,fontStyle:"italic"},{tag:p.strong,fontWeight:"bold"},{tag:p.strikethrough,textDecoration:"line-through"},{tag:p.keyword,color:"#708"},{tag:[p.atom,p.bool,p.url,p.contentSeparator,p.labelName],color:"#219"},{tag:[p.literal,p.inserted],color:"#164"},{tag:[p.string,p.deleted],color:"#a11"},{tag:p.definition(p.variableName),color:"#00f"},{tag:p.local(p.variableName),color:"#30a"},{tag:p.className,color:"#167"},{tag:[p.special(p.variableName),p.macroName],color:"#256"},{tag:p.definition(p.propertyName),color:"#00c"},{tag:p.comment,color:"#940"},{tag:p.meta,color:"#757075"},{tag:[p.regexp,p.escape,p.special(p.string)],color:"#d13b00"},{tag:[p.typeName,p.namespace],color:"#008051"},{tag:p.invalid,color:"#e60000"}]}},_w=n=>{const e=n.colors,t=n.borders,i=n.typography,s=n.spacing;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,gutterBackground:e==null?void 0:e.backgroundLight,borderWidth:t==null?void 0:t.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:t==null?void 0:t.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,horizontalPadding:s==null?void 0:s.xSmall,verticalPadding:s==null?void 0:s.xxSmall}}},Ic=[{key:"ArrowLeft",run:jl,shift:Gl,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:Xd,shift:Nd},{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:Wd,shift:Fd},{mac:"Cmd-ArrowLeft",run:Bd,shift:sO},{key:"Home",run:zd,shift:tO},{key:"ArrowRight",run:Il,shift:Nl,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:Ad,shift:jd},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:Md,shift:Gd},{mac:"Cmd-ArrowRight",run:_d,shift:nO},{key:"End",run:Ld,shift:iO},{key:"Delete",run:Fs},{key:"Mod-Delete",mac:"Alt-Delete",run:Fl},{key:"Backspace",run:Hs,shift:Hs},{key:"Mod-Backspace",mac:"Alt-Backspace",run:lO},{mac:"Mod-Delete",run:sy},{mac:"Mod-Backspace",run:aO}],Bw={label:j.string.isRequired,language:j.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:j.bool,editable:j.bool,lineNumbers:j.bool,foldGutter:j.bool,highlightActiveLineGutter:j.bool,highlightActiveLine:j.bool,lineWrapping:j.bool,autofocus:j.bool,spellcheck:j.bool,direction:j.oneOf(["ltr","rtl"]),rtlMoveVisually:j.bool,indentOnLoad:j.bool,indentWithTab:j.bool,indentUnit:j.string,defaultValue:j.string,value:Fp(j.string,"onChange","defaultValue"),onChange:j.func,onFocus:j.func,onBlur:j.func,attachment:j.oneOf(["bottom","top"]),height:j.string,width:j.string,elementRef:j.func,containerRef:j.func,searchConfig:j.object},Uw=["label","language","readOnly","editable","lineNumbers","foldGutter","highlightActiveLineGutter","highlightActiveLine","lineWrapping","autofocus","spellcheck","direction","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","defaultValue","value","onChange","onFocus","onBlur","attachment","height","width","elementRef","containerRef","searchConfig"],Iw=["label","styles"];var jc,Nc,Gc,Fc,Pt,It;let sQ=(jc=Yp(),Nc=Dp(Lw,_w),Gc=qp(),Fc=zp(),jc(Pt=Nc(Pt=Gc(Pt=Fc(Pt=(It=class Mp extends Hc.Component{addAnimationFrame(e){typeof e=="function"&&this._raf.push(Hp(e))}cancelAnimationFrames(){this._raf.forEach(e=>e.cancel()),this._raf=[]}focus(){this.addAnimationFrame(()=>{var e;(e=this._editorView)===null||e===void 0||e.focus()})}get hasFocus(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.hasFocus}selectAll(){this._editorView&&this.addAnimationFrame(()=>{var e;this.dispatchViewSelection({anchor:0,head:(e=this.currentDocValue)===null||e===void 0?void 0:e.length})})}deselectAll(){this._editorView&&this.addAnimationFrame(()=>{this.dispatchViewSelection({anchor:0,head:0})})}indentCurrentSelection(){this.addAnimationFrame(()=>{this._editorView&&uO({state:this._editorView.state,dispatch:e=>{var t;(t=this._editorView)===null||t===void 0||t.update([e])}})})}indentAll(){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.indentCodeRange(0,this.currentDocValue.length)})}indentCodeRange(e,t){this.addAnimationFrame(()=>{this._editorView&&this.currentDocValue&&this.dispatchViewChanges({changes:Ob(this._editorView.state,e,t)})})}dispatchViewEffects(e){!this._editorView||!e||this._editorView.dispatch({effects:e})}dispatchViewChanges({changes:e,selection:t,userEvent:i}){!this._editorView||!e||this._editorView.dispatch({changes:e,...t?{selection:t}:void 0,...i?{userEvent:i}:void 0})}dispatchViewSelection(e){!this._editorView||!e||this._editorView.dispatch({selection:e})}get currentDocValue(){var e;return(e=this._editorView)===null||e===void 0?void 0:e.state.doc}get isControlled(){return typeof this.props.value=="string"}constructor(e){super(e),this._id=void 0,this.ref=null,this._containerRef=void 0,this._editorView=void 0,this._raf=[],this._newSelectionAfterValueChange=void 0,this.handleRef=t=>{const i=this.props.elementRef;this.ref=t,typeof i=="function"&&i(t)},this.handleContainerRef=t=>{const i=this.props.containerRef;this._containerRef=t||void 0,typeof i=="function"&&i(t)},this._id=e.deterministicId()}componentDidMount(){var e,t;const i=this.props,s=i.value,r=i.defaultValue,o=i.autofocus,l=i.indentOnLoad;(e=(t=this.props).makeStyles)===null||e===void 0||e.call(t);const a=Y.create({doc:s||r,extensions:this.extensions});this._editorView=new $({state:a,parent:this._containerRef}),o&&this.focus(),l&&this.indentAll()}componentWillUnmount(){var e;(e=this._editorView)===null||e===void 0||e.destroy(),this.cancelAnimationFrames()}componentDidUpdate(e){var t,i;(t=(i=this.props).makeStyles)===null||t===void 0||t.call(i),this._editorView&&(this.props.value!==e.value&&this.refreshEditorValue(),this.shouldUpdateExtensions(e)&&this.refreshExtensions())}shouldUpdateExtensions(e){const t=["styles","themeOverride","language","readOnly","editable","lineNumbers","highlightActiveLineGutter","foldGutter","lineWrapping","autofocus","spellcheck","direction","dir","rtlMoveVisually","indentOnLoad","indentWithTab","indentUnit","highlightActiveLine","attachment"];for(const i of t)if(!Lp(this.props[i],e[i]))return!0;return!1}get direction(){return this.props.direction||this.props.dir}get extensions(){const e=[...this.baseExtensions,this.languageExtension,this.onChangeExtension,this.focusListenerExtension,this.announceLineNumberExtension];return this.themeExtension&&e.push(this.themeExtension),this.props.lineNumbers&&e.push(z0()),this.props.highlightActiveLine&&e.push(p0()),this.props.highlightActiveLineGutter&&e.push(B0()),this.props.foldGutter&&e.push(Eb()),this.props.lineWrapping&&e.push($.lineWrapping),this.props.editable===!1&&e.push($.editable.of(!1)),this.props.readOnly&&e.push(Y.readOnly.of(!0)),this.props.spellcheck&&e.push($.contentAttributes.of({spellcheck:"true"})),this.direction&&e.push($.contentAttributes.of({dir:this.direction})),this.props.indentUnit&&e.push(Yi.of(this.props.indentUnit)),e}get baseExtensions(){return[h0(),VS(),Kg(),n0(),Y.allowMultipleSelections.of(!0),vh(qb,{fallback:!0}),jb(),z1(),K1(),k0(),Q0(),rS(),Qb(),zw(this.props.searchConfig),Vn.of(this.keymaps)]}get keymaps(){const e=[...U1,...this.commandKeybinding,...IS,...Ab,...pd,...Zy,...this.props.searchConfig?PS:[]];return this.props.indentWithTab&&e.push(yy),e}get commandKeybinding(){const e=this.props.rtlMoveVisually;if(this.direction==="rtl"&&!e){const t=Ic.map(s=>s.key?s.key:s.mac?s.mac:s);return[...Kh.filter(s=>s.key?t.indexOf(s.key)<0:s.mac?t.indexOf(s.mac)<0:!1),...Ic]}return Kh}get themeExtension(){const e=this.props.styles;if(!(e!=null&&e.theme)||!e.highlightStyle)return;const t=$.theme(e==null?void 0:e.theme),i=vh(zn.define(e==null?void 0:e.highlightStyle));return[t,i]}get languageExtension(){switch(this.props.language){case"json":return Xw();case"js":case"jsx":case"javascript":return Jo({jsx:!0,typescript:!0});case"html":return ip({matchClosingTags:!0,autoCloseTags:!0});case"css":return jO();case"markdown":return vw();case"sh":case"shell":case"bash":return Ls.define(Vw);case"yml":case"yaml":return Ls.define(qw);default:return Jo({jsx:!0,typescript:!0})}}callOnChangeHandler(e){const t=this.props,i=t.onChange,s=t.value;this.addAnimationFrame(()=>{typeof i=="function"&&e!==s&&i(e)})}get onChangeExtension(){return Y.changeFilter.of(e=>{if(!this._editorView)return!1;if(e.docChanged){const t=e.newDoc.toString();if(this.isControlled)return t!==this.props.value?(this._newSelectionAfterValueChange=e.selection,this.cancelAnimationFrames(),this.callOnChangeHandler(t),!1):!0;this.callOnChangeHandler(t)}return!0})}get focusListenerExtension(){const e=this.props,t=e.onFocus,i=e.onBlur;return $.updateListener.of(s=>{s.focusChanged&&this._editorView&&(this.hasFocus?typeof t=="function"&&t():typeof i=="function"&&i())})}get announceLineNumberExtension(){return Y.transactionExtender.of(e=>{const t=e.selection,i=e.startState.selection.main;if(t&&t.main.empty&&i.empty){const s=e.startState.doc.lineAt(i.head),r=e.newDoc.lineAt(t.main.head);if(s.number!=r.number)return{effects:$.announce.of(e.startState.phrase("line ")+r.number+".")}}return null})}refreshExtensions(){this.dispatchViewEffects(M.reconfigure.of(this.extensions))}refreshEditorValue(){if(!this._editorView)return;const e=this.props.value,t=this._editorView.state.doc.toString();if(typeof e<"u"&&t!==e){let i;const s=e.length-t.length;s===1?i="input.type":s===-1&&(i="delete.backward"),this.dispatchViewChanges({changes:{from:0,to:t.length,insert:e||""},selection:this._newSelectionAfterValueChange,userEvent:i}),this._newSelectionAfterValueChange=void 0}this.props.indentOnLoad&&this.indentAll()}render(){const e=this.props,t=e.label,i=e.styles,s=_p(e,Iw);return Un("div",Object.assign({ref:this.handleRef,css:i==null?void 0:i.codeEditor},Bp(Up(s,Mp.allowedProps))),Un("label",{css:i==null?void 0:i.label,htmlFor:this._id},Un(Kp,null,t),Un("div",{ref:this.handleContainerRef,css:i==null?void 0:i.codeEditorContainer})))}},It.displayName="SourceCodeEditor",It.componentId="SourceCodeEditor",It.propTypes=Bw,It.allowedProps=Uw,It.defaultProps={language:"jsx",readOnly:!1,editable:!0,lineNumbers:!1,foldGutter:!1,highlightActiveLine:!1,highlightActiveLineGutter:!1,lineWrapping:!1,autofocus:!1,spellcheck:!1,rtlMoveVisually:!0,indentOnLoad:!1,indentWithTab:!1,defaultValue:"",height:"auto"},It))||Pt)||Pt)||Pt)||Pt);export{sQ as S}; diff --git a/assets/index-DXJB-CtN.js b/assets/index-FeyKb7iJ.js similarity index 99% rename from assets/index-DXJB-CtN.js rename to assets/index-FeyKb7iJ.js index 7c5af5f..7c2b461 100644 --- a/assets/index-DXJB-CtN.js +++ b/assets/index-FeyKb7iJ.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.node-BNQGXnE6.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/index-DnQmWmi_.js"])))=>i.map(i=>d[i]); -import{S as _b,b as n1,c as My,F as IM,T as re,d as mM,I as lN,e as cN,f as S2}from"./index-DrEKPqe2.js";import{g as Rk,i as vk,h as Wk,G as gk,k as yk,j as Lk,l as Nk,m as Bk,n as Ck,o as Sk,a as wk}from"./index-DrEKPqe2.js";import{A as by,r as l,R as r,O as MN,k as bN,l as zN,Q as zy,U as dy,W as Oy,P as s,h as Y,q as E2,p as p0,S as n,T as G,w as L,t as N,i as b,s as z0,f as t0,V as w,F as dN,X as _2,o as D,n as Q0,H as ON,_ as Xb,m as x2,E as ze,G as hN,Y as AN,Z as fN,v as uN,z as Tc,C as qN}from"./index-D4PUjdd4.js";import{a2 as xk,a3 as Tk,a4 as Pk,a5 as Ek,a6 as _k,a0 as Xk,I as kk,$ as Hk,a1 as $k}from"./index-D4PUjdd4.js";import{j as r0,t as mN,u as RN,S as m0,v as de,k as oo,B as rb,w as vN,P as S0,e as he,n as Z,x as k,y as L1,s as i0,C as h0,z as hy,I as ib,A as to,p as c0,D as Ay,i as u0,l as po,m as M0,E as ae,F as J0,T as xM,r as oM,G as Vl,q as WN,o as B2,J as sb,K as w2,M as fy,N as Vc,Q as Zc,U as ab,V as Dc,W as gN,h as lb,X as uy,Y as yN,Z as LN,_ as cb,$ as NN,a0 as kb,a1 as BN,a2 as CN,a3 as SN}from"./RenderTopNavBar-CJuzk9-4.js";import{a4 as Zk,a5 as Dk,H as Fk,ac as jk,ai as Uk,ad as Gk,ae as Yk,af as Kk,ag as Qk,ah as Jk,a6 as eH,L as oH,O as tH,a7 as pH,a8 as nH,a9 as rH,aa as iH,ab as sH}from"./RenderTopNavBar-CJuzk9-4.js";import{b as qy,B as Fc,E as Hb}from"./index-vlHfeEdv.js";import{I as lH,a as cH,R as MH,T as bH}from"./index-vlHfeEdv.js";import{B as dH}from"./index-BGFQHV-c.js";import{a as t1}from"./index-B30b3Gjx.js";import{I as hH}from"./index-B30b3Gjx.js";import{L as fH,e as uH}from"./Mdtoui-Bwh6I7pz.js";import{S as mH}from"./index-CyJKhc9Y.js";import{I as vH}from"./IconRssLine-CSAPFqUt.js";const my=(()=>{{const p=function(){return e=>e};return p.deprecatePropValues=()=>()=>null,p.warnDeprecatedProps=()=>{},p.warnDeprecatedComponent=()=>{},p.changedPackageWarning=()=>"",p}})(),no={keyboard:"keyboard",pointer:"pointer"};let q0=[],N2=[],ro=no.keyboard,RM=0;const jc={},Z0=p=>{p.target.nodeName.toLowerCase()!=="html"&&(Mb(ro,no.pointer),q0.forEach(e=>e.remove()))},Mb=(p,e)=>{p!==e&&(ro=e,Object.keys(jc).forEach(o=>jc[o](p,e)))},wN=()=>{Mb(ro,no.keyboard)},vM=()=>{Mb(ro,no.pointer)},IN=()=>{q0.length===0&&(q0.push(r0(document,"mousemove",Z0,!0)),q0.push(r0(document,"mousedown",Z0,!0)),q0.push(r0(document,"mouseup",Z0,!0)),q0.push(r0(document,"pointermove",Z0,!0)),q0.push(r0(document,"pointerdown",Z0,!0)),q0.push(r0(document,"pointerup",Z0,!0)),q0.push(r0(document,"touchmove",Z0,!0)),q0.push(r0(document,"touchstart",Z0,!0)),q0.push(r0(document,"touchend",Z0,!0)))},xN=()=>{N2.length===0&&(N2.push(r0(document,"keydown",wN,!0)),N2.push(r0(document,"mousedown",vM,!0)),N2.push(r0(document,"pointerdown",vM,!0)),N2.push(r0(document,"touchstart",vM,!0)))},TN=()=>{q0.forEach(p=>p.remove()),q0=[],N2.forEach(p=>p.remove()),N2=[]},PN=p=>{const e=p.onInputModeChange,o=RM++;return typeof e=="function"&&(jc[o]=e),by&&(xN(),IN()),{isKeyboardMode:()=>ro===no.keyboard,remove:()=>{RM===1&&TN(),delete jc[o],RM--}}},tM=l.createContext({locale:void 0,timezone:void 0}),nX=({children:p,locale:e,timezone:o})=>r.createElement(tM.Provider,{value:{locale:e,timezone:o}},mN(p));var Ry={exports:{}},vy={exports:{}};//! moment.js +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.node-DFO_4WZl.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/index-SdCRoWb_.js"])))=>i.map(i=>d[i]); +import{S as _b,b as n1,c as My,F as IM,T as re,d as mM,I as lN,e as cN,f as S2}from"./index-C29H8B_2.js";import{g as Rk,i as vk,h as Wk,G as gk,k as yk,j as Lk,l as Nk,m as Bk,n as Ck,o as Sk,a as wk}from"./index-C29H8B_2.js";import{A as by,r as l,R as r,O as MN,k as bN,l as zN,Q as zy,U as dy,W as Oy,P as s,h as Y,q as E2,p as p0,S as n,T as G,w as L,t as N,i as b,s as z0,f as t0,V as w,F as dN,X as _2,o as D,n as Q0,H as ON,_ as Xb,m as x2,E as ze,G as hN,Y as AN,Z as fN,v as uN,z as Tc,C as qN}from"./index-Bko_xNHh.js";import{a2 as xk,a3 as Tk,a4 as Pk,a5 as Ek,a6 as _k,a0 as Xk,I as kk,$ as Hk,a1 as $k}from"./index-Bko_xNHh.js";import{j as r0,t as mN,u as RN,S as m0,v as de,k as oo,B as rb,w as vN,P as S0,e as he,n as Z,x as k,y as L1,s as i0,C as h0,z as hy,I as ib,A as to,p as c0,D as Ay,i as u0,l as po,m as M0,E as ae,F as J0,T as xM,r as oM,G as Vl,q as WN,o as B2,J as sb,K as w2,M as fy,N as Vc,Q as Zc,U as ab,V as Dc,W as gN,h as lb,X as uy,Y as yN,Z as LN,_ as cb,$ as NN,a0 as kb,a1 as BN,a2 as CN,a3 as SN}from"./RenderTopNavBar-C6YLj6sY.js";import{a4 as Zk,a5 as Dk,H as Fk,ac as jk,ai as Uk,ad as Gk,ae as Yk,af as Kk,ag as Qk,ah as Jk,a6 as eH,L as oH,O as tH,a7 as pH,a8 as nH,a9 as rH,aa as iH,ab as sH}from"./RenderTopNavBar-C6YLj6sY.js";import{b as qy,B as Fc,E as Hb}from"./index-BMjzoizO.js";import{I as lH,a as cH,R as MH,T as bH}from"./index-BMjzoizO.js";import{B as dH}from"./index-BU6CM6-K.js";import{a as t1}from"./index-XoI2c9b1.js";import{I as hH}from"./index-XoI2c9b1.js";import{L as fH,e as uH}from"./Mdtoui-De8g0Gj_.js";import{S as mH}from"./index-DFC9d6f5.js";import{I as vH}from"./IconRssLine-dU4u7fMc.js";const my=(()=>{{const p=function(){return e=>e};return p.deprecatePropValues=()=>()=>null,p.warnDeprecatedProps=()=>{},p.warnDeprecatedComponent=()=>{},p.changedPackageWarning=()=>"",p}})(),no={keyboard:"keyboard",pointer:"pointer"};let q0=[],N2=[],ro=no.keyboard,RM=0;const jc={},Z0=p=>{p.target.nodeName.toLowerCase()!=="html"&&(Mb(ro,no.pointer),q0.forEach(e=>e.remove()))},Mb=(p,e)=>{p!==e&&(ro=e,Object.keys(jc).forEach(o=>jc[o](p,e)))},wN=()=>{Mb(ro,no.keyboard)},vM=()=>{Mb(ro,no.pointer)},IN=()=>{q0.length===0&&(q0.push(r0(document,"mousemove",Z0,!0)),q0.push(r0(document,"mousedown",Z0,!0)),q0.push(r0(document,"mouseup",Z0,!0)),q0.push(r0(document,"pointermove",Z0,!0)),q0.push(r0(document,"pointerdown",Z0,!0)),q0.push(r0(document,"pointerup",Z0,!0)),q0.push(r0(document,"touchmove",Z0,!0)),q0.push(r0(document,"touchstart",Z0,!0)),q0.push(r0(document,"touchend",Z0,!0)))},xN=()=>{N2.length===0&&(N2.push(r0(document,"keydown",wN,!0)),N2.push(r0(document,"mousedown",vM,!0)),N2.push(r0(document,"pointerdown",vM,!0)),N2.push(r0(document,"touchstart",vM,!0)))},TN=()=>{q0.forEach(p=>p.remove()),q0=[],N2.forEach(p=>p.remove()),N2=[]},PN=p=>{const e=p.onInputModeChange,o=RM++;return typeof e=="function"&&(jc[o]=e),by&&(xN(),IN()),{isKeyboardMode:()=>ro===no.keyboard,remove:()=>{RM===1&&TN(),delete jc[o],RM--}}},tM=l.createContext({locale:void 0,timezone:void 0}),nX=({children:p,locale:e,timezone:o})=>r.createElement(tM.Provider,{value:{locale:e,timezone:o}},mN(p));var Ry={exports:{}},vy={exports:{}};//! moment.js //! version : 2.30.1 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors //! license : MIT @@ -22,7 +22,7 @@ g.version="2.30.1";EN(J);g.fn=v;g.min=gC;g.max=yC;g.now=LC;g.utc=$0;g.unix=ow;g. }`,wI=(p,e)=>{const o=e.type,t=e.variant,i=e.placement,a=i===void 0?"":i,c=e.standalone,M=e.pulse,z=a.indexOf("top")>-1,d=a.indexOf("bottom")>-1,O=a.indexOf("start")>-1,A=a.indexOf("end")>-1,f=a.indexOf("center")>-1,u={danger:{badge:{color:p.color,backgroundColor:p.colorDanger},pulseBorder:{borderColor:p.colorDanger}},success:{badge:{color:p.color,backgroundColor:p.colorSuccess},pulseBorder:{borderColor:p.colorSuccess}},primary:{badge:{color:p.color,backgroundColor:p.colorPrimary},pulseBorder:{borderColor:p.colorPrimary}},inverse:{badge:{color:p.colorInverse,backgroundColor:p.color},pulseBorder:{borderColor:p.color}}},R={...z&&{top:`calc(-1 * ${p.countOffset})`},...d&&{bottom:`calc(-1 * ${p.countOffset})`},...O&&{insetInlineStart:`calc(-1 * ${p.countOffset})`,insetInlineEnd:"auto"},...A&&{insetInlineEnd:`calc(-1 * ${p.countOffset})`,insetInlineStart:"auto"},...f&&{...(A||O)&&{top:`calc(50% - (${p.size} / 2))`},...O&&{insetInlineStart:"auto",insetInlineEnd:`calc(100% - ${p.countOffset})`},...A&&{insetInlineEnd:"auto",insetInlineStart:`calc(100% - ${p.countOffset})`}}},B={...z&&{top:p.notificationOffset},...d&&{bottom:p.notificationOffset},...O&&{insetInlineStart:p.notificationOffset,insetInlineEnd:"auto"},...A&&{insetInlineEnd:p.notificationOffset,insetInlineStart:"auto"},...f&&{...(A||O)&&{top:`calc(50% - (${p.sizeNotification} / 2))`},...O&&{insetInlineStart:`calc(-1 * ${p.sizeNotification} / 2)`,insetInlineEnd:"auto"},...A&&{insetInlineEnd:`calc(-1 * ${p.sizeNotification} / 2)`,insetInlineStart:"auto"}}},I={count:R,notification:B},S={count:{lineHeight:p.size,minWidth:p.size,paddingInlineStart:p.padding,paddingInlineEnd:p.padding},notification:{width:p.sizeNotification,height:p.sizeNotification}};return{badge:{label:"badge",fontFamily:p.fontFamily,fontWeight:p.fontWeight,boxSizing:"border-box",pointerEvents:"none",textAlign:"center",fontSize:p.fontSize,whiteSpace:"nowrap",borderRadius:p.borderRadius,...u[t].badge,...M&&{position:"relative","&::before":{content:'""',width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",borderRadius:p.borderRadius,position:"absolute",top:"-0.25rem",insetInlineEnd:"auto",insetInlineStart:"-0.25rem",boxSizing:"border-box",border:`${p.pulseBorderThickness} solid`,opacity:0,transform:"scale(0.75)",animationName:SI,animationDuration:"1s",animationIterationCount:"4",animationDirection:"alternate",...u[t].pulseBorder}},...S[o],...!c&&{position:"absolute",zIndex:p.notificationZIndex,...I[o]}},wrapper:{label:"badge__wrapper",position:"relative",boxSizing:"border-box",svg:{display:"block"}}}},II=p=>{const e=p.borders,o=p.colors,t=p.spacing,i=p.typography,a=p.stacking,c=p.key,M={canvas:{colorPrimary:p["ic-brand-primary"]}};return{...{fontFamily:i==null?void 0:i.fontFamily,fontWeight:i==null?void 0:i.fontWeightNormal,color:o==null?void 0:o.textLightest,fontSize:i==null?void 0:i.fontSizeXSmall,colorDanger:o==null?void 0:o.textDanger,colorSuccess:o==null?void 0:o.textSuccess,colorPrimary:o==null?void 0:o.textBrand,colorInverse:o==null?void 0:o.textDarkest,size:"1.25rem",countOffset:"0.5rem",notificationOffset:"0.125rem",notificationZIndex:a==null?void 0:a.above,sizeNotification:t==null?void 0:t.small,borderRadius:"999rem",padding:t==null?void 0:t.xxSmall,pulseBorderThickness:e==null?void 0:e.widthMedium},...M[c]}},xI={count:s.number,countUntil:s.number,children:s.element,type:s.oneOf(["count","notification"]),standalone:s.bool,pulse:s.bool,variant:s.oneOf(["primary","success","danger","inverse"]),placement:S0.placement,display:s.oneOf(["inline-block","block"]),margin:G.spacing,elementRef:s.func,formatOverflowText:s.func,formatOutput:s.func,as:s.elementType},TI=["count","countUntil","children","type","standalone","pulse","variant","placement","display","margin","elementRef","formatOverflowText","formatOutput","as"];var ev,ov,tv,$2,E1;let dX=(ev=z0(),ov=L(wI,II),tv=N(),ev($2=ov($2=tv($2=(E1=class extends l.Component{constructor(e){super(e),this._defaultId=void 0,this.ref=null,this.handleRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)},this._defaultId=this.props.deterministicId()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}countOverflow(){const e=this.props,o=e.count,t=e.countUntil;return t&&o&&t>1&&o>=t}renderOutput(){const e=this.props,o=e.count,t=e.countUntil,i=e.formatOverflowText,a=e.formatOutput,c=e.type;let M=(o||"").toString();return o&&t&&i&&c==="count"&&this.countOverflow()&&(M=i(o,t)),typeof a=="function"?a(M):c==="count"?M:null}renderBadge(){const e=this.props,o=e.count,t=e.margin,i=e.standalone,a=e.type,c=e.styles;return b(w,Object.assign({margin:i?t:"none",css:c==null?void 0:c.badge,title:a==="count"&&this.countOverflow()?o==null?void 0:o.toString():"",id:i?void 0:this._defaultId,display:i?"inline-block":"block"},i&&{elementRef:this.handleRef}),this.renderOutput())}renderChildren(){return l.Children.map(this.props.children,e=>i0(e,{"aria-describedby":this._defaultId}))}render(){const e=this.props,o=e.margin,t=e.standalone,i=e.display,a=e.as,c=e.styles;return t?this.renderBadge():b(w,{as:a,margin:o,elementRef:this.handleRef,css:c==null?void 0:c.wrapper,display:i},this.renderChildren(),this.renderBadge())}},E1.displayName="Badge",E1.componentId="Badge",E1.propTypes=xI,E1.allowedProps=TI,E1.defaultProps={standalone:!1,type:"count",variant:"primary",display:"inline-block",pulse:!1,placement:"top end",elementRef:()=>{},formatOverflowText:(p,e)=>`${e-1} +`},E1))||$2)||$2)||$2);const PI=(p,e)=>{const o=e.alignContent,t=e.size,i={top:{alignItems:"flex-start"},center:{alignItems:"center"}},a={display:"flex",background:p.background,margin:0,padding:0,fontFamily:p.fontFamily,...i[o]},c={color:p.color,margin:0,padding:0};return{byline:{label:"byline",...a,"&:is(figure)":a,"&:-webkit-any(figure)":a},figure:{label:"byline__figure",marginInlineStart:0,marginInlineEnd:p.figureMargin},caption:{label:"byline__caption",...c,"&:is(figcaption)":c,"&:-webkit-any(figcaption)":c},title:{label:"byline__title",textRendering:"optimizeLegibility",WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"block",margin:p.titleMargin,fontSize:p.titleFontSize,fontWeight:p.titleFontWeight,lineHeight:p.titleLineHeight},description:{label:"byline__description",fontSize:p.descriptionFontSize,lineHeight:p.descriptionLineHeight,fontWeight:p.descriptionFontWeight},maxWidth:t&&p[t]}},EI=p=>{const e=p.colors,o=p.spacing,t=p.typography,i=p.breakpoints,a=p.key,c={canvas:{color:p["ic-brand-font-color-dark"]}};return{...{fontFamily:t==null?void 0:t.fontFamily,background:e==null?void 0:e.backgroundLightest,color:e==null?void 0:e.textDarkest,figureMargin:o==null?void 0:o.small,titleMargin:`0 0 ${o==null?void 0:o.xSmall} 0`,titleFontSize:t==null?void 0:t.fontSizeLarge,titleFontWeight:t==null?void 0:t.fontWeightNormal,titleLineHeight:t==null?void 0:t.lineHeightFit,descriptionFontSize:t==null?void 0:t.fontSizeMedium,descriptionFontWeight:t==null?void 0:t.fontWeightNormal,descriptionLineHeight:t==null?void 0:t.lineHeightCondensed,small:i==null?void 0:i.small,medium:i==null?void 0:i.medium,large:i==null?void 0:i.large},...c[a]}},_I={children:s.node.isRequired,title:s.node,description:s.oneOfType([s.string,s.node]),alignContent:s.oneOf(["top","center"]),margin:G.spacing,size:s.oneOf(["small","medium","large"]),elementRef:s.func},XI=["alignContent","children","description","elementRef","margin","size","title"];var pv,nv,_1;let hX=(pv=L(PI,EI),pv(nv=(_1=class ZM extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}render(){var e,o,t,i,a,c;const M=w.omitViewProps(D(this.props,ZM.allowedProps),ZM);return b(w,Object.assign({},M,{elementRef:this.handleRef,css:(e=this.props.styles)===null||e===void 0?void 0:e.byline,as:"figure",margin:this.props.margin,maxWidth:(o=this.props.styles)===null||o===void 0?void 0:o.maxWidth}),b("div",{css:(t=this.props.styles)===null||t===void 0?void 0:t.figure},this.props.children),b("figcaption",{css:(i=this.props.styles)===null||i===void 0?void 0:i.caption},this.props.title&&b("span",{css:(a=this.props.styles)===null||a===void 0?void 0:a.title},this.props.title),this.props.description&&b("div",{css:(c=this.props.styles)===null||c===void 0?void 0:c.description},this.props.description)))}},_1.displayName="Byline",_1.componentId="Byline",_1.propTypes=_I,_1.allowedProps=XI,_1.defaultProps={alignContent:"center"},_1))||nv);const kI=(p,e)=>{const o=e.withYearPicker;return{navigation:{label:"calendar__navigation",textAlign:"center",color:p.color,background:p.background,fontFamily:p.fontFamily,fontSize:p.fontSize,fontWeight:p.fontWeight,marginBottom:o?p.navWithYearMargin:p.navMargin},navigationWithButtons:{label:"calendar__navigation--withButtons",display:"flex",alignItems:"center",justifyContent:"space-between"},weekdayHeader:{label:"calendar__weekdayHeader",textAlign:"center",maxWidth:p.maxHeaderWidth},yearPicker:{display:"flex",justifyContent:"center",alignItems:"center",marginBottom:p.yearPickerMargin}}},HI=p=>{const e=p.colors,o=p.typography,t=p.spacing,i=p.key,a={canvas:{color:p["ic-brand-font-color-dark"]}};return{...{fontSize:o==null?void 0:o.fontSizeMedium,fontFamily:o==null?void 0:o.fontFamily,fontWeight:o==null?void 0:o.fontWeightNormal,color:e==null?void 0:e.textDarkest,background:e==null?void 0:e.backgroundLightest,navMargin:t==null?void 0:t.small,navWithYearMargin:t==null?void 0:t.xSmall,yearPickerMargin:t==null?void 0:t.mediumSmall,maxHeaderWidth:t==null?void 0:t.medium},...a[i]}},$I=(p,e,o)=>{const t=e.isOutsideMonth,i=e.isSelected,a=e.isToday,c=o.isDisabled;return{calendarDay:{label:"calendarDay",padding:0},day:{label:"calendarDay__day",display:"flex",alignItems:"center",justifyContent:"center",background:p.background,color:p.color,fontSize:p.fontSize,textDecoration:"none",lineHeight:1,height:p.height,minWidth:p.minWidth,border:"none",margin:0,...t&&{color:p.outsideMonthColor},...i&&{background:p.selectedBackground,borderRadius:p.selectedBorderRadius,color:p.selectedColor},...a&&!i&&{background:p.todayBackground,borderRadius:p.todayBorderRadius,color:p.todayColor},...c&&{opacity:.5}}}},VI=p=>{const e=p.borders,o=p.colors,t=p.typography,i=p.spacing,a=p.forms,c=p.key,M={canvas:{color:p["ic-brand-font-color-dark"],todayBackground:p["ic-brand-primary"]}};return{...{color:o==null?void 0:o.textDarkest,background:o==null?void 0:o.backgroundLightest,fontSize:t==null?void 0:t.fontSizeMedium,padding:i==null?void 0:i.xxSmall,height:a==null?void 0:a.inputHeightSmall,minWidth:a==null?void 0:a.inputHeightSmall,outsideMonthColor:o==null?void 0:o.textDark,selectedBackground:o==null?void 0:o.backgroundSuccess,selectedColor:o==null?void 0:o.textLightest,selectedBorderRadius:e==null?void 0:e.radiusMedium,todayBackground:o==null?void 0:o.backgroundBrand,todayColor:o==null?void 0:o.textLightest,todayBorderRadius:a==null?void 0:a.inputHeightSmall},...M[c]}},ZI={children:s.oneOfType([s.node,s.func]),date:J3.iso8601.isRequired,label:s.string.isRequired,interaction:s.oneOf(["enabled","disabled"]),isSelected:s.bool,isToday:s.bool,isOutsideMonth:s.bool,onClick:s.func,onKeyDown:s.func,elementRef:s.func,as:s.elementType},DI=["children","date","label","interaction","isSelected","isToday","isOutsideMonth","onClick","onKeyDown","elementRef","as"],FI=["children","label","interaction","isOutsideMonth","isSelected","isToday","onClick","onKeyDown","as","styles"];var rv,iv,Gl,X1;let mL=(rv=L($I,VI),iv=N(),rv(Gl=iv(Gl=(X1=class Xc extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleClick=o=>{const t=this.props,i=t.onClick,a=t.date;typeof i=="function"&&i(o,{date:a})},this.handleKeyDown=o=>{const t=this.props,i=t.onKeyDown,a=t.date;typeof i=="function"&&i(o,{date:a})},this.handleElementRef=o=>{const t=this.props.elementRef;this.ref=o,typeof t=="function"&&t(o)}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o,this.makeStylesVariables)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o,this.makeStylesVariables)}get makeStylesVariables(){return{isDisabled:this.isDisabled}}get isDisabled(){return this.props.interaction==="disabled"}get elementType(){return this.props.as||E2(Xc,this.props)}shouldApplyAriaSelected(){const e=this.props.role;return!!e&&["option","gridcell"].indexOf(e)>-1}render(){const e=this.props,o=e.children,t=e.label;e.interaction,e.isOutsideMonth;const i=e.isSelected,a=e.isToday,c=e.onClick,M=e.onKeyDown;e.as;const z=e.styles,d=Y(e,FI),O=this.elementType,A=this.isDisabled,f=w.omitViewProps(D(d,Xc.allowedProps),Xc);return b(w,Object.assign({},f,{as:O,css:z==null?void 0:z.calendarDay,display:"inline-block",margin:"xxx-small",borderWidth:"none",borderColor:"transparent",background:"transparent",cursor:O==="button"||O==="a"?A?"not-allowed":"pointer":"auto",disabled:A,"aria-current":a?"date":void 0,"aria-selected":this.shouldApplyAriaSelected()?i?"true":"false":void 0,onClick:c&&this.handleClick,onKeyDown:M&&this.handleKeyDown,elementRef:this.handleElementRef}),b("span",{css:z==null?void 0:z.day},b(a0,{alt:t},Z(o))))}},X1.displayName="Day",X1.componentId="Calendar.Day",X1.propTypes=ZI,X1.allowedProps=DI,X1.defaultProps={interaction:"enabled",isSelected:!1,isToday:!1,isOutsideMonth:!1},X1))||Gl)||Gl);const jI={as:s.elementType,children:h0.oneOf([mL]),currentDate:s.string,disabledDates:s.oneOfType([s.array,s.func]),locale:s.string,onDateSelected:s.func,onRequestRenderNextMonth:s.func,onRequestRenderPrevMonth:s.func,renderNavigationLabel:s.oneOfType([s.node,s.func]),renderNextMonthButton:s.oneOfType([s.node,s.func]),renderPrevMonthButton:s.oneOfType([s.node,s.func]),renderWeekdayLabels:s.arrayOf(s.oneOfType([s.node,s.func])),role:s.oneOf(["table","listbox"]),selectedDate:s.string,timezone:s.string,visibleMonth:s.string,withYearPicker:s.object},UI=["as","children","currentDate","disabledDates","locale","onDateSelected","onRequestRenderNextMonth","onRequestRenderPrevMonth","renderNavigationLabel","renderNextMonthButton","renderPrevMonthButton","renderWeekdayLabels","role","selectedDate","timezone","visibleMonth"];var sv,av,Yl,P0,lv,cv;let Jc=(sv=L(kI,HI),av=N(),sv(Yl=av(Yl=(P0=class L2 extends l.Component{constructor(e){super(e),this.ref=null,this._weekdayHeaderIds=(this.props.renderWeekdayLabels||this.defaultWeekdays).reduce((o,t,i)=>({...o,[i]:hy(`weekday-header-${i}`)}),{}),this.handleRef=o=>{this.ref=o},this.calculateState=(o,t,i)=>{const a=this.props.visibleMonth||i;return{visibleMonth:a?T.parse(a,o,t):T.now(o,t),today:i?T.parse(i,o,t):T.now(o,t)}},this.renderMonthNavigationButtons=()=>{const o=this.props,t=o.renderNextMonthButton,i=o.renderPrevMonthButton;return{prevButton:i?Z(i):lv||(lv=b(t1,{size:"small",withBackground:!1,withBorder:!1,renderIcon:b(ib,{color:"primary"}),screenReaderLabel:"Previous month"})),nextButton:t?Z(t):cv||(cv=b(t1,{size:"small",withBackground:!1,withBorder:!1,renderIcon:b(to,{color:"primary"}),screenReaderLabel:"Next month"}))}},this.handleMonthChange=o=>t=>{const i=this.props,a=i.onRequestRenderNextMonth,c=i.onRequestRenderPrevMonth,z=this.state.visibleMonth.clone();if(o==="prev"){if(!this.hasPrevMonth)return;if(c){c(t,z.subtract({months:1}).format("YYYY-MM"));return}z.subtract({months:1})}else{if(!this.hasNextMonth)return;if(a){a(t,z.add({months:1}).format("YYYY-MM"));return}z.add({months:1})}this.setState({visibleMonth:z})},this.handleYearChange=(o,t)=>{const i=this.props.withYearPicker,c=this.state.visibleMonth.clone();if(i!=null&&i.onRequestYearChange){i.onRequestYearChange(o,t);return}c.year(t),this.setState({visibleMonth:c})},this.handleDayClick=(o,{date:t})=>{if(this.props.onDateSelected){const i=T.parse(t,this.locale(),this.timezone());this.props.onDateSelected(i.toISOString(),i,o)}},this.state=this.calculateState(this.locale(),this.timezone(),e.currentDate)}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(e){var o,t;(o=(t=this.props).makeStyles)===null||o===void 0||o.call(t),(e.locale!==this.props.locale||e.timezone!==this.props.timezone||e.visibleMonth!==this.props.visibleMonth)&&this.setState(()=>({...this.calculateState(this.locale(),this.timezone(),this.props.currentDate)}))}get role(){return this.props.role==="listbox"?this.props.role:void 0}get hasPrevMonth(){return!this.props.withYearPicker||this.props.withYearPicker&&Number(this.state.visibleMonth.clone().subtract({months:1}).format("YYYY"))>=this.props.withYearPicker.startYear}get hasNextMonth(){return!this.props.withYearPicker||this.props.withYearPicker&&Number(this.state.visibleMonth.clone().add({months:1}).format("YYYY"))<=this.props.withYearPicker.endYear}renderHeader(){const e=this.props,o=e.renderNavigationLabel,t=e.styles,i=e.withYearPicker,a=this.state.visibleMonth,c=this.renderMonthNavigationButtons(),M=c.prevButton,z=c.nextButton,d=(f,u)=>i0(f,{onClick:c0(f.props.onClick,u)}),O=[t==null?void 0:t.navigation,...M||z?[t==null?void 0:t.navigationWithButtons]:[]],A=[];if(i){const f=i.startYear,u=i.endYear;for(let R=u;R>=f;R--)A.push(R)}return b("div",null,b("div",{css:O},M&&d(M,this.handleMonthChange("prev")),o?Z(o):b("span",null,b("div",null,a.format("MMMM")),i?null:b("div",null,a.format("YYYY"))),z&&d(z,this.handleMonthChange("next"))),i?b("div",{css:t==null?void 0:t.yearPicker},b(_b,{width:"90px",renderLabel:"",assistiveText:i.screenReaderLabel,value:Number(a.format("YYYY")),onChange:(f,{value:u})=>this.handleYearChange(f,Number(u))},A.map(f=>b(_b.Option,{key:f,id:`opt-${f}`,value:f},`${f}`)))):null)}renderBody(){return b("table",{role:this.role},b("thead",null,this.renderWeekdayHeaders()),b("tbody",null,this.renderDays()))}renderWeekdayHeaders(){const e=this.props.styles,o=this.props.renderWeekdayLabels||this.defaultWeekdays,t=o.length;return t0(t===7,`[Calendar] \`renderWeekdayLabels\` should be an array with 7 labels (one for each weekday). ${t} provided.`),b("tr",null,o.map((i,a)=>b("th",{key:a,scope:"col",css:e==null?void 0:e.weekdayHeader,id:this._weekdayHeaderIds[a]},Z(i))))}get defaultWeekdays(){const e=T.getLocalDayNamesOfTheWeek(this.locale(),"short"),o=T.getLocalDayNamesOfTheWeek(this.locale(),"long");return[b(a0,{key:1,alt:o[0]},e[0]),b(a0,{key:2,alt:o[1]},e[1]),b(a0,{key:3,alt:o[2]},e[2]),b(a0,{key:4,alt:o[3]},e[3]),b(a0,{key:5,alt:o[4]},e[4]),b(a0,{key:6,alt:o[5]},e[5]),b(a0,{key:7,alt:o[6]},e[6])]}renderDays(){const e=this.props.children,o=l.Children.toArray(e||this.renderDefaultdays()),t=o.length,i=this.role==="listbox"?"presentation":void 0;return t0(t===L2.DAY_COUNT,`[Calendar] should have exactly ${L2.DAY_COUNT} children. ${t} provided.`),o.reduce((a,c,M)=>{const z=Math.floor(M/7);return a[z]||a.push([]),a[z].push(c),a},[]).map(a=>b("tr",{key:`row${a[0].props.date}`,role:i},a.map((c,M)=>b("td",{key:c.props.date,role:i},i==="presentation"?i0(c,{"aria-describedby":this._weekdayHeaderIds[M]}):c))))}locale(){return this.props.locale?this.props.locale:this.context&&this.context.locale?this.context.locale:dM.browserLocale()}timezone(){return this.props.timezone?this.props.timezone:this.context&&this.context.timezone?this.context.timezone:T.browserTimeZone()}isDisabledDate(e){const o=this.props.disabledDates;if(!o)return!1;if(Array.isArray(o)){for(const t of o)if(e.isSame(t,"day"))return!0;return!1}return o(e.toISOString())}renderDefaultdays(){const e=this.props.selectedDate,o=this.state,t=o.visibleMonth,i=o.today,a=T.getFirstDayOfWeek(t.clone().startOf("month")),c=[];for(let M=0;M{const z=M.toISOString();return b(L2.Day,{key:z,date:z,isSelected:e?M.isSame(e,"day"):!1,isToday:M.isSame(i,"day"),isOutsideMonth:!M.isSame(t,"month"),label:M.format("D MMMM YYYY"),onClick:this.handleDayClick,interaction:this.isDisabledDate(M)?"disabled":"enabled"},M.format("DD"))})}render(){const e=w.omitViewProps(D(this.props,L2.allowedProps),L2);return b(w,Object.assign({},e,{as:this.props.as,display:"inline-block",padding:"small",background:"primary",elementRef:this.handleRef}),this.renderHeader(),this.renderBody())}},P0.displayName="Calendar",P0.componentId="Calendar",P0.contextType=tM,P0.Day=mL,P0.DAY_COUNT=42,P0.propTypes=jI,P0.allowedProps=UI,P0.defaultProps={as:"span",role:"table"},P0))||Yl)||Yl);const GI=(p,e)=>{const o=e.size,t=e.checked,i=e.focused,a=e.hovered,c=e.indeterminate,M=t||c,z={small:{label:{fontSize:p.labelFontSizeSmall},facade:{fontSize:p.iconSizeSmall,width:p.facadeSizeSmall,height:p.facadeSizeSmall}},medium:{label:{fontSize:p.labelFontSizeMedium},facade:{fontSize:p.iconSizeMedium,width:p.facadeSizeMedium,height:p.facadeSizeMedium}},large:{label:{fontSize:p.labelFontSizeLarge},facade:{fontSize:p.iconSizeLarge,width:p.facadeSizeLarge,height:p.facadeSizeLarge}}};return{checkboxFacade:{label:"checkboxFacade",display:"flex",alignItems:"flex-start"},facade:{label:"checkboxFacade__facade",color:p.color,background:p.background,position:"relative",display:"flex",alignItems:"center",justifyContent:"center",boxSizing:"border-box",flexShrink:0,transition:"all 0.2s",border:`${p.borderWidth} solid ${p.borderColor}`,borderRadius:p.borderRadius,marginInlineEnd:p.marginRight,marginInlineStart:"0",padding:p.padding,...z[o].facade,"&::before":{content:'""',position:"absolute",top:"-0.3125rem",bottom:"-0.3125rem",left:"-0.3125rem",right:"-0.3125rem",boxSizing:"border-box",borderRadius:`calc(${p.borderRadius} * 1.5)`,border:`${p.focusBorderWidth} ${p.focusBorderStyle} ${p.focusBorderColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none",...i&&{transform:"scale(1)",opacity:1}},...M&&{background:p.checkedBackground,borderColor:p.checkedBorderColor},...a&&{borderColor:p.hoverBorderColor}},label:{label:"checkboxFacade__label",flex:"1 1 auto",minWidth:"0.0625rem",color:p.labelColor,fontFamily:p.labelFontFamily,fontWeight:p.labelFontWeight,lineHeight:p.labelLineHeight,...z[o].label,...M&&{color:p.checkedLabelColor}}}},YI=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.key,c={canvas:{focusBorderColor:p["ic-brand-primary"],labelColor:p["ic-brand-font-color-dark"],checkedLabelColor:p["ic-brand-font-color-dark"],checkedBackground:p["ic-brand-font-color-dark"],checkedBorderColor:p["ic-brand-font-color-dark"],hoverBorderColor:p["ic-brand-font-color-dark"]}};return{...{color:e==null?void 0:e.textLightest,borderWidth:o==null?void 0:o.widthSmall,borderColor:e==null?void 0:e.borderMedium,borderRadius:o==null?void 0:o.radiusMedium,background:e==null?void 0:e.backgroundLightest,marginRight:t==null?void 0:t.xSmall,padding:t==null?void 0:t.xxxSmall,checkedBackground:e==null?void 0:e.backgroundDarkest,checkedBorderColor:e==null?void 0:e.borderDarkest,hoverBorderColor:e==null?void 0:e.borderDarkest,focusBorderColor:e==null?void 0:e.borderBrand,focusBorderWidth:o==null?void 0:o.widthMedium,focusBorderStyle:o==null?void 0:o.style,labelColor:e==null?void 0:e.textDarkest,checkedLabelColor:e==null?void 0:e.textDarkest,labelFontFamily:i==null?void 0:i.fontFamily,labelFontWeight:i==null?void 0:i.fontWeightNormal,labelLineHeight:i==null?void 0:i.lineHeightCondensed,facadeSizeSmall:"1rem",facadeSizeMedium:"1.25rem",facadeSizeLarge:"1.75rem",labelFontSizeSmall:i==null?void 0:i.fontSizeSmall,labelFontSizeMedium:i==null?void 0:i.fontSizeMedium,labelFontSizeLarge:i==null?void 0:i.fontSizeLarge,iconSizeSmall:"0.625rem",iconSizeMedium:"0.75rem",iconSizeLarge:"1rem"},...c[a]}},KI={children:s.node.isRequired,checked:s.bool,focused:s.bool,hovered:s.bool,size:s.oneOf(["small","medium","large"]),indeterminate:s.bool},QI=["children","checked","focused","hovered","size","indeterminate"];var Mv,bv,k1,zv,dv;let JI=(Mv=L(GI,YI),Mv(bv=(k1=class extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{this.ref=o}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}renderIcon(){return this.props.indeterminate?zv||(zv=b(n,{viewBox:"0 0 1920 1920",inline:!1},b("rect",{x:"140",y:"820",width:"1640",height:"280"}))):this.props.checked?dv||(dv=b(k2,{inline:!1})):null}render(){const e=this.props,o=e.children,t=e.styles;return b("span",{css:t==null?void 0:t.checkboxFacade,ref:this.handleRef},b("span",{css:t==null?void 0:t.facade,"aria-hidden":"true"},this.renderIcon()),b("span",{css:t==null?void 0:t.label},o))}},k1.displayName="CheckboxFacade",k1.componentId="CheckboxFacade",k1.propTypes=KI,k1.allowedProps=QI,k1.defaultProps={checked:!1,focused:!1,hovered:!1,size:"medium",indeterminate:!1},k1))||bv);const ex=(p,e)=>{const o=e.size,t=e.checked,i=e.focused,a=e.labelPlacement,c={start:{facade:{marginInlineEnd:"0",marginInlineStart:p.marginStart},label:{textAlign:"end"}},end:{facade:{marginInlineEnd:p.marginEnd,marginInlineStart:"0"},label:{}},top:{facade:{marginTop:p.marginVertical},label:{display:"block"}}},M={small:{fontSize:p.labelFontSizeSmall},medium:{fontSize:p.labelFontSizeMedium},large:{fontSize:p.labelFontSizeLarge}};return{toggleFacade:{label:"toggleFacade",display:"flex",alignItems:"center",...a==="top"&&{display:"block"}},facade:{label:"toggleFacade__facade",background:p.background,borderColor:p.borderColor,cursor:"pointer",display:"inline-block",userSelect:"none",position:"relative",borderRadius:"3rem",verticalAlign:"middle",boxShadow:`inset 0 0 0 ${p.borderWidth} ${p.borderColor}`,height:p.toggleSize,width:`calc(${p.toggleSize} * 1.5)`,...c[a].facade,...t&&{background:p.checkedBackground,boxShadow:"none"},"&::before":{content:'""',position:"absolute",top:"-0.25rem",left:"-0.25rem",width:"calc(100% + 0.5rem)",height:"calc(100% + 0.5rem)",boxSizing:"border-box",borderRadius:p.borderRadius,border:`${p.focusBorderWidth} ${p.focusBorderStyle} ${p.focusOutlineColor}`,transition:"all 0.2s",transform:"scale(0.75)",opacity:0,pointerEvents:"none",...i&&{transform:"scale(1)",opacity:1}}},icon:{label:"toggleFacade__icon",display:"block",textAlign:"center",position:"absolute",top:"0",insetInlineStart:"0",insetInlineEnd:"auto",transition:"all 0.2s",transform:"translate3d(0, 0, 0)",fontSize:"0.875rem",height:p.toggleSize,width:p.toggleSize,...t&&{transform:"translate3d(50%, 0, 0)",'[dir="rtl"] &':{transform:"translate3d(-50%, 0, 0)"}}},iconToggle:{label:"toggleFacade__iconToggle",position:"relative",height:"100%",width:"100%",display:"flex",alignItems:"center",justifyContent:"center","&::before":{content:'""',position:"absolute",top:p.borderWidth,left:p.borderWidth,height:`calc(100% - (${p.borderWidth} * 2))`,width:`calc(100% - (${p.borderWidth} * 2))`,background:p.toggleBackground,boxShadow:p.toggleShadow,borderRadius:"100%"}},iconSVG:{label:"toggleFacade__iconSVG",display:"block",color:p.uncheckedIconColor,position:"relative",zIndex:1,...t&&{color:p.checkedIconColor}},label:{label:"toggleFacade__label",flex:1,minWidth:"0.0625rem",color:p.labelColor,fontFamily:p.labelFontFamily,fontWeight:p.labelFontWeight,lineHeight:p.labelLineHeight,...M[o],...c[a].label}}},ox=p=>{const e=p.colors,o=p.borders,t=p.forms,i=p.shadows,a=p.spacing,c=p.typography,M=p.key,z={canvas:{focusOutlineColor:p["ic-brand-primary"],labelColor:p["ic-brand-font-color-dark"]},"canvas-high-contrast":{background:e==null?void 0:e.backgroundDarkest,borderColor:e==null?void 0:e.borderDarkest}};return{...{color:e==null?void 0:e.textLightest,background:e==null?void 0:e.backgroundLight,borderColor:e==null?void 0:e.borderMedium,borderWidth:o==null?void 0:o.widthSmall,borderRadius:"4rem",marginEnd:a==null?void 0:a.small,marginStart:a==null?void 0:a.small,marginVertical:a==null?void 0:a.xSmall,checkedBackground:e==null?void 0:e.backgroundSuccess,uncheckedIconColor:e==null?void 0:e.textDarkest,checkedIconColor:e==null?void 0:e.textSuccess,focusOutlineColor:e==null?void 0:e.borderBrand,focusBorderWidth:o==null?void 0:o.widthMedium,focusBorderStyle:o==null?void 0:o.style,toggleBackground:e==null?void 0:e.backgroundLightest,toggleShadow:i==null?void 0:i.depth1,toggleSize:t==null?void 0:t.inputHeightSmall,labelColor:e==null?void 0:e.textDarkest,labelFontFamily:c==null?void 0:c.fontFamily,labelFontWeight:c==null?void 0:c.fontWeightNormal,labelLineHeight:c==null?void 0:c.lineHeightCondensed,labelFontSizeSmall:c==null?void 0:c.fontSizeSmall,labelFontSizeMedium:c==null?void 0:c.fontSizeMedium,labelFontSizeLarge:c==null?void 0:c.fontSizeLarge},...z[M]}},tx={children:s.node.isRequired,checked:s.bool,disabled:s.bool,readOnly:s.bool,focused:s.bool,size:s.oneOf(["small","medium","large"]),labelPlacement:s.oneOf(["top","start","end"])},px=["children","checked","disabled","readOnly","focused","size","labelPlacement"];var Ov,hv,H1;let nx=(Ov=L(ex,ox),Ov(hv=(H1=class extends l.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{this.ref=o}}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}renderIcon(){const e=this.props,o=e.styles;return e.checked?b(Ay,{css:o==null?void 0:o.iconSVG}):b(qy,{css:o==null?void 0:o.iconSVG})}renderLabel(){const e=this.props,o=e.children,t=e.styles;return b("span",{css:t==null?void 0:t.label},o)}render(){const e=this.props,o=e.labelPlacement,t=e.styles;return b("span",{css:t==null?void 0:t.toggleFacade,ref:this.handleRef},(o==="top"||o==="start")&&this.renderLabel(),b("span",{css:t==null?void 0:t.facade,"aria-hidden":"true"},b("span",{css:t==null?void 0:t.icon},b("span",{css:t==null?void 0:t.iconToggle},this.renderIcon()))),o==="end"&&this.renderLabel())}},H1.displayName="ToggleFacade",H1.componentId="ToggleFacade",H1.propTypes=tx,H1.allowedProps=px,H1.defaultProps={checked:!1,focused:!1,size:"medium",disabled:!1,readOnly:!1,labelPlacement:"end"},H1))||hv);const rx=(p,e)=>{const o=e.inline;return{checkbox:{label:"checkbox",position:"relative",width:"100%",...e.disabled&&{cursor:"not-allowed",pointerEvents:"none",opacity:.5},...o&&{display:"inline-block",verticalAlign:"middle",width:"auto"}},input:{label:"checkbox__input",padding:0,margin:0,fontSize:"inherit",lineHeight:"inherit",width:"auto",position:"absolute",top:0,insetInlineStart:0,insetInlineEnd:"auto",opacity:1e-4},control:{label:"checkbox__control",all:"initial",display:"block",direction:"inherit",textAlign:"start"}}},ix={label:s.node.isRequired,id:s.string,value:s.oneOfType([s.string,s.number]),messages:s.arrayOf(n1.message),defaultChecked:s.bool,checked:u0(s.bool,"onChange","defaultChecked"),onChange:s.func,onKeyDown:s.func,onFocus:s.func,onBlur:s.func,onMouseOver:s.func,onMouseOut:s.func,disabled:s.bool,readOnly:s.bool,indeterminate:s.bool,size:s.oneOf(["small","medium","large"]),variant:s.oneOf(["simple","toggle"]),inline:s.bool,labelPlacement:s.oneOf(["top","start","end"])},sx=["label","id","value","messages","defaultChecked","checked","onChange","onKeyDown","onFocus","onBlur","onMouseOver","onMouseOut","disabled","readOnly","indeterminate","size","variant","inline","labelPlacement"];var Av,fv,uv,V2,$1;let RL=(Av=z0(),fv=L(rx,null),uv=N(),Av(V2=fv(V2=uv(V2=($1=class vL extends l.Component{constructor(e){super(e),this._defaultId=void 0,this._input=null,this.ref=null,this.handleRef=o=>{this.ref=o},this.handleChange=o=>{const t=this.props,i=t.onChange,a=t.disabled,c=t.checked,M=t.readOnly;if(a||M){o.preventDefault();return}typeof c>"u"&&this.setState({checked:!this.state.checked}),typeof i=="function"&&i(o)},this.handleKeyDown=o=>{this.props.variant==="toggle"&&o.keyCode===k.codes.enter&&(this._input&&this._input.click(),o.preventDefault())},this.handleFocus=()=>{this.setState({focused:!0})},this.handleBlur=()=>{this.setState({focused:!1})},this.handleMouseOver=()=>{!this.props.disabled&&this.setState({hovered:!0})},this.handleMouseOut=()=>{this.setState({hovered:!1})},this.state={focused:!1,hovered:!1,checked:typeof e.checked>"u"?!!e.defaultChecked:void 0},typeof e.checked>"u"&&(this.state.checked=!!e.defaultChecked),this._defaultId=e.deterministicId()}componentDidMount(){var e,o;this._input&&(this._input.indeterminate=this.props.indeterminate),(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(e){var o,t;e.indeterminate!==this.props.indeterminate&&this._input&&(this._input.indeterminate=this.props.indeterminate||!1),(o=(t=this.props).makeStyles)===null||o===void 0||o.call(t)}get id(){return this.props.id||this._defaultId}get checked(){return typeof this.props.checked>"u"?this.state.checked:this.props.checked}get focused(){return po(this._input)}focus(){this._input&&this._input.focus()}renderFacade(){const e=this.props,o=e.size,t=e.disabled,i=e.variant,a=e.label,c=e.readOnly,M=e.indeterminate,z=e.labelPlacement,d=e.themeOverride,O=this.state,A=O.hovered,f=O.focused;return t0(!(i==="simple"&&z!=="end"),"[Checkbox] The `simple` variant does not support the `labelPlacement` property. Use the `toggle` variant instead."),i==="toggle"?b(nx,{disabled:t,size:o,focused:f,checked:this.checked,readOnly:c,labelPlacement:z,themeOverride:d},a):b(JI,{size:o,hovered:A,focused:f,checked:this.checked,indeterminate:M,themeOverride:d},a)}renderMessages(){const e=this.props.messages;return e&&e.length>0?b(w,{display:"block",margin:"small 0 0"},b(My,{messages:e})):null}render(){const e=this.props,o=e.disabled,t=e.readOnly,i=e.value,a=e.onKeyDown,c=e.onFocus,M=e.onBlur,z=e.onMouseOver,d=e.onMouseOut,O=e.indeterminate,A=e.variant,f=e.styles,u=D(this.props,vL.allowedProps);return t0(!(A==="toggle"&&O),"[Checkbox] The `toggle` variant does not support the `indeterminate` property. Use the `simple` variant instead."),b("div",{css:f==null?void 0:f.checkbox,onMouseOver:c0(z,this.handleMouseOver),onMouseOut:c0(d,this.handleMouseOut),ref:this.handleRef},b("input",Object.assign({},u,{id:this.id,value:i,type:"checkbox",ref:R=>{this._input=R},disabled:o||t,"aria-checked":O?"mixed":void 0,css:f==null?void 0:f.input,onChange:this.handleChange,onKeyDown:c0(a,this.handleKeyDown),onFocus:c0(c,this.handleFocus),onBlur:c0(M,this.handleBlur),checked:this.checked})),b("label",{htmlFor:this.id,css:f==null?void 0:f.control},this.renderFacade(),this.renderMessages()))}},$1.displayName="Checkbox",$1.componentId="Checkbox",$1.propTypes=ix,$1.allowedProps=sx,$1.defaultProps={size:"medium",variant:"simple",disabled:!1,inline:!1,indeterminate:!1,readOnly:!1,labelPlacement:"end"},$1))||V2)||V2)||V2);const ax={name:s.string.isRequired,description:s.node.isRequired,defaultValue:s.array,value:u0(s.array),onChange:s.func,disabled:s.bool,readOnly:s.bool,messages:s.arrayOf(n1.message),children:h0.oneOf([RL]),size:s.oneOf(["small","medium","large"]),layout:s.oneOf(["stacked","columns","inline"])},lx=["name","description","defaultValue","value","onChange","disabled","readOnly","messages","children","size","layout"];var qv,mv,Kl,V1;let uX=(qv=z0(),mv=N(),qv(Kl=mv(Kl=(V1=class WL extends l.Component{constructor(e){super(e),this._messagesId=void 0,this.ref=null,this.handleRef=o=>{this.ref=o},this.handleChange=o=>{const t=this.value;if(this.props.disabled||this.props.readOnly){o.preventDefault();return}o.target.checked?t.push(o.target.value):t.splice(t.indexOf(o.target.value),1),typeof this.props.value>"u"&&this.setState({value:t}),typeof this.props.onChange=="function"&&this.props.onChange(t)},typeof e.value>"u"&&(this.state={value:e.defaultValue||[]}),this._messagesId=e.deterministicId()}get hasMessages(){return this.props.messages&&this.props.messages.length>0}get value(){return typeof this.props.value>"u"?[...this.state.value]:[...this.props.value]}renderChildren(){const e=this.props,o=e.children,t=e.name,i=e.size,a=e.disabled,c=e.readOnly;return l.Children.map(o,M=>M0(M,[RL])?i0(M,{key:`${M.props.name}`,name:t,label:M.props.label,disabled:a||M.props.disabled,readOnly:c||M.props.readOnly,size:i,checked:this.value.indexOf(M.props.value)>-1,onChange:this.handleChange,width:M.props.width||"auto","aria-describedby":this.hasMessages?this._messagesId:void 0}):M)}render(){return r.createElement(IM,Object.assign({},D(this.props,WL.allowedProps),Q0(this.props,IM.allowedProps),{description:this.props.description,rowSpacing:"small",vAlign:"top",messagesId:this._messagesId,elementRef:this.handleRef}),this.renderChildren())}},V1.displayName="CheckboxGroup",V1.componentId="CheckboxGroup",V1.propTypes=ax,V1.allowedProps=lx,V1.defaultProps={disabled:!1,readOnly:!1,size:"medium",layout:"stacked",children:null},V1))||Kl)||Kl);const Rv=_2` 0% {} 50% { background-color: transparent; } - 100% {}`,cx=(p,e)=>{const o=e.attachment,t={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}};return{codeEditor:{label:"codeEditor"},globalStyles:{".CodeMirror":{direction:"ltr",position:"relative",overflow:"hidden",background:p.background,height:"auto",fontFamily:p.fontFamily,fontSize:p.fontSize,borderRadius:p.borderRadius,border:p.border,color:p.color,lineHeight:1.4375,minHeight:"1.4375rem",marginBottom:"1rem",...o&&t[o]},".CodeMirror-lines":{padding:`${p.verticalPadding} 0`,cursor:"text",minHeight:"0.0625rem"},".CodeMirror pre":{padding:`0 ${p.horizontalPadding}`,borderRadius:"0",borderWidth:"0",background:"transparent",fontFamily:"inherit",fontSize:"inherit",margin:"0",whiteSpace:"pre",wordWrap:"normal",lineHeight:"inherit",color:"inherit",zIndex:`calc(${p.zIndex} + 3)`,position:"relative",overflow:"visible",WebkitTapHighlightColor:"transparent",fontVariantLigatures:"contextual"},".CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{background:p.background},".CodeMirror-cursor":{borderLeft:`0.0625rem solid ${p.cursorColor}`,borderRight:"none",width:"0",position:"absolute",pointerEvents:"none"},".CodeMirror-cursors":{visibility:"hidden",position:"relative",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-dragcursors":{visibility:"visible"},".CodeMirror-focused .CodeMirror-cursors":{visibility:"visible"},".CodeMirror-crosshair":{cursor:"crosshair"},".cm-fat-cursor .CodeMirror-cursor":{width:"auto",border:"0 !important",background:p.fatCursorBackground},".cm-fat-cursor .CodeMirror-cursors":{zIndex:`calc(${p.zIndex} + 2)`},".CodeMirror .CodeMirror-secondarycursor":{borderLeft:`0.0625rem solid ${p.secondaryCursorColor}`},".cm-fat-cursor-mark":{background:p.fatCursorMarkBackground,animation:`${Rv} 1.06s steps(1) infinite`},".cm-animate-fat-cursor":{width:"auto",border:"0",animation:`${Rv} 1.06s steps(1) infinite`,backgroundColor:p.fatCursorBackground},".cm-tab":{display:"inline-block",textDecoration:"inherit"},".CodeMirror-rulers":{position:"absolute",left:"0",right:"0",top:"-50px",bottom:"-20px",overflow:"hidden"},".CodeMirror-ruler":{borderLeft:`0.0625rem solid ${p.rulerColor}`,top:"0",bottom:"0",position:"absolute"},"div.CodeMirror span.CodeMirror-matchingbracket":{outline:`0.0625rem solid ${p.matchingBracketOutline}`},"div.CodeMirror span.CodeMirror-nonmatchingbracket":{color:p.nonMatchingBracketColor},".CodeMirror-matchingtag":{background:p.matchingTagBackground},"div.CodeMirror-activeline-background":{background:p.activeLineBackground},".CodeMirror-scroll":{overflow:"scroll !important",marginBottom:"-30px",marginRight:"-30px",paddingBottom:"30px",height:"100%",outline:"none",position:"relative"},".CodeMirror-sizer":{position:"relative",borderRight:"30px solid transparent"},".CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{position:"absolute",zIndex:`calc(${p.zIndex} + 7)`,display:"none"},".CodeMirror-vscrollbar":{right:"0",top:"0",overflowX:"hidden",overflowY:"scroll"},".CodeMirror-hscrollbar":{bottom:"0",left:"0",overflowY:"hidden",overflowX:"scroll"},".CodeMirror-scrollbar-filler":{right:"0",bottom:"0"},".CodeMirror-gutter-filler":{left:"0",bottom:"0"},".CodeMirror-gutters":{borderTopLeftRadius:p.borderRadius,borderBottomLeftRadius:p.borderRadius,borderRight:`0.0625rem solid ${p.gutterBorder}`,overflow:"hidden",background:p.gutterBackground,whiteSpace:"nowrap",position:"absolute",left:"0",top:"0",minHeight:"100%",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-linenumber":{padding:"0 0.1875rem 0 0.3125rem",minWidth:"1.25rem",textAlign:"right",color:p.lineNumberColor,whiteSpace:"nowrap"},".CodeMirror-guttermarker":{color:p.gutterMarkerColor},".CodeMirror-guttermarker-subtle":{color:p.gutterMarkerSubtleColor},".CodeMirror-gutter":{whiteSpace:"normal",height:"100%",display:"inline-block",verticalAlign:"top",marginBottom:"-30px"},".CodeMirror-gutter-wrapper":{position:"absolute",zIndex:`calc(${p.zIndex} + 5)`,background:"none !important",border:"none !important"},".CodeMirror-gutter-background":{position:"absolute",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-elt":{position:"absolute",cursor:"default",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-wrapper ::selection":{backgroundColor:"transparent"},".CodeMirror-wrap pre":{wordWrap:"break-word",whiteSpace:"pre-wrap",wordBreak:"normal"},".CodeMirror-linebackground":{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 1)`},".CodeMirror-linewidget":{position:"relative",zIndex:`calc(${p.zIndex} + 3)`,padding:"0.1px"},".CodeMirror-rtl pre":{direction:"rtl"},".CodeMirror-code":{outline:"none"},".CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber":{boxSizing:"content-box"},".CodeMirror-measure":{position:"absolute",width:"100%",height:"0",overflow:"hidden",visibility:"hidden"},".CodeMirror-measure pre":{position:"static"},".CodeMirror-selected, .CodeMirror-focused .CodeMirror-selected, .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection":{background:p.selectedBackground},".cm-searching":{background:p.searchingBackground},".cm-force-border":{paddingRight:"0.1px"},"@media print":{".CodeMirror .CodeMirror-cursors":{visibility:"hidden"}},".cm-tab-wrap-hack::after":{content:'""'},".CodeMirror-selectedtext":{background:"none"},".CodeMirror-focused":{boxShadow:p.focusBoxShadow,borderColor:p.focusBorderColor},".cm-keyword":{color:p.keywordColor,fontWeight:"bold"},".cm-atom":{color:p.atomColor},".cm-number":{color:p.numberColor},".cm-def":{color:p.defColor},"span.cm-variable-2, span.cm-tag":{color:p.tagColor},"span.cm-variable-3, span.cm-def, span.cm-type":{color:p.typeColor},".cm-variable":{color:p.variableColor},".cm-property":{color:p.propertyColor},".cm-qualifier":{color:p.qualifierColor},".cm-operator":{color:p.operatorColor},".cm-comment":{color:p.commentColor,fontWeight:"normal"},".cm-string":{color:p.stringColor,fontStyle:"italic"},".cm-string-2":{color:p.secondaryStringColor},".cm-meta":{color:p.metaColor},".cm-builtin":{color:p.builtInColor},".cm-tag":{color:p.tagColor},".cm-attribute":{color:p.attributeColor},".cm-header":{color:p.headerColor},".cm-hr":{color:p.hrColor},".cm-link":{color:p.linkColor,fontStyle:"italic",textDecoration:"none"},".cm-error":{}}}},Mx=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.stacking;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLight,border:`${o==null?void 0:o.widthSmall} solid ${e==null?void 0:e.borderLight}`,borderRadius:o==null?void 0:o.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,focusBoxShadow:`inset 0 0 0 1px ${e==null?void 0:e.borderLightest}`,horizontalPadding:t==null?void 0:t.xSmall,verticalPadding:t==null?void 0:t.xxSmall,color:e==null?void 0:e.textDarkest,lineNumberColor:e==null?void 0:e.textDark,gutterBorder:e==null?void 0:e.borderLight,gutterBackground:ae(e==null?void 0:e.backgroundLight,5),gutterMarkerColor:e==null?void 0:e.textBrand,gutterMarkerSubtleColor:e==null?void 0:e.textDark,cursorColor:e==null?void 0:e.textDarkest,secondaryCursorColor:e==null?void 0:e.textDark,rulerColor:e==null?void 0:e.borderDark,matchingBracketOutline:e==null?void 0:e.textDark,nonMatchingBracketColor:e==null?void 0:e.textDanger,matchingTagBackground:"rgba(255, 150, 0, 0.3)",activeLineBackground:ae(e==null?void 0:e.backgroundLight,5),selectedBackground:ae(e==null?void 0:e.backgroundLight,15),fatCursorBackground:e==null?void 0:e.backgroundSuccess,fatCursorMarkBackground:"rgba(20, 255, 20, 0.5)",searchingBackground:"rgba(255, 255, 0, 0.4)",zIndex:a==null?void 0:a.above,quoteColor:e==null?void 0:e.textSuccess,headerColor:e==null?void 0:e.textWarning,negativeColor:e==null?void 0:e.textDanger,positiveColor:e==null?void 0:e.textSuccess,keywordColor:e==null?void 0:e.textBrand,atomColor:e==null?void 0:e.textWarning,numberColor:e==null?void 0:e.textWarning,defColor:e==null?void 0:e.textDarkest,variableColor:e==null?void 0:e.textBrand,secondaryVariableColor:e==null?void 0:e.textWarning,typeColor:e==null?void 0:e.textBrand,commentColor:e==null?void 0:e.textDark,stringColor:e==null?void 0:e.textBrand,secondaryStringColor:e==null?void 0:e.textDanger,metaColor:e==null?void 0:e.textDarkest,qualifierColor:e==null?void 0:e.textSuccess,builtInColor:e==null?void 0:e.textWarning,bracketColor:e==null?void 0:e.borderDark,tagColor:e==null?void 0:e.textSuccess,attributeColor:e==null?void 0:e.textBrand,hrColor:e==null?void 0:e.borderDark,linkColor:e==null?void 0:e.textBrand,errorColor:e==null?void 0:e.textDanger,propertyColor:e==null?void 0:e.textAlert,nodeColor:e==null?void 0:e.textWarning,operatorColor:e==null?void 0:e.textDarkest}}},bx={label:s.string.isRequired,language:s.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:s.bool,onChange:s.func,options:s.object,attachment:s.oneOf(["bottom","top"]),value:s.string},zx=["label","language","readOnly","onChange","options","attachment","value"],dx=["value","label","attachment","readOnly","onChange","styles"];var vv,Wv,gv,yv,l1,Z1;const Ox=l.lazy(()=>typeof navigator>"u"||typeof global<"u"&&global.PREVENT_CODEMIRROR_RENDER===!0?Xb(()=>import("./index.node-BNQGXnE6.js"),__vite__mapDeps([0,1,2])):Xb(()=>import("./index-DnQmWmi_.js"),__vite__mapDeps([3,1,2])));let qX=(vv=z0(),Wv=L(cx,Mx),gv=N(),yv=my("[TBD]",null,"This component is deprecated and will be removed in a later version. Use instead, which is the wrapper for the newer version of the CodeMirror code editor."),vv(l1=Wv(l1=gv(l1=yv(l1=(Z1=class extends l.Component{constructor(e){super(e),this._id=void 0,this.codeMirror=void 0,this.ref=void 0,this.editor=void 0,this._id=e.deterministicId(),this.ref=l.createRef(),this.editor=l.createRef(),this.codeMirror=l.createRef()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}focus(){this.codeMirror&&this.codeMirror.focus()}get mode(){const e=this.props.language;return e==="json"||e==="js"?"jsx":e==="sh"?"shell":e==="html"?"htmlmixed":e==="yml"?"yaml":e}get options(){return{...this.props.options,readOnly:this.props.readOnly,mode:this.mode,extraKeys:this.props.readOnly?{Tab:!1,"Shift-Tab":!1}:{}}}render(){const e=this.props,o=e.value,t=e.label;e.attachment,e.readOnly;const i=e.onChange,a=e.styles,c=Y(e,dx);return b("div",{css:a==null?void 0:a.codeEditor,ref:this.ref},b(l.Suspense,null,b(ON,{styles:a==null?void 0:a.globalStyles}),b("label",{htmlFor:this._id},b(m0,null,t),b(Ox,Object.assign({},p0(c),{id:this._id,options:this.options,value:o,onBeforeChange:(M,z,d)=>{i==null||i(d)},ref:this.codeMirror,editorDidMount:M=>{this.editor.current=M},editorWillUnmount:()=>{this.editor.current.display.wrapper.remove(),this.codeMirror.current&&(this.codeMirror.current.hydrated=!1)}})))))}},Z1.displayName="CodeEditor",Z1.componentId="CodeEditor",Z1.propTypes=bx,Z1.allowedProps=zx,Z1.defaultProps={language:"jsx",readOnly:!1,options:{styleActiveLine:!0}},Z1))||l1)||l1)||l1)||l1);const hx=(p,e)=>{const o=e.a*.4,t=1-o,i=1-t*(1-t);return`rgba( + 100% {}`,cx=(p,e)=>{const o=e.attachment,t={top:{borderBottomLeftRadius:0,borderBottomRightRadius:0,marginTop:"0.25rem"},bottom:{borderTopLeftRadius:0,borderTopRightRadius:0,marginBottom:"0.25rem"}};return{codeEditor:{label:"codeEditor"},globalStyles:{".CodeMirror":{direction:"ltr",position:"relative",overflow:"hidden",background:p.background,height:"auto",fontFamily:p.fontFamily,fontSize:p.fontSize,borderRadius:p.borderRadius,border:p.border,color:p.color,lineHeight:1.4375,minHeight:"1.4375rem",marginBottom:"1rem",...o&&t[o]},".CodeMirror-lines":{padding:`${p.verticalPadding} 0`,cursor:"text",minHeight:"0.0625rem"},".CodeMirror pre":{padding:`0 ${p.horizontalPadding}`,borderRadius:"0",borderWidth:"0",background:"transparent",fontFamily:"inherit",fontSize:"inherit",margin:"0",whiteSpace:"pre",wordWrap:"normal",lineHeight:"inherit",color:"inherit",zIndex:`calc(${p.zIndex} + 3)`,position:"relative",overflow:"visible",WebkitTapHighlightColor:"transparent",fontVariantLigatures:"contextual"},".CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{background:p.background},".CodeMirror-cursor":{borderLeft:`0.0625rem solid ${p.cursorColor}`,borderRight:"none",width:"0",position:"absolute",pointerEvents:"none"},".CodeMirror-cursors":{visibility:"hidden",position:"relative",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-dragcursors":{visibility:"visible"},".CodeMirror-focused .CodeMirror-cursors":{visibility:"visible"},".CodeMirror-crosshair":{cursor:"crosshair"},".cm-fat-cursor .CodeMirror-cursor":{width:"auto",border:"0 !important",background:p.fatCursorBackground},".cm-fat-cursor .CodeMirror-cursors":{zIndex:`calc(${p.zIndex} + 2)`},".CodeMirror .CodeMirror-secondarycursor":{borderLeft:`0.0625rem solid ${p.secondaryCursorColor}`},".cm-fat-cursor-mark":{background:p.fatCursorMarkBackground,animation:`${Rv} 1.06s steps(1) infinite`},".cm-animate-fat-cursor":{width:"auto",border:"0",animation:`${Rv} 1.06s steps(1) infinite`,backgroundColor:p.fatCursorBackground},".cm-tab":{display:"inline-block",textDecoration:"inherit"},".CodeMirror-rulers":{position:"absolute",left:"0",right:"0",top:"-50px",bottom:"-20px",overflow:"hidden"},".CodeMirror-ruler":{borderLeft:`0.0625rem solid ${p.rulerColor}`,top:"0",bottom:"0",position:"absolute"},"div.CodeMirror span.CodeMirror-matchingbracket":{outline:`0.0625rem solid ${p.matchingBracketOutline}`},"div.CodeMirror span.CodeMirror-nonmatchingbracket":{color:p.nonMatchingBracketColor},".CodeMirror-matchingtag":{background:p.matchingTagBackground},"div.CodeMirror-activeline-background":{background:p.activeLineBackground},".CodeMirror-scroll":{overflow:"scroll !important",marginBottom:"-30px",marginRight:"-30px",paddingBottom:"30px",height:"100%",outline:"none",position:"relative"},".CodeMirror-sizer":{position:"relative",borderRight:"30px solid transparent"},".CodeMirror-vscrollbar, .CodeMirror-hscrollbar, .CodeMirror-scrollbar-filler, .CodeMirror-gutter-filler":{position:"absolute",zIndex:`calc(${p.zIndex} + 7)`,display:"none"},".CodeMirror-vscrollbar":{right:"0",top:"0",overflowX:"hidden",overflowY:"scroll"},".CodeMirror-hscrollbar":{bottom:"0",left:"0",overflowY:"hidden",overflowX:"scroll"},".CodeMirror-scrollbar-filler":{right:"0",bottom:"0"},".CodeMirror-gutter-filler":{left:"0",bottom:"0"},".CodeMirror-gutters":{borderTopLeftRadius:p.borderRadius,borderBottomLeftRadius:p.borderRadius,borderRight:`0.0625rem solid ${p.gutterBorder}`,overflow:"hidden",background:p.gutterBackground,whiteSpace:"nowrap",position:"absolute",left:"0",top:"0",minHeight:"100%",zIndex:`calc(${p.zIndex} + 4)`},".CodeMirror-linenumber":{padding:"0 0.1875rem 0 0.3125rem",minWidth:"1.25rem",textAlign:"right",color:p.lineNumberColor,whiteSpace:"nowrap"},".CodeMirror-guttermarker":{color:p.gutterMarkerColor},".CodeMirror-guttermarker-subtle":{color:p.gutterMarkerSubtleColor},".CodeMirror-gutter":{whiteSpace:"normal",height:"100%",display:"inline-block",verticalAlign:"top",marginBottom:"-30px"},".CodeMirror-gutter-wrapper":{position:"absolute",zIndex:`calc(${p.zIndex} + 5)`,background:"none !important",border:"none !important"},".CodeMirror-gutter-background":{position:"absolute",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-elt":{position:"absolute",cursor:"default",zIndex:`calc(${p.zIndex} + 5)`},".CodeMirror-gutter-wrapper ::selection":{backgroundColor:"transparent"},".CodeMirror-wrap pre":{wordWrap:"break-word",whiteSpace:"pre-wrap",wordBreak:"normal"},".CodeMirror-linebackground":{position:"absolute",left:"0",right:"0",top:"0",bottom:"0",zIndex:`calc(${p.zIndex} + 1)`},".CodeMirror-linewidget":{position:"relative",zIndex:`calc(${p.zIndex} + 3)`,padding:"0.1px"},".CodeMirror-rtl pre":{direction:"rtl"},".CodeMirror-code":{outline:"none"},".CodeMirror-scroll, .CodeMirror-sizer, .CodeMirror-gutter, .CodeMirror-gutters, .CodeMirror-linenumber":{boxSizing:"content-box"},".CodeMirror-measure":{position:"absolute",width:"100%",height:"0",overflow:"hidden",visibility:"hidden"},".CodeMirror-measure pre":{position:"static"},".CodeMirror-selected, .CodeMirror-focused .CodeMirror-selected, .CodeMirror-line::selection, .CodeMirror-line > span::selection, .CodeMirror-line > span > span::selection":{background:p.selectedBackground},".cm-searching":{background:p.searchingBackground},".cm-force-border":{paddingRight:"0.1px"},"@media print":{".CodeMirror .CodeMirror-cursors":{visibility:"hidden"}},".cm-tab-wrap-hack::after":{content:'""'},".CodeMirror-selectedtext":{background:"none"},".CodeMirror-focused":{boxShadow:p.focusBoxShadow,borderColor:p.focusBorderColor},".cm-keyword":{color:p.keywordColor,fontWeight:"bold"},".cm-atom":{color:p.atomColor},".cm-number":{color:p.numberColor},".cm-def":{color:p.defColor},"span.cm-variable-2, span.cm-tag":{color:p.tagColor},"span.cm-variable-3, span.cm-def, span.cm-type":{color:p.typeColor},".cm-variable":{color:p.variableColor},".cm-property":{color:p.propertyColor},".cm-qualifier":{color:p.qualifierColor},".cm-operator":{color:p.operatorColor},".cm-comment":{color:p.commentColor,fontWeight:"normal"},".cm-string":{color:p.stringColor,fontStyle:"italic"},".cm-string-2":{color:p.secondaryStringColor},".cm-meta":{color:p.metaColor},".cm-builtin":{color:p.builtInColor},".cm-tag":{color:p.tagColor},".cm-attribute":{color:p.attributeColor},".cm-header":{color:p.headerColor},".cm-hr":{color:p.hrColor},".cm-link":{color:p.linkColor,fontStyle:"italic",textDecoration:"none"},".cm-error":{}}}},Mx=p=>{const e=p.colors,o=p.borders,t=p.spacing,i=p.typography,a=p.stacking;return{...{fontFamily:i==null?void 0:i.fontFamilyMonospace,fontSize:i==null?void 0:i.fontSizeSmall,background:e==null?void 0:e.backgroundLight,border:`${o==null?void 0:o.widthSmall} solid ${e==null?void 0:e.borderLight}`,borderRadius:o==null?void 0:o.radiusMedium,focusBorderColor:e==null?void 0:e.borderBrand,focusBoxShadow:`inset 0 0 0 1px ${e==null?void 0:e.borderLightest}`,horizontalPadding:t==null?void 0:t.xSmall,verticalPadding:t==null?void 0:t.xxSmall,color:e==null?void 0:e.textDarkest,lineNumberColor:e==null?void 0:e.textDark,gutterBorder:e==null?void 0:e.borderLight,gutterBackground:ae(e==null?void 0:e.backgroundLight,5),gutterMarkerColor:e==null?void 0:e.textBrand,gutterMarkerSubtleColor:e==null?void 0:e.textDark,cursorColor:e==null?void 0:e.textDarkest,secondaryCursorColor:e==null?void 0:e.textDark,rulerColor:e==null?void 0:e.borderDark,matchingBracketOutline:e==null?void 0:e.textDark,nonMatchingBracketColor:e==null?void 0:e.textDanger,matchingTagBackground:"rgba(255, 150, 0, 0.3)",activeLineBackground:ae(e==null?void 0:e.backgroundLight,5),selectedBackground:ae(e==null?void 0:e.backgroundLight,15),fatCursorBackground:e==null?void 0:e.backgroundSuccess,fatCursorMarkBackground:"rgba(20, 255, 20, 0.5)",searchingBackground:"rgba(255, 255, 0, 0.4)",zIndex:a==null?void 0:a.above,quoteColor:e==null?void 0:e.textSuccess,headerColor:e==null?void 0:e.textWarning,negativeColor:e==null?void 0:e.textDanger,positiveColor:e==null?void 0:e.textSuccess,keywordColor:e==null?void 0:e.textBrand,atomColor:e==null?void 0:e.textWarning,numberColor:e==null?void 0:e.textWarning,defColor:e==null?void 0:e.textDarkest,variableColor:e==null?void 0:e.textBrand,secondaryVariableColor:e==null?void 0:e.textWarning,typeColor:e==null?void 0:e.textBrand,commentColor:e==null?void 0:e.textDark,stringColor:e==null?void 0:e.textBrand,secondaryStringColor:e==null?void 0:e.textDanger,metaColor:e==null?void 0:e.textDarkest,qualifierColor:e==null?void 0:e.textSuccess,builtInColor:e==null?void 0:e.textWarning,bracketColor:e==null?void 0:e.borderDark,tagColor:e==null?void 0:e.textSuccess,attributeColor:e==null?void 0:e.textBrand,hrColor:e==null?void 0:e.borderDark,linkColor:e==null?void 0:e.textBrand,errorColor:e==null?void 0:e.textDanger,propertyColor:e==null?void 0:e.textAlert,nodeColor:e==null?void 0:e.textWarning,operatorColor:e==null?void 0:e.textDarkest}}},bx={label:s.string.isRequired,language:s.oneOf(["sh","js","json","javascript","jsx","shell","css","html","markdown","yaml","yml","bash"]),readOnly:s.bool,onChange:s.func,options:s.object,attachment:s.oneOf(["bottom","top"]),value:s.string},zx=["label","language","readOnly","onChange","options","attachment","value"],dx=["value","label","attachment","readOnly","onChange","styles"];var vv,Wv,gv,yv,l1,Z1;const Ox=l.lazy(()=>typeof navigator>"u"||typeof global<"u"&&global.PREVENT_CODEMIRROR_RENDER===!0?Xb(()=>import("./index.node-DFO_4WZl.js"),__vite__mapDeps([0,1,2])):Xb(()=>import("./index-SdCRoWb_.js"),__vite__mapDeps([3,1,2])));let qX=(vv=z0(),Wv=L(cx,Mx),gv=N(),yv=my("[TBD]",null,"This component is deprecated and will be removed in a later version. Use instead, which is the wrapper for the newer version of the CodeMirror code editor."),vv(l1=Wv(l1=gv(l1=yv(l1=(Z1=class extends l.Component{constructor(e){super(e),this._id=void 0,this.codeMirror=void 0,this.ref=void 0,this.editor=void 0,this._id=e.deterministicId(),this.ref=l.createRef(),this.editor=l.createRef(),this.codeMirror=l.createRef()}componentDidMount(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}componentDidUpdate(){var e,o;(e=(o=this.props).makeStyles)===null||e===void 0||e.call(o)}focus(){this.codeMirror&&this.codeMirror.focus()}get mode(){const e=this.props.language;return e==="json"||e==="js"?"jsx":e==="sh"?"shell":e==="html"?"htmlmixed":e==="yml"?"yaml":e}get options(){return{...this.props.options,readOnly:this.props.readOnly,mode:this.mode,extraKeys:this.props.readOnly?{Tab:!1,"Shift-Tab":!1}:{}}}render(){const e=this.props,o=e.value,t=e.label;e.attachment,e.readOnly;const i=e.onChange,a=e.styles,c=Y(e,dx);return b("div",{css:a==null?void 0:a.codeEditor,ref:this.ref},b(l.Suspense,null,b(ON,{styles:a==null?void 0:a.globalStyles}),b("label",{htmlFor:this._id},b(m0,null,t),b(Ox,Object.assign({},p0(c),{id:this._id,options:this.options,value:o,onBeforeChange:(M,z,d)=>{i==null||i(d)},ref:this.codeMirror,editorDidMount:M=>{this.editor.current=M},editorWillUnmount:()=>{this.editor.current.display.wrapper.remove(),this.codeMirror.current&&(this.codeMirror.current.hydrated=!1)}})))))}},Z1.displayName="CodeEditor",Z1.componentId="CodeEditor",Z1.propTypes=bx,Z1.allowedProps=zx,Z1.defaultProps={language:"jsx",readOnly:!1,options:{styleActiveLine:!0}},Z1))||l1)||l1)||l1)||l1);const hx=(p,e)=>{const o=e.a*.4,t=1-o,i=1-t*(1-t);return`rgba( ${e.r*o/i+p.r*t*(1-o)/i}, ${e.g*o/i+p.g*t*(1-o)/i}, ${e.b*o/i+p.b*t*(1-o)/i}, diff --git a/assets/index-DnQmWmi_.js b/assets/index-SdCRoWb_.js similarity index 99% rename from assets/index-DnQmWmi_.js rename to assets/index-SdCRoWb_.js index 365ada7..576135d 100644 --- a/assets/index-DnQmWmi_.js +++ b/assets/index-SdCRoWb_.js @@ -1,4 +1,4 @@ -import{k as Su,l as Cu,R as ga}from"./index-D4PUjdd4.js";var wa={exports:{}};(function(Tt,_){(function(x,W){Tt.exports=W()})(Su,function(){var x=navigator.userAgent,W=navigator.platform,k=/gecko\/\d/i.test(x),y=/MSIE \d/.test(x),C=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),q=/Edge\/(\d+)/.exec(x),T=y||C||q,se=T&&(y?document.documentMode||6:+(q||C)[1]),ie=!q&&/WebKit\//.test(x),ve=ie&&/Qt\/\d+\.\d+/.test(x),ee=!q&&/Chrome\/(\d+)/.exec(x),j=ee&&+ee[1],E=/Opera\//.test(x),K=/Apple Computer/.test(navigator.vendor),ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),ue=/PhantomJS/.test(x),te=K&&(/Mobile\/\w+/.test(x)||navigator.maxTouchPoints>2),Q=/Android/.test(x),fe=te||Q||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),De=te||/Mac/.test(W),Ge=/\bCrOS\b/.test(x),nt=/win/i.test(W),Pe=E&&x.match(/Version\/(\d*\.\d*)/);Pe&&(Pe=Number(Pe[1])),Pe&&Pe>=15&&(E=!1,ie=!0);var He=De&&(ve||E&&(Pe==null||Pe<12.11)),pe=k||T&&se>=9;function I(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var We=function(e,t){var i=e.className,r=I(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Y(e,t){return D(e).appendChild(t)}function c(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=i-l%i,o=a+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};he.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},he.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(l,t-n);if(n+=o-r,n+=i-n%i,r=o+1,n>=t)return r}}var Ke=[""];function ot(e){for(;Ke.length<=e;)Ke.push(ye(Ke)+" ");return Ke[e]}function ye(e){return e[e.length-1]}function Ce(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Le.test(e))}function Xt(e,t){return t?t.source.indexOf("\\w")>-1&&at(e)?!0:t.test(e):at(e)}function Wi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Yt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Xe(e){return e.charCodeAt(0)>=768&&Yt.test(e)}function ir(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+r}}function nr(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,o=0;ot||t==i&&l.to==t)&&(r(Math.max(l.from,t),Math.min(l.to,i),l.level==1?"rtl":"ltr",o),n=!0)}n||r(t,i,"ltr")}var yr=null;function or(e,t,i){var r;yr=null;for(var n=0;nt)return n;o.to==t&&(o.from!=o.to&&i=="before"?r=n:yr=n),o.from==t&&(o.from!=o.to&&i!="before"?r=n:yr=n)}return r??yr}var mn=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,d,g){this.level=u,this.from=d,this.to=g}return function(u,d){var g=d=="ltr"?"L":"R";if(u.length==0||d=="ltr"&&!r.test(u))return!1;for(var b=u.length,m=[],L=0;L-1&&(r[t]=n.slice(0,o).concat(n.slice(o+1)))}}}function Re(e,t){var i=$t(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function Et(e){e.prototype.on=function(t,i){le(this,t,i)},e.prototype.off=function(t,i){st(this,t,i)}}function ut(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Er(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function gt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function lr(e){ut(e),Er(e)}function ni(e){return e.target||e.srcElement}function Nt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),De&&e.ctrlKey&&t==1&&(t=3),t}var xn=function(){if(T&&se<9)return!1;var e=c("div");return"draggable"in e||"dragDrop"in e}(),Nr;function zi(e){if(Nr==null){var t=c("span","​");Y(e,c("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Nr=t.offsetWidth<=1&&t.offsetHeight>2&&!(T&&se<8))}var i=Nr?c("span","​"):c("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var oi;function ar(e){if(oi!=null)return oi;var t=Y(e,document.createTextNode("AخA")),i=N(t,0,1).getBoundingClientRect(),r=N(t,1,2).getBoundingClientRect();return D(e),!i||i.left==i.right?!1:oi=r.right-i.right<3}var Ft=` +import{k as Su,l as Cu,R as ga}from"./index-Bko_xNHh.js";var wa={exports:{}};(function(Tt,_){(function(x,W){Tt.exports=W()})(Su,function(){var x=navigator.userAgent,W=navigator.platform,k=/gecko\/\d/i.test(x),y=/MSIE \d/.test(x),C=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(x),q=/Edge\/(\d+)/.exec(x),T=y||C||q,se=T&&(y?document.documentMode||6:+(q||C)[1]),ie=!q&&/WebKit\//.test(x),ve=ie&&/Qt\/\d+\.\d+/.test(x),ee=!q&&/Chrome\/(\d+)/.exec(x),j=ee&&+ee[1],E=/Opera\//.test(x),K=/Apple Computer/.test(navigator.vendor),ce=/Mac OS X 1\d\D([8-9]|\d\d)\D/.test(x),ue=/PhantomJS/.test(x),te=K&&(/Mobile\/\w+/.test(x)||navigator.maxTouchPoints>2),Q=/Android/.test(x),fe=te||Q||/webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(x),De=te||/Mac/.test(W),Ge=/\bCrOS\b/.test(x),nt=/win/i.test(W),Pe=E&&x.match(/Version\/(\d*\.\d*)/);Pe&&(Pe=Number(Pe[1])),Pe&&Pe>=15&&(E=!1,ie=!0);var He=De&&(ve||E&&(Pe==null||Pe<12.11)),pe=k||T&&se>=9;function I(e){return new RegExp("(^|\\s)"+e+"(?:$|\\s)\\s*")}var We=function(e,t){var i=e.className,r=I(t).exec(i);if(r){var n=i.slice(r.index+r[0].length);e.className=i.slice(0,r.index)+(n?r[1]+n:"")}};function D(e){for(var t=e.childNodes.length;t>0;--t)e.removeChild(e.firstChild);return e}function Y(e,t){return D(e).appendChild(t)}function c(e,t,i,r){var n=document.createElement(e);if(i&&(n.className=i),r&&(n.style.cssText=r),typeof t=="string")n.appendChild(document.createTextNode(t));else if(t)for(var o=0;o=t)return l+(t-o);l+=a-o,l+=i-l%i,o=a+1}}var he=function(){this.id=null,this.f=null,this.time=0,this.handler=re(this.onTimeout,this)};he.prototype.onTimeout=function(e){e.id=0,e.time<=+new Date?e.f():setTimeout(e.handler,e.time-+new Date)},he.prototype.set=function(e,t){this.f=t;var i=+new Date+e;(!this.id||i=t)return r+Math.min(l,t-n);if(n+=o-r,n+=i-n%i,r=o+1,n>=t)return r}}var Ke=[""];function ot(e){for(;Ke.length<=e;)Ke.push(ye(Ke)+" ");return Ke[e]}function ye(e){return e[e.length-1]}function Ce(e,t){for(var i=[],r=0;r"€"&&(e.toUpperCase()!=e.toLowerCase()||Le.test(e))}function Xt(e,t){return t?t.source.indexOf("\\w")>-1&&at(e)?!0:t.test(e):at(e)}function Wi(e){for(var t in e)if(e.hasOwnProperty(t)&&e[t])return!1;return!0}var Yt=/[\u0300-\u036f\u0483-\u0489\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065e\u0670\u06d6-\u06dc\u06de-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0900-\u0902\u093c\u0941-\u0948\u094d\u0951-\u0955\u0962\u0963\u0981\u09bc\u09be\u09c1-\u09c4\u09cd\u09d7\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3e\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b82\u0bbe\u0bc0\u0bcd\u0bd7\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc2\u0cc6\u0ccc\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0d3e\u0d41-\u0d44\u0d4d\u0d57\u0d62\u0d63\u0dca\u0dcf\u0dd2-\u0dd4\u0dd6\u0ddf\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f90-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfd-\u1dff\u200c\u200d\u20d0-\u20f0\u2cef-\u2cf1\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f-\ua672\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\udc00-\udfff\ufb1e\ufe00-\ufe0f\ufe20-\ufe26\uff9e\uff9f]/;function Xe(e){return e.charCodeAt(0)>=768&&Yt.test(e)}function ir(e,t,i){for(;(i<0?t>0:ti?-1:1;;){if(t==i)return t;var n=(t+i)/2,o=r<0?Math.ceil(n):Math.floor(n);if(o==t)return e(o)?t:i;e(o)?i=o:t=o+r}}function nr(e,t,i,r){if(!e)return r(t,i,"ltr",0);for(var n=!1,o=0;ot||t==i&&l.to==t)&&(r(Math.max(l.from,t),Math.min(l.to,i),l.level==1?"rtl":"ltr",o),n=!0)}n||r(t,i,"ltr")}var yr=null;function or(e,t,i){var r;yr=null;for(var n=0;nt)return n;o.to==t&&(o.from!=o.to&&i=="before"?r=n:yr=n),o.from==t&&(o.from!=o.to&&i!="before"?r=n:yr=n)}return r??yr}var mn=function(){var e="bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN",t="nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111";function i(u){return u<=247?e.charAt(u):1424<=u&&u<=1524?"R":1536<=u&&u<=1785?t.charAt(u-1536):1774<=u&&u<=2220?"r":8192<=u&&u<=8203?"w":u==8204?"b":"L"}var r=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/,n=/[stwN]/,o=/[LRr]/,l=/[Lb1n]/,a=/[1n]/;function s(u,d,g){this.level=u,this.from=d,this.to=g}return function(u,d){var g=d=="ltr"?"L":"R";if(u.length==0||d=="ltr"&&!r.test(u))return!1;for(var b=u.length,m=[],L=0;L-1&&(r[t]=n.slice(0,o).concat(n.slice(o+1)))}}}function Re(e,t){var i=$t(e,t);if(i.length)for(var r=Array.prototype.slice.call(arguments,2),n=0;n0}function Et(e){e.prototype.on=function(t,i){le(this,t,i)},e.prototype.off=function(t,i){st(this,t,i)}}function ut(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function Er(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}function gt(e){return e.defaultPrevented!=null?e.defaultPrevented:e.returnValue==!1}function lr(e){ut(e),Er(e)}function ni(e){return e.target||e.srcElement}function Nt(e){var t=e.which;return t==null&&(e.button&1?t=1:e.button&2?t=3:e.button&4&&(t=2)),De&&e.ctrlKey&&t==1&&(t=3),t}var xn=function(){if(T&&se<9)return!1;var e=c("div");return"draggable"in e||"dragDrop"in e}(),Nr;function zi(e){if(Nr==null){var t=c("span","​");Y(e,c("span",[t,document.createTextNode("x")])),e.firstChild.offsetHeight!=0&&(Nr=t.offsetWidth<=1&&t.offsetHeight>2&&!(T&&se<8))}var i=Nr?c("span","​"):c("span"," ",null,"display: inline-block; width: 1px; margin-right: -1px");return i.setAttribute("cm-text",""),i}var oi;function ar(e){if(oi!=null)return oi;var t=Y(e,document.createTextNode("AخA")),i=N(t,0,1).getBoundingClientRect(),r=N(t,1,2).getBoundingClientRect();return D(e),!i||i.left==i.right?!1:oi=r.right-i.right<3}var Ft=` b`.split(/\n/).length!=3?function(e){for(var t=0,i=[],r=e.length;t<=r;){var n=e.indexOf(` `,t);n==-1&&(n=e.length);var o=e.slice(t,e.charAt(n-1)=="\r"?n-1:n),l=o.indexOf("\r");l!=-1?(i.push(o.slice(0,l)),t+=l+1):(i.push(o),t=n+1)}return i}:function(e){return e.split(/\r\n?|\n/)},sr=window.getSelection?function(e){try{return e.selectionStart!=e.selectionEnd}catch{return!1}}:function(e){var t;try{t=e.ownerDocument.selection.createRange()}catch{}return!t||t.parentElement()!=e?!1:t.compareEndPoints("StartToEnd",t)!=0},Bi=function(){var e=c("div");return"oncopy"in e?!0:(e.setAttribute("oncopy","return;"),typeof e.oncopy=="function")}(),Ot=null;function yn(e){if(Ot!=null)return Ot;var t=Y(e,c("span","x")),i=t.getBoundingClientRect(),r=N(t,0,1).getBoundingClientRect();return Ot=Math.abs(i.left-r.left)>1}var Or={},Pt={};function Ht(e,t){arguments.length>2&&(t.dependencies=Array.prototype.slice.call(arguments,2)),Or[e]=t}function br(e,t){Pt[e]=t}function Pr(e){if(typeof e=="string"&&Pt.hasOwnProperty(e))e=Pt[e];else if(e&&typeof e.name=="string"&&Pt.hasOwnProperty(e.name)){var t=Pt[e.name];typeof t=="string"&&(t={name:t}),e=M(t,e),e.name=t.name}else{if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+xml$/.test(e))return Pr("application/xml");if(typeof e=="string"&&/^[\w\-]+\/[\w\-]+\+json$/.test(e))return Pr("application/json")}return typeof e=="string"?{name:e}:e||{name:"null"}}function Hr(e,t){t=Pr(t);var i=Or[t.name];if(!i)return Hr(e,"text/plain");var r=i(e,t);if(ur.hasOwnProperty(t.name)){var n=ur[t.name];for(var o in n)n.hasOwnProperty(o)&&(r.hasOwnProperty(o)&&(r["_"+o]=r[o]),r[o]=n[o])}if(r.name=t.name,t.helperType&&(r.helperType=t.helperType),t.modeProps)for(var l in t.modeProps)r[l]=t.modeProps[l];return r}var ur={};function Wr(e,t){var i=ur.hasOwnProperty(e)?ur[e]:ur[e]={};ge(t,i)}function _t(e,t){if(t===!0)return t;if(e.copyState)return e.copyState(t);var i={};for(var r in t){var n=t[r];n instanceof Array&&(n=n.concat([])),i[r]=n}return i}function li(e,t){for(var i;e.innerMode&&(i=e.innerMode(t),!(!i||i.mode==e));)t=i.state,e=i.mode;return i||{mode:e,state:t}}function Ir(e,t,i){return e.startState?e.startState(t,i):!0}var qe=function(e,t,i){this.pos=this.start=0,this.string=e,this.tabSize=t||8,this.lastColumnPos=this.lastColumnValue=0,this.lineStart=0,this.lineOracle=i};qe.prototype.eol=function(){return this.pos>=this.string.length},qe.prototype.sol=function(){return this.pos==this.lineStart},qe.prototype.peek=function(){return this.string.charAt(this.pos)||void 0},qe.prototype.next=function(){if(this.post},qe.prototype.eatSpace=function(){for(var e=this.pos;/[\s\u00a0]/.test(this.string.charAt(this.pos));)++this.pos;return this.pos>e},qe.prototype.skipToEnd=function(){this.pos=this.string.length},qe.prototype.skipTo=function(e){var t=this.string.indexOf(e,this.pos);if(t>-1)return this.pos=t,!0},qe.prototype.backUp=function(e){this.pos-=e},qe.prototype.column=function(){return this.lastColumnPos0?null:(o&&t!==!1&&(this.pos+=o[0].length),o)}},qe.prototype.current=function(){return this.string.slice(this.start,this.pos)},qe.prototype.hideFirstChars=function(e,t){this.lineStart+=e;try{return t()}finally{this.lineStart-=e}},qe.prototype.lookAhead=function(e){var t=this.lineOracle;return t&&t.lookAhead(e)},qe.prototype.baseToken=function(){var e=this.lineOracle;return e&&e.baseToken(this.pos)};function V(e,t){if(t-=e.first,t<0||t>=e.size)throw new Error("There is no line "+(t+e.first)+" in the document.");for(var i=e;!i.lines;)for(var r=0;;++r){var n=i.children[r],o=n.chunkSize();if(t=e.first&&ti?S(i,V(e,i).text.length):Ca(t,V(e,t.line).text.length)}function Ca(e,t){var i=e.ch;return i==null||i>t?S(e.line,t):i<0?S(e.line,0):e}function mo(e,t){for(var i=[],r=0;rthis.maxLookAhead&&(this.maxLookAhead=e),t},qt.prototype.baseToken=function(e){if(!this.baseTokens)return null;for(;this.baseTokens[this.baseTokenPos]<=e;)this.baseTokenPos+=2;var t=this.baseTokens[this.baseTokenPos+1];return{type:t&&t.replace(/( |^)overlay .*/,""),size:this.baseTokens[this.baseTokenPos]-e}},qt.prototype.nextLine=function(){this.line++,this.maxLookAhead>0&&this.maxLookAhead--},qt.fromSaved=function(e,t,i){return t instanceof Ri?new qt(e,_t(e.mode,t.state),i,t.lookAhead):new qt(e,_t(e.mode,t),i)},qt.prototype.save=function(e){var t=e!==!1?_t(this.doc.mode,this.state):this.state;return this.maxLookAhead>0?new Ri(t,this.maxLookAhead):t};function xo(e,t,i,r){var n=[e.state.modeGen],o={};Co(e,t.text,e.doc.mode,i,function(u,d){return n.push(u,d)},o,r);for(var l=i.state,a=function(u){i.baseTokens=n;var d=e.state.overlays[u],g=1,b=0;i.state=!0,Co(e,t.text,d.mode,i,function(m,L){for(var F=g;bm&&n.splice(g,1,m,n[g+1],H),g+=2,b=Math.min(m,H)}if(L)if(d.opaque)n.splice(F,g-F,m,"overlay "+L),g=F+2;else for(;Fe.options.maxHighlightLength&&_t(e.doc.mode,r.state),o=xo(e,t,r);n&&(r.state=n),t.stateAfter=r.save(!n),t.styles=o.styles,o.classes?t.styleClasses=o.classes:t.styleClasses&&(t.styleClasses=null),i===e.doc.highlightFrontier&&(e.doc.modeFrontier=Math.max(e.doc.modeFrontier,++e.doc.highlightFrontier))}return t.styles}function si(e,t,i){var r=e.doc,n=e.display;if(!r.mode.startState)return new qt(r,!0,t);var o=La(e,t,i),l=o>r.first&&V(r,o-1).stateAfter,a=l?qt.fromSaved(r,l,o):new qt(r,Ir(r.mode),o);return r.iter(o,t,function(s){bn(e,s.text,a);var u=a.line;s.stateAfter=u==t-1||u%5==0||u>=n.viewFrom&&ut.start)return o}throw new Error("Mode "+e.name+" failed to advance stream.")}var ko=function(e,t,i){this.start=e.start,this.end=e.pos,this.string=e.current(),this.type=t||null,this.state=i};function wo(e,t,i,r){var n=e.doc,o=n.mode,l;t=me(n,t);var a=V(n,t.line),s=si(e,t.line,i),u=new qe(a.text,e.options.tabSize,s),d;for(r&&(d=[]);(r||u.pose.options.maxHighlightLength?(a=!1,l&&bn(e,t,r,d.pos),d.pos=t.length,g=null):g=So(kn(i,d,r.state,b),o),b){var m=b[0].name;m&&(g="m-"+(g?m+" "+g:m))}if(!a||u!=g){for(;sl;--a){if(a<=o.first)return o.first;var s=V(o,a-1),u=s.stateAfter;if(u&&(!i||a+(u instanceof Ri?u.lookAhead:0)<=o.modeFrontier))return a;var d=xe(s.text,null,e.options.tabSize);(n==null||r>d)&&(n=a-1,r=d)}return n}function Ta(e,t){if(e.modeFrontier=Math.min(e.modeFrontier,t),!(e.highlightFrontieri;r--){var n=V(e,r).stateAfter;if(n&&(!(n instanceof Ri)||r+n.lookAhead=t:o.to>t);(r||(r=[])).push(new _i(l,o.from,s?null:o.to))}}return r}function Na(e,t,i){var r;if(e)for(var n=0;n=t:o.to>t);if(a||o.from==t&&l.type=="bookmark"&&(!i||o.marker.insertLeft)){var s=o.from==null||(l.inclusiveLeft?o.from<=t:o.from0&&a)for(var $=0;$0)){var d=[s,1],g=G(u.from,a.from),b=G(u.to,a.to);(g<0||!l.inclusiveLeft&&!g)&&d.push({from:u.from,to:a.from}),(b>0||!l.inclusiveRight&&!b)&&d.push({from:a.to,to:u.to}),n.splice.apply(n,d),s+=d.length-3}}return n}function Do(e){var t=e.markedSpans;if(t){for(var i=0;it)&&(!r||Sn(r,o.marker)<0)&&(r=o.marker)}return r}function Eo(e,t,i,r,n){var o=V(e,t),l=Jt&&o.markedSpans;if(l)for(var a=0;a=0&&g<=0||d<=0&&g>=0)&&(d<=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?G(u.to,i)>=0:G(u.to,i)>0)||d>=0&&(s.marker.inclusiveRight&&n.inclusiveLeft?G(u.from,r)<=0:G(u.from,r)<0)))return!0}}}function Wt(e){for(var t;t=Fo(e);)e=t.find(-1,!0).line;return e}function Ha(e){for(var t;t=Ki(e);)e=t.find(1,!0).line;return e}function Wa(e){for(var t,i;t=Ki(e);)e=t.find(1,!0).line,(i||(i=[])).push(e);return i}function Cn(e,t){var i=V(e,t),r=Wt(i);return i==r?t:f(r)}function No(e,t){if(t>e.lastLine())return t;var i=V(e,t),r;if(!fr(e,i))return t;for(;r=Ki(i);)i=r.find(1,!0).line;return f(i)+1}function fr(e,t){var i=Jt&&t.markedSpans;if(i){for(var r=void 0,n=0;nt.maxLineLength&&(t.maxLineLength=n,t.maxLine=r)})}var Br=function(e,t,i){this.text=e,Mo(this,t),this.height=i?i(this):1};Br.prototype.lineNo=function(){return f(this)},Et(Br);function Ia(e,t,i,r){e.text=t,e.stateAfter&&(e.stateAfter=null),e.styles&&(e.styles=null),e.order!=null&&(e.order=null),Do(e),Mo(e,i);var n=r?r(e):1;n!=e.height&&Dt(e,n)}function za(e){e.parent=null,Do(e)}var Ba={},Ra={};function Oo(e,t){if(!e||/^\s*$/.test(e))return null;var i=t.addModeClass?Ra:Ba;return i[e]||(i[e]=e.replace(/\S+/g,"cm-$&"))}function Po(e,t){var i=U("span",null,null,ie?"padding-right: .1px":null),r={pre:U("pre",[i],"CodeMirror-line"),content:i,col:0,pos:0,cm:e,trailingSpace:!1,splitSpaces:e.getOption("lineWrapping")};t.measure={};for(var n=0;n<=(t.rest?t.rest.length:0);n++){var o=n?t.rest[n-1]:t.line,l=void 0;r.pos=0,r.addToken=qa,ar(e.display.measure)&&(l=Se(o,e.doc.direction))&&(r.addToken=Ka(r.addToken,l)),r.map=[];var a=t!=e.display.externalMeasured&&f(o);Ua(o,r,yo(e,o,a)),o.styleClasses&&(o.styleClasses.bgClass&&(r.bgClass=wt(o.styleClasses.bgClass,r.bgClass||"")),o.styleClasses.textClass&&(r.textClass=wt(o.styleClasses.textClass,r.textClass||""))),r.map.length==0&&r.map.push(0,0,r.content.appendChild(zi(e.display.measure))),n==0?(t.measure.map=r.map,t.measure.cache={}):((t.measure.maps||(t.measure.maps=[])).push(r.map),(t.measure.caches||(t.measure.caches=[])).push({}))}if(ie){var s=r.content.lastChild;(/\bcm-tab\b/.test(s.className)||s.querySelector&&s.querySelector(".cm-tab"))&&(r.content.className="cm-tab-wrap-hack")}return Re(e,"renderLine",e,t.line,r.pre),r.pre.className&&(r.textClass=wt(r.pre.className,r.textClass||"")),r}function _a(e){var t=c("span","•","cm-invalidchar");return t.title="\\u"+e.charCodeAt(0).toString(16),t.setAttribute("aria-label",t.title),t}function qa(e,t,i,r,n,o,l){if(t){var a=e.splitSpaces?ja(t,e.trailingSpace):t,s=e.cm.state.specialChars,u=!1,d;if(!s.test(t))e.col+=t.length,d=document.createTextNode(a),e.map.push(e.pos,e.pos+t.length,d),T&&se<9&&(u=!0),e.pos+=t.length;else{d=document.createDocumentFragment();for(var g=0;;){s.lastIndex=g;var b=s.exec(t),m=b?b.index-g:t.length-g;if(m){var L=document.createTextNode(a.slice(g,g+m));T&&se<9?d.appendChild(c("span",[L])):d.appendChild(L),e.map.push(e.pos,e.pos+m,L),e.col+=m,e.pos+=m}if(!b)break;g+=m+1;var F=void 0;if(b[0]==" "){var H=e.cm.options.tabSize,B=H-e.col%H;F=d.appendChild(c("span",ot(B),"cm-tab")),F.setAttribute("role","presentation"),F.setAttribute("cm-text"," "),e.col+=B}else b[0]=="\r"||b[0]==` diff --git a/assets/index-B30b3Gjx.js b/assets/index-XoI2c9b1.js similarity index 95% rename from assets/index-B30b3Gjx.js rename to assets/index-XoI2c9b1.js index 1a7c9ca..3461c9e 100644 --- a/assets/index-B30b3Gjx.js +++ b/assets/index-XoI2c9b1.js @@ -1 +1 @@ -import{r as d,R as c,S as i,P as r,T as S,w as L,t as z,h as x,p as E}from"./index-D4PUjdd4.js";import{w as j,B as N,S as Z}from"./RenderTopNavBar-CJuzk9-4.js";var l;class s extends d.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}render(){return c.createElement(i,Object.assign({},this.props,{name:"IconSearch",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),l||(l=c.createElement("path",{d:"M790.588 1468.235c-373.722 0-677.647-303.924-677.647-677.647 0-373.722 303.925-677.647 677.647-677.647 373.723 0 677.647 303.925 677.647 677.647 0 373.723-303.924 677.647-677.647 677.647Zm596.781-160.715c120.396-138.692 193.807-319.285 193.807-516.932C1581.176 354.748 1226.428 0 790.588 0S0 354.748 0 790.588s354.748 790.588 790.588 790.588c197.647 0 378.24-73.411 516.932-193.807l516.028 516.142 79.963-79.963-516.142-516.028Z",fillRule:"evenodd"})))}}s.glyphName="search";s.variant="Line";s.displayName="IconSearchLine";s.propTypes={...i.propTypes};s.allowedProps=[...i.allowedProps];const q={children:r.oneOfType([r.node,r.func]),renderIcon:r.oneOfType([r.node,r.func]),screenReaderLabel:r.string.isRequired,type:r.oneOf(["button","submit","reset"]),size:r.oneOf(["small","medium","large"]),elementRef:r.func,as:r.elementType,interaction:r.oneOf(["enabled","disabled","readonly"]),color:r.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:r.oneOf(["info","inverse"]),shape:r.oneOf(["rectangle","circle"]),withBackground:r.bool,withBorder:r.bool,margin:S.spacing,cursor:r.string,href:r.string,onClick:r.func},G=["as","children","color","cursor","elementRef","focusColor","href","interaction","margin","renderIcon","screenReaderLabel","shape","size","type","withBackground","withBorder","onClick"],M=["children","renderIcon","screenReaderLabel","type","size","elementRef","as","interaction","color","focusColor","shape","withBackground","withBorder","margin","cursor","href"];var p,h,a,t;let $=(p=L(null,j),h=z(),p(a=h(a=(t=class extends d.Component{constructor(...e){super(...e),this._baseButton=null,this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}get focused(){return this._baseButton&&this._baseButton.focused}focus(){this._baseButton&&this._baseButton.focus()}render(){const e=this.props,o=e.children,n=e.renderIcon,f=e.screenReaderLabel,m=e.type,B=e.size;e.elementRef;const g=e.as,y=e.interaction,b=e.color,R=e.focusColor,w=e.shape,I=e.withBackground,_=e.withBorder,C=e.margin,O=e.cursor,T=e.href,v=x(e,M),P=this.props.themeOverride;return c.createElement(N,Object.assign({},E(v),{type:m,size:B,elementRef:this.handleRef,as:g,interaction:y,color:b,focusColor:R,shape:w,withBackground:I,withBorder:_,margin:C,cursor:O,href:T,renderIcon:o||n,themeOverride:P,ref:k=>{this._baseButton=k}}),c.createElement(Z,null,f))}},t.displayName="IconButton",t.componentId="IconButton",t.propTypes=q,t.allowedProps=G,t.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",shape:"rectangle",withBackground:!0,withBorder:!0,margin:"0",cursor:"pointer"},t))||a)||a);export{s as I,$ as a}; +import{r as d,R as c,S as i,P as r,T as S,w as L,t as z,h as x,p as E}from"./index-Bko_xNHh.js";import{w as j,B as N,S as Z}from"./RenderTopNavBar-C6YLj6sY.js";var l;class s extends d.Component{constructor(...e){super(...e),this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}render(){return c.createElement(i,Object.assign({},this.props,{name:"IconSearch",viewBox:"0 0 1920 1920",elementRef:this.handleRef}),l||(l=c.createElement("path",{d:"M790.588 1468.235c-373.722 0-677.647-303.924-677.647-677.647 0-373.722 303.925-677.647 677.647-677.647 373.723 0 677.647 303.925 677.647 677.647 0 373.723-303.924 677.647-677.647 677.647Zm596.781-160.715c120.396-138.692 193.807-319.285 193.807-516.932C1581.176 354.748 1226.428 0 790.588 0S0 354.748 0 790.588s354.748 790.588 790.588 790.588c197.647 0 378.24-73.411 516.932-193.807l516.028 516.142 79.963-79.963-516.142-516.028Z",fillRule:"evenodd"})))}}s.glyphName="search";s.variant="Line";s.displayName="IconSearchLine";s.propTypes={...i.propTypes};s.allowedProps=[...i.allowedProps];const q={children:r.oneOfType([r.node,r.func]),renderIcon:r.oneOfType([r.node,r.func]),screenReaderLabel:r.string.isRequired,type:r.oneOf(["button","submit","reset"]),size:r.oneOf(["small","medium","large"]),elementRef:r.func,as:r.elementType,interaction:r.oneOf(["enabled","disabled","readonly"]),color:r.oneOf(["primary","primary-inverse","secondary","success","danger"]),focusColor:r.oneOf(["info","inverse"]),shape:r.oneOf(["rectangle","circle"]),withBackground:r.bool,withBorder:r.bool,margin:S.spacing,cursor:r.string,href:r.string,onClick:r.func},G=["as","children","color","cursor","elementRef","focusColor","href","interaction","margin","renderIcon","screenReaderLabel","shape","size","type","withBackground","withBorder","onClick"],M=["children","renderIcon","screenReaderLabel","type","size","elementRef","as","interaction","color","focusColor","shape","withBackground","withBorder","margin","cursor","href"];var p,h,a,t;let $=(p=L(null,j),h=z(),p(a=h(a=(t=class extends d.Component{constructor(...e){super(...e),this._baseButton=null,this.ref=null,this.handleRef=o=>{const n=this.props.elementRef;this.ref=o,typeof n=="function"&&n(o)}}get focused(){return this._baseButton&&this._baseButton.focused}focus(){this._baseButton&&this._baseButton.focus()}render(){const e=this.props,o=e.children,n=e.renderIcon,f=e.screenReaderLabel,m=e.type,B=e.size;e.elementRef;const g=e.as,y=e.interaction,b=e.color,R=e.focusColor,w=e.shape,I=e.withBackground,_=e.withBorder,C=e.margin,O=e.cursor,T=e.href,v=x(e,M),P=this.props.themeOverride;return c.createElement(N,Object.assign({},E(v),{type:m,size:B,elementRef:this.handleRef,as:g,interaction:y,color:b,focusColor:R,shape:w,withBackground:I,withBorder:_,margin:C,cursor:O,href:T,renderIcon:o||n,themeOverride:P,ref:k=>{this._baseButton=k}}),c.createElement(Z,null,f))}},t.displayName="IconButton",t.componentId="IconButton",t.propTypes=q,t.allowedProps=G,t.defaultProps={type:"button",size:"medium",as:"button",interaction:void 0,color:"secondary",shape:"rectangle",withBackground:!0,withBorder:!0,margin:"0",cursor:"pointer"},t))||a)||a);export{s as I,$ as a}; diff --git a/assets/index.node-BNQGXnE6.js b/assets/index.node-DFO_4WZl.js similarity index 80% rename from assets/index.node-BNQGXnE6.js rename to assets/index.node-DFO_4WZl.js index 2175b1f..65a4837 100644 --- a/assets/index.node-BNQGXnE6.js +++ b/assets/index.node-DFO_4WZl.js @@ -1 +1 @@ -import{r as n}from"./index-D4PUjdd4.js";class o extends n.Component{constructor(e){super(e)}hydrate(){}initChange(){}resolveChange(){}mirrorChange(){}componentDidMount(){}componentDidUpdate(){}componentWillUnmount(){}shouldComponentUpdate(){return!1}render(){return null}}o.displayName="Controlled";export{o as default}; +import{r as n}from"./index-Bko_xNHh.js";class o extends n.Component{constructor(e){super(e)}hydrate(){}initChange(){}resolveChange(){}mirrorChange(){}componentDidMount(){}componentDidUpdate(){}componentWillUnmount(){}shouldComponentUpdate(){return!1}render(){return null}}o.displayName="Controlled";export{o as default}; diff --git a/assets/links-B2v1vUE9.js b/assets/links-B5asv8NG.js similarity index 92% rename from assets/links-B2v1vUE9.js rename to assets/links-B5asv8NG.js index 2fe0346..5d749f1 100644 --- a/assets/links-B2v1vUE9.js +++ b/assets/links-B5asv8NG.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DeRkl5Z2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-BGFQHV-c.js"])))=>i.map(i=>d[i]); -import{a as Q,r as o,d as g,e as C,L as k,j as e,V as f,_ as Z,g as G}from"./index-D4PUjdd4.js";import{a as J,g as X,R as Y,H as A,T as b,d as ee,L as ae,e as re,b as le,f as v}from"./RenderTopNavBar-CJuzk9-4.js";import{B as ne,T as se,R as y,a as d,I as oe,b as te}from"./index-vlHfeEdv.js";import{F as ie,T as ce,a as t}from"./index-DrEKPqe2.js";import{I as de,a as w}from"./index-B30b3Gjx.js";const ue={header:{EN:"Redirect Links",ES_LA:"Enlaces de Redirección",PT_BR:"Links de Redirecionamento",DE:"Weiterleitungslinks"},description:{EN:"This page provides a collection of shortened URLs for use in RFP responses. Each row has a short URL and the original URL. Click on the copy icon and the short URL will be added to your clipboard.",ES_LA:"Esta página proporciona una colección de URL abreviadas para usar en las respuestas a RFP. Cada fila tiene una URL corta y la URL original. Haga clic en la copia y la URL corta se agregará a su portapapeles.",PT_BR:"Esta página fornece uma coleção de URLs abreviados para uso em respostas de RFP. Cada linha possui um URL curto e o URL original. Clique na cópia ícone e o URL curto serão adicionados à sua área de transferência.",DE:"Diese Seite bietet eine Sammlung verkürzter URLs zur Verwendung in RFP-Antworten. Jede Zeile enthält eine Kurz-URL und die Original-URL. Klicken Sie auf die Kopie-Symbol und die Kurz-URL wird Ihrer Zwischenablage hinzugefügt."},filters:{EN:"Filters",ES_LA:"Filtros",PT_BR:"Filtros",DE:"filter"},toggleShow:{EN:"Show filters",ES_LA:"Mostrar filtros",PT_BR:"Mostrar filtros",DE:"Filter anzeigen"},toggleHide:{EN:"Hide filters",ES_LA:"Ocultar filtros",PT_BR:"Ocultar filtros",DE:"Filter ausblenden"},search:{EN:"Search",ES_LA:"Buscar",PT_BR:"Procurar",DE:"Suche"},clearSearch:{EN:"Clear search",ES_LA:"Borrar búsqueda",PT_BR:"Limpar pesquisa",DE:"Suche löschen"},placeholder:{EN:"community",ES_LA:"comunidad",PT_BR:"comunidade",DE:"Gemeinschaft"},brands:{EN:"Brands",ES_LA:"Marcas",PT_BR:"Marcas",DE:"Marken"},products:{EN:"Products",ES_LA:"Productos",PT_BR:"Produtos",DE:"Produkte"},language:{EN:"Language",ES_LA:"Idioma",PT_BR:"Idioma",DE:"Sprache"},title:{EN:"Title",ES_LA:"Título",PT_BR:"Título",DE:"Titel"},link:{EN:"Link",ES_LA:"Enlace",PT_BR:"Link",DE:"Link"},copy:{EN:"Copy",ES_LA:"Copiar",PT_BR:"Copiar",DE:"Kopieren"},copy_url:{EN:"Copy URL to clipboard",ES_LA:"Copiar URL al portapapeles",PT_BR:"Copiar URL para a área de transferência",DE:"Kopieren Sie die URL in die Zwischenablage"},copy_error:{EN:"Error copying to clipboard",ES_LA:"Error al copiar al portapapeles",PT_BR:"Erro ao copiar para a área de transferência",DE:"Fehler beim Kopieren in die Zwischenablage"}};function pe(){const i=J(Q().language),n=X(ue,i),m=G.url.replace("https://",""),[p,U]=o.useState({expanded:!1,text:n.toggleShow}),B=()=>{const a=p.expanded?n.toggleShow:n.toggleHide;U({expanded:!p.expanded,text:a})},[u,_]=o.useState(""),P=(a,r)=>{_(r),h(x,r,j,L)},D=a=>{a.stopPropagation(),P(a,"")},N=()=>u.search.length?e.jsx(w,{type:"button",size:"small",withBackground:!1,withBorder:!1,screenReaderLabel:n.clearSearch,onClick:D,children:e.jsx(te,{})}):null,[x,F]=o.useState([i]),I=(a,r)=>{const l=[];r==="all"?(l.push(...v),R(a,"all")):l.push(...v.filter(c=>c.toUpperCase().includes(r.toUpperCase()))),F(l),h(l,u,j,L)},[L,$]=o.useState("all"),[E,z]=o.useState(g),R=(a,r)=>{r==="all"||g.includes(r)?$(r):console.error(`Invalid value for setActiveProduct: ${r}`),h(x,u,j,r)},[T,H]=o.useState("all"),[j,K]=o.useState(C),V=(a,r)=>{const l=[];r==="all"?l.push("AWS",...C):l.push(...["AWS",...C].filter(c=>c.toLowerCase().includes(r.toLowerCase()))),H(r),K(l),R(a,"all"),z(l),h(x,u,l,"all")},[W,M]=o.useState({list:k.map(a=>({...a,links:a.links.filter(r=>r.lang.toUpperCase()===i)}))}),h=(a,r,l,c)=>{const O=k.map(s=>({...s,links:s.links.filter(S=>`${`${s.brand} ${S.title}`}`.toLowerCase().includes(r.toLowerCase())).filter(S=>a.includes(S.lang.toUpperCase()))})).filter(s=>s.links.length>0).filter(s=>l.includes(s.brand)).filter(s=>c!=="all"?s.brand===E[0]||s.brand===c:!0);M({list:O})};async function q(a){try{await navigator.clipboard.writeText(a)}catch(r){let l=n.copy_error;r instanceof Error?l=r.message:typeof r=="string"&&(l=r),console.error(l)}}return e.jsxs(e.Fragment,{children:[e.jsx(Y,{language:i}),e.jsxs(f,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[e.jsxs(f,{as:"div",margin:"none none x-large",children:[e.jsx(A,{level:"h1",children:n.header}),e.jsx(b,{as:"p",children:n.description}),e.jsx(ne,{onClick:B,children:p.text}),e.jsx(se,{id:"toggleFilters",summary:n.filters,onToggle:B,expanded:p.expanded,children:e.jsx(f,{as:"div",margin:"large none none",children:e.jsx("form",{name:"searchFilters",autoComplete:"off",children:e.jsxs(ie,{label:"",description:"",layout:"stacked",children:[e.jsx(ce,{type:"search",renderLabel:n.search,placeholder:n.placeholder,onChange:P,renderBeforeInput:e.jsx(de,{inline:!1}),renderAfterInput:N,value:u}),e.jsxs(y,{name:"brand",description:n.brands,defaultValue:"all",layout:"columns",variant:"toggle",onChange:V,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),["AWS",...g].map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),T!=="all"&&E.length>1&&e.jsxs(y,{name:"product",description:n.products,defaultValue:"all",layout:"columns",variant:"toggle",onChange:R,children:[e.jsx(d,{value:"all",label:"All",context:"off",id:"allProducts",checked:L==="all"},"all"),E.filter(a=>a!==T).map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),e.jsxs(y,{name:"language",description:n.language,defaultValue:i,layout:"columns",variant:"toggle",onChange:I,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),ee.map(a=>e.jsx(d,{value:a.code,label:a.local,context:"off"},a.code))]})]})})})})]}),W.list.map(a=>{if(a.links.length){const r=a.brand;return e.jsxs(f,{as:"div",margin:"none none xx-large",children:[e.jsx(A,{level:g.includes(r)?"h2":"h3",id:r,children:r}),e.jsxs(t,{hover:!0,caption:r,children:[e.jsx(t.Head,{children:e.jsxs(t.Row,{children:[e.jsx(t.ColHeader,{id:"Title",width:"25%",children:n.title}),e.jsx(t.ColHeader,{id:"URLs",children:n.link})]})}),e.jsx(t.Body,{children:a.links.map(l=>e.jsxs(t.Row,{children:[e.jsx(t.Cell,{children:e.jsx(b,{children:l.title})}),e.jsxs(t.Cell,{children:[e.jsx(ae,{href:`https://${m}${l.from}`,children:`${m}${l.from}`}),"  ",e.jsx(re,{renderTip:n.copy,on:["hover","focus"],placement:"top",color:"primary-inverse",children:e.jsx(w,{withBackground:!1,withBorder:!1,screenReaderLabel:n.copy_url,onClick:()=>{q(`https://${m}${l.from}`)},children:e.jsx(oe,{})})}),e.jsx("br",{}),e.jsx(b,{size:"small",color:"secondary",children:l.to.split("?")[0]})]})]},l.title))})]})]},r)}return null})]}),e.jsx(le,{language:i})]})}pe.displayName="Route.Links";function he(){const i=o.lazy(()=>Z(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([0,1,2,3,4])).then(n=>({default:n.Component})));return e.jsx(o.Suspense,{fallback:e.jsx("h1",{children:"Error."}),children:e.jsx(i,{})})}he.displayName="Error.Links";export{pe as Component,he as ErrorBoundary}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-D4hOwfkO.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BU6CM6-K.js"])))=>i.map(i=>d[i]); +import{a as Q,r as o,d as g,e as C,L as k,j as e,V as f,_ as Z,g as G}from"./index-Bko_xNHh.js";import{a as J,g as X,R as Y,H as A,T as b,d as ee,L as ae,e as re,b as le,f as v}from"./RenderTopNavBar-C6YLj6sY.js";import{B as ne,T as se,R as y,a as d,I as oe,b as te}from"./index-BMjzoizO.js";import{F as ie,T as ce,a as t}from"./index-C29H8B_2.js";import{I as de,a as w}from"./index-XoI2c9b1.js";const ue={header:{EN:"Redirect Links",ES_LA:"Enlaces de Redirección",PT_BR:"Links de Redirecionamento",DE:"Weiterleitungslinks"},description:{EN:"This page provides a collection of shortened URLs for use in RFP responses. Each row has a short URL and the original URL. Click on the copy icon and the short URL will be added to your clipboard.",ES_LA:"Esta página proporciona una colección de URL abreviadas para usar en las respuestas a RFP. Cada fila tiene una URL corta y la URL original. Haga clic en la copia y la URL corta se agregará a su portapapeles.",PT_BR:"Esta página fornece uma coleção de URLs abreviados para uso em respostas de RFP. Cada linha possui um URL curto e o URL original. Clique na cópia ícone e o URL curto serão adicionados à sua área de transferência.",DE:"Diese Seite bietet eine Sammlung verkürzter URLs zur Verwendung in RFP-Antworten. Jede Zeile enthält eine Kurz-URL und die Original-URL. Klicken Sie auf die Kopie-Symbol und die Kurz-URL wird Ihrer Zwischenablage hinzugefügt."},filters:{EN:"Filters",ES_LA:"Filtros",PT_BR:"Filtros",DE:"filter"},toggleShow:{EN:"Show filters",ES_LA:"Mostrar filtros",PT_BR:"Mostrar filtros",DE:"Filter anzeigen"},toggleHide:{EN:"Hide filters",ES_LA:"Ocultar filtros",PT_BR:"Ocultar filtros",DE:"Filter ausblenden"},search:{EN:"Search",ES_LA:"Buscar",PT_BR:"Procurar",DE:"Suche"},clearSearch:{EN:"Clear search",ES_LA:"Borrar búsqueda",PT_BR:"Limpar pesquisa",DE:"Suche löschen"},placeholder:{EN:"community",ES_LA:"comunidad",PT_BR:"comunidade",DE:"Gemeinschaft"},brands:{EN:"Brands",ES_LA:"Marcas",PT_BR:"Marcas",DE:"Marken"},products:{EN:"Products",ES_LA:"Productos",PT_BR:"Produtos",DE:"Produkte"},language:{EN:"Language",ES_LA:"Idioma",PT_BR:"Idioma",DE:"Sprache"},title:{EN:"Title",ES_LA:"Título",PT_BR:"Título",DE:"Titel"},link:{EN:"Link",ES_LA:"Enlace",PT_BR:"Link",DE:"Link"},copy:{EN:"Copy",ES_LA:"Copiar",PT_BR:"Copiar",DE:"Kopieren"},copy_url:{EN:"Copy URL to clipboard",ES_LA:"Copiar URL al portapapeles",PT_BR:"Copiar URL para a área de transferência",DE:"Kopieren Sie die URL in die Zwischenablage"},copy_error:{EN:"Error copying to clipboard",ES_LA:"Error al copiar al portapapeles",PT_BR:"Erro ao copiar para a área de transferência",DE:"Fehler beim Kopieren in die Zwischenablage"}};function pe(){const i=J(Q().language),n=X(ue,i),m=G.url.replace("https://",""),[p,U]=o.useState({expanded:!1,text:n.toggleShow}),B=()=>{const a=p.expanded?n.toggleShow:n.toggleHide;U({expanded:!p.expanded,text:a})},[u,_]=o.useState(""),P=(a,r)=>{_(r),h(x,r,j,L)},D=a=>{a.stopPropagation(),P(a,"")},N=()=>u.search.length?e.jsx(w,{type:"button",size:"small",withBackground:!1,withBorder:!1,screenReaderLabel:n.clearSearch,onClick:D,children:e.jsx(te,{})}):null,[x,F]=o.useState([i]),I=(a,r)=>{const l=[];r==="all"?(l.push(...v),R(a,"all")):l.push(...v.filter(c=>c.toUpperCase().includes(r.toUpperCase()))),F(l),h(l,u,j,L)},[L,$]=o.useState("all"),[E,z]=o.useState(g),R=(a,r)=>{r==="all"||g.includes(r)?$(r):console.error(`Invalid value for setActiveProduct: ${r}`),h(x,u,j,r)},[T,H]=o.useState("all"),[j,K]=o.useState(C),V=(a,r)=>{const l=[];r==="all"?l.push("AWS",...C):l.push(...["AWS",...C].filter(c=>c.toLowerCase().includes(r.toLowerCase()))),H(r),K(l),R(a,"all"),z(l),h(x,u,l,"all")},[W,M]=o.useState({list:k.map(a=>({...a,links:a.links.filter(r=>r.lang.toUpperCase()===i)}))}),h=(a,r,l,c)=>{const O=k.map(s=>({...s,links:s.links.filter(S=>`${`${s.brand} ${S.title}`}`.toLowerCase().includes(r.toLowerCase())).filter(S=>a.includes(S.lang.toUpperCase()))})).filter(s=>s.links.length>0).filter(s=>l.includes(s.brand)).filter(s=>c!=="all"?s.brand===E[0]||s.brand===c:!0);M({list:O})};async function q(a){try{await navigator.clipboard.writeText(a)}catch(r){let l=n.copy_error;r instanceof Error?l=r.message:typeof r=="string"&&(l=r),console.error(l)}}return e.jsxs(e.Fragment,{children:[e.jsx(Y,{language:i}),e.jsxs(f,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[e.jsxs(f,{as:"div",margin:"none none x-large",children:[e.jsx(A,{level:"h1",children:n.header}),e.jsx(b,{as:"p",children:n.description}),e.jsx(ne,{onClick:B,children:p.text}),e.jsx(se,{id:"toggleFilters",summary:n.filters,onToggle:B,expanded:p.expanded,children:e.jsx(f,{as:"div",margin:"large none none",children:e.jsx("form",{name:"searchFilters",autoComplete:"off",children:e.jsxs(ie,{label:"",description:"",layout:"stacked",children:[e.jsx(ce,{type:"search",renderLabel:n.search,placeholder:n.placeholder,onChange:P,renderBeforeInput:e.jsx(de,{inline:!1}),renderAfterInput:N,value:u}),e.jsxs(y,{name:"brand",description:n.brands,defaultValue:"all",layout:"columns",variant:"toggle",onChange:V,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),["AWS",...g].map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),T!=="all"&&E.length>1&&e.jsxs(y,{name:"product",description:n.products,defaultValue:"all",layout:"columns",variant:"toggle",onChange:R,children:[e.jsx(d,{value:"all",label:"All",context:"off",id:"allProducts",checked:L==="all"},"all"),E.filter(a=>a!==T).map(a=>e.jsx(d,{value:a,label:a,context:"off"},a))]}),e.jsxs(y,{name:"language",description:n.language,defaultValue:i,layout:"columns",variant:"toggle",onChange:I,children:[e.jsx(d,{value:"all",label:"All",context:"off"},"all"),ee.map(a=>e.jsx(d,{value:a.code,label:a.local,context:"off"},a.code))]})]})})})})]}),W.list.map(a=>{if(a.links.length){const r=a.brand;return e.jsxs(f,{as:"div",margin:"none none xx-large",children:[e.jsx(A,{level:g.includes(r)?"h2":"h3",id:r,children:r}),e.jsxs(t,{hover:!0,caption:r,children:[e.jsx(t.Head,{children:e.jsxs(t.Row,{children:[e.jsx(t.ColHeader,{id:"Title",width:"25%",children:n.title}),e.jsx(t.ColHeader,{id:"URLs",children:n.link})]})}),e.jsx(t.Body,{children:a.links.map(l=>e.jsxs(t.Row,{children:[e.jsx(t.Cell,{children:e.jsx(b,{children:l.title})}),e.jsxs(t.Cell,{children:[e.jsx(ae,{href:`https://${m}${l.from}`,children:`${m}${l.from}`}),"  ",e.jsx(re,{renderTip:n.copy,on:["hover","focus"],placement:"top",color:"primary-inverse",children:e.jsx(w,{withBackground:!1,withBorder:!1,screenReaderLabel:n.copy_url,onClick:()=>{q(`https://${m}${l.from}`)},children:e.jsx(oe,{})})}),e.jsx("br",{}),e.jsx(b,{size:"small",color:"secondary",children:l.to.split("?")[0]})]})]},l.title))})]})]},r)}return null})]}),e.jsx(le,{language:i})]})}pe.displayName="Route.Links";function he(){const i=o.lazy(()=>Z(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([0,1,2,3,4])).then(n=>({default:n.Component})));return e.jsx(o.Suspense,{fallback:e.jsx("h1",{children:"Error."}),children:e.jsx(i,{})})}he.displayName="Error.Links";export{pe as Component,he as ErrorBoundary}; diff --git a/assets/markdownBrand-2KNU9Bj1.js b/assets/markdownBrand-2KNU9Bj1.js new file mode 100644 index 0000000..9ccedbc --- /dev/null +++ b/assets/markdownBrand-2KNU9Bj1.js @@ -0,0 +1,9 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-D4hOwfkO.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BU6CM6-K.js"])))=>i.map(i=>d[i]); +import{g as T,r as g,j as m,u as F,a as H,b as q,_ as K,V as D}from"./index-Bko_xNHh.js";import{g as N,c as v,a as J,R as Q,b as X}from"./RenderTopNavBar-C6YLj6sY.js";import{r as I,a as O,b as G,M as U,c as M,d as V}from"./Mdtoui-De8g0Gj_.js";import"./index-C29H8B_2.js";const W={fetch_fail:{EN:"Didn't fetch text correctly.",ES_LA:"No se obtuvo el texto correctamente.",PT_BR:"Não buscou o texto corretamente.",DE:"Text nicht korrekt abgerufen."},download:{EN:"Download",ES_LA:"Descargar",PT_BR:"Baixar",DE:"Herunterladen"},explore:{EN:"Explore",ES_LA:"Explorar",PT_BR:"Explorar",DE:"Erkunden"},error:{EN:"An error occurred fetching package contents.",ES_LA:"Ocurrió un error al obtener el contenido del paquete.",PT_BR:"Ocorreu um erro ao buscar o conteúdo do pacote.",DE:"Beim Abrufen des Paketinhalts ist ein Fehler aufgetreten."}};var C={VITE_APP_VERSION:"4.4.2+1721144689",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function Y(e,t,r){const c=`${T.api}/repos/${e}/${t}/git/trees/${r}?recursive=1`;try{const s=await(await fetch(c,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:C!=null&&C.GITHUB_TOKEN?`token ${C.GITHUB_TOKEN}`:""}})).json();return{...s,tree:s.tree.sort(Z)}}catch(n){n instanceof Error?console.error(`Error: ${n.message}`):console.error(`An unexpected error occurred: ${n}`)}}function Z(e,t){const r=o=>{const l=o.toLocaleUpperCase(),u=c.findIndex(a=>l.startsWith(a.toLocaleUpperCase()));return u!==-1?u:c.length},c=["Google Cloud Platform","Amazon Web Services","Instructure"],n=r(e.path),s=r(t.path);return n!==s?s-n:e.path.localeCompare(t.path)}function ee(e,t,r,c,n){var p;const o=N(W,n),l=e.tree.filter(i=>i.type==="tree"),u=e.tree.filter(i=>i.type==="blob").filter(i=>i.path!==".gitignore");let a=`
+ 🕵️ ${o.explore}\r +\r +`;for(const[i,d]of l.entries()){a+=`| ${d.path} |\r +| ---------------- |`;for(const f of u)d!=null&&d.path&&((p=f==null?void 0:f.path)!=null&&p.startsWith(d.path))&&(a+=`\r +| [${f.path.replace(`${d.path}/`,"")}](${encodeURI(`${T.raw}/${t}/${r}/${c}/${f.path}`)}) |`);i~l.indexOf(e)).toString();if(o){const l=await Y(n,s,o);if(l)return ee(l,n,s,o,c)}return null}const re=e=>{const t=v.c(9),{brand:r,branch:c,l:n}=e,[s,o]=g.useState(null);let l,u;t[0]!==r||t[1]!==c||t[2]!==n?(l=()=>{te(r.toLowerCase().replace(/\s/g,"-"),c,n).then(d=>o(d)).catch(d=>console.error(d))},u=[r,c,n],t[0]=r,t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),g.useEffect(l,u);let a;t[5]===Symbol.for("react.memo_cache_sentinel")?(a=[I,O],t[5]=a):a=t[5];let p;t[6]===Symbol.for("react.memo_cache_sentinel")?(p=[G],t[6]=p):p=t[6];let i;return t[7]!==s?(i=m.jsx(U,{remarkPlugins:a,rehypePlugins:p,allowedElements:M,components:V,children:s}),t[7]=s,t[8]=i):i=t[8],i};function oe(){const e=v.c(39),{readme:t,brand:r}=F(),c=H().language;let n,s,o;e[0]!==c?(o=J(c),s=N(W,o),n=o.toUpperCase(),e[0]=c,e[1]=n,e[2]=s,e[3]=o):(n=e[1],s=e[2],o=e[3]);const l=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,u=t,[a,p]=g.useState("Loading..."),[i,d]=g.useState(!1);let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[4]=f):f=e[4];const[$,z]=g.useState(f);let R;e[5]!==r||e[6]!==u||e[7]!==s.fetch_fail?(R=()=>{document.title=`${r} Compliance Packages`,fetch(u).then(h=>h.ok?h.text():Promise.reject(s.fetch_fail)).then(h=>{p(h)}).catch(h=>console.error(h))},e[5]=r,e[6]=u,e[7]=s.fetch_fail,e[8]=R):R=e[8],g.useEffect(R);let k,w;e[9]!==a?(k=()=>{a&&(z(Array.from(document.querySelectorAll(".contents"))),d(!0))},w=[a],e[9]=a,e[10]=k,e[11]=w):(k=e[10],w=e[11]),g.useEffect(k,w);let E;e[12]!==i||e[13]!==$||e[14]!==r||e[15]!==o?(E=i&&($==null?void 0:$.map(h=>q.createPortal(m.jsx(re,{brand:r,branch:h,l:o}),h))),e[12]=i,e[13]=$,e[14]=r,e[15]=o,e[16]=E):E=e[16];let x;e[17]!==r||e[18]!==o?(x=m.jsx(Q,{brand:r,language:o}),e[17]=r,e[18]=o,e[19]=x):x=e[19];let _;e[20]!==l?(_=m.jsx("style",{children:l}),e[20]=l,e[21]=_):_=e[21];const L=`${r.toLowerCase().replace(/\s/g,"-")} markdown`;let j;e[22]===Symbol.for("react.memo_cache_sentinel")?(j=[I,O],e[22]=j):j=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=[G],e[23]=A):A=e[23];let y;e[24]!==a?(y=m.jsx(U,{remarkPlugins:j,rehypePlugins:A,allowedElements:M,components:V,children:a}),e[24]=a,e[25]=y):y=e[25];let b;e[26]!==L||e[27]!==y?(b=m.jsx(D,{as:"div",className:L,children:y}),e[26]=L,e[27]=y,e[28]=b):b=e[28];let P;e[29]!==_||e[30]!==b?(P=m.jsxs(D,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[_,b]}),e[29]=_,e[30]=b,e[31]=P):P=e[31];let S;e[32]!==o?(S=m.jsx(X,{language:o}),e[32]=o,e[33]=S):S=e[33];let B;return e[34]!==E||e[35]!==x||e[36]!==P||e[37]!==S?(B=m.jsxs(m.Fragment,{children:[E,x,P,S]}),e[34]=E,e[35]=x,e[36]=P,e[37]=S,e[38]=B):B=e[38],B}oe.displayName="Route.MarkdownBrand";function ne(){const e=g.lazy(()=>K(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([0,1,2,3,4])).then(t=>({default:t.Component})));return m.jsx(g.Suspense,{fallback:m.jsx("h1",{children:"Error."}),children:m.jsx(e,{})})}ne.displayName="Error.MarkdownBrand";export{oe as Component,ne as ErrorBoundary}; diff --git a/assets/markdownBrand-CS81ixp3.js b/assets/markdownBrand-CS81ixp3.js deleted file mode 100644 index 38eb2d1..0000000 --- a/assets/markdownBrand-CS81ixp3.js +++ /dev/null @@ -1,9 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DeRkl5Z2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-BGFQHV-c.js"])))=>i.map(i=>d[i]); -import{g as C,r as g,j as m,u as F,a as H,b as q,_ as K,V as D}from"./index-D4PUjdd4.js";import{g as N,c as v,a as J,R as Q,b as X}from"./RenderTopNavBar-CJuzk9-4.js";import{r as I,a as O,b as U,M as G,c as M,d as V}from"./Mdtoui-Bwh6I7pz.js";import"./index-DrEKPqe2.js";const W={fetch_fail:{EN:"Didn't fetch text correctly.",ES_LA:"No se obtuvo el texto correctamente.",PT_BR:"Não buscou o texto corretamente.",DE:"Text nicht korrekt abgerufen."},download:{EN:"Download",ES_LA:"Descargar",PT_BR:"Baixar",DE:"Herunterladen"},explore:{EN:"Explore",ES_LA:"Explorar",PT_BR:"Explorar",DE:"Erkunden"},error:{EN:"An error occurred fetching package contents.",ES_LA:"Ocurrió un error al obtener el contenido del paquete.",PT_BR:"Ocorreu um erro ao buscar o conteúdo do pacote.",DE:"Beim Abrufen des Paketinhalts ist ein Fehler aufgetreten."}};var T={VITE_APP_VERSION:"4.4.1+1720644913",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function Y(e,t,r){const c=`${C.api}/repos/${e}/${t}/git/trees/${r}?recursive=1`;try{const s=await(await fetch(c,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:T!=null&&T.GITHUB_TOKEN?`token ${T.GITHUB_TOKEN}`:""}})).json();return{...s,tree:s.tree.sort(Z)}}catch(n){n instanceof Error?console.error(`Error: ${n.message}`):console.error(`An unexpected error occurred: ${n}`)}}function Z(e,t){const r=o=>{const l=o.toLocaleUpperCase(),u=c.findIndex(a=>l.startsWith(a.toLocaleUpperCase()));return u!==-1?u:c.length},c=["Amazon Web Services","Instructure"],n=r(e.path),s=r(t.path);return n!==s?s-n:e.path.localeCompare(t.path)}function ee(e,t,r,c,n){var p;const o=N(W,n),l=e.tree.filter(i=>i.type==="tree"),u=e.tree.filter(i=>i.type==="blob").filter(i=>i.path!==".gitignore");let a=`
- 🕵️ ${o.explore}\r -\r -`;for(const[i,d]of l.entries()){a+=`| ${d.path} |\r -| ---------------- |`;for(const f of u)d!=null&&d.path&&((p=f==null?void 0:f.path)!=null&&p.startsWith(d.path))&&(a+=`\r -| [${f.path.replace(`${d.path}/`,"")}](${encodeURI(`${C.raw}/${t}/${r}/${c}/${f.path}`)}) |`);i~l.indexOf(e)).toString();if(o){const l=await Y(n,s,o);if(l)return ee(l,n,s,o,c)}return null}const re=e=>{const t=v.c(9),{brand:r,branch:c,l:n}=e,[s,o]=g.useState(null);let l,u;t[0]!==r||t[1]!==c||t[2]!==n?(l=()=>{te(r.toLowerCase().replace(" ","-"),c,n).then(d=>o(d)).catch(d=>console.error(d))},u=[r,c,n],t[0]=r,t[1]=c,t[2]=n,t[3]=l,t[4]=u):(l=t[3],u=t[4]),g.useEffect(l,u);let a;t[5]===Symbol.for("react.memo_cache_sentinel")?(a=[I,O],t[5]=a):a=t[5];let p;t[6]===Symbol.for("react.memo_cache_sentinel")?(p=[U],t[6]=p):p=t[6];let i;return t[7]!==s?(i=m.jsx(G,{remarkPlugins:a,rehypePlugins:p,allowedElements:M,components:V,children:s}),t[7]=s,t[8]=i):i=t[8],i};function oe(){const e=v.c(39),{readme:t,brand:r}=F(),c=H().language;let n,s,o;e[0]!==c?(o=J(c),s=N(W,o),n=o.toUpperCase(),e[0]=c,e[1]=n,e[2]=s,e[3]=o):(n=e[1],s=e[2],o=e[3]);const l=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,u=t,[a,p]=g.useState("Loading..."),[i,d]=g.useState(!1);let f;e[4]===Symbol.for("react.memo_cache_sentinel")?(f=[],e[4]=f):f=e[4];const[$,z]=g.useState(f);let R;e[5]!==r||e[6]!==u||e[7]!==s.fetch_fail?(R=()=>{document.title=`${r} Compliance Packages`,fetch(u).then(h=>h.ok?h.text():Promise.reject(s.fetch_fail)).then(h=>{p(h)}).catch(h=>console.error(h))},e[5]=r,e[6]=u,e[7]=s.fetch_fail,e[8]=R):R=e[8],g.useEffect(R);let k,w;e[9]!==a?(k=()=>{a&&(z(Array.from(document.querySelectorAll(".contents"))),d(!0))},w=[a],e[9]=a,e[10]=k,e[11]=w):(k=e[10],w=e[11]),g.useEffect(k,w);let E;e[12]!==i||e[13]!==$||e[14]!==r||e[15]!==o?(E=i&&($==null?void 0:$.map(h=>q.createPortal(m.jsx(re,{brand:r,branch:h,l:o}),h))),e[12]=i,e[13]=$,e[14]=r,e[15]=o,e[16]=E):E=e[16];let x;e[17]!==r||e[18]!==o?(x=m.jsx(Q,{brand:r,language:o}),e[17]=r,e[18]=o,e[19]=x):x=e[19];let _;e[20]!==l?(_=m.jsx("style",{children:l}),e[20]=l,e[21]=_):_=e[21];const L=`${r.toLowerCase().replace(" ","-")} markdown`;let j;e[22]===Symbol.for("react.memo_cache_sentinel")?(j=[I,O],e[22]=j):j=e[22];let A;e[23]===Symbol.for("react.memo_cache_sentinel")?(A=[U],e[23]=A):A=e[23];let y;e[24]!==a?(y=m.jsx(G,{remarkPlugins:j,rehypePlugins:A,allowedElements:M,components:V,children:a}),e[24]=a,e[25]=y):y=e[25];let b;e[26]!==L||e[27]!==y?(b=m.jsx(D,{as:"div",className:L,children:y}),e[26]=L,e[27]=y,e[28]=b):b=e[28];let S;e[29]!==_||e[30]!==b?(S=m.jsxs(D,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[_,b]}),e[29]=_,e[30]=b,e[31]=S):S=e[31];let P;e[32]!==o?(P=m.jsx(X,{language:o}),e[32]=o,e[33]=P):P=e[33];let B;return e[34]!==E||e[35]!==x||e[36]!==S||e[37]!==P?(B=m.jsxs(m.Fragment,{children:[E,x,S,P]}),e[34]=E,e[35]=x,e[36]=S,e[37]=P,e[38]=B):B=e[38],B}oe.displayName="Route.MarkdownBrand";function ne(){const e=g.lazy(()=>K(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([0,1,2,3,4])).then(t=>({default:t.Component})));return m.jsx(g.Suspense,{fallback:m.jsx("h1",{children:"Error."}),children:m.jsx(e,{})})}ne.displayName="Error.MarkdownBrand";export{oe as Component,ne as ErrorBoundary}; diff --git a/assets/mdui-DYel0-BB.js b/assets/mdui-gpddUef8.js similarity index 92% rename from assets/mdui-DYel0-BB.js rename to assets/mdui-gpddUef8.js index 075b5b1..02710d2 100644 --- a/assets/mdui-DYel0-BB.js +++ b/assets/mdui-gpddUef8.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DeRkl5Z2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-BGFQHV-c.js"])))=>i.map(i=>d[i]); -import{a as T,r as m,j as n,V as C,_ as v}from"./index-D4PUjdd4.js";import{c as S,a as A,g as R,R as N,b as M}from"./RenderTopNavBar-CJuzk9-4.js";import{M as I,c as L,d as P,r as B,a as H,b as G}from"./Mdtoui-Bwh6I7pz.js";import{G as w}from"./index-DrEKPqe2.js";import{S as D}from"./index-CyJKhc9Y.js";import"./index-B30b3Gjx.js";const U={loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},markdown_source:{EN:"Markdown Source",ES_LA:"Fuente de Markdown",PT_BR:"Fonte de Markdown",DE:"Markdown-Quelle"},try_editor:{EN:"Try editing the markdown below.",ES_LA:"Intenta editar el markdown abajo.",PT_BR:"Tente editar o markdown abaixo.",DE:"Versuche den Markdown unten zu bearbeiten."},close:{EN:"Close",ES_LA:"Cerrar",PT_BR:"Fechar",DE:"Schließen"}},x=`# Markdown to Instructure UI +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-D4hOwfkO.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BU6CM6-K.js"])))=>i.map(i=>d[i]); +import{a as T,r as m,j as n,V as C,_ as v}from"./index-Bko_xNHh.js";import{c as S,a as A,g as R,R as N,b as M}from"./RenderTopNavBar-C6YLj6sY.js";import{M as I,c as L,d as P,r as B,a as H,b as G}from"./Mdtoui-De8g0Gj_.js";import{G as w}from"./index-C29H8B_2.js";import{S as D}from"./index-DFC9d6f5.js";import"./index-XoI2c9b1.js";const U={loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},markdown_source:{EN:"Markdown Source",ES_LA:"Fuente de Markdown",PT_BR:"Fonte de Markdown",DE:"Markdown-Quelle"},try_editor:{EN:"Try editing the markdown below.",ES_LA:"Intenta editar el markdown abajo.",PT_BR:"Tente editar o markdown abaixo.",DE:"Versuche den Markdown unten zu bearbeiten."},close:{EN:"Close",ES_LA:"Cerrar",PT_BR:"Fechar",DE:"Schließen"}},x=`# Markdown to Instructure UI > [!NOTE] > Try editing the markdown on this page. @@ -118,4 +118,4 @@ Text style: *italic* **bold** ~struck~ **Bacon** ipsum dolor amet beef ribs porchetta shank prosciutto burgdoggen sirloin pork belly pancetta picanha drumstick shoulder meatloaf. Sausage ground round flank shank venison, turducken frankfurter sirloin landjaeger jerky bresaola swine picanha. Buffalo shank short ribs rump swine tail, meatloaf capicola venison pork loin cupim. Buffalo spare ribs ribeye sausage. Ground round porchetta cow, landjaeger pork belly jowl picanha salami. Pork belly pancetta spare ribs swine t-bone, meatloaf bresaola kielbasa pastrami burgdoggen turkey sausage ham hock. Ribeye shank tenderloin beef ribs tail venison drumstick tongue pastrami. -Shank spare ribs sausage landjaeger strip steak jerky, fatback salami tenderloin ball tip pastrami pork. Meatball tri-tip ham tongue, beef ribs chuck boudin short ribs pork burgdoggen spare ribs shankle bacon picanha. Burgdoggen pork meatball boudin venison tenderloin tail pork loin short loin chicken. Salami pork loin shankle bresaola, ground round pork pork belly beef ribs flank tongue biltong pastrami cow. Hamburger cupim sausage tri-tip. Ham rump shoulder, ground round sausage flank hamburger spare ribs picanha bacon chuck strip steak.`;function F(){const e=S.c(25),d=T().language;let c,t;e[0]!==d?(t=A(d),c=R(U,t),e[0]=d,e[1]=c,e[2]=t):(c=e[1],t=e[2]);const _=c;let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{document.title="Markdown to Instructure UI"},e[3]=u):u=e[3],m.useEffect(u);const[a,j]=m.useState(`${_.loading}`);let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{j(x)},e[4]=g):g=e[4];let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=[x],e[5]=h):h=e[5],m.useEffect(g,h);let r;e[6]!==t?(r=n.jsx(N,{language:t}),e[6]=t,e[7]=r):r=e[7];let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b=[B,H],e[8]=b):b=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=[G],e[9]=p):p=e[9];let o;e[10]!==a?(o=n.jsx(w.Col,{children:n.jsx(I,{remarkPlugins:b,rehypePlugins:p,allowedElements:L,components:P,children:a})}),e[10]=a,e[11]=o):o=e[11];const y=`${_.markdown_source}`;let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=E=>{j(E)},e[12]=f):f=e[12];let i;e[13]!==y||e[14]!==a?(i=n.jsx(w.Col,{children:n.jsx(D,{label:y,language:"markdown",readOnly:!1,editable:!0,lineNumbers:!0,foldGutter:!0,highlightActiveLineGutter:!0,highlightActiveLine:!0,lineWrapping:!0,value:a,onChange:f})}),e[13]=y,e[14]=a,e[15]=i):i=e[15];let s;e[16]!==o||e[17]!==i?(s=n.jsx(C,{id:"main",className:"mdui",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"100vw",margin:"0 auto",children:n.jsx(w,{startAt:"large",children:n.jsxs(w.Row,{children:[o,i]})})}),e[16]=o,e[17]=i,e[18]=s):s=e[18];let l;e[19]!==t?(l=n.jsx(M,{language:t}),e[19]=t,e[20]=l):l=e[20];let k;return e[21]!==r||e[22]!==s||e[23]!==l?(k=n.jsxs(n.Fragment,{children:[r,s,l]}),e[21]=r,e[22]=s,e[23]=l,e[24]=k):k=e[24],k}F.displayName="Route.MDUI";function O(){const e=m.lazy(()=>v(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([0,1,2,3,4])).then(d=>({default:d.Component})));return n.jsx(m.Suspense,{fallback:n.jsx("h1",{children:"Error."}),children:n.jsx(e,{})})}O.displayName="Error.Releases";export{F as Component,O as ErrorBoundary}; +Shank spare ribs sausage landjaeger strip steak jerky, fatback salami tenderloin ball tip pastrami pork. Meatball tri-tip ham tongue, beef ribs chuck boudin short ribs pork burgdoggen spare ribs shankle bacon picanha. Burgdoggen pork meatball boudin venison tenderloin tail pork loin short loin chicken. Salami pork loin shankle bresaola, ground round pork pork belly beef ribs flank tongue biltong pastrami cow. Hamburger cupim sausage tri-tip. Ham rump shoulder, ground round sausage flank hamburger spare ribs picanha bacon chuck strip steak.`;function F(){const e=S.c(25),d=T().language;let c,t;e[0]!==d?(t=A(d),c=R(U,t),e[0]=d,e[1]=c,e[2]=t):(c=e[1],t=e[2]);const _=c;let u;e[3]===Symbol.for("react.memo_cache_sentinel")?(u=()=>{document.title="Markdown to Instructure UI"},e[3]=u):u=e[3],m.useEffect(u);const[a,j]=m.useState(`${_.loading}`);let g;e[4]===Symbol.for("react.memo_cache_sentinel")?(g=()=>{j(x)},e[4]=g):g=e[4];let h;e[5]===Symbol.for("react.memo_cache_sentinel")?(h=[x],e[5]=h):h=e[5],m.useEffect(g,h);let r;e[6]!==t?(r=n.jsx(N,{language:t}),e[6]=t,e[7]=r):r=e[7];let b;e[8]===Symbol.for("react.memo_cache_sentinel")?(b=[B,H],e[8]=b):b=e[8];let p;e[9]===Symbol.for("react.memo_cache_sentinel")?(p=[G],e[9]=p):p=e[9];let o;e[10]!==a?(o=n.jsx(w.Col,{children:n.jsx(I,{remarkPlugins:b,rehypePlugins:p,allowedElements:L,components:P,children:a})}),e[10]=a,e[11]=o):o=e[11];const y=`${_.markdown_source}`;let f;e[12]===Symbol.for("react.memo_cache_sentinel")?(f=E=>{j(E)},e[12]=f):f=e[12];let i;e[13]!==y||e[14]!==a?(i=n.jsx(w.Col,{children:n.jsx(D,{label:y,language:"markdown",readOnly:!1,editable:!0,lineNumbers:!0,foldGutter:!0,highlightActiveLineGutter:!0,highlightActiveLine:!0,lineWrapping:!0,value:a,onChange:f})}),e[13]=y,e[14]=a,e[15]=i):i=e[15];let s;e[16]!==o||e[17]!==i?(s=n.jsx(C,{id:"main",className:"mdui",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"100vw",margin:"0 auto",children:n.jsx(w,{startAt:"large",children:n.jsxs(w.Row,{children:[o,i]})})}),e[16]=o,e[17]=i,e[18]=s):s=e[18];let l;e[19]!==t?(l=n.jsx(M,{language:t}),e[19]=t,e[20]=l):l=e[20];let k;return e[21]!==r||e[22]!==s||e[23]!==l?(k=n.jsxs(n.Fragment,{children:[r,s,l]}),e[21]=r,e[22]=s,e[23]=l,e[24]=k):k=e[24],k}F.displayName="Route.MDUI";function O(){const e=m.lazy(()=>v(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([0,1,2,3,4])).then(d=>({default:d.Component})));return n.jsx(m.Suspense,{fallback:n.jsx("h1",{children:"Error."}),children:n.jsx(e,{})})}O.displayName="Error.Releases";export{F as Component,O as ErrorBoundary}; diff --git a/assets/redirectTo-CbhAz4iJ.js b/assets/redirectTo-AaFZn7xu.js similarity index 86% rename from assets/redirectTo-CbhAz4iJ.js rename to assets/redirectTo-AaFZn7xu.js index ef8fb6d..87d4d91 100644 --- a/assets/redirectTo-CbhAz4iJ.js +++ b/assets/redirectTo-AaFZn7xu.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DeRkl5Z2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-BGFQHV-c.js"])))=>i.map(i=>d[i]); -import{u as D,a as B,r as k,_ as L,j as o,V as y}from"./index-D4PUjdd4.js";import{c as N,a as P,g as S,T as j,L as T,R as A,b}from"./RenderTopNavBar-CJuzk9-4.js";import{B as v}from"./index-BGFQHV-c.js";const $={downloading:{EN:"Downloading",ES_LA:"Descargando",PT_BR:"Baixando",DE:"Herunterladen"},redirecting:{EN:"Redirecting",ES_LA:"Redirigiendo",PT_BR:"Redirecionando",DE:"Weiterleitung"},youre_downloading_the:{EN:"You're downloading the",ES_LA:"¡Estás descargando el paquete de cumplimiento de",PT_BR:"Você está baixando o pacote de conformidade do",DE:"Sie laden das"},youre_downloading_a:{EN:"You're downloading a document from the",ES_LA:"Estás descargando un documento del paquete de cumplimiento de",PT_BR:"Você está baixando um documento do pacote de conformidade do",DE:"Sie laden ein Dokument aus dem"},compliance_package:{EN:"compliance package!",ES_LA:"!",PT_BR:"!",DE:"-Compliance-Paket herunter!"},didnt_work:{EN:"Didn't work?",ES_LA:"¿No funcionó?",PT_BR:"Não funcionou?",DE:"Hat nicht funktioniert?"},try_again:{EN:"Try again",ES_LA:"Inténtalo de nuevo",PT_BR:"Tente novamente",DE:"Versuchen Sie es erneut"},redirecting_to:{EN:"Redirecting you to",ES_LA:"Redirigiéndote a",PT_BR:"Redirecionando você para",DE:"Weiterleitung zu"}};function V(){const e=N.c(32),{path:E,brand:s,url:i}=D(),h=B().language;let l,a;e[0]!==h?(a=P(h),l=S($,a),e[0]=h,e[1]=l,e[2]=a):(l=e[1],a=e[2]);const n=l;let c;e[3]!==i?(c=i.split("?"),e[3]=i,e[4]=c):c=e[4];const x=c[0];let u;e[5]!==i?(u=i.slice(-4),e[5]=i,e[6]=u):u=e[6];const f=u,g=E.slice(-3)==="/dl";let _;e[7]!==i?(_=()=>{window.location.href=i},e[7]=i,e[8]=_):_=e[8],k.useEffect(_);let m;e[9]!==g||e[10]!==f||e[11]!==n.youre_downloading_the||e[12]!==n.compliance_package||e[13]!==n.youre_downloading_a||e[14]!==n.didnt_work||e[15]!==n.try_again||e[16]!==n.redirecting_to||e[17]!==s||e[18]!==i||e[19]!==x?(m=()=>g?o.jsxs(y,{as:"div",children:[o.jsx(j,{children:f===".zip"?`${n.youre_downloading_the} ${s} ${n.compliance_package}`:`${n.youre_downloading_a} ${s} ${n.compliance_package}`}),o.jsx("br",{}),o.jsxs(j,{size:"x-small",children:[n.didnt_work," ",o.jsx(T,{href:i,children:n.try_again})]})]}):o.jsx(y,{as:"div",children:o.jsxs(j,{children:[n.redirecting_to," ",o.jsx(T,{href:i,children:x})]})}),e[9]=g,e[10]=f,e[11]=n.youre_downloading_the,e[12]=n.compliance_package,e[13]=n.youre_downloading_a,e[14]=n.didnt_work,e[15]=n.try_again,e[16]=n.redirecting_to,e[17]=s,e[18]=i,e[19]=x,e[20]=m):m=e[20];const R=m;let t;e[21]!==a?(t=o.jsx(A,{language:a}),e[21]=a,e[22]=t):t=e[22];const w=g?n.downloading:n.redirecting;let r;e[23]!==w||e[24]!==R?(r=o.jsx(y,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:o.jsx(v,{size:"medium",heading:w,headingAs:"h1",message:R})}),e[23]=w,e[24]=R,e[25]=r):r=e[25];let d;e[26]!==a?(d=o.jsx(b,{language:a}),e[26]=a,e[27]=d):d=e[27];let p;return e[28]!==t||e[29]!==r||e[30]!==d?(p=o.jsxs(o.Fragment,{children:[t,r,d]}),e[28]=t,e[29]=r,e[30]=d,e[31]=p):p=e[31],p}V.displayName="Route.Redirect";function z(){const e=k.lazy(()=>L(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([0,1,2,3,4])).then(E=>({default:E.Component})));return o.jsx(k.Suspense,{fallback:o.jsx("h1",{children:"Error."}),children:o.jsx(e,{})})}z.displayName="Error.Redirect";export{V as Component,z as ErrorBoundary}; +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-D4hOwfkO.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BU6CM6-K.js"])))=>i.map(i=>d[i]); +import{u as D,a as B,r as k,_ as L,j as o,V as y}from"./index-Bko_xNHh.js";import{c as N,a as P,g as S,T as j,L as T,R as A,b}from"./RenderTopNavBar-C6YLj6sY.js";import{B as v}from"./index-BU6CM6-K.js";const $={downloading:{EN:"Downloading",ES_LA:"Descargando",PT_BR:"Baixando",DE:"Herunterladen"},redirecting:{EN:"Redirecting",ES_LA:"Redirigiendo",PT_BR:"Redirecionando",DE:"Weiterleitung"},youre_downloading_the:{EN:"You're downloading the",ES_LA:"¡Estás descargando el paquete de cumplimiento de",PT_BR:"Você está baixando o pacote de conformidade do",DE:"Sie laden das"},youre_downloading_a:{EN:"You're downloading a document from the",ES_LA:"Estás descargando un documento del paquete de cumplimiento de",PT_BR:"Você está baixando um documento do pacote de conformidade do",DE:"Sie laden ein Dokument aus dem"},compliance_package:{EN:"compliance package!",ES_LA:"!",PT_BR:"!",DE:"-Compliance-Paket herunter!"},didnt_work:{EN:"Didn't work?",ES_LA:"¿No funcionó?",PT_BR:"Não funcionou?",DE:"Hat nicht funktioniert?"},try_again:{EN:"Try again",ES_LA:"Inténtalo de nuevo",PT_BR:"Tente novamente",DE:"Versuchen Sie es erneut"},redirecting_to:{EN:"Redirecting you to",ES_LA:"Redirigiéndote a",PT_BR:"Redirecionando você para",DE:"Weiterleitung zu"}};function V(){const e=N.c(32),{path:E,brand:s,url:i}=D(),h=B().language;let l,a;e[0]!==h?(a=P(h),l=S($,a),e[0]=h,e[1]=l,e[2]=a):(l=e[1],a=e[2]);const n=l;let c;e[3]!==i?(c=i.split("?"),e[3]=i,e[4]=c):c=e[4];const x=c[0];let u;e[5]!==i?(u=i.slice(-4),e[5]=i,e[6]=u):u=e[6];const f=u,g=E.slice(-3)==="/dl";let _;e[7]!==i?(_=()=>{window.location.href=i},e[7]=i,e[8]=_):_=e[8],k.useEffect(_);let m;e[9]!==g||e[10]!==f||e[11]!==n.youre_downloading_the||e[12]!==n.compliance_package||e[13]!==n.youre_downloading_a||e[14]!==n.didnt_work||e[15]!==n.try_again||e[16]!==n.redirecting_to||e[17]!==s||e[18]!==i||e[19]!==x?(m=()=>g?o.jsxs(y,{as:"div",children:[o.jsx(j,{children:f===".zip"?`${n.youre_downloading_the} ${s} ${n.compliance_package}`:`${n.youre_downloading_a} ${s} ${n.compliance_package}`}),o.jsx("br",{}),o.jsxs(j,{size:"x-small",children:[n.didnt_work," ",o.jsx(T,{href:i,children:n.try_again})]})]}):o.jsx(y,{as:"div",children:o.jsxs(j,{children:[n.redirecting_to," ",o.jsx(T,{href:i,children:x})]})}),e[9]=g,e[10]=f,e[11]=n.youre_downloading_the,e[12]=n.compliance_package,e[13]=n.youre_downloading_a,e[14]=n.didnt_work,e[15]=n.try_again,e[16]=n.redirecting_to,e[17]=s,e[18]=i,e[19]=x,e[20]=m):m=e[20];const R=m;let t;e[21]!==a?(t=o.jsx(A,{language:a}),e[21]=a,e[22]=t):t=e[22];const w=g?n.downloading:n.redirecting;let r;e[23]!==w||e[24]!==R?(r=o.jsx(y,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:o.jsx(v,{size:"medium",heading:w,headingAs:"h1",message:R})}),e[23]=w,e[24]=R,e[25]=r):r=e[25];let d;e[26]!==a?(d=o.jsx(b,{language:a}),e[26]=a,e[27]=d):d=e[27];let p;return e[28]!==t||e[29]!==r||e[30]!==d?(p=o.jsxs(o.Fragment,{children:[t,r,d]}),e[28]=t,e[29]=r,e[30]=d,e[31]=p):p=e[31],p}V.displayName="Route.Redirect";function z(){const e=k.lazy(()=>L(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([0,1,2,3,4])).then(E=>({default:E.Component})));return o.jsx(k.Suspense,{fallback:o.jsx("h1",{children:"Error."}),children:o.jsx(e,{})})}z.displayName="Error.Redirect";export{V as Component,z as ErrorBoundary}; diff --git a/assets/releases-3SohIBzz.js b/assets/releases-C1rwQ8gf.js similarity index 84% rename from assets/releases-3SohIBzz.js rename to assets/releases-C1rwQ8gf.js index 5e24408..1b89674 100644 --- a/assets/releases-3SohIBzz.js +++ b/assets/releases-C1rwQ8gf.js @@ -1,5 +1,5 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-DeRkl5Z2.js","assets/index-D4PUjdd4.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-CJuzk9-4.js","assets/index-BGFQHV-c.js"])))=>i.map(i=>d[i]); -import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-D4PUjdd4.js";import{c as L,a as A,g as I,H as N,R as V,L as v,b as D}from"./RenderTopNavBar-CJuzk9-4.js";import{r as B,a as G,b as O,M as C,c as U,d as H}from"./Mdtoui-Bwh6I7pz.js";import{I as M}from"./IconRssLine-CSAPFqUt.js";import"./index-DrEKPqe2.js";const W={releases:{EN:"Releases",ES_LA:"Versiones",PT_BR:"Lançamentos",DE:"Veröffentlichungen"},loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},subscribe:{EN:"Subscribe",ES_LA:"Suscríbete",PT_BR:"Inscreva-se",DE:"Abonnieren Sie"}};var R={VITE_APP_VERSION:"4.4.1+1720644913",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function z(e,r){const n=`${f.api}/repos/${e}/${r}/releases`;try{const a=await(await fetch(n,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:R!=null&&R.VITE_GITHUB_TOKEN?`token ${R.VITE_GITHUB_TOKEN}`:""}})).json();return a.length>3?`${a.slice(0,3).map(w).join(`\r +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/error-D4hOwfkO.js","assets/index-Bko_xNHh.js","assets/index-TCIaF8cn.css","assets/RenderTopNavBar-C6YLj6sY.js","assets/index-BU6CM6-K.js"])))=>i.map(i=>d[i]); +import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-Bko_xNHh.js";import{c as L,a as A,g as I,H as N,R as V,L as v,b as D}from"./RenderTopNavBar-C6YLj6sY.js";import{r as B,a as G,b as O,M as C,c as U,d as H}from"./Mdtoui-De8g0Gj_.js";import{I as M}from"./IconRssLine-dU4u7fMc.js";import"./index-C29H8B_2.js";const W={releases:{EN:"Releases",ES_LA:"Versiones",PT_BR:"Lançamentos",DE:"Veröffentlichungen"},loading:{EN:"Loading...",ES_LA:"Cargando...",PT_BR:"Carregando...",DE:"Wird geladen..."},subscribe:{EN:"Subscribe",ES_LA:"Suscríbete",PT_BR:"Inscreva-se",DE:"Abonnieren Sie"}};var R={VITE_APP_VERSION:"4.4.2+1721144689",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};async function z(e,r){const n=`${f.api}/repos/${e}/${r}/releases`;try{const a=await(await fetch(n,{method:"GET",headers:{Accept:"application/vnd.github.v3+json",Authorization:R!=null&&R.VITE_GITHUB_TOKEN?`token ${R.VITE_GITHUB_TOKEN}`:""}})).json();return a.length>3?`${a.slice(0,3).map(w).join(`\r \r `).slice(0,-3)}---\r \r @@ -13,4 +13,4 @@ import{g as f,a as P,r as x,j as t,_ as k,V as $}from"./index-D4PUjdd4.js";impor ${e.body}\r ----`}async function F(){const e=f.owner,r=f.repo;return z(e,r)}function K(){const e=L.c(32),r=P().language;let n,s,a,l;e[0]!==r?(a=A(r),s=I(W,a),l=`https://github.com/${f.owner}/${f.repo}/releases.atom`,n=a.toUpperCase(),e[0]=r,e[1]=n,e[2]=s,e[3]=a,e[4]=l):(n=e[1],s=e[2],a=e[3],l=e[4]);const y=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,[j,T]=x.useState(`${s.loading}`);let p;e[5]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{F().then(S=>{T(S)}).catch(S=>console.error(S))},e[5]=p):p=e[5],x.useEffect(p);let o;e[6]!==a?(o=t.jsx(V,{language:a}),e[6]=a,e[7]=o):o=e[7];let i;e[8]!==s.subscribe?(i=t.jsx(M,{size:"small",color:"warning",title:s.subscribe}),e[8]=s.subscribe,e[9]=i):i=e[9];let c;e[10]!==l||e[11]!==i?(c=t.jsx(v,{href:l,children:i}),e[10]=l,e[11]=i,e[12]=c):c=e[12];let m;e[13]!==c||e[14]!==s.releases?(m=t.jsxs(N,{level:"h1",children:[c," ",s.releases]}),e[13]=c,e[14]=s.releases,e[15]=m):m=e[15];let d;e[16]!==y?(d=t.jsx("style",{children:y}),e[16]=y,e[17]=d):d=e[17];let E;e[18]===Symbol.for("react.memo_cache_sentinel")?(E=[B,G],e[18]=E):E=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=[O],e[19]=b):b=e[19];let u;e[20]!==j?(u=t.jsx($,{as:"div",className:"markdown",children:t.jsx(C,{remarkPlugins:E,rehypePlugins:b,allowedElements:U,components:H,children:j})}),e[20]=j,e[21]=u):u=e[21];let h;e[22]!==m||e[23]!==d||e[24]!==u?(h=t.jsxs($,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[m,d,u]}),e[22]=m,e[23]=d,e[24]=u,e[25]=h):h=e[25];let g;e[26]!==a?(g=t.jsx(D,{language:a}),e[26]=a,e[27]=g):g=e[27];let _;return e[28]!==o||e[29]!==h||e[30]!==g?(_=t.jsxs(t.Fragment,{children:[o,h,g]}),e[28]=o,e[29]=h,e[30]=g,e[31]=_):_=e[31],_}K.displayName="Route.Releases";function q(){const e=x.lazy(()=>k(()=>import("./error-DeRkl5Z2.js"),__vite__mapDeps([0,1,2,3,4])).then(r=>({default:r.Component})));return t.jsx(x.Suspense,{fallback:t.jsx("h1",{children:"Error."}),children:t.jsx(e,{})})}q.displayName="Error.Releases";export{K as Component,q as ErrorBoundary}; +---`}async function F(){const e=f.owner,r=f.repo;return z(e,r)}function K(){const e=L.c(32),r=P().language;let n,s,a,l;e[0]!==r?(a=A(r),s=I(W,a),l=`https://github.com/${f.owner}/${f.repo}/releases.atom`,n=a.toUpperCase(),e[0]=r,e[1]=n,e[2]=s,e[3]=a,e[4]=l):(n=e[1],s=e[2],a=e[3],l=e[4]);const y=`.markdown .lang { display: none; } .markdown .lang.${n} { display: inherit; }`,[j,T]=x.useState(`${s.loading}`);let p;e[5]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{F().then(S=>{T(S)}).catch(S=>console.error(S))},e[5]=p):p=e[5],x.useEffect(p);let o;e[6]!==a?(o=t.jsx(V,{language:a}),e[6]=a,e[7]=o):o=e[7];let i;e[8]!==s.subscribe?(i=t.jsx(M,{size:"small",color:"warning",title:s.subscribe}),e[8]=s.subscribe,e[9]=i):i=e[9];let c;e[10]!==l||e[11]!==i?(c=t.jsx(v,{href:l,children:i}),e[10]=l,e[11]=i,e[12]=c):c=e[12];let m;e[13]!==c||e[14]!==s.releases?(m=t.jsxs(N,{level:"h1",children:[c," ",s.releases]}),e[13]=c,e[14]=s.releases,e[15]=m):m=e[15];let d;e[16]!==y?(d=t.jsx("style",{children:y}),e[16]=y,e[17]=d):d=e[17];let E;e[18]===Symbol.for("react.memo_cache_sentinel")?(E=[B,G],e[18]=E):E=e[18];let b;e[19]===Symbol.for("react.memo_cache_sentinel")?(b=[O],e[19]=b):b=e[19];let u;e[20]!==j?(u=t.jsx($,{as:"div",className:"markdown",children:t.jsx(C,{remarkPlugins:E,rehypePlugins:b,allowedElements:U,components:H,children:j})}),e[20]=j,e[21]=u):u=e[21];let h;e[22]!==m||e[23]!==d||e[24]!==u?(h=t.jsxs($,{id:"main",as:"div",padding:"medium medium xx-large",minWidth:"20rem",maxWidth:"59.25rem",margin:"0 auto",children:[m,d,u]}),e[22]=m,e[23]=d,e[24]=u,e[25]=h):h=e[25];let g;e[26]!==a?(g=t.jsx(D,{language:a}),e[26]=a,e[27]=g):g=e[27];let _;return e[28]!==o||e[29]!==h||e[30]!==g?(_=t.jsxs(t.Fragment,{children:[o,h,g]}),e[28]=o,e[29]=h,e[30]=g,e[31]=_):_=e[31],_}K.displayName="Route.Releases";function q(){const e=x.lazy(()=>k(()=>import("./error-D4hOwfkO.js"),__vite__mapDeps([0,1,2,3,4])).then(r=>({default:r.Component})));return t.jsx(x.Suspense,{fallback:t.jsx("h1",{children:"Error."}),children:t.jsx(e,{})})}q.displayName="Error.Releases";export{K as Component,q as ErrorBoundary}; diff --git a/index.html b/index.html index cdf7bbd..4d562a7 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - + @@ -16,7 +16,7 @@ Instructure Compliance Packages - +