| Current File : /home/digitaw/www/wp-content/plugins/pojo-accessibility/assets/build/scanner.js |
(()=>{var e={38:e=>{"use strict";class t{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=t,t.default=t},41:(e,t,r)=>{"use strict";function n(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}r.d(t,{Rk:()=>n,SF:()=>o,sk:()=>i});var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},i=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}},73:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(773),o=r(6446),i=r(7807),a=r(1566),s=r(9222);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const h=(0,i.Yn)(r,u)||{};return p?p(s):(0,a.NI)(s,t,t=>{let r=(0,i.BO)(h,d,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(h,d,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===c?r:{[c]:r}})}return function t(r){var n;const{sx:i,theme:l={}}=r||{};if(!i)return null;const c=null!=(n=l.unstable_sxConfig)?n:s.A;function u(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let u=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(s=n[r])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(c[r])u=(0,o.A)(u,e(r,i,l,c));else{const e=(0,a.NI)({theme:l},i,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,i)?u=(0,o.A)(u,e):u[r]=t({sx:i,theme:l})}else u=(0,o.A)(u,e(r,i,l,c))}),(0,a.vf)(s,u)}return Array.isArray(i)?i.map(u):u(i)}}const c=l();c.filterProps=["sx"];const u=c},120:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(766)},145:(e,t,r)=>{"use strict";let n,o,i=r(7793);class a extends i{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new n(new o,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a},197:()=>{},211:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler");Symbol.for("react.provider");Symbol.for("react.consumer"),Symbol.for("react.context");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.view_transition"),Symbol.for("react.client.reference");t.vM=r,t.lD=n},396:(e,t,r)=>{"use strict";let n=r(7793);class o extends n{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=o,o.default=o,n.registerAtRule(o)},435:(e,t,r)=>{"use strict";r.d(t,{EU:()=>s,NI:()=>a,iZ:()=>c,kW:()=>u,vf:()=>l,zu:()=>o});var n=r(6032);const o={xs:0,sm:600,md:900,lg:1200,xl:1536},i={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${o[e]}px)`};function a(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const e=n.breakpoints||i;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=n.breakpoints||i;return Object.keys(t).reduce((n,i)=>{if(-1!==Object.keys(e.values||o).indexOf(i))n[e.up(i)]=r(t[i],i);else{const e=i;n[e]=t[e]}return n},{})}return r(t)}function s(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function l(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}function c(e,...t){const r=s(e),o=[r,...t].reduce((e,t)=>(0,n.A)(e,t),{});return l(Object.keys(r),o)}function u({values:e,breakpoints:t,base:r}){const n=r||function(e,t){if("object"!=typeof e)return{};const r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}(e,t),o=Object.keys(n);if(0===o.length)return e;let i;return o.reduce((t,r,n)=>(Array.isArray(e)?(t[r]=null!=e[n]?e[n]:e[i],i=n):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[i],i=r):t[r]=e,t),{})}},766:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>i});var n=r(8168),o=r(1609);function i(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function a(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=a(e[r])}),t}function s(e,t,r={clone:!0}){const l=r.clone?(0,n.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(n=>{o.isValidElement(t[n])?l[n]=t[n]:i(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&i(e[n])?l[n]=s(e[n],t[n],r):r.clone?l[n]=i(t[n])?a(t[n]):t[n]:l[n]=t[n]}),l}},773:(e,t,r)=>{"use strict";function n(e){if("string"!=typeof e)throw new Error(function(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}(7));return e.charAt(0).toUpperCase()+e.slice(1)}r.d(t,{A:()=>n})},790:e=>{"use strict";e.exports=window.ReactJSXRuntime},834:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(3226)},851:(e,t,r)=>{"use strict";function n(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}r.d(t,{A:()=>n})},1032:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>p.A,StyledEngineProvider:()=>d,ThemeContext:()=>a.T,css:()=>i.AH,default:()=>h,internal_processStyles:()=>f,internal_serializeStyles:()=>g,keyframes:()=>i.i7});var n=r(1479),o=r(3174),i=r(7437),a=r(4684),s=r(1609),l=r(1568),c=r(790);const u=new Map;function d(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=s.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&u.has(e))return u.get(e);const n=function(e,t){const r=(0,l.A)({key:"css",prepend:e});if(t){const e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(t,r);return u.set(e,n),n},[t,r]);return t||r?(0,c.jsx)(a.C,{value:o,children:n}):n}var p=r(7601);function h(e,t){return(0,n.A)(e,t)}const f=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},m=[];function g(e){return m[0]=e,(0,o.J)(m)}},1069:(e,t,r)=>{"use strict";r.d(t,{LX:()=>f,MA:()=>h,_W:()=>m,Lc:()=>b,Ms:()=>y});var n=r(435),o=r(4734),i=r(9667);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function h(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function f(e){return h(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){const r=f(e.theme);return Object.keys(e).map(o=>function(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce((e,n)=>(e[n]=m(t,r),e),{})}(c(r),o),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r)).reduce(i.A,{})}function b(e){return g(e,u)}function y(e){return g(e,d)}function v(e){return g(e,p)}b.propTypes={},b.filterProps=u,y.propTypes={},y.filterProps=d,v.propTypes={},v.filterProps=p},1106:(e,t,r)=>{"use strict";let{nanoid:n}=r(5042),{isAbsolute:o,resolve:i}=r(197),{SourceMapConsumer:a,SourceMapGenerator:s}=r(1866),{fileURLToPath:l,pathToFileURL:c}=r(2739),u=r(3614),d=r(3878),p=r(9746),h=Symbol("lineToIndexCache"),f=Boolean(a&&s),m=Boolean(i&&o);function g(e){if(e[h])return e[h];let t=e.css.split("\n"),r=new Array(t.length),n=0;for(let e=0,o=t.length;e<o;e++)r[e]=n,n+=t[e].length+1;return e[h]=r,r}class b{get from(){return this.file||this.id}constructor(e,t={}){if(null==e||"object"==typeof e&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,t.document&&(this.document=t.document.toString()),t.from&&(!m||/^\w+:\/\//.test(t.from)||o(t.from)?this.file=t.from:this.file=i(t.from)),m&&f){let e=new d(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;!this.file&&t&&(this.file=this.mapResolve(t))}}this.file||(this.id="<input css "+n(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,n={}){let o,i,a,s,l;if(t&&"object"==typeof t){let e=t,n=r;if("number"==typeof e.offset){s=e.offset;let n=this.fromOffset(s);t=n.line,r=n.col}else t=e.line,r=e.column,s=this.fromLineAndColumn(t,r);if("number"==typeof n.offset){a=n.offset;let e=this.fromOffset(a);i=e.line,o=e.col}else i=n.line,o=n.column,a=this.fromLineAndColumn(n.line,n.column)}else if(r)s=this.fromLineAndColumn(t,r);else{s=t;let e=this.fromOffset(s);t=e.line,r=e.col}let d=this.origin(t,r,i,o);return l=d?new u(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,n.plugin):new u(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:o,line:i},this.css,this.file,n.plugin),l.input={column:r,endColumn:o,endLine:i,endOffset:a,line:t,offset:s,source:this.css},this.file&&(c&&(l.input.url=c(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return g(this)[e-1]+t-1}fromOffset(e){let t=g(this),r=0;if(e>=t[t.length-1])r=t.length-1;else{let n,o=t.length-2;for(;r<o;)if(n=r+(o-r>>1),e<t[n])o=n-1;else{if(!(e>=t[n+1])){r=n;break}r=n+1}}return{col:e-t[r]+1,line:r+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:i(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,n){if(!this.map)return!1;let i,a,s=this.map.consumer(),u=s.originalPositionFor({column:t,line:e});if(!u.source)return!1;"number"==typeof r&&(i=s.originalPositionFor({column:n,line:r})),a=o(u.source)?c(u.source):new URL(u.source,this.map.consumer().sourceRoot||c(this.map.mapFile));let d={column:u.column,endColumn:i&&i.column,endLine:i&&i.line,line:u.line,url:a.toString()};if("file:"===a.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");d.file=l(a)}let p=s.sourceContentFor(u.source);return p&&(d.source=p),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=b,b.default=b,p&&p.registerInput&&p.registerInput(b)},1242:(e,t)=>{var r;function n(e,t){var r=[],n=0;function o(e){return r.push(e),t}function i(){return r[n++]}return{tokenize:function(t){return t.replace(e,o)},detokenize:function(e){return e.replace(new RegExp("("+t+")","g"),i)}}}r=new function(){var e="`TMP`",t="`COMMENT`",r="[^\\u0020-\\u007e]",o="(?:[0-9]*\\.[0-9]+|[0-9]+)",i="(?:em|ex|px|cm|mm|in|pt|pc|deg|rad|grad|ms|s|hz|khz|%)",a="direction\\s*:\\s*",s="['\"]?\\s*",l="(^|[^a-zA-Z])",c="\\/\\*\\!?\\s*@noflip\\s*\\*\\/",u="(?:(?:(?:\\\\[0-9a-f]{1,6})(?:\\r\\n|\\s)?)|\\\\[^\\r\\n\\f0-9a-f])",d="(?:[_a-z0-9-]|"+r+"|"+u+")",p=o+"(?:\\s*"+i+"|-?(?:[_a-z]|"+r+"|"+u+")"+d+"*)?",h="((?:-?"+p+")|(?:inherit|auto))",f="((?:-?"+p+")|(?:inherit|auto)|(?:calc\\((?:(?:(?:\\(|\\)|\\t| )|(?:-?"+o+"(?:\\s*"+i+")?)|(?:\\+|\\-|\\*|\\/)){3,})\\)))",m="(#?"+d+"+|(?:rgba?|hsla?)\\([ \\d.,%-]+\\))",g="(?:[!#$%&*-~]|"+r+"|"+u+")*?",b="(?![a-zA-Z])",y="(?!("+d+"|\\r?\\n|\\s|#|\\:|\\.|\\,|\\+|>|~|\\(|\\)|\\[|\\]|=|\\*=|~=|\\^=|'[^']*'|\"[^\"]*\"|"+t+")*?{)",v="(?!"+g+s+"\\))",x="(?="+g+s+"\\))",w="(\\s*(?:!important\\s*)?[;}])",_=/`TMP`/g,C=/`TMPLTR`/g,k=/`TMPRTL`/g,S=new RegExp("\\/\\*[^*]*\\*+([^\\/*][^*]*\\*+)*\\/","gi"),A=new RegExp("("+c+y+"[^;}]+;?)","gi"),j=new RegExp("("+c+"[^\\}]*?})","gi"),R=new RegExp("("+a+")ltr","gi"),I=new RegExp("("+a+")rtl","gi"),M=new RegExp(l+"(left)"+b+v+y,"gi"),E=new RegExp(l+"(right)"+b+v+y,"gi"),T=new RegExp(l+"(left)"+x,"gi"),O=new RegExp(l+"(right)"+x,"gi"),P=/(:dir\( *)ltr( *\))/g,L=/(:dir\( *)rtl( *\))/g,z=new RegExp(l+"(ltr)"+x,"gi"),N=new RegExp(l+"(rtl)"+x,"gi"),F=new RegExp(l+"([ns]?)e-resize","gi"),D=new RegExp(l+"([ns]?)w-resize","gi"),B=new RegExp("((?:margin|padding|border-width)\\s*:\\s*)"+f+"(\\s+)"+f+"(\\s+)"+f+"(\\s+)"+f+w,"gi"),$=new RegExp("((?:-color|border-style)\\s*:\\s*)"+m+"(\\s+)"+m+"(\\s+)"+m+"(\\s+)"+m+w,"gi"),H=new RegExp("(background(?:-position)?\\s*:\\s*(?:[^:;}\\s]+\\s+)*?)("+p+")","gi"),W=new RegExp("(background-position-x\\s*:\\s*)(-?"+o+"%)","gi"),V=new RegExp("(border-radius\\s*:\\s*)"+h+"(?:(?:\\s+"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?)?(?:(?:(?:\\s*\\/\\s*)"+h+")(?:\\s+"+h+")?(?:\\s+"+h+")?(?:\\s+"+h+")?)?"+w,"gi"),q=new RegExp("(box-shadow\\s*:\\s*(?:inset\\s*)?)"+h,"gi"),U=new RegExp("(text-shadow\\s*:\\s*)"+h+"(\\s*)"+m,"gi"),Z=new RegExp("(text-shadow\\s*:\\s*)"+m+"(\\s*)"+h,"gi"),G=new RegExp("(text-shadow\\s*:\\s*)"+h,"gi"),K=new RegExp("(transform\\s*:[^;}]*)(translateX\\s*\\(\\s*)"+h+"(\\s*\\))","gi"),X=new RegExp("(transform\\s*:[^;}]*)(translate\\s*\\(\\s*)"+h+"((?:\\s*,\\s*"+h+"){0,2}\\s*\\))","gi");function J(e,t,r){var n,o;return"%"===r.slice(-1)&&(-1!==(n=r.indexOf("."))?(o=r.length-n-2,r=(r=100-parseFloat(r)).toFixed(o)+"%"):r=100-parseFloat(r)+"%"),t+r}function Y(e){switch(e.length){case 4:e=[e[1],e[0],e[3],e[2]];break;case 3:e=[e[1],e[0],e[1],e[2]];break;case 2:e=[e[1],e[0]];break;case 1:e=[e[0]]}return e.join(" ")}function Q(e,t){var r=[].slice.call(arguments),n=r.slice(2,6).filter(function(e){return e}),o=r.slice(6,10).filter(function(e){return e}),i=r[10]||"";return t+(o.length?Y(n)+" / "+Y(o):Y(n))+i}function ee(e){return 0===parseFloat(e)?e:"-"===e[0]?e.slice(1):"-"+e}function te(e,t,r){return t+ee(r)}function re(e,t,r,n,o){return t+r+ee(n)+o}function ne(e,t,r,n,o){return t+r+n+ee(o)}return{transform:function(r,o){var i=new n(A,"`NOFLIP_SINGLE`"),a=new n(j,"`NOFLIP_CLASS`"),s=new n(S,t);return r=s.tokenize(a.tokenize(i.tokenize(r.replace("`","%60")))),o.transformDirInUrl&&(r=r.replace(P,"$1`TMPLTR`$2").replace(L,"$1`TMPRTL`$2").replace(z,"$1"+e).replace(N,"$1ltr").replace(_,"rtl").replace(C,"ltr").replace(k,"rtl")),o.transformEdgeInUrl&&(r=r.replace(T,"$1"+e).replace(O,"$1left").replace(_,"right")),r=r.replace(R,"$1"+e).replace(I,"$1ltr").replace(_,"rtl").replace(M,"$1"+e).replace(E,"$1left").replace(_,"right").replace(F,"$1$2"+e).replace(D,"$1$2e-resize").replace(_,"w-resize").replace(V,Q).replace(q,te).replace(U,ne).replace(Z,ne).replace(G,te).replace(K,re).replace(X,re).replace(B,"$1$2$3$8$5$6$7$4$9").replace($,"$1$2$3$8$5$6$7$4$9").replace(H,J).replace(W,J),i.detokenize(a.detokenize(s.detokenize(r)))}}},e.exports?t.transform=function(e,t,n){var o;return"object"==typeof t?o=t:(o={},"boolean"==typeof t&&(o.transformDirInUrl=t),"boolean"==typeof n&&(o.transformEdgeInUrl=n)),r.transform(e,o)}:"undefined"!=typeof window&&(window.cssjanus=r)},1287:(e,t,r)=>{"use strict";r.d(t,{i:()=>a,s:()=>i});var n=r(1609),o=!!n.useInsertionEffect&&n.useInsertionEffect,i=o||function(e){return e()},a=o||n.useLayoutEffect},1479:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});var n=r(8168),o=r(1609),i=r(6289),a=/^((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|fetchpriority|fetchPriority|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)-.*))$/,s=(0,i.A)(function(e){return a.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}),l=r(4684),c=r(41),u=r(3174),d=r(1287),p=s,h=function(e){return"theme"!==e},f=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?p:h},m=function(e,t,r){var n;if(t){var o=t.shouldForwardProp;n=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,c.SF)(t,r,n),(0,d.s)(function(){return(0,c.sk)(t,r,n)}),null},b=function e(t,r){var i,a,s=t.__emotion_real===t,d=s&&t.__emotion_base||t;void 0!==r&&(i=r.label,a=r.target);var p=m(t,r,s),h=p||f(d),b=!h("as");return function(){var y=arguments,v=s&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&v.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)v.push.apply(v,y);else{v.push(y[0][0]);for(var x=y.length,w=1;w<x;w++)v.push(y[w],y[0][w])}var _=(0,l.w)(function(e,t,r){var n=b&&e.as||d,i="",s=[],m=e;if(null==e.theme){for(var y in m={},e)m[y]=e[y];m.theme=o.useContext(l.T)}"string"==typeof e.className?i=(0,c.Rk)(t.registered,s,e.className):null!=e.className&&(i=e.className+" ");var x=(0,u.J)(v.concat(s),t.registered,m);i+=t.key+"-"+x.name,void 0!==a&&(i+=" "+a);var w=b&&void 0===p?f(n):h,_={};for(var C in e)b&&"as"===C||w(C)&&(_[C]=e[C]);return _.className=i,r&&(_.ref=r),o.createElement(o.Fragment,null,o.createElement(g,{cache:t,serialized:x,isStringTag:"string"==typeof n}),o.createElement(n,_))});return _.displayName=void 0!==i?i:"Styled("+("string"==typeof d?d:d.displayName||d.name||"Component")+")",_.defaultProps=t.defaultProps,_.__emotion_real=_,_.__emotion_base=d,_.__emotion_styles=v,_.__emotion_forwardProp=p,Object.defineProperty(_,"toString",{value:function(){return"."+a}}),_.withComponent=function(t,o){return e(t,(0,n.A)({},r,o,{shouldForwardProp:m(_,o,!0)})).apply(void 0,v)},_}}.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){b[e]=b(e)})},1534:(e,t,r)=>{"use strict";let n=r(7793),o=r(1752);class i extends n{get selectors(){return o.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}e.exports=i,i.default=i,n.registerRule(i)},1560:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(773)},1566:(e,t,r)=>{"use strict";r.d(t,{EU:()=>a,NI:()=>i,vf:()=>s,zu:()=>n});const n={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${n[e]}px)`};function i(e,t,r){const i=e.theme||{};if(Array.isArray(t)){const e=i.breakpoints||o;return t.reduce((n,o,i)=>(n[e.up(e.keys[i])]=r(t[i]),n),{})}if("object"==typeof t){const e=i.breakpoints||o;return Object.keys(t).reduce((o,i)=>{if(-1!==Object.keys(e.values||n).indexOf(i))o[e.up(i)]=r(t[i],i);else{const e=i;o[e]=t[e]}return o},{})}return r(t)}function a(e={}){var t;return(null==(t=e.keys)?void 0:t.reduce((t,r)=>(t[e.up(r)]={},t),{}))||{}}function s(e,t){return e.reduce((e,t)=>{const r=e[t];return(!r||0===Object.keys(r).length)&&delete e[t],e},t)}},1568:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}var m=1,g=1,b=0,y=0,v=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function _(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return v=y>0?u(x,--y):0,g--,10===v&&(g=1,m--),v}function k(){return v=y<b?u(x,y++):0,g++,10===v&&(g=1,m++),v}function S(){return u(x,y)}function A(){return y}function j(e,t){return d(x,e,t)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function I(e){return m=g=1,b=p(x=e),y=0,[]}function M(e){return x="",e}function E(e){return s(j(y-1,P(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(v=S())&&v<33;)k();return R(e)>2||R(v)>3?"":" "}function O(e,t){for(;--t&&k()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return j(e,A()+(t<6&&32==S()&&32==k()))}function P(e){for(;k();)switch(v){case e:return y;case 34:case 39:34!==e&&39!==e&&P(v);break;case 40:41===e&&P(e);break;case 92:k()}return y}function L(e,t){for(;k()&&e+v!==57&&(e+v!==84||47!==S()););return"/*"+j(t,y-1)+"*"+i(47===e?e:k())}function z(e){for(;!R(S());)k();return j(e,y)}var N="-ms-",F="-moz-",D="-webkit-",B="comm",$="rule",H="decl",W="@keyframes";function V(e,t){for(var r="",n=h(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case B:return"";case W:return e.return=e.value+"{"+V(e.children,n)+"}";case $:e.value=e.props.join(",")}return p(r=V(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return M(Z("",null,null,null,[""],e=I(e),0,[0],e))}function Z(e,t,r,n,o,a,s,d,h){for(var m=0,g=0,b=s,y=0,v=0,x=0,w=1,_=1,j=1,R=0,I="",M=o,P=a,N=n,F=I;_;)switch(x=R,R=k()){case 40:if(108!=x&&58==u(F,b-1)){-1!=c(F+=l(E(R),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:F+=E(R);break;case 9:case 10:case 13:case 32:F+=T(x);break;case 92:F+=O(A()-1,7);continue;case 47:switch(S()){case 42:case 47:f(K(L(k(),A()),t,r),h);break;default:F+="/"}break;case 123*w:d[m++]=p(F)*j;case 125*w:case 59:case 0:switch(R){case 0:case 125:_=0;case 59+g:-1==j&&(F=l(F,/\f/g,"")),v>0&&p(F)-b&&f(v>32?X(F+";",n,r,b-1):X(l(F," ","")+";",n,r,b-2),h);break;case 59:F+=";";default:if(f(N=G(F,t,r,m,g,o,d,I,M=[],P=[],b),a),123===R)if(0===g)Z(F,t,N,N,M,a,b,d,P);else switch(99===y&&110===u(F,3)?100:y){case 100:case 108:case 109:case 115:Z(e,N,N,n&&f(G(e,N,N,0,0,o,d,I,o,M=[],b),P),o,P,b,d,n?M:P);break;default:Z(F,N,N,N,[""],P,0,d,P)}}m=g=v=0,w=j=1,I=F="",b=s;break;case 58:b=1+p(F),v=x;default:if(w<1)if(123==R)--w;else if(125==R&&0==w++&&125==C())continue;switch(F+=i(R),R*w){case 38:j=g>0?1:(F+="\f",-1);break;case 44:d[m++]=(p(F)-1)*j,j=1;break;case 64:45===S()&&(F+=E(k())),y=S(),g=b=p(I=F+=z(A())),R++;break;case 45:45===x&&2==p(F)&&(w=0)}}return a}function G(e,t,r,n,i,a,c,u,p,f,m){for(var g=i-1,b=0===i?a:[""],y=h(b),v=0,x=0,_=0;v<n;++v)for(var C=0,k=d(e,g+1,g=o(x=c[v])),S=e;C<y;++C)(S=s(x>0?b[C]+" "+k:l(k,/&\f/g,b[C])))&&(p[_++]=S);return w(e,t,r,0===i?$:u,p,f,m)}function K(e,t,r){return w(e,t,r,B,i(v),d(e,2,-2),0)}function X(e,t,r,n){return w(e,t,r,H,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,t,r){for(var n=0,o=0;n=o,o=S(),38===n&&12===o&&(t[r]=1),!R(o);)k();return j(e,y)},Y=new WeakMap,Q=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Y.get(r))&&!n){Y.set(e,!0);for(var o=[],a=function(e,t){return M(function(e,t){var r=-1,n=44;do{switch(R(n)){case 0:38===n&&12===S()&&(t[r]=1),e[r]+=J(y-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===S()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(I(e),t))}(t,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+F+e+N+e+e;case 6828:case 4268:return D+e+N+e+e;case 6165:return D+e+N+"flex-"+e+e;case 5187:return D+e+l(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return D+e+N+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return D+e+N+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+N+l(e,"shrink","negative")+e;case 5292:return D+e+N+l(e,"basis","preferred-size")+e;case 6060:return D+"box-"+l(e,"-grow","")+D+e+N+l(e,"grow","positive")+e;case 4554:return D+l(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+F+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+N+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case W:return V([_(e,{value:l(e.value,"@","@"+D)})],n);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return V([_(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return V([_(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,N+"input-$1")]})],n)}return""})}}],ne=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,i,a=e.stylisPlugins||re,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)});var c,u,d,p,f=[q,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[Q,ee].concat(a,f),d=h(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,V(U(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n.v({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},1609:e=>{"use strict";e.exports=window.React},1752:e=>{"use strict";let t={comma:e=>t.split(e,[","],!0),space:e=>t.split(e,[" ","\n","\t"]),split(e,t,r){let n=[],o="",i=!1,a=0,s=!1,l="",c=!1;for(let r of e)c?c=!1:"\\"===r?c=!0:s?r===l&&(s=!1):'"'===r||"'"===r?(s=!0,l=r):"("===r?a+=1:")"===r?a>0&&(a-=1):0===a&&t.includes(r)&&(i=!0),i?(""!==o&&n.push(o.trim()),o="",i=!1):o+=r;return(r||""!==o)&&n.push(o.trim()),n}};e.exports=t,t.default=t},1866:()=>{},2350:(e,t,r)=>{"use strict";r.d(t,{LX:()=>f,MA:()=>h,_W:()=>m,Lc:()=>b,Ms:()=>y});var n=r(1566),o=r(7807),i=r(6446);const a={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(){const e={};return t=>(void 0===e[t]&&(e[t]=(e=>{if(e.length>2){if(!l[e])return[e];e=l[e]}const[t,r]=e.split(""),n=a[t],o=s[r]||"";return Array.isArray(o)?o.map(e=>n+e):[n+o]})(t)),e[t])}(),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function h(e,t,r,n){var i;const a=null!=(i=(0,o.Yn)(e,t,!1))?i:r;return"number"==typeof a?e=>"string"==typeof e?e:a*e:Array.isArray(a)?e=>"string"==typeof e?e:a[e]:"function"==typeof a?a:()=>{}}function f(e){return h(e,"spacing",8)}function m(e,t){if("string"==typeof t||null==t)return t;const r=e(Math.abs(t));return t>=0?r:"number"==typeof r?-r:`-${r}`}function g(e,t){const r=f(e.theme);return Object.keys(e).map(o=>function(e,t,r,o){if(-1===t.indexOf(r))return null;const i=function(e,t){return r=>e.reduce((e,n)=>(e[n]=m(t,r),e),{})}(c(r),o),a=e[r];return(0,n.NI)(e,a,i)}(e,t,o,r)).reduce(i.A,{})}function b(e){return g(e,u)}function y(e){return g(e,d)}function v(e){return g(e,p)}b.propTypes={},b.filterProps=u,y.propTypes={},y.filterProps=d,v.propTypes={},v.filterProps=p},2454:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,isPlainObject:()=>n.Q});var n=r(6032)},2694:(e,t,r)=>{"use strict";var n=r(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},2697:(e,t,r)=>{"use strict";r.r(t),r.d(t,{createFocusTrap:()=>m});var n=r(9054);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t);if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var l=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},c=function(e){return l(e)&&!e.shiftKey},u=function(e){return l(e)&&e.shiftKey},d=function(e){return setTimeout(e,0)},p=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return"function"==typeof e?e.apply(void 0,r):e},h=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},f=[],m=function(e,t){var r,i=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||f,m=s({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:c,isKeyBackward:u},t),g={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},b=function(e,t,r){return e&&void 0!==e[t]?e[t]:m[r||t]},y=function(e,t){var r="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return g.containerGroups.findIndex(function(t){var n=t.container,o=t.tabbableNodes;return n.contains(e)||(null==r?void 0:r.includes(n))||o.find(function(t){return t===e})})},v=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.hasFallback,a=void 0!==n&&n,s=r.params,l=void 0===s?[]:s,c=m[e];if("function"==typeof c&&(c=c.apply(void 0,function(e){if(Array.isArray(e))return o(e)}(t=l)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return o(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(e,t):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())),!0===c&&(c=void 0),!c){if(void 0===c||!1===c)return c;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var u=c;if("string"==typeof c){try{u=i.querySelector(c)}catch(t){throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(t.message,'"'))}if(!u&&!a)throw new Error("`".concat(e,"` as selector refers to no known node"))}return u},x=function(){var e=v("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!(0,n.isFocusable)(e,m.tabbableOptions))if(y(i.activeElement)>=0)e=i.activeElement;else{var t=g.tabbableGroups[0];e=t&&t.firstTabbableNode||v("fallbackFocus")}else null===e&&(e=v("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},w=function(){if(g.containerGroups=g.containers.map(function(e){var t=(0,n.tabbable)(e,m.tabbableOptions),r=(0,n.focusable)(e,m.tabbableOptions),o=t.length>0?t[0]:void 0,i=t.length>0?t[t.length-1]:void 0,a=r.find(function(e){return(0,n.isTabbable)(e)}),s=r.slice().reverse().find(function(e){return(0,n.isTabbable)(e)}),l=!!t.find(function(e){return(0,n.getTabIndex)(e)>0});return{container:e,tabbableNodes:t,focusableNodes:r,posTabIndexesFound:l,firstTabbableNode:o,lastTabbableNode:i,firstDomTabbableNode:a,lastDomTabbableNode:s,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],i=t.indexOf(e);return i<0?o?r.slice(r.indexOf(e)+1).find(function(e){return(0,n.isTabbable)(e)}):r.slice(0,r.indexOf(e)).reverse().find(function(e){return(0,n.isTabbable)(e)}):t[i+(o?1:-1)]}}}),g.tabbableGroups=g.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),g.tabbableGroups.length<=0&&!v("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(g.containerGroups.find(function(e){return e.posTabIndexesFound})&&g.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},_=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?_(t.shadowRoot):t},C=function(e){!1!==e&&e!==_(document)&&(e&&e.focus?(e.focus({preventScroll:!!m.preventScroll}),g.mostRecentlyFocusedNode=e,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(e)&&e.select()):C(x()))},k=function(e){var t=v("setReturnFocus",{params:[e]});return t||!1!==t&&e},S=function(e){var t=e.target,r=e.event,o=e.isBackward,i=void 0!==o&&o;t=t||h(r),w();var a=null;if(g.tabbableGroups.length>0){var s=y(t,r),c=s>=0?g.containerGroups[s]:void 0;if(s<0)a=i?g.tabbableGroups[g.tabbableGroups.length-1].lastTabbableNode:g.tabbableGroups[0].firstTabbableNode;else if(i){var u=g.tabbableGroups.findIndex(function(e){var r=e.firstTabbableNode;return t===r});if(u<0&&(c.container===t||(0,n.isFocusable)(t,m.tabbableOptions)&&!(0,n.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t,!1))&&(u=s),u>=0){var d=0===u?g.tabbableGroups.length-1:u-1,p=g.tabbableGroups[d];a=(0,n.getTabIndex)(t)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else l(r)||(a=c.nextTabbableNode(t,!1))}else{var f=g.tabbableGroups.findIndex(function(e){var r=e.lastTabbableNode;return t===r});if(f<0&&(c.container===t||(0,n.isFocusable)(t,m.tabbableOptions)&&!(0,n.isTabbable)(t,m.tabbableOptions)&&!c.nextTabbableNode(t))&&(f=s),f>=0){var b=f===g.tabbableGroups.length-1?0:f+1,x=g.tabbableGroups[b];a=(0,n.getTabIndex)(t)>=0?x.firstTabbableNode:x.firstDomTabbableNode}else l(r)||(a=c.nextTabbableNode(t))}}else a=v("fallbackFocus");return a},A=function(e){var t=h(e);y(t,e)>=0||(p(m.clickOutsideDeactivates,e)?r.deactivate({returnFocus:m.returnFocusOnDeactivate}):p(m.allowOutsideClick,e)||e.preventDefault())},j=function(e){var t=h(e),r=y(t,e)>=0;if(r||t instanceof Document)r&&(g.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var i=!0;if(g.mostRecentlyFocusedNode)if((0,n.getTabIndex)(g.mostRecentlyFocusedNode)>0){var a=y(g.mostRecentlyFocusedNode),s=g.containerGroups[a].tabbableNodes;if(s.length>0){var l=s.findIndex(function(e){return e===g.mostRecentlyFocusedNode});l>=0&&(m.isKeyForward(g.recentNavEvent)?l+1<s.length&&(o=s[l+1],i=!1):l-1>=0&&(o=s[l-1],i=!1))}}else g.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return(0,n.getTabIndex)(e)>0})})||(i=!1);else i=!1;i&&(o=S({target:g.mostRecentlyFocusedNode,isBackward:m.isKeyBackward(g.recentNavEvent)})),C(o||g.mostRecentlyFocusedNode||x())}g.recentNavEvent=void 0},R=function(e){(m.isKeyForward(e)||m.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g.recentNavEvent=e;var r=S({event:e,isBackward:t});r&&(l(e)&&e.preventDefault(),C(r))}(e,m.isKeyBackward(e))},I=function(e){var t;("Escape"===(null==(t=e)?void 0:t.key)||"Esc"===(null==t?void 0:t.key)||27===(null==t?void 0:t.keyCode))&&!1!==p(m.escapeDeactivates,e)&&(e.preventDefault(),r.deactivate())},M=function(e){var t=h(e);y(t,e)>=0||p(m.clickOutsideDeactivates,e)||p(m.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},E=function(){if(g.active)return function(e,t){if(e.length>0){var r=e[e.length-1];r!==t&&r._setPausedState(!0)}var n=e.indexOf(t);-1===n||e.splice(n,1),e.push(t)}(a,r),g.delayInitialFocusTimer=m.delayInitialFocus?d(function(){C(x())}):C(x()),i.addEventListener("focusin",j,!0),i.addEventListener("mousedown",A,{capture:!0,passive:!1}),i.addEventListener("touchstart",A,{capture:!0,passive:!1}),i.addEventListener("click",M,{capture:!0,passive:!1}),i.addEventListener("keydown",R,{capture:!0,passive:!1}),i.addEventListener("keydown",I),r},T=function(){if(g.active)return i.removeEventListener("focusin",j,!0),i.removeEventListener("mousedown",A,!0),i.removeEventListener("touchstart",A,!0),i.removeEventListener("click",M,!0),i.removeEventListener("keydown",R,!0),i.removeEventListener("keydown",I),r},O="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes).some(function(e){return e===g.mostRecentlyFocusedNode})})&&C(x())}):void 0,P=function(){O&&(O.disconnect(),g.active&&!g.paused&&g.containers.map(function(e){O.observe(e,{subtree:!0,childList:!0})}))};return r={get active(){return g.active},get paused(){return g.paused},activate:function(e){if(g.active)return this;var t=b(e,"onActivate"),r=b(e,"onPostActivate"),n=b(e,"checkCanFocusTrap");n||w(),g.active=!0,g.paused=!1,g.nodeFocusedBeforeActivation=_(i),null==t||t();var o=function(){n&&w(),E(),P(),null==r||r()};return n?(n(g.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!g.active)return this;var t=s({onDeactivate:m.onDeactivate,onPostDeactivate:m.onPostDeactivate,checkCanReturnFocus:m.checkCanReturnFocus},e);clearTimeout(g.delayInitialFocusTimer),g.delayInitialFocusTimer=void 0,T(),g.active=!1,g.paused=!1,P(),function(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}(a,r);var n=b(t,"onDeactivate"),o=b(t,"onPostDeactivate"),i=b(t,"checkCanReturnFocus"),l=b(t,"returnFocus","returnFocusOnDeactivate");null==n||n();var c=function(){d(function(){l&&C(k(g.nodeFocusedBeforeActivation)),null==o||o()})};return l&&i?(i(k(g.nodeFocusedBeforeActivation)).then(c,c),this):(c(),this)},pause:function(e){return g.active?(g.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return g.active?(g.manuallyPaused=!1,a[a.length-1]!==this?this:this._setPausedState(!1,e)):this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return g.containers=t.map(function(e){return"string"==typeof e?i.querySelector(e):e}),g.active&&w(),P(),this}},Object.defineProperties(r,{_isManuallyPaused:{value:function(){return g.manuallyPaused}},_setPausedState:{value:function(e,t){if(g.paused===e)return this;if(g.paused=e,e){var r=b(t,"onPause"),n=b(t,"onPostPause");null==r||r(),T(),P(),null==n||n()}else{var o=b(t,"onUnpause"),i=b(t,"onPostUnpause");null==o||o(),w(),E(),P(),null==i||i()}return this}}}),r.updateContainerElements(e),r}},2739:()=>{},2799:(e,t)=>{"use strict";Symbol.for("react.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler"),Symbol.for("react.provider"),Symbol.for("react.context"),Symbol.for("react.server_context"),Symbol.for("react.forward_ref"),Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"),Symbol.for("react.lazy"),Symbol.for("react.offscreen");Symbol.for("react.module.reference")},2833:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalStyles:()=>ge,StyledEngineProvider:()=>me,ThemeContext:()=>i.T,css:()=>u,default:()=>be,internal_processStyles:()=>ye,internal_serializeStyles:()=>xe,keyframes:()=>d});var n=r(1479),o=r(3174),i=r(6632),a=r(1609),s=r(41),l=r(1287),c=(r(6810),r(4146),(0,i.w)(function(e,t){var r=e.styles,n=(0,o.J)([r],void 0,a.useContext(i.T)),c=a.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),o=!1,i=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(o=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),c.current=[r,o],function(){r.flush()}},[t]),(0,l.i)(function(){var e=c.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,s.sk)(t,n.next,!0),r.tags.length){var o=r.tags[r.tags.length-1].nextElementSibling;r.before=o,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null}));function u(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,o.J)(t)}var d=function(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},p=r(5047),h=Math.abs,f=String.fromCharCode,m=Object.assign;function g(e){return e.trim()}function b(e,t,r){return e.replace(t,r)}function y(e,t){return e.indexOf(t)}function v(e,t){return 0|e.charCodeAt(t)}function x(e,t,r){return e.slice(t,r)}function w(e){return e.length}function _(e){return e.length}function C(e,t){return t.push(e),e}var k=1,S=1,A=0,j=0,R=0,I="";function M(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:k,column:S,length:a,return:""}}function E(e,t){return m(M("",null,null,"",null,null,0),e,{length:-e.length},t)}function T(){return R=j>0?v(I,--j):0,S--,10===R&&(S=1,k--),R}function O(){return R=j<A?v(I,j++):0,S++,10===R&&(S=1,k++),R}function P(){return v(I,j)}function L(){return j}function z(e,t){return x(I,e,t)}function N(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function F(e){return k=S=1,A=w(I=e),j=0,[]}function D(e){return I="",e}function B(e){return g(z(j-1,W(91===e?e+2:40===e?e+1:e)))}function $(e){for(;(R=P())&&R<33;)O();return N(e)>2||N(R)>3?"":" "}function H(e,t){for(;--t&&O()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return z(e,L()+(t<6&&32==P()&&32==O()))}function W(e){for(;O();)switch(R){case e:return j;case 34:case 39:34!==e&&39!==e&&W(R);break;case 40:41===e&&W(e);break;case 92:O()}return j}function V(e,t){for(;O()&&e+R!==57&&(e+R!==84||47!==P()););return"/*"+z(t,j-1)+"*"+f(47===e?e:O())}function q(e){for(;!N(P());)O();return z(e,j)}var U="-ms-",Z="-moz-",G="-webkit-",K="comm",X="rule",J="decl",Y="@keyframes";function Q(e,t){for(var r="",n=_(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function ee(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case J:return e.return=e.return||e.value;case K:return"";case Y:return e.return=e.value+"{"+Q(e.children,n)+"}";case X:e.value=e.props.join(",")}return w(r=Q(e.children,n))?e.return=e.value+"{"+r+"}":""}function te(e){return D(re("",null,null,null,[""],e=F(e),0,[0],e))}function re(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,h=0,m=0,g=1,x=1,_=1,k=0,S="",A=o,j=i,R=n,I=S;x;)switch(m=k,k=O()){case 40:if(108!=m&&58==v(I,d-1)){-1!=y(I+=b(B(k),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:I+=B(k);break;case 9:case 10:case 13:case 32:I+=$(m);break;case 92:I+=H(L()-1,7);continue;case 47:switch(P()){case 42:case 47:C(oe(V(O(),L()),t,r),l);break;default:I+="/"}break;case 123*g:s[c++]=w(I)*_;case 125*g:case 59:case 0:switch(k){case 0:case 125:x=0;case 59+u:-1==_&&(I=b(I,/\f/g,"")),h>0&&w(I)-d&&C(h>32?ie(I+";",n,r,d-1):ie(b(I," ","")+";",n,r,d-2),l);break;case 59:I+=";";default:if(C(R=ne(I,t,r,c,u,o,s,S,A=[],j=[],d),i),123===k)if(0===u)re(I,t,R,R,A,i,d,s,j);else switch(99===p&&110===v(I,3)?100:p){case 100:case 108:case 109:case 115:re(e,R,R,n&&C(ne(e,R,R,0,0,o,s,S,o,A=[],d),j),o,j,d,s,n?A:j);break;default:re(I,R,R,R,[""],j,0,s,j)}}c=u=h=0,g=_=1,S=I="",d=a;break;case 58:d=1+w(I),h=m;default:if(g<1)if(123==k)--g;else if(125==k&&0==g++&&125==T())continue;switch(I+=f(k),k*g){case 38:_=u>0?1:(I+="\f",-1);break;case 44:s[c++]=(w(I)-1)*_,_=1;break;case 64:45===P()&&(I+=B(O())),p=P(),u=d=w(S=I+=q(L())),k++;break;case 45:45===m&&2==w(I)&&(g=0)}}return i}function ne(e,t,r,n,o,i,a,s,l,c,u){for(var d=o-1,p=0===o?i:[""],f=_(p),m=0,y=0,v=0;m<n;++m)for(var w=0,C=x(e,d+1,d=h(y=a[m])),k=e;w<f;++w)(k=g(y>0?p[w]+" "+C:b(C,/&\f/g,p[w])))&&(l[v++]=k);return M(e,t,r,0===o?X:s,l,c,u)}function oe(e,t,r){return M(e,t,r,K,f(R),x(e,2,-2),0)}function ie(e,t,r,n){return M(e,t,r,J,x(e,0,n),x(e,n+1,-1),n)}var ae=function(e,t,r){for(var n=0,o=0;n=o,o=P(),38===n&&12===o&&(t[r]=1),!N(o);)O();return z(e,j)},se=new WeakMap,le=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||se.get(r))&&!n){se.set(e,!0);for(var o=[],i=function(e,t){return D(function(e,t){var r=-1,n=44;do{switch(N(n)){case 0:38===n&&12===P()&&(t[r]=1),e[r]+=ae(j-1,t,r);break;case 2:e[r]+=B(n);break;case 4:if(44===n){e[++r]=58===P()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=f(n)}}while(n=O());return e}(F(e),t))}(t,o),a=r.props,s=0,l=0;s<i.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=o[s]?i[s].replace(/&\f/g,a[c]):a[c]+" "+i[s]}}},ce=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ue(e,t){switch(function(e,t){return 45^v(e,0)?(((t<<2^v(e,0))<<2^v(e,1))<<2^v(e,2))<<2^v(e,3):0}(e,t)){case 5103:return G+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return G+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return G+e+Z+e+U+e+e;case 6828:case 4268:return G+e+U+e+e;case 6165:return G+e+U+"flex-"+e+e;case 5187:return G+e+b(e,/(\w+).+(:[^]+)/,G+"box-$1$2"+U+"flex-$1$2")+e;case 5443:return G+e+U+"flex-item-"+b(e,/flex-|-self/,"")+e;case 4675:return G+e+U+"flex-line-pack"+b(e,/align-content|flex-|-self/,"")+e;case 5548:return G+e+U+b(e,"shrink","negative")+e;case 5292:return G+e+U+b(e,"basis","preferred-size")+e;case 6060:return G+"box-"+b(e,"-grow","")+G+e+U+b(e,"grow","positive")+e;case 4554:return G+b(e,/([^-])(transform)/g,"$1"+G+"$2")+e;case 6187:return b(b(b(e,/(zoom-|grab)/,G+"$1"),/(image-set)/,G+"$1"),e,"")+e;case 5495:case 3959:return b(e,/(image-set\([^]*)/,G+"$1$`$1");case 4968:return b(b(e,/(.+:)(flex-)?(.*)/,G+"box-pack:$3"+U+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+G+e+e;case 4095:case 3583:case 4068:case 2532:return b(e,/(.+)-inline(.+)/,G+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(w(e)-1-t>6)switch(v(e,t+1)){case 109:if(45!==v(e,t+4))break;case 102:return b(e,/(.+:)(.+)-([^]+)/,"$1"+G+"$2-$3$1"+Z+(108==v(e,t+3)?"$3":"$2-$3"))+e;case 115:return~y(e,"stretch")?ue(b(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==v(e,t+1))break;case 6444:switch(v(e,w(e)-3-(~y(e,"!important")&&10))){case 107:return b(e,":",":"+G)+e;case 101:return b(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+G+(45===v(e,14)?"inline-":"")+"box$3$1"+G+"$2$3$1"+U+"$2box$3")+e}break;case 5936:switch(v(e,t+11)){case 114:return G+e+U+b(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return G+e+U+b(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return G+e+U+b(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return G+e+U+e+e}return e}var de=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case J:e.return=ue(e.value,e.length);break;case Y:return Q([E(e,{value:b(e.value,"@","@"+G)})],n);case X:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Q([E(e,{props:[b(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return Q([E(e,{props:[b(t,/:(plac\w+)/,":"+G+"input-$1")]}),E(e,{props:[b(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[b(t,/:(plac\w+)/,U+"input-$1")]})],n)}return""})}}],pe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var n,o,i=e.stylisPlugins||de,a={},s=[];n=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)a[t[r]]=!0;s.push(e)});var l,c,u,d,h=[ee,(d=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&d(e)})],f=(c=[le,ce].concat(i,h),u=_(c),function(e,t,r,n){for(var o="",i=0;i<u;i++)o+=c[i](e,t,r,n)||"";return o});o=function(e,t,r,n){l=r,Q(te(e?e+"{"+t.styles+"}":t.styles),f),n&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new p.v({key:t,container:n,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:o};return m.sheet.hydrate(s),m},he=r(790);const fe=new Map;function me(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,o=a.useMemo(()=>{const e=`${t}-${r}`;if("object"==typeof document&&fe.has(e))return fe.get(e);const n=function(e,t){const r=pe({key:"css",prepend:e});if(t){const e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}(t,r);return fe.set(e,n),n},[t,r]);return t||r?(0,he.jsx)(i.C,{value:o,children:n}):n}function ge(e){const{styles:t,defaultTheme:r={}}=e,n="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,he.jsx)(c,{styles:n})}function be(e,t){return(0,n.A)(e,t)}const ye=(e,t)=>{Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))},ve=[];function xe(e){return ve[0]=e,(0,o.J)(ve)}},2895:(e,t,r)=>{"use strict";let n=r(396),o=r(9371),i=r(7793),a=r(3614),s=r(5238),l=r(145),c=r(3438),u=r(1106),d=r(6966),p=r(1752),h=r(3152),f=r(9577),m=r(6846),g=r(3717),b=r(5644),y=r(1534),v=r(3303),x=r(38);function w(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new m(e)}w.plugin=function(e,t){let r,n=!1;function o(...r){console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let o=t(...r);return o.postcssPlugin=e,o.postcssVersion=(new m).version,o}return Object.defineProperty(o,"postcss",{get:()=>(r||(r=o()),r)}),o.process=function(e,t,r){return w([o(r)]).process(e,t)},o},w.stringify=v,w.parse=f,w.fromJSON=c,w.list=p,w.comment=e=>new o(e),w.atRule=e=>new n(e),w.decl=e=>new s(e),w.rule=e=>new y(e),w.root=e=>new b(e),w.document=e=>new l(e),w.CssSyntaxError=a,w.Declaration=s,w.Container=i,w.Processor=m,w.Document=l,w.Comment=o,w.Warning=x,w.AtRule=n,w.Result=g,w.Input=u,w.Rule=y,w.Root=b,w.Node=h,d.registerPostcss(w),e.exports=w,w.default=w},3072:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,y=r?Symbol.for("react.fundamental"):60117,v=r?Symbol.for("react.responder"):60118,x=r?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function _(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||w(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return w(e)===p},t.isFragment=function(e){return w(e)===i},t.isLazy=function(e){return w(e)===g},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===a},t.isSuspense=function(e){return w(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===y||e.$$typeof===v||e.$$typeof===x||e.$$typeof===b)},t.typeOf=w},3152:(e,t,r)=>{"use strict";let n=r(3614),o=r(7668),i=r(3303),{isClean:a,my:s}=r(4151);function l(e,t){let r=new e.constructor;for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;if("proxyCache"===n)continue;let o=e[n],i=typeof o;"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(e=>l(e,r)):("object"===i&&null!==o&&(o=l(o)),r[n]=o)}return r}function c(e,t){if(t&&void 0!==t.offset)return t.offset;let r=1,n=1,o=0;for(let i=0;i<e.length;i++){if(n===t.line&&r===t.column){o=i;break}"\n"===e[i]?(r=1,n+=1):r+=1}return o}class u{get proxyOf(){return this}constructor(e={}){this.raws={},this[a]=!1,this[s]=!0;for(let t in e)if("nodes"===t){this.nodes=[];for(let r of e[t])"function"==typeof r.clone?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=l(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:n}=this.rangeBy(t);return this.source.input.error(e,{column:n.column,line:n.line},{column:r.column,line:r.line},t)}return new n(e)}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[a]=!0}markDirty(){if(this[a]){this[a]=!1;let e=this;for(;e=e.parent;)e[a]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let r="document"in this.source.input?this.source.input.document:this.source.input.css,n=r.slice(c(r,this.source.start),c(r,this.source.end)).indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t}positionInside(e){let t=this.source.start.column,r=this.source.start.line,n="document"in this.source.input?this.source.input.document:this.source.input.css,o=c(n,this.source.start),i=o+e;for(let e=o;e<i;e++)"\n"===n[e]?(t=1,r+=1):t+=1;return{column:t,line:r,offset:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e={}){let t="document"in this.source.input?this.source.input.document:this.source.input.css,r={column:this.source.start.column,line:this.source.start.line,offset:c(t,this.source.start)},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:"number"==typeof this.source.end.offset?this.source.end.offset:c(t,this.source.end)+1}:{column:r.column+1,line:r.line,offset:r.offset+1};if(e.word){let o=t.slice(c(t,this.source.start),c(t,this.source.end)).indexOf(e.word);-1!==o&&(r=this.positionInside(o),n=this.positionInside(o+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line,offset:c(t,e.start)}:e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line,offset:c(t,e.end)}:"number"==typeof e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line,offset:r.offset+1}),{end:n,start:r}}raw(e,t){return(new o).raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);r||this.remove()}return this}root(){let e=this;for(;e.parent&&"document"!==e.parent.type;)e=e.parent;return e}toJSON(e,t){let r={},n=null==t;t=t||new Map;let o=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e))continue;if("parent"===e||"proxyCache"===e)continue;let n=this[e];if(Array.isArray(n))r[e]=n.map(e=>"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof n&&n.toJSON)r[e]=n.toJSON(null,t);else if("source"===e){if(null==n)continue;let i=t.get(n.input);null==i&&(i=o,t.set(n.input,o),o++),r[e]={end:n.end,inputId:i,start:n.start}}else r[e]=n}return n&&(r.inputs=[...t.keys()].map(e=>e.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,r={}){let n={node:this};for(let e in r)n[e]=r[e];return e.warn(t,n)}}e.exports=u,u.default=u},3168:(e,t,r)=>{"use strict";r.d(t,{A:()=>u,k:()=>l});var n=r(3226),o=r(9667),i=r(4734),a=r(435),s=r(4229);function l(){function e(e,t,r,o){const s={[e]:t,theme:r},l=o[e];if(!l)return{[e]:t};const{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};const h=(0,i.Yn)(r,u)||{};return p?p(s):(0,a.NI)(s,t,t=>{let r=(0,i.BO)(h,d,t);return t===r&&"string"==typeof t&&(r=(0,i.BO)(h,d,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===c?r:{[c]:r}})}return function t(r){var n;const{sx:i,theme:l={},nested:c}=r||{};if(!i)return null;const u=null!=(n=l.unstable_sxConfig)?n:s.A;function d(r){let n=r;if("function"==typeof r)n=r(l);else if("object"!=typeof r)return r;if(!n)return null;const i=(0,a.EU)(l.breakpoints),s=Object.keys(i);let d=i;return Object.keys(n).forEach(r=>{const i="function"==typeof(s=n[r])?s(l):s;var s;if(null!=i)if("object"==typeof i)if(u[r])d=(0,o.A)(d,e(r,i,l,u));else{const e=(0,a.NI)({theme:l},i,e=>({[r]:e}));!function(...e){const t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),r=new Set(t);return e.every(e=>r.size===Object.keys(e).length)}(e,i)?d=(0,o.A)(d,e):d[r]=t({sx:i,theme:l,nested:!0})}else d=(0,o.A)(d,e(r,i,l,u))}),!c&&l.modularCssLayers?{"@layer sx":(0,a.vf)(s,d)}:(0,a.vf)(s,d)}return Array.isArray(i)?i.map(d):d(i)}}const c=l();c.filterProps=["sx"];const u=c},3174:(e,t,r)=>{"use strict";r.d(t,{J:()=>g});var n={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,scale: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},o=r(6289),i=!1,a=/[A-Z]|^ms/g,s=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},u=(0,o.A)(function(e){return l(e)?e:e.replace(a,"-$&").toLowerCase()}),d=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(s,function(e,t,r){return f={name:t,styles:r,next:f},t})}return 1===n[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"},p="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function h(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var o=r;if(1===o.anim)return f={name:o.name,styles:o.styles,next:f},o.name;var a=r;if(void 0!==a.styles){var s=a.next;if(void 0!==s)for(;void 0!==s;)f={name:s.name,styles:s.styles,next:f},s=s.next;return a.styles+";"}return function(e,t,r){var n="";if(Array.isArray(r))for(var o=0;o<r.length;o++)n+=h(e,t,r[o])+";";else for(var a in r){var s=r[a];if("object"!=typeof s){var l=s;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":c(l)&&(n+=u(a)+":"+d(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&i)throw new Error(p);if(!Array.isArray(s)||"string"!=typeof s[0]||null!=t&&void 0!==t[s[0]]){var f=h(e,t,s);switch(a){case"animation":case"animationName":n+=u(a)+":"+f+";";break;default:n+=a+"{"+f+"}"}}else for(var m=0;m<s.length;m++)c(s[m])&&(n+=u(a)+":"+d(a,s[m])+";")}}return n}(e,t,r);case"function":if(void 0!==e){var l=f,m=r(e);return f=l,h(e,t,m)}}var g=r;if(null==t)return g;var b=t[g];return void 0!==b?b:g}var f,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function g(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var n=!0,o="";f=void 0;var i=e[0];null==i||void 0===i.raw?(n=!1,o+=h(r,t,i)):o+=i[0];for(var a=1;a<e.length;a++)o+=h(r,t,e[a]),n&&(o+=i[a]);m.lastIndex=0;for(var s,l="";null!==(s=m.exec(o));)l+="-"+s[1];var c=function(e){for(var t,r=0,n=0,o=e.length;o>=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:f}}},3226:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(5048);function o(e){if("string"!=typeof e)throw new Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},3303:(e,t,r)=>{"use strict";let n=r(7668);function o(e,t){new n(t).stringify(e)}e.exports=o,o.default=o},3404:(e,t,r)=>{"use strict";e.exports=r(3072)},3438:(e,t,r)=>{"use strict";let n=r(396),o=r(9371),i=r(5238),a=r(1106),s=r(3878),l=r(5644),c=r(1534);function u(e,t){if(Array.isArray(e))return e.map(e=>u(e));let{inputs:r,...d}=e;if(r){t=[];for(let e of r){let r={...e,__proto__:a.prototype};r.map&&(r.map={...r.map,__proto__:s.prototype}),t.push(r)}}if(d.nodes&&(d.nodes=e.nodes.map(e=>u(e,t))),d.source){let{inputId:e,...r}=d.source;d.source=r,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new i(d);if("rule"===d.type)return new c(d);if("comment"===d.type)return new o(d);if("atrule"===d.type)return new n(d);throw new Error("Unknown node type: "+e.type)}e.exports=u,u.default=u},3604:(e,t,r)=>{"use strict";let{dirname:n,relative:o,resolve:i,sep:a}=r(197),{SourceMapConsumer:s,SourceMapGenerator:l}=r(1866),{pathToFileURL:c}=r(2739),u=r(1106),d=Boolean(s&&l),p=Boolean(n&&i&&o&&a);e.exports=class{constructor(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,r=this.toUrl(this.path(e.file)),o=e.root||n(e.file);!1===this.mapOpts.sourcesContent?(t=new s(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,r,this.toUrl(this.path(o)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),p&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=l.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,r=1,n=1,o="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(a,s,l)=>{if(this.css+=a,s&&"end"!==l&&(i.generated.line=r,i.generated.column=n-1,s.source&&s.source.start?(i.source=this.sourcePath(s),i.original.line=s.source.start.line,i.original.column=s.source.start.column-1,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,this.map.addMapping(i))),t=a.match(/\n/g),t?(r+=t.length,e=a.lastIndexOf("\n"),n=a.length-e):n+=a.length,s&&"start"!==l){let e=s.parent||{raws:{}};("decl"===s.type||"atrule"===s.type&&!s.nodes)&&s===e.last&&!e.raws.semicolon||(s.source&&s.source.end?(i.source=this.sourcePath(s),i.original.line=s.source.end.line,i.original.column=s.source.end.column-1,i.generated.line=r,i.generated.column=n-2,this.map.addMapping(i)):(i.source=o,i.original.line=1,i.original.column=0,i.generated.line=r,i.generated.column=n-1,this.map.addMapping(i)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?n(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=n(i(r,this.mapOpts.annotation)));let a=o(r,e);return this.memoizedPaths.set(e,a),a}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new u(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let n=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(n,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(c){let t=c(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===a&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}}},3614:(e,t,r)=>{"use strict";let n=r(8633),o=r(9746);class i extends Error{constructor(e,t,r,n,o,a){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),a&&(this.plugin=a),void 0!==t&&void 0!==r&&("number"==typeof t?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=n.isColorSupported);let r=e=>e,i=e=>e,a=e=>e;if(e){let{bold:e,gray:t,red:s}=n.createColors(!0);i=t=>e(s(t)),r=e=>t(e),o&&(a=e=>o(e))}let s=t.split(/\r?\n/),l=Math.max(this.line-3,0),c=Math.min(this.line+2,s.length),u=String(c).length;return s.slice(l,c).map((e,t)=>{let n=l+1+t,o=" "+(" "+n).slice(-u)+" | ";if(n===this.line){if(e.length>160){let t=20,n=Math.max(0,this.column-t),s=Math.max(this.column+t,this.endColumn+t),l=e.slice(n,s),c=r(o.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+r(o)+a(l)+"\n "+c+i("^")}let t=r(o.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+r(o)+a(e)+"\n "+t+i("^")}return" "+r(o)+a(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=i,i.default=i},3717:(e,t,r)=>{"use strict";let n=r(38);class o{get content(){return this.css}constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new n(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>"warning"===e.type)}}e.exports=o,o.default=o},3878:(e,t,r)=>{"use strict";let{existsSync:n,readFileSync:o}=r(9977),{dirname:i,join:a}=r(197),{SourceMapConsumer:s,SourceMapGenerator:l}=r(1866);class c{constructor(e,t){if(!1===t.map)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=i(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new s(this.text)),this.consumerCache}decodeInline(e){let t=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(t)return decodeURIComponent(e.substr(t[0].length));let r=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(r)return n=e.substr(r[0].length),Buffer?Buffer.from(n,"base64").toString():window.atob(n);var n;let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}loadFile(e){if(this.root=i(e),n(e))return this.mapFile=e,o(e,"utf-8").toString().trim()}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof s)return l.fromSourceMap(t).toString();if(t instanceof l)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let r=t(e);if(r){let e=this.loadFile(r);if(!e)throw new Error("Unable to load previous source map: "+r.toString());return e}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;return e&&(t=a(i(e),t)),this.loadFile(t)}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=c,c.default=c},4146:(e,t,r)=>{"use strict";var n=r(3404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(f){var o=h(r);o&&o!==f&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g<a.length;++g){var b=a[g];if(!(i[b]||n&&n[b]||m&&m[b]||s&&s[b])){var y=p(r,b);try{c(t,b,y)}catch(e){}}}}return t}},4151:e=>{"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},4211:(e,t,r)=>{"use strict";let n=r(3604),o=r(9577);const i=r(3717);let a=r(3303);r(6156);class s{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=o;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,r){let o;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s=a;this.result=new i(this._processor,o,this._opts),this.result.css=t;let l=this;Object.defineProperty(this.result,"root",{get:()=>l.root});let c=new n(s,o,this._opts,t);if(c.isMap()){let[e,t]=c.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else c.clearAnnotation(),this.result.css=c.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}e.exports=s,s.default=s},4229:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(1069),o=r(4734),i=r(9667);const a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var s=r(435);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),p=c("borderRight",l),h=c("borderBottom",l),f=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),b=c("borderRightColor"),y=c("borderBottomColor"),v=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),_=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};_.propTypes={},_.filterProps=["borderRadius"],a(u,d,p,h,f,m,g,b,y,v,_,x,w);const C=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};C.propTypes={},C.filterProps=["gap"];const k=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const S=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function j(e){return e<=1&&0!==e?100*e+"%":e}S.propTypes={},S.filterProps=["rowGap"],a(C,k,S,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const R=(0,o.Ay)({prop:"width",transform:j}),I=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:j(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};I.filterProps=["maxWidth"];const M=(0,o.Ay)({prop:"minWidth",transform:j}),E=(0,o.Ay)({prop:"height",transform:j}),T=(0,o.Ay)({prop:"maxHeight",transform:j}),O=(0,o.Ay)({prop:"minHeight",transform:j}),P=((0,o.Ay)({prop:"size",cssProperty:"width",transform:j}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:j}),a(R,I,M,E,T,O,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:C},rowGap:{style:S},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:I},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},4363:(e,t,r)=>{"use strict";r(2799)},4559:(e,t)=>{"use strict";Symbol.for("react.transitional.element"),Symbol.for("react.portal"),Symbol.for("react.fragment"),Symbol.for("react.strict_mode"),Symbol.for("react.profiler");Symbol.for("react.provider");Symbol.for("react.consumer"),Symbol.for("react.context");var r=Symbol.for("react.forward_ref"),n=(Symbol.for("react.suspense"),Symbol.for("react.suspense_list"),Symbol.for("react.memo"));Symbol.for("react.lazy"),Symbol.for("react.view_transition"),Symbol.for("react.client.reference");t.vM=r,t.lD=n},4634:e=>{function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4684:(e,t,r)=>{"use strict";r.d(t,{C:()=>c,E:()=>g,T:()=>d,c:()=>f,h:()=>p,w:()=>u});var n=r(1609),o=r(1568),i=r(41),a=r(3174),s=r(1287),l=n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null),c=l.Provider,u=function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(l);return e(t,o,r)})},d=n.createContext({}),p={}.hasOwnProperty,h="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",f=function(e,t){var r={};for(var n in t)p.call(t,n)&&(r[n]=t[n]);return r[h]=e,r},m=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,i.SF)(t,r,n),(0,s.s)(function(){return(0,i.sk)(t,r,n)}),null},g=u(function(e,t,r){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[h],l=[o],c="";"string"==typeof e.className?c=(0,i.Rk)(t.registered,l,e.className):null!=e.className&&(c=e.className+" ");var u=(0,a.J)(l,void 0,n.useContext(d));c+=t.key+"-"+u.name;var f={};for(var g in e)p.call(e,g)&&"css"!==g&&g!==h&&(f[g]=e[g]);return f.className=c,r&&(f.ref=r),n.createElement(n.Fragment,null,n.createElement(m,{cache:t,serialized:u,isStringTag:"string"==typeof s}),n.createElement(s,f))})},4708:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o,i;function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,u(n.key),n)}}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}function l(e){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},l(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function u(e){var t=function(e){if("object"!=n(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==n(t)?t:t+""}var d=r(1609),p=r(2697).createFocusTrap,h=r(9054).isFocusable,f=parseInt(null!==(o=null===(i=/^(\d+)\./.exec(d.version))||void 0===i?void 0:i[1])&&void 0!==o?o:0,10),m=function(e){function t(e){var r,o,i,a;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,r){(t=u(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r}((o=this,a=[e],i=l(i=t),r=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(o,s()?Reflect.construct(i,a||[],l(o).constructor):i.apply(o,a))),"getNodeForOption",function(e){var t,r=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];r=r.apply(void 0,o)}if(!0===r&&(r=void 0),!r){if(void 0===r||!1===r)return r;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a,s=r;if("string"==typeof r&&!(s=null===(a=this.getDocument())||void 0===a?void 0:a.querySelector(r)))throw new Error("`".concat(e,"` as selector refers to no known node"));return s}),r.handleDeactivate=r.handleDeactivate.bind(r),r.handlePostDeactivate=r.handlePostDeactivate.bind(r),r.handleClickOutsideDeactivates=r.handleClickOutsideDeactivates.bind(r),r.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:r.handleDeactivate,onPostDeactivate:r.handlePostDeactivate,clickOutsideDeactivates:r.handleClickOutsideDeactivates},r.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var c=e.focusTrapOptions;for(var d in c)Object.prototype.hasOwnProperty.call(c,d)&&("returnFocusOnDeactivate"!==d&&"onDeactivate"!==d&&"onPostDeactivate"!==d&&"checkCanReturnFocus"!==d&&"clickOutsideDeactivates"!==d?r.internalOptions[d]=c[d]:r.originalOptions[d]=c[d]);return r.outsideClick=null,r.focusTrapElements=e.containerElements||[],r.updatePreviousElement(),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}(t,e),r=t,(o=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),r=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||h(e.outsideClick.target,e.internalOptions.tabbableOptions))),n=e.internalOptions.preventScroll,o=void 0!==n&&n;r&&t.focus({preventScroll:o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=!e.active&&this.props.active,r=e.active&&!this.props.active,n=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(t&&(this.updatePreviousElement(),this.focusTrap.activate()),r)return void this.deactivateTrap();n&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?d.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===d.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return d.cloneElement(t,{ref:function(r){var n=e.props.containerElements;t&&(f>=19?"function"==typeof t.props.ref?t.props.ref(r):t.props.ref&&(t.props.ref.current=r):"function"==typeof t.ref?t.ref(r):t.ref&&(t.ref.current=r)),e.focusTrapElements=n||[r]}})}return null}}])&&a(r.prototype,o),Object.defineProperty(r,"prototype",{writable:!1}),r;var r,o}(d.Component);m.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:p},e.exports=m,e.exports.FocusTrap=m},4734:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var n=r(3226),o=r(435);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},4893:e=>{e.exports=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r},e.exports.__esModule=!0,e.exports.default=e.exports},4994:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5042:e=>{e.exports={nanoid:(e=21)=>{let t="",r=0|e;for(;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(r=t)=>{let n="",o=0|r;for(;o--;)n+=e[Math.random()*e.length|0];return n}}},5047:(e,t,r)=>{"use strict";r.d(t,{v:()=>n});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()},5048:(e,t,r)=>{"use strict";function n(e){let t="https://mui.com/production-error/?code="+e;for(let e=1;e<arguments.length;e+=1)t+="&args[]="+encodeURIComponent(arguments[e]);return"Minified MUI error #"+e+"; visit "+t+" for the full message."}r.d(t,{A:()=>n})},5238:(e,t,r)=>{"use strict";let n=r(3152);class o extends n{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}e.exports=o,o.default=o},5556:(e,t,r)=>{e.exports=r(2694)()},5644:(e,t,r)=>{"use strict";let n,o,i=r(7793);class a extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let n=super.normalize(e);if(t)if("prepend"===r)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of n)e.raws.before=t.raws.before;return n}removeChild(e,t){let r=this.index(e);return!t&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new n(new o,this,e).stringify()}}a.registerLazyResult=e=>{n=e},a.registerProcessor=e=>{o=e},e.exports=a,a.default=a,i.registerRoot(a)},5781:e=>{"use strict";const t="'".charCodeAt(0),r='"'.charCodeAt(0),n="\\".charCodeAt(0),o="/".charCodeAt(0),i="\n".charCodeAt(0),a=" ".charCodeAt(0),s="\f".charCodeAt(0),l="\t".charCodeAt(0),c="\r".charCodeAt(0),u="[".charCodeAt(0),d="]".charCodeAt(0),p="(".charCodeAt(0),h=")".charCodeAt(0),f="{".charCodeAt(0),m="}".charCodeAt(0),g=";".charCodeAt(0),b="*".charCodeAt(0),y=":".charCodeAt(0),v="@".charCodeAt(0),x=/[\t\n\f\r "#'()/;[\\\]{}]/g,w=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,_=/.[\r\n"'(/\\]/,C=/[\da-f]/i;e.exports=function(e,k={}){let S,A,j,R,I,M,E,T,O,P,L=e.css.valueOf(),z=k.ignoreErrors,N=L.length,F=0,D=[],B=[];function $(t){throw e.error("Unclosed "+t,F)}return{back:function(e){B.push(e)},endOfFile:function(){return 0===B.length&&F>=N},nextToken:function(e){if(B.length)return B.pop();if(F>=N)return;let k=!!e&&e.ignoreUnclosed;switch(S=L.charCodeAt(F),S){case i:case a:case l:case c:case s:R=F;do{R+=1,S=L.charCodeAt(R)}while(S===a||S===i||S===l||S===c||S===s);M=["space",L.slice(F,R)],F=R-1;break;case u:case d:case f:case m:case y:case g:case h:{let e=String.fromCharCode(S);M=[e,e,F];break}case p:if(P=D.length?D.pop()[1]:"",O=L.charCodeAt(F+1),"url"===P&&O!==t&&O!==r&&O!==a&&O!==i&&O!==l&&O!==s&&O!==c){R=F;do{if(E=!1,R=L.indexOf(")",R+1),-1===R){if(z||k){R=F;break}$("bracket")}for(T=R;L.charCodeAt(T-1)===n;)T-=1,E=!E}while(E);M=["brackets",L.slice(F,R+1),F,R],F=R}else R=L.indexOf(")",F+1),A=L.slice(F,R+1),-1===R||_.test(A)?M=["(","(",F]:(M=["brackets",A,F,R],F=R);break;case t:case r:I=S===t?"'":'"',R=F;do{if(E=!1,R=L.indexOf(I,R+1),-1===R){if(z||k){R=F+1;break}$("string")}for(T=R;L.charCodeAt(T-1)===n;)T-=1,E=!E}while(E);M=["string",L.slice(F,R+1),F,R],F=R;break;case v:x.lastIndex=F+1,x.test(L),R=0===x.lastIndex?L.length-1:x.lastIndex-2,M=["at-word",L.slice(F,R+1),F,R],F=R;break;case n:for(R=F,j=!0;L.charCodeAt(R+1)===n;)R+=1,j=!j;if(S=L.charCodeAt(R+1),j&&S!==o&&S!==a&&S!==i&&S!==l&&S!==c&&S!==s&&(R+=1,C.test(L.charAt(R)))){for(;C.test(L.charAt(R+1));)R+=1;L.charCodeAt(R+1)===a&&(R+=1)}M=["word",L.slice(F,R+1),F,R],F=R;break;default:S===o&&L.charCodeAt(F+1)===b?(R=L.indexOf("*/",F+2)+1,0===R&&(z||k?R=L.length:$("comment")),M=["comment",L.slice(F,R+1),F,R],F=R):(w.lastIndex=F+1,w.test(L),R=0===w.lastIndex?L.length-1:w.lastIndex-2,M=["word",L.slice(F,R+1),F,R],D.push(M),F=R)}return F++,M},position:function(){return F}}}},5888:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>m,private_createBreakpoints:()=>l,unstable_applyStyles:()=>h});var n=r(8168),o=r(8587),i=r(766);const a=["values","unit","step"],s=e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,n.A)({},e,{[t.key]:t.val}),{})};function l(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5}=e,l=(0,o.A)(e,a),c=s(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-i/100}${r})`}function h(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-i/100}${r})`}return(0,n.A)({keys:u,values:c,up:d,down:p,between:h,only:function(e){return u.indexOf(e)+1<u.length?h(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):h(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}const c={borderRadius:4};var u=r(2350),d=r(73),p=r(9222);function h(e,t){const r=this;if(r.vars&&"function"==typeof r.getColorSchemeSelector){const n=r.getColorSchemeSelector(e).replace(/(\[[^\]]+\])/,"*:where($1)");return{[n]:t}}return r.palette.mode===e?t:{}}const f=["breakpoints","palette","spacing","shape"],m=function(e={},...t){const{breakpoints:r={},palette:a={},spacing:s,shape:m={}}=e,g=(0,o.A)(e,f),b=l(r),y=function(e=8){if(e.mui)return e;const t=(0,u.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(s);let v=(0,i.A)({breakpoints:b,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},a),spacing:y,shape:(0,n.A)({},c,m)},g);return v.applyStyles=h,v=t.reduce((e,t)=>(0,i.A)(e,t),v),v.unstable_sxConfig=(0,n.A)({},p.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,d.A)({sx:e,theme:this})},v}},6032:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>i});var n=r(8168),o=r(1609);function i(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function a(e){if(o.isValidElement(e)||!i(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=a(e[r])}),t}function s(e,t,r={clone:!0}){const l=r.clone?(0,n.A)({},e):e;return i(e)&&i(t)&&Object.keys(t).forEach(n=>{o.isValidElement(t[n])?l[n]=t[n]:i(t[n])&&Object.prototype.hasOwnProperty.call(e,n)&&i(e[n])?l[n]=s(e[n],t[n],r):r.clone?l[n]=i(t[n])?a(t[n]):t[n]:l[n]=t[n]}),l}},6105:function(e){e.exports=function(){function e(){return(e=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}var t={ignoreId:!1},r="undefined"!=typeof Node,n=r?Node.ELEMENT_NODE:1,o=r?Node.TEXT_NODE:3,i=r?Node.DOCUMENT_TYPE_NODE:10;return function(r,a){var s=e({},t,a),l=r;if(l&&l.id&&!s.ignoreId)return'//*[@id="'+l.id+'"]';for(var c=[];l&&(n===l.nodeType||o===l.nodeType);){for(var u=0,d=!1,p=l.previousSibling;p;)p.nodeType!==i&&p.nodeName===l.nodeName&&u++,p=p.previousSibling;for(p=l.nextSibling;p;){if(p.nodeName===l.nodeName){d=!0;break}p=p.nextSibling}var h=u||d?"["+(u+1)+"]":"";c.push(l.nodeType!=o?(l.prefix?l.prefix+":":"")+l.localName+h:"text()"+(h||"[1]")),l=l.parentNode}return c.length?"/"+c.reverse().join("/"):""}}()},6156:e=>{"use strict";let t={};e.exports=function(e){t[e]||(t[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},6289:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},6446:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(766);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},6632:(e,t,r)=>{"use strict";r.d(t,{C:()=>a,T:()=>l,w:()=>s});var n=r(1609),o=r(6810),i=(r(3174),r(1287),n.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null)),a=i.Provider,s=function(e){return(0,n.forwardRef)(function(t,r){var o=(0,n.useContext)(i);return e(t,o,r)})},l=n.createContext({})},6655:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=m,rootShouldForwardProp:n=f,slotShouldForwardProp:l=f}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:b((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:d,slot:h,skipVariantsResolver:m,skipSx:x,overridesResolver:w=y(g(h))}=c,_=(0,i.default)(c,p),C=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,k=x||!1;let S=f;"Root"===h||"root"===h?S=n:h?S=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(S=void 0);const A=(0,a.default)(e,(0,o.default)({shouldForwardProp:S,label:void 0},_)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>v(e,(0,o.default)({},n,{theme:b({theme:n.theme,defaultTheme:r,themeId:t})})):e,R=(n,...i)=>{let a=j(n);const s=i?i.map(j):[];d&&w&&s.push(e=>{const n=b((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const i=n.components[d].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=v(r,(0,o.default)({},e,{theme:n}))}),w(e,a)}),d&&!C&&s.push(e=>{var n;const i=b((0,o.default)({},e,{defaultTheme:r,themeId:t}));return v({variants:null==i||null==(n=i.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:i}))}),k||s.push(u);const l=s.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=A(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(R.withConfig=A.withConfig),R}};var o=n(r(4634)),i=n(r(4893)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(2833)),s=r(120),l=(n(r(1560)),n(r(7503)),n(r(5888))),c=n(r(9569));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}const m=(0,l.default)(),g=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function b({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function y(e){return e?(t,r)=>r[e]:null}function v(e,t){let{ownerState:r}=t,n=(0,i.default)(t,u);const a="function"==typeof e?e((0,o.default)({ownerState:r},n)):e;if(Array.isArray(a))return a.flatMap(e=>v(e,(0,o.default)({ownerState:r},n)));if(a&&"object"==typeof a&&Array.isArray(a.variants)){const{variants:e=[]}=a;let t=(0,i.default)(a,d);return e.forEach(e=>{let i=!0;"function"==typeof e.props?i=e.props((0,o.default)({ownerState:r},n,r)):Object.keys(e.props).forEach(t=>{(null==r?void 0:r[t])!==e.props[t]&&n[t]!==e.props[t]&&(i=!1)}),i&&(Array.isArray(t)||(t=[t]),t.push("function"==typeof e.style?e.style((0,o.default)({ownerState:r},n,r)):e.style))}),t}return a}},6673:e=>{function t(){return new DOMException("The request is not allowed","NotAllowedError")}e.exports=async function(e){try{await async function(e){if(!navigator.clipboard)throw t();return navigator.clipboard.writeText(e)}(e)}catch(r){try{await async function(e){const r=document.createElement("span");r.textContent=e,r.style.whiteSpace="pre",r.style.webkitUserSelect="auto",r.style.userSelect="all",document.body.appendChild(r);const n=window.getSelection(),o=window.document.createRange();n.removeAllRanges(),o.selectNode(r),n.addRange(o);let i=!1;try{i=window.document.execCommand("copy")}finally{n.removeAllRanges(),window.document.body.removeChild(r)}if(!i)throw t()}(e)}catch(e){throw e||r||t()}}}},6810:(e,t,r)=>{"use strict";r.d(t,{A:()=>ne});var n=r(5047),o=Math.abs,i=String.fromCharCode,a=Object.assign;function s(e){return e.trim()}function l(e,t,r){return e.replace(t,r)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,r){return e.slice(t,r)}function p(e){return e.length}function h(e){return e.length}function f(e,t){return t.push(e),e}var m=1,g=1,b=0,y=0,v=0,x="";function w(e,t,r,n,o,i,a){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:m,column:g,length:a,return:""}}function _(e,t){return a(w("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return v=y>0?u(x,--y):0,g--,10===v&&(g=1,m--),v}function k(){return v=y<b?u(x,y++):0,g++,10===v&&(g=1,m++),v}function S(){return u(x,y)}function A(){return y}function j(e,t){return d(x,e,t)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function I(e){return m=g=1,b=p(x=e),y=0,[]}function M(e){return x="",e}function E(e){return s(j(y-1,P(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(v=S())&&v<33;)k();return R(e)>2||R(v)>3?"":" "}function O(e,t){for(;--t&&k()&&!(v<48||v>102||v>57&&v<65||v>70&&v<97););return j(e,A()+(t<6&&32==S()&&32==k()))}function P(e){for(;k();)switch(v){case e:return y;case 34:case 39:34!==e&&39!==e&&P(v);break;case 40:41===e&&P(e);break;case 92:k()}return y}function L(e,t){for(;k()&&e+v!==57&&(e+v!==84||47!==S()););return"/*"+j(t,y-1)+"*"+i(47===e?e:k())}function z(e){for(;!R(S());)k();return j(e,y)}var N="-ms-",F="-moz-",D="-webkit-",B="comm",$="rule",H="decl",W="@keyframes";function V(e,t){for(var r="",n=h(e),o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function q(e,t,r,n){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case H:return e.return=e.return||e.value;case B:return"";case W:return e.return=e.value+"{"+V(e.children,n)+"}";case $:e.value=e.props.join(",")}return p(r=V(e.children,n))?e.return=e.value+"{"+r+"}":""}function U(e){return M(Z("",null,null,null,[""],e=I(e),0,[0],e))}function Z(e,t,r,n,o,a,s,d,h){for(var m=0,g=0,b=s,y=0,v=0,x=0,w=1,_=1,j=1,R=0,I="",M=o,P=a,N=n,F=I;_;)switch(x=R,R=k()){case 40:if(108!=x&&58==u(F,b-1)){-1!=c(F+=l(E(R),"&","&\f"),"&\f")&&(j=-1);break}case 34:case 39:case 91:F+=E(R);break;case 9:case 10:case 13:case 32:F+=T(x);break;case 92:F+=O(A()-1,7);continue;case 47:switch(S()){case 42:case 47:f(K(L(k(),A()),t,r),h);break;default:F+="/"}break;case 123*w:d[m++]=p(F)*j;case 125*w:case 59:case 0:switch(R){case 0:case 125:_=0;case 59+g:-1==j&&(F=l(F,/\f/g,"")),v>0&&p(F)-b&&f(v>32?X(F+";",n,r,b-1):X(l(F," ","")+";",n,r,b-2),h);break;case 59:F+=";";default:if(f(N=G(F,t,r,m,g,o,d,I,M=[],P=[],b),a),123===R)if(0===g)Z(F,t,N,N,M,a,b,d,P);else switch(99===y&&110===u(F,3)?100:y){case 100:case 108:case 109:case 115:Z(e,N,N,n&&f(G(e,N,N,0,0,o,d,I,o,M=[],b),P),o,P,b,d,n?M:P);break;default:Z(F,N,N,N,[""],P,0,d,P)}}m=g=v=0,w=j=1,I=F="",b=s;break;case 58:b=1+p(F),v=x;default:if(w<1)if(123==R)--w;else if(125==R&&0==w++&&125==C())continue;switch(F+=i(R),R*w){case 38:j=g>0?1:(F+="\f",-1);break;case 44:d[m++]=(p(F)-1)*j,j=1;break;case 64:45===S()&&(F+=E(k())),y=S(),g=b=p(I=F+=z(A())),R++;break;case 45:45===x&&2==p(F)&&(w=0)}}return a}function G(e,t,r,n,i,a,c,u,p,f,m){for(var g=i-1,b=0===i?a:[""],y=h(b),v=0,x=0,_=0;v<n;++v)for(var C=0,k=d(e,g+1,g=o(x=c[v])),S=e;C<y;++C)(S=s(x>0?b[C]+" "+k:l(k,/&\f/g,b[C])))&&(p[_++]=S);return w(e,t,r,0===i?$:u,p,f,m)}function K(e,t,r){return w(e,t,r,B,i(v),d(e,2,-2),0)}function X(e,t,r,n){return w(e,t,r,H,d(e,0,n),d(e,n+1,-1),n)}var J=function(e,t,r){for(var n=0,o=0;n=o,o=S(),38===n&&12===o&&(t[r]=1),!R(o);)k();return j(e,y)},Y=new WeakMap,Q=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Y.get(r))&&!n){Y.set(e,!0);for(var o=[],a=function(e,t){return M(function(e,t){var r=-1,n=44;do{switch(R(n)){case 0:38===n&&12===S()&&(t[r]=1),e[r]+=J(y-1,t,r);break;case 2:e[r]+=E(n);break;case 4:if(44===n){e[++r]=58===S()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=i(n)}}while(n=k());return e}(I(e),t))}(t,o),s=r.props,l=0,c=0;l<a.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?a[l].replace(/&\f/g,s[u]):s[u]+" "+a[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return D+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return D+e+F+e+N+e+e;case 6828:case 4268:return D+e+N+e+e;case 6165:return D+e+N+"flex-"+e+e;case 5187:return D+e+l(e,/(\w+).+(:[^]+)/,D+"box-$1$2"+N+"flex-$1$2")+e;case 5443:return D+e+N+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return D+e+N+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return D+e+N+l(e,"shrink","negative")+e;case 5292:return D+e+N+l(e,"basis","preferred-size")+e;case 6060:return D+"box-"+l(e,"-grow","")+D+e+N+l(e,"grow","positive")+e;case 4554:return D+l(e,/([^-])(transform)/g,"$1"+D+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+N+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,D+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+F+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+D)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(e,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+N+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return D+e+N+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return D+e+N+e+e}return e}var re=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case H:e.return=te(e.value,e.length);break;case W:return V([_(e,{value:l(e.value,"@","@"+D)})],n);case $:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return V([_(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return V([_(e,{props:[l(t,/:(plac\w+)/,":"+D+"input-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),_(e,{props:[l(t,/:(plac\w+)/,N+"input-$1")]})],n)}return""})}}],ne=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var o,i,a=e.stylisPlugins||re,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)s[t[r]]=!0;l.push(e)});var c,u,d,p,f=[q,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[Q,ee].concat(a,f),d=h(u),function(e,t,r,n){for(var o="",i=0;i<d;i++)o+=u[i](e,t,r,n)||"";return o});i=function(e,t,r,n){c=r,V(U(e?e+"{"+t.styles+"}":t.styles),m),n&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new n.v({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(l),g}},6846:(e,t,r)=>{"use strict";let n=r(145),o=r(6966),i=r(4211),a=r(5644);class s{constructor(e=[]){this.version="8.5.6",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(!0===r.postcss?r=r():r.postcss&&(r=r.postcss),"object"==typeof r&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if("object"==typeof r&&r.postcssPlugin)t.push(r);else if("function"==typeof r)t.push(r);else if("object"!=typeof r||!r.parse&&!r.stringify)throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new o(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=s,s.default=s,a.registerProcessor(s),n.registerProcessor(s)},6920:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(8168),o=r(8587),i=r(6032),a=r(7673);const s={borderRadius:4};var l=r(1069),c=r(3168),u=r(4229),d=r(851);const p=["breakpoints","palette","spacing","shape"],h=function(e={},...t){const{breakpoints:r={},palette:h={},spacing:f,shape:m={}}=e,g=(0,o.A)(e,p),b=(0,a.A)(r),y=function(e=8){if(e.mui)return e;const t=(0,l.LX)({spacing:e}),r=(...e)=>(0===e.length?[1]:e).map(e=>{const r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}(f);let v=(0,i.A)({breakpoints:b,direction:"ltr",components:{},palette:(0,n.A)({mode:"light"},h),spacing:y,shape:(0,n.A)({},s,m)},g);return v.applyStyles=d.A,v=t.reduce((e,t)=>(0,i.A)(e,t),v),v.unstable_sxConfig=(0,n.A)({},u.A,null==g?void 0:g.unstable_sxConfig),v.unstable_sx=function(e){return(0,c.A)({sx:e,theme:this})},v}},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6950:(e,t,r)=>{"use strict";var n=r(4994);t.X4=function(e,t){return e=s(e),t=a(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,l(e)},t.e$=u,t.tL=function(e,t=.15){return c(e)>.5?u(e,t):d(e,t)},t.eM=function(e,t){const r=c(e),n=c(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)},t.a=d;var o=n(r(9517)),i=n(r(7783));function a(e,t=0,r=1){return(0,i.default)(e,t,r)}function s(e){if(e.type)return e;if("#"===e.charAt(0))return s(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,o.default)(9,e));let n,i=e.substring(t+1,e.length-1);if("color"===r){if(i=i.split(" "),n=i.shift(),4===i.length&&"/"===i[3].charAt(0)&&(i[3]=i[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,o.default)(10,n))}else i=i.split(",");return i=i.map(e=>parseFloat(e)),{type:r,values:i,colorSpace:n}}function l(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function c(e){let t="hsl"===(e=s(e)).type||"hsla"===e.type?s(function(e){e=s(e);const{values:t}=e,r=t[0],n=t[1]/100,o=t[2]/100,i=n*Math.min(o,1-o),a=(e,t=(e+r/30)%12)=>o-i*Math.max(Math.min(t-3,9-t,1),-1);let c="rgb";const u=[Math.round(255*a(0)),Math.round(255*a(8)),Math.round(255*a(4))];return"hsla"===e.type&&(c+="a",u.push(t[3])),l({type:c,values:u})}(e)).values:e.values;return t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function u(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return l(e)}function d(e,t){if(e=s(e),t=a(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return l(e)}},6966:(e,t,r)=>{"use strict";let n=r(7793),o=r(145),i=r(3604),a=r(9577),s=r(3717),l=r(5644),c=r(3303),{isClean:u,my:d}=r(4151);r(6156);const p={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},f={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function g(e){let t=!1,r=p[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function b(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:g(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function y(e){return e[u]=!1,e.nodes&&e.nodes.forEach(e=>y(e)),e}let v={};class x{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,r){let o;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof s)o=y(t.root),t.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let e=a;r.syntax&&(e=r.syntax.parse),r.parser&&(e=r.parser),e.parse&&(e=e.parse);try{o=e(t,r)}catch(e){this.processed=!0,this.error=e}o&&!o[d]&&n.rebuild(o)}else o=y(t);this.result=new s(e,o,r),this.helpers={...v,postcss:v,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,r)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,r])};for(let t of this.plugins)if("object"==typeof t)for(let r in t){if(!h[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!f[r])if("object"==typeof t[r])for(let n in t[r])e(t,"*"===n?r:r+"-"+n.toLowerCase(),t[r][n]);else"function"==typeof t[r]&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(m(r))try{await r}catch(e){throw this.handleError(e)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];){e[u]=!0;let t=[b(e)];for(;t.length>0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let r=t[t.length-1].node;throw this.handleError(e,r)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>r(e,this.helpers));await Promise.all(t)}else await r(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=c;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let r=new i(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins)if(m(this.runOnRoot(e)))throw this.getAsyncError();if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[u];)e[u]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,n]of e){let e;this.result.lastPlugin=r;try{e=n(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:n}=t;if("root"!==r.type&&"document"!==r.type&&!r.parent)return void e.pop();if(n.length>0&&t.visitorIndex<n.length){let[e,o]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=e;try{return o(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){let n,o=t.iterator;for(;n=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!n[u])return n[u]=!0,void e.push(b(n));t.iterator=0,delete r.indexes[o]}let o=t.events;for(;t.eventIndex<o.length;){let e=o[t.eventIndex];if(t.eventIndex+=1,0===e)return void(r.nodes&&r.nodes.length&&(r[u]=!0,t.iterator=r.getIterator()));if(this.listeners[e])return void(t.visitors=this.listeners[e])}e.pop()}walkSync(e){e[u]=!0;let t=g(e);for(let r of t)if(0===r)e.nodes&&e.each(e=>{e[u]||this.walkSync(e)});else{let t=this.listeners[r];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}x.registerPostcss=e=>{v=e},e.exports=x,x.default=x,l.registerLazyResult(x),o.registerLazyResult(x)},7272:(e,t,r)=>{"use strict";var n=r(4994);t.Ay=function(e={}){const{themeId:t,defaultTheme:r=g,rootShouldForwardProp:n=f,slotShouldForwardProp:l=f}=e,u=e=>(0,c.default)((0,o.default)({},e,{theme:y((0,o.default)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,c={})=>{(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:d,slot:h,skipVariantsResolver:m,skipSx:g,overridesResolver:w=v(b(h))}=c,_=(0,i.default)(c,p),C=d&&d.startsWith("Mui")||h?"components":"custom",k=void 0!==m?m:h&&"Root"!==h&&"root"!==h||!1,S=g||!1;let A=f;"Root"===h||"root"===h?A=n:h?A=l:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(A=void 0);const j=(0,a.default)(e,(0,o.default)({shouldForwardProp:A,label:void 0},_)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,s.isPlainObject)(e)?n=>{const i=y({theme:n.theme,defaultTheme:r,themeId:t});return x(e,(0,o.default)({},n,{theme:i}),i.modularCssLayers?C:void 0)}:e,I=(n,...i)=>{let a=R(n);const s=i?i.map(R):[];d&&w&&s.push(e=>{const n=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[d]||!n.components[d].styleOverrides)return null;const i=n.components[d].styleOverrides,a={};return Object.entries(i).forEach(([t,r])=>{a[t]=x(r,(0,o.default)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),w(e,a)}),d&&!k&&s.push(e=>{var n;const i=y((0,o.default)({},e,{defaultTheme:r,themeId:t}));return x({variants:null==i||null==(n=i.components)||null==(n=n[d])?void 0:n.variants},(0,o.default)({},e,{theme:i}),i.modularCssLayers?"theme":void 0)}),S||s.push(u);const l=s.length-i.length;if(Array.isArray(n)&&l>0){const e=new Array(l).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const c=j(a,...s);return e.muiName&&(c.muiName=e.muiName),c};return j.withConfig&&(I.withConfig=j.withConfig),I}};var o=n(r(4634)),i=n(r(4893)),a=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=h(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(1032)),s=r(2454),l=(n(r(834)),n(r(9469)),n(r(8705))),c=n(r(9558));const u=["ownerState"],d=["variants"],p=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function h(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(h=function(e){return e?r:t})(e)}function f(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function m(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const g=(0,l.default)(),b=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function y({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function v(e){return e?(t,r)=>r[e]:null}function x(e,t,r){let{ownerState:n}=t,s=(0,i.default)(t,u);const l="function"==typeof e?e((0,o.default)({ownerState:n},s)):e;if(Array.isArray(l))return l.flatMap(e=>x(e,(0,o.default)({ownerState:n},s),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){const{variants:e=[]}=l;let t=(0,i.default)(l,d);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,o.default)({ownerState:n},s,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&s[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,o.default)({ownerState:n},s,n)):e.style;t.push(r?m((0,a.internal_serializeStyles)(i),r):i)}}),t}return r?m((0,a.internal_serializeStyles)(l),r):l}},7437:(e,t,r)=>{"use strict";r.d(t,{AH:()=>p,i7:()=>h,mL:()=>d});var n,o,i=r(4684),a=r(1609),s=r(41),l=r(1287),c=r(3174),u=(r(1568),r(4146),function(e,t){var r=arguments;if(null==t||!i.h.call(t,"css"))return a.createElement.apply(void 0,r);var n=r.length,o=new Array(n);o[0]=i.E,o[1]=(0,i.c)(e,t);for(var s=2;s<n;s++)o[s]=r[s];return a.createElement.apply(null,o)});n=u||(u={}),o||(o=n.JSX||(n.JSX={}));var d=(0,i.w)(function(e,t){var r=e.styles,n=(0,c.J)([r],void 0,a.useContext(i.T)),o=a.useRef();return(0,l.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),i=!1,a=document.querySelector('style[data-emotion="'+e+" "+n.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==a&&(i=!0,a.setAttribute("data-emotion",e),r.hydrate([a])),o.current=[r,i],function(){r.flush()}},[t]),(0,l.i)(function(){var e=o.current,r=e[0];if(e[1])e[1]=!1;else{if(void 0!==n.next&&(0,s.sk)(t,n.next,!0),r.tags.length){var i=r.tags[r.tags.length-1].nextElementSibling;r.before=i,r.flush()}t.insert("",n,r,!1)}},[t,n.name]),null});function p(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,c.J)(t)}function h(){var e=p.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},7503:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>i});var n=r(4559);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return s(e,e.render,"ForwardRef");case n.lD:return s(e,e.type,"memo");default:return}}}},7601:(e,t,r)=>{"use strict";r.d(t,{A:()=>i}),r(1609);var n=r(7437),o=r(790);function i(e){const{styles:t,defaultTheme:r={}}=e,i="function"==typeof t?e=>{return t(null==(n=e)||0===Object.keys(n).length?r:e);var n}:t;return(0,o.jsx)(n.mL,{styles:i})}},7668:e=>{"use strict";const t={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class r{constructor(e){this.builder=e}atrule(e,t){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let o=(e.raws.between||"")+(t?";":"");this.builder(r+n+o,e)}}beforeAfter(e,t){let r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let n=e.parent,o=0;for(;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e<o;e++)r+=t}return r}block(e,t){let r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")}body(e){let t=e.nodes.length-1;for(;t>0&&"comment"===e.nodes[t].type;)t-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let o=e.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==n||r)}}comment(e){let t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}document(e){this.body(e)}raw(e,r,n){let o;if(n||(n=r),r&&(o=e.raws[r],void 0!==o))return o;let i=e.parent;if("before"===n){if(!i||"root"===i.type&&i.first===e)return"";if(i&&"document"===i.type)return""}if(!i)return t[n];let a=e.root();if(a.rawCache||(a.rawCache={}),void 0!==a.rawCache[n])return a.rawCache[n];if("before"===n||"after"===n)return this.beforeAfter(e,n);{let t="raw"+((s=n)[0].toUpperCase()+s.slice(1));this[t]?o=this[t](a,e):a.walk(e=>{if(o=e.raws[r],void 0!==o)return!1})}var s;return void 0===o&&(o=t[n]),a.rawCache[n]=o,o}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let r;return e.walkComments(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(e=>{if(void 0!==e.raws.before)return r=e.raws.before,r.includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return t=r.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){let e=r.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawValue(e,t){let r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=r,r.default=r},7673:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(8587),o=r(8168);const i=["values","unit","step"],a=e=>{const t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>(0,o.A)({},e,{[t.key]:t.val}),{})};function s(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:s=5}=e,l=(0,n.A)(e,i),c=a(t),u=Object.keys(c);function d(e){return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r})`}function p(e){return`@media (max-width:${("number"==typeof t[e]?t[e]:e)-s/100}${r})`}function h(e,n){const o=u.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==o&&"number"==typeof t[u[o]]?t[u[o]]:n)-s/100}${r})`}return(0,o.A)({keys:u,values:c,up:d,down:p,between:h,only:function(e){return u.indexOf(e)+1<u.length?h(e,u[u.indexOf(e)+1]):d(e)},not:function(e){const t=u.indexOf(e);return 0===t?d(u[1]):t===u.length-1?p(u[t]):h(e,u[u.indexOf(e)+1]).replace("@media","@media not all and")},unit:r},l)}},7783:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(9056)},7793:(e,t,r)=>{"use strict";let n,o,i,a,s=r(9371),l=r(5238),c=r(3152),{isClean:u,my:d}=r(4151);function p(e){return e.map(e=>(e.nodes&&(e.nodes=p(e.nodes)),delete e.source,e))}function h(e){if(e[u]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)h(t)}class f extends c{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,r,n=this.getIterator();for(;this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],r=e(this.proxyOf.nodes[t],t),!1!==r);)this.indexes[n]+=1;return delete this.indexes[n],r}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get:(e,t)=>"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...r)=>e[t](...r.map(e=>"function"==typeof e?(t,r)=>e(t.toProxy(),r):e)):"every"===t||"some"===t?r=>e[t]((e,...t)=>r(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,r)=>(e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r,n=this.index(e),o=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let e of o)this.proxyOf.nodes.splice(n+1,0,e);for(let e in this.indexes)r=this.indexes[e],n<r&&(this.indexes[e]=r+o.length);return this.markDirty(),this}insertBefore(e,t){let r,n=this.index(e),o=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],o).reverse();n=this.index(e);for(let e of i)this.proxyOf.nodes.splice(n,0,e);for(let e in this.indexes)r=this.indexes[e],n<=r&&(this.indexes[e]=r+i.length);return this.markDirty(),this}normalize(e,t){if("string"==typeof e)e=p(o(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e)){e=e.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if("root"===e.type&&"document"!==this.type){e=e.nodes.slice(0);for(let t of e)t.parent&&t.parent.removeChild(t,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new l(e)]}else if(e.selector||e.selectors)e=[new a(e)];else if(e.name)e=[new n(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new s(e)]}return e.map(e=>(e[d]||f.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[u]&&h(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk((r,n)=>{if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("atrule"===e.type)return t(e,r)}))}walkComments(e){return this.walk((t,r)=>{if("comment"===t.type)return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk((r,n)=>{if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("decl"===e.type)return t(e,r)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,n)=>{if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk((r,n)=>{if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk((e,r)=>{if("rule"===e.type)return t(e,r)}))}}f.registerParse=e=>{o=e},f.registerRule=e=>{a=e},f.registerAtRule=e=>{n=e},f.registerRoot=e=>{i=e},e.exports=f,f.default=f,f.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,n.prototype):"rule"===e.type?Object.setPrototypeOf(e,a.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,s.prototype):"root"===e.type&&Object.setPrototypeOf(e,i.prototype),e[d]=!0,e.nodes&&e.nodes.forEach(e=>{f.rebuild(e)})}},7807:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>a,Yn:()=>i});var n=r(773),o=r(1566);function i(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){const r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function a(e,t,r,n=r){let o;return o="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:i(e,r)||n,t&&(o=t(o,n,e)),o}const s=function(e){const{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;const c=e[t],u=i(e.theme,s)||{};return(0,o.NI)(e,c,e=>{let o=a(u,l,e);return e===o&&"string"==typeof e&&(o=a(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r?o:{[r]:o}})};return c.propTypes={},c.filterProps=[t],c}},7946:(e,t,r)=>{"use strict";t.A=void 0;var n=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=o?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(1609)),o=r(1032);function i(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}t.A=function(e=null){const t=n.useContext(o.ThemeContext);return t&&(r=t,0!==Object.keys(r).length)?t:e;var r}},8168:(e,t,r)=>{"use strict";function n(){return n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},n.apply(null,arguments)}r.d(t,{A:()=>n})},8339:(e,t,r)=>{"use strict";let n=r(396),o=r(9371),i=r(5238),a=r(5644),s=r(1534),l=r(5781);const c={empty:!0,space:!0};e.exports=class{constructor(e){this.input=e,this.root=new a,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t,r,o,i=new n;i.name=e[1].slice(1),""===i.name&&this.unnamedAtrule(i,e),this.init(i,e[2]);let a=!1,s=!1,l=[],c=[];for(;!this.tokenizer.endOfFile();){if(t=(e=this.tokenizer.nextToken())[0],"("===t||"["===t?c.push("("===t?")":"]"):"{"===t&&c.length>0?c.push("}"):t===c[c.length-1]&&c.pop(),0===c.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){s=!0;break}if("}"===t){if(l.length>0){for(o=l.length-1,r=l[o];r&&"space"===r[0];)r=l[--o];r&&(i.source.end=this.getPosition(r[3]||r[2]),i.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),a&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),s&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let r,n=0;for(let o=t-1;o>=0&&(r=e[o],"space"===r[0]||(n+=1,2!==n));o--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}colon(e){let t,r,n,o=0;for(let[i,a]of e.entries()){if(r=a,n=r[0],"("===n&&(o+=1),")"===n&&(o-=1),0===o&&":"===n){if(t){if("word"===t[0]&&"progid"===t[1])continue;return i}this.doubleColon(r)}t=r}return!1}comment(e){let t=new o;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let r=new i;this.init(r,e[0][2]);let n,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let t=e[0][0];if(":"===t||"space"===t||"comment"===t)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(n=e.shift(),":"===n[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let a,s=[];for(;e.length&&(a=e[0][0],"space"===a||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){if(n=e[t],"!important"===n[1].toLowerCase()){r.important=!0;let n=this.stringFrom(e,t);n=this.spacesFromEnd(e)+n," !important"!==n&&(r.raws.important=n);break}if("important"===n[1].toLowerCase()){let n=e.slice(0),o="";for(let e=t;e>0;e--){let t=n[e][0];if(o.trim().startsWith("!")&&"space"!==t)break;o=n.pop()[1]+o}o.trim().startsWith("!")&&(r.important=!0,r.raws.important=o,e=n)}if("space"!==n[0]&&"comment"!==n[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(r.raws.between+=s.map(e=>e[1]).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new s;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,r=null,n=!1,o=null,i=[],a=e[1].startsWith("--"),s=[],l=e;for(;l;){if(r=l[0],s.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(a&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&n){if(!a)for(;s.length&&(l=s[s.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,n){let o,i,a,s,l=r.length,u="",d=!0;for(let e=0;e<l;e+=1)o=r[e],i=o[0],"space"!==i||e!==l-1||n?"comment"===i?(s=r[e-1]?r[e-1][0]:"empty",a=r[e+1]?r[e+1][0]:"empty",c[s]||c[a]||","===u.slice(-1)?d=!1:u+=o[1]):u+=o[1]:d=!1;if(!d){let n=r.reduce((e,t)=>e+t[1],"");e.raws[t]={raw:n,value:u}}e[t]=u}rule(e){e.pop();let t=new s;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word "+e[0][1],{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}}},8587:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},8633:e=>{var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=r(),e.exports.createColors=r},8705:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,private_createBreakpoints:()=>o.A,unstable_applyStyles:()=>i.A});var n=r(6920),o=r(7673),i=r(851)},9054:(e,t,r)=>{"use strict";r.r(t),r.d(t,{focusable:()=>w,getTabIndex:()=>p,isFocusable:()=>k,isTabbable:()=>_,tabbable:()=>x});var n=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],o=n.join(","),i="undefined"==typeof Element,a=i?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,s=!i&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},l=function e(t,r){var n;void 0===r&&(r=!0);var o=null==t||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"inert");return""===o||"true"===o||r&&t&&e(t.parentNode)},c=function(e,t,r){if(l(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(o));return t&&a.call(e,o)&&n.unshift(e),n.filter(r)},u=function e(t,r,n){for(var i=[],s=Array.from(t);s.length;){var c=s.shift();if(!l(c,!1))if("SLOT"===c.tagName){var u=c.assignedElements(),d=e(u.length?u:c.children,!0,n);n.flatten?i.push.apply(i,d):i.push({scopeParent:c,candidates:d})}else{a.call(c,o)&&n.filter(c)&&(r||!t.includes(c))&&i.push(c);var p=c.shadowRoot||"function"==typeof n.getShadowRoot&&n.getShadowRoot(c),h=!l(p,!1)&&(!n.shadowRootFilter||n.shadowRootFilter(c));if(p&&h){var f=e(!0===p?c.children:p.children,!0,n);n.flatten?i.push.apply(i,f):i.push({scopeParent:c,candidates:f})}else s.unshift.apply(s,c.children)}}return i},d=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},p=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,r=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===r||"true"===r}(e))&&!d(e)?0:e.tabIndex},h=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},f=function(e){return"INPUT"===e.tagName},m=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},g=function(e,t){return!(t.disabled||l(t)||function(e){return f(e)&&"hidden"===e.type}(t)||function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=a.call(e,"details>summary:first-of-type")?e.parentElement:e;if(a.call(o,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return m(e)}else{if("function"==typeof n){for(var i=e;e;){var l=e.parentElement,c=s(e);if(l&&!l.shadowRoot&&!0===n(l))return m(e);e=e.assignedSlot?e.assignedSlot:l||c===e.ownerDocument?l:c.host}e=i}if(function(e){var t,r,n,o,i=e&&s(e),a=null===(t=i)||void 0===t?void 0:t.host,l=!1;if(i&&i!==e)for(l=!!(null!==(r=a)&&void 0!==r&&null!==(n=r.ownerDocument)&&void 0!==n&&n.contains(a)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!l&&a;){var c,u,d;l=!(null===(u=a=null===(c=i=s(a))||void 0===c?void 0:c.host)||void 0===u||null===(d=u.ownerDocument)||void 0===d||!d.contains(a))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!a.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1}(t))},b=function(e,t){return!(function(e){return function(e){return f(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,r=e.form||s(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]}(t,e.form);return!o||o===e}(e)}(t)||p(t)<0||!g(e,t))},y=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},v=function e(t){var r=[],n=[];return t.forEach(function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,s=function(e,t){var r=p(e);return r<0&&t&&!d(e)?0:r}(a,i),l=i?e(t.candidates):a;0===s?i?r.push.apply(r,l):r.push(a):n.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:l})}),n.sort(h).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(r)},x=function(e,t){var r;return r=(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:b.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:y}):c(e,t.includeContainer,b.bind(null,t)),v(r)},w=function(e,t){return(t=t||{}).getShadowRoot?u([e],t.includeContainer,{filter:g.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):c(e,t.includeContainer,g.bind(null,t))},_=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,o)&&b(t,e)},C=n.concat("iframe").join(","),k=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==a.call(e,C)&&g(t,e)}},9056:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});const n=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}},9222:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(2350),o=r(7807),i=r(6446);const a=function(...e){const t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,i.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var s=r(1566);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,o.Ay)({prop:e,themeKey:"borders",transform:t})}const u=c("border",l),d=c("borderTop",l),p=c("borderRight",l),h=c("borderBottom",l),f=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),b=c("borderRightColor"),y=c("borderBottomColor"),v=c("borderLeftColor"),x=c("outline",l),w=c("outlineColor"),_=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){const t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};_.propTypes={},_.filterProps=["borderRadius"],a(u,d,p,h,f,m,g,b,y,v,_,x,w);const C=e=>{if(void 0!==e.gap&&null!==e.gap){const t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};C.propTypes={},C.filterProps=["gap"];const k=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){const t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};k.propTypes={},k.filterProps=["columnGap"];const S=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){const t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};function A(e,t){return"grey"===t?t:e}function j(e){return e<=1&&0!==e?100*e+"%":e}S.propTypes={},S.filterProps=["rowGap"],a(C,k,S,(0,o.Ay)({prop:"gridColumn"}),(0,o.Ay)({prop:"gridRow"}),(0,o.Ay)({prop:"gridAutoFlow"}),(0,o.Ay)({prop:"gridAutoColumns"}),(0,o.Ay)({prop:"gridAutoRows"}),(0,o.Ay)({prop:"gridTemplateColumns"}),(0,o.Ay)({prop:"gridTemplateRows"}),(0,o.Ay)({prop:"gridTemplateAreas"}),(0,o.Ay)({prop:"gridArea"})),a((0,o.Ay)({prop:"color",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:A}),(0,o.Ay)({prop:"backgroundColor",themeKey:"palette",transform:A}));const R=(0,o.Ay)({prop:"width",transform:j}),I=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){const t=t=>{var r,n;const o=(null==(r=e.theme)||null==(r=r.breakpoints)||null==(r=r.values)?void 0:r[t])||s.zu[t];return o?"px"!==(null==(n=e.theme)||null==(n=n.breakpoints)?void 0:n.unit)?{maxWidth:`${o}${e.theme.breakpoints.unit}`}:{maxWidth:o}:{maxWidth:j(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};I.filterProps=["maxWidth"];const M=(0,o.Ay)({prop:"minWidth",transform:j}),E=(0,o.Ay)({prop:"height",transform:j}),T=(0,o.Ay)({prop:"maxHeight",transform:j}),O=(0,o.Ay)({prop:"minHeight",transform:j}),P=((0,o.Ay)({prop:"size",cssProperty:"width",transform:j}),(0,o.Ay)({prop:"size",cssProperty:"height",transform:j}),a(R,I,M,E,T,O,(0,o.Ay)({prop:"boxSizing"})),{border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:_},color:{themeKey:"palette",transform:A},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:A},backgroundColor:{themeKey:"palette",transform:A},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:C},rowGap:{style:S},columnGap:{style:k},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:j},maxWidth:{style:I},minWidth:{transform:j},height:{transform:j},maxHeight:{transform:j},minHeight:{transform:j},boxSizing:{},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}})},9371:(e,t,r)=>{"use strict";let n=r(3152);class o extends n{constructor(e){super(e),this.type="comment"}}e.exports=o,o.default=o},9469:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>l,getFunctionName:()=>i});var n=r(211);const o=/^\s*function(?:\s|\s*\/\*.*\*\/\s*)+([^(\s/]*)\s*/;function i(e){const t=`${e}`.match(o);return t&&t[1]||""}function a(e,t=""){return e.displayName||e.name||i(e)||t}function s(e,t,r){const n=a(t);return e.displayName||(""!==n?`${r}(${n})`:r)}function l(e){if(null!=e){if("string"==typeof e)return e;if("function"==typeof e)return a(e,"Component");if("object"==typeof e)switch(e.$$typeof){case n.vM:return s(e,e.render,"ForwardRef");case n.lD:return s(e,e.type,"memo");default:return}}}},9517:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A});var n=r(5048)},9558:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>o.A,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>i.A});var n=r(3168),o=r(9918),i=r(4229)},9569:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n.A,extendSxProp:()=>u,unstable_createStyleFunctionSx:()=>n.k,unstable_defaultSxConfig:()=>s.A});var n=r(73),o=r(8168),i=r(8587),a=r(766),s=r(9222);const l=["sx"],c=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:s.A;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function u(e){const{sx:t}=e,r=(0,i.A)(e,l),{systemProps:n,otherProps:s}=c(r);let u;return u=Array.isArray(t)?[n,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,a.Q)(r)?(0,o.A)({},n,r):n}:(0,o.A)({},n,t),(0,o.A)({},s,{sx:u})}},9577:(e,t,r)=>{"use strict";let n=r(7793),o=r(1106),i=r(8339);function a(e,t){let r=new o(e,t),n=new i(r);try{n.parse()}catch(e){throw e}return n.root}e.exports=a,a.default=a,n.registerParse(a)},9667:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(6032);const o=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},9746:()=>{},9918:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(8168),o=r(8587),i=r(6032),a=r(4229);const s=["sx"],l=e=>{var t,r;const n={systemProps:{},otherProps:{}},o=null!=(t=null==e||null==(r=e.theme)?void 0:r.unstable_sxConfig)?t:a.A;return Object.keys(e).forEach(t=>{o[t]?n.systemProps[t]=e[t]:n.otherProps[t]=e[t]}),n};function c(e){const{sx:t}=e,r=(0,o.A)(e,s),{systemProps:a,otherProps:c}=l(r);let u;return u=Array.isArray(t)?[a,...t]:"function"==typeof t?(...e)=>{const r=t(...e);return(0,i.Q)(r)?(0,n.A)({},a,r):a}:(0,n.A)({},a,t),(0,n.A)({},c,{sx:u})}},9977:()=>{}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var o=n.length-1;o>-1&&(!e||!/^http(s?):/.test(e));)e=n[o--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),r.nc=void 0,(()=>{"use strict";var e=r(1609),t=r.n(e),n=r(1242),o=r.n(n),i="-ms-",a="-moz-",s="-webkit-",l="comm",c="rule",u="decl",d="@keyframes";function p(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}var h=Math.abs,f=String.fromCharCode,m=Object.assign;function g(e){return e.trim()}function b(e,t){return(e=t.exec(e))?e[0]:e}function y(e,t,r){return e.replace(t,r)}function v(e,t,r){return e.indexOf(t,r)}function x(e,t){return 0|e.charCodeAt(t)}function w(e,t,r){return e.slice(t,r)}function _(e){return e.length}function C(e,t){return t.push(e),e}function k(e,t){return e.filter(function(e){return!b(e,t)})}var S=1,A=1,j=0,R=0,I=0,M="";function E(e,t,r,n,o,i,a,s){return{value:e,root:t,parent:r,type:n,props:o,children:i,line:S,column:A,length:a,return:"",siblings:s}}function T(e,t){return m(E("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function O(e){for(;e.root;)e=T(e.root,{children:[e]});C(e,e.siblings)}function P(){return I=R>0?x(M,--R):0,A--,10===I&&(A=1,S--),I}function L(){return I=R<j?x(M,R++):0,A++,10===I&&(A=1,S++),I}function z(){return x(M,R)}function N(){return R}function F(e,t){return w(M,e,t)}function D(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function B(e){return g(F(R-1,W(91===e?e+2:40===e?e+1:e)))}function $(e){for(;(I=z())&&I<33;)L();return D(e)>2||D(I)>3?"":" "}function H(e,t){for(;--t&&L()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return F(e,N()+(t<6&&32==z()&&32==L()))}function W(e){for(;L();)switch(I){case e:return R;case 34:case 39:34!==e&&39!==e&&W(I);break;case 40:41===e&&W(e);break;case 92:L()}return R}function V(e,t){for(;L()&&e+I!==57&&(e+I!==84||47!==z()););return"/*"+F(t,R-1)+"*"+f(47===e?e:L())}function q(e){for(;!D(z());)L();return F(e,R)}function U(e){return function(e){return M="",e}(Z("",null,null,null,[""],e=function(e){return S=A=1,j=_(M=e),R=0,[]}(e),0,[0],e))}function Z(e,t,r,n,o,i,a,s,l){for(var c=0,u=0,d=a,p=0,m=0,g=0,b=1,k=1,S=1,A=0,j="",R=o,I=i,M=n,E=j;k;)switch(g=A,A=L()){case 40:if(108!=g&&58==x(E,d-1)){-1!=v(E+=y(B(A),"&","&\f"),"&\f",h(c?s[c-1]:0))&&(S=-1);break}case 34:case 39:case 91:E+=B(A);break;case 9:case 10:case 13:case 32:E+=$(g);break;case 92:E+=H(N()-1,7);continue;case 47:switch(z()){case 42:case 47:C(K(V(L(),N()),t,r,l),l),5!=D(g||1)&&5!=D(z()||1)||!_(E)||" "===w(E,-1,void 0)||(E+=" ");break;default:E+="/"}break;case 123*b:s[c++]=_(E)*S;case 125*b:case 59:case 0:switch(A){case 0:case 125:k=0;case 59+u:-1==S&&(E=y(E,/\f/g,"")),m>0&&(_(E)-d||0===b&&47===g)&&C(m>32?X(E+";",n,r,d-1,l):X(y(E," ","")+";",n,r,d-2,l),l);break;case 59:E+=";";default:if(C(M=G(E,t,r,c,u,o,s,j,R=[],I=[],d,i),i),123===A)if(0===u)Z(E,t,M,M,R,i,d,s,I);else{switch(p){case 99:if(110===x(E,3))break;case 108:if(97===x(E,2))break;default:u=0;case 100:case 109:case 115:}u?Z(e,M,M,n&&C(G(e,M,M,0,0,o,s,j,o,R=[],d,I),I),o,I,d,s,n?R:I):Z(E,M,M,M,[""],I,0,s,I)}}c=u=m=0,b=S=1,j=E="",d=a;break;case 58:d=1+_(E),m=g;default:if(b<1)if(123==A)--b;else if(125==A&&0==b++&&125==P())continue;switch(E+=f(A),A*b){case 38:S=u>0?1:(E+="\f",-1);break;case 44:s[c++]=(_(E)-1)*S,S=1;break;case 64:45===z()&&(E+=B(L())),p=z(),u=d=_(j=E+=q(N())),A++;break;case 45:45===g&&2==_(E)&&(b=0)}}return i}function G(e,t,r,n,o,i,a,s,l,u,d,p){for(var f=o-1,m=0===o?i:[""],b=function(e){return e.length}(m),v=0,x=0,_=0;v<n;++v)for(var C=0,k=w(e,f+1,f=h(x=a[v])),S=e;C<b;++C)(S=g(x>0?m[C]+" "+k:y(k,/&\f/g,m[C])))&&(l[_++]=S);return E(e,t,r,0===o?c:s,l,u,d,p)}function K(e,t,r,n){return E(e,t,r,l,f(I),w(e,2,-2),0,n)}function X(e,t,r,n,o){return E(e,t,r,u,w(e,0,n),w(e,n+1,-1),n,o)}function J(e,t,r){switch(e.type){case"@import":case u:case l:return e.return=e.return||e.value;case c:e.value=Array.isArray(e.props)?e.props.join(","):e.props,Array.isArray(e.children)&&e.children.forEach(function(e){e.type===l&&(e.children=e.value)})}var n=p(Array.prototype.concat(e.children),J);return _(n)?e.return=e.value+"{"+n+"}":""}function Y(e,t,r,n){if(e.type===d||"@supports"===e.type||e.type===c&&(!e.parent||"@media"===e.parent.type||e.parent.type===c)){var i=o().transform(J(e));e.children=i?U(i)[0].children:[],e.return=""}}Object.defineProperty(Y,"name",{value:"stylisRTLPlugin"});const Q=Y;var ee=r(6632),te=r(6810),re="-ms-",ne="-moz-",oe="-webkit-",ie=(Math.abs,String.fromCharCode,Object.assign);function ae(e,t){return(e=t.exec(e))?e[0]:e}function se(e,t,r){return e.replace(t,r)}function le(e,t){return e.indexOf(t)}function ce(e,t){return 0|e.charCodeAt(t)}function ue(e,t){return ie({value:"",root:null,parent:null,type:"",props:null,children:null,line:1,column:1,length:0,return:""},e,{length:-e.length},t)}function de(e,t){for(var r="",n=e.length,o=0;o<n;o++)r+=t(e[o],o,e,t)||"";return r}function pe(e,t,r){switch(function(e,t){return 45^ce(e,0)?(((t<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}(e,t)){case 5103:return oe+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return oe+e+e;case 4789:return ne+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return oe+e+ne+e+re+e+e;case 5936:switch(ce(e,t+11)){case 114:return oe+e+re+se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return oe+e+re+se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return oe+e+re+se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return oe+e+re+e+e;case 6165:return oe+e+re+"flex-"+e+e;case 5187:return oe+e+se(e,/(\w+).+(:[^]+)/,oe+"box-$1$2"+re+"flex-$1$2")+e;case 5443:return oe+e+re+"flex-item-"+se(e,/flex-|-self/g,"")+(ae(e,/flex-|baseline/)?"":re+"grid-row-"+se(e,/flex-|-self/g,""))+e;case 4675:return oe+e+re+"flex-line-pack"+se(e,/align-content|flex-|-self/g,"")+e;case 5548:return oe+e+re+se(e,"shrink","negative")+e;case 5292:return oe+e+re+se(e,"basis","preferred-size")+e;case 6060:return oe+"box-"+se(e,"-grow","")+oe+e+re+se(e,"grow","positive")+e;case 4554:return oe+se(e,/([^-])(transform)/g,"$1"+oe+"$2")+e;case 6187:return se(se(se(e,/(zoom-|grab)/,oe+"$1"),/(image-set)/,oe+"$1"),e,"")+e;case 5495:case 3959:return se(e,/(image-set\([^]*)/,oe+"$1$`$1");case 4968:return se(se(e,/(.+:)(flex-)?(.*)/,oe+"box-pack:$3"+re+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+oe+e+e;case 4200:if(!ae(e,/flex-|baseline/))return re+"grid-column-align"+function(e,t){return e.slice(t,void 0)}(e,t)+e;break;case 2592:case 3360:return re+se(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,ae(e.props,/grid-\w+-end/)})?~le(e+(r=r[t].value),"span")?e:re+se(e,"-start","")+e+re+"grid-row-span:"+(~le(r,"span")?ae(r,/\d+/):+ae(r,/\d+/)-+ae(e,/\d+/))+";":re+se(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return ae(e.props,/grid-\w+-start/)})?e:re+se(se(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return se(e,/(.+)-inline(.+)/,oe+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(function(e){return e.length}(e)-1-t>6)switch(ce(e,t+1)){case 109:if(45!==ce(e,t+4))break;case 102:return se(e,/(.+:)(.+)-([^]+)/,"$1"+oe+"$2-$3$1"+ne+(108==ce(e,t+3)?"$3":"$2-$3"))+e;case 115:return~le(e,"stretch")?pe(se(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return se(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,i,a,s){return re+r+":"+n+s+(o?re+r+"-span:"+(i?a:+a-+n)+s:"")+e});case 4949:if(121===ce(e,t+6))return se(e,":",":"+oe)+e;break;case 6444:switch(ce(e,45===ce(e,14)?18:11)){case 120:return se(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+oe+(45===ce(e,14)?"inline-":"")+"box$3$1"+oe+"$2$3$1"+re+"$2box$3")+e;case 100:return se(e,":",":"+re)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return se(e,"scroll-","scroll-snap-")+e}return e}const he="&:hover,&:focus,&:active,&:visited",fe="__unstableAccessibleMain",me="__unstableAccessibleLight",ge="0.75rem",be="1.25em",ye="1.25em",ve="1.25em",xe="eui-rtl",we=[0,1,1,1,1],_e=(0,te.A)({key:xe,stylisPlugins:[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case"decl":return void(e.return=pe(e.value,e.length,r));case"@keyframes":return de([ue(e,{value:se(e.value,"@","@"+oe)})],n);case"rule":if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(ae(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return de([ue(e,{props:[se(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return de([ue(e,{props:[se(t,/:(plac\w+)/,":"+oe+"input-$1")]}),ue(e,{props:[se(t,/:(plac\w+)/,":-moz-$1")]}),ue(e,{props:[se(t,/:(plac\w+)/,re+"input-$1")]})],n)}return""})}},Q]}),Ce=(0,te.A)({key:"eui"});var ke=({rtl:e,children:r})=>t().createElement(ee.C,{value:e?_e:Ce},r),Se=r(8168),Ae=r(8587),je=r(5048),Re=r(6032),Ie=r(4229),Me=r(3168),Ee=r(6920);function Te(e,t){return(0,Se.A)({toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}}},t)}var Oe=r(6950);const Pe={black:"#000",white:"#fff"},Le={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"},ze="#f3e5f5",Ne="#ce93d8",Fe="#ba68c8",De="#ab47bc",Be="#9c27b0",$e="#7b1fa2",He="#e57373",We="#ef5350",Ve="#f44336",qe="#d32f2f",Ue="#c62828",Ze="#ffb74d",Ge="#ffa726",Ke="#ff9800",Xe="#f57c00",Je="#e65100",Ye="#e3f2fd",Qe="#90caf9",et="#42a5f5",tt="#1976d2",rt="#1565c0",nt="#4fc3f7",ot="#29b6f6",it="#03a9f4",at="#0288d1",st="#01579b",lt="#81c784",ct="#66bb6a",ut="#4caf50",dt="#388e3c",pt="#2e7d32",ht="#1b5e20",ft=["mode","contrastThreshold","tonalOffset"],mt={text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Pe.white,default:Pe.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}},gt={text:{primary:Pe.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Pe.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}};function bt(e,t,r,n){const o=n.light||n,i=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,Oe.a)(e.main,o):"dark"===t&&(e.dark=(0,Oe.e$)(e.main,i)))}const yt=["fontFamily","fontSize","fontWeightLight","fontWeightRegular","fontWeightMedium","fontWeightBold","htmlFontSize","allVariants","pxToRem"],vt={textTransform:"uppercase"},xt='"Roboto", "Helvetica", "Arial", sans-serif';function wt(e,t){const r="function"==typeof t?t(e):t,{fontFamily:n=xt,fontSize:o=14,fontWeightLight:i=300,fontWeightRegular:a=400,fontWeightMedium:s=500,fontWeightBold:l=700,htmlFontSize:c=16,allVariants:u,pxToRem:d}=r,p=(0,Ae.A)(r,yt),h=o/14,f=d||(e=>e/c*h+"rem"),m=(e,t,r,o,i)=>{return(0,Se.A)({fontFamily:n,fontWeight:e,fontSize:f(t),lineHeight:r},n===xt?{letterSpacing:(a=o/t,Math.round(1e5*a)/1e5+"em")}:{},i,u);var a},g={h1:m(i,96,1.167,-1.5),h2:m(i,60,1.2,-.5),h3:m(a,48,1.167,0),h4:m(a,34,1.235,.25),h5:m(a,24,1.334,0),h6:m(s,20,1.6,.15),subtitle1:m(a,16,1.75,.15),subtitle2:m(s,14,1.57,.1),body1:m(a,16,1.5,.15),body2:m(a,14,1.43,.15),button:m(s,14,1.75,.4,vt),caption:m(a,12,1.66,.4),overline:m(a,12,2.66,1,vt),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,Re.A)((0,Se.A)({htmlFontSize:c,pxToRem:f,fontFamily:n,fontSize:o,fontWeightLight:i,fontWeightRegular:a,fontWeightMedium:s,fontWeightBold:l},g),p,{clone:!1})}function _t(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,0.2)`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,0.14)`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,0.12)`].join(",")}const Ct=["none",_t(0,2,1,-1,0,1,1,0,0,1,3,0),_t(0,3,1,-2,0,2,2,0,0,1,5,0),_t(0,3,3,-2,0,3,4,0,0,1,8,0),_t(0,2,4,-1,0,4,5,0,0,1,10,0),_t(0,3,5,-1,0,5,8,0,0,1,14,0),_t(0,3,5,-1,0,6,10,0,0,1,18,0),_t(0,4,5,-2,0,7,10,1,0,2,16,1),_t(0,5,5,-3,0,8,10,1,0,3,14,2),_t(0,5,6,-3,0,9,12,1,0,3,16,2),_t(0,6,6,-3,0,10,14,1,0,4,18,3),_t(0,6,7,-4,0,11,15,1,0,4,20,3),_t(0,7,8,-4,0,12,17,2,0,5,22,4),_t(0,7,8,-4,0,13,19,2,0,5,24,4),_t(0,7,9,-4,0,14,21,2,0,5,26,4),_t(0,8,9,-5,0,15,22,2,0,6,28,5),_t(0,8,10,-5,0,16,24,2,0,6,30,5),_t(0,8,11,-5,0,17,26,2,0,6,32,5),_t(0,9,11,-5,0,18,28,2,0,7,34,6),_t(0,9,12,-6,0,19,29,2,0,7,36,6),_t(0,10,13,-6,0,20,31,3,0,8,38,7),_t(0,10,13,-6,0,21,33,3,0,8,40,7),_t(0,10,14,-6,0,22,35,3,0,8,42,7),_t(0,11,14,-7,0,23,36,3,0,9,44,8),_t(0,11,15,-7,0,24,38,3,0,9,46,8)],kt=["duration","easing","delay"],St={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},At={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function jt(e){return`${Math.round(e)}ms`}function Rt(e){if(!e)return 0;const t=e/36;return Math.round(10*(4+15*t**.25+t/5))}function It(e){const t=(0,Se.A)({},St,e.easing),r=(0,Se.A)({},At,e.duration);return(0,Se.A)({getAutoHeightDuration:Rt,create:(e=["all"],n={})=>{const{duration:o=r.standard,easing:i=t.easeInOut,delay:a=0}=n;return(0,Ae.A)(n,kt),(Array.isArray(e)?e:[e]).map(e=>`${e} ${"string"==typeof o?o:jt(o)} ${i} ${"string"==typeof a?a:jt(a)}`).join(",")}},e,{easing:t,duration:r})}const Mt={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Et=["breakpoints","mixins","spacing","palette","transitions","typography","shape"];const Tt=function(e={},...t){const{mixins:r={},palette:n={},transitions:o={},typography:i={}}=e,a=(0,Ae.A)(e,Et);if(e.vars)throw new Error((0,je.A)(18));const s=function(e){const{mode:t="light",contrastThreshold:r=3,tonalOffset:n=.2}=e,o=(0,Ae.A)(e,ft),i=e.primary||function(e="light"){return"dark"===e?{main:Qe,light:Ye,dark:et}:{main:tt,light:et,dark:rt}}(t),a=e.secondary||function(e="light"){return"dark"===e?{main:Ne,light:ze,dark:De}:{main:Be,light:Fe,dark:$e}}(t),s=e.error||function(e="light"){return"dark"===e?{main:Ve,light:He,dark:qe}:{main:qe,light:We,dark:Ue}}(t),l=e.info||function(e="light"){return"dark"===e?{main:ot,light:nt,dark:at}:{main:at,light:it,dark:st}}(t),c=e.success||function(e="light"){return"dark"===e?{main:ct,light:lt,dark:dt}:{main:pt,light:ut,dark:ht}}(t),u=e.warning||function(e="light"){return"dark"===e?{main:Ge,light:Ze,dark:Xe}:{main:"#ed6c02",light:Ke,dark:Je}}(t);function d(e){return(0,Oe.eM)(e,gt.text.primary)>=r?gt.text.primary:mt.text.primary}const p=({color:e,name:t,mainShade:r=500,lightShade:o=300,darkShade:i=700})=>{if(!(e=(0,Se.A)({},e)).main&&e[r]&&(e.main=e[r]),!e.hasOwnProperty("main"))throw new Error((0,je.A)(11,t?` (${t})`:"",r));if("string"!=typeof e.main)throw new Error((0,je.A)(12,t?` (${t})`:"",JSON.stringify(e.main)));return bt(e,"light",o,n),bt(e,"dark",i,n),e.contrastText||(e.contrastText=d(e.main)),e},h={dark:gt,light:mt};return(0,Re.A)((0,Se.A)({common:(0,Se.A)({},Pe),mode:t,primary:p({color:i,name:"primary"}),secondary:p({color:a,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:p({color:s,name:"error"}),warning:p({color:u,name:"warning"}),info:p({color:l,name:"info"}),success:p({color:c,name:"success"}),grey:Le,contrastThreshold:r,getContrastText:d,augmentColor:p,tonalOffset:n},h[t]),o)}(n),l=(0,Ee.A)(e);let c=(0,Re.A)(l,{mixins:Te(l.breakpoints,r),palette:s,shadows:Ct.slice(),typography:wt(s,i),transitions:It(o),zIndex:(0,Se.A)({},Mt)});return c=(0,Re.A)(c,a),c=t.reduce((e,t)=>(0,Re.A)(e,t),c),c.unstable_sxConfig=(0,Se.A)({},Ie.A,null==a?void 0:a.unstable_sxConfig),c.unstable_sx=function(e){return(0,Me.A)({sx:e,theme:this})},c},Ot=(e,...t)=>{const r={...e};return r.shape={borderRadius:4,__unstableBorderRadiusMultipliers:we,...r.shape},Tt(r,...t)},Pt=e.createContext(null);function Lt(){return e.useContext(Pt)}const zt="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var Nt=r(790);const Ft=function(t){const{children:r,theme:n}=t,o=Lt(),i=e.useMemo(()=>{const e=null===o?n:function(e,t){return"function"==typeof t?t(e):(0,Se.A)({},e,t)}(o,n);return null!=e&&(e[zt]=null!==o),e},[n,o]);return(0,Nt.jsx)(Pt.Provider,{value:i,children:r})};var Dt=r(4684);const Bt=function(t=null){const r=e.useContext(Dt.T);return r&&(n=r,0!==Object.keys(n).length)?r:t;var n},$t=["value"],Ht=e.createContext(),Wt=()=>{const t=e.useContext(Ht);return null!=t&&t},Vt=function(e){let{value:t}=e,r=(0,Ae.A)(e,$t);return(0,Nt.jsx)(Ht.Provider,(0,Se.A)({value:null==t||t},r))},qt=e.createContext(void 0),Ut=function({value:e,children:t}){return(0,Nt.jsx)(qt.Provider,{value:e,children:t})},Zt="undefined"!=typeof window?e.useLayoutEffect:e.useEffect;let Gt=0;const Kt=e["useId".toString()];function Xt(t){if(void 0!==Kt){const e=Kt();return null!=t?t:e}return function(t){const[r,n]=e.useState(t),o=t||r;return e.useEffect(()=>{null==r&&(Gt+=1,n(`mui-${Gt}`))},[r]),o}(t)}var Jt=r(1032),Yt=r(7601);const Qt=(0,Ee.A)(),er=function(e=Qt){return Bt(e)};function tr(e){const t=(0,Jt.internal_serializeStyles)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}const rr=function({styles:e,themeId:t,defaultTheme:r={}}){const n=er(r),o=t&&n[t]||n;let i="function"==typeof e?e(o):e;return o.modularCssLayers&&(i=Array.isArray(i)?i.map(e=>tr("function"==typeof e?e(o):e)):tr(i)),(0,Nt.jsx)(Yt.A,{styles:i})},nr={};function or(t,r,n,o=!1){return e.useMemo(()=>{const e=t&&r[t]||r;if("function"==typeof n){const i=n(e),a=t?(0,Se.A)({},r,{[t]:i}):i;return o?()=>a:a}return t?(0,Se.A)({},r,{[t]:n}):(0,Se.A)({},r,n)},[t,r,n,o])}const ir=function(e){const{children:t,theme:r,themeId:n}=e,o=Bt(nr),i=Lt()||nr,a=or(n,o,r),s=or(n,i,r,!0),l="rtl"===a.direction,c=function(e){const t=Bt(),r=Xt()||"",{modularCssLayers:n}=e;let o="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return o=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,o):`@layer ${o};`:"",Zt(()=>{const e=document.querySelector("head");if(!e)return;const t=e.firstChild;if(o){var n;if(t&&null!=(n=t.hasAttribute)&&n.call(t,"data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;const i=document.createElement("style");i.setAttribute("data-mui-layer-order",r),i.textContent=o,e.prepend(i)}else{var i;null==(i=e.querySelector(`style[data-mui-layer-order="${r}"]`))||i.remove()}},[o,r]),o?(0,Nt.jsx)(rr,{styles:o}):null}(a);return(0,Nt.jsx)(Ft,{theme:s,children:(0,Nt.jsx)(Dt.T.Provider,{value:a,children:(0,Nt.jsx)(Vt,{value:l,children:(0,Nt.jsxs)(Ut,{value:null==a?void 0:a.components,children:[c,t]})})})})},ar="$$material",sr=["theme"];function lr(e){let{theme:t}=e,r=(0,Ae.A)(e,sr);const n=t[ar];return(0,Nt.jsx)(ir,(0,Se.A)({},r,{themeId:n?ar:void 0,theme:n||t}))}const cr="#FFFFFF",ur="#f1f3f3",dr="#d5d8dc",pr="#babfc5",hr="#9da5ae",fr="#818a96",mr="#69727d",gr="#515962",br="#3f444b",yr="#1f2124",vr="#0c0d0e",xr="#f3bafd",wr="#f0abfc",_r="#eb8efb",Cr="#ef4444",kr="#dc2626",Sr="#b91c1c",Ar="#b15211",jr="#3b82f6",Rr="#2563eb",Ir="#1d4ed8",Mr="#10b981",Er="#0a875a",Tr="#047857",Or="#99f6e4",Pr="#5eead4",Lr="#2adfcd",zr="#b51243",Nr="#93003f",Fr="#7e013b",Dr={defaultProps:{slotProps:{paper:{elevation:6}}},styleOverrides:{listbox:({theme:e})=>({"&.MuiAutocomplete-listboxSizeTiny":{fontSize:"0.875rem"},'&.MuiAutocomplete-listbox .MuiAutocomplete-option[aria-selected="true"]':{"&,&.Mui-Mui-focused":{backgroundColor:e.palette.action.selected}}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiOutlinedInput-root":{padding:"2.5px 0","& .MuiAutocomplete-input":{lineHeight:ye,height:ye,padding:"4px 2px 4px 8px"}},"& .MuiFilledInput-root":{padding:0,"& .MuiAutocomplete-input":{padding:"15px 8px 6px"}},"& .MuiInput-root":{paddingBottom:0,"& .MuiAutocomplete-input":{padding:"2px 0"}},"& .MuiAutocomplete-popupIndicator":{fontSize:"1.5em"},"& .MuiAutocomplete-clearIndicator":{fontSize:"1.2em"},"& .MuiAutocomplete-popupIndicator .MuiSvgIcon-root, & .MuiAutocomplete-clearIndicator .MuiSvgIcon-root":{fontSize:"1em"},"& .MuiInputAdornment-root .MuiIconButton-root":{padding:"2px"},"& .MuiAutocomplete-tagSizeTiny":{fontSize:ge},"&.MuiAutocomplete-hasPopupIcon.MuiAutocomplete-hasClearIcon .MuiOutlinedInput-root .MuiAutocomplete-input":{paddingRight:"48px"}})},{props:{size:"tiny",multiple:!0},style:()=>({"& .MuiAutocomplete-tag":{margin:"1.5px 3px"}})}]},Br=["primary","secondary","error","warning","info","success","accent","global","promotion","decorative","neutral"],$r=["primary","global"],Hr=Br.filter(e=>!$r.includes(e)),Wr={defaultProps:{disableRipple:!0},styleOverrides:{root:()=>({boxShadow:"none","&:hover":{boxShadow:"none"}})},variants:Br.map(e=>({props:{variant:"contained",color:e},style:({theme:t})=>({"& .MuiButtonGroup-grouped:not(:last-of-type), & .MuiButtonGroup-grouped:not(:last-of-type).Mui-disabled":{borderRight:0},"& .MuiButtonGroup-grouped:not(:last-child), & > *:not(:last-child) .MuiButtonGroup-grouped":{borderRight:`1px solid ${t.palette[e].dark}`},"& .MuiButtonGroup-grouped:not(:last-child).Mui-disabled, & > *:not(:last-child) .MuiButtonGroup-grouped.Mui-disabled":{borderRight:`1px solid ${t.palette.action.disabled}`}})}))};var Vr=r(9056);function qr(e,t=0,r=1){return(0,Vr.A)(e,t,r)}function Ur(e){if(e.type)return e;if("#"===e.charAt(0))return Ur(function(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(e));const t=e.indexOf("("),r=e.substring(0,t);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(r))throw new Error((0,je.A)(9,e));let n,o=e.substring(t+1,e.length-1);if("color"===r){if(o=o.split(" "),n=o.shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(n))throw new Error((0,je.A)(10,n))}else o=o.split(",");return o=o.map(e=>parseFloat(e)),{type:r,values:o,colorSpace:n}}function Zr(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return-1!==t.indexOf("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=-1!==t.indexOf("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function Gr(e,t){return e=Ur(e),t=qr(t),"rgb"!==e.type&&"hsl"!==e.type||(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,Zr(e)}function Kr(e,t){if(e=Ur(e),t=qr(t),-1!==e.type.indexOf("hsl"))e.values[2]*=1-t;else if(-1!==e.type.indexOf("rgb")||-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Zr(e)}function Xr(e,t){if(e=Ur(e),t=qr(t),-1!==e.type.indexOf("hsl"))e.values[2]+=(100-e.values[2])*t;else if(-1!==e.type.indexOf("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(-1!==e.type.indexOf("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Zr(e)}const Jr={variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain,borderColor:e.palette.primary.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:e.palette.primary.__unstableAccessibleLight,"&:hover":{color:e.palette.primary.__unstableAccessibleMain}}})},{props:{color:"global",variant:"outlined"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain,borderColor:e.palette.global.__unstableAccessibleMain,"& .MuiChip-deleteIcon":{color:e.palette.global.__unstableAccessibleLight,"&:hover":{color:e.palette.global.__unstableAccessibleMain}}})},{props:{color:"default",variant:"filled"},style:({theme:e})=>({backgroundColor:"light"===e.palette.mode?"#EBEBEB":"#434547","&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:e.palette.action.focus},"& .MuiChip-icon":{color:"inherit"}})},...Yr(["default"],function(e){return{backgroundColor:{light:"#EBEBEB",dark:"#434547"},backgroundColorHover:{light:e.palette.action.focus,dark:e.palette.action.focus},color:{light:e.palette.text.primary,dark:e.palette.text.primary},deleteIconOpacity:.26,deleteIconOpacityHover:.7}}),...Yr(["primary","global"],function(e,t){const r=e.palette[t];return{backgroundColor:{light:Xr(r.light,.8),dark:Kr(r.__unstableAccessibleMain,.8)},backgroundColorHover:{light:Xr(r.light,.6),dark:Kr(r.__unstableAccessibleMain,.9)},color:{light:Kr(r.__unstableAccessibleMain,.3),dark:Xr(r.light,.3)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),...Yr(Hr,function(e,t){return{backgroundColor:{light:Xr(e.palette[t].light,.9),dark:Kr(e.palette[t].light,.8)},backgroundColorHover:{light:Xr(e.palette[t].light,.8),dark:Kr(e.palette[t].light,.9)},color:{light:Kr(e.palette[t].main,.3),dark:Xr(e.palette[t].main,.5)},deleteIconOpacity:.7,deleteIconOpacityHover:1}}),{props:{size:"tiny"},style:()=>({fontSize:ge,height:"20px",paddingInline:"5px","& .MuiChip-avatar":{width:"1rem",height:"1rem",fontSize:"9px",marginLeft:0,marginRight:"1px"},"& .MuiChip-icon":{fontSize:"1rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"0.875rem",marginLeft:0,marginRight:0}})},{props:{size:"small"},style:()=>({height:"24px",paddingInline:"5px","& .MuiChip-avatar":{width:"1.125rem",height:"1.125rem",fontSize:"9px",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.125rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"3px",paddingLeft:"3px"},"& .MuiChip-deleteIcon":{fontSize:"1rem",marginLeft:0,marginRight:0}})},{props:{size:"medium"},style:()=>({height:"32px",paddingInline:"6px","& .MuiChip-avatar":{width:"1.25rem",height:"1.25rem",fontSize:"0.75rem",marginLeft:0,marginRight:"2px"},"& .MuiChip-icon":{fontSize:"1.25rem",marginLeft:0,marginRight:0},"& .MuiChip-label":{paddingRight:"4px",paddingLeft:"4px"},"& .MuiChip-deleteIcon":{fontSize:"1.125rem",marginLeft:0,marginRight:0}})}]};function Yr(e,t){return e.map(e=>({props:{color:e,variant:"standard"},style:({theme:r})=>{const n=t(r,e),{mode:o}=r.palette;return{backgroundColor:n.backgroundColor[o],color:n.color[o],"&.Mui-focusVisible, &.MuiChip-clickable:hover":{backgroundColor:n.backgroundColorHover[o]},"& .MuiChip-icon":{color:"inherit"},"& .MuiChip-deleteIcon":{color:n.color[o],opacity:n.deleteIconOpacity,"&:hover,&:focus":{color:n.color[o],opacity:n.deleteIconOpacityHover}}}}}))}const Qr="1rem",en="0.75rem";var tn={MuiAccordion:{styleOverrides:{root:({theme:e})=>({backgroundColor:e.palette.background.default,"&:before":{content:"none"},"&.Mui-expanded":{margin:0},"&.MuiAccordion-gutters + .MuiAccordion-root.MuiAccordion-gutters":{marginTop:e.spacing(1),marginBottom:e.spacing(0)},"&:not(.MuiAccordion-gutters) + .MuiAccordion-root:not(.MuiAccordion-gutters)":{borderTop:0},"&.Mui-disabled":{backgroundColor:e.palette.background.default}})},variants:[{props:{square:!1},style:({theme:e})=>{const t=e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3];return{"&:first-of-type":{borderTopLeftRadius:t,borderTopRightRadius:t},"&:last-of-type":{borderBottomLeftRadius:t,borderBottomRightRadius:t}}}}]},MuiAccordionActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2)})}},MuiAccordionSummary:{styleOverrides:{root:()=>({minHeight:"64px"}),content:({theme:e})=>({margin:e.spacing(1,0),"&.MuiAccordionSummary-content.Mui-expanded":{margin:e.spacing(1,0)}})}},MuiAccordionSummaryIcon:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(1,0)})}},MuiAccordionSummaryText:{styleOverrides:{root:({theme:e})=>({marginTop:0,marginBottom:0,padding:e.spacing(1,0)})}},MuiAppBar:{defaultProps:{elevation:0,color:"default"}},MuiAutocomplete:Dr,MuiAvatar:{variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],boxShadow:"none",whiteSpace:"nowrap","&:hover":{boxShadow:"none"},"& .MuiSvgIcon-root":{fill:"currentColor"}})},variants:[{props:{color:"primary",variant:"outlined"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain,borderColor:e.palette.primary.__unstableAccessibleMain,"&:hover":{borderColor:e.palette.primary.__unstableAccessibleMain}})},{props:{color:"primary",variant:"text"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain})},{props:{color:"global",variant:"outlined"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain,borderColor:e.palette.global.__unstableAccessibleMain,"&:hover":{borderColor:e.palette.global.__unstableAccessibleMain}})},{props:{color:"global",variant:"text"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain})}]},MuiButtonBase:{defaultProps:{disableRipple:!0},styleOverrides:{root:()=>({"&.MuiButtonBase-root.Mui-focusVisible":{boxShadow:"0 0 0 1px inset"},".MuiCircularProgress-root":{fontSize:"inherit"}})}},MuiButtonGroup:Wr,MuiCard:{defaultProps:{},styleOverrides:{root:()=>({position:"relative"})}},MuiCardActions:{styleOverrides:{root:({theme:e})=>({justifyContent:"flex-end",padding:e.spacing(1.5,2)})}},MuiCardGroup:{styleOverrides:{root:()=>({"& .MuiCard-root.MuiPaper-outlined:not(:last-child)":{borderBottom:0},"& .MuiCard-root.MuiPaper-rounded":{"&:first-child:not(:last-child)":{borderBottomRightRadius:0,borderBottomLeftRadius:0},"&:not(:first-child):not(:last-child)":{borderRadius:0},"&:last-child:not(:first-child)":{borderTopRightRadius:0,borderTopLeftRadius:0}}})}},MuiCardHeader:{defaultProps:{titleTypographyProps:{variant:"subtitle1"}},styleOverrides:{action:()=>({alignSelf:"center"})},variants:[{props:{disableActionOffset:!0},style:()=>({"& .MuiCardHeader-action":{marginRight:0}})}]},MuiChip:Jr,MuiCircularProgress:{defaultProps:{color:"inherit",size:"1em"},styleOverrides:{root:({theme:e})=>({fontSize:e.spacing(5)})}},MuiDialog:{styleOverrides:{paper:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[4]})}},MuiDialogActions:{styleOverrides:{root:({theme:e})=>({padding:e.spacing(2,3)})}},MuiDialogContent:{styleOverrides:{dividers:()=>({"&:last-child":{borderBottom:"none"}})}},MuiFilledInput:{styleOverrides:{root:({theme:e})=>({borderTopLeftRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],borderTopRightRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny"},style:()=>({fontSize:ge,lineHeight:ve,"& .MuiInputBase-input":{fontSize:ge,lineHeight:ve,height:ve,padding:"15px 8px 6px"}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})}]},MuiFormHelperText:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.tertiary,margin:e.spacing(.5,0,0)})}},MuiFormLabel:{variants:[{props:{size:"tiny"},style:()=>({fontSize:"0.75rem",lineHeight:"1.6",fontWeight:"400",letterSpacing:"0.19px"})},{props:{size:"small"},style:({theme:e})=>({...e.typography.body2})}]},MuiIconButton:{variants:[{props:{color:"primary"},style:({theme:e})=>({color:e.palette.primary.__unstableAccessibleMain})},{props:{color:"global"},style:({theme:e})=>({color:e.palette.global.__unstableAccessibleMain})},{props:{edge:"start",size:"small"},style:({theme:e})=>({marginLeft:e.spacing(-1.5)})},{props:{edge:"end",size:"small"},style:({theme:e})=>({marginRight:e.spacing(-1.5)})},{props:{edge:"start",size:"large"},style:({theme:e})=>({marginLeft:e.spacing(-2)})},{props:{edge:"end",size:"large"},style:({theme:e})=>({marginRight:e.spacing(-2)})},{props:{size:"tiny"},style:({theme:e})=>({padding:e.spacing(.75)})}]},MuiInput:{variants:[{props:{size:"tiny"},style:({theme:e})=>({fontSize:ge,lineHeight:be,"&.MuiInput-root":{marginTop:e.spacing(1.5)},"& .MuiInputBase-input":{fontSize:ge,lineHeight:be,height:be,padding:"6.5px 0"}})}]},MuiInputAdornment:{styleOverrides:{root:({theme:e})=>({"&.MuiInputAdornment-sizeTiny":{"&.MuiInputAdornment-positionStart":{marginRight:e.spacing(.5)},"&.MuiInputAdornment-positionEnd":{marginLeft:e.spacing(.5)}}})}},MuiInputBase:{styleOverrides:{input:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial"}})}},MuiInputLabel:{variants:[{props:{size:"tiny",shrink:!1},style:()=>({"&.MuiInputLabel-outlined":{transform:"translate(7.5px, 5.5px) scale(1)"},"&.MuiInputLabel-standard":{transform:"translate(0px, 18px) scale(1)"},"&.MuiInputLabel-filled":{transform:"translate(8px, 11px) scale(1)"}})},{props:{size:"tiny",shrink:!0},style:()=>({"&.MuiInputLabel-filled":{transform:"translate(8px, 2px) scale(0.75)"}})}]},MuiListItem:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary,"a&":{[he]:{color:e.palette.text.primary}}})}},MuiListItemButton:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary,"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected},"&:focus":{backgroundColor:e.palette.action.focus}},"a&":{[he]:{color:e.palette.text.primary}}})}},MuiListItemIcon:{styleOverrides:{root:({theme:e})=>({minWidth:"initial","&:not(:last-child)":{marginRight:e.spacing(1)}})}},MuiListItemText:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})}},MuiListSubheader:{styleOverrides:{root:({theme:e})=>({backgroundImage:"linear-gradient(rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.12))",lineHeight:"36px",color:e.palette.text.secondary})}},MuiMenu:{defaultProps:{elevation:6}},MuiMenuItem:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected},"&:focus":{backgroundColor:e.palette.action.focus}},"a&":{[he]:{color:e.palette.text.primary}},"& .MuiListItemIcon-root":{minWidth:"initial"}})}},MuiOutlinedInput:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],"&.Mui-focused .MuiInputAdornment-root .MuiOutlinedInput-notchedOutline":{borderColor:"dark"===e.palette.mode?"rgba(255, 255, 255, 0.23)":"rgba(0, 0, 0, 0.23)",borderWidth:"1px"}})},variants:[{props:{size:"tiny"},style:({theme:e})=>({fontSize:ge,lineHeight:ye,"&.MuiInputBase-adornedStart":{paddingLeft:e.spacing(1)},"&.MuiInputBase-adornedEnd":{paddingRight:e.spacing(1)},"& .MuiInputBase-input":{fontSize:ge,lineHeight:ye,height:ye,padding:"6.5px 8px"},"& .MuiInputAdornment-root + .MuiInputBase-input":{paddingLeft:0},"&:has(.MuiInputBase-input + .MuiInputAdornment-root) .MuiInputBase-input":{paddingRight:0}})},{props:{size:"tiny",multiline:!0},style:()=>({padding:0})},{props:e=>!!e.endAdornment&&"tiny"===e.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{"&.MuiSelect-standard":{paddingTop:0,paddingBottom:0},"&.MuiSelect-outlined,&.MuiSelect-filled":{paddingTop:"4px",paddingBottom:"4px"}}})},{props:e=>!!e.endAdornment&&"small"===e.size,style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"2.5px",paddingBottom:"2.5px"}})},{props:e=>!(!e.endAdornment||"medium"!==e.size&&e.size),style:()=>({"& .MuiInputAdornment-root .MuiInputBase-root .MuiSelect-select":{paddingTop:"8.5px",paddingBottom:"8.5px"}})}]},MuiPagination:{variants:[{props:{shape:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiPaper:{variants:[{props:{square:!1},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3]})}]},MuiSelect:{styleOverrides:{nativeInput:()=>({".MuiInputBase-root.Mui-disabled &":{backgroundColor:"initial",opacity:0}})},variants:[{props:{size:"tiny"},style:()=>({"& .MuiSelect-icon":{fontSize:Qr,right:"9px"},"& .MuiSelect-select.MuiSelect-outlined, & .MuiSelect-select.MuiSelect-filled":{minHeight:ye},"& .MuiSelect-select.MuiSelect-standard":{lineHeight:be,minHeight:be}})}]},MuiSkeleton:{variants:[{props:{variant:"rounded"},style:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}]},MuiSnackbarContent:{defaultProps:{},styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})}},MuiStepConnector:{styleOverrides:{root:({theme:e})=>({"& .MuiStepConnector-line":{borderColor:e.palette.divider}})}},MuiStepIcon:{styleOverrides:{root:({theme:e})=>({"&:not(.Mui-active) .MuiStepIcon-text":{fill:e.palette.common.white}})}},MuiStepLabel:{styleOverrides:{root:()=>({alignItems:"flex-start"})}},MuiStepper:{styleOverrides:{root:()=>({"& .MuiStepLabel-root":{alignItems:"center"}})}},MuiSvgIcon:{variants:[{props:{fontSize:"tiny"},style:()=>({fontSize:"1rem"})}]},MuiTab:{styleOverrides:{root:{"&:not(.Mui-selected)":{fontWeight:400},"&.Mui-selected":{fontWeight:700}}},variants:[{props:{size:"small"},style:({theme:e})=>({fontSize:en,lineHeight:1.6,padding:e.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}})}]},MuiTableRow:{styleOverrides:{root:({theme:e})=>({"&.Mui-selected":{backgroundColor:e.palette.action.selected,"&:hover":{backgroundColor:e.palette.action.selected}}})},variants:[{props:e=>"onClick"in e,style:()=>({cursor:"pointer"})}]},MuiTabPanel:{styleOverrides:{root:({theme:e})=>({color:e.palette.text.primary})},variants:[{props:e=>"medium"===e.size||!e.size,style:({theme:e})=>({padding:e.spacing(3,0)})},{props:{size:"small"},style:({theme:e})=>({padding:e.spacing(1.5,0)})},{props:{disablePadding:!0},style:()=>({padding:0})}]},MuiTabs:{styleOverrides:{indicator:{height:"3px"}},variants:[{props:{size:"small"},style:({theme:e})=>({minHeight:32,"& .MuiTab-root":{fontSize:en,lineHeight:1.6,padding:e.spacing(.75,1),minWidth:72,"&:not(.MuiTab-labelIcon)":{minHeight:32},"&.MuiTab-labelIcon":{minHeight:32}}})}]},MuiTextField:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{size:"tiny",select:!0},style:()=>({"& .MuiSelect-icon":{fontSize:Qr,right:"9px"},"& .MuiInputBase-root .MuiSelect-select":{minHeight:"auto"}})}]},MuiToggleButton:{styleOverrides:{root:({theme:e})=>({borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2]})},variants:[{props:{color:"primary"},style:({theme:e})=>({"&.MuiToggleButton-root.Mui-selected":{color:e.palette.primary.__unstableAccessibleMain}})},{props:{color:"global"},style:({theme:e})=>({"&.MuiToggleButton-root.Mui-selected":{color:e.palette.global.__unstableAccessibleMain}})},{props:{size:"tiny"},style:({theme:e})=>({fontSize:ge,lineHeight:1.3334,padding:e.spacing(.625)})}]},MuiTooltip:{defaultProps:{arrow:!0},styleOverrides:{arrow:({theme:e})=>({color:e.palette.grey[700]}),tooltip:({theme:e})=>({backgroundColor:e.palette.grey[700],borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]})}},MuiTypography:{defaultProps:{variantMapping:{display1:"h1",display2:"h2",display3:"h3",display4:"h4",display5:"h5",display6:"h6"}}}};const rn={components:tn,shape:{borderRadius:4,__unstableBorderRadiusMultipliers:we},typography:{display1:{fontSize:"0rem"},display2:{fontSize:"0rem"},display3:{fontSize:"0rem"},display4:{fontSize:"0rem"},display5:{fontSize:"0rem"},display6:{fontSize:"0rem"},button:{textTransform:"none"},h1:{fontWeight:700},h2:{fontWeight:700},h3:{fontSize:"2.75rem",fontWeight:700},h4:{fontSize:"2rem",fontWeight:700},h5:{fontWeight:700},subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}},zIndex:{mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500}},nn={...rn,palette:{mode:"light",primary:{main:wr,light:xr,dark:_r,contrastText:vr,[fe]:"#C00BB9",[me]:"#D355CE"},secondary:{main:gr,light:mr,dark:br,contrastText:cr},grey:{50:ur,100:dr,200:pr,300:hr,400:fr,500:mr,600:gr,700:br,800:yr,900:vr},text:{primary:vr,secondary:br,tertiary:mr,disabled:hr},background:{paper:cr,default:cr},success:{main:Er,light:Mr,dark:Tr,contrastText:cr},error:{main:kr,light:Cr,dark:Sr,contrastText:cr},warning:{main:"#bb5b1d",light:"#d97706",dark:Ar,contrastText:cr},info:{main:Rr,light:jr,dark:Ir,contrastText:cr},global:{main:Pr,light:Or,dark:Lr,contrastText:vr,[fe]:"#17929B",[me]:"#5DB3B9"},accent:{main:Nr,light:zr,dark:Fr,contrastText:cr},promotion:{main:Nr,light:zr,dark:Fr,contrastText:cr},decorative:{main:Pr,light:Or,dark:Lr,contrastText:vr},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}},on={...rn,palette:{mode:"dark",primary:{main:wr,light:xr,dark:_r,contrastText:vr,[fe]:"#C00BB9",[me]:"#D355CE"},secondary:{main:hr,light:pr,dark:fr,contrastText:vr},grey:{50:ur,100:dr,200:pr,300:hr,400:fr,500:mr,600:gr,700:br,800:yr,900:vr},text:{primary:cr,secondary:pr,tertiary:hr,disabled:gr},background:{paper:vr,default:yr},success:{main:Er,light:Mr,dark:Tr,contrastText:cr},error:{main:kr,light:Cr,dark:Sr,contrastText:cr},warning:{main:"#f59e0b",light:"#fbbf24",dark:Ar,contrastText:"#000000"},info:{main:Rr,light:jr,dark:Ir,contrastText:cr},global:{main:Pr,light:Or,dark:Lr,contrastText:vr,[fe]:"#17929B",[me]:"#5DB3B9"},accent:{main:Nr,light:zr,dark:Fr,contrastText:cr},promotion:{main:Nr,light:zr,dark:Fr,contrastText:cr},decorative:{main:Pr,light:Or,dark:Lr,contrastText:vr},neutral:{main:"#ffffff",light:"#ffffff",dark:"#ffffff",contrastText:"#ffffff"}}};function an(e,t){const r=(0,Se.A)({},t);return Object.keys(e).forEach(n=>{if(n.toString().match(/^(components|slots)$/))r[n]=(0,Se.A)({},e[n],r[n]);else if(n.toString().match(/^(componentsProps|slotProps)$/)){const o=e[n]||{},i=t[n];r[n]={},i&&Object.keys(i)?o&&Object.keys(o)?(r[n]=(0,Se.A)({},i),Object.keys(o).forEach(e=>{r[n][e]=an(o[e],i[e])})):r[n]=i:r[n]=o}else void 0===r[n]&&(r[n]=e[n])}),r}function sn(e){const{theme:t,name:r,props:n}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?an(t.components[r].defaultProps,n):n}function ln(t,r,n,o,i){const[a,s]=e.useState(()=>i&&n?n(t).matches:o?o(t).matches:r);return Zt(()=>{let e=!0;if(!n)return;const r=n(t),o=()=>{e&&s(r.matches)};return o(),r.addListener(o),()=>{e=!1,r.removeListener(o)}},[t,n]),a}const cn=e.useSyncExternalStore;function un(t,r,n,o,i){const a=e.useCallback(()=>r,[r]),s=e.useMemo(()=>{if(i&&n)return()=>n(t).matches;if(null!==o){const{matches:e}=o(t);return()=>e}return a},[a,t,o,i,n]),[l,c]=e.useMemo(()=>{if(null===n)return[a,()=>()=>{}];const e=n(t);return[()=>e.matches,t=>(e.addListener(t),()=>{e.removeListener(t)})]},[a,n,t]);return cn(c,l,s)}function dn(e){if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)}function pn(t){if(e.isValidElement(t)||!dn(t))return t;const r={};return Object.keys(t).forEach(e=>{r[e]=pn(t[e])}),r}function hn(t,r,n={clone:!0}){const o=n.clone?(0,Se.A)({},t):t;return dn(t)&&dn(r)&&Object.keys(r).forEach(i=>{e.isValidElement(r[i])?o[i]=r[i]:dn(r[i])&&Object.prototype.hasOwnProperty.call(t,i)&&dn(t[i])?o[i]=hn(t[i],r[i],n):n.clone?o[i]=dn(r[i])?pn(r[i]):r[i]:o[i]=r[i]}),o}const fn="#524CFF";var mn={primary:{main:fn,light:"#6B65FF",dark:"#4C43E5",contrastText:"#FFFFFF",[fe]:"#524CFF",[me]:"#6B65FF"},action:{selected:Gr(fn,.08)}};const gn="#006BFF",bn="#2C89FF";var yn={primary:{main:gn,light:bn,dark:"#005BE0",contrastText:"#FFFFFF",[fe]:gn,[me]:bn}};const vn=["none","0px 1px 3px 0px rgba(0, 0, 0, 0.02), 0px 1px 1px 0px rgba(0, 0, 0, 0.04), 0px 2px 1px -1px rgba(0, 0, 0, 0.06)","0px 1px 5px 0px rgba(0, 0, 0, 0.02), 0px 2px 2px 0px rgba(0, 0, 0, 0.04), 0px 3px 1px -2px rgba(0, 0, 0, 0.06)","0px 1px 8px 0px rgba(0, 0, 0, 0.02), 0px 3px 4px 0px rgba(0, 0, 0, 0.04), 0px 3px 3px -2px rgba(0, 0, 0, 0.06)","0px 1px 10px 0px rgba(0, 0, 0, 0.02), 0px 4px 5px 0px rgba(0, 0, 0, 0.04), 0px 2px 4px -1px rgba(0, 0, 0, 0.06)","0px 1px 14px 0px rgba(0, 0, 0, 0.02), 0px 5px 8px 0px rgba(0, 0, 0, 0.04), 0px 3px 5px -1px rgba(0, 0, 0, 0.06)","0px 1px 18px 0px rgba(0, 0, 0, 0.02), 0px 6px 10px 0px rgba(0, 0, 0, 0.04), 0px 3px 5px -1px rgba(0, 0, 0, 0.06)","0px 2px 16px 1px rgba(0, 0, 0, 0.02), 0px 7px 10px 1px rgba(0, 0, 0, 0.04), 0px 4px 5px -2px rgba(0, 0, 0, 0.06)","0px 3px 14px 2px rgba(0, 0, 0, 0.02), 0px 8px 10px 1px rgba(0, 0, 0, 0.04), 0px 5px 5px -3px rgba(0, 0, 0, 0.06)","0px 4px 20px 3px rgba(0, 0, 0, 0.02), 0px 11px 15px 1px rgba(0, 0, 0, 0.04), 0px 6px 7px -4px rgba(0, 0, 0, 0.06)","0px 4px 18px 3px rgba(0, 0, 0, 0.02), 0px 10px 14px 1px rgba(0, 0, 0, 0.04), 0px 6px 6px -3px rgba(0, 0, 0, 0.06)","0px 3px 16px 2px rgba(0, 0, 0, 0.02), 0px 9px 12px 1px rgba(0, 0, 0, 0.04), 0px 5px 6px -3px rgba(0, 0, 0, 0.06)","0px 5px 22px 4px rgba(0, 0, 0, 0.02), 0px 12px 17px 2px rgba(0, 0, 0, 0.04), 0px 7px 8px -4px rgba(0, 0, 0, 0.06)","0px 5px 24px 4px rgba(0, 0, 0, 0.02), 0px 13px 19px 2px rgba(0, 0, 0, 0.04), 0px 7px 8px -4px rgba(0, 0, 0, 0.06)","0px 5px 26px 4px rgba(0, 0, 0, 0.02), 0px 14px 21px 2px rgba(0, 0, 0, 0.04), 0px 7px 9px -4px rgba(0, 0, 0, 0.06)","0px 6px 28px 5px rgba(0, 0, 0, 0.02), 0px 15px 22px 2px rgba(0, 0, 0, 0.04), 0px 8px 9px -5px rgba(0, 0, 0, 0.06)","0px 6px 30px 5px rgba(0, 0, 0, 0.02), 0px 16px 24px 2px rgba(0, 0, 0, 0.04), 0px 8px 10px -5px rgba(0, 0, 0, 0.06)","0px 6px 32px 5px rgba(0, 0, 0, 0.02), 0px 17px 26px 2px rgba(0, 0, 0, 0.04), 0px 8px 11px -5px rgba(0, 0, 0, 0.06)","0px 7px 34px 6px rgba(0, 0, 0, 0.02), 0px 18px 28px 2px rgba(0, 0, 0, 0.04), 0px 9px 11px -5px rgba(0, 0, 0, 0.06)","0px 7px 36px 6px rgba(0, 0, 0, 0.02), 0px 19px 29px 2px rgba(0, 0, 0, 0.04), 0px 9px 12px -6px rgba(0, 0, 0, 0.06)","0px 8px 38px 7px rgba(0, 0, 0, 0.02), 0px 20px 31px 3px rgba(0, 0, 0, 0.04), 0px 10px 13px -6px rgba(0, 0, 0, 0.06)","0px 8px 40px 7px rgba(0, 0, 0, 0.02), 0px 21px 33px 3px rgba(0, 0, 0, 0.04), 0px 10px 13px -6px rgba(0, 0, 0, 0.06)","0px 8px 42px 7px rgba(0, 0, 0, 0.02), 0px 22px 35px 3px rgba(0, 0, 0, 0.04), 0px 10px 14px -6px rgba(0, 0, 0, 0.06)","0px 9px 44px 8px rgba(0, 0, 0, 0.02), 0px 23px 36px 3px rgba(0, 0, 0, 0.04), 0px 11px 14px -7px rgba(0, 0, 0, 0.06)","0px 9px 46px 8px rgba(0, 0, 0, 0.02), 0px 24px 38px 3px rgba(0, 0, 0, 0.04), 0px 11px 15px -7px rgba(0, 0, 0, 0.06)"],xn=yr,wn=br;var Cn={primary:{main:xn,light:wn,dark:vr,contrastText:"#FFFFFF",[fe]:xn,[me]:wn},accent:{main:wr,light:xr,dark:_r,contrastText:vr}};const kn=ur,Sn="#FFFFFF";var An={primary:{main:kn,light:Sn,dark:dr,contrastText:vr,[fe]:kn,[me]:Sn},accent:{main:wr,light:xr,dark:_r,contrastText:vr}};const jn=yr,Rn=br;var In={primary:{main:jn,light:Rn,dark:vr,contrastText:"#FFFFFF",[fe]:jn,[me]:Rn},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const Mn=ur,En="#FFFFFF";var Tn={primary:{main:Mn,light:En,dark:dr,contrastText:vr,[fe]:Mn,[me]:En},accent:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},decorative:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"},neutral:{main:"#f00",light:"#f00",dark:"#f00",contrastText:"#f00"}};const On=(0,e.createContext)(null),Pn=({value:t,children:r})=>e.createElement(On.Provider,{value:t},r),Ln={zIndex:rn.zIndex};const zn=!0;function Nn(e){return e?Fn(e,{primary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],secondary:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],success:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],info:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],warning:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],error:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],background:["default","paper","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],decorative:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],accent:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],neutral:["main","light","dark","contrastText","whisper","delicate","soft","__unstableAccessibleMain","__unstableAccessibleLight","__unstableTonalMain","__unstableTonalDark","__unstableSurface","__unstableSurfaceLight","__unstableSurfaceDark","__unstableSurfaceTranslucent"],text:["primary","secondary","tertiary","disabled"],action:["active","focus","hover","disabled","disabledBackground","selected","__unstableGradientAngle"],divider:zn}):{}}function Fn(e,t){if(!e||!t)return{};const r={};return Object.entries(t).forEach(([t,n])=>{if(e[t])if("boolean"!=typeof n){if(Array.isArray(n)){const o=e[t];n.forEach(e=>{void 0!==o?.[e]&&(r[t]={...r[t],[e]:o[e]})})}}else r[t]=e[t]}),r}const Dn=new Map,Bn=(0,ee.w)(({colorScheme:r,palette:n,children:o,overrides:i,unstableThemeV0:a},s)=>{const l=(0,e.useContext)(On),c=s.key===xe,u=r||l?.colorScheme||"auto",d=function(e,t={}){const r=Bt(),n="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:o=!1,matchMedia:i=(n?window.matchMedia:null),ssrMatchMedia:a=null,noSsr:s=!1}=sn({name:"MuiUseMediaQuery",props:t,theme:r});let l="function"==typeof e?e(r):e;return l=l.replace(/^@media( ?)/m,""),(void 0!==cn?un:ln)(l,o,i,a,s)}("(prefers-color-scheme: dark)"),p="auto"===u&&d||"dark"===u,h=function(e,t){if(!e)return t;if("function"!=typeof e)return console.error("overrides must be a function"),t;const r=e(structuredClone(t||Ln));return r&&"object"==typeof r?r:(console.error("overrides function must return an object"),t)}(i,l?.overrides),f=a?.name||n||l?.themeName,m=a||l?.customTheme;let g=m?((e,t=!1,r=!1)=>{if(!e.name)throw new Error("Custom theme must have a name");const n=`${e.name}-${t}-${r}`;if(Dn.has(n))return Dn.get(n);const o={typography:{subtitle1:{fontWeight:500,lineHeight:1.3},subtitle2:{lineHeight:1.3}}};r&&(o.direction="rtl");const i=function(e,t){const r={components:tn};return t&&e.palette?.dark?r.palette={...on.palette,...Nn(e.palette.dark),mode:"dark"}:e.palette?.light&&(r.palette={...nn.palette,...Nn(e.palette.light)}),e.shadows&&(r.shadows=e.shadows),e.shape&&(r.shape=e.shape),e.typography&&(r.typography=function(e={}){return e?Fn(e,{fontFamily:zn,display1:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display2:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display3:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display4:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display5:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],display6:["fontFamily","fontSize","fontWeight","lineHeight","letterSpacing"],h1:["fontFamily","fontSize","fontWeight"],h2:["fontFamily","fontSize","fontWeight"],h3:["fontFamily","fontSize","fontWeight"],h4:["fontFamily","fontSize","fontWeight"],h5:["fontFamily","fontSize","fontWeight"],h6:["fontFamily","fontSize","fontWeight"],subtitle1:["fontFamily"],subtitle2:["fontFamily"],body1:["fontFamily"],body2:["fontFamily"],caption:["fontFamily"],overline:["fontFamily"],button:["fontFamily","textTransform"]}):{}}(e.typography)),e.zIndex&&(r.zIndex=e.zIndex),r}(e,t),a=Ot(i,o);return Dn.set(n,a),a})(m,p,c):(({palette:e="default",rtl:t=!1,isDarkMode:r=!1}={})=>{const n=`${e}-${r}-${t}`;if(Dn.has(n))return Dn.get(n);const o=r?on:nn,i={};"marketing-suite"===e&&(i.palette=mn),"hub"===e&&(i.palette=yn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]},i.shadows=vn),"unstable"===e&&(i.palette=r?An:Cn,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),"argon-beta"===e&&(i.palette=r?Tn:In,i.shape={borderRadius:8,__unstableBorderRadiusMultipliers:[0,.5,1,1.5,2.5]}),t&&(i.direction="rtl");const a=Ot(o,i);return Dn.set(n,a),a})({rtl:c,isDarkMode:p,palette:n||l?.themeName});return h&&(g=((e,t)=>{if(!t)return e;const r={};return["zIndex"].forEach(e=>{e in t&&(r[e]=t[e])}),hn(e,r,{clone:!0})})(g,h)),t().createElement(Pn,{value:{colorScheme:r,themeName:f,overrides:h,customTheme:m}},t().createElement(lr,{theme:g},o))});var $n=r(1568);function Hn(e,t,r){switch(function(e,t){return 45^x(e,0)?(((t<<2^x(e,0))<<2^x(e,1))<<2^x(e,2))<<2^x(e,3):0}(e,t)){case 5103:return s+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return s+e+e;case 4855:return s+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return s+e+a+e+i+e+e;case 5936:switch(x(e,t+11)){case 114:return s+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return s+e+i+y(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return s+e+i+y(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return s+e+i+e+e;case 6165:return s+e+i+"flex-"+e+e;case 5187:return s+e+y(e,/(\w+).+(:[^]+)/,s+"box-$1$2"+i+"flex-$1$2")+e;case 5443:return s+e+i+"flex-item-"+y(e,/flex-|-self/g,"")+(b(e,/flex-|baseline/)?"":i+"grid-row-"+y(e,/flex-|-self/g,""))+e;case 4675:return s+e+i+"flex-line-pack"+y(e,/align-content|flex-|-self/g,"")+e;case 5548:return s+e+i+y(e,"shrink","negative")+e;case 5292:return s+e+i+y(e,"basis","preferred-size")+e;case 6060:return s+"box-"+y(e,"-grow","")+s+e+i+y(e,"grow","positive")+e;case 4554:return s+y(e,/([^-])(transform)/g,"$1"+s+"$2")+e;case 6187:return y(y(y(e,/(zoom-|grab)/,s+"$1"),/(image-set)/,s+"$1"),e,"")+e;case 5495:case 3959:return y(e,/(image-set\([^]*)/,s+"$1$`$1");case 4968:return y(y(e,/(.+:)(flex-)?(.*)/,s+"box-pack:$3"+i+"flex-pack:$3"),/space-between/,"justify")+s+e+e;case 4200:if(!b(e,/flex-|baseline/))return i+"grid-column-align"+w(e,t)+e;break;case 2592:case 3360:return i+y(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(e,r){return t=r,b(e.props,/grid-\w+-end/)})?~v(e+(r=r[t].value),"span",0)?e:i+y(e,"-start","")+e+i+"grid-row-span:"+(~v(r,"span",0)?b(r,/\d+/):+b(r,/\d+/)-+b(e,/\d+/))+";":i+y(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(e){return b(e.props,/grid-\w+-start/)})?e:i+y(y(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return y(e,/(.+)-inline(.+)/,s+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(_(e)-1-t>6)switch(x(e,t+1)){case 109:if(45!==x(e,t+4))break;case 102:return y(e,/(.+:)(.+)-([^]+)/,"$1"+s+"$2-$3$1"+a+(108==x(e,t+3)?"$3":"$2-$3"))+e;case 115:return~v(e,"stretch",0)?Hn(y(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return y(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,r,n,o,a,s,l){return i+r+":"+n+l+(o?i+r+"-span:"+(a?s:+s-+n)+l:"")+e});case 4949:if(121===x(e,t+6))return y(e,":",":"+s)+e;break;case 6444:switch(x(e,45===x(e,14)?18:11)){case 120:return y(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+s+(45===x(e,14)?"inline-":"")+"box$3$1"+s+"$2$3$1"+i+"$2box$3")+e;case 100:return y(e,":",":"+i)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return y(e,"scroll-","scroll-snap-")+e}return e}function Wn(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case u:return void(e.return=Hn(e.value,e.length,r));case d:return p([T(e,{value:y(e.value,"@","@"+s)})],n);case c:if(e.length)return function(e,t){return e.map(t).join("")}(r=e.props,function(t){switch(b(t,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":O(T(e,{props:[y(t,/:(read-\w+)/,":-moz-$1")]})),O(T(e,{props:[t]})),m(e,{props:k(r,n)});break;case"::placeholder":O(T(e,{props:[y(t,/:(plac\w+)/,":"+s+"input-$1")]})),O(T(e,{props:[y(t,/:(plac\w+)/,":-moz-$1")]})),O(T(e,{props:[y(t,/:(plac\w+)/,i+"input-$1")]})),O(T(e,{props:[t]})),m(e,{props:k(r,n)})}return""})}}const Vn=window.wp.element,qn=(0,Vn.createContext)(void 0);function Un(){return(0,Vn.useContext)(qn)}const Zn=({children:e})=>{const[t,r]=(0,Vn.useState)(!1),[n,o]=(0,Vn.useState)(""),[i,a]=(0,Vn.useState)("");return(0,Nt.jsx)(qn.Provider,{value:{showNotification:t,setShowNotification:r,notificationMessage:n,setNotificationMessage:o,notificationType:i,setNotificationType:a},children:e})},Gn=()=>{const{setNotificationMessage:e,setNotificationType:t,setShowNotification:r}=(0,Vn.useContext)(qn);return{success:n=>{e(n),t("success"),r(!0)},error:n=>{e(n),t("error"),r(!0)}}},Kn=window.wp.apiFetch;var Xn=r.n(Kn);const Jn=window.wp.url;class Yn extends Error{constructor(e){super(e),this.name="APIError"}}const Qn=Yn,eo="/wp/v2";class to{static async request({path:e,data:t,method:r="POST",headers:n}){try{"GET"!==r||e.startsWith(eo)||(e=(0,Jn.addQueryArgs)(e,{sb_time:(new Date).getTime()}));const o=await Xn()({path:e,method:r,data:t,headers:n});if(e.startsWith(eo))return o;if(!o.success)throw new Qn(o.data.message);return o.data}catch(e){throw e instanceof Qn?e:new Qn(e.message)}}static async initConnect(e="new"){const t={wp_rest:window?.ea11ySettingsData?.wpRestNonce||window?.ea11yScannerData?.wpRestNonce};return"update"===e&&(t.update_redirect_uri=!0),to.request({method:"POST",path:"/ea11y/v1/connect/authorize",data:t})}}const ro=to,no="/ea11y/v1";class oo extends ro{static async registerPage(e,t){return oo.request({method:"POST",path:`${no}/remediation/register`,data:{...e,summary:t}})}static async addScanResults(e){return oo.request({method:"POST",path:`${no}/scanner/scan-results`,data:e})}static async triggerSave(e){return oo.request({method:"POST",path:`${no}/remediation/trigger-save`,data:e})}static async submitAltText(e,t){return oo.request({method:"POST",path:`${no}/remediation/set-alt-text`,data:{url:e,alt_text:t}})}static async submitRemediation(e){return oo.request({method:"POST",path:`${no}/remediation/item`,data:e})}static async updateRemediation(e){return oo.request({method:"PATCH",path:`${no}/remediation/item`,data:e})}static async updateRemediationContent(e){return oo.request({method:"PUT",path:`${no}/remediation/item`,data:e})}static async deleteRemediation(e){return oo.request({method:"DELETE",path:`${no}/remediation/item`,data:e})}static async generateAltText(e){return oo.request({method:"POST",path:`${no}/scanner/generate-alt-text`,data:e})}static async resolveWithAI(e){return oo.request({method:"POST",path:`${no}/scanner/resolve-with-ai`,data:e})}static async resolveIssue(e){return oo.request({method:"POST",path:`${no}/scanner/resolve-issue`,data:{scanId:e}})}static async getRemediations(e){return oo.request({method:"GET",path:`${no}/remediation/items?url=${encodeURIComponent(e)}`})}static async setRemediationAsGlobal(e){return oo.request({method:"POST",path:`${no}/remediation/global-item`,data:e})}static async updateGlobalRemediationForPage(e){return oo.request({method:"PUT",path:`${no}/remediation/global-item`,data:e})}static async updateGlobalRemediationForAllPages(e){return oo.request({method:"PATCH",path:`${no}/remediation/global-item`,data:e})}static async deleteGlobalRemediation(e){return oo.request({method:"DELETE",path:`${no}/remediation/global-item`,data:e})}static async updateRemediationStatusForPage(e){return oo.request({method:"PATCH",path:`${no}/remediation/items`,data:e})}static async updateGlobalRemediationGroupForPage(e){return oo.request({method:"PUT",path:`${no}/remediation/global-items-group`,data:e})}static async updateAllGlobalRemediationForAllPages(e){return oo.request({method:"PATCH",path:`${no}/remediation/global-items`,data:e})}static async updateAllGlobalRemediationForPage(e){return oo.request({method:"PUT",path:`${no}/remediation/global-items`,data:e})}static async updateGlobalRemediationGroupForAllPages(e){return oo.request({method:"PATCH",path:`${no}/remediation/global-items-group`,data:e})}static async deleteRemediationForPage(e){return oo.request({method:"DELETE",path:`${no}/remediation/items`,data:e})}static async deleteGlobalRemediations(e){return oo.request({method:"DELETE",path:`${no}/remediation/global-items`,data:e})}static async setHeadingLevel(e){return oo.request({method:"POST",path:`${no}/remediation/heading-level`,data:e})}static async dismissHeadingIssue(e){return oo.request({method:"POST",path:`${no}/remediation/dismiss-heading-issue`,data:e})}static async clearCache(e){return oo.request({method:"DELETE",path:`${no}/remediation/clear-cache`,data:e})}}function io(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=io(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const ao=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=io(e))&&(n&&(n+=" "),n+=t);return n};var so=r(9918);const lo=["className","component"],co=e=>e,uo=(()=>{let e=co;return{configure(t){e=t},generate:t=>e(t),reset(){e=co}}})(),po={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function ho(e,t,r="Mui"){const n=po[t];return n?`${r}-${n}`:`${uo.generate(e)}-${t}`}function fo(e,t,r="Mui"){const n={};return t.forEach(t=>{n[t]=ho(e,t,r)}),n}const mo=fo("MuiBox",["root"]),go=Tt(),bo=function(t={}){const{themeId:r,defaultTheme:n,defaultClassName:o="MuiBox-root",generateClassName:i}=t,a=(0,Jt.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(Me.A);return e.forwardRef(function(e,t){const s=er(n),l=(0,so.A)(e),{className:c,component:u="div"}=l,d=(0,Ae.A)(l,lo);return(0,Nt.jsx)(a,(0,Se.A)({as:u,ref:t,className:ao(c,i?i(o):o),theme:r&&s[r]||s},d))})}({themeId:ar,defaultTheme:go,defaultClassName:mo.root,generateClassName:uo.generate}),yo=bo;var vo=t().forwardRef((e,r)=>t().createElement(yo,{...e,ref:r}));class xo extends e.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?this.props.fallback:this.props.children}}var wo=xo;function _o(e,t,r=void 0){const n={};return Object.keys(e).forEach(o=>{n[o]=e[o].reduce((e,n)=>{if(n){const o=t(n);""!==o&&e.push(o),r&&r[n]&&e.push(r[n])}return e},[]).join(" ")}),n}var Co=r(7272);const ko=Tt(),So=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e},Ao=e=>So(e)&&"classes"!==e,jo=(0,Co.Ay)({themeId:ar,defaultTheme:ko,rootShouldForwardProp:Ao});function Ro({props:e,name:t,defaultTheme:r,themeId:n}){let o=er(r);return n&&(o=o[n]||o),sn({theme:o,name:t,props:e})}function Io({props:e,name:t}){return Ro({props:e,name:t,defaultTheme:ko,themeId:ar})}function Mo(...t){return e.useMemo(()=>t.every(e=>null==e)?null:e=>{t.forEach(t=>{!function(e,t){"function"==typeof e?e(t):e&&(e.current=t)}(t,e)})},t)}const Eo=Mo,To=function(t){const r=e.useRef(t);return Zt(()=>{r.current=t}),e.useRef((...e)=>(0,r.current)(...e)).current},Oo={},Po=[];class Lo{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new Lo}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function zo(){const t=function(t){const r=e.useRef(Oo);return r.current===Oo&&(r.current=t(void 0)),r}(Lo.create).current;var r;return r=t.disposeEffect,e.useEffect(r,Po),t}let No=!0,Fo=!1;const Do=new Lo,Bo={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function $o(e){e.metaKey||e.altKey||e.ctrlKey||(No=!0)}function Ho(){No=!1}function Wo(){"hidden"===this.visibilityState&&Fo&&(No=!0)}const Vo=function(){const t=e.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",$o,!0),t.addEventListener("mousedown",Ho,!0),t.addEventListener("pointerdown",Ho,!0),t.addEventListener("touchstart",Ho,!0),t.addEventListener("visibilitychange",Wo,!0))},[]),r=e.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return No||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!Bo[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(Fo=!0,Do.start(100,()=>{Fo=!1}),r.current=!1,!0)},ref:t}};function qo(e,t){return qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qo(e,t)}function Uo(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,qo(e,t)}const Zo=t().createContext(null);function Go(t,r){var n=Object.create(null);return t&&e.Children.map(t,function(e){return e}).forEach(function(t){n[t.key]=function(t){return r&&(0,e.isValidElement)(t)?r(t):t}(t)}),n}function Ko(e,t,r){return null!=r[t]?r[t]:e.props[t]}function Xo(t,r,n){var o=Go(t.children),i=function(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(n=0;n<o[l].length;n++){var c=o[l][n];s[o[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<i.length;n++)s[i[n]]=r(i[n]);return s}(r,o);return Object.keys(i).forEach(function(a){var s=i[a];if((0,e.isValidElement)(s)){var l=a in r,c=a in o,u=r[a],d=(0,e.isValidElement)(u)&&!u.props.in;!c||l&&!d?c||!l||d?c&&l&&(0,e.isValidElement)(u)&&(i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:Ko(s,"exit",t),enter:Ko(s,"enter",t)})):i[a]=(0,e.cloneElement)(s,{in:!1}):i[a]=(0,e.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:Ko(s,"exit",t),enter:Ko(s,"enter",t)})}}),i}var Jo=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},Yo=function(r){function n(e,t){var n,o=(n=r.call(this,e,t)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(n));return n.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},n}Uo(n,r);var o=n.prototype;return o.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},o.componentWillUnmount=function(){this.mounted=!1},n.getDerivedStateFromProps=function(t,r){var n,o,i=r.children,a=r.handleExited;return{children:r.firstRender?(n=t,o=a,Go(n.children,function(t){return(0,e.cloneElement)(t,{onExited:o.bind(null,t),in:!0,appear:Ko(t,"appear",n),enter:Ko(t,"enter",n),exit:Ko(t,"exit",n)})})):Xo(t,i,a),firstRender:!1}},o.handleExited=function(e,t){var r=Go(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,Se.A)({},t.children);return delete r[e.key],{children:r}}))},o.render=function(){var e=this.props,r=e.component,n=e.childFactory,o=(0,Ae.A)(e,["component","childFactory"]),i=this.state.contextValue,a=Jo(this.state.children).map(n);return delete o.appear,delete o.enter,delete o.exit,null===r?t().createElement(Zo.Provider,{value:i},a):t().createElement(Zo.Provider,{value:i},t().createElement(r,o,a))},n}(t().Component);Yo.propTypes={},Yo.defaultProps={component:"div",childFactory:function(e){return e}};const Qo=Yo;var ei=r(7437);const ti=fo("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"]),ri=["center","classes","className"];let ni,oi,ii,ai,si=e=>e;const li=(0,ei.i7)(ni||(ni=si`
0% {
transform: scale(0);
opacity: 0.1;
}
100% {
transform: scale(1);
opacity: 0.3;
}
`)),ci=(0,ei.i7)(oi||(oi=si`
0% {
opacity: 1;
}
100% {
opacity: 0;
}
`)),ui=(0,ei.i7)(ii||(ii=si`
0% {
transform: scale(1);
}
50% {
transform: scale(0.92);
}
100% {
transform: scale(1);
}
`)),di=jo("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),pi=jo(function(t){const{className:r,classes:n,pulsate:o=!1,rippleX:i,rippleY:a,rippleSize:s,in:l,onExited:c,timeout:u}=t,[d,p]=e.useState(!1),h=ao(r,n.ripple,n.rippleVisible,o&&n.ripplePulsate),f={width:s,height:s,top:-s/2+a,left:-s/2+i},m=ao(n.child,d&&n.childLeaving,o&&n.childPulsate);return l||d||p(!0),e.useEffect(()=>{if(!l&&null!=c){const e=setTimeout(c,u);return()=>{clearTimeout(e)}}},[c,l,u]),(0,Nt.jsx)("span",{className:h,style:f,children:(0,Nt.jsx)("span",{className:m})})},{name:"MuiTouchRipple",slot:"Ripple"})(ai||(ai=si`
opacity: 0;
position: absolute;
&.${0} {
opacity: 0.3;
transform: scale(1);
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
&.${0} {
animation-duration: ${0}ms;
}
& .${0} {
opacity: 1;
display: block;
width: 100%;
height: 100%;
border-radius: 50%;
background-color: currentColor;
}
& .${0} {
opacity: 0;
animation-name: ${0};
animation-duration: ${0}ms;
animation-timing-function: ${0};
}
& .${0} {
position: absolute;
/* @noflip */
left: 0px;
top: 0;
animation-name: ${0};
animation-duration: 2500ms;
animation-timing-function: ${0};
animation-iteration-count: infinite;
animation-delay: 200ms;
}
`),ti.rippleVisible,li,550,({theme:e})=>e.transitions.easing.easeInOut,ti.ripplePulsate,({theme:e})=>e.transitions.duration.shorter,ti.child,ti.childLeaving,ci,550,({theme:e})=>e.transitions.easing.easeInOut,ti.childPulsate,ui,({theme:e})=>e.transitions.easing.easeInOut),hi=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiTouchRipple"}),{center:o=!1,classes:i={},className:a}=n,s=(0,Ae.A)(n,ri),[l,c]=e.useState([]),u=e.useRef(0),d=e.useRef(null);e.useEffect(()=>{d.current&&(d.current(),d.current=null)},[l]);const p=e.useRef(!1),h=zo(),f=e.useRef(null),m=e.useRef(null),g=e.useCallback(e=>{const{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:a}=e;c(e=>[...e,(0,Nt.jsx)(pi,{classes:{ripple:ao(i.ripple,ti.ripple),rippleVisible:ao(i.rippleVisible,ti.rippleVisible),ripplePulsate:ao(i.ripplePulsate,ti.ripplePulsate),child:ao(i.child,ti.child),childLeaving:ao(i.childLeaving,ti.childLeaving),childPulsate:ao(i.childPulsate,ti.childPulsate)},timeout:550,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},u.current)]),u.current+=1,d.current=a},[i]),b=e.useCallback((e={},t={},r=()=>{})=>{const{pulsate:n=!1,center:i=o||t.pulsate,fakeElement:a=!1}=t;if("mousedown"===(null==e?void 0:e.type)&&p.current)return void(p.current=!1);"touchstart"===(null==e?void 0:e.type)&&(p.current=!0);const s=a?null:m.current,l=s?s.getBoundingClientRect():{width:0,height:0,left:0,top:0};let c,u,d;if(i||void 0===e||0===e.clientX&&0===e.clientY||!e.clientX&&!e.touches)c=Math.round(l.width/2),u=Math.round(l.height/2);else{const{clientX:t,clientY:r}=e.touches&&e.touches.length>0?e.touches[0]:e;c=Math.round(t-l.left),u=Math.round(r-l.top)}if(i)d=Math.sqrt((2*l.width**2+l.height**2)/3),d%2==0&&(d+=1);else{const e=2*Math.max(Math.abs((s?s.clientWidth:0)-c),c)+2,t=2*Math.max(Math.abs((s?s.clientHeight:0)-u),u)+2;d=Math.sqrt(e**2+t**2)}null!=e&&e.touches?null===f.current&&(f.current=()=>{g({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},h.start(80,()=>{f.current&&(f.current(),f.current=null)})):g({pulsate:n,rippleX:c,rippleY:u,rippleSize:d,cb:r})},[o,g,h]),y=e.useCallback(()=>{b({},{pulsate:!0})},[b]),v=e.useCallback((e,t)=>{if(h.clear(),"touchend"===(null==e?void 0:e.type)&&f.current)return f.current(),f.current=null,void h.start(0,()=>{v(e,t)});f.current=null,c(e=>e.length>0?e.slice(1):e),d.current=t},[h]);return e.useImperativeHandle(r,()=>({pulsate:y,start:b,stop:v}),[y,b,v]),(0,Nt.jsx)(di,(0,Se.A)({className:ao(ti.root,i.root,a),ref:m},s,{children:(0,Nt.jsx)(Qo,{component:null,exit:!0,children:l})}))}),fi=hi;function mi(e){return ho("MuiButtonBase",e)}const gi=fo("MuiButtonBase",["root","disabled","focusVisible"]),bi=["action","centerRipple","children","className","component","disabled","disableRipple","disableTouchRipple","focusRipple","focusVisibleClassName","LinkComponent","onBlur","onClick","onContextMenu","onDragLeave","onFocus","onFocusVisible","onKeyDown","onKeyUp","onMouseDown","onMouseLeave","onMouseUp","onTouchEnd","onTouchMove","onTouchStart","tabIndex","TouchRippleProps","touchRippleRef","type"],yi=jo("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},[`&.${gi.disabled}`]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}}),vi=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiButtonBase"}),{action:o,centerRipple:i=!1,children:a,className:s,component:l="button",disabled:c=!1,disableRipple:u=!1,disableTouchRipple:d=!1,focusRipple:p=!1,LinkComponent:h="a",onBlur:f,onClick:m,onContextMenu:g,onDragLeave:b,onFocus:y,onFocusVisible:v,onKeyDown:x,onKeyUp:w,onMouseDown:_,onMouseLeave:C,onMouseUp:k,onTouchEnd:S,onTouchMove:A,onTouchStart:j,tabIndex:R=0,TouchRippleProps:I,touchRippleRef:M,type:E}=n,T=(0,Ae.A)(n,bi),O=e.useRef(null),P=e.useRef(null),L=Eo(P,M),{isFocusVisibleRef:z,onFocus:N,onBlur:F,ref:D}=Vo(),[B,$]=e.useState(!1);c&&B&&$(!1),e.useImperativeHandle(o,()=>({focusVisible:()=>{$(!0),O.current.focus()}}),[]);const[H,W]=e.useState(!1);e.useEffect(()=>{W(!0)},[]);const V=H&&!u&&!c;function q(e,t,r=d){return To(n=>(t&&t(n),!r&&P.current&&P.current[e](n),!0))}e.useEffect(()=>{B&&p&&!u&&H&&P.current.pulsate()},[u,p,B,H]);const U=q("start",_),Z=q("stop",g),G=q("stop",b),K=q("stop",k),X=q("stop",e=>{B&&e.preventDefault(),C&&C(e)}),J=q("start",j),Y=q("stop",S),Q=q("stop",A),ee=q("stop",e=>{F(e),!1===z.current&&$(!1),f&&f(e)},!1),te=To(e=>{O.current||(O.current=e.currentTarget),N(e),!0===z.current&&($(!0),v&&v(e)),y&&y(e)}),re=()=>{const e=O.current;return l&&"button"!==l&&!("A"===e.tagName&&e.href)},ne=e.useRef(!1),oe=To(e=>{p&&!ne.current&&B&&P.current&&" "===e.key&&(ne.current=!0,P.current.stop(e,()=>{P.current.start(e)})),e.target===e.currentTarget&&re()&&" "===e.key&&e.preventDefault(),x&&x(e),e.target===e.currentTarget&&re()&&"Enter"===e.key&&!c&&(e.preventDefault(),m&&m(e))}),ie=To(e=>{p&&" "===e.key&&P.current&&B&&!e.defaultPrevented&&(ne.current=!1,P.current.stop(e,()=>{P.current.pulsate(e)})),w&&w(e),m&&e.target===e.currentTarget&&re()&&" "===e.key&&!e.defaultPrevented&&m(e)});let ae=l;"button"===ae&&(T.href||T.to)&&(ae=h);const se={};"button"===ae?(se.type=void 0===E?"button":E,se.disabled=c):(T.href||T.to||(se.role="button"),c&&(se["aria-disabled"]=c));const le=Eo(r,D,O),ce=(0,Se.A)({},n,{centerRipple:i,component:l,disabled:c,disableRipple:u,disableTouchRipple:d,focusRipple:p,tabIndex:R,focusVisible:B}),ue=(e=>{const{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:o}=e,i=_o({root:["root",t&&"disabled",r&&"focusVisible"]},mi,o);return r&&n&&(i.root+=` ${n}`),i})(ce);return(0,Nt.jsxs)(yi,(0,Se.A)({as:ae,className:ao(ue.root,s),ownerState:ce,onBlur:ee,onClick:m,onContextMenu:Z,onFocus:te,onKeyDown:oe,onKeyUp:ie,onMouseDown:U,onMouseLeave:X,onMouseUp:K,onDragLeave:G,onTouchEnd:Y,onTouchMove:Q,onTouchStart:J,ref:le,tabIndex:c?-1:R,type:E},se,T,{children:[a,V?(0,Nt.jsx)(fi,(0,Se.A)({ref:L,center:i},I)):null]}))}),xi=vi,wi=r(3226).A;function _i(e){return ho("MuiTab",e)}const Ci=fo("MuiTab",["root","labelIcon","textColorInherit","textColorPrimary","textColorSecondary","selected","disabled","fullWidth","wrapped","iconWrapper"]),ki=["className","disabled","disableFocusRipple","fullWidth","icon","iconPosition","indicator","label","onChange","onClick","onFocus","selected","selectionFollowsFocus","textColor","value","wrapped"],Si=jo(xi,{name:"MuiTab",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.label&&r.icon&&t.labelIcon,t[`textColor${wi(r.textColor)}`],r.fullWidth&&t.fullWidth,r.wrapped&&t.wrapped]}})(({theme:e,ownerState:t})=>(0,Se.A)({},e.typography.button,{maxWidth:360,minWidth:90,position:"relative",minHeight:48,flexShrink:0,padding:"12px 16px",overflow:"hidden",whiteSpace:"normal",textAlign:"center"},t.label&&{flexDirection:"top"===t.iconPosition||"bottom"===t.iconPosition?"column":"row"},{lineHeight:1.25},t.icon&&t.label&&{minHeight:72,paddingTop:9,paddingBottom:9,[`& > .${Ci.iconWrapper}`]:(0,Se.A)({},"top"===t.iconPosition&&{marginBottom:6},"bottom"===t.iconPosition&&{marginTop:6},"start"===t.iconPosition&&{marginRight:e.spacing(1)},"end"===t.iconPosition&&{marginLeft:e.spacing(1)})},"inherit"===t.textColor&&{color:"inherit",opacity:.6,[`&.${Ci.selected}`]:{opacity:1},[`&.${Ci.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"primary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Ci.selected}`]:{color:(e.vars||e).palette.primary.main},[`&.${Ci.disabled}`]:{color:(e.vars||e).palette.text.disabled}},"secondary"===t.textColor&&{color:(e.vars||e).palette.text.secondary,[`&.${Ci.selected}`]:{color:(e.vars||e).palette.secondary.main},[`&.${Ci.disabled}`]:{color:(e.vars||e).palette.text.disabled}},t.fullWidth&&{flexShrink:1,flexGrow:1,flexBasis:0,maxWidth:"none"},t.wrapped&&{fontSize:e.typography.pxToRem(12)})),Ai=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiTab"}),{className:o,disabled:i=!1,disableFocusRipple:a=!1,fullWidth:s,icon:l,iconPosition:c="top",indicator:u,label:d,onChange:p,onClick:h,onFocus:f,selected:m,selectionFollowsFocus:g,textColor:b="inherit",value:y,wrapped:v=!1}=n,x=(0,Ae.A)(n,ki),w=(0,Se.A)({},n,{disabled:i,disableFocusRipple:a,selected:m,icon:!!l,iconPosition:c,label:!!d,fullWidth:s,textColor:b,wrapped:v}),_=(e=>{const{classes:t,textColor:r,fullWidth:n,wrapped:o,icon:i,label:a,selected:s,disabled:l}=e;return _o({root:["root",i&&a&&"labelIcon",`textColor${wi(r)}`,n&&"fullWidth",o&&"wrapped",s&&"selected",l&&"disabled"],iconWrapper:["iconWrapper"]},_i,t)})(w),C=l&&d&&e.isValidElement(l)?e.cloneElement(l,{className:ao(_.iconWrapper,l.props.className)}):l;return(0,Nt.jsxs)(Si,(0,Se.A)({focusRipple:!a,className:ao(_.root,o),ref:r,role:"tab","aria-selected":m,disabled:i,onClick:e=>{!m&&p&&p(e,y),h&&h(e)},onFocus:e=>{g&&!m&&p&&p(e,y),f&&f(e)},ownerState:w,tabIndex:m?0:-1},x,{children:["top"===c||"start"===c?(0,Nt.jsxs)(e.Fragment,{children:[C,d]}):(0,Nt.jsxs)(e.Fragment,{children:[d,C]}),u]}))}),ji={size:"medium"},Ri=t().forwardRef((e,r)=>t().createElement(Ai,{...ji,...e,ref:r}));Ri.defaultProps=ji;var Ii=Ri,Mi=r(4708);function Ei(e){return Io}function Ti(e,t,r){return"function"==typeof e?e(t,r):e}function Oi(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Oi(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const Pi=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Oi(e))&&(n&&(n+=" "),n+=t);return n};function Li(e,t=[]){if(void 0===e)return{};const r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEach(t=>{r[t]=e[t]}),r}function zi(e){if(void 0===e)return{};const t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t}function Ni(e){const{getSlotProps:t,additionalProps:r,externalSlotProps:n,externalForwardedProps:o,className:i}=e;if(!t){const e=Pi(null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),t=(0,Se.A)({},null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),a=(0,Se.A)({},r,o,n);return e.length>0&&(a.className=e),Object.keys(t).length>0&&(a.style=t),{props:a,internalRef:void 0}}const a=Li((0,Se.A)({},o,n)),s=zi(n),l=zi(o),c=t(a),u=Pi(null==c?void 0:c.className,null==r?void 0:r.className,i,null==o?void 0:o.className,null==n?void 0:n.className),d=(0,Se.A)({},null==c?void 0:c.style,null==r?void 0:r.style,null==o?void 0:o.style,null==n?void 0:n.style),p=(0,Se.A)({},c,r,l,s);return u.length>0&&(p.className=u),Object.keys(d).length>0&&(p.style=d),{props:p,internalRef:c.ref}}function Fi(e){return"string"==typeof e}function Di(e,t,r){return void 0===e||Fi(e)?t:(0,Se.A)({},t,{ownerState:(0,Se.A)({},t.ownerState,r)})}const Bi=["className","elementType","ownerState","externalForwardedProps","getSlotOwnerState","internalForwardedProps"],$i=["component","slots","slotProps"],Hi=["component"];function Wi(e,t){const{className:r,elementType:n,ownerState:o,externalForwardedProps:i,getSlotOwnerState:a,internalForwardedProps:s}=t,l=(0,Ae.A)(t,Bi),{component:c,slots:u={[e]:void 0},slotProps:d={[e]:void 0}}=i,p=(0,Ae.A)(i,$i),h=u[e]||n,f=Ti(d[e],o),m=Ni((0,Se.A)({className:r},l,{externalForwardedProps:"root"===e?p:void 0,externalSlotProps:f})),{props:{component:g},internalRef:b}=m,y=(0,Ae.A)(m.props,Hi),v=Mo(b,null==f?void 0:f.ref,t.ref),x=a?a(y):{},w=(0,Se.A)({},o,x),_="root"===e?g||c:g,C=Di(h,(0,Se.A)({},"root"===e&&!c&&!u[e]&&s,"root"!==e&&!u[e]&&s,y,_&&{as:_},{ref:v}),w);return Object.keys(x).forEach(e=>{delete C[e]}),[h,C]}const Vi=e=>{let t;return t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2,(t/100).toFixed(2)};function qi(e){return ho("MuiPaper",e)}fo("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"]);const Ui=["className","component","elevation","square","variant"],Zi=jo("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t[`elevation${r.elevation}`]]}})(({theme:e,ownerState:t})=>{var r;return(0,Se.A)({backgroundColor:(e.vars||e).palette.background.paper,color:(e.vars||e).palette.text.primary,transition:e.transitions.create("box-shadow")},!t.square&&{borderRadius:e.shape.borderRadius},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.divider}`},"elevation"===t.variant&&(0,Se.A)({boxShadow:(e.vars||e).shadows[t.elevation]},!e.vars&&"dark"===e.palette.mode&&{backgroundImage:`linear-gradient(${(0,Oe.X4)("#fff",Vi(t.elevation))}, ${(0,Oe.X4)("#fff",Vi(t.elevation))})`},e.vars&&{backgroundImage:null==(r=e.vars.overlays)?void 0:r[t.elevation]}))}),Gi=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiPaper"}),{className:n,component:o="div",elevation:i=1,square:a=!1,variant:s="elevation"}=r,l=(0,Ae.A)(r,Ui),c=(0,Se.A)({},r,{component:o,elevation:i,square:a,variant:s}),u=(e=>{const{square:t,elevation:r,variant:n,classes:o}=e;return _o({root:["root",n,!t&&"rounded","elevation"===n&&`elevation${r}`]},qi,o)})(c);return(0,Nt.jsx)(Zi,(0,Se.A)({as:o,ownerState:c,className:ao(u.root,n),ref:t},l))});function Ki(e){return ho("MuiAlert",e)}const Xi=fo("MuiAlert",["root","action","icon","message","filled","colorSuccess","colorInfo","colorWarning","colorError","filledSuccess","filledInfo","filledWarning","filledError","outlined","outlinedSuccess","outlinedInfo","outlinedWarning","outlinedError","standard","standardSuccess","standardInfo","standardWarning","standardError"]);function Ji(e){return ho("MuiIconButton",e)}const Yi=fo("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge"]),Qi=["edge","children","className","color","disabled","disableFocusRipple","size"],ea=jo(xi,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"default"!==r.color&&t[`color${wi(r.color)}`],r.edge&&t[`edge${wi(r.edge)}`],t[`size${wi(r.size)}`]]}})(({theme:e,ownerState:t})=>(0,Se.A)({textAlign:"center",flex:"0 0 auto",fontSize:e.typography.pxToRem(24),padding:8,borderRadius:"50%",overflow:"visible",color:(e.vars||e).palette.action.active,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest})},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12}),({theme:e,ownerState:t})=>{var r;const n=null==(r=(e.vars||e).palette)?void 0:r[t.color];return(0,Se.A)({},"inherit"===t.color&&{color:"inherit"},"inherit"!==t.color&&"default"!==t.color&&(0,Se.A)({color:null==n?void 0:n.main},!t.disableRipple&&{"&:hover":(0,Se.A)({},n&&{backgroundColor:e.vars?`rgba(${n.mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(n.main,e.palette.action.hoverOpacity)},{"@media (hover: none)":{backgroundColor:"transparent"}})}),"small"===t.size&&{padding:5,fontSize:e.typography.pxToRem(18)},"large"===t.size&&{padding:12,fontSize:e.typography.pxToRem(28)},{[`&.${Yi.disabled}`]:{backgroundColor:"transparent",color:(e.vars||e).palette.action.disabled}})}),ta=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiIconButton"}),{edge:n=!1,children:o,className:i,color:a="default",disabled:s=!1,disableFocusRipple:l=!1,size:c="medium"}=r,u=(0,Ae.A)(r,Qi),d=(0,Se.A)({},r,{edge:n,color:a,disabled:s,disableFocusRipple:l,size:c}),p=(e=>{const{classes:t,disabled:r,color:n,edge:o,size:i}=e;return _o({root:["root",r&&"disabled","default"!==n&&`color${wi(n)}`,o&&`edge${wi(o)}`,`size${wi(i)}`]},Ji,t)})(d);return(0,Nt.jsx)(ea,(0,Se.A)({className:ao(p.root,i),centerRipple:!0,focusRipple:!l,disabled:s,ref:t},u,{ownerState:d,children:o}))});function ra(e){return ho("MuiSvgIcon",e)}fo("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const na=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],oa=jo("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t[`color${wi(r.color)}`],t[`fontSize${wi(r.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var r,n,o,i,a,s,l,c,u,d,p,h,f;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:null==(r=e.transitions)||null==(n=r.create)?void 0:n.call(r,"fill",{duration:null==(o=e.transitions)||null==(o=o.duration)?void 0:o.shorter}),fontSize:{inherit:"inherit",small:(null==(i=e.typography)||null==(a=i.pxToRem)?void 0:a.call(i,20))||"1.25rem",medium:(null==(s=e.typography)||null==(l=s.pxToRem)?void 0:l.call(s,24))||"1.5rem",large:(null==(c=e.typography)||null==(u=c.pxToRem)?void 0:u.call(c,35))||"2.1875rem"}[t.fontSize],color:null!=(d=null==(p=(e.vars||e).palette)||null==(p=p[t.color])?void 0:p.main)?d:{action:null==(h=(e.vars||e).palette)||null==(h=h.action)?void 0:h.active,disabled:null==(f=(e.vars||e).palette)||null==(f=f.action)?void 0:f.disabled,inherit:void 0}[t.color]}}),ia=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiSvgIcon"}),{children:o,className:i,color:a="inherit",component:s="svg",fontSize:l="medium",htmlColor:c,inheritViewBox:u=!1,titleAccess:d,viewBox:p="0 0 24 24"}=n,h=(0,Ae.A)(n,na),f=e.isValidElement(o)&&"svg"===o.type,m=(0,Se.A)({},n,{color:a,component:s,fontSize:l,instanceFontSize:t.fontSize,inheritViewBox:u,viewBox:p,hasSvgAsChild:f}),g={};u||(g.viewBox=p);const b=(e=>{const{color:t,fontSize:r,classes:n}=e;return _o({root:["root","inherit"!==t&&`color${wi(t)}`,`fontSize${wi(r)}`]},ra,n)})(m);return(0,Nt.jsxs)(oa,(0,Se.A)({as:s,className:ao(b.root,i),focusable:"false",color:c,"aria-hidden":!d||void 0,role:d?"img":void 0,ref:r},g,h,f&&o.props,{ownerState:m,children:[f?o.props.children:o,d?(0,Nt.jsx)("title",{children:d}):null]}))});ia.muiName="SvgIcon";const aa=ia;function sa(t,r){function n(e,n){return(0,Nt.jsx)(aa,(0,Se.A)({"data-testid":`${r}Icon`,ref:n},e,{children:t}))}return n.muiName=aa.muiName,e.memo(e.forwardRef(n))}const la=sa((0,Nt.jsx)("path",{d:"M20,12A8,8 0 0,1 12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4C12.76,4 13.5,4.11 14.2, 4.31L15.77,2.74C14.61,2.26 13.34,2 12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0, 0 22,12M7.91,10.08L6.5,11.5L11,16L21,6L19.59,4.58L11,13.17L7.91,10.08Z"}),"SuccessOutlined"),ca=sa((0,Nt.jsx)("path",{d:"M12 5.99L19.53 19H4.47L12 5.99M12 2L1 21h22L12 2zm1 14h-2v2h2v-2zm0-6h-2v4h2v-4z"}),"ReportProblemOutlined"),ua=sa((0,Nt.jsx)("path",{d:"M11 15h2v2h-2zm0-8h2v6h-2zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"ErrorOutline"),da=sa((0,Nt.jsx)("path",{d:"M11,9H13V7H11M12,20C7.59,20 4,16.41 4,12C4,7.59 7.59,4 12,4C16.41,4 20,7.59 20, 12C20,16.41 16.41,20 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10, 10 0 0,0 12,2M11,17H13V11H11V17Z"}),"InfoOutlined"),pa=sa((0,Nt.jsx)("path",{d:"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close"),ha=["action","children","className","closeText","color","components","componentsProps","icon","iconMapping","onClose","role","severity","slotProps","slots","variant"],fa=Ei(),ma=jo(Gi,{name:"MuiAlert",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${wi(r.color||r.severity)}`]]}})(({theme:e})=>{const t="light"===e.palette.mode?Oe.e$:Oe.a,r="light"===e.palette.mode?Oe.a:Oe.e$;return(0,Se.A)({},e.typography.body2,{backgroundColor:"transparent",display:"flex",padding:"6px 16px",variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([n])=>({props:{colorSeverity:n,variant:"standard"},style:{color:e.vars?e.vars.palette.Alert[`${n}Color`]:t(e.palette[n].light,.6),backgroundColor:e.vars?e.vars.palette.Alert[`${n}StandardBg`]:r(e.palette[n].light,.9),[`& .${Xi.icon}`]:e.vars?{color:e.vars.palette.Alert[`${n}IconColor`]}:{color:e.palette[n].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([r])=>({props:{colorSeverity:r,variant:"outlined"},style:{color:e.vars?e.vars.palette.Alert[`${r}Color`]:t(e.palette[r].light,.6),border:`1px solid ${(e.vars||e).palette[r].light}`,[`& .${Xi.icon}`]:e.vars?{color:e.vars.palette.Alert[`${r}IconColor`]}:{color:e.palette[r].main}}})),...Object.entries(e.palette).filter(([,e])=>e.main&&e.dark).map(([t])=>({props:{colorSeverity:t,variant:"filled"},style:(0,Se.A)({fontWeight:e.typography.fontWeightMedium},e.vars?{color:e.vars.palette.Alert[`${t}FilledColor`],backgroundColor:e.vars.palette.Alert[`${t}FilledBg`]}:{backgroundColor:"dark"===e.palette.mode?e.palette[t].dark:e.palette[t].main,color:e.palette.getContrastText(e.palette[t].main)})}))]})}),ga=jo("div",{name:"MuiAlert",slot:"Icon",overridesResolver:(e,t)=>t.icon})({marginRight:12,padding:"7px 0",display:"flex",fontSize:22,opacity:.9}),ba=jo("div",{name:"MuiAlert",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0",minWidth:0,overflow:"auto"}),ya=jo("div",{name:"MuiAlert",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"flex-start",padding:"4px 0 0 16px",marginLeft:"auto",marginRight:-8}),va={success:(0,Nt.jsx)(la,{fontSize:"inherit"}),warning:(0,Nt.jsx)(ca,{fontSize:"inherit"}),error:(0,Nt.jsx)(ua,{fontSize:"inherit"}),info:(0,Nt.jsx)(da,{fontSize:"inherit"})},xa=e.forwardRef(function(e,t){const r=fa({props:e,name:"MuiAlert"}),{action:n,children:o,className:i,closeText:a="Close",color:s,components:l={},componentsProps:c={},icon:u,iconMapping:d=va,onClose:p,role:h="alert",severity:f="success",slotProps:m={},slots:g={},variant:b="standard"}=r,y=(0,Ae.A)(r,ha),v=(0,Se.A)({},r,{color:s,severity:f,variant:b,colorSeverity:s||f}),x=(e=>{const{variant:t,color:r,severity:n,classes:o}=e;return _o({root:["root",`color${wi(r||n)}`,`${t}${wi(r||n)}`,`${t}`],icon:["icon"],message:["message"],action:["action"]},Ki,o)})(v),w={slots:(0,Se.A)({closeButton:l.CloseButton,closeIcon:l.CloseIcon},g),slotProps:(0,Se.A)({},c,m)},[_,C]=Wi("closeButton",{elementType:ta,externalForwardedProps:w,ownerState:v}),[k,S]=Wi("closeIcon",{elementType:pa,externalForwardedProps:w,ownerState:v});return(0,Nt.jsxs)(ma,(0,Se.A)({role:h,elevation:0,ownerState:v,className:ao(x.root,i),ref:t},y,{children:[!1!==u?(0,Nt.jsx)(ga,{ownerState:v,className:x.icon,children:u||d[f]||va[f]}):null,(0,Nt.jsx)(ba,{ownerState:v,className:x.message,children:o}),null!=n?(0,Nt.jsx)(ya,{ownerState:v,className:x.action,children:n}):null,null==n&&p?(0,Nt.jsx)(ya,{ownerState:v,className:x.action,children:(0,Nt.jsx)(_,(0,Se.A)({size:"small","aria-label":a,title:a,color:"inherit",onClick:p},C,{children:(0,Nt.jsx)(k,(0,Se.A)({fontSize:"small"},S))}))}):null]}))}),wa=xa,_a=(e="default")=>"inherit"===e?"inherit":"default"===e?"action.active":$r.includes(e)?`${e}.${fe}`:`${e}.main`;var Ca=t().forwardRef((e,r)=>{const{sx:n={},color:o}=e,i=e.href?he:"&:hover,&:focus,&:active",a={[i]:{color:_a(o)}};return t().createElement(ta,{...e,sx:{...a,...n},ref:r})}),ka=t().forwardRef((e,r)=>t().createElement(aa,{...e,ref:r}));const Sa=(e,t)=>{const r={},n={};return t.forEach(t=>{n[t]=`Mui${e}-${t}`,r[t]={slot:t,name:`Mui${e}`}}),{slots:r,classNames:n}};var Aa=r(6655);const ja=e=>function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}(e)&&"classes"!==e,Ra=Ot({}),Ia=(0,Aa.Ay)({themeId:ar,defaultTheme:Ra,rootShouldForwardProp:ja}),Ma=(e,t)=>{if(!t?.shouldForwardProp)return Ia(e,t);const r=t.shouldForwardProp,n={...t};return n.shouldForwardProp=e=>ja(e)&&r(e),Ia(e,n)},Ea=t().forwardRef((e,r)=>t().createElement(ka,{viewBox:"0 0 24 24",...e,ref:r},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"}))),{slots:Ta,classNames:Oa}=Sa("CloseButton",["root","icon"]),Pa=Ma(Ca,Ta.root)({}),La=Ma(Ea,Ta.icon)({}),za={"aria-label":"close",color:"default"},Na=t().forwardRef((e,r)=>{const n=Io({props:{...za,...e},name:Ta.root.name}),{slotProps:o={},...i}=n;return t().createElement(Pa,{...i,size:"small",ref:r,className:Pi([[Oa.root,i.className]]),ownerState:n},t().createElement(La,{...o.icon,className:Pi([Oa.icon,o.icon?.className]),ownerState:n}))});Na.defaultProps=za;var Fa=Na;const Da=Ma(wa)(({theme:e,severity:t,color:r,variant:n,ownerState:o})=>{const i="small"===o.size,a=function(e,t,r,n){const o=t||e;return o?"filled"===r?{"& .MuiButton-containedInherit:not(.Mui-disabled)":{color:n.palette[o].main,backgroundColor:"rgba(255, 255, 255, 1)","&:hover":{backgroundColor:"rgba(255, 255, 255, .96)"}},"& .MuiButton-outlinedInherit:not(.Mui-disabled):hover":{backgroundColor:n.palette[o].dark},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[he]:{color:n.palette[o].main}}}:{"&.MuiAlert-root":{color:n.palette.text.secondary},"& .MuiCloseButton-root":{color:n.palette.action.active},"& .MuiButton-containedInherit:not(.Mui-disabled)":{backgroundColor:n.palette[o].main,color:n.palette[o].contrastText,"&:hover":{backgroundColor:n.palette[o].dark,color:n.palette[o].contrastText}},"& .MuiButton-outlinedInherit:not(.Mui-disabled)":{borderColor:n.palette[o].main,color:n.palette[o].main,"&:hover":{backgroundColor:Gr(n.palette[o].main,.08),color:n.palette[o].main}},"& a.MuiButtonBase-root.MuiButton-containedInherit:not(.Mui-disabled)":{[he]:{color:n.palette[o].contrastText}},"& a.MuiButtonBase-root.MuiButton-outlinedInherit:not(.Mui-disabled)":{[he]:{color:n.palette[o].main}}}:{}}(t,r,n,e),s=function(e,t){return"small"!==e.size?{}:{"& .MuiButtonBase-root.MuiButton-root":{fontSize:t.typography.caption.fontSize,letterSpacing:t.typography.caption.letterSpacing,lineHeight:1},"& .MuiButtonBase-root.MuiButton-contained":{padding:"8px 9px"},"& .MuiButtonBase-root.MuiButton-outlined":{padding:"7px 9px"}}}(o,e),l=i?{...e.typography.caption,fontWeight:e.typography.subtitle2.fontWeight,lineHeight:e.typography.subtitle2.lineHeight}:e.typography.subtitle2,c=i?{...e.typography.caption,lineHeight:e.typography.body2.lineHeight}:{};return{borderRadius:o.square?void 0:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],padding:i?e.spacing(1.5):e.spacing(1.5,2),"& .MuiAlert-message":{width:"100%",padding:0,minHeight:i?"28px":"31px",display:"flex",flexDirection:"row",flexWrap:"wrap",gap:i?e.spacing(1):e.spacing(1.5),...c},"& .MuiAlertTitle-root":{marginBottom:0,lineHeight:"inherit",marginRight:i?e.spacing(.25):e.spacing(.5),marginTop:0,...l},"& .MuiAlert-icon":{fontSize:i?"18px":"22px",padding:i?e.spacing(.25):0,paddingTop:i?"5px":e.spacing(.5),marginRight:i?e.spacing(.5):e.spacing(1.5)},"& .MuiAlert-action":{padding:i?e.spacing(.25,0,0):0,marginLeft:i?e.spacing(.5):e.spacing(1)},"&.MuiAlert-filledWarning":{color:e.palette.common.white},...s,...a}}),{slots:Ba,classNames:$a}=Sa("Alert",["actions","content"]),Ha=Ma("div",Ba.content)(()=>({flexGrow:1,paddingTop:"6px"})),Wa=Ma("div",Ba.content)(({theme:e})=>({alignItems:"center",display:"flex",flexWrap:"wrap",gap:e.spacing(.25),maxWidth:"800px"})),Va=({children:e,...r})=>t().createElement(Ha,{...r},t().createElement(Wa,null,e)),qa=Ma("div")(({theme:e,ownerState:t})=>({display:"flex",alignItems:"flex-start",flexWrap:"wrap",gap:"small"===t.size?e.spacing(.5):e.spacing(1)})),Ua={closeText:"Close",severity:"success",size:"medium"},Za=t().forwardRef((e,r)=>{const{onClose:n,action:o,secondaryAction:i,children:a,size:s,...l}={...Ua,...e},c=Boolean(o||i);return t().createElement(Da,{iconMapping:{success:t().createElement(Ka,null),error:t().createElement(Ja,null),info:t().createElement(Xa,null),warning:t().createElement(Ya,null)},...l,ref:r,action:!!n&&t().createElement(Fa,{color:"inherit",onClick:n,slotProps:{icon:{fontSize:"small"===s?"tiny":"small"}},title:l.closeText,"aria-label":l.closeText}),ownerState:{size:s,square:l.square}},t().createElement(Va,{className:$a.content},a),c&&t().createElement(qa,{className:$a.actions,ownerState:{size:s}},i,o))});Za.defaultProps=Ua;var Ga=Za;function Ka(){return t().createElement(ka,{viewBox:"0 0 24 24",fontSize:"inherit"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"}))}function Xa(){return t().createElement(ka,{viewBox:"0 0 24 24",fontSize:"inherit"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"}))}function Ja(){return t().createElement(ka,{viewBox:"0 0 24 24",fontSize:"inherit"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7 2.25C8.46249 2.25 8.23103 2.29047 8.0079 2.38964C7.78802 2.48736 7.61395 2.62539 7.46967 2.76967L2.76967 7.46967C2.62539 7.61395 2.48736 7.78802 2.38964 8.0079C2.29047 8.23103 2.25 8.46249 2.25 8.7V15.3C2.25 15.5375 2.29047 15.769 2.38964 15.9921C2.48736 16.212 2.62539 16.3861 2.76967 16.5303L7.46967 21.2303C7.61395 21.3746 7.78802 21.5126 8.0079 21.6104C8.23103 21.7095 8.46249 21.75 8.7 21.75H15.3C15.5375 21.75 15.769 21.7095 15.9921 21.6104C16.212 21.5126 16.3861 21.3746 16.5303 21.2303L21.2303 16.5303C21.3746 16.3861 21.5126 16.212 21.6104 15.9921C21.7095 15.769 21.75 15.5375 21.75 15.3V8.7C21.75 8.46249 21.7095 8.23103 21.6104 8.0079C21.5126 7.78802 21.3746 7.61395 21.2303 7.46967L16.5303 2.76967C16.3861 2.62539 16.212 2.48736 15.9921 2.38964C15.769 2.29047 15.5375 2.25 15.3 2.25H8.7ZM12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8V12C11.25 12.4142 11.5858 12.75 12 12.75C12.4142 12.75 12.75 12.4142 12.75 12V8ZM12 15.25C11.5858 15.25 11.25 15.5858 11.25 16C11.25 16.4142 11.5858 16.75 12 16.75H12.01C12.4242 16.75 12.76 16.4142 12.76 16C12.76 15.5858 12.4242 15.25 12.01 15.25H12Z"}))}function Ya(){return t().createElement(ka,{viewBox:"0 0 24 24",fontSize:"inherit"},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9932 3C11.5018 3 11.0194 3.13134 10.596 3.38038C10.175 3.62805 9.82781 3.98314 9.59 4.40906L2.4909 16.6309C2.47341 16.661 2.45804 16.6923 2.44491 16.7246C2.27977 17.1303 2.21428 17.5695 2.25392 18.0056C2.29356 18.4416 2.43717 18.8619 2.67276 19.2313C2.90835 19.6008 3.22909 19.9086 3.6082 20.1291C3.98731 20.3496 4.41379 20.4764 4.85202 20.499C4.88374 20.5006 4.9151 20.5003 4.94598 20.498C4.96405 20.4993 4.98229 20.5 5.00069 20.5H19.0057L19.011 20.5C19.4598 20.4968 19.9011 20.3841 20.2962 20.1718C20.6914 19.9594 21.0285 19.6537 21.2781 19.2815C21.5277 18.9093 21.6822 18.4818 21.7282 18.0362C21.7742 17.5907 21.7102 17.1408 21.5419 16.7256C21.5287 16.693 21.5132 16.6613 21.4955 16.6309L14.3964 4.40904C14.1586 3.98312 13.8114 3.62805 13.3904 3.38038C12.9671 3.13134 12.4846 3 11.9932 3ZM12.7538 8.76945C12.7538 8.35599 12.4179 8.02081 12.0035 8.02081C11.5891 8.02081 11.2532 8.35599 11.2532 8.76945V12.7658C11.2532 13.1793 11.5891 13.5145 12.0035 13.5145C12.4179 13.5145 12.7538 13.1793 12.7538 12.7658V8.76945ZM12.7538 15.7586C12.7538 15.3451 12.4179 15.0099 12.0035 15.0099C11.5891 15.0099 11.2532 15.3451 11.2532 15.7586V15.7686C11.2532 16.182 11.5891 16.5172 12.0035 16.5172C12.4179 16.5172 12.7538 16.182 12.7538 15.7686V15.7586Z"}))}function Qa(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function es(...t){return e.useMemo(()=>t.every(e=>null==e)?null:e=>{t.forEach(t=>{Qa(t,e)})},t)}const ts=["elementType","externalSlotProps","ownerState","skipResolvingSlotProps"];function rs(e){var t;const{elementType:r,externalSlotProps:n,ownerState:o,skipResolvingSlotProps:i=!1}=e,a=(0,Ae.A)(e,ts),s=i?{}:Ti(n,o),{props:l,internalRef:c}=Ni((0,Se.A)({},a,{externalSlotProps:s})),u=es(c,null==s?void 0:s.ref,null==(t=e.additionalProps)?void 0:t.ref);return Di(r,(0,Se.A)({},l,{ref:u}),o)}const ns="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,os=function(t){const r=e.useRef(t);return ns(()=>{r.current=t}),e.useRef((...e)=>(0,r.current)(...e)).current};function is(e){return e&&e.ownerDocument||document}function as(e){return e.substring(2).toLowerCase()}function ss(t){const{children:r,disableReactTree:n=!1,mouseEvent:o="onClick",onClickAway:i,touchEvent:a="onTouchEnd"}=t,s=e.useRef(!1),l=e.useRef(null),c=e.useRef(!1),u=e.useRef(!1);e.useEffect(()=>(setTimeout(()=>{c.current=!0},0),()=>{c.current=!1}),[]);const d=es(r.ref,l),p=os(e=>{const t=u.current;u.current=!1;const r=is(l.current);if(!c.current||!l.current||"clientX"in e&&function(e,t){return t.documentElement.clientWidth<e.clientX||t.documentElement.clientHeight<e.clientY}(e,r))return;if(s.current)return void(s.current=!1);let o;o=e.composedPath?e.composedPath().indexOf(l.current)>-1:!r.documentElement.contains(e.target)||l.current.contains(e.target),o||!n&&t||i(e)}),h=e=>t=>{u.current=!0;const n=r.props[e];n&&n(t)},f={ref:d};return!1!==a&&(f[a]=h(a)),e.useEffect(()=>{if(!1!==a){const e=as(a),t=is(l.current),r=()=>{s.current=!0};return t.addEventListener(e,p),t.addEventListener("touchmove",r),()=>{t.removeEventListener(e,p),t.removeEventListener("touchmove",r)}}},[p,a]),!1!==o&&(f[o]=h(o)),e.useEffect(()=>{if(!1!==o){const e=as(o),t=is(l.current);return t.addEventListener(e,p),()=>{t.removeEventListener(e,p)}}},[p,o]),(0,Nt.jsx)(e.Fragment,{children:e.cloneElement(r,f)})}const ls={},cs=[];class us{constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}static create(){return new us}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}}function ds(){const e=er(ko);return e[ar]||e}const ps=window.ReactDOM;var hs=r.n(ps);var fs="unmounted",ms="exited",gs="entering",bs="entered",ys="exiting",vs=function(e){function r(t,r){var n;n=e.call(this,t,r)||this;var o,i=r&&!r.isMounting?t.enter:t.appear;return n.appearStatus=null,t.in?i?(o=ms,n.appearStatus=gs):o=bs:o=t.unmountOnExit||t.mountOnEnter?fs:ms,n.state={status:o},n.nextCallback=null,n}Uo(r,e),r.getDerivedStateFromProps=function(e,t){return e.in&&t.status===fs?{status:ms}:null};var n=r.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==gs&&r!==bs&&(t=gs):r!==gs&&r!==bs||(t=ys)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===gs){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:hs().findDOMNode(this);r&&function(e){e.scrollTop}(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===ms&&this.setState({status:fs})},n.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,o=this.props.nodeRef?[n]:[hs().findDOMNode(this),n],i=o[0],a=o[1],s=this.getTimeouts(),l=n?s.appear:s.enter;e||r?(this.props.onEnter(i,a),this.safeSetState({status:gs},function(){t.props.onEntering(i,a),t.onTransitionEnd(l,function(){t.safeSetState({status:bs},function(){t.props.onEntered(i,a)})})})):this.safeSetState({status:bs},function(){t.props.onEntered(i)})},n.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:hs().findDOMNode(this);t?(this.props.onExit(n),this.safeSetState({status:ys},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:ms},function(){e.props.onExited(n)})})})):this.safeSetState({status:ms},function(){e.props.onExited(n)})},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:hs().findDOMNode(this),n=null==e&&!this.props.addEndListener;if(r&&!n){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===fs)return null;var r=this.props,n=r.children,o=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,(0,Ae.A)(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return t().createElement(Zo.Provider,{value:null},"function"==typeof n?n(e,o):t().cloneElement(t().Children.only(n),o))},r}(t().Component);function xs(){}vs.contextType=Zo,vs.propTypes={},vs.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:xs,onEntering:xs,onEntered:xs,onExit:xs,onExiting:xs,onExited:xs},vs.UNMOUNTED=fs,vs.EXITED=ms,vs.ENTERING=gs,vs.ENTERED=bs,vs.EXITING=ys;const ws=vs,_s=e=>e.scrollTop;function Cs(e,t){var r,n;const{timeout:o,easing:i,style:a={}}=e;return{duration:null!=(r=a.transitionDuration)?r:"number"==typeof o?o:o[t.mode]||0,easing:null!=(n=a.transitionTimingFunction)?n:"object"==typeof i?i[t.mode]:i,delay:a.transitionDelay}}const ks=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"];function Ss(e){return`scale(${e}, ${e**2})`}const As={entering:{opacity:1,transform:Ss(1)},entered:{opacity:1,transform:"none"}},js="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Rs=e.forwardRef(function(t,r){const{addEndListener:n,appear:o=!0,children:i,easing:a,in:s,onEnter:l,onEntered:c,onEntering:u,onExit:d,onExited:p,onExiting:h,style:f,timeout:m="auto",TransitionComponent:g=ws}=t,b=(0,Ae.A)(t,ks),y=zo(),v=e.useRef(),x=ds(),w=e.useRef(null),_=Eo(w,i.ref,r),C=e=>t=>{if(e){const r=w.current;void 0===t?e(r):e(r,t)}},k=C(u),S=C((e,t)=>{_s(e);const{duration:r,delay:n,easing:o}=Cs({style:f,timeout:m,easing:a},{mode:"enter"});let i;"auto"===m?(i=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=i):i=r,e.style.transition=[x.transitions.create("opacity",{duration:i,delay:n}),x.transitions.create("transform",{duration:js?i:.666*i,delay:n,easing:o})].join(","),l&&l(e,t)}),A=C(c),j=C(h),R=C(e=>{const{duration:t,delay:r,easing:n}=Cs({style:f,timeout:m,easing:a},{mode:"exit"});let o;"auto"===m?(o=x.transitions.getAutoHeightDuration(e.clientHeight),v.current=o):o=t,e.style.transition=[x.transitions.create("opacity",{duration:o,delay:r}),x.transitions.create("transform",{duration:js?o:.666*o,delay:js?r:r||.333*o,easing:n})].join(","),e.style.opacity=0,e.style.transform=Ss(.75),d&&d(e)}),I=C(p);return(0,Nt.jsx)(g,(0,Se.A)({appear:o,in:s,nodeRef:w,onEnter:S,onEntered:A,onEntering:k,onExit:R,onExited:I,onExiting:j,addEndListener:e=>{"auto"===m&&y.start(v.current||0,e),n&&n(w.current,e)},timeout:"auto"===m?null:m},b,{children:(t,r)=>e.cloneElement(i,(0,Se.A)({style:(0,Se.A)({opacity:0,transform:Ss(.75),visibility:"exited"!==t||s?void 0:"hidden"},As[t],f,i.props.style),ref:_},r))}))});Rs.muiSupportAuto=!0;const Is=Rs;function Ms(e){return ho("MuiSnackbarContent",e)}fo("MuiSnackbarContent",["root","message","action"]);const Es=["action","className","message","role"],Ts=jo(Gi,{name:"MuiSnackbarContent",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t="light"===e.palette.mode?.8:.98,r=(0,Oe.tL)(e.palette.background.default,t);return(0,Se.A)({},e.typography.body2,{color:e.vars?e.vars.palette.SnackbarContent.color:e.palette.getContrastText(r),backgroundColor:e.vars?e.vars.palette.SnackbarContent.bg:r,display:"flex",alignItems:"center",flexWrap:"wrap",padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,flexGrow:1,[e.breakpoints.up("sm")]:{flexGrow:"initial",minWidth:288}})}),Os=jo("div",{name:"MuiSnackbarContent",slot:"Message",overridesResolver:(e,t)=>t.message})({padding:"8px 0"}),Ps=jo("div",{name:"MuiSnackbarContent",slot:"Action",overridesResolver:(e,t)=>t.action})({display:"flex",alignItems:"center",marginLeft:"auto",paddingLeft:16,marginRight:-8}),Ls=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiSnackbarContent"}),{action:n,className:o,message:i,role:a="alert"}=r,s=(0,Ae.A)(r,Es),l=r,c=(e=>{const{classes:t}=e;return _o({root:["root"],action:["action"],message:["message"]},Ms,t)})(l);return(0,Nt.jsxs)(Ts,(0,Se.A)({role:a,square:!0,elevation:6,className:ao(c.root,o),ownerState:l,ref:t},s,{children:[(0,Nt.jsx)(Os,{className:c.message,ownerState:l,children:i}),n?(0,Nt.jsx)(Ps,{className:c.action,ownerState:l,children:n}):null]}))});function zs(e){return ho("MuiSnackbar",e)}fo("MuiSnackbar",["root","anchorOriginTopCenter","anchorOriginBottomCenter","anchorOriginTopRight","anchorOriginBottomRight","anchorOriginTopLeft","anchorOriginBottomLeft"]);const Ns=["onEnter","onExited"],Fs=["action","anchorOrigin","autoHideDuration","children","className","ClickAwayListenerProps","ContentProps","disableWindowBlurListener","message","onBlur","onClose","onFocus","onMouseEnter","onMouseLeave","open","resumeHideDuration","TransitionComponent","transitionDuration","TransitionProps"],Ds=jo("div",{name:"MuiSnackbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`anchorOrigin${wi(r.anchorOrigin.vertical)}${wi(r.anchorOrigin.horizontal)}`]]}})(({theme:e,ownerState:t})=>(0,Se.A)({zIndex:(e.vars||e).zIndex.snackbar,position:"fixed",display:"flex",left:8,right:8,justifyContent:"center",alignItems:"center"},"top"===t.anchorOrigin.vertical?{top:8}:{bottom:8},"left"===t.anchorOrigin.horizontal&&{justifyContent:"flex-start"},"right"===t.anchorOrigin.horizontal&&{justifyContent:"flex-end"},{[e.breakpoints.up("sm")]:(0,Se.A)({},"top"===t.anchorOrigin.vertical?{top:24}:{bottom:24},"center"===t.anchorOrigin.horizontal&&{left:"50%",right:"auto",transform:"translateX(-50%)"},"left"===t.anchorOrigin.horizontal&&{left:24,right:"auto"},"right"===t.anchorOrigin.horizontal&&{right:24,left:"auto"})})),Bs=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiSnackbar"}),o=ds(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{action:a,anchorOrigin:{vertical:s,horizontal:l}={vertical:"bottom",horizontal:"left"},autoHideDuration:c=null,children:u,className:d,ClickAwayListenerProps:p,ContentProps:h,disableWindowBlurListener:f=!1,message:m,open:g,TransitionComponent:b=Is,transitionDuration:y=i,TransitionProps:{onEnter:v,onExited:x}={}}=n,w=(0,Ae.A)(n.TransitionProps,Ns),_=(0,Ae.A)(n,Fs),C=(0,Se.A)({},n,{anchorOrigin:{vertical:s,horizontal:l},autoHideDuration:c,disableWindowBlurListener:f,TransitionComponent:b,transitionDuration:y}),k=(e=>{const{classes:t,anchorOrigin:r}=e;return _o({root:["root",`anchorOrigin${wi(r.vertical)}${wi(r.horizontal)}`]},zs,t)})(C),{getRootProps:S,onClickAway:A}=function(t={}){const{autoHideDuration:r=null,disableWindowBlurListener:n=!1,onClose:o,open:i,resumeHideDuration:a}=t,s=function(){const t=function(t){const r=e.useRef(ls);return r.current===ls&&(r.current=t(void 0)),r}(us.create).current;var r;return r=t.disposeEffect,e.useEffect(r,cs),t}();e.useEffect(()=>{if(i)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){e.defaultPrevented||"Escape"!==e.key&&"Esc"!==e.key||null==o||o(e,"escapeKeyDown")}},[i,o]);const l=os((e,t)=>{null==o||o(e,t)}),c=os(e=>{o&&null!=e&&s.start(e,()=>{l(null,"timeout")})});e.useEffect(()=>(i&&c(r),s.clear),[i,r,c,s]);const u=s.clear,d=e.useCallback(()=>{null!=r&&c(null!=a?a:.5*r)},[r,a,c]),p=e=>t=>{const r=e.onFocus;null==r||r(t),u()},h=e=>t=>{const r=e.onMouseEnter;null==r||r(t),u()},f=e=>t=>{const r=e.onMouseLeave;null==r||r(t),d()};return e.useEffect(()=>{if(!n&&i)return window.addEventListener("focus",d),window.addEventListener("blur",u),()=>{window.removeEventListener("focus",d),window.removeEventListener("blur",u)}},[n,i,d,u]),{getRootProps:(e={})=>{const r=(0,Se.A)({},Li(t),Li(e));return(0,Se.A)({role:"presentation"},e,r,{onBlur:(n=r,e=>{const t=n.onBlur;null==t||t(e),d()}),onFocus:p(r),onMouseEnter:h(r),onMouseLeave:f(r)});var n},onClickAway:e=>{null==o||o(e,"clickaway")}}}((0,Se.A)({},C)),[j,R]=e.useState(!0),I=rs({elementType:Ds,getSlotProps:S,externalForwardedProps:_,ownerState:C,additionalProps:{ref:r},className:[k.root,d]});return!g&&j?null:(0,Nt.jsx)(ss,(0,Se.A)({onClickAway:A},p,{children:(0,Nt.jsx)(Ds,(0,Se.A)({},I,{children:(0,Nt.jsx)(b,(0,Se.A)({appear:!0,in:g,timeout:y,direction:"top"===s?"down":"up",onEnter:(e,t)=>{R(!1),v&&v(e,t)},onExited:e=>{R(!0),x&&x(e)}},w,{children:u||(0,Nt.jsx)(Ls,(0,Se.A)({message:m,action:a},h))}))}))}))}),$s=Bs;var Hs=t().forwardRef((e,r)=>t().createElement($s,{...e,ref:r}));const Ws=({type:e,message:t})=>{const{showNotification:r,setShowNotification:n,setNotificationMessage:o,setNotificationType:i}=Un();return(0,Nt.jsx)(Hs,{open:r,autoHideDuration:"error"===e?1e4:2e3,onClose:()=>{n(!r),o(""),i("")},anchorOrigin:{vertical:"bottom",horizontal:"right"},sx:{zIndex:99999},children:(0,Nt.jsx)(Ga,{onClose:()=>n(!r),severity:e,variant:"filled",children:t})})};var Vs;if("undefined"==typeof window){var qs={hostname:""};Vs={crypto:{randomUUID:function(){throw Error("unsupported")}},navigator:{userAgent:"",onLine:!0},document:{createElement:function(){return{}},location:qs,referrer:""},screen:{width:0,height:0},location:qs,addEventListener:function(){},removeEventListener:function(){}}}else Vs=window;function Us(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Zs(e,t,r,n,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void r(e)}s.done?t(l):Promise.resolve(l).then(n,o)}function Gs(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function a(e){Zs(i,n,o,a,s,"next",e)}function s(e){Zs(i,n,o,a,s,"throw",e)}a(void 0)})}}function Ks(e,t,r){return Ks=il()?Reflect.construct:function(e,t,r){var n=[null];n.push.apply(n,t);var o=new(Function.bind.apply(e,n));return r&&rl(o,r.prototype),o},Ks.apply(null,arguments)}function Xs(e,t,r){return t&&function(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}(e.prototype,t),e}function Js(){return Js=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Js.apply(this,arguments)}function Ys(e){return Ys=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Ys(e)}function Qs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rl(e,t)}function el(e,t){return null!=t&&"undefined"!=typeof Symbol&&t[Symbol.hasInstance]?!!t[Symbol.hasInstance](e):e instanceof t}function tl(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}function rl(e,t){return rl=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},rl(e,t)}function nl(e){return e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e}function ol(e){var t="function"==typeof Map?new Map:void 0;return ol=function(e){if(null===e||(r=e,-1===Function.toString.call(r).indexOf("[native code]")))return e;var r;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return Ks(e,arguments,Ys(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),rl(n,e)},ol(e)}function il(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(il=function(){return!!e})()}function al(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return Us(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(r):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Us(e,t):void 0}}(e))||t){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sl(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}function ll(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}var cl,ul=Object.defineProperty,dl=function(e,t,r){return function(e,t,r){return t in e?ul(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":nl(t))?t+"":t,r)},pl=Object.defineProperty,hl=function(e,t,r){return function(e,t,r){return t in e?pl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":nl(t))?t+"":t,r)},fl=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(fl||{}),ml={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},gl={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},bl={};function yl(e){if(bl[e])return bl[e];var t=globalThis[e],r=t.prototype,n=e in ml?ml[e]:void 0,o=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),i=e in gl?gl[e]:void 0,a=Boolean(i&&i.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(o&&a&&!globalThis.Zone)return bl[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?bl[e]=c:r}catch(e){return r}}var vl={};function xl(e,t,r){var n,o=e+"."+String(r);if(vl[o])return vl[o].call(t);var i=yl(e),a=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return a?(vl[o]=a,a.call(t)):t[r]}var wl=function(e){return xl("Node",e,"childNodes")},_l=function(e){return xl("Node",e,"parentNode")},Cl=function(e){return xl("Node",e,"parentElement")},kl=function(e){return xl("Node",e,"textContent")},Sl=function(e){return e&&"host"in e?xl("ShadowRoot",e,"host"):null},Al=function(e){return e&&"shadowRoot"in e?xl("Element",e,"shadowRoot"):null};function jl(e){return e.nodeType===e.ELEMENT_NODE}function Rl(e){var t=e&&"host"in e&&"mode"in e&&Sl(e)||null;return Boolean(t&&"shadowRoot"in t&&Al(t)===e)}function Il(e){return"[object ShadowRoot]"===Object.prototype.toString.call(e)}function Ml(e){try{var t=e.rules||e.cssRules;if(!t)return null;var r=e.href;return!r&&e.ownerNode&&e.ownerNode.ownerDocument&&(r=e.ownerNode.ownerDocument.location.href),(n=Array.from(t,function(e){return El(e,r)}).join("")).includes(" background-clip: text;")&&!n.includes(" -webkit-background-clip: text;")&&(n=n.replace(/\sbackground-clip:\s*text;/g," -webkit-background-clip: text; background-clip: text;")),n}catch(e){return null}var n}function El(e,t){if(function(e){return"styleSheet"in e}(e)){var r;try{r=Ml(e.styleSheet)||function(e){var t=e.cssText;if(t.split('"').length<3)return t;var r=["@import","url("+JSON.stringify(e.href)+")"];return""===e.layerName?r.push("layer"):e.layerName&&r.push("layer("+e.layerName+")"),e.supportsText&&r.push("supports("+e.supportsText+")"),e.media.length&&r.push(e.media.mediaText),r.join(" ")+";"}(e)}catch(t){r=e.cssText}return e.styleSheet.href?Hl(r,e.styleSheet.href):r}var n,o=e.cssText;return function(e){return"selectorText"in e}(e)&&e.selectorText.includes(":")&&(n=/(\[(?:[\w-]+)[^\\])(:(?:[\w-]+)\])/gm,o=o.replace(n,"$1\\$2")),t?Hl(o,t):o}var Tl=function(){function e(){hl(this,"idNodeMap",new Map),hl(this,"nodeMetaMap",new WeakMap)}var t=e.prototype;return t.getId=function(e){var t;if(!e)return-1;var r=null==(t=this.getMeta(e))?void 0:t.id;return null!=r?r:-1},t.getNode=function(e){return this.idNodeMap.get(e)||null},t.getIds=function(){return Array.from(this.idNodeMap.keys())},t.getMeta=function(e){return this.nodeMetaMap.get(e)||null},t.removeNodeFromMap=function(e){var t=this,r=this.getId(e);this.idNodeMap.delete(r),e.childNodes&&e.childNodes.forEach(function(e){return t.removeNodeFromMap(e)})},t.has=function(e){return this.idNodeMap.has(e)},t.hasNode=function(e){return this.nodeMetaMap.has(e)},t.add=function(e,t){var r=t.id;this.idNodeMap.set(r,e),this.nodeMetaMap.set(e,t)},t.replace=function(e,t){var r=this.getNode(e);if(r){var n=this.nodeMetaMap.get(r);n&&this.nodeMetaMap.set(t,n)}this.idNodeMap.set(e,t)},t.reset=function(){this.idNodeMap=new Map,this.nodeMetaMap=new WeakMap},e}();function Ol(e){var t=e.element,r=e.maskInputOptions,n=e.tagName,o=e.type,i=e.value,a=e.maskInputFn,s=i||"",l=o&&Pl(o);return(r[n.toLowerCase()]||l&&r[l])&&(s=a?a(s,t):"*".repeat(s.length)),s}function Pl(e){return e.toLowerCase()}var Ll="__rrweb_original__";function zl(e){var t=e.type;return e.hasAttribute("data-rr-is-password")?"password":t?Pl(t):null}function Nl(e,t){var r;try{r=new URL(e,null!=t?t:window.location.href)}catch(e){return null}var n,o=r.pathname.match(/\.([0-9a-z]+)(?:$)/i);return null!=(n=null==o?void 0:o[1])?n:null}var Fl=/url\((?:(')([^']*)'|(")(.*?)"|([^)]*))\)/gm,Dl=/^(?:[a-z+]+:)?\/\//i,Bl=/^www\..*/i,$l=/^(data:)([^,]*),(.*)/i;function Hl(e,t){return(e||"").replace(Fl,function(e,r,n,o,i,a){var s=n||i||a,l=r||o||"";if(!s)return e;if(Dl.test(s)||Bl.test(s))return"url("+l+s+l+")";if($l.test(s))return"url("+l+s+l+")";if("/"===s[0])return"url("+l+(function(e){return(e.indexOf("//")>-1?e.split("/").slice(0,3).join("/"):e.split("/")[0]).split("?")[0]}(t)+s)+l+")";var c=t.split("/"),u=s.split("/");c.pop();for(var d,p=al(u);!(d=p()).done;){var h=d.value;"."!==h&&(".."===h?c.pop():c.push(h))}return"url("+l+c.join("/")+l+")"})}function Wl(e){return e.replace(/(\/\*[^*]*\*\/)|[\s;]/g,"")}var Vl,ql,Ul=1,Zl=new RegExp("[^a-z0-9-_:]");function Gl(){return Ul++}var Kl=/^[^ \t\n\r\u000c]+/,Xl=/^[, \t\n\r\u000c]+/,Jl=new WeakMap;function Yl(e,t){return t&&""!==t.trim()?Ql(e,t):t}function Ql(e,t){var r=Jl.get(e);if(r||(r=e.createElement("a"),Jl.set(e,r)),t){if(t.startsWith("blob:")||t.startsWith("data:"))return t}else t="";return r.setAttribute("href",t),r.href}function ec(e,t,r,n){return n?"src"===r||"href"===r&&("use"!==t||"#"!==n[0])||"xlink:href"===r&&"#"!==n[0]?Yl(e,n):"background"!==r||"table"!==t&&"td"!==t&&"th"!==t?"srcset"===r?function(e,t){if(""===t.trim())return t;var r=0;function n(e){var n,o=e.exec(t.substring(r));return o?(n=o[0],r+=n.length,n):""}for(var o=[];n(Xl),!(r>=t.length);){var i=n(Kl);if(","===i.slice(-1))i=Yl(e,i.substring(0,i.length-1)),o.push(i);else{var a="";i=Yl(e,i);for(var s=!1;;){var l=t.charAt(r);if(""===l){o.push((i+a).trim());break}if(s)")"===l&&(s=!1);else{if(","===l){r+=1,o.push((i+a).trim());break}"("===l&&(s=!0)}a+=l,r+=1}}}return o.join(", ")}(e,n):"style"===r?Hl(n,Ql(e)):"object"===t&&"data"===r?Yl(e,n):n:Yl(e,n):n}function tc(e,t,r){return("video"===e||"audio"===e)&&"autoplay"===t}function rc(e,t,r){if(!e)return!1;if(e.nodeType!==e.ELEMENT_NODE)return!!r&&rc(_l(e),t,r);for(var n=e.classList.length;n--;){var o=e.classList[n];if(t.test(o))return!0}return!!r&&rc(_l(e),t,r)}function nc(e,t,r,n){var o;if(jl(e)){if(!wl(o=e).length)return!1}else{if(null===Cl(e))return!1;o=Cl(e)}try{if("string"==typeof t){if(n){if(o.closest("."+t))return!0}else if(o.classList.contains(t))return!0}else if(rc(o,t,n))return!0;if(r)if(n){if(o.closest(r))return!0}else if(o.matches(r))return!0}catch(e){}return!1}function oc(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.needsMask,s=t.inlineStylesheet,l=t.maskInputOptions,c=void 0===l?{}:l,u=t.maskTextFn,d=t.maskInputFn,p=t.dataURLOptions,h=void 0===p?{}:p,f=t.inlineImages,m=t.recordCanvas,g=t.keepIframeSrcFn,b=t.newlyAddedElement,y=void 0!==b&&b,v=t.cssCaptured,x=void 0!==v&&v,w=function(e,t){if(t.hasNode(e)){var r=t.getId(e);return 1===r?void 0:r}}(r,n);switch(e.nodeType){case e.DOCUMENT_NODE:return"CSS1Compat"!==e.compatMode?{type:fl.Document,childNodes:[],compatMode:e.compatMode}:{type:fl.Document,childNodes:[]};case e.DOCUMENT_TYPE_NODE:return{type:fl.DocumentType,name:e.name,publicId:e.publicId,systemId:e.systemId,rootId:w};case e.ELEMENT_NODE:return function(e,t){for(var r,n=t.doc,o=t.inlineStylesheet,i=t.maskInputOptions,a=void 0===i?{}:i,s=t.maskInputFn,l=t.dataURLOptions,c=void 0===l?{}:l,u=t.inlineImages,d=t.recordCanvas,p=t.keepIframeSrcFn,h=t.newlyAddedElement,f=void 0!==h&&h,m=t.rootId,g=function(e,t,r){try{if("string"==typeof t){if(e.classList.contains(t))return!0}else for(var n=e.classList.length;n--;){var o=e.classList[n];if(t.test(o))return!0}if(r)return e.matches(r)}catch(e){}return!1}(e,t.blockClass,t.blockSelector),b=function(e){if(el(e,HTMLFormElement))return"form";var t=Pl(e.tagName);return Zl.test(t)?"div":t}(e),y={},v=e.attributes.length,x=0;x<v;x++){var w=e.attributes[x];tc(b,w.name,w.value)||(y[w.name]=ec(n,b,Pl(w.name),w.value))}if("link"===b&&o){var _=Array.from(n.styleSheets).find(function(t){return t.href===e.href}),C=null;_&&(C=Ml(_)),C&&(delete y.rel,delete y.href,y._cssText=C)}if("style"===b&&e.sheet){var k=Ml(e.sheet);k&&(e.childNodes.length>1&&(k=function(e,t){return function(e,t){var r=Array.from(t.childNodes),n=[];if(r.length>1&&e&&"string"==typeof e)for(var o=Wl(e),i=1;i<r.length;i++)if(r[i].textContent&&"string"==typeof r[i].textContent)for(var a=Wl(r[i].textContent),s=3;s<a.length;s++){var l=a.substring(0,s);if(2===o.split(l).length){for(var c=o.indexOf(l),u=c;u<e.length;u++)if(Wl(e.substring(0,u)).length===c){n.push(e.substring(0,u)),e=e.substring(u);break}break}}return n.push(e),n}(e,t).join("/* rr_split */")}(k,e)),y._cssText=k)}if("input"===b||"textarea"===b||"select"===b){var S=e.value,A=e.checked;"radio"!==y.type&&"checkbox"!==y.type&&"submit"!==y.type&&"button"!==y.type&&S?y.value=Ol({element:e,type:zl(e),tagName:b,value:S,maskInputOptions:a,maskInputFn:s}):A&&(y.checked=A)}if("option"===b&&(e.selected&&!a.select?y.selected=!0:delete y.selected),"dialog"===b&&e.open&&(y.rr_open_mode=e.matches("dialog:modal")?"modal":"non-modal"),"canvas"===b&&d)if("2d"===e.__context)(function(e){var t=e.getContext("2d");if(!t)return!0;for(var r=0;r<e.width;r+=50)for(var n=0;n<e.height;n+=50){var o=t.getImageData,i=Ll in o?o[Ll]:o;if(new Uint32Array(i.call(t,r,n,Math.min(50,e.width-r),Math.min(50,e.height-n)).data.buffer).some(function(e){return 0!==e}))return!1}return!0})(e)||(y.rr_dataURL=e.toDataURL(c.type,c.quality));else if(!("__context"in e)){var j=e.toDataURL(c.type,c.quality),R=n.createElement("canvas");R.width=e.width,R.height=e.height,j!==R.toDataURL(c.type,c.quality)&&(y.rr_dataURL=j)}if("img"===b&&u){Vl||(Vl=n.createElement("canvas"),ql=Vl.getContext("2d"));var I=e,M=I.currentSrc||I.getAttribute("src")||"<unknown-src>",E=I.crossOrigin,T=function(){I.removeEventListener("load",T);try{Vl.width=I.naturalWidth,Vl.height=I.naturalHeight,ql.drawImage(I,0,0),y.rr_dataURL=Vl.toDataURL(c.type,c.quality)}catch(e){if("anonymous"!==I.crossOrigin)return I.crossOrigin="anonymous",void(I.complete&&0!==I.naturalWidth?T():I.addEventListener("load",T));console.warn("Cannot inline img src="+M+"! Error: "+e)}"anonymous"===I.crossOrigin&&(E?y.crossOrigin=E:I.removeAttribute("crossorigin"))};I.complete&&0!==I.naturalWidth?T():I.addEventListener("load",T)}if("audio"===b||"video"===b){var O=y;O.rr_mediaState=e.paused?"paused":"played",O.rr_mediaCurrentTime=e.currentTime,O.rr_mediaPlaybackRate=e.playbackRate,O.rr_mediaMuted=e.muted,O.rr_mediaLoop=e.loop,O.rr_mediaVolume=e.volume}if(f||(e.scrollLeft&&(y.rr_scrollLeft=e.scrollLeft),e.scrollTop&&(y.rr_scrollTop=e.scrollTop)),g){var P=e.getBoundingClientRect(),L=P.width,z=P.height;y={class:y.class,rr_width:L+"px",rr_height:z+"px"}}"iframe"!==b||p(y.src)||(e.contentDocument||(y.rr_src=y.src),delete y.src);try{customElements.get(b)&&(r=!0)}catch(e){}return{type:fl.Element,tagName:b,attributes:y,childNodes:[],isSVG:(N=e,Boolean("svg"===N.tagName||N.ownerSVGElement)||void 0),needBlock:g,rootId:m,isCustom:r};var N}(e,{doc:r,blockClass:o,blockSelector:i,inlineStylesheet:s,maskInputOptions:c,maskInputFn:d,dataURLOptions:h,inlineImages:f,recordCanvas:m,keepIframeSrcFn:g,newlyAddedElement:y,rootId:w});case e.TEXT_NODE:return function(e,t){var r=t.needsMask,n=t.maskTextFn,o=t.rootId,i=t.cssCaptured,a=_l(e),s=a&&a.tagName,l="",c="STYLE"===s||void 0,u="SCRIPT"===s||void 0;return u?l="SCRIPT_PLACEHOLDER":i||(l=kl(e),c&&l&&(l=Hl(l,Ql(t.doc)))),!c&&!u&&l&&r&&(l=n?n(l,Cl(e)):l.replace(/[\S]/g,"*")),{type:fl.Text,textContent:l||"",rootId:o}}(e,{doc:r,needsMask:a,maskTextFn:u,rootId:w,cssCaptured:x});case e.CDATA_SECTION_NODE:return{type:fl.CDATA,textContent:"",rootId:w};case e.COMMENT_NODE:return{type:fl.Comment,textContent:kl(e)||"",rootId:w};default:return!1}}function ic(e){return null==e?"":e.toLowerCase()}function ac(e,t){var r=t.doc,n=t.mirror,o=t.blockClass,i=t.blockSelector,a=t.maskTextClass,s=t.maskTextSelector,l=t.skipChild,c=void 0!==l&&l,u=t.inlineStylesheet,d=void 0===u||u,p=t.maskInputOptions,h=void 0===p?{}:p,f=t.maskTextFn,m=t.maskInputFn,g=t.slimDOMOptions,b=t.dataURLOptions,y=void 0===b?{}:b,v=t.inlineImages,x=void 0!==v&&v,w=t.recordCanvas,_=void 0!==w&&w,C=t.onSerialize,k=t.onIframeLoad,S=t.iframeLoadTimeout,A=void 0===S?5e3:S,j=t.onStylesheetLoad,R=t.stylesheetLoadTimeout,I=void 0===R?5e3:R,M=t.keepIframeSrcFn,E=void 0===M?function(){return!1}:M,T=t.newlyAddedElement,O=void 0!==T&&T,P=t.cssCaptured,L=void 0!==P&&P,z=t.needsMask,N=t.preserveWhiteSpace,F=void 0===N||N;z||(z=nc(e,a,s,void 0===z));var D,B=oc(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:z,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,dataURLOptions:y,inlineImages:x,recordCanvas:_,keepIframeSrcFn:E,newlyAddedElement:O,cssCaptured:L});if(!B)return console.warn(e,"not serialized"),null;D=n.hasNode(e)?n.getId(e):function(e,t){if(t.comment&&e.type===fl.Comment)return!0;if(e.type===fl.Element){if(t.script&&("script"===e.tagName||"link"===e.tagName&&("preload"===e.attributes.rel||"modulepreload"===e.attributes.rel)&&"script"===e.attributes.as||"link"===e.tagName&&"prefetch"===e.attributes.rel&&"string"==typeof e.attributes.href&&"js"===Nl(e.attributes.href)))return!0;if(t.headFavicon&&("link"===e.tagName&&"shortcut icon"===e.attributes.rel||"meta"===e.tagName&&(ic(e.attributes.name).match(/^msapplication-tile(image|color)$/)||"application-name"===ic(e.attributes.name)||"icon"===ic(e.attributes.rel)||"apple-touch-icon"===ic(e.attributes.rel)||"shortcut icon"===ic(e.attributes.rel))))return!0;if("meta"===e.tagName){if(t.headMetaDescKeywords&&ic(e.attributes.name).match(/^description|keywords$/))return!0;if(t.headMetaSocial&&(ic(e.attributes.property).match(/^(og|twitter|fb):/)||ic(e.attributes.name).match(/^(og|twitter):/)||"pinterest"===ic(e.attributes.name)))return!0;if(t.headMetaRobots&&("robots"===ic(e.attributes.name)||"googlebot"===ic(e.attributes.name)||"bingbot"===ic(e.attributes.name)))return!0;if(t.headMetaHttpEquiv&&void 0!==e.attributes["http-equiv"])return!0;if(t.headMetaAuthorship&&("author"===ic(e.attributes.name)||"generator"===ic(e.attributes.name)||"framework"===ic(e.attributes.name)||"publisher"===ic(e.attributes.name)||"progid"===ic(e.attributes.name)||ic(e.attributes.property).match(/^article:/)||ic(e.attributes.property).match(/^product:/)))return!0;if(t.headMetaVerification&&("google-site-verification"===ic(e.attributes.name)||"yandex-verification"===ic(e.attributes.name)||"csrf-token"===ic(e.attributes.name)||"p:domain_verify"===ic(e.attributes.name)||"verify-v1"===ic(e.attributes.name)||"verification"===ic(e.attributes.name)||"shopify-checkout-api-token"===ic(e.attributes.name)))return!0}}return!1}(B,g)||!F&&B.type===fl.Text&&!B.textContent.replace(/^\s+|\s+$/gm,"").length?-2:Gl();var $=Object.assign(B,{id:D});if(n.add(e,$),-2===D)return null;C&&C(e);var H=!c;if($.type===fl.Element){H=H&&!$.needBlock,delete $.needBlock;var W=Al(e);W&&Il(W)&&($.isShadowHost=!0)}if(($.type===fl.Document||$.type===fl.Element)&&H){g.headWhitespace&&$.type===fl.Element&&"head"===$.tagName&&(F=!1);var V={doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:c,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:x,recordCanvas:_,preserveWhiteSpace:F,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:E,cssCaptured:!1};if($.type===fl.Element&&"textarea"===$.tagName&&void 0!==$.attributes.value);else{$.type===fl.Element&&void 0!==$.attributes._cssText&&"string"==typeof $.attributes._cssText&&(V.cssCaptured=!0);for(var q,U=al(Array.from(wl(e)));!(q=U()).done;){var Z=ac(q.value,V);Z&&$.childNodes.push(Z)}}var G=null;if(jl(e)&&(G=Al(e)))for(var K,X=al(Array.from(wl(G)));!(K=X()).done;){var J=ac(K.value,V);J&&(Il(G)&&(J.isShadow=!0),$.childNodes.push(J))}}var Y=_l(e);return Y&&Rl(Y)&&Il(Y)&&($.isShadow=!0),$.type===fl.Element&&"iframe"===$.tagName&&function(e,t,r){var n=e.contentWindow;if(n){var o,i=!1;try{o=n.document.readyState}catch(e){return}if("complete"===o){var a="about:blank";if(n.location.href!==a||e.src===a||""===e.src)return setTimeout(t,0),e.addEventListener("load",t);e.addEventListener("load",t)}else{var s=setTimeout(function(){i||(t(),i=!0)},r);e.addEventListener("load",function(){clearTimeout(s),i=!0,t()})}}}(e,function(){var t=e.contentDocument;if(t&&k){var r=ac(t,{doc:t,mirror:n,blockClass:o,blockSelector:i,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:x,recordCanvas:_,preserveWhiteSpace:F,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:E});r&&k(e,r)}},A),$.type===fl.Element&&"link"===$.tagName&&"string"==typeof $.attributes.rel&&("stylesheet"===$.attributes.rel||"preload"===$.attributes.rel&&"string"==typeof $.attributes.href&&"css"===Nl($.attributes.href))&&function(e,t,r){var n,o=!1;try{n=e.sheet}catch(e){return}if(!n){var i=setTimeout(function(){o||(t(),o=!0)},r);e.addEventListener("load",function(){clearTimeout(i),o=!0,t()})}}(e,function(){if(j){var t=ac(e,{doc:r,mirror:n,blockClass:o,blockSelector:i,needsMask:z,maskTextClass:a,maskTextSelector:s,skipChild:!1,inlineStylesheet:d,maskInputOptions:h,maskTextFn:f,maskInputFn:m,slimDOMOptions:g,dataURLOptions:y,inlineImages:x,recordCanvas:_,preserveWhiteSpace:F,onSerialize:C,onIframeLoad:k,iframeLoadTimeout:A,onStylesheetLoad:j,stylesheetLoadTimeout:I,keepIframeSrcFn:E});t&&j(e,t)}},I),$}function sc(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function lc(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return el(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var cc={exports:{}},uc=String,dc=function(){return{isColorSupported:!1,reset:uc,bold:uc,dim:uc,italic:uc,underline:uc,inverse:uc,hidden:uc,strikethrough:uc,black:uc,red:uc,green:uc,yellow:uc,blue:uc,magenta:uc,cyan:uc,white:uc,gray:uc,bgBlack:uc,bgRed:uc,bgGreen:uc,bgYellow:uc,bgBlue:uc,bgMagenta:uc,bgCyan:uc,bgWhite:uc}};cc.exports=dc(),cc.exports.createColors=dc;var pc=cc.exports,hc=lc(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),fc=pc,mc=hc,gc=function(e){function t(r,n,o,i,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),i&&(l.source=i),s&&(l.plugin=s),void 0!==n&&void 0!==o&&("number"==typeof n?(l.line=n,l.column=o):(l.line=n.line,l.column=n.column,l.endLine=o.line,l.endColumn=o.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Qs(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=fc.isColorSupported),mc&&e&&(r=mc(r));var n,o,i=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,i.length),l=String(s).length;if(e){var c=fc.createColors(!0),u=c.bold,d=c.gray,p=c.red;n=function(e){return u(p(e))},o=function(e){return d(e)}}else n=o=function(e){return e};return i.slice(a,s).map(function(e,r){var i=a+1+r,s=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+c+n("^")}return" "+o(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(ol(Error)),bc=gc;gc.default=gc;var yc={};yc.isClean=Symbol("isClean"),yc.my=Symbol("my");var vc={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},xc=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var o=(e.raws.between||"")+(t?";":"");this.builder(r+n+o,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,o=0;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var a=0;a<o;a++)r+=i}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var o=e.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return vc[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=vc[r]),i.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var o=r.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),wc=xc;xc.default=xc;var _c=wc;function Cc(e,t){new _c(t).stringify(e)}var kc=Cc;Cc.default=Cc;var Sc=yc.isClean,Ac=yc.my,jc=bc,Rc=wc,Ic=kc;function Mc(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var o=e[n],i=void 0===o?"undefined":nl(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return Mc(e,r)}):("object"===i&&null!==o&&(o=Mc(o)),r[n]=o)}return r}var Ec=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[Sc]=!1,this[Ac]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=al(e[t]);!(r=n()).done;){var o=r.value;"function"==typeof o.clone?this.append(o.clone()):this.append(o)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=Mc(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,o=r.start;return this.source.input.error(e,{column:o.column,line:o.line},{column:n.column,line:n.line},t)}return new jc(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[Sc]){this[Sc]=!1;for(var e=this;e=e.parent;)e[Sc]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,o=this.source.start.line,i=0;i<e;i++)"\n"===r[i]?(n=1,o+=1):n+=1;return{column:n,line:o}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),o=n.indexOf(e.word);-1!==o&&(t=this.positionInside(o,n),r=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new Rc).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,o=this,i=!1,a=al(t);!(n=a()).done;){var s=n.value;s===this?i=!0:i?(this.parent.insertAfter(o,s),o=s):this.parent.insertBefore(o,s)}i||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var o=0;for(var i in this)if(Object.prototype.hasOwnProperty.call(this,i)&&"parent"!==i&&"proxyCache"!==i){var a=this[i];if(Array.isArray(a))r[i]=a.map(function(e){return"object"===(void 0===e?"undefined":nl(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":nl(a))&&a.toJSON)r[i]=a.toJSON(null,t);else if("source"===i){var s=t.get(a.input);null==s&&(s=o,t.set(a.input,o),o++),r[i]={end:a.end,inputId:s,start:a.start}}else r[i]=a}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=Ic),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var o in r)n[o]=r[o];return e.warn(t,n)},Xs(e,[{key:"proxyOf",get:function(){return this}}]),e}(),Tc=Ec;Ec.default=Ec;var Oc=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=Js({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return Qs(t,e),Xs(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(Tc),Pc=Oc;Oc.default=Oc;var Lc=hc.SourceMapConsumer,zc=hc.SourceMapGenerator,Nc=hc.existsSync,Fc=hc.readFileSync,Dc=hc.dirname,Bc=hc.join,$c=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Dc(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new Lc(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":nl(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=Dc(e),Nc(e))return this.mapFile=e,Fc(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(el(t,Lc))return zc.fromSourceMap(t).toString();if(el(t,zc))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var o=this.annotation;return e&&(o=Bc(Dc(e),o)),this.loadFile(o)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),Hc=$c;$c.default=$c;var Wc=hc.SourceMapConsumer,Vc=hc.SourceMapGenerator,qc=hc.fileURLToPath,Uc=hc.pathToFileURL,Zc=hc.isAbsolute,Gc=hc.resolve,Kc=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Xc=hc,Jc=bc,Yc=Hc,Qc=Symbol("fromOffsetCache"),eu=Boolean(Wc&&Vc),tu=Boolean(Gc&&Zc),ru=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":nl(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!tu||/^\w+:\/\//.test(t.from)||Zc(t.from)?this.file=t.from:this.file=Gc(t.from)),tu&&eu){var r=new Yc(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Kc(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":nl(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,a=u.col}else i=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var p=this.origin(t,r,i,a);return(o=p?new Jc(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Jc(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(Uc&&(o.input.url=Uc(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[Qc])t=this[Qc];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,o=0,i=r.length;o<i;o++)t[o]=n,n+=r[o].length+1;this[Qc]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Gc(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(o=a.originalPositionFor({column:n,line:r})),i=Zc(s.source)?Uc(s.source):new URL(s.source,this.map.consumer().sourceRoot||Uc(this.map.mapFile));var l={column:s.column,endColumn:o&&o.column,endLine:o&&o.line,line:s.line,url:i.toString()};if("file:"===i.protocol){if(!qc)throw new Error("file: protocol is not available in this PostCSS build");l.file=qc(i)}var c=a.sourceContentFor(s.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=Js({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},Xs(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),nu=ru;ru.default=ru,Xc&&Xc.registerInput&&Xc.registerInput(ru);var ou=hc.SourceMapConsumer,iu=hc.SourceMapGenerator,au=hc.dirname,su=hc.relative,lu=hc.resolve,cu=hc.sep,uu=hc.pathToFileURL,du=nu,pu=Boolean(ou&&iu),hu=Boolean(au&&lu&&su&&cu),fu=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=al(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||au(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new ou(r.text)).sourcesContent&&(i.sourcesContent=null):i=r.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(o)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),hu&&pu&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=iu.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new iu({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new iu({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),o=s.length-r):o+=s.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?au(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=au(lu(r,this.mapOpts.annotation)));var n=su(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new du(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var o=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(o,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(uu){var r=uu(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===cu&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),mu=fu,gu=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return Qs(t,e),t}(Tc),bu=gu;gu.default=gu;var yu,vu,xu,wu,_u=yc.isClean,Cu=yc.my,ku=Pc,Su=bu;function Au(e){return e.map(function(e){return e.nodes&&(e.nodes=Au(e.nodes)),delete e.source,e})}function ju(e){if(e[_u]=!1,e.proxyOf.nodes)for(var t,r=al(e.proxyOf.nodes);!(t=r()).done;)ju(t.value)}var Ru=function(e){function t(){return e.apply(this,arguments)||this}Qs(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=al(t);!(n=o()).done;)for(var i,a=n.value,s=al(this.normalize(a,this.last));!(i=s()).done;){var l=i.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=al(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i;return(i=e)[t].apply(i,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),o=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i,a=al(o);!(i=a()).done;){var s=i.value;this.proxyOf.nodes.splice(n+1,0,s)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+o.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),o=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],o).reverse();n=this.index(e);for(var a,s=al(i);!(a=s()).done;){var l=a.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+i.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=Au(yu(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=al(e=e.slice(0));!(o=i()).done;){var a=o.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=al(e=e.nodes.slice(0));!(s=l()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new ku(e)]}else if(e.selector)e=[new vu(e)];else if(e.name)e=[new xu(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new Su(e)]}var u=e.map(function(e){return e[Cu]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[_u]&&ju(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=al(t=t.reverse());!(n=o()).done;){for(var i,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=al(s);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=al(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},Xs(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(Tc);Ru.registerParse=function(e){yu=e},Ru.registerRule=function(e){vu=e},Ru.registerAtRule=function(e){xu=e},Ru.registerRoot=function(e){wu=e};var Iu=Ru;Ru.default=Ru,Ru.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,xu.prototype):"rule"===e.type?Object.setPrototypeOf(e,vu.prototype):"decl"===e.type?Object.setPrototypeOf(e,ku.prototype):"comment"===e.type?Object.setPrototypeOf(e,Su.prototype):"root"===e.type&&Object.setPrototypeOf(e,wu.prototype),e[Cu]=!0,e.nodes&&e.nodes.forEach(function(e){Ru.rebuild(e)})};var Mu,Eu,Tu=function(e){function t(t){var r;return(r=e.call(this,Js({type:"document"},t))||this).nodes||(r.nodes=[]),r}return Qs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new Mu(new Eu,this,e).stringify()},t}(Iu);Tu.registerLazyResult=function(e){Mu=e},Tu.registerProcessor=function(e){Eu=e};var Ou=Tu;Tu.default=Tu;var Pu=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),Lu=Pu;Pu.default=Pu;var zu=Lu,Nu=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new zu(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},Xs(e,[{key:"content",get:function(){return this.css}}]),e}(),Fu=Nu;Nu.default=Nu;var Du="'".charCodeAt(0),Bu='"'.charCodeAt(0),$u="\\".charCodeAt(0),Hu="/".charCodeAt(0),Wu="\n".charCodeAt(0),Vu=" ".charCodeAt(0),qu="\f".charCodeAt(0),Uu="\t".charCodeAt(0),Zu="\r".charCodeAt(0),Gu="[".charCodeAt(0),Ku="]".charCodeAt(0),Xu="(".charCodeAt(0),Ju=")".charCodeAt(0),Yu="{".charCodeAt(0),Qu="}".charCodeAt(0),ed=";".charCodeAt(0),td="*".charCodeAt(0),rd=":".charCodeAt(0),nd="@".charCodeAt(0),od=/[\t\n\f\r "#'()/;[\\\]{}]/g,id=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,ad=/.[\r\n"'(/\\]/,sd=/[\da-f]/i,ld=Iu,cd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}Qs(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.append).call.apply(o,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.prepend).call.apply(o,[].concat([this],r))},t}(ld),ud=cd;cd.default=cd,ld.registerAtRule(cd);var dd,pd,hd=Iu,fd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}Qs(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var o=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var i,a=al(o);!(i=a()).done;)i.value.raws.before=r.raws.before;return o},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new dd(new pd,this,e).stringify()},t}(hd);fd.registerLazyResult=function(e){dd=e},fd.registerProcessor=function(e){pd=e};var md=fd;fd.default=fd,hd.registerRoot(fd);var gd={comma:function(e){return gd.split(e,[","],!0)},space:function(e){return gd.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",a=!1,s=0,l=!1,c="",u=!1,d=al(e);!(n=d()).done;){var p=n.value;u?u=!1:"\\"===p?u=!0:l?p===c&&(l=!1):'"'===p||"'"===p?(l=!0,c=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(a=!0),a?(""!==i&&o.push(i.trim()),i="",a=!1):i+=p}return(r||""!==i)&&o.push(i.trim()),o}},bd=gd;gd.default=gd;var yd=Iu,vd=bd,xd=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return Qs(t,e),Xs(t,[{key:"selectors",get:function(){return vd.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(yd),wd=xd;xd.default=xd,yd.registerRule(xd);var _d=Pc,Cd=bu,kd=ud,Sd=md,Ad=wd,jd={empty:!0,space:!0},Rd=function(){function e(e){this.input=e,this.root=new Sd,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,o=new kd;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,a=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(o.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(o,"params",s),i&&(e=s[s.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,o,i=0,a=al(e.entries());!(o=a()).done;){var s=o.value,l=s[0];if("("===(r=(t=s[1])[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new Cd;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=function(e,t){void 0===t&&(t={});var r,n,o,i,a,s,l,c,u,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],b=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){b.push(e)},endOfFile:function(){return 0===b.length&&m>=f},nextToken:function(e){if(b.length)return b.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m)){case Wu:case Vu:case Uu:case Zu:case qu:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===Vu||r===Wu||r===Uu||r===Zu||r===qu);d=["space",p.slice(m,n)],m=n-1;break;case Gu:case Ku:case Yu:case Qu:case rd:case ed:case Ju:var v=String.fromCharCode(r);d=[v,v,m];break;case Xu:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==Du&&u!==Bu&&u!==Vu&&u!==Wu&&u!==Uu&&u!==qu&&u!==Zu){n=m;do{if(s=!1,-1===(n=p.indexOf(")",n+1))){if(h||t){n=m;break}y("bracket")}for(l=n;p.charCodeAt(l-1)===$u;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),i=p.slice(m,n+1),-1===n||ad.test(i)?d=["(","(",m]:(d=["brackets",i,m,n],m=n);break;case Du:case Bu:o=r===Du?"'":'"',n=m;do{if(s=!1,-1===(n=p.indexOf(o,n+1))){if(h||t){n=m+1;break}y("string")}for(l=n;p.charCodeAt(l-1)===$u;)l-=1,s=!s}while(s);d=["string",p.slice(m,n+1),m,n],m=n;break;case nd:od.lastIndex=m+1,od.test(p),n=0===od.lastIndex?p.length-1:od.lastIndex-2,d=["at-word",p.slice(m,n+1),m,n],m=n;break;case $u:for(n=m,a=!0;p.charCodeAt(n+1)===$u;)n+=1,a=!a;if(r=p.charCodeAt(n+1),a&&r!==Hu&&r!==Vu&&r!==Wu&&r!==Uu&&r!==Zu&&r!==qu&&(n+=1,sd.test(p.charAt(n)))){for(;sd.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===Vu&&(n+=1)}d=["word",p.slice(m,n+1),m,n],m=n;break;default:r===Hu&&p.charCodeAt(m+1)===td?(0===(n=p.indexOf("*/",m+2)+1)&&(h||t?n=p.length:y("comment")),d=["comment",p.slice(m,n+1),m,n],m=n):(id.lastIndex=m+1,id.test(p),n=0===id.lastIndex?p.length-1:id.lastIndex-2,d=["word",p.slice(m,n+1),m,n],g.push(d),m=n)}return m++,d}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new _d;this.init(r,e[0][2]);var n,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),d="",p=l;p>0;p--){var h=u[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new Ad;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,o=null,i=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(a&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&n){if(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var o,i,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(i=(o=r[d])[0])||d!==l-1||n?"comment"===i?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",jd[s]||jd[a]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new Ad;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),Id=Iu,Md=Rd,Ed=nu;function Td(e,t){var r=new Ed(e,t),n=new Md(r);try{n.parse()}catch(e){throw e}return n.root}var Od=Td;Td.default=Td,Id.registerParse(Td);var Pd=yc.isClean,Ld=yc.my,zd=mu,Nd=kc,Fd=Iu,Dd=Ou,Bd=Fu,$d=Od,Hd=md,Wd={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},Vd={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},qd={Once:!0,postcssPlugin:!0,prepare:!0};function Ud(e){return"object"===(void 0===e?"undefined":nl(e))&&"function"==typeof e.then}function Zd(e){var t=!1,r=Wd[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Gd(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Zd(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Kd(e){return e[Pd]=!1,e.nodes&&e.nodes.forEach(function(e){return Kd(e)}),e}var Xd={},Jd=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":nl(r))||null===r||"root"!==r.type&&"document"!==r.type)if(el(r,e)||el(r,Bd))o=Kd(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=$d;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[Ld]&&Fd.rebuild(o)}else o=Kd(r);this.result=new Bd(t,o,n),this.helpers=Js({},Xd,{postcss:Xd,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":nl(e))&&e.prepare?Js({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=al(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":nl(o)))for(var i in o){if(!Vd[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!qd[i])if("object"===nl(o[i]))for(var a in o[i])r(o,"*"===a?i:i+"-"+a.toLowerCase(),o[i][a]);else"function"==typeof o[i]&&r(o,i,o[i])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return Gs(function(){var t,r,n,o,i,a,s,l,c,u,d,p;return sl(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Ud(n=e.runOnRoot(r)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,n];case 3:return h.sent(),[3,5];case 4:throw o=h.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,h.label=7;case 7:if(i[Pd])return[3,14];i[Pd]=!0,a=[Gd(i)],h.label=8;case 8:if(!(a.length>0))return[3,13];if(!Ud(s=e.visitTick(a)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),c=a[a.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,o,a;return sl(this,function(s){switch(s.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==i.type?[3,3]:(o=i.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(o)]);case 2:return s.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=al(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,ll(u())];case 16:h.sent(),h.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":nl(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Ud(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=Nd;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new zd(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=al(this.plugins);!(e=t()).done;){var r=e.value;if(Ud(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[Pd];)n[Pd]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=al(n.nodes);!(o=i()).done;){var a=o.value;this.visitSync(this.listeners.OnceExit,a)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=al(e);!(r=n()).done;){var o=r.value,i=o[0],a=o[1];this.result.lastPlugin=i;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Ud(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var o=n[t.visitorIndex],i=o[0],a=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[Pd])return s[Pd]=!0,void e.push(Gd(s));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[Pd]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[Pd]=!0;for(var r,n=al(Zd(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[Pd]||t.walkSync(e)});else{var i=this.listeners[o];if(i&&this.visitSync(i,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},Xs(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Jd.registerPostcss=function(e){Xd=e};var Yd=Jd;Jd.default=Jd,Hd.registerLazyResult(Jd),Dd.registerLazyResult(Jd);var Qd=mu,ep=kc,tp=Od,rp=Fu,np=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var o=ep;this.result=new rp(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var a=new Qd(o,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},Xs(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=tp;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),op=np;np.default=np;var ip=op,ap=Yd,sp=Ou,lp=md,cp=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=al(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":nl(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":nl(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":nl(o))||!o.parse&&!o.stringify)throw new Error(o+" is not a PostCSS plugin")}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new ap(this,e,t):new ip(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),up=cp;cp.default=cp,lp.registerProcessor(cp),sp.registerProcessor(cp);var dp=Pc,pp=Hc,hp=bu,fp=ud,mp=nu,gp=md,bp=wd;function yp(e,t){if(Array.isArray(e))return e.map(function(e){return yp(e)});var r=e.inputs,n=tl(e,["inputs"]);if(r){t=[];for(var o,i=al(r);!(o=i()).done;){var a=Js({},o.value,{__proto__:mp.prototype});a.map&&(a.map=Js({},a.map,{__proto__:pp.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return yp(e,t)})),n.source){var s=n.source,l=s.inputId,c=tl(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new gp(n);if("decl"===n.type)return new dp(n);if("rule"===n.type)return new bp(n);if("comment"===n.type)return new hp(n);if("atrule"===n.type)return new fp(n);throw new Error("Unknown node type: "+e.type)}var vp=yp;yp.default=yp;var xp=bc,wp=Pc,_p=Yd,Cp=Iu,kp=up,Sp=kc,Ap=vp,jp=Ou,Rp=Lu,Ip=bu,Mp=ud,Ep=Fu,Tp=nu,Op=Od,Pp=bd,Lp=wd,zp=md,Np=Tc;function Fp(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new kp(t)}Fp.plugin=function(e,t){var r,n=!1;function o(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var a=t.apply(void 0,[].concat(o));return a.postcssPlugin=e,a.postcssVersion=(new kp).version,a}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return Fp([o(r)]).process(e,t)},o},Fp.stringify=Sp,Fp.parse=Op,Fp.fromJSON=Ap,Fp.list=Pp,Fp.comment=function(e){return new Ip(e)},Fp.atRule=function(e){return new Mp(e)},Fp.decl=function(e){return new wp(e)},Fp.rule=function(e){return new Lp(e)},Fp.root=function(e){return new zp(e)},Fp.document=function(e){return new jp(e)},Fp.CssSyntaxError=xp,Fp.Declaration=wp,Fp.Container=Cp,Fp.Processor=kp,Fp.Document=jp,Fp.Comment=Ip,Fp.Warning=Rp,Fp.AtRule=Mp,Fp.Result=Ep,Fp.Input=Tp,Fp.Rule=Lp,Fp.Root=zp,Fp.Node=Np,_p.registerPostcss(Fp);var Dp=Fp;Fp.default=Fp;var Bp=sc(Dp);Bp.stringify,Bp.fromJSON,Bp.plugin,Bp.parse,Bp.list,Bp.document,Bp.comment,Bp.atRule,Bp.rule,Bp.decl,Bp.root,Bp.CssSyntaxError,Bp.Declaration,Bp.Container,Bp.Processor,Bp.Document,Bp.Comment,Bp.Warning,Bp.AtRule,Bp.Result,Bp.Input,Bp.Rule,Bp.Root,Bp.Node;var $p=Object.defineProperty,Hp=function(e,t,r){return function(e,t,r){return t in e?$p(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==(void 0===t?"undefined":nl(t))?t+"":t,r)};function Wp(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vp(e){if(e.__esModule)return e;var t=e.default;if("function"==typeof t){var r=function e(){return el(this,e)?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(t){var n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:function(){return e[t]}})}),r}var qp={exports:{}},Up=String,Zp=function(){return{isColorSupported:!1,reset:Up,bold:Up,dim:Up,italic:Up,underline:Up,inverse:Up,hidden:Up,strikethrough:Up,black:Up,red:Up,green:Up,yellow:Up,blue:Up,magenta:Up,cyan:Up,white:Up,gray:Up,bgBlack:Up,bgRed:Up,bgGreen:Up,bgYellow:Up,bgBlue:Up,bgMagenta:Up,bgCyan:Up,bgWhite:Up}};qp.exports=Zp(),qp.exports.createColors=Zp;var Gp=qp.exports,Kp=Vp(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}))),Xp=Gp,Jp=Kp,Yp=function(e){function t(r,n,o,i,a,s){var l;return(l=e.call(this,r)||this).name="CssSyntaxError",l.reason=r,a&&(l.file=a),i&&(l.source=i),s&&(l.plugin=s),void 0!==n&&void 0!==o&&("number"==typeof n?(l.line=n,l.column=o):(l.line=n.line,l.column=n.column,l.endLine=o.line,l.endColumn=o.column)),l.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(l,t),l}Qs(t,e);var r=t.prototype;return r.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},r.showSourceCode=function(e){var t=this;if(!this.source)return"";var r=this.source;null==e&&(e=Xp.isColorSupported),Jp&&e&&(r=Jp(r));var n,o,i=r.split(/\r?\n/),a=Math.max(this.line-3,0),s=Math.min(this.line+2,i.length),l=String(s).length;if(e){var c=Xp.createColors(!0),u=c.bold,d=c.gray,p=c.red;n=function(e){return u(p(e))},o=function(e){return d(e)}}else n=o=function(e){return e};return i.slice(a,s).map(function(e,r){var i=a+1+r,s=" "+(" "+i).slice(-l)+" | ";if(i===t.line){var c=o(s.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return n(">")+o(s)+e+"\n "+c+n("^")}return" "+o(s)+e}).join("\n")},r.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},t}(ol(Error)),Qp=Yp;Yp.default=Yp;var eh={};eh.isClean=Symbol("isClean"),eh.my=Symbol("my");var th={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1},rh=function(){function e(e){this.builder=e}var t=e.prototype;return t.atrule=function(e,t){var r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{var o=(e.raws.between||"")+(t?";":"");this.builder(r+n+o,e)}},t.beforeAfter=function(e,t){var r;r="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var n=e.parent,o=0;n&&"root"!==n.type;)o+=1,n=n.parent;if(r.includes("\n")){var i=this.raw(e,null,"indent");if(i.length)for(var a=0;a<o;a++)r+=i}return r},t.block=function(e,t){var r,n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start"),e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},t.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var r=this.raw(e,"semicolon"),n=0;n<e.nodes.length;n++){var o=e.nodes[n],i=this.raw(o,"before");i&&this.builder(i),this.stringify(o,t!==n||r)}},t.comment=function(e){var t=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)},t.decl=function(e,t){var r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)},t.document=function(e){this.body(e)},t.raw=function(e,t,r){var n;if(r||(r=t),t&&void 0!==(n=e.raws[t]))return n;var o=e.parent;if("before"===r){if(!o||"root"===o.type&&o.first===e)return"";if(o&&"document"===o.type)return""}if(!o)return th[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var a,s="raw"+((a=r)[0].toUpperCase()+a.slice(1));return this[s]?n=this[s](i,e):i.walk(function(e){if(void 0!==(n=e.raws[t]))return!1}),void 0===n&&(n=th[r]),i.rawCache[r]=n,n},t.rawBeforeClose=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return(t=e.raws.after).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawBeforeComment=function(e,t){var r;return e.walkComments(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeDecl=function(e,t){var r;return e.walkDecls(function(e){if(void 0!==e.raws.before)return(r=e.raws.before).includes("\n")&&(r=r.replace(/[^\n]+$/,"")),!1}),void 0===r?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r},t.rawBeforeOpen=function(e){var t;return e.walk(function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1}),t},t.rawBeforeRule=function(e){var t;return e.walk(function(r){if(r.nodes&&(r.parent!==e||e.first!==r)&&void 0!==r.raws.before)return(t=r.raws.before).includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t},t.rawColon=function(e){var t;return e.walkDecls(function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t},t.rawEmptyBody=function(e){var t;return e.walk(function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1}),t},t.rawIndent=function(e){return e.raws.indent?e.raws.indent:(e.walk(function(r){var n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&void 0!==r.raws.before){var o=r.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/\S/g,""),!1}}),t);var t},t.rawSemicolon=function(e){var t;return e.walk(function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1}),t},t.rawValue=function(e,t){var r=e[t],n=e.raws[t];return n&&n.value===r?n.raw:r},t.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},t.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},t.stringify=function(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)},e}(),nh=rh;rh.default=rh;var oh=nh;function ih(e,t){new oh(t).stringify(e)}var ah=ih;ih.default=ih;var sh=eh.isClean,lh=eh.my,ch=Qp,uh=nh,dh=ah;function ph(e,t){var r=new e.constructor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&"proxyCache"!==n){var o=e[n],i=void 0===o?"undefined":nl(o);"parent"===n&&"object"===i?t&&(r[n]=t):"source"===n?r[n]=o:Array.isArray(o)?r[n]=o.map(function(e){return ph(e,r)}):("object"===i&&null!==o&&(o=ph(o)),r[n]=o)}return r}var hh=function(){function e(e){for(var t in void 0===e&&(e={}),this.raws={},this[sh]=!1,this[lh]=!0,e)if("nodes"===t){this.nodes=[];for(var r,n=al(e[t]);!(r=n()).done;){var o=r.value;"function"==typeof o.clone?this.append(o.clone()):this.append(o)}}else this[t]=e[t]}var t=e.prototype;return t.addToError=function(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){var t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,"$&"+t.input.from+":"+t.start.line+":"+t.start.column+"$&")}return e},t.after=function(e){return this.parent.insertAfter(this,e),this},t.assign=function(e){for(var t in void 0===e&&(e={}),e)this[t]=e[t];return this},t.before=function(e){return this.parent.insertBefore(this,e),this},t.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},t.clone=function(e){void 0===e&&(e={});var t=ph(this);for(var r in e)t[r]=e[r];return t},t.cloneAfter=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertAfter(this,t),t},t.cloneBefore=function(e){void 0===e&&(e={});var t=this.clone(e);return this.parent.insertBefore(this,t),t},t.error=function(e,t){if(void 0===t&&(t={}),this.source){var r=this.rangeBy(t),n=r.end,o=r.start;return this.source.input.error(e,{column:o.column,line:o.line},{column:n.column,line:n.line},t)}return new ch(e)},t.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:"root"===t?function(){return e.root().toProxy()}:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0}}},t.markDirty=function(){if(this[sh]){this[sh]=!1;for(var e=this;e=e.parent;)e[sh]=!1}},t.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},t.positionBy=function(e,t){var r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){var n=(t=this.toString()).indexOf(e.word);-1!==n&&(r=this.positionInside(n,t))}return r},t.positionInside=function(e,t){for(var r=t||this.toString(),n=this.source.start.column,o=this.source.start.line,i=0;i<e;i++)"\n"===r[i]?(n=1,o+=1):n+=1;return{column:n,line:o}},t.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},t.rangeBy=function(e){var t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){var n=this.toString(),o=n.indexOf(e.word);-1!==o&&(t=this.positionInside(o,n),r=this.positionInside(o+e.word.length,n))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:"number"==typeof e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}},t.raw=function(e,t){return(new uh).raw(this,e,t)},t.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.replaceWith=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(this.parent){for(var n,o=this,i=!1,a=al(t);!(n=a()).done;){var s=n.value;s===this?i=!0:i?(this.parent.insertAfter(o,s),o=s):this.parent.insertBefore(o,s)}i||this.remove()}return this},t.root=function(){for(var e=this;e.parent&&"document"!==e.parent.type;)e=e.parent;return e},t.toJSON=function(e,t){var r={},n=null==t;t=t||new Map;var o=0;for(var i in this)if(Object.prototype.hasOwnProperty.call(this,i)&&"parent"!==i&&"proxyCache"!==i){var a=this[i];if(Array.isArray(a))r[i]=a.map(function(e){return"object"===(void 0===e?"undefined":nl(e))&&e.toJSON?e.toJSON(null,t):e});else if("object"===(void 0===a?"undefined":nl(a))&&a.toJSON)r[i]=a.toJSON(null,t);else if("source"===i){var s=t.get(a.input);null==s&&(s=o,t.set(a.input,o),o++),r[i]={end:a.end,inputId:s,start:a.start}}else r[i]=a}return n&&(r.inputs=[].concat(t.keys()).map(function(e){return e.toJSON()})),r},t.toProxy=function(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache},t.toString=function(e){void 0===e&&(e=dh),e.stringify&&(e=e.stringify);var t="";return e(this,function(e){t+=e}),t},t.warn=function(e,t,r){var n={node:this};for(var o in r)n[o]=r[o];return e.warn(t,n)},Xs(e,[{key:"proxyOf",get:function(){return this}}]),e}(),fh=hh;hh.default=hh;var mh=function(e){function t(t){var r;return t&&void 0!==t.value&&"string"!=typeof t.value&&(t=Js({},t,{value:String(t.value)})),(r=e.call(this,t)||this).type="decl",r}return Qs(t,e),Xs(t,[{key:"variable",get:function(){return this.prop.startsWith("--")||"$"===this.prop[0]}}]),t}(fh),gh=mh;mh.default=mh;var bh=Kp.SourceMapConsumer,yh=Kp.SourceMapGenerator,vh=Kp.existsSync,xh=Kp.readFileSync,wh=Kp.dirname,_h=Kp.join,Ch=function(){function e(e,t){if(!1!==t.map){this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");var r=t.map?t.map.prev:void 0,n=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=wh(this.mapFile)),n&&(this.text=n)}}var t=e.prototype;return t.consumer=function(){return this.consumerCache||(this.consumerCache=new bh(this.text)),this.consumerCache},t.decodeInline=function(e){var t;if(/^data:application\/json;charset=utf-?8,/.test(e)||/^data:application\/json,/.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(/^data:application\/json;charset=utf-?8;base64,/.test(e)||/^data:application\/json;base64,/.test(e))return t=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from(t,"base64").toString():window.atob(t);var r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},t.getAnnotationURL=function(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()},t.isMap=function(e){return"object"===(void 0===e?"undefined":nl(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))},t.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(t){var r=e.lastIndexOf(t.pop()),n=e.indexOf("*/",r);r>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,n)))}},t.loadFile=function(e){if(this.root=wh(e),vh(e))return this.mapFile=e,xh(e,"utf-8").toString().trim()},t.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(el(t,bh))return yh.fromSourceMap(t).toString();if(el(t,yh))return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}var r=t(e);if(r){var n=this.loadFile(r);if(!n)throw new Error("Unable to load previous source map: "+r.toString());return n}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var o=this.annotation;return e&&(o=_h(wh(e),o)),this.loadFile(o)}}},t.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},t.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e}(),kh=Ch;Ch.default=Ch;var Sh=Kp.SourceMapConsumer,Ah=Kp.SourceMapGenerator,jh=Kp.fileURLToPath,Rh=Kp.pathToFileURL,Ih=Kp.isAbsolute,Mh=Kp.resolve,Eh=function(e){void 0===e&&(e=21);for(var t="",r=e;r--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},Th=Kp,Oh=Qp,Ph=kh,Lh=Symbol("fromOffsetCache"),zh=Boolean(Sh&&Ah),Nh=Boolean(Mh&&Ih),Fh=function(){function e(e,t){if(void 0===t&&(t={}),null==e||"object"===(void 0===e?"undefined":nl(e))&&!e.toString)throw new Error("PostCSS received "+e+" instead of CSS string");if(this.css=e.toString(),"\ufeff"===this.css[0]||""===this.css[0]?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!Nh||/^\w+:\/\//.test(t.from)||Ih(t.from)?this.file=t.from:this.file=Mh(t.from)),Nh&&zh){var r=new Ph(this.css,t);if(r.text){this.map=r;var n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+Eh(6)+">"),this.map&&(this.map.file=this.from)}var t=e.prototype;return t.error=function(e,t,r,n){var o,i,a;if(void 0===n&&(n={}),t&&"object"===(void 0===t?"undefined":nl(t))){var s=t,l=r;if("number"==typeof s.offset){var c=this.fromOffset(s.offset);t=c.line,r=c.col}else t=s.line,r=s.column;if("number"==typeof l.offset){var u=this.fromOffset(l.offset);i=u.line,a=u.col}else i=l.line,a=l.column}else if(!r){var d=this.fromOffset(t);t=d.line,r=d.col}var p=this.origin(t,r,i,a);return(o=p?new Oh(e,void 0===p.endLine?p.line:{column:p.column,line:p.line},void 0===p.endLine?p.column:{column:p.endColumn,line:p.endLine},p.source,p.file,n.plugin):new Oh(e,void 0===i?t:{column:r,line:t},void 0===i?r:{column:a,line:i},this.css,this.file,n.plugin)).input={column:r,endColumn:a,endLine:i,line:t,source:this.css},this.file&&(Rh&&(o.input.url=Rh(this.file).toString()),o.input.file=this.file),o},t.fromOffset=function(e){var t;if(this[Lh])t=this[Lh];else{var r=this.css.split("\n");t=new Array(r.length);for(var n=0,o=0,i=r.length;o<i;o++)t[o]=n,n+=r[o].length+1;this[Lh]=t}var a=0;if(e>=t[t.length-1])a=t.length-1;else for(var s,l=t.length-2;a<l;)if(e<t[s=a+(l-a>>1)])l=s-1;else{if(!(e>=t[s+1])){a=s;break}a=s+1}return{col:e-t[a]+1,line:a+1}},t.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:Mh(this.map.consumer().sourceRoot||this.map.root||".",e)},t.origin=function(e,t,r,n){if(!this.map)return!1;var o,i,a=this.map.consumer(),s=a.originalPositionFor({column:t,line:e});if(!s.source)return!1;"number"==typeof r&&(o=a.originalPositionFor({column:n,line:r})),i=Ih(s.source)?Rh(s.source):new URL(s.source,this.map.consumer().sourceRoot||Rh(this.map.mapFile));var l={column:s.column,endColumn:o&&o.column,endLine:o&&o.line,line:s.line,url:i.toString()};if("file:"===i.protocol){if(!jh)throw new Error("file: protocol is not available in this PostCSS build");l.file=jh(i)}var c=a.sourceContentFor(s.source);return c&&(l.source=c),l},t.toJSON=function(){for(var e={},t=0,r=["hasBOM","css","file","id"];t<r.length;t++){var n=r[t];null!=this[n]&&(e[n]=this[n])}return this.map&&(e.map=Js({},this.map),e.map.consumerCache&&(e.map.consumerCache=void 0)),e},Xs(e,[{key:"from",get:function(){return this.file||this.id}}]),e}(),Dh=Fh;Fh.default=Fh,Th&&Th.registerInput&&Th.registerInput(Fh);var Bh=Kp.SourceMapConsumer,$h=Kp.SourceMapGenerator,Hh=Kp.dirname,Wh=Kp.relative,Vh=Kp.resolve,qh=Kp.sep,Uh=Kp.pathToFileURL,Zh=Dh,Gh=Boolean(Bh&&$h),Kh=Boolean(Hh&&Vh&&Wh&&qh),Xh=function(){function e(e,t,r,n){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=n,this.originalCSS=n,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}var t=e.prototype;return t.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";var t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},t.applyPrevMaps=function(){for(var e,t=al(this.previous());!(e=t()).done;){var r=e.value,n=this.toUrl(this.path(r.file)),o=r.root||Hh(r.file),i=void 0;!1===this.mapOpts.sourcesContent?(i=new Bh(r.text)).sourcesContent&&(i.sourcesContent=null):i=r.consumer(),this.map.applySourceMap(i,n,this.toUrl(this.path(o)))}},t.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)if(this.root)for(var e,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t);else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))},t.generate=function(){if(this.clearAnnotation(),Kh&&Gh&&this.isMap())return this.generateMap();var e="";return this.stringify(this.root,function(t){e+=t}),[e]},t.generateMap=function(){if(this.root)this.generateString();else if(1===this.previous().length){var e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=$h.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new $h({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},t.generateString=function(){var e=this;this.css="",this.map=new $h({file:this.outputFile(),ignoreInvalidMapping:!0});var t,r,n=1,o=1,i="<no source>",a={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,function(s,l,c){if(e.css+=s,l&&"end"!==c&&(a.generated.line=n,a.generated.column=o-1,l.source&&l.source.start?(a.source=e.sourcePath(l),a.original.line=l.source.start.line,a.original.column=l.source.start.column-1,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,e.map.addMapping(a))),(t=s.match(/\n/g))?(n+=t.length,r=s.lastIndexOf("\n"),o=s.length-r):o+=s.length,l&&"start"!==c){var u=l.parent||{raws:{}};("decl"===l.type||"atrule"===l.type&&!l.nodes)&&l===u.last&&!u.raws.semicolon||(l.source&&l.source.end?(a.source=e.sourcePath(l),a.original.line=l.source.end.line,a.original.column=l.source.end.column-1,a.generated.line=n,a.generated.column=o-2,e.map.addMapping(a)):(a.source=i,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=o-1,e.map.addMapping(a)))}})},t.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(function(e){return e.annotation}))},t.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(function(e){return e.inline}))},t.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},t.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(function(e){return e.withContent()})},t.outputFile=function(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"},t.path=function(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;var t=this.memoizedPaths.get(e);if(t)return t;var r=this.opts.to?Hh(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(r=Hh(Vh(r,this.mapOpts.annotation)));var n=Wh(r,e);return this.memoizedPaths.set(e,n),n},t.previous=function(){var e=this;if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(function(t){if(t.source&&t.source.input.map){var r=t.source.input.map;e.previousMaps.includes(r)||e.previousMaps.push(r)}});else{var t=new Zh(this.originalCSS,this.opts);t.map&&this.previousMaps.push(t.map)}return this.previousMaps},t.setSourcesContent=function(){var e=this,t={};if(this.root)this.root.walk(function(r){if(r.source){var n=r.source.input.from;if(n&&!t[n]){t[n]=!0;var o=e.usesFileUrls?e.toFileUrl(n):e.toUrl(e.path(n));e.map.setSourceContent(o,r.source.input.css)}}});else if(this.css){var r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}},t.sourcePath=function(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))},t.toBase64=function(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},t.toFileUrl=function(e){var t=this.memoizedFileURLs.get(e);if(t)return t;if(Uh){var r=Uh(e).toString();return this.memoizedFileURLs.set(e,r),r}throw new Error("`map.absolute` option is not available in this PostCSS build")},t.toUrl=function(e){var t=this.memoizedURLs.get(e);if(t)return t;"\\"===qh&&(e=e.replace(/\\/g,"/"));var r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r},e}(),Jh=Xh,Yh=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="comment",r}return Qs(t,e),t}(fh),Qh=Yh;Yh.default=Yh;var ef,tf,rf,nf,of=eh.isClean,af=eh.my,sf=gh,lf=Qh;function cf(e){return e.map(function(e){return e.nodes&&(e.nodes=cf(e.nodes)),delete e.source,e})}function uf(e){if(e[of]=!1,e.proxyOf.nodes)for(var t,r=al(e.proxyOf.nodes);!(t=r()).done;)uf(t.value)}var df=function(e){function t(){return e.apply(this,arguments)||this}Qs(t,e);var r=t.prototype;return r.append=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=al(t);!(n=o()).done;)for(var i,a=n.value,s=al(this.normalize(a,this.last));!(i=s()).done;){var l=i.value;this.proxyOf.nodes.push(l)}return this.markDirty(),this},r.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes)for(var r,n=al(this.nodes);!(r=n()).done;)r.value.cleanRaws(t)},r.each=function(e){if(this.proxyOf.nodes){for(var t,r,n=this.getIterator();this.indexes[n]<this.proxyOf.nodes.length&&(t=this.indexes[n],!1!==(r=e(this.proxyOf.nodes[t],t)));)this.indexes[n]+=1;return delete this.indexes[n],r}},r.every=function(e){return this.nodes.every(e)},r.getIterator=function(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var e=this.lastEach;return this.indexes[e]=0,e},r.getProxyProcessor=function(){return{get:function(e,t){return"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?function(){for(var r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];var i;return(i=e)[t].apply(i,[].concat(n.map(function(e){return"function"==typeof e?function(t,r){return e(t.toProxy(),r)}:e})))}:"every"===t||"some"===t?function(r){return e[t](function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return r.apply(void 0,[].concat([e.toProxy()],n))})}:"root"===t?function(){return e.root().toProxy()}:"nodes"===t?e.nodes.map(function(e){return e.toProxy()}):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t]},set:function(e,t,r){return e[t]===r||(e[t]=r,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0}}},r.index=function(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))},r.insertAfter=function(e,t){var r,n=this.index(e),o=this.normalize(t,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(var i,a=al(o);!(i=a()).done;){var s=i.value;this.proxyOf.nodes.splice(n+1,0,s)}for(var l in this.indexes)n<(r=this.indexes[l])&&(this.indexes[l]=r+o.length);return this.markDirty(),this},r.insertBefore=function(e,t){var r,n=this.index(e),o=0===n&&"prepend",i=this.normalize(t,this.proxyOf.nodes[n],o).reverse();n=this.index(e);for(var a,s=al(i);!(a=s()).done;){var l=a.value;this.proxyOf.nodes.splice(n,0,l)}for(var c in this.indexes)n<=(r=this.indexes[c])&&(this.indexes[c]=r+i.length);return this.markDirty(),this},r.normalize=function(e,r){var n=this;if("string"==typeof e)e=cf(ef(e).nodes);else if(void 0===e)e=[];else if(Array.isArray(e))for(var o,i=al(e=e.slice(0));!(o=i()).done;){var a=o.value;a.parent&&a.parent.removeChild(a,"ignore")}else if("root"===e.type&&"document"!==this.type)for(var s,l=al(e=e.nodes.slice(0));!(s=l()).done;){var c=s.value;c.parent&&c.parent.removeChild(c,"ignore")}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new sf(e)]}else if(e.selector)e=[new tf(e)];else if(e.name)e=[new rf(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new lf(e)]}var u=e.map(function(e){return e[af]||t.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[of]&&uf(e),void 0===e.raws.before&&r&&void 0!==r.raws.before&&(e.raws.before=r.raws.before.replace(/\S/g,"")),e.parent=n.proxyOf,e});return u},r.prepend=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];for(var n,o=al(t=t.reverse());!(n=o()).done;){for(var i,a=n.value,s=this.normalize(a,this.first,"prepend").reverse(),l=al(s);!(i=l()).done;){var c=i.value;this.proxyOf.nodes.unshift(c)}for(var u in this.indexes)this.indexes[u]=this.indexes[u]+s.length}return this.markDirty(),this},r.push=function(e){return e.parent=this,this.proxyOf.nodes.push(e),this},r.removeAll=function(){for(var e,t=al(this.proxyOf.nodes);!(e=t()).done;)e.value.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this},r.removeChild=function(e){var t;for(var r in e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1),this.indexes)(t=this.indexes[r])>=e&&(this.indexes[r]=t-1);return this.markDirty(),this},r.replaceValues=function(e,t,r){return r||(r=t,t={}),this.walkDecls(function(n){t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this},r.some=function(e){return this.nodes.some(e)},r.walk=function(e){return this.each(function(t,r){var n;try{n=e(t,r)}catch(e){throw t.addToError(e)}return!1!==n&&t.walk&&(n=t.walk(e)),n})},r.walkAtRules=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("atrule"===r.type&&e.test(r.name))return t(r,n)}):this.walk(function(r,n){if("atrule"===r.type&&r.name===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("atrule"===e.type)return t(e,r)}))},r.walkComments=function(e){return this.walk(function(t,r){if("comment"===t.type)return e(t,r)})},r.walkDecls=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("decl"===r.type&&e.test(r.prop))return t(r,n)}):this.walk(function(r,n){if("decl"===r.type&&r.prop===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("decl"===e.type)return t(e,r)}))},r.walkRules=function(e,t){return t?el(e,RegExp)?this.walk(function(r,n){if("rule"===r.type&&e.test(r.selector))return t(r,n)}):this.walk(function(r,n){if("rule"===r.type&&r.selector===e)return t(r,n)}):(t=e,this.walk(function(e,r){if("rule"===e.type)return t(e,r)}))},Xs(t,[{key:"first",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}},{key:"last",get:function(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}}]),t}(fh);df.registerParse=function(e){ef=e},df.registerRule=function(e){tf=e},df.registerAtRule=function(e){rf=e},df.registerRoot=function(e){nf=e};var pf=df;df.default=df,df.rebuild=function(e){"atrule"===e.type?Object.setPrototypeOf(e,rf.prototype):"rule"===e.type?Object.setPrototypeOf(e,tf.prototype):"decl"===e.type?Object.setPrototypeOf(e,sf.prototype):"comment"===e.type?Object.setPrototypeOf(e,lf.prototype):"root"===e.type&&Object.setPrototypeOf(e,nf.prototype),e[af]=!0,e.nodes&&e.nodes.forEach(function(e){df.rebuild(e)})};var hf,ff,mf=function(e){function t(t){var r;return(r=e.call(this,Js({type:"document"},t))||this).nodes||(r.nodes=[]),r}return Qs(t,e),t.prototype.toResult=function(e){return void 0===e&&(e={}),new hf(new ff,this,e).stringify()},t}(pf);mf.registerLazyResult=function(e){hf=e},mf.registerProcessor=function(e){ff=e};var gf=mf;mf.default=mf;var bf=function(){function e(e,t){if(void 0===t&&(t={}),this.type="warning",this.text=e,t.node&&t.node.source){var r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(var n in t)this[n]=t[n]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}(),yf=bf;bf.default=bf;var vf=yf,xf=function(){function e(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}var t=e.prototype;return t.toString=function(){return this.css},t.warn=function(e,t){void 0===t&&(t={}),t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var r=new vf(e,t);return this.messages.push(r),r},t.warnings=function(){return this.messages.filter(function(e){return"warning"===e.type})},Xs(e,[{key:"content",get:function(){return this.css}}]),e}(),wf=xf;xf.default=xf;var _f="'".charCodeAt(0),Cf='"'.charCodeAt(0),kf="\\".charCodeAt(0),Sf="/".charCodeAt(0),Af="\n".charCodeAt(0),jf=" ".charCodeAt(0),Rf="\f".charCodeAt(0),If="\t".charCodeAt(0),Mf="\r".charCodeAt(0),Ef="[".charCodeAt(0),Tf="]".charCodeAt(0),Of="(".charCodeAt(0),Pf=")".charCodeAt(0),Lf="{".charCodeAt(0),zf="}".charCodeAt(0),Nf=";".charCodeAt(0),Ff="*".charCodeAt(0),Df=":".charCodeAt(0),Bf="@".charCodeAt(0),$f=/[\t\n\f\r "#'()/;[\\\]{}]/g,Hf=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Wf=/.[\r\n"'(/\\]/,Vf=/[\da-f]/i,qf=pf,Uf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="atrule",r}Qs(t,e);var r=t.prototype;return r.append=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.append).call.apply(o,[].concat([this],r))},r.prepend=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var o;return this.proxyOf.nodes||(this.nodes=[]),(o=e.prototype.prepend).call.apply(o,[].concat([this],r))},t}(qf),Zf=Uf;Uf.default=Uf,qf.registerAtRule(Uf);var Gf,Kf,Xf=pf,Jf=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="root",r.nodes||(r.nodes=[]),r}Qs(t,e);var r=t.prototype;return r.normalize=function(t,r,n){var o=e.prototype.normalize.call(this,t);if(r)if("prepend"===n)this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(var i,a=al(o);!(i=a()).done;)i.value.raws.before=r.raws.before;return o},r.removeChild=function(t,r){var n=this.index(t);return!r&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),e.prototype.removeChild.call(this,t)},r.toResult=function(e){return void 0===e&&(e={}),new Gf(new Kf,this,e).stringify()},t}(Xf);Jf.registerLazyResult=function(e){Gf=e},Jf.registerProcessor=function(e){Kf=e};var Yf=Jf;Jf.default=Jf,Xf.registerRoot(Jf);var Qf={comma:function(e){return Qf.split(e,[","],!0)},space:function(e){return Qf.split(e,[" ","\n","\t"])},split:function(e,t,r){for(var n,o=[],i="",a=!1,s=0,l=!1,c="",u=!1,d=al(e);!(n=d()).done;){var p=n.value;u?u=!1:"\\"===p?u=!0:l?p===c&&(l=!1):'"'===p||"'"===p?(l=!0,c=p):"("===p?s+=1:")"===p?s>0&&(s-=1):0===s&&t.includes(p)&&(a=!0),a?(""!==i&&o.push(i.trim()),i="",a=!1):i+=p}return(r||""!==i)&&o.push(i.trim()),o}},em=Qf;Qf.default=Qf;var tm=pf,rm=em,nm=function(e){function t(t){var r;return(r=e.call(this,t)||this).type="rule",r.nodes||(r.nodes=[]),r}return Qs(t,e),Xs(t,[{key:"selectors",get:function(){return rm.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}]),t}(tm),om=nm;nm.default=nm,tm.registerRule(nm);var im=gh,am=Qh,sm=Zf,lm=Yf,cm=om,um={empty:!0,space:!0},dm=function(){function e(e){this.input=e,this.root=new lm,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}var t=e.prototype;return t.atrule=function(e){var t,r,n,o=new sm;o.name=e[1].slice(1),""===o.name&&this.unnamedAtrule(o,e),this.init(o,e[2]);for(var i=!1,a=!1,s=[],l=[];!this.tokenizer.endOfFile();){if("("===(t=(e=this.tokenizer.nextToken())[0])||"["===t?l.push("("===t?")":"]"):"{"===t&&l.length>0?l.push("}"):t===l[l.length-1]&&l.pop(),0===l.length){if(";"===t){o.source.end=this.getPosition(e[2]),o.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(s.length>0){for(r=s[n=s.length-1];r&&"space"===r[0];)r=s[--n];r&&(o.source.end=this.getPosition(r[3]||r[2]),o.source.end.offset++)}this.end(e);break}s.push(e)}else s.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}o.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(o.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(o,"params",s),i&&(e=s[s.length-1],o.source.end=this.getPosition(e[3]||e[2]),o.source.end.offset++,this.spaces=o.raws.between,o.raws.between="")):(o.raws.afterName="",o.params=""),a&&(o.nodes=[],this.current=o)},t.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var r,n=0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon","word"===r[0]?r[3]+1:r[2])}},t.colon=function(e){for(var t,r,n,o,i=0,a=al(e.entries());!(o=a()).done;){var s=o.value,l=s[0];if("("===(r=(t=s[1])[0])&&(i+=1),")"===r&&(i-=1),0===i&&":"===r){if(n){if("word"===n[0]&&"progid"===n[1])continue;return l}this.doubleColon(t)}n=t}return!1},t.comment=function(e){var t=new am;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;var r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{var n=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}},t.createTokenizer=function(){this.tokenizer=function(e,t){void 0===t&&(t={});var r,n,o,i,a,s,l,c,u,d,p=e.css.valueOf(),h=t.ignoreErrors,f=p.length,m=0,g=[],b=[];function y(t){throw e.error("Unclosed "+t,m)}return{back:function(e){b.push(e)},endOfFile:function(){return 0===b.length&&m>=f},nextToken:function(e){if(b.length)return b.pop();if(!(m>=f)){var t=!!e&&e.ignoreUnclosed;switch(r=p.charCodeAt(m)){case Af:case jf:case If:case Mf:case Rf:n=m;do{n+=1,r=p.charCodeAt(n)}while(r===jf||r===Af||r===If||r===Mf||r===Rf);d=["space",p.slice(m,n)],m=n-1;break;case Ef:case Tf:case Lf:case zf:case Df:case Nf:case Pf:var v=String.fromCharCode(r);d=[v,v,m];break;case Of:if(c=g.length?g.pop()[1]:"",u=p.charCodeAt(m+1),"url"===c&&u!==_f&&u!==Cf&&u!==jf&&u!==Af&&u!==If&&u!==Rf&&u!==Mf){n=m;do{if(s=!1,-1===(n=p.indexOf(")",n+1))){if(h||t){n=m;break}y("bracket")}for(l=n;p.charCodeAt(l-1)===kf;)l-=1,s=!s}while(s);d=["brackets",p.slice(m,n+1),m,n],m=n}else n=p.indexOf(")",m+1),i=p.slice(m,n+1),-1===n||Wf.test(i)?d=["(","(",m]:(d=["brackets",i,m,n],m=n);break;case _f:case Cf:o=r===_f?"'":'"',n=m;do{if(s=!1,-1===(n=p.indexOf(o,n+1))){if(h||t){n=m+1;break}y("string")}for(l=n;p.charCodeAt(l-1)===kf;)l-=1,s=!s}while(s);d=["string",p.slice(m,n+1),m,n],m=n;break;case Bf:$f.lastIndex=m+1,$f.test(p),n=0===$f.lastIndex?p.length-1:$f.lastIndex-2,d=["at-word",p.slice(m,n+1),m,n],m=n;break;case kf:for(n=m,a=!0;p.charCodeAt(n+1)===kf;)n+=1,a=!a;if(r=p.charCodeAt(n+1),a&&r!==Sf&&r!==jf&&r!==Af&&r!==If&&r!==Mf&&r!==Rf&&(n+=1,Vf.test(p.charAt(n)))){for(;Vf.test(p.charAt(n+1));)n+=1;p.charCodeAt(n+1)===jf&&(n+=1)}d=["word",p.slice(m,n+1),m,n],m=n;break;default:r===Sf&&p.charCodeAt(m+1)===Ff?(0===(n=p.indexOf("*/",m+2)+1)&&(h||t?n=p.length:y("comment")),d=["comment",p.slice(m,n+1),m,n],m=n):(Hf.lastIndex=m+1,Hf.test(p),n=0===Hf.lastIndex?p.length-1:Hf.lastIndex-2,d=["word",p.slice(m,n+1),m,n],g.push(d),m=n)}return m++,d}},position:function(){return m}}}(this.input)},t.decl=function(e,t){var r=new im;this.init(r,e[0][2]);var n,o=e[e.length-1];for(";"===o[0]&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(o[3]||o[2]||function(e){for(var t=e.length-1;t>=0;t--){var r=e[t],n=r[3]||r[2];if(n)return n}}(e)),r.source.end.offset++;"word"!==e[0][0];)1===e.length&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){var i=e[0][0];if(":"===i||"space"===i||"comment"===i)break;r.prop+=e.shift()[1]}for(r.raws.between="";e.length;){if(":"===(n=e.shift())[0]){r.raws.between+=n[1];break}"word"===n[0]&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1]}"_"!==r.prop[0]&&"*"!==r.prop[0]||(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));for(var a,s=[];e.length&&("space"===(a=e[0][0])||"comment"===a);)s.push(e.shift());this.precheckMissedSemicolon(e);for(var l=e.length-1;l>=0;l--){if("!important"===(n=e[l])[1].toLowerCase()){r.important=!0;var c=this.stringFrom(e,l);" !important"!==(c=this.spacesFromEnd(e)+c)&&(r.raws.important=c);break}if("important"===n[1].toLowerCase()){for(var u=e.slice(0),d="",p=l;p>0;p--){var h=u[p][0];if(0===d.trim().indexOf("!")&&"space"!==h)break;d=u.pop()[1]+d}0===d.trim().indexOf("!")&&(r.important=!0,r.raws.important=d,e=u)}if("space"!==n[0]&&"comment"!==n[0])break}var f=e.some(function(e){return"space"!==e[0]&&"comment"!==e[0]});f&&(r.raws.between+=s.map(function(e){return e[1]}).join(""),s=[]),this.raw(r,"value",s.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)},t.doubleColon=function(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})},t.emptyRule=function(e){var t=new cm;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t},t.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)},t.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())},t.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},t.getPosition=function(e){var t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}},t.init=function(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},t.other=function(e){for(var t=!1,r=null,n=!1,o=null,i=[],a=e[1].startsWith("--"),s=[],l=e;l;){if(r=l[0],s.push(l),"("===r||"["===r)o||(o=l),i.push("("===r?")":"]");else if(a&&n&&"{"===r)o||(o=l),i.push("}");else if(0===i.length){if(";"===r){if(n)return void this.decl(s,a);break}if("{"===r)return void this.rule(s);if("}"===r){this.tokenizer.back(s.pop()),t=!0;break}":"===r&&(n=!0)}else r===i[i.length-1]&&(i.pop(),0===i.length&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(o),t&&n){if(!a)for(;s.length&&("space"===(l=s[s.length-1][0])||"comment"===l);)this.tokenizer.back(s.pop());this.decl(s,a)}else this.unknownWord(s)},t.parse=function(){for(var e;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},t.precheckMissedSemicolon=function(){},t.raw=function(e,t,r,n){for(var o,i,a,s,l=r.length,c="",u=!0,d=0;d<l;d+=1)"space"!==(i=(o=r[d])[0])||d!==l-1||n?"comment"===i?(s=r[d-1]?r[d-1][0]:"empty",a=r[d+1]?r[d+1][0]:"empty",um[s]||um[a]||","===c.slice(-1)?u=!1:c+=o[1]):c+=o[1]:u=!1;if(!u){var p=r.reduce(function(e,t){return e+t[1]},"");e.raws[t]={raw:p,value:c}}e[t]=c},t.rule=function(e){e.pop();var t=new cm;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},t.spacesAndCommentsFromEnd=function(e){for(var t,r="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)r=e.pop()[1]+r;return r},t.spacesAndCommentsFromStart=function(e){for(var t,r="";e.length&&("space"===(t=e[0][0])||"comment"===t);)r+=e.shift()[1];return r},t.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},t.stringFrom=function(e,t){for(var r="",n=t;n<e.length;n++)r+=e[n][1];return e.splice(t,e.length-t),r},t.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},t.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})},t.unexpectedClose=function(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})},t.unknownWord=function(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})},t.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})},e}(),pm=pf,hm=dm,fm=Dh;function mm(e,t){var r=new fm(e,t),n=new hm(r);try{n.parse()}catch(e){throw e}return n.root}var gm=mm;mm.default=mm,pm.registerParse(mm);var bm=eh.isClean,ym=eh.my,vm=Jh,xm=ah,wm=pf,_m=gf,Cm=wf,km=gm,Sm=Yf,Am={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},jm={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Rm={Once:!0,postcssPlugin:!0,prepare:!0};function Im(e){return"object"===(void 0===e?"undefined":nl(e))&&"function"==typeof e.then}function Mm(e){var t=!1,r=Am[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[r,r+"-"+t,0,r+"Exit",r+"Exit-"+t]:t?[r,r+"-"+t,r+"Exit",r+"Exit-"+t]:e.append?[r,0,r+"Exit"]:[r,r+"Exit"]}function Em(e){return{eventIndex:0,events:"document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:Mm(e),iterator:0,node:e,visitorIndex:0,visitors:[]}}function Tm(e){return e[bm]=!1,e.nodes&&e.nodes.forEach(function(e){return Tm(e)}),e}var Om={},Pm=function(){function e(t,r,n){var o,i=this;if(this.stringified=!1,this.processed=!1,"object"!==(void 0===r?"undefined":nl(r))||null===r||"root"!==r.type&&"document"!==r.type)if(el(r,e)||el(r,Cm))o=Tm(r.root),r.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{var a=km;n.syntax&&(a=n.syntax.parse),n.parser&&(a=n.parser),a.parse&&(a=a.parse);try{o=a(r,n)}catch(e){this.processed=!0,this.error=e}o&&!o[ym]&&wm.rebuild(o)}else o=Tm(r);this.result=new Cm(t,o,n),this.helpers=Js({},Om,{postcss:Om,result:this.result}),this.plugins=this.processor.plugins.map(function(e){return"object"===(void 0===e?"undefined":nl(e))&&e.prepare?Js({},e,e.prepare(i.result)):e})}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.getAsyncError=function(){throw new Error("Use process(css).then(cb) to work with async plugins")},t.handleError=function(e,t){var r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?r.postcssVersion:(e.plugin=r.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e},t.prepareVisitors=function(){var e=this;this.listeners={};for(var t,r=function(t,r,n){e.listeners[r]||(e.listeners[r]=[]),e.listeners[r].push([t,n])},n=al(this.plugins);!(t=n()).done;){var o=t.value;if("object"===(void 0===o?"undefined":nl(o)))for(var i in o){if(!jm[i]&&/^[A-Z]/.test(i))throw new Error("Unknown event "+i+" in "+o.postcssPlugin+". Try to update PostCSS ("+this.processor.version+" now).");if(!Rm[i])if("object"===nl(o[i]))for(var a in o[i])r(o,"*"===a?i:i+"-"+a.toLowerCase(),o[i][a]);else"function"==typeof o[i]&&r(o,i,o[i])}}this.hasListener=Object.keys(this.listeners).length>0},t.runAsync=function(){var e=this;return Gs(function(){var t,r,n,o,i,a,s,l,c,u,d,p;return sl(this,function(h){switch(h.label){case 0:e.plugin=0,t=0,h.label=1;case 1:if(!(t<e.plugins.length))return[3,6];if(r=e.plugins[t],!Im(n=e.runOnRoot(r)))return[3,5];h.label=2;case 2:return h.trys.push([2,4,,5]),[4,n];case 3:return h.sent(),[3,5];case 4:throw o=h.sent(),e.handleError(o);case 5:return t++,[3,1];case 6:if(e.prepareVisitors(),!e.hasListener)return[3,18];i=e.result.root,h.label=7;case 7:if(i[bm])return[3,14];i[bm]=!0,a=[Em(i)],h.label=8;case 8:if(!(a.length>0))return[3,13];if(!Im(s=e.visitTick(a)))return[3,12];h.label=9;case 9:return h.trys.push([9,11,,12]),[4,s];case 10:return h.sent(),[3,12];case 11:throw l=h.sent(),c=a[a.length-1].node,e.handleError(l,c);case 12:return[3,8];case 13:return[3,7];case 14:if(!e.listeners.OnceExit)return[3,18];u=function(){var t,r,n,o,a;return sl(this,function(s){switch(s.label){case 0:t=p.value,r=t[0],n=t[1],e.result.lastPlugin=r,s.label=1;case 1:return s.trys.push([1,6,,7]),"document"!==i.type?[3,3]:(o=i.nodes.map(function(t){return n(t,e.helpers)}),[4,Promise.all(o)]);case 2:return s.sent(),[3,5];case 3:return[4,n(i,e.helpers)];case 4:s.sent(),s.label=5;case 5:return[3,7];case 6:throw a=s.sent(),e.handleError(a);case 7:return[2]}})},d=al(e.listeners.OnceExit),h.label=15;case 15:return(p=d()).done?[3,18]:[5,ll(u())];case 16:h.sent(),h.label=17;case 17:return[3,15];case 18:return e.processed=!0,[2,e.stringify()]}})})()},t.runOnRoot=function(e){var t=this;this.result.lastPlugin=e;try{if("object"===(void 0===e?"undefined":nl(e))&&e.Once){if("document"===this.result.root.type){var r=this.result.root.nodes.map(function(r){return e.Once(r,t.helpers)});return Im(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}},t.stringify=function(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=xm;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var r=new vm(t,this.result.root,this.result.opts).generate();return this.result.css=r[0],this.result.map=r[1],this.result},t.sync=function(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(var e,t=al(this.plugins);!(e=t()).done;){var r=e.value;if(Im(this.runOnRoot(r)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){for(var n=this.result.root;!n[bm];)n[bm]=!0,this.walkSync(n);if(this.listeners.OnceExit)if("document"===n.type)for(var o,i=al(n.nodes);!(o=i()).done;){var a=o.value;this.visitSync(this.listeners.OnceExit,a)}else this.visitSync(this.listeners.OnceExit,n)}return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this.css},t.visitSync=function(e,t){for(var r,n=al(e);!(r=n()).done;){var o=r.value,i=o[0],a=o[1];this.result.lastPlugin=i;var s=void 0;try{s=a(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(Im(s))throw this.getAsyncError()}},t.visitTick=function(e){var t=e[e.length-1],r=t.node,n=t.visitors;if("root"===r.type||"document"===r.type||r.parent){if(n.length>0&&t.visitorIndex<n.length){var o=n[t.visitorIndex],i=o[0],a=o[1];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=i;try{return a(r.toProxy(),this.helpers)}catch(e){throw this.handleError(e,r)}}if(0!==t.iterator){for(var s,l=t.iterator;s=r.nodes[r.indexes[l]];)if(r.indexes[l]+=1,!s[bm])return s[bm]=!0,void e.push(Em(s));t.iterator=0,delete r.indexes[l]}for(var c=t.events;t.eventIndex<c.length;){var u=c[t.eventIndex];if(t.eventIndex+=1,0===u)return void(r.nodes&&r.nodes.length&&(r[bm]=!0,t.iterator=r.getIterator()));if(this.listeners[u])return void(t.visitors=this.listeners[u])}e.pop()}else e.pop()},t.walkSync=function(e){var t=this;e[bm]=!0;for(var r,n=al(Mm(e));!(r=n()).done;){var o=r.value;if(0===o)e.nodes&&e.each(function(e){e[bm]||t.walkSync(e)});else{var i=this.listeners[o];if(i&&this.visitSync(i,e.toProxy()))return}}},t.warnings=function(){return this.sync().warnings()},Xs(e,[{key:"content",get:function(){return this.stringify().content}},{key:"css",get:function(){return this.stringify().css}},{key:"map",get:function(){return this.stringify().map}},{key:"messages",get:function(){return this.sync().messages}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){return this.sync().root}},{key:Symbol.toStringTag,get:function(){return"LazyResult"}}]),e}();Pm.registerPostcss=function(e){Om=e};var Lm=Pm;Pm.default=Pm,Sm.registerLazyResult(Pm),_m.registerLazyResult(Pm);var zm=Jh,Nm=ah,Fm=gm,Dm=wf,Bm=function(){function e(e,t,r){var n;t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;var o=Nm;this.result=new Dm(this._processor,n,this._opts),this.result.css=t;var i=this;Object.defineProperty(this.result,"root",{get:function(){return i.root}});var a=new zm(o,n,this._opts,t);if(a.isMap()){var s=a.generate(),l=s[0],c=s[1];l&&(this.result.css=l),c&&(this.result.map=c)}else a.clearAnnotation(),this.result.css=a.css}var t=e.prototype;return t.async=function(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)},t.catch=function(e){return this.async().catch(e)},t.finally=function(e){return this.async().then(e,e)},t.sync=function(){if(this.error)throw this.error;return this.result},t.then=function(e,t){return this.async().then(e,t)},t.toString=function(){return this._css},t.warnings=function(){return[]},Xs(e,[{key:"content",get:function(){return this.result.css}},{key:"css",get:function(){return this.result.css}},{key:"map",get:function(){return this.result.map}},{key:"messages",get:function(){return[]}},{key:"opts",get:function(){return this.result.opts}},{key:"processor",get:function(){return this.result.processor}},{key:"root",get:function(){if(this._root)return this._root;var e,t=Fm;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}},{key:Symbol.toStringTag,get:function(){return"NoWorkResult"}}]),e}(),$m=Bm;Bm.default=Bm;var Hm=$m,Wm=Lm,Vm=gf,qm=Yf,Um=function(){function e(e){void 0===e&&(e=[]),this.version="8.4.38",this.plugins=this.normalize(e)}var t=e.prototype;return t.normalize=function(e){for(var t,r=[],n=al(e);!(t=n()).done;){var o=t.value;if(!0===o.postcss?o=o():o.postcss&&(o=o.postcss),"object"===(void 0===o?"undefined":nl(o))&&Array.isArray(o.plugins))r=r.concat(o.plugins);else if("object"===(void 0===o?"undefined":nl(o))&&o.postcssPlugin)r.push(o);else if("function"==typeof o)r.push(o);else if("object"!==(void 0===o?"undefined":nl(o))||!o.parse&&!o.stringify)throw new Error(o+" is not a PostCSS plugin")}return r},t.process=function(e,t){return void 0===t&&(t={}),this.plugins.length||t.parser||t.stringifier||t.syntax?new Wm(this,e,t):new Hm(this,e,t)},t.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e}(),Zm=Um;Um.default=Um,qm.registerProcessor(Um),Vm.registerProcessor(Um);var Gm=gh,Km=kh,Xm=Qh,Jm=Zf,Ym=Dh,Qm=Yf,eg=om;function tg(e,t){if(Array.isArray(e))return e.map(function(e){return tg(e)});var r=e.inputs,n=tl(e,["inputs"]);if(r){t=[];for(var o,i=al(r);!(o=i()).done;){var a=Js({},o.value,{__proto__:Ym.prototype});a.map&&(a.map=Js({},a.map,{__proto__:Km.prototype})),t.push(a)}}if(n.nodes&&(n.nodes=e.nodes.map(function(e){return tg(e,t)})),n.source){var s=n.source,l=s.inputId,c=tl(s,["inputId"]);n.source=c,null!=l&&(n.source.input=t[l])}if("root"===n.type)return new Qm(n);if("decl"===n.type)return new Gm(n);if("rule"===n.type)return new eg(n);if("comment"===n.type)return new Xm(n);if("atrule"===n.type)return new Jm(n);throw new Error("Unknown node type: "+e.type)}var rg=tg;tg.default=tg;var ng=Qp,og=gh,ig=Lm,ag=pf,sg=Zm,lg=ah,cg=rg,ug=gf,dg=yf,pg=Qh,hg=Zf,fg=wf,mg=Dh,gg=gm,bg=em,yg=om,vg=Yf,xg=fh;function wg(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new sg(t)}wg.plugin=function(e,t){var r,n=!1;function o(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];console&&console.warn&&!n&&(n=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));var a=t.apply(void 0,[].concat(o));return a.postcssPlugin=e,a.postcssVersion=(new sg).version,a}return Object.defineProperty(o,"postcss",{get:function(){return r||(r=o()),r}}),o.process=function(e,t,r){return wg([o(r)]).process(e,t)},o},wg.stringify=lg,wg.parse=gg,wg.fromJSON=cg,wg.list=bg,wg.comment=function(e){return new pg(e)},wg.atRule=function(e){return new hg(e)},wg.decl=function(e){return new og(e)},wg.rule=function(e){return new yg(e)},wg.root=function(e){return new vg(e)},wg.document=function(e){return new ug(e)},wg.CssSyntaxError=ng,wg.Declaration=og,wg.Container=ag,wg.Processor=sg,wg.Document=ug,wg.Comment=pg,wg.Warning=dg,wg.AtRule=hg,wg.Result=fg,wg.Input=mg,wg.Rule=yg,wg.Root=vg,wg.Node=xg,ig.registerPostcss(wg);var _g=wg;wg.default=wg;var Cg=Wp(_g);Cg.stringify,Cg.fromJSON,Cg.plugin,Cg.parse,Cg.list,Cg.document,Cg.comment,Cg.atRule,Cg.rule,Cg.decl,Cg.root,Cg.CssSyntaxError,Cg.Declaration,Cg.Container,Cg.Processor,Cg.Document,Cg.Comment,Cg.Warning,Cg.AtRule,Cg.Result,Cg.Input,Cg.Rule,Cg.Root,Cg.Node;var kg=function(){function e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Hp(this,"parentElement",null),Hp(this,"parentNode",null),Hp(this,"ownerDocument"),Hp(this,"firstChild",null),Hp(this,"lastChild",null),Hp(this,"previousSibling",null),Hp(this,"nextSibling",null),Hp(this,"ELEMENT_NODE",1),Hp(this,"TEXT_NODE",3),Hp(this,"nodeType"),Hp(this,"nodeName"),Hp(this,"RRNodeType")}var t=e.prototype;return t.contains=function(t){if(!el(t,e))return!1;if(t.ownerDocument!==this.ownerDocument)return!1;if(t===this)return!0;for(;t.parentNode;){if(t.parentNode===this)return!0;t=t.parentNode}return!1},t.appendChild=function(e){throw new Error("RRDomException: Failed to execute 'appendChild' on 'RRNode': This RRNode type does not support this method.")},t.insertBefore=function(e,t){throw new Error("RRDomException: Failed to execute 'insertBefore' on 'RRNode': This RRNode type does not support this method.")},t.removeChild=function(e){throw new Error("RRDomException: Failed to execute 'removeChild' on 'RRNode': This RRNode type does not support this method.")},t.toString=function(){return"RRNode"},Xs(e,[{key:"childNodes",get:function(){for(var e=[],t=this.firstChild;t;)e.push(t),t=t.nextSibling;return e}}]),e}(),Sg={Node:["childNodes","parentNode","parentElement","textContent"],ShadowRoot:["host","styleSheets"],Element:["shadowRoot","querySelector","querySelectorAll"],MutationObserver:[]},Ag={Node:["contains","getRootNode"],ShadowRoot:["getSelection"],Element:[],MutationObserver:["constructor"]},jg={};function Rg(e){if(jg[e])return jg[e];var t=globalThis[e],r=t.prototype,n=e in Sg?Sg[e]:void 0,o=Boolean(n&&n.every(function(e){var t,n;return Boolean(null==(n=null==(t=Object.getOwnPropertyDescriptor(r,e))?void 0:t.get)?void 0:n.toString().includes("[native code]"))})),i=e in Ag?Ag[e]:void 0,a=Boolean(i&&i.every(function(e){var t;return"function"==typeof r[e]&&(null==(t=r[e])?void 0:t.toString().includes("[native code]"))}));if(o&&a&&!globalThis.Zone)return jg[e]=t.prototype,t.prototype;try{var s=document.createElement("iframe");document.body.appendChild(s);var l=s.contentWindow;if(!l)return t.prototype;var c=l[e].prototype;return document.body.removeChild(s),c?jg[e]=c:r}catch(e){return r}}var Ig={};function Mg(e,t,r){var n,o=e+"."+String(r);if(Ig[o])return Ig[o].call(t);var i=Rg(e),a=null==(n=Object.getOwnPropertyDescriptor(i,r))?void 0:n.get;return a?(Ig[o]=a,a.call(t)):t[r]}var Eg={};function Tg(e,t,r){var n=e+"."+String(r);if(Eg[n])return Eg[n].bind(t);var o=Rg(e)[r];return"function"!=typeof o?t[r]:(Eg[n]=o,o.bind(t))}function Og(){return Rg("MutationObserver").constructor}var Pg=function(e){return Mg("Node",e,"childNodes")},Lg=function(e){return Mg("Node",e,"parentNode")},zg=function(e){return Mg("Node",e,"parentElement")},Ng=function(e){return Mg("Node",e,"textContent")},Fg=function(e,t){return Tg("Node",e,"contains")(t)},Dg=function(e){return Tg("Node",e,"getRootNode")()},Bg=function(e){return e&&"host"in e?Mg("ShadowRoot",e,"host"):null},$g=function(e){return e&&"shadowRoot"in e?Mg("Element",e,"shadowRoot"):null};function Hg(e,t,r){void 0===r&&(r=document);var n={capture:!0,passive:!0};return r.addEventListener(e,t,n),function(){return r.removeEventListener(e,t,n)}}var Wg="Please stop import mirror directly. Instead of that,\r\nnow you can use replayer.getMirror() to access the mirror instance of a replayer,\r\nor you can use record.mirror to access the mirror instance during recording.",Vg={map:{},getId:function(){return console.error(Wg),-1},getNode:function(){return console.error(Wg),null},removeNodeFromMap:function(){console.error(Wg)},has:function(){return console.error(Wg),!1},reset:function(){console.error(Wg)}};function qg(e,t,r){void 0===r&&(r={});var n=null,o=0;return function(){for(var i=arguments.length,a=new Array(i),s=0;s<i;s++)a[s]=arguments[s];var l=Date.now();o||!1!==r.leading||(o=l);var c=t-(l-o),u=this;c<=0||c>t?(n&&(clearTimeout(n),n=null),o=l,e.apply(u,a)):n||!1===r.trailing||(n=setTimeout(function(){o=!1===r.leading?0:Date.now(),n=null,e.apply(u,a)},c))}}function Ug(e,t,r,n,o){void 0===o&&(o=window);var i=o.Object.getOwnPropertyDescriptor(e,t);return o.Object.defineProperty(e,t,n?r:{set:function(e){var t=this;setTimeout(function(){r.set.call(t,e)},0),i&&i.set&&i.set.call(this,e)}}),function(){return Ug(e,t,i||{},!0)}}function Zg(e,t,r){try{if(!(t in e))return function(){};var n=e[t],o=r(n);return"function"==typeof o&&(o.prototype=o.prototype||{},Object.defineProperties(o,{__rrweb_original__:{enumerable:!1,value:n}})),e[t]=o,function(){e[t]=n}}catch(e){return function(){}}}"undefined"!=typeof window&&window.Proxy&&window.Reflect&&(Vg=new Proxy(Vg,{get:function(e,t,r){return"map"===t&&console.error(Wg),Reflect.get(e,t,r)}}));var Gg=Date.now;function Kg(e){var t,r,n,o,i=e.document;return{left:i.scrollingElement?i.scrollingElement.scrollLeft:void 0!==e.pageXOffset?e.pageXOffset:i.documentElement.scrollLeft||(null==i?void 0:i.body)&&(null==(t=zg(i.body))?void 0:t.scrollLeft)||(null==(r=null==i?void 0:i.body)?void 0:r.scrollLeft)||0,top:i.scrollingElement?i.scrollingElement.scrollTop:void 0!==e.pageYOffset?e.pageYOffset:(null==i?void 0:i.documentElement.scrollTop)||(null==i?void 0:i.body)&&(null==(n=zg(i.body))?void 0:n.scrollTop)||(null==(o=null==i?void 0:i.body)?void 0:o.scrollTop)||0}}function Xg(){return window.innerHeight||document.documentElement&&document.documentElement.clientHeight||document.body&&document.body.clientHeight}function Jg(){return window.innerWidth||document.documentElement&&document.documentElement.clientWidth||document.body&&document.body.clientWidth}function Yg(e){return e?e.nodeType===e.ELEMENT_NODE?e:zg(e):null}function Qg(e,t,r,n){if(!e)return!1;var o=Yg(e);if(!o)return!1;try{if("string"==typeof t){if(o.classList.contains(t))return!0;if(n&&null!==o.closest("."+t))return!0}else if(rc(o,t,n))return!0}catch(e){}if(r){if(o.matches(r))return!0;if(n&&null!==o.closest(r))return!0}return!1}function eb(e,t,r){return!("TITLE"!==e.tagName||!r.headTitleMutations)||-2===t.getId(e)}function tb(e,t){if(Rl(e))return!1;var r=t.getId(e);if(!t.has(r))return!0;var n=Lg(e);return(!n||n.nodeType!==e.DOCUMENT_NODE)&&(!n||tb(n,t))}function rb(e){return Boolean(e.changedTouches)}function nb(e,t){return Boolean("IFRAME"===e.nodeName&&t.getMeta(e))}function ob(e,t){return Boolean("LINK"===e.nodeName&&e.nodeType===e.ELEMENT_NODE&&e.getAttribute&&"stylesheet"===e.getAttribute("rel")&&t.getMeta(e))}function ib(e){return!!e&&(el(e,kg)&&"shadowRoot"in e?Boolean(e.shadowRoot):Boolean($g(e)))}/[1-9][0-9]{12}/.test(Date.now().toString())||(Gg=function(){return(new Date).getTime()});var ab=function(){function e(){dl(this,"id",1),dl(this,"styleIDMap",new WeakMap),dl(this,"idStyleMap",new Map)}var t=e.prototype;return t.getId=function(e){var t;return null!=(t=this.styleIDMap.get(e))?t:-1},t.has=function(e){return this.styleIDMap.has(e)},t.add=function(e,t){return this.has(e)?this.getId(e):(r=void 0===t?this.id++:t,this.styleIDMap.set(e,r),this.idStyleMap.set(r,e),r);var r},t.getStyle=function(e){return this.idStyleMap.get(e)||null},t.reset=function(){this.styleIDMap=new WeakMap,this.idStyleMap=new Map,this.id=1},t.generateId=function(){return this.id++},e}();function sb(e){var t,r=null;return"getRootNode"in e&&(null==(t=Dg(e))?void 0:t.nodeType)===Node.DOCUMENT_FRAGMENT_NODE&&Bg(Dg(e))&&(r=Bg(Dg(e))),r}function lb(e){var t=e.ownerDocument;return!!t&&(Fg(t,e)||function(e){var t=e.ownerDocument;if(!t)return!1;var r=function(e){for(var t,r=e;t=sb(r);)r=t;return r}(e);return Fg(t,r)}(e))}var cb=function(e){return e[e.DomContentLoaded=0]="DomContentLoaded",e[e.Load=1]="Load",e[e.FullSnapshot=2]="FullSnapshot",e[e.IncrementalSnapshot=3]="IncrementalSnapshot",e[e.Meta=4]="Meta",e[e.Custom=5]="Custom",e[e.Plugin=6]="Plugin",e}(cb||{}),ub=function(e){return e[e.Mutation=0]="Mutation",e[e.MouseMove=1]="MouseMove",e[e.MouseInteraction=2]="MouseInteraction",e[e.Scroll=3]="Scroll",e[e.ViewportResize=4]="ViewportResize",e[e.Input=5]="Input",e[e.TouchMove=6]="TouchMove",e[e.MediaInteraction=7]="MediaInteraction",e[e.StyleSheetRule=8]="StyleSheetRule",e[e.CanvasMutation=9]="CanvasMutation",e[e.Font=10]="Font",e[e.Log=11]="Log",e[e.Drag=12]="Drag",e[e.StyleDeclaration=13]="StyleDeclaration",e[e.Selection=14]="Selection",e[e.AdoptedStyleSheet=15]="AdoptedStyleSheet",e[e.CustomElement=16]="CustomElement",e}(ub||{}),db=function(e){return e[e.MouseUp=0]="MouseUp",e[e.MouseDown=1]="MouseDown",e[e.Click=2]="Click",e[e.ContextMenu=3]="ContextMenu",e[e.DblClick=4]="DblClick",e[e.Focus=5]="Focus",e[e.Blur=6]="Blur",e[e.TouchStart=7]="TouchStart",e[e.TouchMove_Departed=8]="TouchMove_Departed",e[e.TouchEnd=9]="TouchEnd",e[e.TouchCancel=10]="TouchCancel",e}(db||{}),pb=function(e){return e[e.Mouse=0]="Mouse",e[e.Pen=1]="Pen",e[e.Touch=2]="Touch",e}(pb||{}),hb=function(e){return e[e["2D"]=0]="2D",e[e.WebGL=1]="WebGL",e[e.WebGL2=2]="WebGL2",e}(hb||{}),fb=function(e){return e[e.Play=0]="Play",e[e.Pause=1]="Pause",e[e.Seeked=2]="Seeked",e[e.VolumeChange=3]="VolumeChange",e[e.RateChange=4]="RateChange",e}(fb||{}),mb=function(e){return e[e.Document=0]="Document",e[e.DocumentType=1]="DocumentType",e[e.Element=2]="Element",e[e.Text=3]="Text",e[e.CDATA=4]="CDATA",e[e.Comment=5]="Comment",e}(mb||{});function gb(e){return"__ln"in e}var bb,yb=function(){function e(){dl(this,"length",0),dl(this,"head",null),dl(this,"tail",null)}var t=e.prototype;return t.get=function(e){if(e>=this.length)throw new Error("Position outside of list range");for(var t=this.head,r=0;r<e;r++)t=(null==t?void 0:t.next)||null;return t},t.addNode=function(e){var t={value:e,previous:null,next:null};if(e.__ln=t,e.previousSibling&&gb(e.previousSibling)){var r=e.previousSibling.__ln.next;t.next=r,t.previous=e.previousSibling.__ln,e.previousSibling.__ln.next=t,r&&(r.previous=t)}else if(e.nextSibling&&gb(e.nextSibling)&&e.nextSibling.__ln.previous){var n=e.nextSibling.__ln.previous;t.previous=n,t.next=e.nextSibling.__ln,e.nextSibling.__ln.previous=t,n&&(n.next=t)}else this.head&&(this.head.previous=t),t.next=this.head,this.head=t;null===t.next&&(this.tail=t),this.length++},t.removeNode=function(e){var t=e.__ln;this.head&&(t.previous?(t.previous.next=t.next,t.next?t.next.previous=t.previous:this.tail=t.previous):(this.head=t.next,this.head?this.head.previous=null:this.tail=null),e.__ln&&delete e.__ln,this.length--)},e}(),vb=function(e,t){return e+"@"+t},xb=function(){function e(){var e=this;dl(this,"frozen",!1),dl(this,"locked",!1),dl(this,"texts",[]),dl(this,"attributes",[]),dl(this,"attributeMap",new WeakMap),dl(this,"removes",[]),dl(this,"mapRemoves",[]),dl(this,"movedMap",{}),dl(this,"addedSet",new Set),dl(this,"movedSet",new Set),dl(this,"droppedSet",new Set),dl(this,"removesSubTreeCache",new Set),dl(this,"mutationCb"),dl(this,"blockClass"),dl(this,"blockSelector"),dl(this,"maskTextClass"),dl(this,"maskTextSelector"),dl(this,"inlineStylesheet"),dl(this,"maskInputOptions"),dl(this,"maskTextFn"),dl(this,"maskInputFn"),dl(this,"keepIframeSrcFn"),dl(this,"recordCanvas"),dl(this,"inlineImages"),dl(this,"slimDOMOptions"),dl(this,"dataURLOptions"),dl(this,"doc"),dl(this,"mirror"),dl(this,"iframeManager"),dl(this,"stylesheetManager"),dl(this,"shadowDomManager"),dl(this,"canvasManager"),dl(this,"processedNodeManager"),dl(this,"unattachedDoc"),dl(this,"processMutations",function(t){t.forEach(e.processMutation),e.emit()}),dl(this,"emit",function(){if(!e.frozen&&!e.locked){for(var t=[],r=new Set,n=new yb,o=function(t){for(var r=t,n=-2;-2===n;)n=(r=r&&r.nextSibling)&&e.mirror.getId(r);return n},i=function(i){var a=Lg(i);if(a&&lb(i)){var s=!1;if(i.nodeType===Node.TEXT_NODE){var l=a.tagName;if("TEXTAREA"===l)return;"STYLE"===l&&e.addedSet.has(a)&&(s=!0)}var c=Rl(a)?e.mirror.getId(sb(i)):e.mirror.getId(a),u=o(i);if(-1===c||-1===u)return n.addNode(i);var d=ac(i,{doc:e.doc,mirror:e.mirror,blockClass:e.blockClass,blockSelector:e.blockSelector,maskTextClass:e.maskTextClass,maskTextSelector:e.maskTextSelector,skipChild:!0,newlyAddedElement:!0,inlineStylesheet:e.inlineStylesheet,maskInputOptions:e.maskInputOptions,maskTextFn:e.maskTextFn,maskInputFn:e.maskInputFn,slimDOMOptions:e.slimDOMOptions,dataURLOptions:e.dataURLOptions,recordCanvas:e.recordCanvas,inlineImages:e.inlineImages,onSerialize:function(t){nb(t,e.mirror)&&e.iframeManager.addIframe(t),ob(t,e.mirror)&&e.stylesheetManager.trackLinkElement(t),ib(i)&&e.shadowDomManager.addShadowRoot($g(i),e.doc)},onIframeLoad:function(t,r){e.iframeManager.attachIframe(t,r),e.shadowDomManager.observeAttachShadow(t)},onStylesheetLoad:function(t,r){e.stylesheetManager.attachLinkElement(t,r)},cssCaptured:s});d&&(t.push({parentId:c,nextId:u,node:d}),r.add(d.id))}};e.mapRemoves.length;)e.mirror.removeNodeFromMap(e.mapRemoves.shift());for(var a,s=al(e.movedSet);!(a=s()).done;){var l=a.value;_b(e.removesSubTreeCache,l,e.mirror)&&!e.movedSet.has(Lg(l))||i(l)}for(var c,u=al(e.addedSet);!(c=u()).done;){var d=c.value;Cb(e.droppedSet,d)||_b(e.removesSubTreeCache,d,e.mirror)?Cb(e.movedSet,d)?i(d):e.droppedSet.add(d):i(d)}for(var p=null;n.length;){var h=null;if(p){var f=e.mirror.getId(Lg(p.value)),m=o(p.value);-1!==f&&-1!==m&&(h=p)}if(!h)for(var g=n.tail;g;){var b=g;if(g=g.previous,b){var y=e.mirror.getId(Lg(b.value));if(-1===o(b.value))continue;if(-1!==y){h=b;break}var v=b.value,x=Lg(v);if(x&&x.nodeType===Node.DOCUMENT_FRAGMENT_NODE){var w=Bg(x);if(-1!==e.mirror.getId(w)){h=b;break}}}}if(!h){for(;n.head;)n.removeNode(n.head.value);break}p=h.previous,n.removeNode(h.value),i(h.value)}var _={texts:e.texts.map(function(t){var r=t.node,n=Lg(r);return n&&"TEXTAREA"===n.tagName&&e.genTextAreaValueMutation(n),{id:e.mirror.getId(r),value:t.value}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),attributes:e.attributes.map(function(t){var r=t.attributes;if("string"==typeof r.style){var n=JSON.stringify(t.styleDiff),o=JSON.stringify(t._unchangedStyles);n.length<r.style.length&&(n+o).split("var(").length===r.style.split("var(").length&&(r.style=t.styleDiff)}return{id:e.mirror.getId(t.node),attributes:r}}).filter(function(e){return!r.has(e.id)}).filter(function(t){return e.mirror.has(t.id)}),removes:e.removes,adds:t};(_.texts.length||_.attributes.length||_.removes.length||_.adds.length)&&(e.texts=[],e.attributes=[],e.attributeMap=new WeakMap,e.removes=[],e.addedSet=new Set,e.movedSet=new Set,e.droppedSet=new Set,e.removesSubTreeCache=new Set,e.movedMap={},e.mutationCb(_))}}),dl(this,"genTextAreaValueMutation",function(t){var r=e.attributeMap.get(t);r||(r={node:t,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(r),e.attributeMap.set(t,r)),r.attributes.value=Array.from(Pg(t),function(e){return Ng(e)||""}).join("")}),dl(this,"processMutation",function(t){if(!eb(t.target,e.mirror,e.slimDOMOptions))switch(t.type){case"characterData":var r=Ng(t.target);Qg(t.target,e.blockClass,e.blockSelector,!1)||r===t.oldValue||e.texts.push({value:nc(t.target,e.maskTextClass,e.maskTextSelector,!0)&&r?e.maskTextFn?e.maskTextFn(r,Yg(t.target)):r.replace(/[\S]/g,"*"):r,node:t.target});break;case"attributes":var n=t.target,o=t.attributeName,i=t.target.getAttribute(o);if("value"===o){var a=zl(n);i=Ol({element:n,maskInputOptions:e.maskInputOptions,tagName:n.tagName,type:a,value:i,maskInputFn:e.maskInputFn})}if(Qg(t.target,e.blockClass,e.blockSelector,!1)||i===t.oldValue)return;var s=e.attributeMap.get(t.target);if("IFRAME"===n.tagName&&"src"===o&&!e.keepIframeSrcFn(i)){if(n.contentDocument)return;o="rr_src"}if(s||(s={node:t.target,attributes:{},styleDiff:{},_unchangedStyles:{}},e.attributes.push(s),e.attributeMap.set(t.target,s)),"type"===o&&"INPUT"===n.tagName&&"password"===(t.oldValue||"").toLowerCase()&&n.setAttribute("data-rr-is-password","true"),!tc(n.tagName,o))if(s.attributes[o]=ec(e.doc,Pl(n.tagName),Pl(o),i),"style"===o){if(!e.unattachedDoc)try{e.unattachedDoc=document.implementation.createHTMLDocument()}catch(t){e.unattachedDoc=e.doc}var l=e.unattachedDoc.createElement("span");t.oldValue&&l.setAttribute("style",t.oldValue);for(var c,u=al(Array.from(n.style));!(c=u()).done;){var d=c.value,p=n.style.getPropertyValue(d),h=n.style.getPropertyPriority(d);p!==l.style.getPropertyValue(d)||h!==l.style.getPropertyPriority(d)?s.styleDiff[d]=""===h?p:[p,h]:s._unchangedStyles[d]=[p,h]}for(var f,m=al(Array.from(l.style));!(f=m()).done;){var g=f.value;""===n.style.getPropertyValue(g)&&(s.styleDiff[g]=!1)}}else"open"===o&&"DIALOG"===n.tagName&&(n.matches("dialog:modal")?s.attributes.rr_open_mode="modal":s.attributes.rr_open_mode="non-modal");break;case"childList":if(Qg(t.target,e.blockClass,e.blockSelector,!0))return;if("TEXTAREA"===t.target.tagName)return void e.genTextAreaValueMutation(t.target);t.addedNodes.forEach(function(r){return e.genAdds(r,t.target)}),t.removedNodes.forEach(function(r){var n=e.mirror.getId(r),o=Rl(t.target)?e.mirror.getId(Bg(t.target)):e.mirror.getId(t.target);Qg(t.target,e.blockClass,e.blockSelector,!1)||eb(r,e.mirror,e.slimDOMOptions)||!function(e,t){return-1!==t.getId(e)}(r,e.mirror)||(e.addedSet.has(r)?(wb(e.addedSet,r),e.droppedSet.add(r)):e.addedSet.has(t.target)&&-1===n||tb(t.target,e.mirror)||(e.movedSet.has(r)&&e.movedMap[vb(n,o)]?wb(e.movedSet,r):(e.removes.push({parentId:o,id:n,isShadow:!(!Rl(t.target)||!Il(t.target))||void 0}),function(e,t){for(var r=[e];r.length;){var n=r.pop();t.has(n)||(t.add(n),Pg(n).forEach(function(e){return r.push(e)}))}}(r,e.removesSubTreeCache))),e.mapRemoves.push(r))})}}),dl(this,"genAdds",function(t,r){if(!e.processedNodeManager.inOtherBuffer(t,e)&&!e.addedSet.has(t)&&!e.movedSet.has(t)){if(e.mirror.hasNode(t)){if(eb(t,e.mirror,e.slimDOMOptions))return;e.movedSet.add(t);var n=null;r&&e.mirror.hasNode(r)&&(n=e.mirror.getId(r)),n&&-1!==n&&(e.movedMap[vb(e.mirror.getId(t),n)]=!0)}else e.addedSet.add(t),e.droppedSet.delete(t);Qg(t,e.blockClass,e.blockSelector,!1)||(Pg(t).forEach(function(t){return e.genAdds(t)}),ib(t)&&Pg($g(t)).forEach(function(r){e.processedNodeManager.add(r,e),e.genAdds(r,t)}))}})}var t=e.prototype;return t.init=function(e){var t=this;["mutationCb","blockClass","blockSelector","maskTextClass","maskTextSelector","inlineStylesheet","maskInputOptions","maskTextFn","maskInputFn","keepIframeSrcFn","recordCanvas","inlineImages","slimDOMOptions","dataURLOptions","doc","mirror","iframeManager","stylesheetManager","shadowDomManager","canvasManager","processedNodeManager"].forEach(function(r){t[r]=e[r]})},t.freeze=function(){this.frozen=!0,this.canvasManager.freeze()},t.unfreeze=function(){this.frozen=!1,this.canvasManager.unfreeze(),this.emit()},t.isFrozen=function(){return this.frozen},t.lock=function(){this.locked=!0,this.canvasManager.lock()},t.unlock=function(){this.locked=!1,this.canvasManager.unlock(),this.emit()},t.reset=function(){this.shadowDomManager.reset(),this.canvasManager.reset()},e}();function wb(e,t){e.delete(t),Pg(t).forEach(function(t){return wb(e,t)})}function _b(e,t,r){return 0!==e.size&&function(e,t){var r=Lg(t);return!!r&&e.has(r)}(e,t)}function Cb(e,t){return 0!==e.size&&kb(e,t)}function kb(e,t){var r=Lg(t);return!!r&&(!!e.has(r)||kb(e,r))}var Sb=function(e){return bb?function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];try{return e.apply(void 0,[].concat(r))}catch(e){if(bb&&!0===bb(e))return;throw e}}:e},Ab=[];function jb(e){try{if("composedPath"in e){var t=e.composedPath();if(t.length)return t[0]}else if("path"in e&&e.path.length)return e.path[0]}catch(e){}return e&&e.target}function Rb(e,t){var r=new xb;Ab.push(r),r.init(e);var n=new(Og())(Sb(r.processMutations.bind(r)));return n.observe(t,{attributes:!0,attributeOldValue:!0,characterData:!0,characterDataOldValue:!0,childList:!0,subtree:!0}),n}function Ib(e){var t=e.scrollCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;return Hg("scroll",Sb(qg(Sb(function(e){var a=jb(e);if(a&&!Qg(a,o,i,!0)){var s=n.getId(a);if(a===r&&r.defaultView){var l=Kg(r.defaultView);t({id:s,x:l.left,y:l.top})}else t({id:s,x:a.scrollLeft,y:a.scrollTop})}}),a.scroll||100)),r)}var Mb=["INPUT","TEXTAREA","SELECT"],Eb=new WeakMap;function Tb(e){return function(e,t){if(zb("CSSGroupingRule")&&el(e.parentRule,CSSGroupingRule)||zb("CSSMediaRule")&&el(e.parentRule,CSSMediaRule)||zb("CSSSupportsRule")&&el(e.parentRule,CSSSupportsRule)||zb("CSSConditionRule")&&el(e.parentRule,CSSConditionRule)){var r=Array.from(e.parentRule.cssRules).indexOf(e);t.unshift(r)}else if(e.parentStyleSheet){var n=Array.from(e.parentStyleSheet.cssRules).indexOf(e);t.unshift(n)}return t}(e,[])}function Ob(e,t,r){var n,o;return e?(e.ownerNode?n=t.getId(e.ownerNode):o=r.getId(e),{styleId:o,id:n}):{}}function Pb(e,t){var r,n,o,i,a=e.mirror,s=e.stylesheetManager;i="#document"===t.nodeName?a.getId(t):a.getId(Bg(t));var l="#document"===t.nodeName?null==(r=t.defaultView)?void 0:r.Document:null==(o=null==(n=t.ownerDocument)?void 0:n.defaultView)?void 0:o.ShadowRoot,c=(null==l?void 0:l.prototype)?Object.getOwnPropertyDescriptor(null==l?void 0:l.prototype,"adoptedStyleSheets"):void 0;return null!==i&&-1!==i&&l&&c?(Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:function(){var e;return null==(e=c.get)?void 0:e.call(this)},set:function(e){var t,r=null==(t=c.set)?void 0:t.call(this,e);if(null!==i&&-1!==i)try{s.adoptStyleSheets(e,i)}catch(e){}return r}}),Sb(function(){Object.defineProperty(t,"adoptedStyleSheets",{configurable:c.configurable,enumerable:c.enumerable,get:c.get,set:c.set})})):function(){}}function Lb(e,t){void 0===t&&(t={});var r,n=e.doc.defaultView;if(!n)return function(){};!function(e,t){var r=e.mutationCb,n=e.mousemoveCb,o=e.mouseInteractionCb,i=e.scrollCb,a=e.viewportResizeCb,s=e.inputCb,l=e.mediaInteractionCb,c=e.styleSheetRuleCb,u=e.styleDeclarationCb,d=e.canvasMutationCb,p=e.fontCb,h=e.selectionCb,f=e.customElementCb;e.mutationCb=function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];var i;t.mutation&&(i=t).mutation.apply(i,[].concat(n)),r.apply(void 0,[].concat(n))},e.mousemoveCb=function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];var i;t.mousemove&&(i=t).mousemove.apply(i,[].concat(r)),n.apply(void 0,[].concat(r))},e.mouseInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var i;t.mouseInteraction&&(i=t).mouseInteraction.apply(i,[].concat(r)),o.apply(void 0,[].concat(r))},e.scrollCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.scroll&&(o=t).scroll.apply(o,[].concat(r)),i.apply(void 0,[].concat(r))},e.viewportResizeCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.viewportResize&&(o=t).viewportResize.apply(o,[].concat(r)),a.apply(void 0,[].concat(r))},e.inputCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.input&&(o=t).input.apply(o,[].concat(r)),s.apply(void 0,[].concat(r))},e.mediaInteractionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.mediaInteaction&&(o=t).mediaInteaction.apply(o,[].concat(r)),l.apply(void 0,[].concat(r))},e.styleSheetRuleCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.styleSheetRule&&(o=t).styleSheetRule.apply(o,[].concat(r)),c.apply(void 0,[].concat(r))},e.styleDeclarationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.styleDeclaration&&(o=t).styleDeclaration.apply(o,[].concat(r)),u.apply(void 0,[].concat(r))},e.canvasMutationCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.canvasMutation&&(o=t).canvasMutation.apply(o,[].concat(r)),d.apply(void 0,[].concat(r))},e.fontCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.font&&(o=t).font.apply(o,[].concat(r)),p.apply(void 0,[].concat(r))},e.selectionCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.selection&&(o=t).selection.apply(o,[].concat(r)),h.apply(void 0,[].concat(r))},e.customElementCb=function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o;t.customElement&&(o=t).customElement.apply(o,[].concat(r)),f.apply(void 0,[].concat(r))}}(e,t),e.recordDOM&&(r=Rb(e,e.doc));var o,i,a,s,l,c,u,d,p,h=function(e){var t=e.mousemoveCb,r=e.sampling,n=e.doc,o=e.mirror;if(!1===r.mousemove)return function(){};var i,a="number"==typeof r.mousemove?r.mousemove:50,s="number"==typeof r.mousemoveCallback?r.mousemoveCallback:500,l=[],c=qg(Sb(function(e){var r=Date.now()-i;t(l.map(function(e){return e.timeOffset-=r,e}),e),l=[],i=null}),s),u=Sb(qg(Sb(function(e){var t=jb(e),r=rb(e)?e.changedTouches[0]:e,n=r.clientX,a=r.clientY;i||(i=Gg()),l.push({x:n,y:a,id:o.getId(t),timeOffset:Gg()-i}),c("undefined"!=typeof DragEvent&&el(e,DragEvent)?ub.Drag:el(e,MouseEvent)?ub.MouseMove:ub.TouchMove)}),a,{trailing:!1})),d=[Hg("mousemove",u,n),Hg("touchmove",u,n),Hg("drag",u,n)];return Sb(function(){d.forEach(function(e){return e()})})}(e),f=function(e){var t=e.mouseInteractionCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.sampling;if(!1===a.mouseInteraction)return function(){};var s=!0===a.mouseInteraction||void 0===a.mouseInteraction?{}:a.mouseInteraction,l=[],c=null;return Object.keys(db).filter(function(e){return Number.isNaN(Number(e))&&!e.endsWith("_Departed")&&!1!==s[e]}).forEach(function(e){var a=Pl(e),s=function(e){return function(r){var a=jb(r);if(!Qg(a,o,i,!0)){var s=null,l=e;if("pointerType"in r){switch(r.pointerType){case"mouse":s=pb.Mouse;break;case"touch":s=pb.Touch;break;case"pen":s=pb.Pen}s===pb.Touch?db[e]===db.MouseDown?l="TouchStart":db[e]===db.MouseUp&&(l="TouchEnd"):pb.Pen}else rb(r)&&(s=pb.Touch);null!==s?(c=s,(l.startsWith("Touch")&&s===pb.Touch||l.startsWith("Mouse")&&s===pb.Mouse)&&(s=null)):db[e]===db.Click&&(s=c,c=null);var u=rb(r)?r.changedTouches[0]:r;if(u){var d=n.getId(a),p=u.clientX,h=u.clientY;Sb(t)(Js({type:db[l],id:d,x:p,y:h},null!==s&&{pointerType:s}))}}}}(e);if(window.PointerEvent)switch(db[e]){case db.MouseDown:case db.MouseUp:a=a.replace("mouse","pointer");break;case db.TouchStart:case db.TouchEnd:return}l.push(Hg(a,s,r))}),Sb(function(){l.forEach(function(e){return e()})})}(e),m=Ib(e),g=function(e,t){var r=e.viewportResizeCb,n=t.win,o=-1,i=-1;return Hg("resize",Sb(qg(Sb(function(){var e=Xg(),t=Jg();o===e&&i===t||(r({width:Number(t),height:Number(e)}),o=e,i=t)}),200)),n)}(e,{win:n}),b=function(e){var t=e.inputCb,r=e.doc,n=e.mirror,o=e.blockClass,i=e.blockSelector,a=e.ignoreClass,s=e.ignoreSelector,l=e.maskInputOptions,c=e.maskInputFn,u=e.sampling,d=e.userTriggeredOnInput;function p(e){var t=jb(e),n=e.isTrusted,u=t&&t.tagName;if(t&&"OPTION"===u&&(t=zg(t)),t&&u&&!(Mb.indexOf(u)<0)&&!Qg(t,o,i,!0)&&!(t.classList.contains(a)||s&&t.matches(s))){var p=t.value,f=!1,m=zl(t)||"";"radio"===m||"checkbox"===m?f=t.checked:(l[u.toLowerCase()]||l[m])&&(p=Ol({element:t,maskInputOptions:l,tagName:u,type:m,value:p,maskInputFn:c})),h(t,d?{text:p,isChecked:f,userTriggered:n}:{text:p,isChecked:f});var g=t.name;"radio"===m&&g&&f&&r.querySelectorAll('input[type="radio"][name="'+g+'"]').forEach(function(e){if(e!==t){var r=e.value;h(e,d?{text:r,isChecked:!f,userTriggered:!1}:{text:r,isChecked:!f})}})}}function h(e,r){var o=Eb.get(e);if(!o||o.text!==r.text||o.isChecked!==r.isChecked){Eb.set(e,r);var i=n.getId(e);Sb(t)(Js({},r,{id:i}))}}var f=("last"===u.input?["change"]:["input","change"]).map(function(e){return Hg(e,Sb(p),r)}),m=r.defaultView;if(!m)return function(){f.forEach(function(e){return e()})};var g,b=m.Object.getOwnPropertyDescriptor(m.HTMLInputElement.prototype,"value"),y=[[m.HTMLInputElement.prototype,"value"],[m.HTMLInputElement.prototype,"checked"],[m.HTMLSelectElement.prototype,"value"],[m.HTMLTextAreaElement.prototype,"value"],[m.HTMLSelectElement.prototype,"selectedIndex"],[m.HTMLOptionElement.prototype,"selected"]];return b&&b.set&&(g=f).push.apply(g,[].concat(y.map(function(e){return Ug(e[0],e[1],{set:function(){Sb(p)({target:this,isTrusted:!1})}},!1,m)}))),Sb(function(){f.forEach(function(e){return e()})})}(e),y=(i=(o=e).mediaInteractionCb,a=o.blockClass,s=o.blockSelector,l=o.mirror,c=o.sampling,u=o.doc,d=Sb(function(e){return qg(Sb(function(t){var r=jb(t);if(r&&!Qg(r,a,s,!0)){var n=r.currentTime,o=r.volume,c=r.muted,u=r.playbackRate,d=r.loop;i({type:e,id:l.getId(r),currentTime:n,volume:o,muted:c,playbackRate:u,loop:d})}}),c.media||500)}),p=[Hg("play",d(fb.Play),u),Hg("pause",d(fb.Pause),u),Hg("seeked",d(fb.Seeked),u),Hg("volumechange",d(fb.VolumeChange),u),Hg("ratechange",d(fb.RateChange),u)],Sb(function(){p.forEach(function(e){return e()})})),v=function(){},x=function(){},w=function(){},_=function(){};e.recordDOM&&(v=function(e,t){var r=e.styleSheetRuleCb,n=e.mirror,o=e.stylesheetManager,i=t.win;if(!i.CSSStyleSheet||!i.CSSStyleSheet.prototype)return function(){};var a=i.CSSStyleSheet.prototype.insertRule;i.CSSStyleSheet.prototype.insertRule=new Proxy(a,{apply:Sb(function(e,t,i){var a=i[0],s=i[1],l=Ob(t,n,o.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:a,index:s}]}),e.apply(t,i)})}),i.CSSStyleSheet.prototype.addRule=function(e,t,r){void 0===r&&(r=this.cssRules.length);var n=e+" { "+t+" }";return i.CSSStyleSheet.prototype.insertRule.apply(this,[n,r])};var s,l,c=i.CSSStyleSheet.prototype.deleteRule;i.CSSStyleSheet.prototype.deleteRule=new Proxy(c,{apply:Sb(function(e,t,i){var a=i[0],s=Ob(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:a}]}),e.apply(t,i)})}),i.CSSStyleSheet.prototype.removeRule=function(e){return i.CSSStyleSheet.prototype.deleteRule.apply(this,[e])},i.CSSStyleSheet.prototype.replace&&(s=i.CSSStyleSheet.prototype.replace,i.CSSStyleSheet.prototype.replace=new Proxy(s,{apply:Sb(function(e,t,i){var a=i[0],s=Ob(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replace:a}),e.apply(t,i)})})),i.CSSStyleSheet.prototype.replaceSync&&(l=i.CSSStyleSheet.prototype.replaceSync,i.CSSStyleSheet.prototype.replaceSync=new Proxy(l,{apply:Sb(function(e,t,i){var a=i[0],s=Ob(t,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,replaceSync:a}),e.apply(t,i)})}));var u={};Nb("CSSGroupingRule")?u.CSSGroupingRule=i.CSSGroupingRule:(Nb("CSSMediaRule")&&(u.CSSMediaRule=i.CSSMediaRule),Nb("CSSConditionRule")&&(u.CSSConditionRule=i.CSSConditionRule),Nb("CSSSupportsRule")&&(u.CSSSupportsRule=i.CSSSupportsRule));var d={};return Object.entries(u).forEach(function(e){var t=e[0],i=e[1];d[t]={insertRule:i.prototype.insertRule,deleteRule:i.prototype.deleteRule},i.prototype.insertRule=new Proxy(d[t].insertRule,{apply:Sb(function(e,t,i){var a=i[0],s=i[1],l=Ob(t.parentStyleSheet,n,o.styleMirror),c=l.id,u=l.styleId;return(c&&-1!==c||u&&-1!==u)&&r({id:c,styleId:u,adds:[{rule:a,index:[].concat(Tb(t),[s||0])}]}),e.apply(t,i)})}),i.prototype.deleteRule=new Proxy(d[t].deleteRule,{apply:Sb(function(e,t,i){var a=i[0],s=Ob(t.parentStyleSheet,n,o.styleMirror),l=s.id,c=s.styleId;return(l&&-1!==l||c&&-1!==c)&&r({id:l,styleId:c,removes:[{index:[].concat(Tb(t),[a])}]}),e.apply(t,i)})})}),Sb(function(){i.CSSStyleSheet.prototype.insertRule=a,i.CSSStyleSheet.prototype.deleteRule=c,s&&(i.CSSStyleSheet.prototype.replace=s),l&&(i.CSSStyleSheet.prototype.replaceSync=l),Object.entries(u).forEach(function(e){var t=e[0],r=e[1];r.prototype.insertRule=d[t].insertRule,r.prototype.deleteRule=d[t].deleteRule})})}(e,{win:n}),x=Pb(e,e.doc),w=function(e,t){var r=e.styleDeclarationCb,n=e.mirror,o=e.ignoreCSSAttributes,i=e.stylesheetManager,a=t.win,s=a.CSSStyleDeclaration.prototype.setProperty;a.CSSStyleDeclaration.prototype.setProperty=new Proxy(s,{apply:Sb(function(e,t,a){var l,c=a[0],u=a[1],d=a[2];if(o.has(c))return s.apply(t,[c,u,d]);var p=Ob(null==(l=t.parentRule)?void 0:l.parentStyleSheet,n,i.styleMirror),h=p.id,f=p.styleId;return(h&&-1!==h||f&&-1!==f)&&r({id:h,styleId:f,set:{property:c,value:u,priority:d},index:Tb(t.parentRule)}),e.apply(t,a)})});var l=a.CSSStyleDeclaration.prototype.removeProperty;return a.CSSStyleDeclaration.prototype.removeProperty=new Proxy(l,{apply:Sb(function(e,t,a){var s,c=a[0];if(o.has(c))return l.apply(t,[c]);var u=Ob(null==(s=t.parentRule)?void 0:s.parentStyleSheet,n,i.styleMirror),d=u.id,p=u.styleId;return(d&&-1!==d||p&&-1!==p)&&r({id:d,styleId:p,remove:{property:c},index:Tb(t.parentRule)}),e.apply(t,a)})}),Sb(function(){a.CSSStyleDeclaration.prototype.setProperty=s,a.CSSStyleDeclaration.prototype.removeProperty=l})}(e,{win:n}),e.collectFonts&&(_=function(e){var t=e.fontCb,r=e.doc,n=r.defaultView;if(!n)return function(){};var o=[],i=new WeakMap,a=n.FontFace;n.FontFace=function(e,t,r){var n=new a(e,t,r);return i.set(n,{family:e,buffer:"string"!=typeof t,descriptors:r,fontSource:"string"==typeof t?t:JSON.stringify(Array.from(new Uint8Array(t)))}),n};var s=Zg(r.fonts,"add",function(e){return function(r){return setTimeout(Sb(function(){var e=i.get(r);e&&(t(e),i.delete(r))}),0),e.apply(this,[r])}});return o.push(function(){n.FontFace=a}),o.push(s),Sb(function(){o.forEach(function(e){return e()})})}(e)));for(var C,k=function(e){var t=e.doc,r=e.mirror,n=e.blockClass,o=e.blockSelector,i=e.selectionCb,a=!0,s=Sb(function(){var e=t.getSelection();if(!(!e||a&&(null==e?void 0:e.isCollapsed))){a=e.isCollapsed||!1;for(var s=[],l=e.rangeCount||0,c=0;c<l;c++){var u=e.getRangeAt(c),d=u.startContainer,p=u.startOffset,h=u.endContainer,f=u.endOffset;Qg(d,n,o,!0)||Qg(h,n,o,!0)||s.push({start:r.getId(d),startOffset:p,end:r.getId(h),endOffset:f})}i({ranges:s})}});return s(),Hg("selectionchange",s)}(e),S=function(e){var t=e.doc,r=e.customElementCb,n=t.defaultView;return n&&n.customElements?Zg(n.customElements,"define",function(e){return function(t,n,o){try{r({define:{name:t}})}catch(e){console.warn("Custom element callback failed for "+t)}return e.apply(this,[t,n,o])}}):function(){}}(e),A=[],j=al(e.plugins);!(C=j()).done;){var R=C.value;A.push(R.observer(R.callback,n,R.options))}return Sb(function(){Ab.forEach(function(e){return e.reset()}),null==r||r.disconnect(),h(),f(),m(),g(),b(),y(),v(),x(),w(),_(),k(),S(),A.forEach(function(e){return e()})})}function zb(e){return void 0!==window[e]}function Nb(e){return Boolean(void 0!==window[e]&&window[e].prototype&&"insertRule"in window[e].prototype&&"deleteRule"in window[e].prototype)}for(var Fb=function(){function e(e){dl(this,"iframeIdToRemoteIdMap",new WeakMap),dl(this,"iframeRemoteIdToIdMap",new WeakMap),this.generateIdFn=e}var t=e.prototype;return t.getId=function(e,t,r,n){var o=r||this.getIdToRemoteIdMap(e),i=n||this.getRemoteIdToIdMap(e),a=o.get(t);return a||(a=this.generateIdFn(),o.set(t,a),i.set(a,t)),a},t.getIds=function(e,t){var r=this,n=this.getIdToRemoteIdMap(e),o=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getId(e,t,n,o)})},t.getRemoteId=function(e,t,r){var n=r||this.getRemoteIdToIdMap(e);return"number"!=typeof t?t:n.get(t)||-1},t.getRemoteIds=function(e,t){var r=this,n=this.getRemoteIdToIdMap(e);return t.map(function(t){return r.getRemoteId(e,t,n)})},t.reset=function(e){if(!e)return this.iframeIdToRemoteIdMap=new WeakMap,void(this.iframeRemoteIdToIdMap=new WeakMap);this.iframeIdToRemoteIdMap.delete(e),this.iframeRemoteIdToIdMap.delete(e)},t.getIdToRemoteIdMap=function(e){var t=this.iframeIdToRemoteIdMap.get(e);return t||(t=new Map,this.iframeIdToRemoteIdMap.set(e,t)),t},t.getRemoteIdToIdMap=function(e){var t=this.iframeRemoteIdToIdMap.get(e);return t||(t=new Map,this.iframeRemoteIdToIdMap.set(e,t)),t},e}(),Db=function(){function e(e){dl(this,"iframes",new WeakMap),dl(this,"crossOriginIframeMap",new WeakMap),dl(this,"crossOriginIframeMirror",new Fb(Gl)),dl(this,"crossOriginIframeStyleMirror"),dl(this,"crossOriginIframeRootIdMap",new WeakMap),dl(this,"mirror"),dl(this,"mutationCb"),dl(this,"wrappedEmit"),dl(this,"loadListener"),dl(this,"stylesheetManager"),dl(this,"recordCrossOriginIframes"),this.mutationCb=e.mutationCb,this.wrappedEmit=e.wrappedEmit,this.stylesheetManager=e.stylesheetManager,this.recordCrossOriginIframes=e.recordCrossOriginIframes,this.crossOriginIframeStyleMirror=new Fb(this.stylesheetManager.styleMirror.generateId.bind(this.stylesheetManager.styleMirror)),this.mirror=e.mirror,this.recordCrossOriginIframes&&window.addEventListener("message",this.handleMessage.bind(this))}var t=e.prototype;return t.addIframe=function(e){this.iframes.set(e,!0),e.contentWindow&&this.crossOriginIframeMap.set(e.contentWindow,e)},t.addLoadListener=function(e){this.loadListener=e},t.attachIframe=function(e,t){var r,n;this.mutationCb({adds:[{parentId:this.mirror.getId(e),nextId:null,node:t}],removes:[],texts:[],attributes:[],isAttachIframe:!0}),this.recordCrossOriginIframes&&(null==(r=e.contentWindow)||r.addEventListener("message",this.handleMessage.bind(this))),null==(n=this.loadListener)||n.call(this,e),e.contentDocument&&e.contentDocument.adoptedStyleSheets&&e.contentDocument.adoptedStyleSheets.length>0&&this.stylesheetManager.adoptStyleSheets(e.contentDocument.adoptedStyleSheets,this.mirror.getId(e.contentDocument))},t.handleMessage=function(e){var t=e;if("rrweb"===t.data.type&&t.origin===t.data.origin&&e.source){var r=this.crossOriginIframeMap.get(e.source);if(r){var n=this.transformCrossOriginEvent(r,t.data.event);n&&this.wrappedEmit(n,t.data.isCheckout)}}},t.transformCrossOriginEvent=function(e,t){var r,n=this;switch(t.type){case cb.FullSnapshot:this.crossOriginIframeMirror.reset(e),this.crossOriginIframeStyleMirror.reset(e),this.replaceIdOnNode(t.data.node,e);var o=t.data.node.id;return this.crossOriginIframeRootIdMap.set(e,o),this.patchRootIdOnNode(t.data.node,o),{timestamp:t.timestamp,type:cb.IncrementalSnapshot,data:{source:ub.Mutation,adds:[{parentId:this.mirror.getId(e),nextId:null,node:t.data.node}],removes:[],texts:[],attributes:[],isAttachIframe:!0}};case cb.Meta:case cb.Load:case cb.DomContentLoaded:return!1;case cb.Plugin:return t;case cb.Custom:return this.replaceIds(t.data.payload,e,["id","parentId","previousId","nextId"]),t;case cb.IncrementalSnapshot:switch(t.data.source){case ub.Mutation:return t.data.adds.forEach(function(t){n.replaceIds(t,e,["parentId","nextId","previousId"]),n.replaceIdOnNode(t.node,e);var r=n.crossOriginIframeRootIdMap.get(e);r&&n.patchRootIdOnNode(t.node,r)}),t.data.removes.forEach(function(t){n.replaceIds(t,e,["parentId","id"])}),t.data.attributes.forEach(function(t){n.replaceIds(t,e,["id"])}),t.data.texts.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case ub.Drag:case ub.TouchMove:case ub.MouseMove:return t.data.positions.forEach(function(t){n.replaceIds(t,e,["id"])}),t;case ub.ViewportResize:return!1;case ub.MediaInteraction:case ub.MouseInteraction:case ub.Scroll:case ub.CanvasMutation:case ub.Input:return this.replaceIds(t.data,e,["id"]),t;case ub.StyleSheetRule:case ub.StyleDeclaration:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleId"]),t;case ub.Font:return t;case ub.Selection:return t.data.ranges.forEach(function(t){n.replaceIds(t,e,["start","end"])}),t;case ub.AdoptedStyleSheet:return this.replaceIds(t.data,e,["id"]),this.replaceStyleIds(t.data,e,["styleIds"]),null==(r=t.data.styles)||r.forEach(function(t){n.replaceStyleIds(t,e,["styleId"])}),t}}return!1},t.replace=function(e,t,r,n){for(var o,i=al(n);!(o=i()).done;){var a=o.value;(Array.isArray(t[a])||"number"==typeof t[a])&&(Array.isArray(t[a])?t[a]=e.getIds(r,t[a]):t[a]=e.getId(r,t[a]))}return t},t.replaceIds=function(e,t,r){return this.replace(this.crossOriginIframeMirror,e,t,r)},t.replaceStyleIds=function(e,t,r){return this.replace(this.crossOriginIframeStyleMirror,e,t,r)},t.replaceIdOnNode=function(e,t){var r=this;this.replaceIds(e,t,["id","rootId"]),"childNodes"in e&&e.childNodes.forEach(function(e){r.replaceIdOnNode(e,t)})},t.patchRootIdOnNode=function(e,t){var r=this;e.type===mb.Document||e.rootId||(e.rootId=t),"childNodes"in e&&e.childNodes.forEach(function(e){r.patchRootIdOnNode(e,t)})},e}(),Bb=function(){function e(e){dl(this,"shadowDoms",new WeakSet),dl(this,"mutationCb"),dl(this,"scrollCb"),dl(this,"bypassOptions"),dl(this,"mirror"),dl(this,"restoreHandlers",[]),this.mutationCb=e.mutationCb,this.scrollCb=e.scrollCb,this.bypassOptions=e.bypassOptions,this.mirror=e.mirror,this.init()}var t=e.prototype;return t.init=function(){this.reset(),this.patchAttachShadow(Element,document)},t.addShadowRoot=function(e,t){var r=this;if(Il(e)&&!this.shadowDoms.has(e)){this.shadowDoms.add(e);var n=Rb(Js({},this.bypassOptions,{doc:t,mutationCb:this.mutationCb,mirror:this.mirror,shadowDomManager:this}),e);this.restoreHandlers.push(function(){return n.disconnect()}),this.restoreHandlers.push(Ib(Js({},this.bypassOptions,{scrollCb:this.scrollCb,doc:e,mirror:this.mirror}))),setTimeout(function(){e.adoptedStyleSheets&&e.adoptedStyleSheets.length>0&&r.bypassOptions.stylesheetManager.adoptStyleSheets(e.adoptedStyleSheets,r.mirror.getId(Bg(e))),r.restoreHandlers.push(Pb({mirror:r.mirror,stylesheetManager:r.bypassOptions.stylesheetManager},e))},0)}},t.observeAttachShadow=function(e){e.contentWindow&&e.contentDocument&&this.patchAttachShadow(e.contentWindow.Element,e.contentDocument)},t.patchAttachShadow=function(e,t){var r=this;this.restoreHandlers.push(Zg(e.prototype,"attachShadow",function(e){return function(n){var o=e.call(this,n),i=$g(this);return i&&lb(this)&&r.addShadowRoot(i,t),o}}))},t.reset=function(){this.restoreHandlers.forEach(function(e){try{e()}catch(e){}}),this.restoreHandlers=[],this.shadowDoms=new WeakSet},e}(),$b="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Hb="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wb=0;Wb<64;Wb++)Hb[$b.charCodeAt(Wb)]=Wb;var Vb=new Map,qb=function(e,t,r){if(e&&(Gb(e,t)||"object"===(void 0===e?"undefined":nl(e)))){var n=function(e,t){var r=Vb.get(e);return r||(r=new Map,Vb.set(e,r)),r.has(t)||r.set(t,[]),r.get(t)}(r,e.constructor.name),o=n.indexOf(e);return-1===o&&(o=n.length,n.push(e)),o}};function Ub(e,t,r){return el(e,Array)?e.map(function(e){return Ub(e,t,r)}):null===e?e:el(e,Float32Array)||el(e,Float64Array)||el(e,Int32Array)||el(e,Uint32Array)||el(e,Uint8Array)||el(e,Uint16Array)||el(e,Int16Array)||el(e,Int8Array)||el(e,Uint8ClampedArray)?{rr_type:e.constructor.name,args:[Object.values(e)]}:el(e,ArrayBuffer)?{rr_type:e.constructor.name,base64:function(e){var t,r=new Uint8Array(e),n=r.length,o="";for(t=0;t<n;t+=3)o+=$b[r[t]>>2],o+=$b[(3&r[t])<<4|r[t+1]>>4],o+=$b[(15&r[t+1])<<2|r[t+2]>>6],o+=$b[63&r[t+2]];return n%3==2?o=o.substring(0,o.length-1)+"=":n%3==1&&(o=o.substring(0,o.length-2)+"=="),o}(e)}:el(e,DataView)?{rr_type:e.constructor.name,args:[Ub(e.buffer,t,r),e.byteOffset,e.byteLength]}:el(e,HTMLImageElement)?{rr_type:e.constructor.name,src:e.src}:el(e,HTMLCanvasElement)?{rr_type:"HTMLImageElement",src:e.toDataURL()}:el(e,ImageData)?{rr_type:e.constructor.name,args:[Ub(e.data,t,r),e.width,e.height]}:Gb(e,t)||"object"===(void 0===e?"undefined":nl(e))?{rr_type:e.constructor.name,index:qb(e,t,r)}:e}var Zb=function(e,t,r){return e.map(function(e){return Ub(e,t,r)})},Gb=function(e,t){var r=["WebGLActiveInfo","WebGLBuffer","WebGLFramebuffer","WebGLProgram","WebGLRenderbuffer","WebGLShader","WebGLShaderPrecisionFormat","WebGLTexture","WebGLUniformLocation","WebGLVertexArrayObject","WebGLVertexArrayObjectOES"].filter(function(e){return"function"==typeof t[e]});return Boolean(r.find(function(r){return el(e,t[r])}))};function Kb(e,t,r,n){var o=[];try{var i=Zg(e.HTMLCanvasElement.prototype,"getContext",function(e){return function(o){for(var i=arguments.length,a=new Array(i>1?i-1:0),s=1;s<i;s++)a[s-1]=arguments[s];if(!Qg(this,t,r,!0)){var l=function(e){return"experimental-webgl"===e?"webgl":e}(o);if("__context"in this||(this.__context=l),n&&["webgl","webgl2"].includes(l))if(a[0]&&"object"===nl(a[0])){var c=a[0];c.preserveDrawingBuffer||(c.preserveDrawingBuffer=!0)}else a.splice(0,1,{preserveDrawingBuffer:!0})}return e.apply(this,[].concat([o],a))}});o.push(i)}catch(e){console.error("failed to patch HTMLCanvasElement.prototype.getContext")}return function(){o.forEach(function(e){return e()})}}function Xb(e,t,r,n,o,i){for(var a,s=function(){var s=a.value;if(["isContextLost","canvas","drawingBufferWidth","drawingBufferHeight"].includes(s))return"continue";try{if("function"!=typeof e[s])return"continue";var c=Zg(e,s,function(e){return function(){for(var a=arguments.length,l=new Array(a),c=0;c<a;c++)l[c]=arguments[c];var u=e.apply(this,l);if(qb(u,i,this),"tagName"in this.canvas&&!Qg(this.canvas,n,o,!0)){var d=Zb(l,i,this),p={type:t,property:s,args:d};r(this.canvas,p)}return u}});l.push(c)}catch(n){var u=Ug(e,s,{set:function(e){r(this.canvas,{type:t,property:s,args:[e],setter:!0})}});l.push(u)}},l=[],c=al(Object.getOwnPropertyNames(e));!(a=c()).done;)s();return l}var Jb="KGZ1bmN0aW9uKCkgewogICJ1c2Ugc3RyaWN0IjsKICB2YXIgY2hhcnMgPSAiQUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVphYmNkZWZnaGlqa2xtbm9wcXJzdHV2d3h5ejAxMjM0NTY3ODkrLyI7CiAgdmFyIGxvb2t1cCA9IHR5cGVvZiBVaW50OEFycmF5ID09PSAidW5kZWZpbmVkIiA/IFtdIDogbmV3IFVpbnQ4QXJyYXkoMjU2KTsKICBmb3IgKHZhciBpID0gMDsgaSA8IGNoYXJzLmxlbmd0aDsgaSsrKSB7CiAgICBsb29rdXBbY2hhcnMuY2hhckNvZGVBdChpKV0gPSBpOwogIH0KICB2YXIgZW5jb2RlID0gZnVuY3Rpb24oYXJyYXlidWZmZXIpIHsKICAgIHZhciBieXRlcyA9IG5ldyBVaW50OEFycmF5KGFycmF5YnVmZmVyKSwgaTIsIGxlbiA9IGJ5dGVzLmxlbmd0aCwgYmFzZTY0ID0gIiI7CiAgICBmb3IgKGkyID0gMDsgaTIgPCBsZW47IGkyICs9IDMpIHsKICAgICAgYmFzZTY0ICs9IGNoYXJzW2J5dGVzW2kyXSA+PiAyXTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMl0gJiAzKSA8PCA0IHwgYnl0ZXNbaTIgKyAxXSA+PiA0XTsKICAgICAgYmFzZTY0ICs9IGNoYXJzWyhieXRlc1tpMiArIDFdICYgMTUpIDw8IDIgfCBieXRlc1tpMiArIDJdID4+IDZdOwogICAgICBiYXNlNjQgKz0gY2hhcnNbYnl0ZXNbaTIgKyAyXSAmIDYzXTsKICAgIH0KICAgIGlmIChsZW4gJSAzID09PSAyKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDEpICsgIj0iOwogICAgfSBlbHNlIGlmIChsZW4gJSAzID09PSAxKSB7CiAgICAgIGJhc2U2NCA9IGJhc2U2NC5zdWJzdHJpbmcoMCwgYmFzZTY0Lmxlbmd0aCAtIDIpICsgIj09IjsKICAgIH0KICAgIHJldHVybiBiYXNlNjQ7CiAgfTsKICBjb25zdCBsYXN0QmxvYk1hcCA9IC8qIEBfX1BVUkVfXyAqLyBuZXcgTWFwKCk7CiAgY29uc3QgdHJhbnNwYXJlbnRCbG9iTWFwID0gLyogQF9fUFVSRV9fICovIG5ldyBNYXAoKTsKICBhc3luYyBmdW5jdGlvbiBnZXRUcmFuc3BhcmVudEJsb2JGb3Iod2lkdGgsIGhlaWdodCwgZGF0YVVSTE9wdGlvbnMpIHsKICAgIGNvbnN0IGlkID0gYCR7d2lkdGh9LSR7aGVpZ2h0fWA7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBpZiAodHJhbnNwYXJlbnRCbG9iTWFwLmhhcyhpZCkpIHJldHVybiB0cmFuc3BhcmVudEJsb2JNYXAuZ2V0KGlkKTsKICAgICAgY29uc3Qgb2Zmc2NyZWVuID0gbmV3IE9mZnNjcmVlbkNhbnZhcyh3aWR0aCwgaGVpZ2h0KTsKICAgICAgb2Zmc2NyZWVuLmdldENvbnRleHQoIjJkIik7CiAgICAgIGNvbnN0IGJsb2IgPSBhd2FpdCBvZmZzY3JlZW4uY29udmVydFRvQmxvYihkYXRhVVJMT3B0aW9ucyk7CiAgICAgIGNvbnN0IGFycmF5QnVmZmVyID0gYXdhaXQgYmxvYi5hcnJheUJ1ZmZlcigpOwogICAgICBjb25zdCBiYXNlNjQgPSBlbmNvZGUoYXJyYXlCdWZmZXIpOwogICAgICB0cmFuc3BhcmVudEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICByZXR1cm4gYmFzZTY0OwogICAgfSBlbHNlIHsKICAgICAgcmV0dXJuICIiOwogICAgfQogIH0KICBjb25zdCB3b3JrZXIgPSBzZWxmOwogIHdvcmtlci5vbm1lc3NhZ2UgPSBhc3luYyBmdW5jdGlvbihlKSB7CiAgICBpZiAoIk9mZnNjcmVlbkNhbnZhcyIgaW4gZ2xvYmFsVGhpcykgewogICAgICBjb25zdCB7IGlkLCBiaXRtYXAsIHdpZHRoLCBoZWlnaHQsIGRhdGFVUkxPcHRpb25zIH0gPSBlLmRhdGE7CiAgICAgIGNvbnN0IHRyYW5zcGFyZW50QmFzZTY0ID0gZ2V0VHJhbnNwYXJlbnRCbG9iRm9yKAogICAgICAgIHdpZHRoLAogICAgICAgIGhlaWdodCwKICAgICAgICBkYXRhVVJMT3B0aW9ucwogICAgICApOwogICAgICBjb25zdCBvZmZzY3JlZW4gPSBuZXcgT2Zmc2NyZWVuQ2FudmFzKHdpZHRoLCBoZWlnaHQpOwogICAgICBjb25zdCBjdHggPSBvZmZzY3JlZW4uZ2V0Q29udGV4dCgiMmQiKTsKICAgICAgY3R4LmRyYXdJbWFnZShiaXRtYXAsIDAsIDApOwogICAgICBiaXRtYXAuY2xvc2UoKTsKICAgICAgY29uc3QgYmxvYiA9IGF3YWl0IG9mZnNjcmVlbi5jb252ZXJ0VG9CbG9iKGRhdGFVUkxPcHRpb25zKTsKICAgICAgY29uc3QgdHlwZSA9IGJsb2IudHlwZTsKICAgICAgY29uc3QgYXJyYXlCdWZmZXIgPSBhd2FpdCBibG9iLmFycmF5QnVmZmVyKCk7CiAgICAgIGNvbnN0IGJhc2U2NCA9IGVuY29kZShhcnJheUJ1ZmZlcik7CiAgICAgIGlmICghbGFzdEJsb2JNYXAuaGFzKGlkKSAmJiBhd2FpdCB0cmFuc3BhcmVudEJhc2U2NCA9PT0gYmFzZTY0KSB7CiAgICAgICAgbGFzdEJsb2JNYXAuc2V0KGlkLCBiYXNlNjQpOwogICAgICAgIHJldHVybiB3b3JrZXIucG9zdE1lc3NhZ2UoeyBpZCB9KTsKICAgICAgfQogICAgICBpZiAobGFzdEJsb2JNYXAuZ2V0KGlkKSA9PT0gYmFzZTY0KSByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQgfSk7CiAgICAgIHdvcmtlci5wb3N0TWVzc2FnZSh7CiAgICAgICAgaWQsCiAgICAgICAgdHlwZSwKICAgICAgICBiYXNlNjQsCiAgICAgICAgd2lkdGgsCiAgICAgICAgaGVpZ2h0CiAgICAgIH0pOwogICAgICBsYXN0QmxvYk1hcC5zZXQoaWQsIGJhc2U2NCk7CiAgICB9IGVsc2UgewogICAgICByZXR1cm4gd29ya2VyLnBvc3RNZXNzYWdlKHsgaWQ6IGUuZGF0YS5pZCB9KTsKICAgIH0KICB9Owp9KSgpOwovLyMgc291cmNlTWFwcGluZ1VSTD1pbWFnZS1iaXRtYXAtZGF0YS11cmwtd29ya2VyLUlKcEM3Z19iLmpzLm1hcAo=",Yb="undefined"!=typeof window&&window.Blob&&new Blob([function(e){return Uint8Array.from(atob(e),function(e){return e.charCodeAt(0)})}(Jb)],{type:"text/javascript;charset=utf-8"});function Qb(e){var t;try{if(!(t=Yb&&(window.URL||window.webkitURL).createObjectURL(Yb)))throw"";var r=new Worker(t,{name:null==e?void 0:e.name});return r.addEventListener("error",function(){(window.URL||window.webkitURL).revokeObjectURL(t)}),r}catch(t){return new Worker("data:text/javascript;base64,"+Jb,{name:null==e?void 0:e.name})}finally{t&&(window.URL||window.webkitURL).revokeObjectURL(t)}}var ey,ty,ry,ny=function(){function e(e){var t=this;dl(this,"pendingCanvasMutations",new Map),dl(this,"rafStamps",{latestId:0,invokeId:null}),dl(this,"mirror"),dl(this,"mutationCb"),dl(this,"resetObservers"),dl(this,"frozen",!1),dl(this,"locked",!1),dl(this,"processMutation",function(e,r){!(t.rafStamps.invokeId&&t.rafStamps.latestId!==t.rafStamps.invokeId)&&t.rafStamps.invokeId||(t.rafStamps.invokeId=t.rafStamps.latestId),t.pendingCanvasMutations.has(e)||t.pendingCanvasMutations.set(e,[]),t.pendingCanvasMutations.get(e).push(r)});var r=e.sampling,n=void 0===r?"all":r,o=e.win,i=e.blockClass,a=e.blockSelector,s=e.recordCanvas,l=e.dataURLOptions;this.mutationCb=e.mutationCb,this.mirror=e.mirror,s&&"all"===n&&this.initCanvasMutationObserver(o,i,a),s&&"number"==typeof n&&this.initCanvasFPSObserver(n,o,i,a,{dataURLOptions:l})}var t=e.prototype;return t.reset=function(){this.pendingCanvasMutations.clear(),this.resetObservers&&this.resetObservers()},t.freeze=function(){this.frozen=!0},t.unfreeze=function(){this.frozen=!1},t.lock=function(){this.locked=!0},t.unlock=function(){this.locked=!1},t.initCanvasFPSObserver=function(e,t,r,n,o){var i=this,a=Kb(t,r,n,!0),s=new Map,l=new Qb;l.onmessage=function(e){var t=e.data.id;if(s.set(t,!1),"base64"in e.data){var r=e.data,n=r.base64,o=r.type,a=r.width,l=r.height;i.mutationCb({id:t,type:hb["2D"],commands:[{property:"clearRect",args:[0,0,a,l]},{property:"drawImage",args:[{rr_type:"ImageBitmap",args:[{rr_type:"Blob",data:[{rr_type:"ArrayBuffer",base64:n}],type:o}]},0,0]}]})}};var c,u=1e3/e,d=0,p=function(e){if(d&&e-d<u)c=requestAnimationFrame(p);else{d=e;var a,h=i;(a=[],t.document.querySelectorAll("canvas").forEach(function(e){Qg(e,r,n,!0)||a.push(e)}),a).forEach(Gs(function(e){var t,r,n,i;return sl(this,function(a){switch(a.label){case 0:return r=h.mirror.getId(e),s.get(r)||0===e.width||0===e.height?[2]:(s.set(r,!0),["webgl","webgl2"].includes(e.__context)&&(n=e.getContext(e.__context),!1===(null==(t=null==n?void 0:n.getContextAttributes())?void 0:t.preserveDrawingBuffer)&&n.clear(n.COLOR_BUFFER_BIT)),[4,createImageBitmap(e)]);case 1:return i=a.sent(),l.postMessage({id:r,bitmap:i,width:e.width,height:e.height,dataURLOptions:o.dataURLOptions},[i]),[2]}})})),c=requestAnimationFrame(p)}};c=requestAnimationFrame(p),this.resetObservers=function(){a(),cancelAnimationFrame(c)}},t.initCanvasMutationObserver=function(e,t,r){this.startRAFTimestamping(),this.startPendingCanvasMutationFlusher();var n=Kb(e,t,r,!1),o=function(e,t,r,n){for(var o,i=function(){var i=o.value;try{if("function"!=typeof t.CanvasRenderingContext2D.prototype[i])return"continue";var s=Zg(t.CanvasRenderingContext2D.prototype,i,function(o){return function(){for(var a=this,s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];return Qg(this.canvas,r,n,!0)||setTimeout(function(){var r=Zb(l,t,a);e(a.canvas,{type:hb["2D"],property:i,args:r})},0),o.apply(this,l)}});a.push(s)}catch(r){var l=Ug(t.CanvasRenderingContext2D.prototype,i,{set:function(t){e(this.canvas,{type:hb["2D"],property:i,args:[t],setter:!0})}});a.push(l)}},a=[],s=al(Object.getOwnPropertyNames(t.CanvasRenderingContext2D.prototype));!(o=s()).done;)i();return function(){a.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r),i=function(e,t,r,n){var o,i,a=[];return(o=a).push.apply(o,[].concat(Xb(t.WebGLRenderingContext.prototype,hb.WebGL,e,r,n,t))),void 0!==t.WebGL2RenderingContext&&(i=a).push.apply(i,[].concat(Xb(t.WebGL2RenderingContext.prototype,hb.WebGL2,e,r,n,t))),function(){a.forEach(function(e){return e()})}}(this.processMutation.bind(this),e,t,r);this.resetObservers=function(){n(),o(),i()}},t.startPendingCanvasMutationFlusher=function(){var e=this;requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.startRAFTimestamping=function(){var e=this,t=function(r){e.rafStamps.latestId=r,requestAnimationFrame(t)};requestAnimationFrame(t)},t.flushPendingCanvasMutations=function(){var e=this;this.pendingCanvasMutations.forEach(function(t,r){var n=e.mirror.getId(r);e.flushPendingCanvasMutationFor(r,n)}),requestAnimationFrame(function(){return e.flushPendingCanvasMutations()})},t.flushPendingCanvasMutationFor=function(e,t){if(!this.frozen&&!this.locked){var r=this.pendingCanvasMutations.get(e);if(r&&-1!==t){var n=r.map(function(e){return e.type,tl(e,["type"])}),o=r[0].type;this.mutationCb({id:t,type:o,commands:n}),this.pendingCanvasMutations.delete(e)}}},e}(),oy=function(){function e(e){dl(this,"trackedLinkElements",new WeakSet),dl(this,"mutationCb"),dl(this,"adoptedStyleSheetCb"),dl(this,"styleMirror",new ab),this.mutationCb=e.mutationCb,this.adoptedStyleSheetCb=e.adoptedStyleSheetCb}var t=e.prototype;return t.attachLinkElement=function(e,t){"_cssText"in t.attributes&&this.mutationCb({adds:[],removes:[],texts:[],attributes:[{id:t.id,attributes:t.attributes}]}),this.trackLinkElement(e)},t.trackLinkElement=function(e){this.trackedLinkElements.has(e)||(this.trackedLinkElements.add(e),this.trackStylesheetInLinkElement(e))},t.adoptStyleSheets=function(e,t){var r,n=function(){var e=o.value,t=void 0;r.styleMirror.has(e)?t=r.styleMirror.getId(e):(t=r.styleMirror.add(e),a.push({styleId:t,rules:Array.from(e.rules||CSSRule,function(t,r){return{rule:El(t,e.href),index:r}})})),i.styleIds.push(t)};if(0!==e.length){for(var o,i={id:t,styleIds:[]},a=[],s=al(e);!(o=s()).done;)r=this,n();a.length>0&&(i.styles=a),this.adoptedStyleSheetCb(i)}},t.reset=function(){this.styleMirror.reset(),this.trackedLinkElements=new WeakSet},t.trackStylesheetInLinkElement=function(e){},e}(),iy=function(){function e(){dl(this,"nodeMap",new WeakMap),dl(this,"active",!1)}var t=e.prototype;return t.inOtherBuffer=function(e,t){var r=this.nodeMap.get(e);return r&&Array.from(r).some(function(e){return e!==t})},t.add=function(e,t){var r=this;this.active||(this.active=!0,requestAnimationFrame(function(){r.nodeMap=new WeakMap,r.active=!1})),this.nodeMap.set(e,(this.nodeMap.get(e)||new Set).add(t))},t.destroy=function(){},e}(),ay=!1;try{if(2!==Array.from([1],function(e){return 2*e})[0]){var sy=document.createElement("iframe");document.body.appendChild(sy),Array.from=(null==(cl=sy.contentWindow)?void 0:cl.Array.from)||Array.from,document.body.removeChild(sy)}}catch(e){console.debug("Unable to override Array.from",e)}var ly,cy,uy=new Tl;function dy(e){void 0===e&&(e={});var t=e.emit,r=e.checkoutEveryNms,n=e.checkoutEveryNth,o=e.blockClass,i=void 0===o?"rr-block":o,a=e.blockSelector,s=void 0===a?null:a,l=e.ignoreClass,c=void 0===l?"rr-ignore":l,u=e.ignoreSelector,d=void 0===u?null:u,p=e.maskTextClass,h=void 0===p?"rr-mask":p,f=e.maskTextSelector,m=void 0===f?null:f,g=e.inlineStylesheet,b=void 0===g||g,y=e.maskAllInputs,v=e.maskInputOptions,x=e.slimDOMOptions,w=e.maskInputFn,_=e.maskTextFn,C=e.hooks,k=e.packFn,S=e.sampling,A=void 0===S?{}:S,j=e.dataURLOptions,R=void 0===j?{}:j,I=e.mousemoveWait,M=e.recordDOM,E=void 0===M||M,T=e.recordCanvas,O=void 0!==T&&T,P=e.recordCrossOriginIframes,L=void 0!==P&&P,z=e.recordAfter,N=void 0===z?"DOMContentLoaded"===e.recordAfter?e.recordAfter:"load":z,F=e.userTriggeredOnInput,D=void 0!==F&&F,B=e.collectFonts,$=void 0!==B&&B,H=e.inlineImages,W=void 0!==H&&H,V=e.plugins,q=e.keepIframeSrcFn,U=void 0===q?function(){return!1}:q,Z=e.ignoreCSSAttributes,G=void 0===Z?new Set([]):Z,K=e.errorHandler;bb=K;var X=!L||window.parent===window,J=!1;if(!X)try{window.parent.document&&(J=!1)}catch(e){J=!0}if(X&&!t)throw new Error("emit function is required");if(!X&&!J)return function(){};void 0!==I&&void 0===A.mousemove&&(A.mousemove=I),uy.reset();var Y,Q=!0===y?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:void 0!==v?v:{password:!0},ee=!0===x||"all"===x?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaVerification:!0,headMetaAuthorship:"all"===x,headMetaDescKeywords:"all"===x,headTitleMutations:"all"===x}:x||{};!function(e){void 0===e&&(e=window),"NodeList"in e&&!e.NodeList.prototype.forEach&&(e.NodeList.prototype.forEach=Array.prototype.forEach),"DOMTokenList"in e&&!e.DOMTokenList.prototype.forEach&&(e.DOMTokenList.prototype.forEach=Array.prototype.forEach)}();var te=0,re=function(e){for(var t,r=al(V||[]);!(t=r()).done;){var n=t.value;n.eventProcessor&&(e=n.eventProcessor(e))}return k&&!J&&(e=k(e)),e};ey=function(e,o){var i,a=e;if(a.timestamp=Gg(),!(null==(i=Ab[0])?void 0:i.isFrozen())||a.type===cb.FullSnapshot||a.type===cb.IncrementalSnapshot&&a.data.source===ub.Mutation||Ab.forEach(function(e){return e.unfreeze()}),X)null==t||t(re(a),o);else if(J){var s={type:"rrweb",event:re(a),origin:window.location.origin,isCheckout:o};window.parent.postMessage(s,"*")}if(a.type===cb.FullSnapshot)Y=a,te=0;else if(a.type===cb.IncrementalSnapshot){if(a.data.source===ub.Mutation&&a.data.isAttachIframe)return;te++;var l=n&&te>=n,c=r&&a.timestamp-Y.timestamp>r;(l||c)&&ty(!0)}};for(var ne,oe=function(e){ey({type:cb.IncrementalSnapshot,data:Js({source:ub.Mutation},e)})},ie=function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.Scroll},e)})},ae=function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.CanvasMutation},e)})},se=new oy({mutationCb:oe,adoptedStyleSheetCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.AdoptedStyleSheet},e)})}}),le=new Db({mirror:uy,mutationCb:oe,stylesheetManager:se,recordCrossOriginIframes:L,wrappedEmit:ey}),ce=al(V||[]);!(ne=ce()).done;){var ue=ne.value;ue.getMirror&&ue.getMirror({nodeMirror:uy,crossOriginIframeMirror:le.crossOriginIframeMirror,crossOriginIframeStyleMirror:le.crossOriginIframeStyleMirror})}var de=new iy;ry=new ny({recordCanvas:O,mutationCb:ae,win:window,blockClass:i,blockSelector:s,mirror:uy,sampling:A.canvas,dataURLOptions:R});var pe=new Bb({mutationCb:oe,scrollCb:ie,bypassOptions:{blockClass:i,blockSelector:s,maskTextClass:h,maskTextSelector:m,inlineStylesheet:b,maskInputOptions:Q,dataURLOptions:R,maskTextFn:_,maskInputFn:w,recordCanvas:O,inlineImages:W,sampling:A,slimDOMOptions:ee,iframeManager:le,stylesheetManager:se,canvasManager:ry,keepIframeSrcFn:U,processedNodeManager:de},mirror:uy});ty=function(e){if(void 0===e&&(e=!1),E){ey({type:cb.Meta,data:{href:window.location.href,width:Jg(),height:Xg()}},e),se.reset(),pe.init(),Ab.forEach(function(e){return e.lock()});var t=function(e,t){var r=t||{},n=r.mirror,o=void 0===n?new Tl:n,i=r.blockClass,a=r.blockSelector,s=r.maskTextClass,l=r.maskTextSelector,c=r.inlineStylesheet,u=r.inlineImages,d=r.recordCanvas,p=r.maskAllInputs,h=void 0!==p&&p,f=r.slimDOM,m=void 0!==f&&f,g=r.keepIframeSrcFn;return ac(e,{doc:e,mirror:o,blockClass:void 0===i?"rr-block":i,blockSelector:void 0===a?null:a,maskTextClass:void 0===s?"rr-mask":s,maskTextSelector:void 0===l?null:l,skipChild:!1,inlineStylesheet:void 0===c||c,maskInputOptions:!0===h?{color:!0,date:!0,"datetime-local":!0,email:!0,month:!0,number:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0,textarea:!0,select:!0,password:!0}:!1===h?{password:!0}:h,maskTextFn:r.maskTextFn,maskInputFn:r.maskInputFn,slimDOMOptions:!0===m||"all"===m?{script:!0,comment:!0,headFavicon:!0,headWhitespace:!0,headMetaDescKeywords:"all"===m,headMetaSocial:!0,headMetaRobots:!0,headMetaHttpEquiv:!0,headMetaAuthorship:!0,headMetaVerification:!0}:!1===m?{}:m,dataURLOptions:r.dataURLOptions,inlineImages:void 0!==u&&u,recordCanvas:void 0!==d&&d,preserveWhiteSpace:r.preserveWhiteSpace,onSerialize:r.onSerialize,onIframeLoad:r.onIframeLoad,iframeLoadTimeout:r.iframeLoadTimeout,onStylesheetLoad:r.onStylesheetLoad,stylesheetLoadTimeout:r.stylesheetLoadTimeout,keepIframeSrcFn:void 0===g?function(){return!1}:g,newlyAddedElement:!1})}(document,{mirror:uy,blockClass:i,blockSelector:s,maskTextClass:h,maskTextSelector:m,inlineStylesheet:b,maskAllInputs:Q,maskTextFn:_,maskInputFn:w,slimDOM:ee,dataURLOptions:R,recordCanvas:O,inlineImages:W,onSerialize:function(e){nb(e,uy)&&le.addIframe(e),ob(e,uy)&&se.trackLinkElement(e),ib(e)&&pe.addShadowRoot($g(e),document)},onIframeLoad:function(e,t){le.attachIframe(e,t),pe.observeAttachShadow(e)},onStylesheetLoad:function(e,t){se.attachLinkElement(e,t)},keepIframeSrcFn:U});if(!t)return console.warn("Failed to snapshot the document");ey({type:cb.FullSnapshot,data:{node:t,initialOffset:Kg(window)}},e),Ab.forEach(function(e){return e.unlock()}),document.adoptedStyleSheets&&document.adoptedStyleSheets.length>0&&se.adoptStyleSheets(document.adoptedStyleSheets,uy.getId(document))}};try{var he=[],fe=function(e){var t;return Sb(Lb)({mutationCb:oe,mousemoveCb:function(e,t){return ey({type:cb.IncrementalSnapshot,data:{source:t,positions:e}})},mouseInteractionCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.MouseInteraction},e)})},scrollCb:ie,viewportResizeCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.ViewportResize},e)})},inputCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.Input},e)})},mediaInteractionCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.MediaInteraction},e)})},styleSheetRuleCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.StyleSheetRule},e)})},styleDeclarationCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.StyleDeclaration},e)})},canvasMutationCb:ae,fontCb:function(e){return ey({type:cb.IncrementalSnapshot,data:Js({source:ub.Font},e)})},selectionCb:function(e){ey({type:cb.IncrementalSnapshot,data:Js({source:ub.Selection},e)})},customElementCb:function(e){ey({type:cb.IncrementalSnapshot,data:Js({source:ub.CustomElement},e)})},blockClass:i,ignoreClass:c,ignoreSelector:d,maskTextClass:h,maskTextSelector:m,maskInputOptions:Q,inlineStylesheet:b,sampling:A,recordDOM:E,recordCanvas:O,inlineImages:W,userTriggeredOnInput:D,collectFonts:$,doc:e,maskInputFn:w,maskTextFn:_,keepIframeSrcFn:U,blockSelector:s,slimDOMOptions:ee,dataURLOptions:R,mirror:uy,iframeManager:le,stylesheetManager:se,shadowDomManager:pe,processedNodeManager:de,canvasManager:ry,ignoreCSSAttributes:G,plugins:(null==(t=null==V?void 0:V.filter(function(e){return e.observer}))?void 0:t.map(function(e){return{observer:e.observer,options:e.options,callback:function(t){return ey({type:cb.Plugin,data:{plugin:e.name,payload:t}})}}}))||[]},C)};le.addLoadListener(function(e){try{he.push(fe(e.contentDocument))}catch(e){console.warn(e)}});var me=function(){ty(),he.push(fe(document)),ay=!0};return"interactive"===document.readyState||"complete"===document.readyState?me():(he.push(Hg("DOMContentLoaded",function(){ey({type:cb.DomContentLoaded,data:{}}),"DOMContentLoaded"===N&&me()})),he.push(Hg("load",function(){ey({type:cb.Load,data:{}}),"load"===N&&me()},window))),function(){he.forEach(function(e){return e()}),de.destroy(),ay=!1,bb=void 0}}catch(e){console.warn(e)}}dy.addCustomEvent=function(e,t){if(!ay)throw new Error("please add custom event after start recording");ey({type:cb.Custom,data:{tag:e,payload:t}})},dy.freezePage=function(){Ab.forEach(function(e){return e.freeze()})},dy.takeFullSnapshot=function(e){if(!ay)throw new Error("please take full snapshot after start recording");ty(e)},dy.mirror=uy,(cy=ly||(ly={}))[cy.NotStarted=0]="NotStarted",cy[cy.Running=1]="Running",cy[cy.Stopped=2]="Stopped",dy.addCustomEvent,dy.freezePage,dy.takeFullSnapshot;var py,hy,fy,my=Vs.setImmediate,gy=Object.prototype.toString,by=void 0!==my?function(e){return my(e)}:setTimeout;try{Object.defineProperty({},"x",{}),py=function(e,t,r,n){return Object.defineProperty(e,t,{value:r,writable:!0,configurable:!1!==n})}}catch(e){py=function(e,t,r){return e[t]=r,e}}function yy(e,t){fy.add(e,t),hy||(hy=by(fy.drain))}function vy(e){var t,r=typeof e;return null===e||"object"!==r&&"function"!==r||(t=e.then),"function"==typeof t&&t}function xy(){for(var e=0;e<this.chain.length;e++)wy(this,1===this.state?this.chain[e].success:this.chain[e].failure,this.chain[e]);this.chain.length=0}function wy(e,t,r){var n,o;try{!1===t?r.reject(e.msg):(n=!0===t?e.msg:t.call(void 0,e.msg))===r.promise?r.reject(TypeError("Promise-chain cycle")):(o=vy(n))?o.call(n,r.resolve,r.reject):r.resolve(n)}catch(e){r.reject(e)}}function _y(e){var t,r=this;if(!r.triggered){r.triggered=!0,r.def&&(r=r.def);try{(t=vy(e))?yy(function(){var n=new Sy(r);try{t.call(e,function(){_y.apply(n,arguments)},function(){Cy.apply(n,arguments)})}catch(e){Cy.call(n,e)}}):(r.msg=e,r.state=1,r.chain.length>0&&yy(xy,r))}catch(e){Cy.call(new Sy(r),e)}}}function Cy(e){var t=this;t.triggered||(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&yy(xy,t))}function ky(e,t,r,n){for(var o=0;o<t.length;o++)(function(o){e.resolve(t[o]).then(function(e){r(o,e)},n)})(o)}function Sy(e){this.def=e,this.triggered=!1}function Ay(e){this.promise=e,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function jy(e){if("function"!=typeof e)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var t=new Ay(this);this.then=function(e,r){var n={success:"function"!=typeof e||e,failure:"function"==typeof r&&r};return n.promise=new this.constructor(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");n.resolve=e,n.reject=t}),t.chain.push(n),0!==t.state&&yy(xy,t),n.promise},this.catch=function(e){return this.then(void 0,e)};try{e.call(void 0,function(e){_y.call(t,e)},function(e){Cy.call(t,e)})}catch(e){Cy.call(t,e)}}fy=function(){var e,t,r;function n(e,t){this.fn=e,this.self=t,this.next=void 0}return{add:function(o,i){r=new n(o,i),t?t.next=r:e=r,t=r,r=void 0},drain:function(){var r=e;for(e=t=hy=void 0;r;)r.fn.call(r.self),r=r.next}}}();var Ry,Iy=py({},"constructor",jy,!1);jy.prototype=Iy,py(Iy,"__NPO__",0,!1),py(jy,"resolve",function(e){return e&&"object"==typeof e&&1===e.__NPO__?e:new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");t(e)})}),py(jy,"reject",function(e){return new this(function(t,r){if("function"!=typeof t||"function"!=typeof r)throw TypeError("Not a function");r(e)})}),py(jy,"all",function(e){var t=this;return"[object Array]"!==gy.call(e)?t.reject(TypeError("Not an array")):0===e.length?t.resolve([]):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");var o=e.length,i=Array(o),a=0;ky(t,e,function(e,t){i[e]=t,++a===o&&r(i)},n)})}),py(jy,"race",function(e){var t=this;return"[object Array]"!==gy.call(e)?t.reject(TypeError("Not an array")):new t(function(r,n){if("function"!=typeof r||"function"!=typeof n)throw TypeError("Not a function");ky(t,e,function(e,t){r(t)},n)})}),Ry="undefined"!=typeof Promise&&-1!==Promise.toString().indexOf("[native code]")?Promise:jy;var My={DEBUG:!1,LIB_VERSION:"2.67.0"},Ey=864e5,Ty=Array.prototype,Oy=Function.prototype,Py=Object.prototype,Ly=Ty.slice,zy=Py.toString,Ny=Py.hasOwnProperty,Fy=Vs.console,Dy=Vs.navigator,By=Vs.document,$y=Vs.opera,Hy=Vs.screen,Wy=Dy.userAgent,Vy=Oy.bind,qy=Ty.forEach,Uy=Ty.indexOf,Zy=Ty.map,Gy=Array.isArray,Ky={},Xy={trim:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}},Jy={log:function(){if(My.DEBUG&&!Xy.isUndefined(Fy)&&Fy)try{Fy.log.apply(Fy,arguments)}catch(e){Xy.each(arguments,function(e){Fy.log(e)})}},warn:function(){if(My.DEBUG&&!Xy.isUndefined(Fy)&&Fy){var e=["Mixpanel warning:"].concat(Xy.toArray(arguments));try{Fy.warn.apply(Fy,e)}catch(t){Xy.each(e,function(e){Fy.warn(e)})}}},error:function(){if(My.DEBUG&&!Xy.isUndefined(Fy)&&Fy){var e=["Mixpanel error:"].concat(Xy.toArray(arguments));try{Fy.error.apply(Fy,e)}catch(t){Xy.each(e,function(e){Fy.error(e)})}}},critical:function(){if(!Xy.isUndefined(Fy)&&Fy){var e=["Mixpanel error:"].concat(Xy.toArray(arguments));try{Fy.error.apply(Fy,e)}catch(t){Xy.each(e,function(e){Fy.error(e)})}}}},Yy=function(e,t){return function(){return arguments[0]="["+t+"] "+arguments[0],e.apply(Jy,arguments)}},Qy=function(e){return{log:Yy(Jy.log,e),error:Yy(Jy.error,e),critical:Yy(Jy.critical,e)}},ev=function(e){return function(){try{return e.apply(this,arguments)}catch(e){Jy.critical("Implementation error. Please turn on debug and contact support@mixpanel.com."),My.DEBUG&&Jy.critical(e)}}},tv=function(e){var t=e.prototype;for(var r in t)"function"==typeof t[r]&&(t[r]=ev(t[r]))};Xy.bind=function(e,t){var r,n;if(Vy&&e.bind===Vy)return Vy.apply(e,Ly.call(arguments,1));if(!Xy.isFunction(e))throw new TypeError;return r=Ly.call(arguments,2),n=function(){if(!(this instanceof n))return e.apply(t,r.concat(Ly.call(arguments)));var o={};o.prototype=e.prototype;var i=new o;o.prototype=null;var a=e.apply(i,r.concat(Ly.call(arguments)));return Object(a)===a?a:i},n},Xy.each=function(e,t,r){if(null!=e)if(qy&&e.forEach===qy)e.forEach(t,r);else if(e.length===+e.length){for(var n=0,o=e.length;n<o;n++)if(n in e&&t.call(r,e[n],n,e)===Ky)return}else for(var i in e)if(Ny.call(e,i)&&t.call(r,e[i],i,e)===Ky)return},Xy.extend=function(e){return Xy.each(Ly.call(arguments,1),function(t){for(var r in t)void 0!==t[r]&&(e[r]=t[r])}),e},Xy.isArray=Gy||function(e){return"[object Array]"===zy.call(e)},Xy.isFunction=function(e){try{return/^\s*\bfunction\b/.test(e)}catch(e){return!1}},Xy.isArguments=function(e){return!(!e||!Ny.call(e,"callee"))},Xy.toArray=function(e){return e?e.toArray?e.toArray():Xy.isArray(e)||Xy.isArguments(e)?Ly.call(e):Xy.values(e):[]},Xy.map=function(e,t,r){if(Zy&&e.map===Zy)return e.map(t,r);var n=[];return Xy.each(e,function(e){n.push(t.call(r,e))}),n},Xy.keys=function(e){var t=[];return null===e||Xy.each(e,function(e,r){t[t.length]=r}),t},Xy.values=function(e){var t=[];return null===e||Xy.each(e,function(e){t[t.length]=e}),t},Xy.include=function(e,t){var r=!1;return null===e?r:Uy&&e.indexOf===Uy?-1!=e.indexOf(t):(Xy.each(e,function(e){if(r||(r=e===t))return Ky}),r)},Xy.includes=function(e,t){return-1!==e.indexOf(t)},Xy.inherit=function(e,t){return e.prototype=new t,e.prototype.constructor=e,e.superclass=t.prototype,e},Xy.isObject=function(e){return e===Object(e)&&!Xy.isArray(e)},Xy.isEmptyObject=function(e){if(Xy.isObject(e)){for(var t in e)if(Ny.call(e,t))return!1;return!0}return!1},Xy.isUndefined=function(e){return void 0===e},Xy.isString=function(e){return"[object String]"==zy.call(e)},Xy.isDate=function(e){return"[object Date]"==zy.call(e)},Xy.isNumber=function(e){return"[object Number]"==zy.call(e)},Xy.isElement=function(e){return!(!e||1!==e.nodeType)},Xy.encodeDates=function(e){return Xy.each(e,function(t,r){Xy.isDate(t)?e[r]=Xy.formatDate(t):Xy.isObject(t)&&(e[r]=Xy.encodeDates(t))}),e},Xy.timestamp=function(){return Date.now=Date.now||function(){return+new Date},Date.now()},Xy.formatDate=function(e){function t(e){return e<10?"0"+e:e}return e.getUTCFullYear()+"-"+t(e.getUTCMonth()+1)+"-"+t(e.getUTCDate())+"T"+t(e.getUTCHours())+":"+t(e.getUTCMinutes())+":"+t(e.getUTCSeconds())},Xy.strip_empty_properties=function(e){var t={};return Xy.each(e,function(e,r){Xy.isString(e)&&e.length>0&&(t[r]=e)}),t},Xy.truncate=function(e,t){var r;return"string"==typeof e?r=e.slice(0,t):Xy.isArray(e)?(r=[],Xy.each(e,function(e){r.push(Xy.truncate(e,t))})):Xy.isObject(e)?(r={},Xy.each(e,function(e,n){r[n]=Xy.truncate(e,t)})):r=e,r},Xy.JSONEncode=function(e){var t=function(e){var t=/[\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,r={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};return t.lastIndex=0,t.test(e)?'"'+e.replace(t,function(e){var t=r[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'},r=function(e,n){var o="",i=0,a="",s="",l=0,c=o,u=[],d=n[e];switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(e)),typeof d){case"string":return t(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(o+=" ",u=[],"[object Array]"===zy.apply(d)){for(l=d.length,i=0;i<l;i+=1)u[i]=r(i,d)||"null";return s=0===u.length?"[]":o?"[\n"+o+u.join(",\n"+o)+"\n"+c+"]":"["+u.join(",")+"]",o=c,s}for(a in d)Ny.call(d,a)&&(s=r(a,d))&&u.push(t(a)+(o?": ":":")+s);return s=0===u.length?"{}":o?"{"+u.join(",")+c+"}":"{"+u.join(",")+"}",o=c,s}};return r("",{"":e})},Xy.JSONDecode=function(){var e,t,r,n,o={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},i=function(t){var n=new SyntaxError(t);throw n.at=e,n.text=r,n},a=function(n){return n&&n!==t&&i("Expected '"+n+"' instead of '"+t+"'"),t=r.charAt(e),e+=1,t},s=function(){var e,r="";for("-"===t&&(r="-",a("-"));t>="0"&&t<="9";)r+=t,a();if("."===t)for(r+=".";a()&&t>="0"&&t<="9";)r+=t;if("e"===t||"E"===t)for(r+=t,a(),"-"!==t&&"+"!==t||(r+=t,a());t>="0"&&t<="9";)r+=t,a();if(e=+r,isFinite(e))return e;i("Bad number")},l=function(){var e,r,n,s="";if('"'===t)for(;a();){if('"'===t)return a(),s;if("\\"===t)if(a(),"u"===t){for(n=0,r=0;r<4&&(e=parseInt(a(),16),isFinite(e));r+=1)n=16*n+e;s+=String.fromCharCode(n)}else{if("string"!=typeof o[t])break;s+=o[t]}else s+=t}i("Bad string")},c=function(){for(;t&&t<=" ";)a()};return n=function(){switch(c(),t){case"{":return function(){var e,r={};if("{"===t){if(a("{"),c(),"}"===t)return a("}"),r;for(;t;){if(e=l(),c(),a(":"),Object.hasOwnProperty.call(r,e)&&i('Duplicate key "'+e+'"'),r[e]=n(),c(),"}"===t)return a("}"),r;a(","),c()}}i("Bad object")}();case"[":return function(){var e=[];if("["===t){if(a("["),c(),"]"===t)return a("]"),e;for(;t;){if(e.push(n()),c(),"]"===t)return a("]"),e;a(","),c()}}i("Bad array")}();case'"':return l();case"-":return s();default:return t>="0"&&t<="9"?s():function(){switch(t){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}i('Unexpected "'+t+'"')}()}},function(o){var a;return r=o,e=0,t=" ",a=n(),c(),t&&i("Syntax error"),a}}(),Xy.base64Encode=function(e){var t,r,n,o,i,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",s=0,l=0,c="",u=[];if(!e)return e;e=Xy.utf8Encode(e);do{t=(i=e.charCodeAt(s++)<<16|e.charCodeAt(s++)<<8|e.charCodeAt(s++))>>18&63,r=i>>12&63,n=i>>6&63,o=63&i,u[l++]=a.charAt(t)+a.charAt(r)+a.charAt(n)+a.charAt(o)}while(s<e.length);switch(c=u.join(""),e.length%3){case 1:c=c.slice(0,-2)+"==";break;case 2:c=c.slice(0,-1)+"="}return c},Xy.utf8Encode=function(e){var t,r,n,o,i="";for(t=r=0,n=(e=(e+"").replace(/\r\n/g,"\n").replace(/\r/g,"\n")).length,o=0;o<n;o++){var a=e.charCodeAt(o),s=null;a<128?r++:s=a>127&&a<2048?String.fromCharCode(a>>6|192,63&a|128):String.fromCharCode(a>>12|224,a>>6&63|128,63&a|128),null!==s&&(r>t&&(i+=e.substring(t,r)),i+=s,t=r=o+1)}return r>t&&(i+=e.substring(t,e.length)),i},Xy.UUID=function(){try{return Vs.crypto.randomUUID()}catch(r){for(var e=new Array(36),t=0;t<36;t++)e[t]=Math.floor(16*Math.random());return e[14]=4,e[19]=e[19]&=-5,e[19]=e[19]|=8,e[8]=e[13]=e[18]=e[23]="-",Xy.map(e,function(e){return e.toString(16)}).join("")}};var rv=["ahrefsbot","ahrefssiteaudit","amazonbot","baiduspider","bingbot","bingpreview","chrome-lighthouse","facebookexternal","petalbot","pinterest","screaming frog","yahoo! slurp","yandex","adsbot-google","apis-google","duplexweb-google","feedfetcher-google","google favicon","google web preview","google-read-aloud","googlebot","googleweblight","mediapartners-google","storebot-google"];Xy.isBlockedUA=function(e){var t;for(e=e.toLowerCase(),t=0;t<rv.length;t++)if(-1!==e.indexOf(rv[t]))return!0;return!1},Xy.HTTPBuildQuery=function(e,t){var r,n,o=[];return Xy.isUndefined(t)&&(t="&"),Xy.each(e,function(e,t){r=encodeURIComponent(e.toString()),n=encodeURIComponent(t),o[o.length]=n+"="+r}),o.join(t)},Xy.getQueryParam=function(e,t){t=t.replace(/[[]/g,"\\[").replace(/[\]]/g,"\\]");var r=new RegExp("[\\?&]"+t+"=([^&#]*)").exec(e);if(null===r||r&&"string"!=typeof r[1]&&r[1].length)return"";var n=r[1];try{n=decodeURIComponent(n)}catch(e){Jy.error("Skipping decoding for malformed query param: "+n)}return n.replace(/\+/g," ")},Xy.cookie={get:function(e){for(var t=e+"=",r=By.cookie.split(";"),n=0;n<r.length;n++){for(var o=r[n];" "==o.charAt(0);)o=o.substring(1,o.length);if(0===o.indexOf(t))return decodeURIComponent(o.substring(t.length,o.length))}return null},parse:function(e){var t;try{t=Xy.JSONDecode(Xy.cookie.get(e))||{}}catch(e){}return t},set_seconds:function(e,t,r,n,o,i,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=fv(By.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+1e3*r),l="; expires="+d.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure"),By.cookie=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c},set:function(e,t,r,n,o,i,a){var s="",l="",c="";if(a)s="; domain="+a;else if(n){var u=fv(By.location.hostname);s=u?"; domain=."+u:""}if(r){var d=new Date;d.setTime(d.getTime()+24*r*60*60*1e3),l="; expires="+d.toGMTString()}i&&(o=!0,c="; SameSite=None"),o&&(c+="; secure");var p=e+"="+encodeURIComponent(t)+l+"; path=/"+s+c;return By.cookie=p,p},remove:function(e,t,r){Xy.cookie.set(e,"",-1,t,!1,!1,r)}};var nv=function(e){var t=!0;try{var r="__mplss_"+dv(8);e.setItem(r,"xyz"),"xyz"!==e.getItem(r)&&(t=!1),e.removeItem(r)}catch(e){t=!1}return t},ov=null,iv=function(e,t){return null===ov||t?ov=nv(e||Vs.localStorage):ov},av=null;function sv(e,t,r){var n=function(e){Jy.error(t+" error: "+e)};return{is_supported:function(n){var o=r(e,n);return o||Jy.error(t+" unsupported"),o},error:n,get:function(t){try{return e.getItem(t)}catch(e){n(e)}return null},parse:function(t){try{return Xy.JSONDecode(e.getItem(t))||{}}catch(e){}return null},set:function(t,r){try{e.setItem(t,r)}catch(e){n(e)}},remove:function(t){try{e.removeItem(t)}catch(e){n(e)}}}}Xy.localStorage=sv(Vs.localStorage,"localStorage",iv),Xy.sessionStorage=sv(Vs.sessionStorage,"sessionStorage",function(e,t){return null===av||t?av=nv(e||Vs.sessionStorage):av}),Xy.register_event=function(){function e(t){return t&&(t.preventDefault=e.preventDefault,t.stopPropagation=e.stopPropagation),t}return e.preventDefault=function(){this.returnValue=!1},e.stopPropagation=function(){this.cancelBubble=!0},function(t,r,n,o,i){if(t)if(t.addEventListener&&!o)t.addEventListener(r,n,!!i);else{var a="on"+r,s=t[a];t[a]=function(t,r,n){return function(o){if(o=o||e(Vs.event)){var i,a,s=!0;return Xy.isFunction(n)&&(i=n(o)),a=r.call(t,o),!1!==i&&!1!==a||(s=!1),s}}}(t,n,s)}else Jy.error("No valid element provided to register_event")}}();var lv=new RegExp('^(\\w*)\\[(\\w+)([=~\\|\\^\\$\\*]?)=?"?([^\\]"]*)"?\\]$');Xy.dom_query=function(){function e(e){return e.all?e.all:e.getElementsByTagName("*")}var t=/[\t\r\n]/g;function r(e,r){var n=" "+r+" ";return(" "+e.className+" ").replace(t," ").indexOf(n)>=0}function n(t){if(!By.getElementsByTagName)return[];var n,o,i,a,s,l,c,u,d,p,h=t.split(" "),f=[By];for(l=0;l<h.length;l++)if((n=h[l].replace(/^\s+/,"").replace(/\s+$/,"")).indexOf("#")>-1){i=(o=n.split("#"))[0];var m=o[1],g=By.getElementById(m);if(!g||i&&g.nodeName.toLowerCase()!=i)return[];f=[g]}else if(n.indexOf(".")>-1){i=(o=n.split("."))[0];var b=o[1];for(i||(i="*"),a=[],s=0,c=0;c<f.length;c++)for(d="*"==i?e(f[c]):f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];for(f=[],p=0,c=0;c<a.length;c++)a[c].className&&Xy.isString(a[c].className)&&r(a[c],b)&&(f[p++]=a[c])}else{var y=n.match(lv);if(y){i=y[1];var v,x=y[2],w=y[3],_=y[4];for(i||(i="*"),a=[],s=0,c=0;c<f.length;c++)for(d="*"==i?e(f[c]):f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];switch(f=[],p=0,w){case"=":v=function(e){return e.getAttribute(x)==_};break;case"~":v=function(e){return e.getAttribute(x).match(new RegExp("\\b"+_+"\\b"))};break;case"|":v=function(e){return e.getAttribute(x).match(new RegExp("^"+_+"-?"))};break;case"^":v=function(e){return 0===e.getAttribute(x).indexOf(_)};break;case"$":v=function(e){return e.getAttribute(x).lastIndexOf(_)==e.getAttribute(x).length-_.length};break;case"*":v=function(e){return e.getAttribute(x).indexOf(_)>-1};break;default:v=function(e){return e.getAttribute(x)}}for(f=[],p=0,c=0;c<a.length;c++)v(a[c])&&(f[p++]=a[c])}else{for(i=n,a=[],s=0,c=0;c<f.length;c++)for(d=f[c].getElementsByTagName(i),u=0;u<d.length;u++)a[s++]=d[u];f=a}}return f}return function(e){return Xy.isElement(e)?[e]:Xy.isObject(e)&&!Xy.isUndefined(e.length)?e:n.call(this,e)}}();var cv=["utm_source","utm_medium","utm_campaign","utm_content","utm_term","utm_id","utm_source_platform","utm_campaign_id","utm_creative_format","utm_marketing_tactic"],uv=["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"];Xy.info={campaignParams:function(e){var t="",r={};return Xy.each(cv,function(n){(t=Xy.getQueryParam(By.URL,n)).length?r[n]=t:void 0!==e&&(r[n]=e)}),r},clickParams:function(){var e="",t={};return Xy.each(uv,function(r){(e=Xy.getQueryParam(By.URL,r)).length&&(t[r]=e)}),t},marketingParams:function(){return Xy.extend(Xy.info.campaignParams(),Xy.info.clickParams())},searchEngine:function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?"google":0===e.search("https?://(.*)bing.com")?"bing":0===e.search("https?://(.*)yahoo.com")?"yahoo":0===e.search("https?://(.*)duckduckgo.com")?"duckduckgo":null},searchInfo:function(e){var t=Xy.info.searchEngine(e),r="yahoo"!=t?"q":"p",n={};if(null!==t){n.$search_engine=t;var o=Xy.getQueryParam(e,r);o.length&&(n.mp_keyword=o)}return n},browser:function(e,t,r){return t=t||"",r||Xy.includes(e," OPR/")?Xy.includes(e,"Mini")?"Opera Mini":"Opera":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":Xy.includes(e,"IEMobile")||Xy.includes(e,"WPDesktop")?"Internet Explorer Mobile":Xy.includes(e,"SamsungBrowser/")?"Samsung Internet":Xy.includes(e,"Edge")||Xy.includes(e,"Edg/")?"Microsoft Edge":Xy.includes(e,"FBIOS")?"Facebook Mobile":Xy.includes(e,"Whale/")?"Whale Browser":Xy.includes(e,"Chrome")?"Chrome":Xy.includes(e,"CriOS")?"Chrome iOS":Xy.includes(e,"UCWEB")||Xy.includes(e,"UCBrowser")?"UC Browser":Xy.includes(e,"FxiOS")?"Firefox iOS":Xy.includes(t,"Apple")?Xy.includes(e,"Mobile")?"Mobile Safari":"Safari":Xy.includes(e,"Android")?"Android Mobile":Xy.includes(e,"Konqueror")?"Konqueror":Xy.includes(e,"Firefox")?"Firefox":Xy.includes(e,"MSIE")||Xy.includes(e,"Trident/")?"Internet Explorer":Xy.includes(e,"Gecko")?"Mozilla":""},browserVersion:function(e,t,r){var n={"Internet Explorer Mobile":/rv:(\d+(\.\d+)?)/,"Microsoft Edge":/Edge?\/(\d+(\.\d+)?)/,Chrome:/Chrome\/(\d+(\.\d+)?)/,"Chrome iOS":/CriOS\/(\d+(\.\d+)?)/,"UC Browser":/(UCBrowser|UCWEB)\/(\d+(\.\d+)?)/,Safari:/Version\/(\d+(\.\d+)?)/,"Mobile Safari":/Version\/(\d+(\.\d+)?)/,Opera:/(Opera|OPR)\/(\d+(\.\d+)?)/,Firefox:/Firefox\/(\d+(\.\d+)?)/,"Firefox iOS":/FxiOS\/(\d+(\.\d+)?)/,Konqueror:/Konqueror:(\d+(\.\d+)?)/,BlackBerry:/BlackBerry (\d+(\.\d+)?)/,"Android Mobile":/android\s(\d+(\.\d+)?)/,"Samsung Internet":/SamsungBrowser\/(\d+(\.\d+)?)/,"Internet Explorer":/(rv:|MSIE )(\d+(\.\d+)?)/,Mozilla:/rv:(\d+(\.\d+)?)/,"Whale Browser":/Whale\/(\d+(\.\d+)?)/}[Xy.info.browser(e,t,r)];if(void 0===n)return null;var o=e.match(n);return o?parseFloat(o[o.length-2]):null},os:function(){var e=Wy;return/Windows/i.test(e)?/Phone/.test(e)||/WPDesktop/.test(e)?"Windows Phone":"Windows":/(iPhone|iPad|iPod)/.test(e)?"iOS":/Android/.test(e)?"Android":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Mac/i.test(e)?"Mac OS X":/Linux/.test(e)?"Linux":/CrOS/.test(e)?"Chrome OS":""},device:function(e){return/Windows Phone/i.test(e)||/WPDesktop/.test(e)?"Windows Phone":/iPad/.test(e)?"iPad":/iPod/.test(e)?"iPod Touch":/iPhone/.test(e)?"iPhone":/(BlackBerry|PlayBook|BB10)/i.test(e)?"BlackBerry":/Android/.test(e)?"Android":""},referringDomain:function(e){var t=e.split("/");return t.length>=3?t[2]:""},currentUrl:function(){return Vs.location.href},properties:function(e){return"object"!=typeof e&&(e={}),Xy.extend(Xy.strip_empty_properties({$os:Xy.info.os(),$browser:Xy.info.browser(Wy,Dy.vendor,$y),$referrer:By.referrer,$referring_domain:Xy.info.referringDomain(By.referrer),$device:Xy.info.device(Wy)}),{$current_url:Xy.info.currentUrl(),$browser_version:Xy.info.browserVersion(Wy,Dy.vendor,$y),$screen_height:Hy.height,$screen_width:Hy.width,mp_lib:"web",$lib_version:My.LIB_VERSION,$insert_id:dv(),time:Xy.timestamp()/1e3},Xy.strip_empty_properties(e))},people_properties:function(){return Xy.extend(Xy.strip_empty_properties({$os:Xy.info.os(),$browser:Xy.info.browser(Wy,Dy.vendor,$y)}),{$browser_version:Xy.info.browserVersion(Wy,Dy.vendor,$y)})},mpPageViewProperties:function(){return Xy.strip_empty_properties({current_page_title:By.title,current_domain:Vs.location.hostname,current_url_path:Vs.location.pathname,current_url_protocol:Vs.location.protocol,current_url_search:Vs.location.search})}};var dv=function(e){var t=Math.random().toString(36).substring(2,10)+Math.random().toString(36).substring(2,10);return e?t.substring(0,e):t},pv=/[a-z0-9][a-z0-9-]*\.[a-z]+$/i,hv=/[a-z0-9][a-z0-9-]+\.[a-z.]{2,6}$/i,fv=function(e){var t=hv,r=e.split("."),n=r[r.length-1];(n.length>4||"com"===n||"org"===n)&&(t=pv);var o=e.match(t);return o?o[0]:""},mv=function(){},gv=null,bv=null;"undefined"!=typeof JSON&&(gv=JSON.stringify,bv=JSON.parse),gv=gv||Xy.JSONEncode,bv=bv||Xy.JSONDecode,Xy.info=Xy.info,Xy.info.browser=Xy.info.browser,Xy.info.browserVersion=Xy.info.browserVersion,Xy.info.device=Xy.info.device,Xy.info.properties=Xy.info.properties,Xy.isBlockedUA=Xy.isBlockedUA,Xy.isEmptyObject=Xy.isEmptyObject,Xy.isObject=Xy.isObject,Xy.JSONDecode=Xy.JSONDecode,Xy.JSONEncode=Xy.JSONEncode,Xy.toArray=Xy.toArray,Xy.NPO=jy;var yv="mixpanelRecordingEvents",vv="mixpanelRecordingRegistry",xv=[yv,vv],wv=function(e){this.dbPromise=null,this.storeName=e};function _v(e,t){Ov(!0,e,t)}function Cv(e,t){Ov(!1,e,t)}function kv(e,t){return"1"===Tv(e,t)}function Sv(e,t){if(function(e){if(e&&e.ignoreDnt)return!1;var t=e&&e.window||Vs,r=t.navigator||{},n=!1;return Xy.each([r.doNotTrack,r.msDoNotTrack,t.doNotTrack],function(e){Xy.includes([!0,1,"1","yes"],e)&&(n=!0)}),n}(t))return Jy.warn('This browser has "Do Not Track" enabled. This will prevent the Mixpanel SDK from sending any data. To ignore the "Do Not Track" browser setting, initialize the Mixpanel instance with the config "ignore_dnt: true"'),!0;var r="0"===Tv(e,t);return r&&Jy.warn("You are opted out of Mixpanel tracking. This will prevent the Mixpanel SDK from sending any data."),r}function Av(e){return Pv(e,function(e){return this.get_config(e)})}function jv(e){return Pv(e,function(e){return this._get_config(e)})}function Rv(e){return Pv(e,function(e){return this._get_config(e)})}function Iv(e,t){Mv(t=t||{}).remove(Ev(e,t),!!t.crossSubdomainCookie,t.cookieDomain)}function Mv(e){return"localStorage"===(e=e||{}).persistenceType?Xy.localStorage:Xy.cookie}function Ev(e,t){return((t=t||{}).persistencePrefix||"__mp_opt_in_out_")+e}function Tv(e,t){return Mv(t).get(Ev(e,t))}function Ov(e,t,r){Xy.isString(t)&&t.length?(Mv(r=r||{}).set(Ev(t,r),e?1:0,Xy.isNumber(r.cookieExpiration)?r.cookieExpiration:null,!!r.crossSubdomainCookie,!!r.secureCookie,!!r.crossSiteCookie,r.cookieDomain),r.track&&e&&r.track(r.trackEventName||"$opt_in",r.trackProperties,{send_immediately:!0})):Jy.error("gdpr."+(e?"optIn":"optOut")+" called with an invalid token")}function Pv(e,t){return function(){var r=!1;try{var n=t.call(this,"token"),o=t.call(this,"ignore_dnt"),i=t.call(this,"opt_out_tracking_persistence_type"),a=t.call(this,"opt_out_tracking_cookie_prefix"),s=t.call(this,"window");n&&(r=Sv(n,{ignoreDnt:o,persistenceType:i,persistencePrefix:a,window:s}))}catch(e){Jy.error("Unexpected error when checking tracking opt-out status: "+e)}if(!r)return e.apply(this,arguments);var l=arguments[arguments.length-1];"function"==typeof l&&l(0)}}wv.prototype._openDb=function(){return new Ry(function(e,t){var r=Vs.indexedDB.open("mixpanelBrowserDb",1);r.onerror=function(){t(r.error)},r.onsuccess=function(){e(r.result)},r.onupgradeneeded=function(e){var t=e.target.result;xv.forEach(function(e){t.createObjectStore(e)})}})},wv.prototype.init=function(){return Vs.indexedDB?(this.dbPromise||(this.dbPromise=this._openDb()),this.dbPromise.then(function(e){return e instanceof Vs.IDBDatabase?Ry.resolve():Ry.reject(e)})):Ry.reject("indexedDB is not supported in this browser")},wv.prototype.makeTransaction=function(e,t){var r=this.storeName,n=function(n){return new Ry(function(o,i){var a=n.transaction(r,e);a.oncomplete=function(){o(a)},a.onabort=a.onerror=function(){i(a.error)},t(a.objectStore(r))})};return this.dbPromise.then(n).catch(function(e){return e&&"InvalidStateError"===e.name?(this.dbPromise=this._openDb(),this.dbPromise.then(n)):Ry.reject(e)}.bind(this))},wv.prototype.setItem=function(e,t){return this.makeTransaction("readwrite",function(r){r.put(t,e)})},wv.prototype.getItem=function(e){var t;return this.makeTransaction("readonly",function(r){t=r.get(e)}).then(function(){return t.result})},wv.prototype.removeItem=function(e){return this.makeTransaction("readwrite",function(t){t.delete(e)})},wv.prototype.getAll=function(){var e;return this.makeTransaction("readonly",function(t){e=t.getAll()}).then(function(){return e.result})};var Lv=Qy("lock"),zv=function(e,t){t=t||{},this.storageKey=e,this.storage=t.storage||Vs.localStorage,this.pollIntervalMS=t.pollIntervalMS||100,this.timeoutMS=t.timeoutMS||2e3,this.promiseImpl=t.promiseImpl||Ry};zv.prototype.withLock=function(e,t){return new(0,this.promiseImpl)(Xy.bind(function(r,n){var o=t||(new Date).getTime()+"|"+Math.random(),i=(new Date).getTime(),a=this.storageKey,s=this.pollIntervalMS,l=this.timeoutMS,c=this.storage,u=a+":X",d=a+":Y",p=a+":Z",h=function(e){if((new Date).getTime()-i>l)return Lv.error("Timeout waiting for mutex on "+a+"; clearing lock. ["+o+"]"),c.removeItem(p),c.removeItem(d),void g();setTimeout(function(){try{e()}catch(e){n(e)}},s*(Math.random()+.1))},f=function(e,t){e()?t():h(function(){f(e,t)})},m=function(){var e=c.getItem(d);return!(e&&e!==o||(c.setItem(d,o),c.getItem(d)!==o&&(iv(c,!0)||n(new Error("localStorage support dropped while acquiring lock")),1)))},g=function(){c.setItem(u,o),f(m,function(){c.getItem(u)!==o?h(function(){c.getItem(d)===o?f(function(){return!c.getItem(p)},b):g()}):b()})},b=function(){c.setItem(p,"1");var t=function(){c.removeItem(p),c.getItem(d)===o&&c.removeItem(d),c.getItem(u)===o&&c.removeItem(u)};e().then(function(e){t(),r(e)}).catch(function(e){t(),n(e)})};try{if(!iv(c,!0))throw new Error("localStorage support check failed");g()}catch(e){n(e)}},this))};var Nv=function(e){this.storage=e||Vs.localStorage};Nv.prototype.init=function(){return Ry.resolve()},Nv.prototype.setItem=function(e,t){return new Ry(Xy.bind(function(r,n){try{this.storage.setItem(e,gv(t))}catch(e){n(e)}r()},this))},Nv.prototype.getItem=function(e){return new Ry(Xy.bind(function(t,r){var n;try{n=bv(this.storage.getItem(e))}catch(e){r(e)}t(n)},this))},Nv.prototype.removeItem=function(e){return new Ry(Xy.bind(function(t,r){try{this.storage.removeItem(e)}catch(e){r(e)}t()},this))};var Fv=Qy("batch"),Dv=function(e,t){var r,n,o,i;t=t||{},this.storageKey=e,this.usePersistence=t.usePersistence,this.usePersistence&&(this.queueStorage=t.queueStorage||new Nv,this.lock=new zv(e,{storage:t.sharedLockStorage||Vs.localStorage,timeoutMS:t.sharedLockTimeoutMS})),this.reportError=t.errorReporter||Xy.bind(Fv.error,Fv),this.pid=t.pid||null,this.memQueue=[],this.initialized=!1,t.enqueueThrottleMs?this.enqueuePersisted=(r=Xy.bind(this._enqueuePersisted,this),n=t.enqueueThrottleMs,o=null,i=[],function(e){var t=this;return i.push(e),o||(o=new Ry(function(e){setTimeout(function(){var n=r.apply(t,[i]);o=null,i=[],e(n)},n)})),o}):this.enqueuePersisted=Xy.bind(function(e){return this._enqueuePersisted([e])},this)};Dv.prototype.ensureInit=function(){return this.initialized?Ry.resolve():this.queueStorage.init().then(Xy.bind(function(){this.initialized=!0},this)).catch(Xy.bind(function(e){this.reportError("Error initializing queue persistence. Disabling persistence",e),this.initialized=!0,this.usePersistence=!1},this))},Dv.prototype.enqueue=function(e,t){var r={id:dv(),flushAfter:(new Date).getTime()+2*t,payload:e};return this.usePersistence?this.enqueuePersisted(r):(this.memQueue.push(r),Ry.resolve(!0))},Dv.prototype._enqueuePersisted=function(e){var t=Xy.bind(function(){return this.ensureInit().then(Xy.bind(function(){return this.readFromStorage()},this)).then(Xy.bind(function(t){return this.saveToStorage(t.concat(e))},this)).then(Xy.bind(function(t){return t&&(this.memQueue=this.memQueue.concat(e)),t},this)).catch(Xy.bind(function(t){return this.reportError("Error enqueueing items",t,e),!1},this))},this);return this.lock.withLock(t,this.pid).catch(Xy.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this))},Dv.prototype.fillBatch=function(e){var t=this.memQueue.slice(0,e);return this.usePersistence&&t.length<e?this.ensureInit().then(Xy.bind(function(){return this.readFromStorage()},this)).then(Xy.bind(function(r){if(r.length){var n={};Xy.each(t,function(e){n[e.id]=!0});for(var o=0;o<r.length;o++){var i=r[o];if((new Date).getTime()>i.flushAfter&&!n[i.id]&&(i.orphaned=!0,t.push(i),t.length>=e))break}}return t},this)):Ry.resolve(t)};var Bv=function(e,t){var r=[];return Xy.each(e,function(e){e.id&&!t[e.id]&&r.push(e)}),r};Dv.prototype.removeItemsByID=function(e){var t={};if(Xy.each(e,function(e){t[e]=!0}),this.memQueue=Bv(this.memQueue,t),this.usePersistence){var r=Xy.bind(function(){return this.ensureInit().then(Xy.bind(function(){return this.readFromStorage()},this)).then(Xy.bind(function(e){return e=Bv(e,t),this.saveToStorage(e)},this)).then(Xy.bind(function(){return this.readFromStorage()},this)).then(Xy.bind(function(e){for(var r=0;r<e.length;r++){var n=e[r];if(n.id&&t[n.id])throw new Error("Item not removed from storage")}return!0},this)).catch(Xy.bind(function(t){return this.reportError("Error removing items",t,e),!1},this))},this);return this.lock.withLock(r,this.pid).catch(Xy.bind(function(e){return this.reportError("Error acquiring storage lock",e),!iv(this.lock.storage,!0)&&r().then(Xy.bind(function(e){return e||this.queueStorage.removeItem(this.storageKey).then(function(){return e})},this)).catch(Xy.bind(function(e){return this.reportError("Error clearing queue",e),!1},this))},this))}return Ry.resolve(!0)};var $v=function(e,t){var r=[];return Xy.each(e,function(e){var n=e.id;if(n in t){var o=t[n];null!==o&&(e.payload=o,r.push(e))}else r.push(e)}),r};Dv.prototype.updatePayloads=function(e){return this.memQueue=$v(this.memQueue,e),this.usePersistence?this.lock.withLock(Xy.bind(function(){return this.ensureInit().then(Xy.bind(function(){return this.readFromStorage()},this)).then(Xy.bind(function(t){return t=$v(t,e),this.saveToStorage(t)},this)).catch(Xy.bind(function(t){return this.reportError("Error updating items",e,t),!1},this))},this),this.pid).catch(Xy.bind(function(e){return this.reportError("Error acquiring storage lock",e),!1},this)):Ry.resolve(!0)},Dv.prototype.readFromStorage=function(){return this.ensureInit().then(Xy.bind(function(){return this.queueStorage.getItem(this.storageKey)},this)).then(Xy.bind(function(e){return e&&(Xy.isArray(e)||(this.reportError("Invalid storage entry:",e),e=null)),e||[]},this)).catch(Xy.bind(function(e){return this.reportError("Error retrieving queue",e),[]},this))},Dv.prototype.saveToStorage=function(e){return this.ensureInit().then(Xy.bind(function(){return this.queueStorage.setItem(this.storageKey,e)},this)).then(function(){return!0}).catch(Xy.bind(function(e){return this.reportError("Error saving queue",e),!1},this))},Dv.prototype.clear=function(){return this.memQueue=[],this.usePersistence?this.ensureInit().then(Xy.bind(function(){return this.queueStorage.removeItem(this.storageKey)},this)):Ry.resolve()};var Hv=Qy("batch"),Wv=function(e,t){this.errorReporter=t.errorReporter,this.queue=new Dv(e,{errorReporter:Xy.bind(this.reportError,this),queueStorage:t.queueStorage,sharedLockStorage:t.sharedLockStorage,sharedLockTimeoutMS:t.sharedLockTimeoutMS,usePersistence:t.usePersistence,enqueueThrottleMs:t.enqueueThrottleMs}),this.libConfig=t.libConfig,this.sendRequest=t.sendRequestFunc,this.beforeSendHook=t.beforeSendHook,this.stopAllBatching=t.stopAllBatchingFunc,this.batchSize=this.libConfig.batch_size,this.flushInterval=this.libConfig.batch_flush_interval_ms,this.stopped=!this.libConfig.batch_autostart,this.consecutiveRemovalFailures=0,this.itemIdsSentSuccessfully={},this.flushOnlyOnInterval=t.flushOnlyOnInterval||!1,this._flushPromise=null};Wv.prototype.enqueue=function(e){return this.queue.enqueue(e,this.flushInterval)},Wv.prototype.start=function(){return this.stopped=!1,this.consecutiveRemovalFailures=0,this.flush()},Wv.prototype.stop=function(){this.stopped=!0,this.timeoutID&&(clearTimeout(this.timeoutID),this.timeoutID=null)},Wv.prototype.clear=function(){return this.queue.clear()},Wv.prototype.resetBatchSize=function(){this.batchSize=this.libConfig.batch_size},Wv.prototype.resetFlush=function(){this.scheduleFlush(this.libConfig.batch_flush_interval_ms)},Wv.prototype.scheduleFlush=function(e){this.flushInterval=e,this.stopped||(this.timeoutID=setTimeout(Xy.bind(function(){this.stopped||(this._flushPromise=this.flush())},this),this.flushInterval))},Wv.prototype.sendRequestPromise=function(e,t){return new Ry(Xy.bind(function(r){this.sendRequest(e,t,r)},this))},Wv.prototype.flush=function(e){if(this.requestInProgress)return Hv.log("Flush: Request already in progress"),Ry.resolve();this.requestInProgress=!0,e=e||{};var t=this.libConfig.batch_request_timeout_ms,r=(new Date).getTime(),n=this.batchSize;return this.queue.fillBatch(n).then(Xy.bind(function(o){var i=o.length===n,a=[],s={};if(Xy.each(o,function(e){var t=e.payload;if(this.beforeSendHook&&!e.orphaned&&(t=this.beforeSendHook(t)),t){t.event&&t.properties&&(t.properties=Xy.extend({},t.properties,{mp_sent_by_lib_version:My.LIB_VERSION}));var r=!0,n=e.id;n?(this.itemIdsSentSuccessfully[n]||0)>5&&(this.reportError("[dupe] item ID sent too many times, not sending",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[n]}),r=!1):this.reportError("[dupe] found item with no ID",{item:e}),r&&a.push(t)}s[e.id]=t},this),a.length<1)return this.requestInProgress=!1,this.resetFlush(),Ry.resolve();var l=Xy.bind(function(){return this.queue.removeItemsByID(Xy.map(o,function(e){return e.id})).then(Xy.bind(function(e){return Xy.each(o,Xy.bind(function(e){var t=e.id;t?(this.itemIdsSentSuccessfully[t]=this.itemIdsSentSuccessfully[t]||0,this.itemIdsSentSuccessfully[t]++,this.itemIdsSentSuccessfully[t]>5&&this.reportError("[dupe] item ID sent too many times",{item:e,batchSize:o.length,timesSent:this.itemIdsSentSuccessfully[t]})):this.reportError("[dupe] found item with no ID while removing",{item:e})},this)),e?(this.consecutiveRemovalFailures=0,this.flushOnlyOnInterval&&!i?(this.resetFlush(),Ry.resolve()):this.flush()):(++this.consecutiveRemovalFailures>5?(this.reportError("Too many queue failures; disabling batching system."),this.stopAllBatching()):this.resetFlush(),Ry.resolve())},this))},this),c=Xy.bind(function(i){this.requestInProgress=!1;try{if(e.unloading)return this.queue.updatePayloads(s);if(Xy.isObject(i)&&"timeout"===i.error&&(new Date).getTime()-r>=t)return this.reportError("Network timeout; retrying"),this.flush();if(Xy.isObject(i)&&(i.httpStatusCode>=500||429===i.httpStatusCode||i.httpStatusCode<=0&&(u=Vs.navigator.onLine,!Xy.isUndefined(u)&&!u)||"timeout"===i.error)){var a=2*this.flushInterval;return i.retryAfter&&(a=1e3*parseInt(i.retryAfter,10)||a),a=Math.min(6e5,a),this.reportError("Error; retry in "+a+" ms"),this.scheduleFlush(a),Ry.resolve()}if(Xy.isObject(i)&&413===i.httpStatusCode){if(o.length>1){var c=Math.max(1,Math.floor(n/2));return this.batchSize=Math.min(this.batchSize,c,o.length-1),this.reportError("413 response; reducing batch size to "+this.batchSize),this.resetFlush(),Ry.resolve()}return this.reportError("Single-event request too large; dropping",o),this.resetBatchSize(),l()}return l()}catch(e){this.reportError("Error handling API response",e),this.resetFlush()}var u},this),u={method:"POST",verbose:!0,ignore_json_errors:!0,timeout_ms:t};return e.unloading&&(u.transport="sendBeacon"),Hv.log("MIXPANEL REQUEST:",a),this.sendRequestPromise(a,u).then(c)},this)).catch(Xy.bind(function(e){this.reportError("Error flushing request queue",e),this.resetFlush()},this))},Wv.prototype.reportError=function(e,t){if(Hv.error.apply(Hv.error,arguments),this.errorReporter)try{t instanceof Error||(t=new Error(e)),this.errorReporter(e,t)}catch(t){Hv.error(t)}};var Vv=function(e){var t=Date.now();return!e||t>e.maxExpires||t>e.idleExpires},qv=Qy("recorder"),Uv=Vs.CompressionStream,Zv={batch_size:1e3,batch_flush_interval_ms:1e4,batch_request_timeout_ms:9e4,batch_autostart:!0},Gv=new Set([ub.MouseMove,ub.MouseInteraction,ub.Scroll,ub.ViewportResize,ub.Input,ub.TouchMove,ub.MediaInteraction,ub.Drag,ub.Selection]),Kv=function(e){this._mixpanel=e.mixpanelInstance,this._onIdleTimeout=e.onIdleTimeout||mv,this._onMaxLengthReached=e.onMaxLengthReached||mv,this._onBatchSent=e.onBatchSent||mv,this._rrwebRecord=e.rrwebRecord||null,this._stopRecording=null,this.replayId=e.replayId,this.batchStartUrl=e.batchStartUrl||null,this.replayStartUrl=e.replayStartUrl||null,this.idleExpires=e.idleExpires||null,this.maxExpires=e.maxExpires||null,this.replayStartTime=e.replayStartTime||null,this.seqNo=e.seqNo||0,this.idleTimeoutId=null,this.maxTimeoutId=null,this.recordMaxMs=Ey,this.recordMinMs=0;var t=iv(e.sharedLockStorage,!0);this.batcherKey="__mprec_"+this.getConfig("name")+"_"+this.getConfig("token")+"_"+this.replayId,this.queueStorage=new wv(yv),this.batcher=new Wv(this.batcherKey,{errorReporter:this.reportError.bind(this),flushOnlyOnInterval:!0,libConfig:Zv,sendRequestFunc:this.flushEventsWithOptOut.bind(this),queueStorage:this.queueStorage,sharedLockStorage:e.sharedLockStorage,usePersistence:t,stopAllBatchingFunc:this.stopRecording.bind(this),enqueueThrottleMs:250,sharedLockTimeoutMS:1e4})};Kv.prototype.getUserIdInfo=function(){if(this.finalFlushUserIdInfo)return this.finalFlushUserIdInfo;var e={distinct_id:String(this._mixpanel.get_distinct_id())},t=this._mixpanel.get_property("$device_id");t&&(e.$device_id=t);var r=this._mixpanel.get_property("$user_id");return r&&(e.$user_id=r),e},Kv.prototype.unloadPersistedData=function(){return this.batcher.stop(),this.batcher.flush().then(function(){return this.queueStorage.removeItem(this.batcherKey)}.bind(this))},Kv.prototype.getConfig=function(e){return this._mixpanel.get_config(e)},Kv.prototype.get_config=function(e){return this.getConfig(e)},Kv.prototype.startRecording=function(e){if(null!==this._rrwebRecord)if(null===this._stopRecording){this.recordMaxMs=this.getConfig("record_max_ms"),this.recordMaxMs>Ey&&(this.recordMaxMs=Ey,qv.critical("record_max_ms cannot be greater than "+Ey+"ms. Capping value.")),this.maxExpires||(this.maxExpires=(new Date).getTime()+this.recordMaxMs),this.recordMinMs=this.getConfig("record_min_ms"),this.recordMinMs>8e3&&(this.recordMinMs=8e3,qv.critical("record_min_ms cannot be greater than 8000ms. Capping value.")),this.replayStartTime||(this.replayStartTime=(new Date).getTime(),this.batchStartUrl=Xy.info.currentUrl(),this.replayStartUrl=Xy.info.currentUrl()),e||this.recordMinMs>0?this.batcher.stop():this.batcher.start();var t=function(){clearTimeout(this.idleTimeoutId);var e=this.getConfig("record_idle_timeout_ms");this.idleTimeoutId=setTimeout(this._onIdleTimeout,e),this.idleExpires=(new Date).getTime()+e}.bind(this);t();var r=this.getConfig("record_block_selector");""!==r&&null!==r||(r=void 0);try{this._stopRecording=this._rrwebRecord({emit:function(e){this.idleExpires&&this.idleExpires<e.timestamp?this._onIdleTimeout():(function(e){return e.type===cb.IncrementalSnapshot&&Gv.has(e.data.source)}(e)&&(this.batcher.stopped&&(new Date).getTime()-this.replayStartTime>=this.recordMinMs&&this.batcher.start(),t()),this.__enqueuePromise=this.batcher.enqueue(e))}.bind(this),blockClass:this.getConfig("record_block_class"),blockSelector:r,collectFonts:this.getConfig("record_collect_fonts"),dataURLOptions:{type:"image/webp",quality:.6},maskAllInputs:!0,maskTextClass:this.getConfig("record_mask_text_class"),maskTextSelector:this.getConfig("record_mask_text_selector"),recordCanvas:this.getConfig("record_canvas"),sampling:{canvas:15}})}catch(e){this.reportError("Unexpected error when starting rrweb recording.",e)}if("function"!=typeof this._stopRecording)return this.reportError("rrweb failed to start, skipping this recording."),this._stopRecording=null,void this.stopRecording();var n=this.maxExpires-(new Date).getTime();this.maxTimeoutId=setTimeout(this._onMaxLengthReached.bind(this),n)}else qv.log("Recording already in progress, skipping startRecording.");else this.reportError("rrweb record function not provided. ")},Kv.prototype.stopRecording=function(e){if(this.finalFlushUserIdInfo=this.getUserIdInfo(),!this.isRrwebStopped()){try{this._stopRecording()}catch(e){this.reportError("Error with rrweb stopRecording",e)}this._stopRecording=null}var t;return this.batcher.stopped?t=this.batcher.clear():e||(t=this.batcher.flush()),this.batcher.stop(),clearTimeout(this.idleTimeoutId),clearTimeout(this.maxTimeoutId),t},Kv.prototype.isRrwebStopped=function(){return null===this._stopRecording},Kv.prototype.flushEventsWithOptOut=function(e,t,r){var n=function(e){0===e&&(this.stopRecording(),r({error:"Tracking has been opted out, stopping recording."}))}.bind(this);this._flushEvents(e,t,r,n)},Kv.prototype.serialize=function(){var e;try{e=this._mixpanel.get_tab_id()}catch(t){this.reportError("Error getting tab ID for serialization ",t),e=null}return{replayId:this.replayId,seqNo:this.seqNo,replayStartTime:this.replayStartTime,batchStartUrl:this.batchStartUrl,replayStartUrl:this.replayStartUrl,idleExpires:this.idleExpires,maxExpires:this.maxExpires,tabId:e}},Kv.deserialize=function(e,t){return new Kv(Xy.extend({},t,{replayId:e.replayId,batchStartUrl:e.batchStartUrl,replayStartUrl:e.replayStartUrl,idleExpires:e.idleExpires,maxExpires:e.maxExpires,replayStartTime:e.replayStartTime,seqNo:e.seqNo,sharedLockStorage:t.sharedLockStorage}))},Kv.prototype._sendRequest=function(e,t,r,n){var o=function(t,r){200===t.status&&this.replayId===e&&(this.seqNo++,this.batchStartUrl=Xy.info.currentUrl()),this._onBatchSent(),n({status:0,httpStatusCode:t.status,responseBody:r,retryAfter:t.headers.get("Retry-After")})}.bind(this),i=this._mixpanel.get_api_host&&this._mixpanel.get_api_host("record")||this.getConfig("api_host");Vs.fetch(i+"/"+this.getConfig("api_routes").record+"?"+new URLSearchParams(t),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getConfig("token")+":"),"Content-Type":"application/octet-stream"},body:r}).then(function(e){e.json().then(function(t){o(e,t)}).catch(function(e){n({error:e})})}).catch(function(e){n({error:e,httpStatusCode:0})})},Kv.prototype._flushEvents=Av(function(e,t,r){var n=e.length;if(n>0){for(var o=this.replayId,i=1/0,a=-1/0,s=!1,l=0;l<n;l++)i=Math.min(i,e[l].timestamp),a=Math.max(a,e[l].timestamp),e[l].type===cb.FullSnapshot&&(s=!0);if(0===this.seqNo){if(!s)return r({error:"First batch does not contain a full snapshot. Aborting recording."}),void this.stopRecording(!0);this.replayStartTime=i}else this.replayStartTime||(this.reportError("Replay start time not set but seqNo is not 0. Using current batch start time as a fallback."),this.replayStartTime=i);var c=a-this.replayStartTime,u={$current_url:this.batchStartUrl,$lib_version:My.LIB_VERSION,batch_start_time:i/1e3,mp_lib:"web",replay_id:o,replay_length_ms:c,replay_start_time:this.replayStartTime/1e3,replay_start_url:this.replayStartUrl,seq:this.seqNo},d=JSON.stringify(e);if(Object.assign(u,this.getUserIdInfo()),Uv){var p=new Blob([d],{type:"application/json"}).stream().pipeThrough(new Uv("gzip"));new Response(p).blob().then(function(e){u.format="gzip",this._sendRequest(o,u,e,r)}.bind(this))}else u.format="body",this._sendRequest(o,u,d,r)}}),Kv.prototype.reportError=function(e,t){qv.error.apply(qv.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.getConfig("error_reporter")(e,t)}catch(t){qv.error(t)}};var Xv=function(e){this.idb=new wv(vv),this.errorReporter=e.errorReporter,this.mixpanelInstance=e.mixpanelInstance,this.sharedLockStorage=e.sharedLockStorage};Xv.prototype.handleError=function(e){this.errorReporter("IndexedDB error: ",e)},Xv.prototype.setActiveRecording=function(e){var t=e.tabId;return t?this.idb.init().then(function(){return this.idb.setItem(t,e)}.bind(this)).catch(this.handleError.bind(this)):(console.warn("No tab ID is set, cannot persist recording metadata."),Ry.resolve())},Xv.prototype.getActiveRecording=function(){return this.idb.init().then(function(){return this.idb.getItem(this.mixpanelInstance.get_tab_id())}.bind(this)).then(function(e){return Vv(e)?null:e}.bind(this)).catch(this.handleError.bind(this))},Xv.prototype.clearActiveRecording=function(){return this.getActiveRecording().then(function(e){if(e)return e.maxExpires=0,this.setActiveRecording(e)}.bind(this)).catch(this.handleError.bind(this))},Xv.prototype.flushInactiveRecordings=function(){return this.idb.init().then(function(){return this.idb.getAll()}.bind(this)).then(function(e){var t=e.filter(function(e){return Vv(e)}).map(function(e){return Kv.deserialize(e,{mixpanelInstance:this.mixpanelInstance,sharedLockStorage:this.sharedLockStorage}).unloadPersistedData().then(function(){return this.idb.removeItem(e.tabId)}.bind(this)).catch(this.handleError.bind(this))}.bind(this));return Ry.all(t)}.bind(this)).catch(this.handleError.bind(this))};var Jv=Qy("recorder"),Yv=function(e,t,r){this.mixpanelInstance=e,this.rrwebRecord=t||dy,this.sharedLockStorage=r,this.recordingRegistry=new Xv({mixpanelInstance:this.mixpanelInstance,errorReporter:Jv.error,sharedLockStorage:r}),this._flushInactivePromise=this.recordingRegistry.flushInactiveRecordings(),this.activeRecording=null,this.stopRecordingInProgress=!1};Yv.prototype.startRecording=function(e){if(e=e||{},!this.activeRecording||this.activeRecording.isRrwebStopped()){var t=function(){Jv.log("Idle timeout reached, restarting recording."),this.resetRecording()}.bind(this),r=function(){Jv.log("Max recording length reached, stopping recording."),this.resetRecording()}.bind(this),n=function(){this.recordingRegistry.setActiveRecording(this.activeRecording.serialize()),this.__flushPromise=this.activeRecording.batcher._flushPromise}.bind(this),o={mixpanelInstance:this.mixpanelInstance,onBatchSent:n,onIdleTimeout:t,onMaxLengthReached:r,replayId:Xy.UUID(),rrwebRecord:this.rrwebRecord,sharedLockStorage:this.sharedLockStorage};return e.activeSerializedRecording?this.activeRecording=Kv.deserialize(e.activeSerializedRecording,o):this.activeRecording=new Kv(o),this.activeRecording.startRecording(e.shouldStopBatcher),this.recordingRegistry.setActiveRecording(this.activeRecording.serialize())}Jv.log("Recording already in progress, skipping startRecording.")},Yv.prototype.stopRecording=function(){return this.stopRecordingInProgress=!0,this._stopCurrentRecording(!1,!0).then(function(){return this.recordingRegistry.clearActiveRecording()}.bind(this)).then(function(){this.stopRecordingInProgress=!1}.bind(this))},Yv.prototype.pauseRecording=function(){return this._stopCurrentRecording(!1)},Yv.prototype._stopCurrentRecording=function(e,t){if(this.activeRecording){var r=this.activeRecording.stopRecording(e);return t&&(this.activeRecording=null),r}return Ry.resolve()},Yv.prototype.resumeRecording=function(e){return this.activeRecording&&this.activeRecording.isRrwebStopped()?(this.activeRecording.startRecording(!1),Ry.resolve(null)):this.recordingRegistry.getActiveRecording().then(function(t){return t&&!this.stopRecordingInProgress?this.startRecording({activeSerializedRecording:t}):e?this.startRecording({shouldStopBatcher:!1}):(Jv.log("No resumable recording found."),null)}.bind(this))},Yv.prototype.resetRecording=function(){this.stopRecording(),this.startRecording({shouldStopBatcher:!0})},Yv.prototype.getActiveReplayId=function(){return this.activeRecording&&!this.activeRecording.isRrwebStopped()?this.activeRecording.replayId:null},Object.defineProperty(Yv.prototype,"replayId",{get:function(){return this.getActiveReplayId()}}),Vs.__mp_recorder=Yv;var Qv="change",ex="click",tx="hashchange",rx="mp_locationchange",nx="popstate",ox="scrollend",ix="submit",ax=["clientX","clientY","offsetX","offsetY","pageX","pageY","screenX","screenY","x","y"],sx=["mp-include"],lx=["mp-no-track"],cx=lx.concat(["mp-sensitive"]),ux=["aria-label","aria-labelledby","aria-describedby","href","name","role","title","type"],dx=Qy("autocapture");function px(e){for(var t={},r=hx(e).split(" "),n=0;n<r.length;n++){var o=r[n];o&&(t[o]=!0)}return t}function hx(e){switch(typeof e.className){case"string":return e.className;case"object":return e.className.baseVal||e.getAttribute("class")||"";default:return""}}function fx(e){if(e.previousElementSibling)return e.previousElementSibling;do{e=e.previousSibling}while(e&&!vx(e));return e}function mx(e,t,r,n,o,i){var a={$classes:hx(e).split(" "),$tag_name:e.tagName.toLowerCase()},s=e.id;s&&(a.$id=s),Cx(e,t,o,i)&&Xy.each(ux.concat(n),function(t){if(e.hasAttribute(t)&&!r[t]){var n=e.getAttribute(t);kx(n)&&(a["$attr-"+t]=n)}});for(var l=1,c=1,u=e;u=fx(u);)l++,u.tagName===e.tagName&&c++;return a.$nth_child=l,a.$nth_of_type=c,a}function gx(e,t,r,n){var o="";return Cx(e,t,r,n)&&e.childNodes&&e.childNodes.length&&Xy.each(e.childNodes,function(e){wx(e)&&e.textContent&&(o+=Xy.trim(e.textContent).split(/(\s+)/).filter(kx).join("").replace(/[\r\n]/g," ").replace(/[ ]+/g," ").substring(0,255))}),Xy.trim(o)}function bx(e,t,r,n){if(r)try{if(!r(e,t))return!1}catch(e){return dx.critical("Error while checking element in allowElementCallback",e),!1}if(!n.length)return!0;for(var o=0;o<n.length;o++){var i=n[o];try{if(e.matches(i))return!0}catch(e){dx.critical("Error while checking selector: "+i,e)}}return!1}function yx(e,t,r,n){var o;if(r)try{if(r(e,t))return!0}catch(e){return dx.critical("Error while checking element in blockElementCallback",e),!0}if(n&&n.length)for(o=0;o<n.length;o++){var i=n[o];try{if(e.matches(i))return!0}catch(e){dx.critical("Error while checking selector: "+i,e)}}var a=px(e);for(o=0;o<lx.length;o++)if(a[lx[o]])return!0;return!1}function vx(e){return e&&1===e.nodeType}function xx(e,t){return e&&e.tagName&&e.tagName.toLowerCase()===t.toLowerCase()}function wx(e){return e&&3===e.nodeType}function Cx(e,t,r,n){var o;if(!bx(e,t,r,n))return!1;for(var i=e;i.parentNode&&!xx(i,"body");i=i.parentNode){var a=px(i);for(o=0;o<cx.length;o++)if(a[cx[o]])return!1}var s=px(e);for(o=0;o<sx.length;o++)if(s[sx[o]])return!0;if(xx(e,"input")||xx(e,"select")||xx(e,"textarea")||"true"===e.getAttribute("contenteditable"))return!1;var l=e.type||"";if("string"==typeof l)switch(l.toLowerCase()){case"hidden":case"password":return!1}var c=e.name||e.id||"";return"string"!=typeof c||!/^cc|cardnum|ccnum|creditcard|csc|cvc|cvv|exp|pass|pwd|routing|seccode|securitycode|securitynum|socialsec|socsec|ssn/i.test(c.replace(/[^a-zA-Z0-9]/g,""))}function kx(e){if(null===e||Xy.isUndefined(e))return!1;if("string"==typeof e){if(e=Xy.trim(e),/^(?:(4[0-9]{12}(?:[0-9]{3})?)|(5[1-5][0-9]{14})|(6(?:011|5[0-9]{2})[0-9]{12})|(3[47][0-9]{13})|(3(?:0[0-5]|[68][0-9])[0-9]{11})|((?:2131|1800|35[0-9]{3})[0-9]{11}))$/.test((e||"").replace(/[- ]/g,"")))return!1;if(/(^\d{3}-?\d{2}-?\d{4}$)/.test(e))return!1}return!0}var Sx="autocapture",Ax="full-url",jx="allow_selectors",Rx="allow_url_regexes",Ix="block_attrs",Mx="block_element_callback",Ex="block_selectors",Tx="block_url_regexes",Ox="capture_extra_attrs",Px="capture_text_content",Lx="scroll_capture_all",zx="scroll_depth_percent_checkpoints",Nx="click",Fx="input",Dx="pageview",Bx="scroll",$x="submit",Hx={};Hx[jx]=[],Hx[Rx]=[],Hx[Ix]=[],Hx[Mx]=null,Hx[Ex]=[],Hx[Tx]=[],Hx[Ox]=[],Hx[Px]=!1,Hx[Lx]=!1,Hx[zx]=[25,50,75,100],Hx[Nx]=!0,Hx[Fx]=!0,Hx[Dx]=Ax,Hx[Bx]=!0,Hx[$x]=!0;var Wx={$mp_autocapture:!0},Vx="$mp_click",qx=function(e){this.mp=e};qx.prototype.init=function(){!function(){try{return!!By.createElement("div").matches}catch(e){return!1}}()?dx.critical("Autocapture unavailable: missing required DOM APIs"):(this.initPageviewTracking(),this.initClickTracking(),this.initInputTracking(),this.initScrollTracking(),this.initSubmitTracking())},qx.prototype.getFullConfig=function(){var e=this.mp.get_config(Sx);return e?Xy.isObject(e)?Xy.extend({},Hx,e):Hx:{}},qx.prototype.getConfig=function(e){return this.getFullConfig()[e]},qx.prototype.currentUrlBlocked=function(){var e,t=Xy.info.currentUrl(),r=this.getConfig(Rx)||[];if(r.length){var n=!1;for(e=0;e<r.length;e++){var o=r[e];try{if(t.match(o)){n=!0;break}}catch(e){return dx.critical("Error while checking block URL regex: "+o,e),!0}}if(!n)return!0}var i=this.getConfig(Tx)||[];if(!i||!i.length)return!1;for(e=0;e<i.length;e++)try{if(t.match(i[e]))return!0}catch(t){return dx.critical("Error while checking block URL regex: "+i[e],t),!0}return!1},qx.prototype.pageviewTrackingConfig=function(){return this.mp.get_config(Sx)?this.getConfig(Dx):this.mp.get_config("track_pageview")},qx.prototype.trackDomEvent=function(e,t){if(!this.currentUrlBlocked()){var r=function(e,t){var r=t.allowElementCallback,n=t.allowSelectors||[],o=t.blockAttrs||[],i=t.blockElementCallback,a=t.blockSelectors||[],s=t.captureTextContent||!1,l=t.captureExtraAttrs||[],c=t.capturedForHeatMap||!1,u={};Xy.each(o,function(e){u[e]=!0});var d=null,p=void 0===e.target?e.srcElement:e.target;if(wx(p)&&(p=p.parentNode),function(e,t){if(!e||xx(e,"html")||!vx(e))return!1;switch(e.tagName.toLowerCase()){case"form":return t.type===ix;case"input":return-1===["button","submit"].indexOf(e.getAttribute("type"))?t.type===Qv:t.type===ex;case"select":case"textarea":return t.type===Qv;default:return t.type===ex}}(p,e)&&bx(p,e,r,n)&&!yx(p,e,i,a)){for(var h=[p],f=p;f.parentNode&&!xx(f,"body");)h.push(f.parentNode),f=f.parentNode;var m,g=[],b=!1;if(Xy.each(h,function(t){var o=Cx(t,e,r,n);u.href||"a"!==t.tagName.toLowerCase()||(m=t.getAttribute("href"),m=o&&kx(m)&&m),yx(t,e,i,a)&&(b=!0),g.push(mx(t,e,u,l,r,n))},this),!b){var y=By.documentElement;if(d={$event_type:e.type,$host:Vs.location.host,$pathname:Vs.location.pathname,$elements:g,$el_attr__href:m,$viewportHeight:Math.max(y.clientHeight,Vs.innerHeight||0),$viewportWidth:Math.max(y.clientWidth,Vs.innerWidth||0),$pageHeight:By.body.offsetHeight||0,$pageWidth:By.body.offsetWidth||0},Xy.each(l,function(e){if(!u[e]&&p.hasAttribute(e)){var t=p.getAttribute(e);kx(t)&&(d["$el_attr__"+e]=t)}}),s&&(v=gx(p,e,r,n))&&v.length&&(d.$el_text=v),e.type===ex&&(Xy.each(ax,function(t){t in e&&(d["$"+t]=e[t])}),c&&(d.$captured_for_heatmap=!0),p=function(e){for(var t=e.target,r=e.composedPath(),n=0;n<r.length;n++){var o=r[n];if(xx(o,"a")||xx(o,"button")||xx(o,"input")||xx(o,"select")||o.getAttribute&&"button"===o.getAttribute("role")){t=o;break}if(o===t)break}return t}(e)),s){var v=gx(p,e,r,n);v&&v.length&&(d.$el_text=v)}if(p){if(!bx(p,e,r,n)||yx(p,e,i,a))return null;var x=mx(p,e,u,l,r,n);d.$target=x,d.$el_classes=x.$classes,Xy.extend(d,Xy.strip_empty_properties({$el_id:x.$id,$el_tag_name:x.$tag_name}))}}}return d}(e,{allowElementCallback:this.getConfig("allow_element_callback"),allowSelectors:this.getConfig(jx),blockAttrs:this.getConfig(Ix),blockElementCallback:this.getConfig(Mx),blockSelectors:this.getConfig(Ex),captureExtraAttrs:this.getConfig(Ox),captureTextContent:this.getConfig(Px),capturedForHeatMap:t===Vx&&!this.getConfig(Nx)&&this.mp.is_recording_heatmap_data()});r&&(Xy.extend(r,Wx),this.mp.track(t,r))}},qx.prototype.initClickTracking=function(){Vs.removeEventListener(ex,this.listenerClick),(this.getConfig(Nx)||this.mp.get_config("record_heatmap_data"))&&(dx.log("Initializing click tracking"),this.listenerClick=Vs.addEventListener(ex,function(e){(this.getConfig(Nx)||this.mp.is_recording_heatmap_data())&&this.trackDomEvent(e,Vx)}.bind(this)))},qx.prototype.initInputTracking=function(){Vs.removeEventListener(Qv,this.listenerChange),this.getConfig(Fx)&&(dx.log("Initializing input tracking"),this.listenerChange=Vs.addEventListener(Qv,function(e){this.getConfig(Fx)&&this.trackDomEvent(e,"$mp_input_change")}.bind(this)))},qx.prototype.initPageviewTracking=function(){if(Vs.removeEventListener(nx,this.listenerPopstate),Vs.removeEventListener(tx,this.listenerHashchange),Vs.removeEventListener(rx,this.listenerLocationchange),this.pageviewTrackingConfig()){dx.log("Initializing pageview tracking");var e="",t=!1;this.currentUrlBlocked()||(t=this.mp.track_pageview(Wx)),t&&(e=Xy.info.currentUrl()),this.listenerPopstate=Vs.addEventListener(nx,function(){Vs.dispatchEvent(new Event(rx))}),this.listenerHashchange=Vs.addEventListener(tx,function(){Vs.dispatchEvent(new Event(rx))});var r=Vs.history.pushState;"function"==typeof r&&(Vs.history.pushState=function(e,t,n){r.call(Vs.history,e,t,n),Vs.dispatchEvent(new Event(rx))});var n=Vs.history.replaceState;"function"==typeof n&&(Vs.history.replaceState=function(e,t,r){n.call(Vs.history,e,t,r),Vs.dispatchEvent(new Event(rx))}),this.listenerLocationchange=Vs.addEventListener(rx,ev(function(){if(!this.currentUrlBlocked()){var t=Xy.info.currentUrl(),r=!1,n=t.split("#")[0].split("?")[0]!==e.split("#")[0].split("?")[0],o=this.pageviewTrackingConfig();o===Ax?r=t!==e:"url-with-path-and-query-string"===o?r=t.split("#")[0]!==e.split("#")[0]:"url-with-path"===o&&(r=n),r&&(this.mp.track_pageview(Wx)&&(e=t),n&&(this.lastScrollCheckpoint=0,dx.log("Path change: re-initializing scroll depth checkpoints")))}}.bind(this)))}},qx.prototype.initScrollTracking=function(){Vs.removeEventListener(ox,this.listenerScroll),this.getConfig(Bx)&&(dx.log("Initializing scroll tracking"),this.lastScrollCheckpoint=0,this.listenerScroll=Vs.addEventListener(ox,ev(function(){if(this.getConfig(Bx)&&!this.currentUrlBlocked()){var e=this.getConfig(Lx),t=(this.getConfig(zx)||[]).slice().sort(function(e,t){return e-t}),r=Vs.scrollY,n=Xy.extend({$scroll_top:r},Wx);try{var o=By.body.scrollHeight,i=Math.round(r/(o-Vs.innerHeight)*100);if(n.$scroll_height=o,n.$scroll_percentage=i,i>this.lastScrollCheckpoint)for(var a=0;a<t.length;a++){var s=t[a];i>=s&&this.lastScrollCheckpoint<s&&(n.$scroll_checkpoint=s,this.lastScrollCheckpoint=s,e=!0)}}catch(e){dx.critical("Error while calculating scroll percentage",e)}e&&this.mp.track("$mp_scroll",n)}}.bind(this))))},qx.prototype.initSubmitTracking=function(){Vs.removeEventListener(ix,this.listenerSubmit),this.getConfig($x)&&(dx.log("Initializing submit tracking"),this.listenerSubmit=Vs.addEventListener(ix,function(e){this.getConfig($x)&&this.trackDomEvent(e,"$mp_submit")}.bind(this)))},tv(qx);var Ux=Vs.fetch,Zx=Qy("flags"),Gx="flags",Kx="context",Xx={};Xx[Kx]={};var Jx=function(e){this.getFullApiRoute=e.getFullApiRoute,this.getMpConfig=e.getConfigFunc,this.getMpProperty=e.getPropertyFunc,this.track=e.trackingFunc};Jx.prototype.init=function(){Ux&&"undefined"!=typeof Promise&&"undefined"!=typeof Map&&"undefined"!=typeof Set?(this.flags=null,this.fetchFlags(),this.trackedFeatures=new Set):Zx.critical("Feature Flags unavailable: missing minimum required APIs")},Jx.prototype.getFullConfig=function(){var e=this.getMpConfig(Gx);return e?Xy.isObject(e)?Xy.extend({},Xx,e):Xx:{}},Jx.prototype.getConfig=function(e){return this.getFullConfig()[e]},Jx.prototype.isSystemEnabled=function(){return!!this.getMpConfig(Gx)},Jx.prototype.areFlagsReady=function(){return this.isSystemEnabled()||Zx.error("Feature Flags not enabled"),!!this.flags},Jx.prototype.fetchFlags=function(){if(this.isSystemEnabled()){var e=this.getMpProperty("distinct_id"),t=this.getMpProperty("$device_id");Zx.log("Fetching flags for distinct ID: "+e);var r={context:Xy.extend({distinct_id:e,device_id:t},this.getConfig(Kx))};this._fetchInProgressStartTime=Date.now(),this.fetchPromise=Vs.fetch(this.getFullApiRoute(),{method:"POST",headers:{Authorization:"Basic "+btoa(this.getMpConfig("token")+":"),"Content-Type":"application/octet-stream"},body:JSON.stringify(r)}).then(function(e){return this.markFetchComplete(),e.json().then(function(e){var t=e.flags;if(!t)throw new Error("No flags in API response");var r=new Map;Xy.each(t,function(e,t){r.set(t,{key:e.variant_key,value:e.variant_value})}),this.flags=r}.bind(this)).catch(function(e){this.markFetchComplete(),Zx.error(e)}.bind(this))}.bind(this)).catch(function(e){this.markFetchComplete(),Zx.error(e)}.bind(this))}},Jx.prototype.markFetchComplete=function(){this._fetchInProgressStartTime?(this._fetchStartTime=this._fetchInProgressStartTime,this._fetchCompleteTime=Date.now(),this._fetchLatency=this._fetchCompleteTime-this._fetchStartTime,this._fetchInProgressStartTime=null):Zx.error("Fetch in progress started time not set, cannot mark fetch complete")},Jx.prototype.getVariant=function(e,t){return this.fetchPromise?this.fetchPromise.then(function(){return this.getVariantSync(e,t)}.bind(this)).catch(function(e){return Zx.error(e),t}):new Promise(function(e){Zx.critical("Feature Flags not initialized"),e(t)})},Jx.prototype.getVariantSync=function(e,t){if(!this.areFlagsReady())return Zx.log("Flags not loaded yet"),t;var r=this.flags.get(e);return r?(this.trackFeatureCheck(e,r),r):(Zx.log('No flag found: "'+e+'"'),t)},Jx.prototype.getVariantValue=function(e,t){return this.getVariant(e,{value:t}).then(function(e){return e.value}).catch(function(e){return Zx.error(e),t})},Jx.prototype.getFeatureData=function(e,t){return Zx.critical("mixpanel.flags.get_feature_data() is deprecated and will be removed in a future release. Use mixpanel.flags.get_variant_value() instead."),this.getVariantValue(e,t)},Jx.prototype.getVariantValueSync=function(e,t){return this.getVariantSync(e,{value:t}).value},Jx.prototype.isEnabled=function(e,t){return this.getVariantValue(e).then(function(){return this.isEnabledSync(e,t)}.bind(this)).catch(function(e){return Zx.error(e),t})},Jx.prototype.isEnabledSync=function(e,t){t=t||!1;var r=this.getVariantValueSync(e,t);return!0!==r&&!1!==r&&(Zx.error('Feature flag "'+e+'" value: '+r+" is not a boolean; returning fallback value: "+t),r=t),r},Jx.prototype.trackFeatureCheck=function(e,t){this.trackedFeatures.has(e)||(this.trackedFeatures.add(e),this.track("$experiment_started",{"Experiment name":e,"Variant name":t.key,$experiment_type:"feature_flag","Variant fetch start time":new Date(this._fetchStartTime).toISOString(),"Variant fetch complete time":new Date(this._fetchCompleteTime).toISOString(),"Variant fetch latency (ms)":this._fetchLatency}))},tv(Jx),Jx.prototype.are_flags_ready=Jx.prototype.areFlagsReady,Jx.prototype.get_variant=Jx.prototype.getVariant,Jx.prototype.get_variant_sync=Jx.prototype.getVariantSync,Jx.prototype.get_variant_value=Jx.prototype.getVariantValue,Jx.prototype.get_variant_value_sync=Jx.prototype.getVariantValueSync,Jx.prototype.is_enabled=Jx.prototype.isEnabled,Jx.prototype.is_enabled_sync=Jx.prototype.isEnabledSync,Jx.prototype.get_feature_data=Jx.prototype.getFeatureData;var Yx=function(){};Yx.prototype.create_properties=function(){},Yx.prototype.event_handler=function(){},Yx.prototype.after_track_handler=function(){},Yx.prototype.init=function(e){return this.mp=e,this},Yx.prototype.track=function(e,t,r,n){var o=this,i=Xy.dom_query(e);if(0!==i.length)return Xy.each(i,function(e){Xy.register_event(e,this.override_event,function(e){var i={},a=o.create_properties(r,this),s=o.mp.get_config("track_links_timeout");o.event_handler(e,this,i),window.setTimeout(o.track_callback(n,a,i,!0),s),o.mp.track(t,a,o.track_callback(n,a,i))})},this),!0;Jy.error("The DOM query ("+e+") returned 0 elements")},Yx.prototype.track_callback=function(e,t,r,n){n=n||!1;var o=this;return function(){r.callback_fired||(r.callback_fired=!0,e&&!1===e(n,t)||o.after_track_handler(t,r,n))}},Yx.prototype.create_properties=function(e,t){return"function"==typeof e?e(t):Xy.extend({},e)};var Qx=function(){this.override_event="click"};Xy.inherit(Qx,Yx),Qx.prototype.create_properties=function(e,t){var r=Qx.superclass.create_properties.apply(this,arguments);return t.href&&(r.url=t.href),r},Qx.prototype.event_handler=function(e,t,r){r.new_tab=2===e.which||e.metaKey||e.ctrlKey||"_blank"===t.target,r.href=t.href,r.new_tab||e.preventDefault()},Qx.prototype.after_track_handler=function(e,t){t.new_tab||setTimeout(function(){window.location=t.href},0)};var ew=function(){this.override_event="submit"};Xy.inherit(ew,Yx),ew.prototype.event_handler=function(e,t,r){r.element=t,e.preventDefault()},ew.prototype.after_track_handler=function(e,t){setTimeout(function(){t.element.submit()},0)};var tw="$set",rw="$set_once",nw="$unset",ow="$add",iw="$append",aw="$union",sw="$remove",lw={set_action:function(e,t){var r={},n={};return Xy.isObject(e)?Xy.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[tw]=n,r},unset_action:function(e){var t={},r=[];return Xy.isArray(e)||(e=[e]),Xy.each(e,function(e){this._is_reserved_property(e)||r.push(e)},this),t[nw]=r,t},set_once_action:function(e,t){var r={},n={};return Xy.isObject(e)?Xy.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[rw]=n,r},union_action:function(e,t){var r={},n={};return Xy.isObject(e)?Xy.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=Xy.isArray(e)?e:[e])},this):n[e]=Xy.isArray(t)?t:[t],r[aw]=n,r},append_action:function(e,t){var r={},n={};return Xy.isObject(e)?Xy.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[iw]=n,r},remove_action:function(e,t){var r={},n={};return Xy.isObject(e)?Xy.each(e,function(e,t){this._is_reserved_property(t)||(n[t]=e)},this):n[e]=t,r[sw]=n,r},delete_action:function(){return{$delete:""}}},cw=function(){};Xy.extend(cw.prototype,lw),cw.prototype._init=function(e,t,r){this._mixpanel=e,this._group_key=t,this._group_id=r},cw.prototype.set=Rv(function(e,t,r){var n=this.set_action(e,t);return Xy.isObject(e)&&(r=t),this._send_request(n,r)}),cw.prototype.set_once=Rv(function(e,t,r){var n=this.set_once_action(e,t);return Xy.isObject(e)&&(r=t),this._send_request(n,r)}),cw.prototype.unset=Rv(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),cw.prototype.union=Rv(function(e,t,r){Xy.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),cw.prototype.delete=Rv(function(e){var t=this.delete_action();return this._send_request(t,e)}),cw.prototype.remove=Rv(function(e,t,r){var n=this.remove_action(e,t);return this._send_request(n,r)}),cw.prototype._send_request=function(e,t){e.$group_key=this._group_key,e.$group_id=this._group_id,e.$token=this._get_config("token");var r=Xy.encodeDates(e);return this._mixpanel._track_or_batch({type:"groups",data:r,endpoint:this._mixpanel.get_api_host("groups")+"/"+this._get_config("api_routes").groups,batcher:this._mixpanel.request_batchers.groups},t)},cw.prototype._is_reserved_property=function(e){return"$group_key"===e||"$group_id"===e},cw.prototype._get_config=function(e){return this._mixpanel.get_config(e)},cw.prototype.toString=function(){return this._mixpanel.toString()+".group."+this._group_key+"."+this._group_id},cw.prototype.remove=cw.prototype.remove,cw.prototype.set=cw.prototype.set,cw.prototype.set_once=cw.prototype.set_once,cw.prototype.union=cw.prototype.union,cw.prototype.unset=cw.prototype.unset,cw.prototype.toString=cw.prototype.toString;var uw=function(){};Xy.extend(uw.prototype,lw),uw.prototype._init=function(e){this._mixpanel=e},uw.prototype.set=jv(function(e,t,r){var n=this.set_action(e,t);return Xy.isObject(e)&&(r=t),this._get_config("save_referrer")&&this._mixpanel.persistence.update_referrer_info(document.referrer),n[tw]=Xy.extend({},Xy.info.people_properties(),n[tw]),this._send_request(n,r)}),uw.prototype.set_once=jv(function(e,t,r){var n=this.set_once_action(e,t);return Xy.isObject(e)&&(r=t),this._send_request(n,r)}),uw.prototype.unset=jv(function(e,t){var r=this.unset_action(e);return this._send_request(r,t)}),uw.prototype.increment=jv(function(e,t,r){var n={},o={};return Xy.isObject(e)?(Xy.each(e,function(e,t){if(!this._is_reserved_property(t)){if(isNaN(parseFloat(e)))return void Jy.error("Invalid increment value passed to mixpanel.people.increment - must be a number");o[t]=e}},this),r=t):(Xy.isUndefined(t)&&(t=1),o[e]=t),n[ow]=o,this._send_request(n,r)}),uw.prototype.append=jv(function(e,t,r){Xy.isObject(e)&&(r=t);var n=this.append_action(e,t);return this._send_request(n,r)}),uw.prototype.remove=jv(function(e,t,r){Xy.isObject(e)&&(r=t);var n=this.remove_action(e,t);return this._send_request(n,r)}),uw.prototype.union=jv(function(e,t,r){Xy.isObject(e)&&(r=t);var n=this.union_action(e,t);return this._send_request(n,r)}),uw.prototype.track_charge=jv(function(){Jy.error("mixpanel.people.track_charge() is deprecated and no longer has any effect.")}),uw.prototype.clear_charges=function(e){return this.set("$transactions",[],e)},uw.prototype.delete_user=function(){if(this._identify_called()){var e={$delete:this._mixpanel.get_distinct_id()};return this._send_request(e)}Jy.error("mixpanel.people.delete_user() requires you to call identify() first")},uw.prototype.toString=function(){return this._mixpanel.toString()+".people"},uw.prototype._send_request=function(e,t){e.$token=this._get_config("token"),e.$distinct_id=this._mixpanel.get_distinct_id();var r=this._mixpanel.get_property("$device_id"),n=this._mixpanel.get_property("$user_id"),o=this._mixpanel.get_property("$had_persisted_distinct_id");r&&(e.$device_id=r),n&&(e.$user_id=n),o&&(e.$had_persisted_distinct_id=o);var i=Xy.encodeDates(e);return this._identify_called()?this._mixpanel._track_or_batch({type:"people",data:i,endpoint:this._mixpanel.get_api_host("people")+"/"+this._get_config("api_routes").engage,batcher:this._mixpanel.request_batchers.people},t):(this._enqueue(e),Xy.isUndefined(t)||(this._get_config("verbose")?t({status:-1,error:null}):t(-1)),Xy.truncate(i,255))},uw.prototype._get_config=function(e){return this._mixpanel.get_config(e)},uw.prototype._identify_called=function(){return!0===this._mixpanel._flags.identify_called},uw.prototype._enqueue=function(e){tw in e?this._mixpanel.persistence._add_to_people_queue(tw,e):rw in e?this._mixpanel.persistence._add_to_people_queue(rw,e):nw in e?this._mixpanel.persistence._add_to_people_queue(nw,e):ow in e?this._mixpanel.persistence._add_to_people_queue(ow,e):iw in e?this._mixpanel.persistence._add_to_people_queue(iw,e):sw in e?this._mixpanel.persistence._add_to_people_queue(sw,e):aw in e?this._mixpanel.persistence._add_to_people_queue(aw,e):Jy.error("Invalid call to _enqueue():",e)},uw.prototype._flush_one_queue=function(e,t,r,n){var o=this,i=Xy.extend({},this._mixpanel.persistence.load_queue(e)),a=i;Xy.isUndefined(i)||!Xy.isObject(i)||Xy.isEmptyObject(i)||(o._mixpanel.persistence._pop_from_people_queue(e,i),o._mixpanel.persistence.save(),n&&(a=n(i)),t.call(o,a,function(t,n){0===t&&o._mixpanel.persistence._add_to_people_queue(e,i),Xy.isUndefined(r)||r(t,n)}))},uw.prototype._flush=function(e,t,r,n,o,i,a){var s=this;this._flush_one_queue(tw,this.set,e),this._flush_one_queue(rw,this.set_once,n),this._flush_one_queue(nw,this.unset,i,function(e){return Xy.keys(e)}),this._flush_one_queue(ow,this.increment,t),this._flush_one_queue(aw,this.union,o);var l=this._mixpanel.persistence.load_queue(iw);if(!Xy.isUndefined(l)&&Xy.isArray(l)&&l.length)for(var c,u=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(iw,c),Xy.isUndefined(r)||r(e,t)},d=l.length-1;d>=0;d--)l=this._mixpanel.persistence.load_queue(iw),c=l.pop(),s._mixpanel.persistence.save(),Xy.isEmptyObject(c)||s.append(c,u);var p=this._mixpanel.persistence.load_queue(sw);if(!Xy.isUndefined(p)&&Xy.isArray(p)&&p.length)for(var h,f=function(e,t){0===e&&s._mixpanel.persistence._add_to_people_queue(sw,h),Xy.isUndefined(a)||a(e,t)},m=p.length-1;m>=0;m--)p=this._mixpanel.persistence.load_queue(sw),h=p.pop(),s._mixpanel.persistence.save(),Xy.isEmptyObject(h)||s.remove(h,f)},uw.prototype._is_reserved_property=function(e){return"$distinct_id"===e||"$token"===e||"$device_id"===e||"$user_id"===e||"$had_persisted_distinct_id"===e},uw.prototype.set=uw.prototype.set,uw.prototype.set_once=uw.prototype.set_once,uw.prototype.unset=uw.prototype.unset,uw.prototype.increment=uw.prototype.increment,uw.prototype.append=uw.prototype.append,uw.prototype.remove=uw.prototype.remove,uw.prototype.union=uw.prototype.union,uw.prototype.track_charge=uw.prototype.track_charge,uw.prototype.clear_charges=uw.prototype.clear_charges,uw.prototype.delete_user=uw.prototype.delete_user,uw.prototype.toString=uw.prototype.toString;var dw,pw="__mps",hw="__mpso",fw="__mpus",mw="__mpa",gw="__mpap",bw="__mpr",yw="__mpu",vw="$people_distinct_id",xw="__alias",ww="__timers",_w=[pw,hw,fw,mw,gw,bw,yw,vw,xw,ww],Cw=function(e){this.props={},this.campaign_params_saved=!1,e.persistence_name?this.name="mp_"+e.persistence_name:this.name="mp_"+e.token+"_mixpanel";var t=e.persistence;"cookie"!==t&&"localStorage"!==t&&(Jy.critical("Unknown persistence type "+t+"; falling back to cookie"),t=e.persistence="cookie"),"localStorage"===t&&Xy.localStorage.is_supported()?this.storage=Xy.localStorage:this.storage=Xy.cookie,this.load(),this.update_config(e),this.upgrade(),this.save()};Cw.prototype.properties=function(){var e={};return this.load(),Xy.each(this.props,function(t,r){Xy.include(_w,r)||(e[r]=t)}),e},Cw.prototype.load=function(){if(!this.disabled){var e=this.storage.parse(this.name);e&&(this.props=Xy.extend({},e))}},Cw.prototype.upgrade=function(){var e,t;this.storage===Xy.localStorage?(e=Xy.cookie.parse(this.name),Xy.cookie.remove(this.name),Xy.cookie.remove(this.name,!0),e&&this.register_once(e)):this.storage===Xy.cookie&&(t=Xy.localStorage.parse(this.name),Xy.localStorage.remove(this.name),t&&this.register_once(t))},Cw.prototype.save=function(){this.disabled||this.storage.set(this.name,gv(this.props),this.expire_days,this.cross_subdomain,this.secure,this.cross_site,this.cookie_domain)},Cw.prototype.load_prop=function(e){return this.load(),this.props[e]},Cw.prototype.remove=function(){this.storage.remove(this.name,!1,this.cookie_domain),this.storage.remove(this.name,!0,this.cookie_domain)},Cw.prototype.clear=function(){this.remove(),this.props={}},Cw.prototype.register_once=function(e,t,r){return!!Xy.isObject(e)&&(void 0===t&&(t="None"),this.expire_days=void 0===r?this.default_expiry:r,this.load(),Xy.each(e,function(e,r){this.props.hasOwnProperty(r)&&this.props[r]!==t||(this.props[r]=e)},this),this.save(),!0)},Cw.prototype.register=function(e,t){return!!Xy.isObject(e)&&(this.expire_days=void 0===t?this.default_expiry:t,this.load(),Xy.extend(this.props,e),this.save(),!0)},Cw.prototype.unregister=function(e){this.load(),e in this.props&&(delete this.props[e],this.save())},Cw.prototype.update_search_keyword=function(e){this.register(Xy.info.searchInfo(e))},Cw.prototype.update_referrer_info=function(e){this.register_once({$initial_referrer:e||"$direct",$initial_referring_domain:Xy.info.referringDomain(e)||"$direct"},"")},Cw.prototype.get_referrer_info=function(){return Xy.strip_empty_properties({$initial_referrer:this.props.$initial_referrer,$initial_referring_domain:this.props.$initial_referring_domain})},Cw.prototype.update_config=function(e){this.default_expiry=this.expire_days=e.cookie_expiration,this.set_disabled(e.disable_persistence),this.set_cookie_domain(e.cookie_domain),this.set_cross_site(e.cross_site_cookie),this.set_cross_subdomain(e.cross_subdomain_cookie),this.set_secure(e.secure_cookie)},Cw.prototype.set_disabled=function(e){this.disabled=e,this.disabled?this.remove():this.save()},Cw.prototype.set_cookie_domain=function(e){e!==this.cookie_domain&&(this.remove(),this.cookie_domain=e,this.save())},Cw.prototype.set_cross_site=function(e){e!==this.cross_site&&(this.cross_site=e,this.remove(),this.save())},Cw.prototype.set_cross_subdomain=function(e){e!==this.cross_subdomain&&(this.cross_subdomain=e,this.remove(),this.save())},Cw.prototype.get_cross_subdomain=function(){return this.cross_subdomain},Cw.prototype.set_secure=function(e){e!==this.secure&&(this.secure=!!e,this.remove(),this.save())},Cw.prototype._add_to_people_queue=function(e,t){var r=this._get_queue_key(e),n=t[e],o=this._get_or_create_queue(tw),i=this._get_or_create_queue(rw),a=this._get_or_create_queue(nw),s=this._get_or_create_queue(ow),l=this._get_or_create_queue(aw),c=this._get_or_create_queue(sw,[]),u=this._get_or_create_queue(iw,[]);r===pw?(Xy.extend(o,n),this._pop_from_people_queue(ow,n),this._pop_from_people_queue(aw,n),this._pop_from_people_queue(nw,n)):r===hw?(Xy.each(n,function(e,t){t in i||(i[t]=e)}),this._pop_from_people_queue(nw,n)):r===fw?Xy.each(n,function(e){Xy.each([o,i,s,l],function(t){e in t&&delete t[e]}),Xy.each(u,function(t){e in t&&delete t[e]}),a[e]=!0}):r===mw?(Xy.each(n,function(e,t){t in o?o[t]+=e:(t in s||(s[t]=0),s[t]+=e)},this),this._pop_from_people_queue(nw,n)):r===yw?(Xy.each(n,function(e,t){Xy.isArray(e)&&(t in l||(l[t]=[]),Xy.each(e,function(e){Xy.include(l[t],e)||l[t].push(e)}))}),this._pop_from_people_queue(nw,n)):r===bw?(c.push(n),this._pop_from_people_queue(iw,n)):r===gw&&(u.push(n),this._pop_from_people_queue(nw,n)),Jy.log("MIXPANEL PEOPLE REQUEST (QUEUED, PENDING IDENTIFY):"),Jy.log(t),this.save()},Cw.prototype._pop_from_people_queue=function(e,t){var r=this.props[this._get_queue_key(e)];Xy.isUndefined(r)||Xy.each(t,function(t,n){e===iw||e===sw?Xy.each(r,function(e){e[n]===t&&delete e[n]}):delete r[n]},this)},Cw.prototype.load_queue=function(e){return this.load_prop(this._get_queue_key(e))},Cw.prototype._get_queue_key=function(e){return e===tw?pw:e===rw?hw:e===nw?fw:e===ow?mw:e===iw?gw:e===sw?bw:e===aw?yw:void Jy.error("Invalid queue:",e)},Cw.prototype._get_or_create_queue=function(e,t){var r=this._get_queue_key(e);return t=Xy.isUndefined(t)?{}:t,this.props[r]||(this.props[r]=t)},Cw.prototype.set_event_timer=function(e,t){var r=this.load_prop(ww)||{};r[e]=t,this.props[ww]=r,this.save()},Cw.prototype.remove_event_timer=function(e){var t=(this.load_prop(ww)||{})[e];return Xy.isUndefined(t)||(delete this.props[ww][e],this.save()),t};var kw,Sw=function(e,t){throw new Error(e+" not available in this build.")},Aw=function(e){return e},jw="mixpanel",Rw="base64",Iw="$device:",Mw=Vs.XMLHttpRequest&&"withCredentials"in new XMLHttpRequest,Ew=!Mw&&-1===Wy.indexOf("MSIE")&&-1===Wy.indexOf("Mozilla"),Tw=null;Dy.sendBeacon&&(Tw=function(){return Dy.sendBeacon.apply(Dy,arguments)});var Ow={track:"track/",engage:"engage/",groups:"groups/",record:"record/",flags:"flags/"},Pw={api_host:"https://api-js.mixpanel.com",api_hosts:{},api_routes:Ow,api_extra_query_params:{},api_method:"POST",api_transport:"XHR",api_payload_format:Rw,app_host:"https://mixpanel.com",autocapture:!1,cdn:"https://cdn.mxpnl.com",cross_site_cookie:!1,cross_subdomain_cookie:!0,error_reporter:mv,flags:!1,persistence:"cookie",persistence_name:"",cookie_domain:"",cookie_name:"",loaded:mv,mp_loader:null,track_marketing:!0,track_pageview:!1,skip_first_touch_marketing:!1,store_google:!0,stop_utm_persistence:!1,save_referrer:!0,test:!1,verbose:!1,img:!1,debug:!1,track_links_timeout:300,cookie_expiration:365,upgrade:!1,disable_persistence:!1,disable_cookie:!1,secure_cookie:!1,ip:!0,opt_out_tracking_by_default:!1,opt_out_persistence_by_default:!1,opt_out_tracking_persistence_type:"localStorage",opt_out_tracking_cookie_prefix:null,property_blacklist:[],xhr_headers:{},ignore_dnt:!1,batch_requests:!0,batch_size:50,batch_flush_interval_ms:5e3,batch_request_timeout_ms:9e4,batch_autostart:!0,hooks:{},record_block_class:new RegExp("^(mp-block|fs-exclude|amp-block|rr-block|ph-no-capture)$"),record_block_selector:"img, video",record_canvas:!1,record_collect_fonts:!1,record_heatmap_data:!1,record_idle_timeout_ms:18e5,record_mask_text_class:new RegExp("^(mp-mask|fs-mask|amp-mask|rr-mask|ph-mask)$"),record_mask_text_selector:"*",record_max_ms:Ey,record_min_ms:0,record_sessions_percent:0,recorder_src:"https://cdn.mxpnl.com/libs/mixpanel-recorder.min.js"},Lw=!1,zw=function(){},Nw=function(e,t,r){var n,o=r===jw?kw:kw[r];if(o&&0===dw)n=o;else{if(o&&!Xy.isArray(o))return void Jy.error("You have already initialized "+r);n=new zw}if(n._cached_groups={},n._init(e,t,r),n.people=new uw,n.people._init(n),!n.get_config("skip_first_touch_marketing")){var i=Xy.info.campaignParams(null),a={},s=!1;Xy.each(i,function(e,t){a["initial_"+t]=e,e&&(s=!0)}),s&&n.people.set_once(a)}return My.DEBUG=My.DEBUG||n.get_config("debug"),!Xy.isUndefined(o)&&Xy.isArray(o)&&(n._execute_array.call(n.people,o.people),n._execute_array(o)),n};zw.prototype.init=function(e,t,r){if(Xy.isUndefined(r))this.report_error("You must name your new library: init(token, config, name)");else{if(r!==jw){var n=Nw(e,t,r);return kw[r]=n,n._loaded(),n}this.report_error("You must initialize the main mixpanel object right after you include the Mixpanel js snippet")}},zw.prototype._init=function(e,t,r){t=t||{},this.__loaded=!0,this.config={};var n={};if("api_payload_format"in t||(t.api_host||Pw.api_host).match(/\.mixpanel\.com/)&&(n.api_payload_format="json"),this.set_config(Xy.extend({},Pw,n,t,{name:r,token:e,callback_fn:(r===jw?r:jw+"."+r)+"._jsc"})),this._jsc=mv,this.__dom_loaded_queue=[],this.__request_queue=[],this.__disabled_events=[],this._flags={disable_all_events:!1,identify_called:!1},this.request_batchers={},this._batch_requests=this.get_config("batch_requests"),this._batch_requests)if(Xy.localStorage.is_supported(!0)&&Mw){if(this.init_batchers(),Tw&&Vs.addEventListener){var o=Xy.bind(function(){this.request_batchers.events.stopped||this.request_batchers.events.flush({unloading:!0})},this);Vs.addEventListener("pagehide",function(e){e.persisted&&o()}),Vs.addEventListener("visibilitychange",function(){"hidden"===By.visibilityState&&o()})}}else this._batch_requests=!1,Jy.log("Turning off Mixpanel request-queueing; needs XHR and localStorage support"),Xy.each(this.get_batcher_configs(),function(e){Jy.log("Clearing batch queue "+e.queue_key),Xy.localStorage.remove(e.queue_key)});this.persistence=this.cookie=new Cw(this.config),this.unpersisted_superprops={},this._gdpr_init();var i=Xy.UUID();this.get_distinct_id()||this.register_once({distinct_id:Iw+i,$device_id:i},""),this.flags=new Jx({getFullApiRoute:Xy.bind(function(){return this.get_api_host("flags")+"/"+this.get_config("api_routes").flags},this),getConfigFunc:Xy.bind(this.get_config,this),getPropertyFunc:Xy.bind(this.get_property,this),trackingFunc:Xy.bind(this.track,this)}),this.flags.init(),this.flags=this.flags,this.autocapture=new qx(this),this.autocapture.init(),this._init_tab_id(),this._check_and_start_session_recording()},zw.prototype._init_tab_id=function(){if(Xy.sessionStorage.is_supported())try{var e=this.get_config("name")+"_"+this.get_config("token"),t="mp_tab_id_"+e,r="mp_gen_new_tab_id_"+e;!Xy.sessionStorage.get(r)&&Xy.sessionStorage.get(t)||Xy.sessionStorage.set(t,"$tab-"+Xy.UUID()),Xy.sessionStorage.set(r,"1"),this.tab_id=Xy.sessionStorage.get(t),Vs.addEventListener("beforeunload",function(){Xy.sessionStorage.remove(r)})}catch(e){this.report_error("Error initializing tab id",e)}else this.report_error("Session storage is not supported, cannot keep track of unique tab ID.")},zw.prototype.get_tab_id=function(){return this.tab_id||null},zw.prototype._should_load_recorder=function(){var e=new wv(vv),t=this.get_tab_id();return e.init().then(function(){return e.getAll()}).then(function(e){for(var r=0;r<e.length;r++)if(Vv(e[r])||e[r].tabId===t)return!0;return!1}).catch(Xy.bind(function(e){this.report_error("Error checking recording registry",e)},this))},zw.prototype._check_and_start_session_recording=Av(function(e){if(Vs.MutationObserver){var t=Xy.bind(function(e){var t=Xy.bind(function(){this._recorder=this._recorder||new Vs.__mp_recorder(this),this._recorder.resumeRecording(e)},this);Xy.isUndefined(Vs.__mp_recorder)?Sw(this.get_config("recorder_src"),t):t()},this),r=this.get_config("record_sessions_percent")>0&&100*Math.random()<=this.get_config("record_sessions_percent");e||r?t(!0):this._should_load_recorder().then(function(e){e&&t(!1)})}else Jy.critical("Browser does not support MutationObserver; skipping session recording")}),zw.prototype.start_session_recording=function(){this._check_and_start_session_recording(!0)},zw.prototype.stop_session_recording=function(){return this._recorder?this._recorder.stopRecording():Promise.resolve()},zw.prototype.pause_session_recording=function(){return this._recorder?this._recorder.pauseRecording():Promise.resolve()},zw.prototype.resume_session_recording=function(){return this._recorder?this._recorder.resumeRecording():Promise.resolve()},zw.prototype.is_recording_heatmap_data=function(){return this._get_session_replay_id()&&this.get_config("record_heatmap_data")},zw.prototype.get_session_recording_properties=function(){var e={},t=this._get_session_replay_id();return t&&(e.$mp_replay_id=t),e},zw.prototype.get_session_replay_url=function(){var e=null,t=this._get_session_replay_id();return t&&(e="https://mixpanel.com/projects/replay-redirect?"+Xy.HTTPBuildQuery({replay_id:t,distinct_id:this.get_distinct_id(),token:this.get_config("token")})),e},zw.prototype._get_session_replay_id=function(){var e=null;return this._recorder&&(e=this._recorder.replayId),e||null},zw.prototype.__get_recorder=function(){return this._recorder},zw.prototype._loaded=function(){if(this.get_config("loaded")(this),this._set_default_superprops(),this.people.set_once(this.persistence.get_referrer_info()),this.get_config("store_google")&&this.get_config("stop_utm_persistence")){var e=Xy.info.campaignParams(null);Xy.each(e,function(e,t){this.unregister(t)}.bind(this))}},zw.prototype._set_default_superprops=function(){this.persistence.update_search_keyword(By.referrer),this.get_config("store_google")&&!this.get_config("stop_utm_persistence")&&this.register(Xy.info.campaignParams()),this.get_config("save_referrer")&&this.persistence.update_referrer_info(By.referrer)},zw.prototype._dom_loaded=function(){Xy.each(this.__dom_loaded_queue,function(e){this._track_dom.apply(this,e)},this),this.has_opted_out_tracking()||Xy.each(this.__request_queue,function(e){this._send_request.apply(this,e)},this),delete this.__dom_loaded_queue,delete this.__request_queue},zw.prototype._track_dom=function(e,t){if(this.get_config("img"))return this.report_error("You can't use DOM tracking functions with img = true."),!1;if(!Lw)return this.__dom_loaded_queue.push([e,t]),!1;var r=(new e).init(this);return r.track.apply(r,t)},zw.prototype._prepare_callback=function(e,t){if(Xy.isUndefined(e))return null;if(Mw)return function(r){e(r,t)};var r=this._jsc,n=""+Math.floor(1e8*Math.random()),o=this.get_config("callback_fn")+"["+n+"]";return r[n]=function(o){delete r[n],e(o,t)},o},zw.prototype._send_request=function(e,t,r,n){var o=!0;if(Ew)return this.__request_queue.push(arguments),o;var i={method:this.get_config("api_method"),transport:this.get_config("api_transport"),verbose:this.get_config("verbose")},a=null;n||!Xy.isFunction(r)&&"string"!=typeof r||(n=r,r=null),r=Xy.extend(i,r||{}),Mw||(r.method="GET");var s="POST"===r.method,l=Tw&&s&&"sendbeacon"===r.transport.toLowerCase(),c=r.verbose;t.verbose&&(c=!0),this.get_config("test")&&(t.test=1),c&&(t.verbose=1),this.get_config("img")&&(t.img=1),Mw||(n?t.callback=n:(c||this.get_config("test"))&&(t.callback="(function(){})")),t.ip=this.get_config("ip")?1:0,t._=(new Date).getTime().toString(),s&&(a="data="+encodeURIComponent(t.data),delete t.data),Xy.extend(t,this.get_config("api_extra_query_params")),e+="?"+Xy.HTTPBuildQuery(t);var u=this;if("img"in t){var d=By.createElement("img");d.src=e,By.body.appendChild(d)}else if(l){try{o=Tw(e,a)}catch(e){u.report_error(e),o=!1}try{n&&n(o?1:0)}catch(e){u.report_error(e)}}else if(Mw)try{var p=new XMLHttpRequest;p.open(r.method,e,!0);var h=this.get_config("xhr_headers");if(s&&(h["Content-Type"]="application/x-www-form-urlencoded"),Xy.each(h,function(e,t){p.setRequestHeader(t,e)}),r.timeout_ms&&void 0!==p.timeout){p.timeout=r.timeout_ms;var f=(new Date).getTime()}p.withCredentials=!0,p.onreadystatechange=function(){var e;if(4===p.readyState)if(200===p.status){if(n)if(c){var t;try{t=Xy.JSONDecode(p.responseText)}catch(e){if(u.report_error(e),!r.ignore_json_errors)return;t=p.responseText}n(t)}else n(Number(p.responseText))}else if(e=p.timeout&&!p.status&&(new Date).getTime()-f>=p.timeout?"timeout":"Bad HTTP status: "+p.status+" "+p.statusText,u.report_error(e),n)if(c){var o=p.responseHeaders||{};n({status:0,httpStatusCode:p.status,error:e,retryAfter:o["Retry-After"]})}else n(0)},p.send(a)}catch(e){u.report_error(e),o=!1}else{var m=By.createElement("script");m.type="text/javascript",m.async=!0,m.defer=!0,m.src=e;var g=By.getElementsByTagName("script")[0];g.parentNode.insertBefore(m,g)}return o},zw.prototype._execute_array=function(e){var t,r=[],n=[],o=[];Xy.each(e,function(e){e&&(t=e[0],Xy.isArray(t)?o.push(e):"function"==typeof e?e.call(this):Xy.isArray(e)&&"alias"===t?r.push(e):Xy.isArray(e)&&-1!==t.indexOf("track")&&"function"==typeof this[t]?o.push(e):n.push(e))},this);var i=function(e,t){Xy.each(e,function(e){if(Xy.isArray(e[0])){var r=t;Xy.each(e,function(e){r=r[e[0]].apply(r,e.slice(1))})}else this[e[0]].apply(this,e.slice(1))},t)};i(r,this),i(n,this),i(o,this)},zw.prototype.are_batchers_initialized=function(){return!!this.request_batchers.events},zw.prototype.get_batcher_configs=function(){var e="__mpq_"+this.get_config("token");return this._batcher_configs=this._batcher_configs||{events:{type:"events",api_name:"track",queue_key:e+"_ev"},people:{type:"people",api_name:"engage",queue_key:e+"_pp"},groups:{type:"groups",api_name:"groups",queue_key:e+"_gr"}},this._batcher_configs},zw.prototype.init_batchers=function(){if(!this.are_batchers_initialized()){var e=Xy.bind(function(e){return new Wv(e.queue_key,{libConfig:this.config,errorReporter:this.get_config("error_reporter"),sendRequestFunc:Xy.bind(function(t,r,n){var o=this.get_config("api_routes");this._send_request(this.get_api_host(e.api_name)+"/"+o[e.api_name],this._encode_data_for_request(t),r,this._prepare_callback(n,t))},this),beforeSendHook:Xy.bind(function(t){return this._run_hook("before_send_"+e.type,t)},this),stopAllBatchingFunc:Xy.bind(this.stop_batch_senders,this),usePersistence:!0})},this),t=this.get_batcher_configs();this.request_batchers={events:e(t.events),people:e(t.people),groups:e(t.groups)}}this.get_config("batch_autostart")&&this.start_batch_senders()},zw.prototype.start_batch_senders=function(){this._batchers_were_started=!0,this.are_batchers_initialized()&&(this._batch_requests=!0,Xy.each(this.request_batchers,function(e){e.start()}))},zw.prototype.stop_batch_senders=function(){this._batch_requests=!1,Xy.each(this.request_batchers,function(e){e.stop(),e.clear()})},zw.prototype.push=function(e){this._execute_array([e])},zw.prototype.disable=function(e){void 0===e?this._flags.disable_all_events=!0:this.__disabled_events=this.__disabled_events.concat(e)},zw.prototype._encode_data_for_request=function(e){var t=gv(e);return this.get_config("api_payload_format")===Rw&&(t=Xy.base64Encode(t)),{data:t}},zw.prototype._track_or_batch=function(e,t){var r=Xy.truncate(e.data,255),n=e.endpoint,o=e.batcher,i=e.should_send_immediately,a=e.send_request_options||{};t=t||mv;var s=!0,l=Xy.bind(function(){return a.skip_hooks||(r=this._run_hook("before_send_"+e.type,r)),r?(Jy.log("MIXPANEL REQUEST:"),Jy.log(r),this._send_request(n,this._encode_data_for_request(r),a,this._prepare_callback(t,r))):null},this);return this._batch_requests&&!i?o.enqueue(r).then(function(e){e?t(1,r):l()}):s=l(),s&&r},zw.prototype.track=Av(function(e,t,r,n){n||"function"!=typeof r||(n=r,r=null);var o=(r=r||{}).transport;o&&(r.transport=o);var i=r.send_immediately;if("function"!=typeof n&&(n=mv),Xy.isUndefined(e))this.report_error("No event name provided to mixpanel.track");else{if(!this._event_is_disabled(e)){(t=Xy.extend({},t)).token=this.get_config("token");var a=this.persistence.remove_event_timer(e);if(!Xy.isUndefined(a)){var s=(new Date).getTime()-a;t.$duration=parseFloat((s/1e3).toFixed(3))}this._set_default_superprops();var l=this.get_config("track_marketing")?Xy.info.marketingParams():{};t=Xy.extend({},Xy.info.properties({mp_loader:this.get_config("mp_loader")}),l,this.persistence.properties(),this.unpersisted_superprops,this.get_session_recording_properties(),t);var c=this.get_config("property_blacklist");Xy.isArray(c)?Xy.each(c,function(e){delete t[e]}):this.report_error("Invalid value for property_blacklist config: "+c);var u={event:e,properties:t};return this._track_or_batch({type:"events",data:u,endpoint:this.get_api_host("events")+"/"+this.get_config("api_routes").track,batcher:this.request_batchers.events,should_send_immediately:i,send_request_options:r},n)}n(0)}}),zw.prototype.set_group=Av(function(e,t,r){Xy.isArray(t)||(t=[t]);var n={};return n[e]=t,this.register(n),this.people.set(e,t,r)}),zw.prototype.add_group=Av(function(e,t,r){var n=this.get_property(e),o={};return void 0===n?(o[e]=[t],this.register(o)):-1===n.indexOf(t)&&(n.push(t),o[e]=n,this.register(o)),this.people.union(e,t,r)}),zw.prototype.remove_group=Av(function(e,t,r){var n=this.get_property(e);if(void 0!==n){var o=n.indexOf(t);o>-1&&(n.splice(o,1),this.register({group_key:n})),0===n.length&&this.unregister(e)}return this.people.remove(e,t,r)}),zw.prototype.track_with_groups=Av(function(e,t,r,n){var o=Xy.extend({},t||{});return Xy.each(r,function(e,t){null!=e&&(o[t]=e)}),this.track(e,o,n)}),zw.prototype._create_map_key=function(e,t){return e+"_"+JSON.stringify(t)},zw.prototype._remove_group_from_cache=function(e,t){delete this._cached_groups[this._create_map_key(e,t)]},zw.prototype.get_group=function(e,t){var r=this._create_map_key(e,t),n=this._cached_groups[r];return void 0!==n&&n._group_key===e&&n._group_id===t||((n=new cw)._init(this,e,t),this._cached_groups[r]=n),n},zw.prototype.track_pageview=Av(function(e,t){"object"!=typeof e&&(e={});var r=(t=t||{}).event_name||"$mp_web_page_view",n=Xy.extend(Xy.info.mpPageViewProperties(),Xy.info.campaignParams(),Xy.info.clickParams()),o=Xy.extend({},n,e);return this.track(r,o)}),zw.prototype.track_links=function(){return this._track_dom.call(this,Qx,arguments)},zw.prototype.track_forms=function(){return this._track_dom.call(this,ew,arguments)},zw.prototype.time_event=function(e){Xy.isUndefined(e)?this.report_error("No event name provided to mixpanel.time_event"):this._event_is_disabled(e)||this.persistence.set_event_timer(e,(new Date).getTime())};var Fw={persistent:!0},Dw=function(e){var t;return t=Xy.isObject(e)?e:Xy.isUndefined(e)?{}:{days:e},Xy.extend({},Fw,t)};zw.prototype.register=function(e,t){var r=Dw(t);r.persistent?this.persistence.register(e,r.days):Xy.extend(this.unpersisted_superprops,e)},zw.prototype.register_once=function(e,t,r){var n=Dw(r);n.persistent?this.persistence.register_once(e,t,n.days):(void 0===t&&(t="None"),Xy.each(e,function(e,r){this.unpersisted_superprops.hasOwnProperty(r)&&this.unpersisted_superprops[r]!==t||(this.unpersisted_superprops[r]=e)},this))},zw.prototype.unregister=function(e,t){(t=Dw(t)).persistent?this.persistence.unregister(e):delete this.unpersisted_superprops[e]},zw.prototype._register_single=function(e,t){var r={};r[e]=t,this.register(r)},zw.prototype.identify=function(e,t,r,n,o,i,a,s){var l=this.get_distinct_id();if(e&&l!==e){if("string"==typeof e&&0===e.indexOf(Iw))return this.report_error("distinct_id cannot have $device: prefix"),-1;this.register({$user_id:e})}if(!this.get_property("$device_id")){var c=l;this.register_once({$had_persisted_distinct_id:!0,$device_id:c},"")}e!==l&&e!==this.get_property(xw)&&(this.unregister(xw),this.register({distinct_id:e})),this._flags.identify_called=!0,this.people._flush(t,r,n,o,i,a,s),e!==l&&this.track("$identify",{distinct_id:e,$anon_distinct_id:l},{skip_hooks:!0}),e!==l&&this.flags.fetchFlags()},zw.prototype.reset=function(){this.stop_session_recording(),this.persistence.clear(),this._flags.identify_called=!1;var e=Xy.UUID();this.register_once({distinct_id:Iw+e,$device_id:e},""),this._check_and_start_session_recording()},zw.prototype.get_distinct_id=function(){return this.get_property("distinct_id")},zw.prototype.alias=function(e,t){if(e===this.get_property(vw))return this.report_error("Attempting to create alias for existing People user - aborting."),-2;var r=this;return Xy.isUndefined(t)&&(t=this.get_distinct_id()),e!==t?(this._register_single(xw,e),this.track("$create_alias",{alias:e,distinct_id:t},{skip_hooks:!0},function(){r.identify(e)})):(this.report_error("alias matches current distinct_id - skipping api call."),this.identify(e),-1)},zw.prototype.name_tag=function(e){this._register_single("mp_name_tag",e)},zw.prototype.set_config=function(e){Xy.isObject(e)&&(Xy.extend(this.config,e),e.batch_size&&Xy.each(this.request_batchers,function(e){e.resetBatchSize()}),this.get_config("persistence_name")||(this.config.persistence_name=this.config.cookie_name),this.get_config("disable_persistence")||(this.config.disable_persistence=this.config.disable_cookie),this.persistence&&this.persistence.update_config(this.config),My.DEBUG=My.DEBUG||this.get_config("debug"),("autocapture"in e||"record_heatmap_data"in e)&&this.autocapture&&this.autocapture.init())},zw.prototype.get_config=function(e){return this.config[e]},zw.prototype._run_hook=function(e){var t=(this.config.hooks[e]||Aw).apply(this,Ly.call(arguments,1));return void 0===t&&(this.report_error(e+" hook did not return a value"),t=null),t},zw.prototype.get_property=function(e){return this.persistence.load_prop([e])},zw.prototype.get_api_host=function(e){return this.get_config("api_hosts")[e]||this.get_config("api_host")},zw.prototype.toString=function(){var e=this.get_config("name");return e!==jw&&(e=jw+"."+e),e},zw.prototype._event_is_disabled=function(e){return Xy.isBlockedUA(Wy)||this._flags.disable_all_events||Xy.include(this.__disabled_events,e)},zw.prototype._gdpr_init=function(){"localStorage"===this.get_config("opt_out_tracking_persistence_type")&&Xy.localStorage.is_supported()&&(!this.has_opted_in_tracking()&&this.has_opted_in_tracking({persistence_type:"cookie"})&&this.opt_in_tracking({enable_persistence:!1}),!this.has_opted_out_tracking()&&this.has_opted_out_tracking({persistence_type:"cookie"})&&this.opt_out_tracking({clear_persistence:!1}),this.clear_opt_in_out_tracking({persistence_type:"cookie",enable_persistence:!1})),this.has_opted_out_tracking()?this._gdpr_update_persistence({clear_persistence:!0}):this.has_opted_in_tracking()||!this.get_config("opt_out_tracking_by_default")&&!Xy.cookie.get("mp_optout")||(Xy.cookie.remove("mp_optout"),this.opt_out_tracking({clear_persistence:this.get_config("opt_out_persistence_by_default")}))},zw.prototype._gdpr_update_persistence=function(e){var t;if(e&&e.clear_persistence)t=!0;else{if(!e||!e.enable_persistence)return;t=!1}this.get_config("disable_persistence")||this.persistence.disabled===t||this.persistence.set_disabled(t),t?(this.stop_batch_senders(),this.stop_session_recording()):this._batchers_were_started&&this.start_batch_senders()},zw.prototype._gdpr_call_func=function(e,t){return t=Xy.extend({track:Xy.bind(this.track,this),persistence_type:this.get_config("opt_out_tracking_persistence_type"),cookie_prefix:this.get_config("opt_out_tracking_cookie_prefix"),cookie_expiration:this.get_config("cookie_expiration"),cross_site_cookie:this.get_config("cross_site_cookie"),cross_subdomain_cookie:this.get_config("cross_subdomain_cookie"),cookie_domain:this.get_config("cookie_domain"),secure_cookie:this.get_config("secure_cookie"),ignore_dnt:this.get_config("ignore_dnt")},t),Xy.localStorage.is_supported()||(t.persistence_type="cookie"),e(this.get_config("token"),{track:t.track,trackEventName:t.track_event_name,trackProperties:t.track_properties,persistenceType:t.persistence_type,persistencePrefix:t.cookie_prefix,cookieDomain:t.cookie_domain,cookieExpiration:t.cookie_expiration,crossSiteCookie:t.cross_site_cookie,crossSubdomainCookie:t.cross_subdomain_cookie,secureCookie:t.secure_cookie,ignoreDnt:t.ignore_dnt})},zw.prototype.opt_in_tracking=function(e){e=Xy.extend({enable_persistence:!0},e),this._gdpr_call_func(_v,e),this._gdpr_update_persistence(e)},zw.prototype.opt_out_tracking=function(e){(e=Xy.extend({clear_persistence:!0,delete_user:!0},e)).delete_user&&this.people&&this.people._identify_called()&&(this.people.delete_user(),this.people.clear_charges()),this._gdpr_call_func(Cv,e),this._gdpr_update_persistence(e)},zw.prototype.has_opted_in_tracking=function(e){return this._gdpr_call_func(kv,e)},zw.prototype.has_opted_out_tracking=function(e){return this._gdpr_call_func(Sv,e)},zw.prototype.clear_opt_in_out_tracking=function(e){e=Xy.extend({enable_persistence:!0},e),this._gdpr_call_func(Iv,e),this._gdpr_update_persistence(e)},zw.prototype.report_error=function(e,t){Jy.error.apply(Jy.error,arguments);try{t||e instanceof Error||(e=new Error(e)),this.get_config("error_reporter")(e,t)}catch(t){Jy.error(t)}},zw.prototype.init=zw.prototype.init,zw.prototype.reset=zw.prototype.reset,zw.prototype.disable=zw.prototype.disable,zw.prototype.time_event=zw.prototype.time_event,zw.prototype.track=zw.prototype.track,zw.prototype.track_links=zw.prototype.track_links,zw.prototype.track_forms=zw.prototype.track_forms,zw.prototype.track_pageview=zw.prototype.track_pageview,zw.prototype.register=zw.prototype.register,zw.prototype.register_once=zw.prototype.register_once,zw.prototype.unregister=zw.prototype.unregister,zw.prototype.identify=zw.prototype.identify,zw.prototype.alias=zw.prototype.alias,zw.prototype.name_tag=zw.prototype.name_tag,zw.prototype.set_config=zw.prototype.set_config,zw.prototype.get_config=zw.prototype.get_config,zw.prototype.get_api_host=zw.prototype.get_api_host,zw.prototype.get_property=zw.prototype.get_property,zw.prototype.get_distinct_id=zw.prototype.get_distinct_id,zw.prototype.toString=zw.prototype.toString,zw.prototype.opt_out_tracking=zw.prototype.opt_out_tracking,zw.prototype.opt_in_tracking=zw.prototype.opt_in_tracking,zw.prototype.has_opted_out_tracking=zw.prototype.has_opted_out_tracking,zw.prototype.has_opted_in_tracking=zw.prototype.has_opted_in_tracking,zw.prototype.clear_opt_in_out_tracking=zw.prototype.clear_opt_in_out_tracking,zw.prototype.get_group=zw.prototype.get_group,zw.prototype.set_group=zw.prototype.set_group,zw.prototype.add_group=zw.prototype.add_group,zw.prototype.remove_group=zw.prototype.remove_group,zw.prototype.track_with_groups=zw.prototype.track_with_groups,zw.prototype.start_batch_senders=zw.prototype.start_batch_senders,zw.prototype.stop_batch_senders=zw.prototype.stop_batch_senders,zw.prototype.start_session_recording=zw.prototype.start_session_recording,zw.prototype.stop_session_recording=zw.prototype.stop_session_recording,zw.prototype.pause_session_recording=zw.prototype.pause_session_recording,zw.prototype.resume_session_recording=zw.prototype.resume_session_recording,zw.prototype.get_session_recording_properties=zw.prototype.get_session_recording_properties,zw.prototype.get_session_replay_url=zw.prototype.get_session_replay_url,zw.prototype.get_tab_id=zw.prototype.get_tab_id,zw.prototype.DEFAULT_API_ROUTES=Ow,zw.prototype.__get_recorder=zw.prototype.__get_recorder,Cw.prototype.properties=Cw.prototype.properties,Cw.prototype.update_search_keyword=Cw.prototype.update_search_keyword,Cw.prototype.update_referrer_info=Cw.prototype.update_referrer_info,Cw.prototype.get_cross_subdomain=Cw.prototype.get_cross_subdomain,Cw.prototype.clear=Cw.prototype.clear;var Bw={},$w=(Sw=function(e,t){t()},dw=0,(kw=new zw).init=function(e,t,r){if(r)return kw[r]||(kw[r]=Bw[r]=Nw(e,t,r),kw[r]._loaded()),kw[r];var n=kw;Bw[jw]?n=Bw[jw]:e&&((n=Nw(e,t,jw))._loaded(),Bw[jw]=n),kw=n,1===dw&&(Vs[jw]=kw),Xy.each(Bw,function(e,t){t!==jw&&(kw[t]=e)}),kw._=Xy},kw.init(),function(){function e(){e.done||(e.done=!0,Lw=!0,Ew=!1,Xy.each(Bw,function(e){e._dom_loaded()}))}if(By.addEventListener)"complete"===By.readyState?e():By.addEventListener("DOMContentLoaded",e,!1);else if(By.attachEvent){By.attachEvent("onreadystatechange",e);var t=!1;try{t=null===Vs.frameElement}catch(e){}By.documentElement.doScroll&&t&&function t(){try{By.documentElement.doScroll("left")}catch(e){return void setTimeout(t,1)}e()}()}Xy.register_event(Vs,"load",e,!0)}(),kw);const Hw="share_usage_data",Ww=(e,t)=>{$w.__loaded&&$w.track(e,t)},Vw={pageView:"page_view",helpButtonClicked:"help_button_clicked",toggleClicked:"toggle_clicked",positionButtonClicked:"position_button_clicked",saveButtonClicked:"save_button_clicked",colorChanged:"color_changed",iconTypeSelected:"icon_type_selected",sizeTypeClicked:"size_type_clicked",menuButtonClicked:"menu_button_clicked",handleUnitChanged:"handle_unit_changed",handleValueChanged:"handle_value_changed",handleDirectionChanged:"handle_direction_changed",connectSuccess:"connect_success",fieldContentUpdated:"field_content_updated",statementPageCreated:"statement_page_created",statementPageSelected:"statement_page_selected",statementFlowSelected:"statement_flow_selected",upgradeButtonClicked:"upgrade_button_clicked",popupButtonClicked:"popup_button_clicked",filterSelected:"filter_selected",upgradeTooltipTriggered:"upgrade_tooltip_triggered",radiusChanged:"radius_changed",addCustomIconClicked:"add_custom_icon_clicked",updateCustomIconClicked:"update_custom_icon_clicked",customIconAdded:"custom_icon_added",customIconUpdated:"custom_icon_updated",assistantMenuClicked:"assistant_menu_clicked",assistantMenuOptionSelected:"assistant_menu_option_selected",remediationRemoved:"remediation_removed",remediationDisabled:"remediation_disabled",remediationEnabled:"remediation_enabled",scanTriggered:"scan_triggered",categoryClicked:"category_clicked",issueSelected:"issue_selected",fixWithAiButtonClicked:"fix_with_ai_button_clicked",markAsDecorativeSelected:"mark_as_decorative_selected",resolveButtonClicked:"resolve_button_clicked",navigationChanged:"navigation_changed",aiSuggestionAccepted:"ai_suggestion_accepted",markAsResolveClicked:"mark_as_resolve_clicked",issueSkipped:"issue_skipped",upgradeSuggestionViewed:"upgrade_suggestion_viewed",applyFixButtonClicked:"apply_fix_button_clicked",copySnippetClicked:"copy_snippet_clicked",editSnippetClicked:"edit_snippet_clicked",contrastColorChanged:"contrast_color_changed",contrastResetClicked:"contrast_reset_clicked",backgroundAdaptorTriggered:"background_adaptor_triggered",backgroundAdaptorChanged:"background_adaptor_changed",tabSelected:"tab_selected",markAsGlobalToggled:"mark_as_global_toggled",applyGlobalFixConfirmationClicked:"apply_global_fix_confirmation_clicked",assistantDashboardHistoryLogsButtonClicked:"history_logs_button_clicked",assistantDashboardScanCtaClicked:"scan_cta_clicked",assistantDashboardSearchTriggered:"search_triggered",scanLogActionsButtonClicked:"scan_log_actions_button_clicked",scanHomePageButtonClicked:"scan_triggered",introductionBannerShowed:"banner_showed",introductionBannerClosed:"banner_dismissed",review:{promptShown:"review_prompt_shown",dismissClicked:"review_dismiss_clicked",starSelected:"review_star_selected",feedbackSubmitted:"review_feedback_submitted",publicRedirectClicked:"review_public_redirect_clicked"},headingClicked:"heading_clicked",headingSelected:"heading_selected"};function qw(e){return ho("MuiTypography",e)}fo("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"]);const Uw=["align","className","component","gutterBottom","noWrap","paragraph","variant","variantMapping"],Zw=jo("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t[`align${wi(r.align)}`],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})(({theme:e,ownerState:t})=>(0,Se.A)({margin:0},"inherit"===t.variant&&{font:"inherit"},"inherit"!==t.variant&&e.typography[t.variant],"inherit"!==t.align&&{textAlign:t.align},t.noWrap&&{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t.gutterBottom&&{marginBottom:"0.35em"},t.paragraph&&{marginBottom:16})),Gw={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},Kw={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},Xw=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiTypography"}),n=(e=>Kw[e]||e)(r.color),o=(0,so.A)((0,Se.A)({},r,{color:n})),{align:i="inherit",className:a,component:s,gutterBottom:l=!1,noWrap:c=!1,paragraph:u=!1,variant:d="body1",variantMapping:p=Gw}=o,h=(0,Ae.A)(o,Uw),f=(0,Se.A)({},o,{align:i,color:n,className:a,component:s,gutterBottom:l,noWrap:c,paragraph:u,variant:d,variantMapping:p}),m=s||(u?"p":p[d]||Gw[d])||"span",g=(e=>{const{align:t,gutterBottom:r,noWrap:n,paragraph:o,variant:i,classes:a}=e;return _o({root:["root",i,"inherit"!==e.align&&`align${wi(t)}`,r&&"gutterBottom",n&&"noWrap",o&&"paragraph"]},qw,a)})(f);return(0,Nt.jsx)(Zw,(0,Se.A)({as:m,ref:t,ownerState:f,className:ao(g.root,a)},h))});var Jw=t().forwardRef((e,r)=>t().createElement(Xw,{...e,ref:r}));const Yw=()=>(0,Nt.jsxs)("svg",{width:"24",height:"24",fill:"none",role:"presentation",children:[(0,Nt.jsx)("g",{clipPath:"url(#a)",children:(0,Nt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.022 18.667A12 12 0 1 1 21.977 5.333 12 12 0 0 1 2.022 18.667zM9 7H7v10h2V7zm8 0h-6v2h6V7zm0 3.999h-6v2h6v-2zM17 15h-6v2h6v-2z",fill:"#0C0D0E"})}),(0,Nt.jsx)("defs",{children:(0,Nt.jsx)("clipPath",{id:"a",children:(0,Nt.jsx)("path",{fill:"#fff",d:"M0 0h24v24H0z"})})})]}),Qw=()=>(0,Nt.jsxs)("svg",{width:"388",height:"122",fill:"none",role:"presentation",children:[(0,Nt.jsx)("path",{d:"M163.281 25.635c-2.77 1.85-4.14 5.48-3.53 8.76.61 3.28 3.03 6.1 6.07 7.46 3.04 1.36 6.63 1.32 9.76.17 3.13-1.15 5.82-3.35 7.82-6.02",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M163.281 25.635c-2.77 1.85-4.14 5.48-3.53 8.76.61 3.28 3.03 6.1 6.07 7.46 3.04 1.36 6.63 1.32 9.76.17 3.13-1.15 5.82-3.35 7.82-6.02",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"m211.661 62.755-37.39 5.23-1.32-1.99 39.5-6.69-.79 3.45z",fill:"#000",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"m210.782 52.155 1.1 10.06-37.81 5.17-.89-10.54 4.22-.58c4.18-.57 10.09-2.29 9.56-7.1l-2.43-22.24 7.22-.99 2.48 22.68c.52 4.8 4.01 5.24 8.19 4.67l8.37-1.14-.01.01z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M193.302 44.415c-.43-.07-2.01-.26-3.56.71-2 1.25-2.34 3.42-2.39 3.73l-.69-5.17 6.43-.88.2 1.61h.01z",fill:"#000"}),(0,Nt.jsx)("path",{d:"m199.751 30.955.03.22c.22 2.08-.41 3.97-1.64 5.54-.03.04-.05.07-.09.1-1.77 2.18-4.73 3.72-8.19 4.18-5.08.69-9.56-.88-11.16-4.7-.1-.26-.2-.52-.28-.79-.13-.44-.23-.9-.28-1.38-.5-4.55 3.03-8.87 8.12-10.26.56-.15 1.12-.27 1.71-.35 1.26-.17 2.48-.16 3.64.03 1.02.15 1.97.44 2.86.82 2.83 1.25 4.87 3.62 5.28 6.58v.01z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"m195.261 43.015-9.78 1.34c-.7.1-1.35-.4-1.44-1.1l-.14-1.09a1.3 1.3 0 0 1 1.11-1.45l9.78-1.34c.7-.1 1.35.4 1.44 1.1l.14 1.09a1.3 1.3 0 0 1-1.11 1.45zM213.02 62.045l-40.07 5.47-1.13-10.62 40.07-5.48 1.13 10.63z",fill:"#EFF5FE",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"m213.02 62.045-40.07 5.47-.22-3.22 40.07-5.47.22 3.22z",fill:"#000",stroke:"#000",strokeWidth:".98",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M186.404 31.636c1.245-1.818 1.301-3.945.125-4.75-1.176-.805-3.138.017-4.383 1.836-1.244 1.818-1.3 3.945-.124 4.75 1.175.804 3.138-.017 4.382-1.836z",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M175.081 7.475c-5.82-.67-11.36 1.78-14.01 6.26-3.25 5.51-.68 11.62-.05 13.13 1.75 4.17 4.74 6.35 6.58 7.8 3.46 2.75 7.9 4.89 12.21 3.9 1.07-.25 2.13-.7 2.91-1.48.78-.77 1.27-1.9 1.09-2.99-.2-1.23-1.15-2.17-2.05-3.03-2.07-1.97-5.33-4.73-9.6-9.14",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M175.081 7.475c-5.82-.67-11.36 1.78-14.01 6.26-3.25 5.51-.68 11.62-.05 13.13 1.75 4.17 4.74 6.35 6.58 7.8 3.46 2.75 7.9 4.89 12.21 3.9 1.07-.25 2.13-.7 2.91-1.48.78-.77 1.27-1.9 1.09-2.99-.2-1.23-1.15-2.17-2.05-3.03-2.07-1.97-5.33-4.73-9.6-9.14",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M194.051 12.896c.54-.74 1.02-1.7.64-2.53-.43-.94-1.67-1.12-2.7-1.15-3.18-.07-6.36.16-9.49.68-1.55.26-3.12.6-4.51 1.35-1.39.75-2.59 1.97-3 3.49-.41 1.5.07 3.25 1.3 4.22 1.83 1.44 7.02.06 9.16-.43 3.4-.78 6.54-2.78 8.61-5.62l-.01-.01z",fill:"#fff",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M240.141 56.795c-3.2-4.29-8.94-11.52-16.14-18.09-2.53-2.31-6.1-5.31-11.36-7.07-2.37-.79-3.59-1.19-5.33-1.05-6.01.49-8.61 6.65-11.83 5.56-1.43-.48-2.17-2.13-2.38-3.14-.45-2.28 1.23-4.32 2.61-6.03 6.95-8.64 9.84-10.35 9.32-11.86-.45-1.29-2.89-1.19-14.11-1.47-7.23-.19-9.48-.55-10.07.69-.97 2.02 3.27 6.69 5.45 12.1.19.48.55 1.68.43 3.18-.09 1.07-.55 2.15-1.42 2.79-1.54 1.12-3.72.47-5.4-.43-6.39-3.41-10.96-10.02-11.9-17.2-.4-3.02.27-4.65.93-5.71 1.45-2.33 4.27-3.25 4.93-3.46 18.13-5.93 32.02-3.91 32.02-3.91 27.2 3.97 56.47 23.8 61.25 27.08",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M240.141 56.795c-3.2-4.29-8.94-11.52-16.14-18.09-2.53-2.31-6.1-5.31-11.36-7.07-2.37-.79-3.59-1.19-5.33-1.05-6.01.49-8.61 6.65-11.83 5.56-1.43-.48-2.17-2.13-2.38-3.14-.45-2.28 1.23-4.32 2.61-6.03 6.95-8.64 9.84-10.35 9.32-11.86-.45-1.29-2.89-1.19-14.11-1.47-7.23-.19-9.48-.55-10.07.69-.97 2.02 3.27 6.69 5.45 12.1.19.48.55 1.68.43 3.18-.09 1.07-.55 2.15-1.42 2.79-1.54 1.12-3.72.47-5.4-.43-6.39-3.41-10.96-10.02-11.9-17.2-.4-3.02.27-4.65.93-5.71 1.45-2.33 4.27-3.25 4.93-3.46 18.13-5.93 32.02-3.91 32.02-3.91 27.2 3.97 56.47 23.8 61.25 27.08",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M223.686 60.414c.44-6.59 4.73-12.78 10.75-15.49 6.02-2.71 13.5-1.84 18.73 2.19-3.17-5.49-1.33-13.3 3.95-16.8s13.19-2.15 17.01 2.91c-.66-6.59 2.18-13.43 7.31-17.62 5.13-4.19 12.4-5.6 18.73-3.64",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M223.686 60.414c.44-6.59 4.73-12.78 10.75-15.49 6.02-2.71 13.5-1.84 18.73 2.19-3.17-5.49-1.33-13.3 3.95-16.8s13.19-2.15 17.01 2.91c-.66-6.59 2.18-13.43 7.31-17.62 5.13-4.19 12.4-5.6 18.73-3.64",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M292.766 44.284c9.638 0 17.45-6.662 17.45-14.88s-7.812-14.88-17.45-14.88c-9.637 0-17.45 6.662-17.45 14.88s7.813 14.88 17.45 14.88zM259.345 59.794c0 8.22-8.67 7.64-18.31 7.64-9.64 0-16.59.58-16.59-7.64 0-8.22 7.81-14.88 17.45-14.88s17.45 6.66 17.45 14.88z",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M196.005 104.87c8.575-2.434 14.401-8.37 13.014-13.258-1.388-4.888-9.465-6.877-18.04-4.442-8.575 2.435-14.401 8.37-13.013 13.259 1.388 4.888 9.464 6.876 18.039 4.441z",fill:"#000",stroke:"#fff",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M196.538 106.746c9.829-2.791 16.433-9.855 14.751-15.779-1.682-5.924-11.013-8.464-20.842-5.673-9.829 2.79-16.433 9.856-14.751 15.779 1.682 5.924 11.013 8.464 20.842 5.673z",stroke:"#000",strokeWidth:".98",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"m189.538 93.118.677 8.082 14.469-14.01",stroke:"#fff",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M71.144 98.269c.953-7.264-5.976-14.162-15.475-15.408-9.5-1.245-17.972 3.633-18.925 10.897-.952 7.264 5.976 14.162 15.476 15.407 9.5 1.246 17.972-3.633 18.924-10.896z",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M30 67.236c8.234-7.475 19.386-9.514 29.813-5.442 10.426 4.071 19.951 14.178 25.45 27.015 4.614-5.402 11.54-7.23 17.993-4.745 6.452 2.483 12.259 9.204 15.086 17.467 2.775-6.024 8.496-9.142 14.104-7.698 5.607 1.445 10.821 7.384 12.848 14.647H33.803",fill:"#fff"}),(0,Nt.jsx)("path",{d:"M30 67.236c8.234-7.475 19.386-9.514 29.813-5.442 10.426 4.071 19.951 14.178 25.45 27.015 4.614-5.402 11.54-7.23 17.993-4.745 6.452 2.483 12.259 9.204 15.086 17.467.565-1.148 1.502-2.718 3.038-4.191 5.384-5.157 14.943-6.076 21.504-2.256 7.943 4.625 11.477 16.183 6.635 26.552",fill:"#fff"})]}),e_=()=>(0,Nt.jsxs)("svg",{width:"292",height:"132",viewBox:"0 0 292 132",fill:"none",children:[(0,Nt.jsx)("rect",{width:"292",height:"129",transform:"translate(0 2)",fill:"white"}),(0,Nt.jsx)("path",{d:"M142.867 20.0408C117.693 10.4324 85.5969 21.5032 71.6941 43.8734C69.6916 47.1067 65.2633 53.0134 65.0688 63.2959C64.7026 83.0612 80.4133 101.615 96.2385 108.253C99.6713 109.693 114.055 110.173 142.867 111.132C149.538 111.35 156.209 111.532 164.608 114.56C169.311 116.262 171.256 117.759 176.566 119.13C182.264 120.545 188.122 121.209 193.993 121.107C214.933 121.187 230.758 108.539 231.25 90.259C231.502 80.8905 233.367 70.2881 225.529 62.9989C216.031 54.2131 206.179 58.2918 189.713 54.0645C164.643 47.6437 166.645 29.078 142.867 20.0408Z",fill:"#EFF5FE"}),(0,Nt.jsxs)("g",{clipPath:"url(#clip0_1253_33753)",children:[(0,Nt.jsx)("path",{d:"M170.578 37.6797L199.012 17.0596L170.578 37.6797Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M199.115 16.5345L170.636 37.2217L171.075 37.8218L199.554 17.1347L199.115 16.5345Z",fill:"black"}),(0,Nt.jsx)("rect",{x:"29.6226",y:"53.7681",width:"21.8249",height:"21.515",fill:"url(#pattern0_1253_33753)"}),(0,Nt.jsx)("path",{d:"M202.968 122.277C198.143 122.277 190.647 119.804 181.123 114.974C166.882 107.748 149.631 96.0955 132.534 82.1723C115.436 68.2491 100.558 53.6813 90.6108 41.2495C80.6631 28.8178 76.7555 19.5902 79.9106 15.7413C86.404 7.8127 119.691 24.5744 155.7 53.8929C191.708 83.2115 214.826 112.395 208.332 120.285C207.271 121.633 205.457 122.277 202.968 122.277ZM85.3523 14.5097C83.1042 14.5097 81.4929 15.0774 80.5281 16.2609C77.6239 19.7152 81.5219 28.6638 91.1897 40.7876C101.108 53.2194 115.957 67.7295 133.016 81.595C150.075 95.4604 167.278 107.103 181.471 114.31C195.316 121.334 204.897 123.355 207.753 119.862C213.88 112.376 190.319 83.0479 155.227 54.4318C125.702 30.4246 97.2779 14.4616 85.362 14.4616L85.3523 14.5097Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M143.33 101.166C138.897 101.186 134.505 100.321 130.412 98.622C126.319 96.9233 122.609 94.4252 119.498 91.2749C116.318 88.0598 113.814 84.2432 112.134 80.0494C110.454 75.8557 109.632 71.3693 109.715 66.854C109.956 47.6772 125.625 31.8681 144.662 31.6083H145.134C149.569 31.5881 153.963 32.4528 158.057 34.1515C162.152 35.8503 165.864 38.3487 168.976 41.4998C172.156 44.7147 174.658 48.5315 176.337 52.7254C178.015 56.9194 178.836 61.4058 178.75 65.9207C178.518 85.0975 162.849 100.907 143.803 101.166H143.33ZM144.44 49.1012C139.836 49.2129 135.454 51.0996 132.215 54.3652C128.977 57.6308 127.133 62.021 127.072 66.6135C127.025 68.8545 127.428 71.0822 128.256 73.1659C129.085 75.2496 130.322 77.1471 131.897 78.7469C133.446 80.3157 135.293 81.5596 137.331 82.4057C139.37 83.2517 141.557 83.6828 143.764 83.6734H143.996C148.599 83.5595 152.979 81.6719 156.218 78.4069C159.456 75.1418 161.3 70.753 161.363 66.1612C161.412 63.92 161.01 61.6918 160.182 59.6079C159.353 57.524 158.115 55.6266 156.539 54.0278C154.992 52.4584 153.146 51.214 151.11 50.3678C149.073 49.5217 146.887 49.091 144.681 49.1012H144.44Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M145.135 31.9834C149.521 31.9641 153.867 32.8199 157.916 34.5005C161.966 36.181 165.638 38.6524 168.716 41.7691C171.857 44.9479 174.329 48.7214 175.986 52.8676C177.643 57.0137 178.452 61.4485 178.364 65.911C178.142 84.8857 162.627 100.551 143.793 100.791H143.321C138.938 100.809 134.597 99.9528 130.551 98.274C126.505 96.5952 122.836 94.1273 119.759 91.015C116.62 87.8322 114.15 84.0566 112.493 79.9094C110.836 75.7622 110.026 71.327 110.11 66.8635C110.342 47.8791 125.857 32.224 144.691 31.9834H145.154H145.135ZM143.822 84.039H144.064C148.754 83.9178 153.216 81.9925 156.516 78.6658C159.816 75.3392 161.698 70.8688 161.769 66.19C161.813 63.8951 161.396 61.6146 160.542 59.4829C159.689 57.3512 158.416 55.4113 156.8 53.7775C155.216 52.1758 153.327 50.9062 151.245 50.0436C149.162 49.181 146.927 48.7428 144.671 48.7548H144.43C139.742 48.8785 135.284 50.8052 131.987 54.1318C128.691 57.4585 126.813 61.9274 126.744 66.6038C126.701 68.898 127.119 71.1777 127.974 73.308C128.829 75.4384 130.104 77.3761 131.723 79.0066C133.306 80.6097 135.194 81.8807 137.277 82.745C139.36 83.6092 141.595 84.0492 143.851 84.039H143.822ZM145.183 31.2329H144.71C125.413 31.4927 109.628 47.4365 109.396 66.8347C109.294 71.3508 110.096 75.8418 111.758 80.0443C113.419 84.2468 115.905 88.076 119.071 91.3071C122.236 94.5383 126.017 97.1063 130.191 98.8605C134.365 100.615 138.849 101.52 143.379 101.522H143.861C163.158 101.263 178.943 85.3187 179.175 65.9206C179.271 61.4077 178.463 56.921 176.798 52.7235C175.133 48.526 172.645 44.7021 169.479 41.476C166.313 38.2499 162.534 35.6863 158.362 33.9357C154.19 32.1851 149.709 31.2826 145.183 31.281V31.2329ZM143.851 83.2981C141.669 83.2985 139.509 82.8648 137.498 82.0224C135.486 81.18 133.663 79.9458 132.135 78.392C130.608 76.8382 129.407 74.9962 128.602 72.9737C127.797 70.9512 127.405 68.7889 127.449 66.6134C127.495 62.1159 129.294 57.8128 132.466 54.6146C135.637 51.4163 139.931 49.5736 144.44 49.4764H144.671C146.852 49.4823 149.009 49.9216 151.017 50.7687C153.025 51.6158 154.844 52.8536 156.366 54.4098C157.889 55.966 159.086 57.8093 159.886 59.832C160.686 61.8547 161.073 64.0162 161.026 66.19C160.979 70.6875 159.18 74.9905 156.009 78.1888C152.838 81.3871 148.544 83.2298 144.035 83.327L143.851 83.2981Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M109.589 72.9258C109.274 72.9278 108.961 72.8667 108.669 72.746C108.377 72.6254 108.113 72.4477 107.891 72.2234C107.643 71.9704 107.449 71.6689 107.323 71.3377C107.197 71.0065 107.14 70.6529 107.158 70.299L107.254 62.534C107.247 62.1899 107.307 61.8478 107.433 61.5272C107.558 61.2067 107.746 60.9141 107.986 60.6663C108.225 60.4186 108.512 60.2205 108.828 60.0836C109.145 59.9467 109.485 59.8736 109.831 59.8687H109.975L126.986 60.8309C127.49 60.9356 127.937 61.2246 128.239 61.6412C128.541 62.0578 128.675 62.5719 128.616 63.0824L128.539 69.1925C128.579 69.7172 128.429 70.2389 128.118 70.6639C127.807 71.0889 127.354 71.3893 126.841 71.5114L109.802 72.9258H109.589Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M109.83 60.2823H109.956L126.966 61.2445C127.671 61.2445 128.25 62.1393 128.24 63.1689L128.172 69.2789C128.172 70.2411 127.536 71.2033 126.812 71.2033L109.763 72.5504H109.589C109.322 72.5539 109.058 72.5037 108.811 72.4028C108.564 72.302 108.339 72.1526 108.152 71.9635C107.947 71.75 107.787 71.498 107.681 71.2221C107.575 70.9461 107.525 70.6519 107.534 70.3566L107.621 62.5819C107.615 62.2862 107.667 61.9922 107.774 61.7166C107.882 61.4409 108.043 61.1892 108.248 60.9756C108.453 60.762 108.699 60.5909 108.97 60.4719C109.242 60.353 109.534 60.2885 109.83 60.2823ZM109.83 59.5414C109.037 59.5565 108.282 59.8835 107.729 60.4511C107.176 61.0187 106.87 61.781 106.878 62.5723L106.782 70.347C106.763 70.7268 106.822 71.1063 106.955 71.4628C107.088 71.8193 107.291 72.1453 107.554 72.4212C107.816 72.6972 108.131 72.9174 108.481 73.0686C108.831 73.2198 109.208 73.2988 109.589 73.301H109.83L126.87 71.9058C127.477 71.7816 128.019 71.4422 128.395 70.9505C128.771 70.4588 128.956 69.8479 128.915 69.2308L128.992 63.1112C129.053 62.5054 128.882 61.8992 128.513 61.414C128.145 60.9287 127.606 60.6001 127.005 60.4939L109.995 59.5317L109.83 59.5414Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M160.881 71.001C160.346 70.9544 159.85 70.7007 159.501 70.2942C159.151 69.8878 158.974 69.3609 159.009 68.8264L159.086 62.7164C159.07 62.1691 159.259 61.6353 159.615 61.219C159.972 60.8028 160.471 60.5339 161.016 60.4648L178.229 59.7432C178.525 59.7425 178.818 59.8019 179.09 59.9177C179.362 60.0335 179.607 60.2033 179.811 60.4167C180.026 60.6353 180.194 60.8942 180.306 61.1784C180.419 61.4625 180.474 61.7662 180.468 62.0717L180.381 68.8842C180.381 69.513 180.133 70.1166 179.691 70.5649C179.248 71.0131 178.647 71.27 178.017 71.2801L160.881 71.001Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M178.239 60.1186C178.481 60.1182 178.72 60.1656 178.944 60.2581C179.168 60.3506 179.371 60.4863 179.541 60.6574C179.722 60.8415 179.864 61.0598 179.958 61.2994C180.052 61.5391 180.098 61.7952 180.091 62.0526L180.014 68.8651C180.011 69.4011 179.798 69.9146 179.418 70.2945C179.039 70.6745 178.525 70.8903 177.988 70.8954L160.891 70.6259C160.454 70.582 160.051 70.369 159.77 70.0326C159.488 69.6962 159.35 69.2633 159.385 68.8266L159.463 62.7166C159.432 62.2553 159.578 61.7996 159.872 61.4422C160.166 61.0847 160.585 60.8523 161.045 60.7921L178.152 60.0705H178.239V60.1186ZM178.239 59.3296H178.123L161.016 60.0512C160.373 60.1165 159.778 60.4212 159.351 60.9046C158.923 61.388 158.695 62.0145 158.71 62.6588L158.643 68.7689C158.622 69.0829 158.663 69.3979 158.764 69.6961C158.865 69.9942 159.024 70.2695 159.232 70.5063C159.44 70.743 159.693 70.9367 159.975 71.0761C160.258 71.2155 160.566 71.2979 160.881 71.3187L177.978 71.5881C178.709 71.5934 179.412 71.3116 179.935 70.8038C180.459 70.296 180.761 69.603 180.776 68.8747L180.853 62.0623C180.865 61.7147 180.807 61.3683 180.681 61.0437C180.556 60.7191 180.367 60.4228 180.125 60.1724C179.883 59.9221 179.593 59.7227 179.272 59.5862C178.952 59.4497 178.607 59.3788 178.258 59.3777L178.239 59.3296Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M140.899 51.8049C140.404 51.8539 139.908 51.7232 139.502 51.4369C139.096 51.1505 138.808 50.7277 138.689 50.2461L137.474 32.0218C137.446 31.6593 137.495 31.2951 137.616 30.9523C137.737 30.6094 137.929 30.2954 138.178 30.0301C138.438 29.7479 138.755 29.5227 139.107 29.3687C139.459 29.2146 139.839 29.1351 140.223 29.1352L148.319 29.0294C148.695 29.0188 149.069 29.088 149.417 29.2323C149.764 29.3766 150.077 29.5927 150.335 29.8665C150.571 30.1251 150.75 30.4297 150.861 30.761C150.972 31.0922 151.013 31.443 150.982 31.7909L149.322 50.0729C149.2 50.5822 148.899 51.0315 148.475 51.34C148.051 51.6486 147.53 51.7963 147.006 51.7568L140.899 51.8049Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M148.367 28.6639V29.4048C148.685 29.4002 149 29.4621 149.292 29.5864C149.585 29.7106 149.848 29.8946 150.065 30.1265C150.269 30.3518 150.423 30.6172 150.518 30.9056C150.612 31.1939 150.645 31.4988 150.615 31.8007L148.946 50.0827C148.888 50.7659 147.981 51.3625 147.016 51.3817L140.908 51.4587C139.944 51.4587 139.114 50.9102 139.075 50.2559L137.84 31.9932C137.82 31.6815 137.863 31.3689 137.967 31.0744C138.072 30.7799 138.235 30.5098 138.448 30.2804C138.675 30.0373 138.95 29.8434 139.255 29.711C139.561 29.5785 139.89 29.5103 140.223 29.5107L148.328 29.3952V28.6543L148.367 28.6639ZM148.328 28.6543L140.223 28.7601C139.798 28.7594 139.377 28.8454 138.987 29.0129C138.596 29.1804 138.244 29.4258 137.952 29.7341C137.66 30.0423 137.435 30.4069 137.289 30.8053C137.144 31.2038 137.082 31.6276 137.107 32.0509L138.323 50.2752C138.435 50.858 138.761 51.3781 139.238 51.7339C139.714 52.0897 140.306 52.2558 140.899 52.1996H140.947L147.016 52.1226C147.624 52.1636 148.226 51.9877 148.716 51.6263C149.206 51.2649 149.55 50.7417 149.689 50.1501L151.358 31.8681C151.404 31.455 151.36 31.0368 151.229 30.6421C151.098 30.2475 150.884 29.8857 150.6 29.5814C150.316 29.2772 149.969 29.0377 149.584 28.8793C149.198 28.721 148.783 28.6475 148.367 28.6639L148.328 28.6543Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M140.899 51.8049C140.404 51.8539 139.908 51.7232 139.502 51.4369C139.096 51.1505 138.808 50.7277 138.689 50.2461L137.474 32.0218C137.446 31.6593 137.495 31.2951 137.616 30.9523C137.737 30.6094 137.929 30.2954 138.178 30.0301C138.438 29.7479 138.755 29.5227 139.107 29.3687C139.459 29.2146 139.839 29.1351 140.223 29.1352L148.319 29.0294C148.695 29.0188 149.069 29.088 149.417 29.2323C149.764 29.3766 150.077 29.5927 150.335 29.8665C150.571 30.1251 150.75 30.4297 150.861 30.761C150.972 31.0922 151.013 31.443 150.982 31.7909L149.322 50.0729C149.2 50.5822 148.899 51.0315 148.475 51.34C148.051 51.6486 147.53 51.7963 147.006 51.7568L140.899 51.8049Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M148.367 28.6639V29.4048C148.685 29.4002 149 29.4621 149.292 29.5864C149.585 29.7106 149.848 29.8946 150.065 30.1265C150.269 30.3518 150.423 30.6172 150.518 30.9056C150.612 31.1939 150.645 31.4988 150.615 31.8007L148.946 50.0827C148.888 50.7659 147.981 51.3625 147.016 51.3817L140.908 51.4587C139.944 51.4587 139.114 50.9102 139.075 50.2559L137.84 31.9932C137.82 31.6815 137.863 31.3689 137.967 31.0744C138.072 30.7799 138.235 30.5098 138.448 30.2804C138.675 30.0373 138.95 29.8434 139.255 29.711C139.561 29.5785 139.89 29.5103 140.223 29.5107L148.328 29.3952V28.6543L148.367 28.6639ZM148.328 28.6543L140.223 28.7601C139.798 28.7594 139.377 28.8454 138.987 29.0129C138.596 29.1804 138.244 29.4258 137.952 29.7341C137.66 30.0423 137.435 30.4069 137.289 30.8053C137.144 31.2038 137.082 31.6276 137.107 32.0509L138.323 50.2752C138.435 50.858 138.761 51.3781 139.238 51.7339C139.714 52.0897 140.306 52.2558 140.899 52.1996H140.947L147.016 52.1226C147.624 52.1636 148.226 51.9877 148.716 51.6263C149.206 51.2649 149.55 50.7417 149.689 50.1501L151.358 31.8681C151.404 31.455 151.36 31.0368 151.229 30.6421C151.098 30.2475 150.884 29.8857 150.6 29.5814C150.316 29.2772 149.969 29.0377 149.584 28.8793C149.198 28.721 148.783 28.6475 148.367 28.6639L148.328 28.6543Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M139.992 102.533C139.647 102.534 139.306 102.461 138.991 102.32C138.677 102.179 138.396 101.973 138.168 101.715C137.873 101.375 137.653 100.976 137.523 100.544C137.393 100.113 137.357 99.6594 137.416 99.2131L139.017 83.2981C139.119 82.7522 139.412 82.2598 139.842 81.9077C140.273 81.5557 140.815 81.3665 141.371 81.3737L147.44 81.2871C147.987 81.2524 148.527 81.4242 148.952 81.7683C149.378 82.1124 149.658 82.6036 149.737 83.1442L150.952 99.0206C150.998 99.4783 150.947 99.9402 150.804 100.377C150.661 100.815 150.429 101.218 150.123 101.561C149.887 101.829 149.598 102.044 149.274 102.193C148.95 102.342 148.598 102.422 148.241 102.427L139.992 102.533Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M147.479 80.912V81.6529C147.924 81.6304 148.361 81.7719 148.708 82.0505C149.055 82.3291 149.288 82.7253 149.36 83.1636L150.586 99.04C150.624 99.4469 150.579 99.8573 150.453 100.246C150.327 100.635 150.123 100.994 149.852 101.301C149.648 101.531 149.399 101.716 149.12 101.845C148.841 101.974 148.539 102.044 148.232 102.052L139.992 102.158C139.698 102.159 139.408 102.099 139.14 101.979C138.872 101.86 138.633 101.684 138.438 101.465C138.181 101.16 137.99 100.805 137.877 100.422C137.764 100.039 137.732 99.6377 137.782 99.2421L139.384 83.3368C139.475 82.8785 139.725 82.467 140.09 82.1748C140.456 81.8825 140.913 81.7284 141.381 81.7395L147.45 81.6529V80.912H147.479ZM147.45 80.912L141.381 80.989C140.729 80.9807 140.095 81.2063 139.596 81.6249C139.096 82.0435 138.764 82.6271 138.66 83.2694L137.049 99.1748C136.967 99.6173 136.981 100.072 137.09 100.509C137.198 100.945 137.399 101.354 137.678 101.707C137.958 102.061 138.31 102.35 138.71 102.557C139.111 102.765 139.551 102.884 140.001 102.908L148.212 102.793C148.675 102.759 149.126 102.631 149.537 102.416C149.948 102.2 150.309 101.902 150.599 101.541C150.889 101.18 151.101 100.762 151.222 100.315C151.342 99.8685 151.369 99.4015 151.3 98.9438L150.074 83.077C149.991 82.4497 149.675 81.8761 149.19 81.4686C148.705 81.061 148.084 80.8488 147.45 80.8735V80.912Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M186.343 111.145C175.083 111.145 153.538 100.176 132.022 82.6729C118.89 71.9635 107.717 60.4747 100.578 50.2849C93.4377 40.0951 91.0931 32.1761 94.2385 28.3369L94.8174 28.8084C91.9229 32.3108 94.2674 39.9893 101.185 49.8519C108.296 59.9936 119.411 71.4439 132.533 82.0956C159.424 103.996 186.295 115.773 192.422 108.258L193.001 108.73C191.621 110.375 189.344 111.145 186.343 111.145Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M197.815 99.1748C199.393 99.1748 200.671 97.8996 200.671 96.3267C200.671 94.7537 199.393 93.4785 197.815 93.4785C196.238 93.4785 194.959 94.7537 194.959 96.3267C194.959 97.8996 196.238 99.1748 197.815 99.1748Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M197.816 93.8439C198.308 93.8439 198.789 93.9895 199.199 94.2623C199.608 94.5351 199.927 94.9228 200.115 95.3764C200.304 95.8301 200.353 96.3292 200.257 96.8108C200.161 97.2923 199.924 97.7347 199.576 98.0818C199.228 98.429 198.784 98.6655 198.301 98.7613C197.818 98.857 197.318 98.8079 196.863 98.62C196.408 98.4321 196.019 98.1139 195.746 97.7057C195.472 97.2974 195.326 96.8174 195.326 96.3264C195.329 95.6688 195.592 95.0389 196.058 94.5739C196.525 94.1088 197.156 93.8465 197.816 93.8439ZM197.816 93.103C197.176 93.1011 196.55 93.2886 196.017 93.6416C195.484 93.9946 195.069 94.4974 194.823 95.0862C194.576 95.6751 194.511 96.3235 194.635 96.9494C194.758 97.5753 195.065 98.1506 195.517 98.6023C195.969 99.0541 196.545 99.362 197.172 99.4872C197.799 99.6124 198.449 99.5491 199.041 99.3054C199.632 99.0617 200.137 98.6486 200.493 98.1183C200.848 97.588 201.038 96.9644 201.038 96.3264C201.031 95.4782 200.688 94.6672 200.085 94.0692C199.482 93.4712 198.666 93.1344 197.816 93.1319V93.103Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M83.8377 71.8766L81.6668 60.7053L70.4648 58.5403L81.6668 56.3754L83.8377 45.2041L86.0086 56.3754L97.2009 58.5403L86.0086 60.7053L83.8377 71.8766ZM74.3821 58.5403L82.2939 60.0703L83.8377 67.97L85.3718 60.0703L93.2836 58.5403L85.3718 57.0104L83.8377 49.1107L82.2939 57.0104L74.3821 58.5403Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M205.303 35.3992L206.827 43.02L206.924 43.5107L207.416 43.6069L215.058 45.0791L207.416 46.5609L206.924 46.6571L206.827 47.1478L205.351 54.7589L203.865 47.1478L203.769 46.6571L203.277 46.5609L195.645 45.0791L203.277 43.6069L203.769 43.5107L203.865 43.02L205.303 35.3992ZM205.303 31.4927L203.084 42.8756L191.679 45.0791L203.084 47.2922L205.303 58.6751L207.512 47.2922L218.927 45.0791L207.512 42.8756L205.303 31.4927Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M196.156 33.9463L195.548 37.0542L192.422 37.6604L195.548 38.2666L196.156 41.3745L196.754 38.2666L199.88 37.6604L196.754 37.0542L196.156 33.9463Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M197.844 68.894L198.365 71.5497L201.028 72.0693L198.365 72.5793L197.844 75.235L197.333 72.5793L194.67 72.0693L197.333 71.5497L197.844 68.894Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M197.844 77.1884L197.015 72.9258L192.711 72.0983L197.015 71.2612L197.844 66.9697L198.684 71.2612L202.987 72.0983L198.684 72.9258L197.844 77.1884ZM196.629 72.0694L197.651 72.2619L197.844 73.2818L198.047 72.2619L199.07 72.0694L198.047 71.8674L197.844 70.8474L197.651 71.8674L196.629 72.0694Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M20.8037 42.0195C23.6011 40.8664 26.6652 40.5131 29.6527 40.9992C32.6401 41.4852 35.4327 42.7915 37.7176 44.7714C39.9388 46.8228 41.5438 49.4501 42.3532 52.3593C43.1626 55.2685 43.1444 58.345 42.3006 61.2444C45.0989 61.8532 47.7472 63.0127 50.0905 64.6551C52.4337 66.2975 54.4248 68.3897 55.9469 70.8092C57.4691 73.2287 58.4918 75.9268 58.9551 78.7454C59.4184 81.5641 59.3131 84.4466 58.6452 87.2241",fill:"white"}),(0,Nt.jsx)("path",{d:"M59.0023 87.3011L58.24 87.1279C58.8957 84.4018 59.0001 81.5727 58.5471 78.8058C58.0942 76.039 57.0928 73.39 55.6017 71.0134C54.1106 68.6368 52.1596 66.5804 49.8626 64.9642C47.5656 63.348 44.9686 62.2045 42.2235 61.6005L41.8376 61.5139L41.963 61.129C42.7812 58.2922 42.7941 55.2846 42.0003 52.4408C41.2065 49.5971 39.6371 47.0288 37.4668 45.0216C35.227 43.1026 32.4986 41.8388 29.5833 41.3701C26.668 40.9014 23.6796 41.246 20.9485 42.3659L20.6108 41.6827C23.4781 40.4739 26.6294 40.0972 29.702 40.596C32.7745 41.0947 35.6433 42.4487 37.9782 44.502C40.2199 46.5404 41.8559 49.1547 42.7068 52.0586C43.5577 54.9625 43.5908 58.044 42.8024 60.9654C45.6004 61.6333 48.239 62.8444 50.5676 64.5295C52.8961 66.2146 54.8689 68.3407 56.3733 70.7863C57.8777 73.232 58.8841 75.9492 59.3352 78.7829C59.7863 81.6166 59.6732 84.5111 59.0023 87.3011Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M144.382 4.64697H143.639V18.6568H144.382V4.64697Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M163.023 21.6304L168.658 11.6812L163.023 21.6304Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M168.311 11.4963L162.688 21.4458L163.335 21.8096L168.959 11.8601L168.311 11.4963Z",fill:"black"}),(0,Nt.jsx)("rect",{x:"231.566",y:"48.0718",width:"27.4404",height:"33.023",fill:"url(#pattern1_1253_33753)"}),(0,Nt.jsx)("path",{d:"M259.952 41.7307C256.962 41.9964 254.071 42.9299 251.493 44.462C248.915 45.9942 246.715 48.0856 245.058 50.5811C243.401 53.0767 242.329 55.9123 241.92 58.8776C241.512 61.8429 241.779 64.8618 242.7 67.7104C234.692 64.9488 224.889 69.9138 222.39 77.9771C214.768 77.0149 207.175 84.1353 207.724 91.7849L274.685 92.6508L273.161 41.2207L259.952 41.7307Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M207.358 91.833C207.318 89.91 207.676 87.9994 208.411 86.221C209.146 84.4425 210.241 82.8345 211.627 81.4976C213.014 80.1608 214.663 79.1239 216.47 78.4519C218.277 77.7799 220.204 77.4872 222.13 77.5923C223.591 73.7004 226.441 70.4831 230.134 68.5566C233.826 66.6302 238.102 66.1302 242.141 67.1523C241.321 64.2786 241.147 61.2601 241.631 58.3117C242.115 55.3633 243.245 52.5576 244.94 50.0943C246.635 47.631 248.854 45.5708 251.439 44.0603C254.024 42.5498 256.911 41.6263 259.894 41.3555L259.952 42.0964C257.017 42.36 254.18 43.2789 251.65 44.785C249.12 46.2911 246.962 48.3457 245.337 50.7966C243.711 53.2474 242.66 56.0317 242.26 58.943C241.861 61.8542 242.123 64.8179 243.029 67.6142L243.26 68.3166L242.556 68.076C238.593 66.894 234.327 67.2766 230.64 69.1448C226.952 71.0129 224.127 74.2235 222.747 78.1119L222.661 78.4102H222.342C220.507 78.2723 218.663 78.5173 216.928 79.1295C215.193 79.7418 213.605 80.7079 212.265 81.9663C210.925 83.2247 209.863 84.7477 209.146 86.4382C208.429 88.1287 208.073 89.9496 208.101 91.7849L207.358 91.833Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M95.3359 43.6788C99.7776 34.1125 106.948 26.0745 115.942 20.5813C124.935 15.0881 135.347 12.3865 145.86 12.8179C156.374 13.2494 166.517 16.7946 175.008 23.0052C183.498 29.2159 189.954 37.8131 193.559 47.7096C197.164 57.6061 197.757 68.3575 195.262 78.6041C192.766 88.8508 187.296 98.1325 179.541 105.275C171.787 112.419 162.097 117.102 151.697 118.734C141.297 120.366 130.654 118.872 121.114 114.443L121.431 113.76C130.837 118.127 141.329 119.599 151.583 117.991C161.836 116.382 171.389 111.764 179.034 104.722C186.679 97.6801 192.072 88.5294 194.532 78.4273C196.992 68.3253 196.408 57.7257 192.854 47.9688C189.299 38.2119 182.935 29.7361 174.564 23.6131C166.194 17.49 156.193 13.9949 145.828 13.5695C135.463 13.1441 125.198 15.8077 116.332 21.2234C107.465 26.639 100.396 34.5636 96.0166 43.9949L95.3359 43.6788Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M197.304 76.0818C200.906 76.0818 203.827 73.1696 203.827 69.5773C203.827 65.9849 200.906 63.0728 197.304 63.0728C193.702 63.0728 190.782 65.9849 190.782 69.5773C190.782 73.1696 193.702 76.0818 197.304 76.0818Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M197.285 76.4474C195.948 76.4442 194.642 76.0535 193.524 75.3229C192.407 74.5923 191.526 73.5532 190.99 72.3324C190.454 71.1116 190.286 69.7617 190.506 68.4472C190.726 67.1327 191.324 65.9103 192.228 64.929C193.132 63.9476 194.303 63.2497 195.598 62.9203C196.893 62.5908 198.256 62.6441 199.521 63.0735C200.786 63.5029 201.899 64.29 202.723 65.3388C203.547 66.3877 204.048 67.653 204.164 68.9806C204.244 69.88 204.144 70.7861 203.872 71.647C203.599 72.508 203.159 73.3069 202.577 73.9978C201.994 74.6888 201.28 75.2583 200.477 75.6737C199.673 76.0891 198.795 76.3422 197.893 76.4185C197.693 76.4377 197.491 76.4474 197.285 76.4474ZM197.285 63.4479C197.105 63.4383 196.924 63.4383 196.744 63.4479C195.533 63.5514 194.38 64.0107 193.43 64.7679C192.481 65.5251 191.778 66.5461 191.41 67.7017C191.043 68.8574 191.027 70.0958 191.365 71.2603C191.704 72.4248 192.381 73.4631 193.311 74.2439C194.241 75.0247 195.382 75.5128 196.59 75.6467C197.799 75.7805 199.02 75.5539 200.099 74.9957C201.178 74.4374 202.067 73.5725 202.653 72.5104C203.239 71.4483 203.497 70.2366 203.392 69.0287C203.264 67.5015 202.565 66.0781 201.434 65.0409C200.302 64.0036 198.822 63.4281 197.285 63.4287V63.4479Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M203.797 69.0095C204.164 73.3202 198.848 76.7071 197.864 76.0528C197.256 75.6679 198.539 73.9456 198.471 70.5394C198.385 66.017 196.021 63.7173 196.735 63.1015C197.68 62.2836 203.44 64.718 203.797 69.0095Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M198.144 76.4955C197.962 76.4999 197.782 76.4567 197.623 76.3705C197.121 76.0433 197.285 75.4082 197.517 74.5423C198.485 71.3472 198.188 67.9033 196.687 64.9202C196.243 63.9002 195.953 63.217 196.455 62.7744C196.957 62.3318 198.472 62.7167 199.041 62.9476C201.405 63.9098 203.865 66.1229 204.126 68.9422C204.406 72.2137 201.685 74.7732 200.025 75.7739C199.463 76.158 198.819 76.4052 198.144 76.4955ZM197.275 63.3133C197.162 63.3005 197.047 63.3241 196.947 63.3806C196.87 63.5153 197.16 64.1793 197.372 64.6604C198.252 66.4968 198.742 68.4953 198.809 70.5298C198.831 71.9494 198.636 73.3641 198.23 74.7251C198.117 75.0602 198.055 75.4106 198.047 75.7643C198.671 75.7199 199.266 75.4884 199.755 75.1003C201.685 73.8687 203.614 71.5209 203.383 69.048C203.142 66.1614 200.363 64.314 198.761 63.6693C198.305 63.4605 197.815 63.3366 197.314 63.3036L197.275 63.3133Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M138.301 86.7591L137.863 87.3579L156.758 101.088L157.195 100.489L138.301 86.7591Z",fill:"black"}),(0,Nt.jsx)("rect",{x:"157.089",y:"75.3794",width:"52.7967",height:"51.1896",fill:"url(#pattern2_1253_33753)"}),(0,Nt.jsx)("path",{d:"M37.6984 94.3154C41.0754 96.8364 44.9734 99.0398 49.2284 99.1264C53.4834 99.213 58.0375 96.5188 58.6646 92.391C59.0699 89.7737 57.8831 87.2046 56.7349 84.8087C51.7659 74.6382 46.1505 63.746 35.8555 58.4923C32.4496 56.7603 27.9823 55.8558 24.9431 58.1459C22.2897 60.1377 21.7301 63.7941 21.8169 67.056C22.0237 72.9796 23.5916 78.7767 26.4 84.0005C28.7639 88.571 33.5399 91.2074 37.6984 94.3154Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M60.1699 91.6502C64.724 87.0508 72.52 85.2707 78.9749 87.3683C85.4297 89.466 90.1382 95.3162 90.3215 101.465C96.622 95.5471 107.882 94.5849 115.321 99.319C122.76 104.053 125.442 113.896 121.274 121.161",fill:"white"}),(0,Nt.jsx)("path",{d:"M121.621 121.344L120.974 120.969C125.065 113.849 122.451 104.284 115.185 99.6368C107.92 94.9893 96.8532 95.913 90.6299 101.734L90.0317 102.302V101.475C89.8001 95.4415 85.2557 89.7933 78.8877 87.7246C72.5197 85.6558 64.9938 87.359 60.4687 91.9198L59.938 91.3906C64.6079 86.6662 72.4811 84.8668 79.1192 87.0222C85.4969 89.0909 90.1378 94.6333 90.6975 100.666C97.2198 95.0951 108.2 94.3157 115.571 99.0113C123.184 103.861 125.905 113.887 121.621 121.344Z",fill:"black"})]}),(0,Nt.jsxs)("defs",{children:[(0,Nt.jsx)("pattern",{id:"pattern0_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Nt.jsx)("use",{xlinkHref:"#image0_1253_33753",transform:"scale(0.00574713 0.00581395)"})}),(0,Nt.jsx)("pattern",{id:"pattern1_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Nt.jsx)("use",{xlinkHref:"#image1_1253_33753",transform:"scale(0.00421941 0.0034965)"})}),(0,Nt.jsx)("pattern",{id:"pattern2_1253_33753",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Nt.jsx)("use",{xlinkHref:"#image2_1253_33753",transform:"scale(0.00347222 0.00357143)"})}),(0,Nt.jsx)("clipPath",{id:"clip0_1253_33753",children:(0,Nt.jsx)("rect",{width:"262.44",height:"130.861",fill:"white",transform:"translate(16.7515 0.759766)"})}),(0,Nt.jsx)("image",{id:"image0_1253_33753",width:"174",height:"172",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAK4AAACsCAYAAADixJflAAAACXBIWXMAAFJGAABSRgFONRUWAAASaklEQVR4Xu2c65LlNgiE5VTe/5WdHykSphdo0MW30Ve1NSMLYRm12jpnNznO82ybezmO479FOM/ziGI3//IXC9hsnsgW7kPYTlvj2EeFzRvZjrt5JVu4m1eyhbt5Jb9CuMdxnPorp837+RXC3XyPzwv3tzrt198y++uwDyPC/eJ3xH+zgE0fd/817pdF29p23KWgeI/jOL8qpKv5/Bl3Nr1nR29Mb77fzhZugapjnud5RPEsnwh6C/tP9hm3SI+IPHHK8cHqE1j/b+VVZ1zmUFm+/sHlN/Cao8Ks12Z2vJw9s/Ff5MnP/xrhznZHlo/19/BUEbyRV51xZ4gpm2O2yPQbIzuHjc+tZ9zftoj7bD2PWxxXu9nbxFsRnxWbGZdB13BWzjdx+xn3iUWPPpTIfNlRQos2I/beD0LZ+vXmfyq3CFe+mM8W/UrY4rJ+ZFY8Ci+7gZBq/FO5Rbir0B+A2AJ5MWwzWZsuuld1g1Zjs/ESl41/OreccVfCBItYZ+zs4jLBen0RK8/8I3mfdqb+lONWPgR5DlQV/iwy8/Virpgzm9/V3Pp12Ep6HKJnjCbzIWwFo/POcMU9KnzKcTVPKK7HCoesnHd77i/5s/dYzauEm/nQNQO2ONYcvGt4XX+AxHgdU3lONl9N5v5v4BVHBXxNVT/AzH6FZ/JFMey1m8k/QjV/Nf4KXvGtghRMnKhSwNnOUs1nzVe3M8+D92TxEdX5azJzvYpHHhWi4uKiV+Ij9OsZX9XSloXTG8nLx86EOp8lTG9c9nk8Rsc/hUsct/KqYWLAayheKyZzX6HqSJEL6VzWhsPfMzDX8+5p9Wep1O8qLnNcy1lmMlpcHC/z9TaEJ8QsMh4d3Mql3VvXsbrJ5Xrk6G/hEsdtjTuFkIkRcME9MY04lMYTd2u1PK3FosvUKrNZqnN6E5cId3XRrPxaVBm8HFashXW/yPVay4nPg+X+OpcIdxWRozBR6COA5diZcfoni9egU3u5cI49m7ES39p7XPqSM261eBUi55E/rfHzYGaRmLitPFa7Ig5P5NmaZp9NqMTeyVLHzRa3l6yjWAvfC7sfOjLGW21PzNZcMb93LQKdXK7rdjbXXSwVbtUdeugtsCcKWTwUBjqXJ6CKGKyNZM0r+4zRJvCoxM/Y+LNYKlxh9GFHXaAyTi9iZsNZIsf+1mzReuO92MpzCDi2+nxI71yymyPLJWfcEXoLpdEisfrweuZe5/nn96HRNWs8tq1Y9vy6H+9rxct172eGSqzQMybiEsetgDvzPHOf+jP97FpmvMzHi4+cxevTc49imiISeEYkPQ7ozSc7vrVabMRjHRfdg4lKC8oSKcvBQGGxXKyfoZ9H2l6c1y/P7PXhtQo943vGeBznw/5ZY2axEBxj5cjEYBzDmp+3aXS/NSeJi5w1u2ky6Hn0og1jNFeVW4TLxJlZoCgmEm4k2mi8149Y+bPt3ue9mzvm9kjhZqgWC+M9Z/PmFol1Jt78sB+JnHolM9ayhyVnXLbI8oCzHpTdD/ujYuu5Hcef/6tRL95rIyye3c+K0Wjhs7porPjM+PO851+bTXfcqhNGsFxWYb2FxmuaO5y1B9lMeK21vEMfh3/GxjGsvmyDrWS6467YfVKgjNPoeN2H89LXdH4rX08bYfGsjXjPo9s4xnrOKL7SfzXTHXcVbHdrd/acuupWTyUSUVQn7GM11Vg1rYyfza3CZUcBRL/memALN9JmsHiWP9NujdeU9WcYXYcZXCbcTNGz9I6tCO2NZGoRCTcr6t76z2T6GZeBDxoVsIqMw/HH4f+VMZtPdWHYeJavNx7j5Jnld/mpnVlfz4rWIrNe+h5ZovjbHLcah8KzhGiNrRbrrUS1iDjh7SfXvHhNdk11LIvTRPkvc9zzzH3fZ/VbTurlwXswB6vOpxrPmBWvaxPVKaqNdy2iGl/Ffd7zIscdIXJS7RiZRf2N6JrpGkVOmzGJ1VhvVWG54/acbTRalN4CSD/eS7eZc7LFYfFsPMLGV9tIdRNj/Vj+HiR/Vg/RHKY5rrc7Rndu5LZyLVuI3wrWyKojxuv+nnWzGNWChjpuZoeIaKM4T9Qs93ny/6oA23KtFZgdP3s+K8br2kb90s6s11VQx83skkwMwna7hXaAioNsfuKZiNePdfXGZ9d+BtRxZTLRpHomHOWVna0L5r22ULTMaUbbyGg866+2GbLpPfdk+SLRe8axwqmp41bocV5B71jMY+14FOrswnwVq57YL79nnTaKGdFEBHXcKpnJ9ex0wSu8jB91pCrsfle3Ed1vjfX6vTcYoutuxbLxvSxx3GiybAda/ZEDW8Xe+Fg1xT7Wz+rP4rJEbj7Vcb1dZ5EVrfyuc2Mbx1qweVX7WZsxezzrx1pZ9cX6Y829fFeA95vquDNgZ6YodsNBgVr9Xl9E1oUZ2fipjjsD3OHHYf8rJm+c10ZY/GgbqfZX2wiL99pRjSPQofG6N66XWxw3c/bJukJPkX876LpatHjNoxJbIZt3iePKrs2KCuPlDObtYD2mWjTmPAjrH4XlXz1fHY/11uuH62ONn4G37sgSx83sZhEde/VLPz5IdlNsckRrwWAii+jdBEscN0KLVtq6D3ebJXwNcyRWjGo/i2ewfCz/zHhdazQIa33wuvxBJ8a1it7AbP4eSxzXo3d3eQ/c6xCbf7FqWFmX1n4KPrNOVn7vrRpxueP2UnmoHlh+1o+w+JnOabURK94SlOeMGdDNvT5EnNvrtxh2XLabZtBbyE0/ei2rjoiaWKGRaY47a0IebAfPvj/Lx+7P2lWq+Vg8a7f2033Z/TTioDKmx1EZw46bIdpxUWGinbtZg6zDzA9SK/irtbFzzSi6UFGxPIHPbldh41k/MhrPxlvxnplgPK6Pp5kVesKcR2tt6FNlhqyrCtGu38wnEqcXmxH3TC1h3r908pk30li72uvD35mjzG4jT+sfbSNePP70qN5vFMl/yRmXwXbpPuuu5T8xQF2l1rrmTJjRWrJ1rjDtW4VRvOLpglUetuoE1XjG7PGsjVTiveOaXBfxyu8Z42DzG+Vxjtvaz4e2dmmmcJv1ZN6O2b4qUx1XdmMkLKtfuymK1rpuUXEYi2r81bDnm9WWtbD+WPG4ntF6eUL33rKhjs6k42bOOGxHZZ014jz3GXc1mbVDtJDxmgZ1xN6ont5SjssmLVg704qRn1Ze5gwIi2ftKiwfy1+NZ7B8rI3XvPnI2uo/VrwnVi1YvF9GN0jKcTM7wMMTPQpX8mbuld1Imz6stcC+LJn17CHluLgrrHOJh7e7oh1o5fFgO76aj8HyV9vI7HjWRlC0LF4zQ+hZUo6rqe6gKN4687KCZTfMpg8ULvZZ69MrWLbWESnH1chNsjcTR7Xi9XUpihdrjR3pR5gzVfMxWD52/2ob0f265p6YtGgt2P1mU3bcFaArRztxO+58UJS4Bl7NmdiFyKV7BV923FWg047ucOZAbDxSjWeM5mPj2fNKG3/qflwP7DuOn98WtACWv8p0x80+iIA73btmxW/GsWqu+7y1qJxrq5rIMN1xo0JYWA8ju1Hnis5eOD7qr7ZHYfnZ/Vj86HgkirdEjGtlwfoZlpaWOW5rdpFYP8IceTNGVNPz5H9JVHHTGWsvTHNccUW2AzMT1uidzYqYgcWP9iNVx2OwfCx/pl+vH66ldz+9NvoNibD7ayIdTXPcym6KBLjPt9fj1ZmtoxfLzsWZvIxpjpuZTHRWRax+zwUsWD9SjUeqzse4YrxVR70+sl5yzXJSby20EemcmXllmOa4GTKuzGK2685DxOm1PbJrx9ZyhCHHzTxkFdmV7EGrDjcazxjNz+IRFs/6EUtokiOzHlfT5biZnZSJscCjhLc5su6w8Ylq6L3t2FpmYmYw5LgeI6JlTlTd/SyW9SNsfgiLHx2PsHjd1vWWukb52b2zMR4VI+py3AzonBmsg7/OY+WsPOzmf3Q9pY0xs8+sbHxFM0sct7WcM8pEj+Pnd8A6Rl+T3yVermF8C5gdz8YjLL6an8Vb4/W10fxV2HjWLyxz3AyWw+rr0a7c9CObH69ZsdUzsPRl3ZO5sMcyx23tfydlcdpV8eG9HMwJRttVRvOtHi9t/MmQtcnGC7iejGr+ZY7LdpLXH+1wb0dni7OJ65URT+ZtiPdgebPurFkm3Nb4hI4j/uoEHx7zRYK1ileJrzI6vgq7XyQeXXfPDDCfRTV+lB9zXSnciMzOFXqEuvkTS6y6jXEMb2OsQt9v6Rl3BlgQr+1tBNZGRvuR0ftX21m8cdV81fhR/lvvpzmu5ZqWOL247bp5rHpVhTg6vpfbHPc8439VZLX1GPld/2HjLarxyGj8aJvBxmN9W8t/G9RabT6SM5s7Ypnjjpx/MmO9h7dcZGODtdLCjfqF6O1okVnXLMscd2Ri6KIacYOMc3j9mTajOp71j8Lye/PFWmc/KyDeelkxLC7DcsedMUnNdtMcKMRMbGu2K1pG4cVexVLHzTxM5Tylwd3LHCIzFw2Ln90/Ox6pjtf9XuxMB62yzHGzZM5Qlnt4LrH5tzbsjbfCLb31mpVfU3JcmcioULTLersWPyBki2A5S+Qe1TbC4u9ut2a/1XTdM289HRPF601jtWdRctwZu7SSI3pgT+jVmC9hicQSEo7rrZ0XI9fZfUcoOa7epSzWozLWupdVFB0b5bf6Mo5VgeVb1cafVmwGbwzW16sl3p+tSS8lx10NOw5YYrXikC87LdagUkNvrNf/JEqO+ySqRc06lweLn91GvHg8e1qxFp5jRv1P4lWO65E5S33NdbVwvT4k46hZR66u0Wwe5bjnwHnIWwS9GdBRKg5T7a+2kSjeEi17fozRv2vHlrqw+d3NZY7LisyQonp98ru1IHg94onOzJyREY0/T/6tgzXGi7mKyx2356HxDIdO0tpPB0WntfLp8ZEzI8w5q8/HnJXlQ4fsmU8mprU/51PZPLO5zHFHyBYo4x7Yz9waY1ajN1/mGhK9mTBOfs/EI6xueH02lzvuKMyRPLF6DpwpLroa9lljsv0S48VlNiPGR/1C9EwVeuo5g9sdN7Monugy7pLJ7+G5M4qpgidE6xnZ3L26YL+OYTlnkFmXUR7juLKgliCybheJKSqkjMuKERfGci99TffJWCte+lsRPf/s+B5hZfP35K7yNwu4ikxBIrzx2SJW78/ctzofjGfOGMVnwM1Xce8ncPtRQTP7FVNZfBRgb7wn6ChfJBZvnJW/t346XzSe9V/JY44KreXc8Tj8/y1TBUtU7P6n8YoXLAdkIrB+l3Z2PG6YHnATtPb/HDAu6r+SRwk3AxZP/7RiPaF5YtVCQHFZ98E8Vr5IgGyzWHj3yArLE2V2LncKVnidcJFMEZnoKljOFLU9RChs8yHajTPzH5lfT99VTBFuthiz0A7jLaAl1siBdNtzT31NxniOnXW/zD30eOxjZObnwcSbybGKoQ9nung9D+EtfhUrT0Yo0eJHc8rkzsZ5NfTeEFHNsW9WfZ/IFMe9E+Z88jtzCKvPc0orFxNHtR+dsXo/ienZgG9gyHFHmeUIs/O05rubJ2S85sW2lnNcj+hZ8X5Z0bL7VmKv4ta/gJhVhNV5rOsobAsdU8l9HH3fl+rNxcbL3KyfUbzVdwe3CjdDz27PjtGiisYwIXj93kJHTix9Xs5MDTIxrfnOb8FqcDWPP+POKJYWA17D/F77OOyvoaL5YawXE7WvJHLbyrykVixuhMcLd7QAKFrMx/JH8VnHYm5tXa8IZZSqMLOw2o5w64ez1YhDZo8OHjqPNd5z75Xccc8so/XO8GnhfpknOPWdvOKosPKV01r8Srvi/j086Wx8B4//VkHwXtOzYK/e0fv3vj6jcdkz9hd5vHArizwCuw/rF7wNgGdti2jzsPuzfg07s7+Bxwv3CqLF611YSxRRLibq2Vx9v9ls4XbAXt8jTlYR+2/ms98q9J4pM6zMvcnxecddIaxMTn1eZR/8ZjPi+G/hs47bmv9hZ7VjeufH3ntV5luJfTOP/x53hPP0/ypz9aLOPqtWx1fj38anHdfjbleqvsrvnu8T+fwZF2HnTat/5veePV9Djd7zi3z6qBBhCUhfw/4ewUXMzvfb+NVHhch1rQ90FZferOVXCncm+/x5D7/2qDALEesW7bVsx928ku24L2B/kPuTLdyXcBzP/Aftd7GFq3iyMPYZ+iefOuOOfC01MnZzPZ9x3C2838VnHHd/n/q7+Ixwv8TehJzPHBXuRj71z/6ANzvfV9jCncRMZzzVvyOemfdLbOFOYoUzbtH6/APD6y10HOFUugAAAABJRU5ErkJggg=="}),(0,Nt.jsx)("image",{id:"image1_1253_33753",width:"237",height:"286",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO0AAAEeCAYAAABmPJKMAAAACXBIWXMAAF0yAABdMgFowdHnAAAgAElEQVR4Xu2c4ZLtqAqFza15/1fO/THFNE0DC5SYZG++qlN9DIhGhZWkz8xxnudommqO4zjHGOM8zwP5Njn+hxya7+M4jpOSbpWqOM0PnbSNynmex0rCkcK20tbTSduorCQs0Ql7DUe/0zbNu2ilbZqX0UnbNC+jk7ZpXkYn7QdBH48qPiI1z6WT9sPYnbD9O939/IMcmvew+1csVyTZcRzn7vt4G620zTRecpECRxM76rdKZk5PpZO2mYZUUUverFpm/N+edKv04/GXM/MP+6NJk4k5Rsyff2yL+H8irbRfzOzBn+njES0CY6yPbT0ZvIn+Z4xfzozSVsGT9Y7x30or7Y1kFOYqNOW5el78Y1Ana55W2pt4uspcNb+r4n4TrbQ38fQDe/X8ZuN/wq9sVmmlbVSeqojWvJ463ytopW1U6F13dwJEVVTOa/c876SV9oVEPuJElScSy6NS+bQ+mTizv8J6G620Hw46xMiOQP2RXbKioBnfN9P/IuplRB8fCa4+SMlmQP3R+By6Zin2DGjMN9KPx18EJVD0MTLjNwZOCjl+NP4q0fm9hU7aLyNzgC2VQ8rpqRtPWMsnQrR/1O9N9DvtgzkO/XeSdM1KKu+R8jztL8I0ntY/e+Atf+0ReAatvzVvfs/W/b2JTtoX4CWuBbJHkAc+Q2T82dgaqJBJon5PpD9EvRR02JFdA71nyutRv1nQozy/Lh+5EVVzvIN+p21KkAlW8S5ZEeMTaaVtICh50Du0ZYuw2v8TaaW9EfT4dzUoGTU/Du8TUdrZ+0XzRHbukx37ibTS3kzFIbIOJL2feoc6+i6oJahl9/z5eLsSLHJ/b6KT9ma8Dz8R0IGUdjke2b15aNc9xfMSPDNf5EusrF+GiKJbrPSV9K98buQ8/V95HEf8d4peoljj8OuW4mpzQIeOFwK6JudgFQ7NrvXXoLlqiR/t79lXQGNn6KR9KNEDZB1GTfU0X5kw1rjR+SBofEuBNXvFgUfzR/c/xs/6zcxH249ZOmkfysrmzhwsrrh0LZs4kUNtHV7U1tCU1QLFQ/ZV0Lpk6K/HDyGbIJVYiaTNyUqQ6Jwj/TUfLb6cX3YNK9VvJ620D2PHAZLq5KkAUsDsfK3+fE58Pig+t8+omUz2N9BK+yAild9SF6mEmjJG1AjNASklik+gRLHup5Kq2NEngyo6aR+Kd6C0RJQ/ed9om8fj9izW/KT9qvFXkfNFoPutppP2oViKxQ+05mMlgIzD0ZRijHzSWHHG0Oen+XjzjdxbpL93X5H10pD3lembpf9xxUOxKjZveweDbNHD4ykEXY8cesJKUj6OliCR2BEi96P1I5BdkvVfoZO2kMyhjpCN46mYtEeTn+B9kcJpfhwrYSMqqdnIzq+jtbCQc4mszW46aR+MdnAyhwn5eokjlUpLtOOwf0cqr3sJrF0n5Hy4jV+TcbT7QWNx+P1l+u2gk7aI2cpugeJph2lFabwk0xImG99Ci2Mpqbwm7TIxUR/uI8fkfS2fu+jf0xZBB2ZlY+lwyIThPlz5hoNUSKRI9Hd5H7xvBC9+FBoTFSbetsbxxrdU1FLnzDpcSX89vpjM45WXrBlkglqHzTuwT8ZLJM1mraW23t41tF4re5ahlfZiSOmQHzpgEeQ4WkzvwEeUTXK3P0pItP6ReJriWk8CGtmnFUQr7cVEk3G1YkcOpuaDDvUT8QqPZpPrGd0TC2sdNd8x1vdW0kp7MbJKe378ZwSr4ltjSh+KIW0RkH9EwTy716Y5y2TQ+ljjovl4UFz+J9IH+URppd1MRdXNVnrJ25Q1g7cOniq/iVbam4geGOt9SFNNBI+VUTatLUF2BBov2+ag9XsbrbQPR1PmWbX+ZIUlzjP2jq6tJb8umV3zK2ilfTj8gHCV5O9SlhpzogorQf6oPwLFQ21k49fkull9PLL+Y9QXy1bah6ElF6ry0k4fpqoPy1vg9x5JssjjM3riifapoJX2QVCyIb8ImUPrkVE6zb7qn+3Pr/PkijyNUD/eh/4uVTq6vsg+QyutQnRDqolU5kx1/2YsNeQ2IrJmkT67zksrrYAnbGQzM6Bqzys5AikMUqzqdhYUb7U9Rq4IevG0vnydM/uGzkCEVlpBZKNnicS2fKyNjsRpfhdh/nfNTm0Zo4KKMVppBdnKKamopGPgyk9/tPGO4++7Mbof5I/6S7L+EjR+ts3R1qeCzN6vjN9KW0ymkq76IrVocqyoLdqfTCxEK20x2c2J+pOfprj09xkFWfVH7Wqy8fn68PXi1zT/MX6STnuSGQJtf7R2Ba20N2JVYutQoMrdKuujraHX9vrSNc2XiOwviqHRSnsjWvXXfLw2QQcB+aNDstu+6r/Sn55M+B5obfLV4pGN/vDrkf2doZX2oVhVnT8Ct7LmOc+8Yo7hq2NWOb0CEKGVdiNWRdawKjr/6flnDwTyX40vQf2z4yF/WfS4na+rtT+aP7dlFDXjq9FKeyHe+9LMpmn9IwWgsdGUV9rp79H9k0o6o+werbQboc2a3TSvX1RprDYi6y9B41e3JZa/9aiK4llUx9Nopb2QbGVGftK3qcFSU2mLgJ6GsvE0WmkvgFdb+oP6REGxUIVH/VdB46G2BNklKD61rb3JjifR4s6cA+/bRyttgkjFjPhIIh8+tKrdrCHX2LJZaI/C1uOxBt9XzUZ/P8/f/266lTaJt8h8EyKbRvAqzJOTb1z0MCC7BPkju6Tav9oe8ackkYlsFVe6nimuyE5o822lTWJVxxmFJTIbGPVtMHyfLGXT0BJTxkJnIHteuH8rbRJrgaMLr1XwMX73p2rPr8uDhBQEtVdB8ZAdgeafja/15/uBkk4bL3sW5P7xfUZw/1baTchElYfEsln2Vtw90F5oBTOjlhlfRCvtJryN4lVUJjNtNqr86CBU21fbiKw/As1Hrr1MTG1/Msz202ilvQHr/UlubKvpPfA9oTa3o9cbibW/s7TSPpyIQlzZliB7ltXxd7W1bxFZ9a0qwq20m7FUll+TvppfU4emrGif6Lq8pqlqRLWjiT9GK+12ZHVGm0UHxqrqkf6eXXK1vwT1R3YJWh8rXnR9NT/t24O8psXm/hlaaSfwKucMVrzI9WYvcr+RIqPz0Uq7EV5RkS/Bqy8nWuWjNo2svyQztyeA5htp82tIKa2fCCuuRyvtJNEKSY+20XciCarkTT18X9BTFbJfQSvtJJEKSRtKictt1LbUVxJRhpV2NSj+qh2B7ldra3tKbTQfZK+klfZCtCrsKadXybX+TR1IRSM+uxK3lfYCuHrK6i0rOtpomawRxfDaCOSP7JJVf9Qf+UfbVjG0xpf7y/2spyf+5CVtGVppi8huehSk1s01nKf9JdhT1+g3iJVz0UpbzMpmENqhsOJGlcRqZ0H9kb0adH+R+XCllImJ1l/CY8lvGVKRZ2mlLUT74GT50d+5f/T9qJV2P5F95Wh7lI1h0UpbCNqUaFJKIgcgE28GNB5qI1D/6ngSzZ//sfpZXKGwRCvtBrR3I+vDUvSdqLmeSKJZ771X0kq7CauSW37WTwtkR6D+yI7I9l9VSmTPtsewvwpb/lfRSruR2cfjMX5/GGn1rYf2Q3sC8l5PVvZ0llbaC6ioyDIGV2YeI6IQnr3aH5GNh+wS5I/G5+usYfmvFFPvvGi00hajVV7r/VVysK/PVhzN3qwh9wWtLfJH+8yZUepW2mK8hfcOg7XxWgX3Nhq1Jcgf9Zdk+yM7YnW8q/0RfJ+RL9FKu4FINfUUmq4hBWjm0PYk8tQj+2QSb4VW2g2cJ/59n+fDq3EkFu8TtWf9ESg+iofsEhTfasvr9H4Z7c/bu4pqK+1DQeq864B8Ol6yeYVjpk8VrbQbsDaYqrpsy0pPPpl3WQTqv9qW7PZHdmrTms6Mp/3x+lTRSrsBK9nkgUF+lm8zxzmpshHQk9IKrbQXIVV0DH3zshV+jJ+PJBXxkF1SHR/FQ20J8pfFkNrypwd/IkK+kXhZWmmDZCtnxB/5aEnfqltLZC8laN+iPrO00ibJbgDyz9qlUvzt8RukPBJkryY7HvKP2Pkfz5fQiifqj3yiSq3RSpuAP05ZHzAq0DZTjjO74d9Odr+yihk9F1E/jVbaBHyBZfJWQ/Gtao0UFB0G5J/tj+zIH4HiReN7CufZovGjIKX2aKWdZKVSjvGj2qtxxriucHwafL2pPYb++Cv7Rskq8wyttJPMVEqq5DJhZ/EOCGpLsvbd/jvbtK5yfyLvoXQu0P2u0Eq7ichme3aO986LxvlW0Pqix2JvzXfTSrsJ2mBeiSuqMj9UpOCaPQryR3ZE9fxQf2TneHvB94+ucUWOqHAVrbQvBKmC5/PNeOsjbV6yy+8QO95jOa20D8aq5BmVRsqE+kuq/ZFdkpn/zPpY1zRk8u6ilfZmrCodUVPupx2cVtt/Oc+/X+k9pUXsVlZJK+2FZN5zkILcnZRoPtnDi/xR/Ex/9K6PYmnM9KmilfZCIhVZU0rZz1KFiBrvTOynoK0Zt42BvwZH9q6CmUfsVtoNeBtynr/fu+R7K/fz+qJNR0qF2hLkv9pfgvyjbStJvPZVhW82bivtw9AqPHr/8uyzB+OtnOfff/UUXR9vXVFRmWE2fietwswjy9WgOSG75qsROfQr/pKsv4T6o0TMrA8h4676VdFJK5itfpVEDh06hJZ9JUGejJf8V+7j7HmZ7TdGv9P+IbuAO0AJisgcEGRHoP7SvtI+z7+/q9b8ryxU6H4RM/1baW/Ce6TiSWolHEpkeVC9vlce6ivJzH8mOa4G7aFFK20AWtzI4YhACevFiyiOt9lchVCyRw5NZD7DocLO78UbH60N5zj+/i69er8tMvPktNIGyDxeRsjEQ76aKlsxPfW1fJ5AZo3G0J8q+HXtHjN90HyuppU2SOVGSdWo8tXgSiLVSPOPKFmkLUF2iVd4uBLSUwuft6aUmflqa56d/5W00m6ADhbym8FTDevQZhSZJ8FdaHOP+mhrofWJ8BS17aTdAEqSLDKeFZ+KRXZ85O8lNWpLVuY3xk//aNJGx/CojDVDJ+3FVFdnKyG02NFkobbso8W3YqLk5H5j/I2jFZyITbNrVO1DVZwVviJp71poUoBIZY74rMLno/3kfvR3y65d9/rzNvex4qD10OzWfCQo9tPpD1EXI1Vhxuc4/P+dibQhXzqsMqH4YZbJJX0iCau1JTyeZ5fwOXI//lNbh8h8vPV7Al+TtHKTd8DHRGNX2PlBk226JuNYh5/btLEj85E/eR+tLftbY2uJrvW3+kXOgmV/QkJ/xeNxBOsA8I3W+u3AO5zcTjbkr7HaZwy9UEi7ZSP4vWhrr405DLRYmT6e3fO5mq9RWkRkA+6qsFJ1pNJoqhVREw75Rg60huyvzcfqS2TWNxKPj2sVO6mc0blGfK7iH+RwN7sqW6bCzqLdCxoX9ZM+kTXylNlCFooxfivYcdjvylqcyDw1ZDHwfCXcP3LPGtkxV+9X4/FKW3mzHlaFRdU6izw4MzFln9kDSGTiafO31k7687Y2hoxlxdUUkq5LXws0RhXe/c7y+HfaXUq7A6SY1v2h5I7EiPpaSmq1ZR8NlKh/e/igOWTWFrGqlKv9NR6ftJXQ4b9iITVQsll+u+ZnkZ2Plthaf27n7SGIrJuckzZHvt8z46D+d/H4d9pqkCpUgw68tPH5RYpMJAGydms+FjKuTCSOF8/z9wqGZZMFgkPXUUJG7n83X5W0KAGegKzs0flG7F4CR/tbCR3tH/ElvISJzt+bL0rI6Dx389GPx5lDNUv1GNrBlodLO3Cev4YsCvyaxBpL6+slNvez4Pef7YuI3OsbePzX47dQcQisZDvPv/9qidrSxvtwu6dEnp37ePYxfj9yWj4IPhbvE+1fgXcfT+AjHo+tCqpV6xW8Si0VxmKl2vPkQPdlJQ7qx5FzlfPNzD8zLiczBiITa3a+O/iIpPXIbBThJaA8+Nn4XuJEY2kFw7JJuD1SaGi+NIbnbxUyNA6yZ4nM9c18fNKOkdtE/mikKctqBeb9qw8rgWJm5lB5v54dzYMTLVKZmJyZPjv5iHfa88TvZWPgAzTGz4ZZsaxxuBrxa/wn9Zd9JRQrMt8xYjEtqK82nrxX6cvvz5qvF5/byUfaV1hZlyezJWmzh7CSbMKMEffTsBJ3F6vjWYkVXRN0/2h+yD4GLtKZ+b6RLUk7xloiVBBVxwy8vxbfUm106LQ+iFX/K/ujeyUf/pOI7BFXfM9vlTvFh7PtnfbuGz2O3+83aD7S7h06iu0lrtXHehLg16NzQYkxRuyAy7WSyAST9yH9rDa6zkFzQvuJsPbhiWxJ2isXAW0mQT5cGb2+1kGswktY67BXzieyZgQvMJnEi+4NESkUnn1lfSL90Rx2cZwv/hdRM9VR68MT2fLlWGNZcSw/TrQP8vN80XrN9pNk/YlskleSWd+72fZOu8Jx2O8R2UXO+J/n33dP1D9SsTk8PvWL9PfWxAOpGbfvPMjyXmbvz8OLJ+/9yWxN2pmNQAudrc48XvV8LLscR0tUr79nl7Ej9ux6UZ9Mv1my65GlOt4dbHs83lG16XBFDqY3n4r+9HepvDJZvXH4/Xj9USxkt4iOb/XPwtc9Gz/r/2a2J+0YNQvrHSR+zUNutKzCKKEsv2w1R8lGPtr80D0je5RIIcpSmWgV83kL2x6PzxP/bjKDFoeuzSYR78f/rvVH9yHvVfpr6xGd5xi/7zWyrsiO0OavXZ8hc98WFfN4C1t+5bMTa/M8FeWPZZEk4v4amk3rw5WG/m7NxfPbwUzh8qhIVMnKfN7ENqW9ksgByCaZhZf8GlFFQnaCVNXz54mN7PRH8+NE5xeFx6uO/else6e9gpn3GE8xvMOr+VhjRlQwEifjx0F9rPuMzCM7h6h/E+f1SotURyJ9z9P/qKK1I2NG1GuMn/G5P2+jcVaJxo/cMxG992aORySt94gWUb8o2jhamx9Q/ig5Asjk83ylD5of2TUfbw0zVMRAVM31Sp48x1uTFi0KJVDEDx1+gpJR/qS/82SV6oLmMUa+kHjKzucg51t5qOQ9a3Ej43G7tnZasRkLUP/VOG/j9q/HaMGRnUOHzmprico3Xh5Y6/DKax7I37NrBUDzp3lHC4bnF5mvN69If/q7jOPZLNB4q2TWdRe3Ji1aDGTnyISjdnTRpQ9PBC2hs22J5j/GzyHU2t598HiWn1wLlCQr92PZI3sRBY25whXzrWLp6zE6JJVkx/ISInPtTqzE1pBzjiQnio3s3Ce6L806Je+0Vx9ySyGOw/4oEzlEkUNpgfyzdq1tFRTtnnl/LZY2H7puzRXZm3soUdox8CFdhVf0rKp4fd+CvBd0bRd3jv2tLCntVZVYUxNPLby2ZNUf2ZG/JNp/9glCa9M1r4AhO3HVGWhslpT2CjKVO+obOXxvQ1NZzy7XB60dsjf3saS0GTKVm/8c46ev1l/6SbsEKRs6oKt2CRrfalvKi9ry+kzCevvRXM8WpdUedaUtqpRWkp6n/6X1kw9YplBEElJeQ4VxZu+aeX4p7ZUVdHXDzvPvexNdi8RGCrS7Lcnakb+GVuSsgoriR/2IqF+D+aW0u6qiVRRmx+Rqrd3DFUXoqayugeY/uy/NNWx7p5XwSh1VyzH+vhtHExbFR0qWbVeDxru6baHtR7RANHNseaeVzFTxyEHQYkX6fRKZYmU9GkdBis7jzex5o3OL0s6oK/1dUwT6Iw/hceDfa67aJUixrm5HihRXQ+qfvU8CzUeC7A3mFqWdQR4ymche+xvha+ApXkSRK4gobcSnKVTaK95lKJ52sLjC8j7ZhL1bKbLjS6z+VjJ6/ta6kS2zrhJrvzQ/z94UKa3czKqFn4m7crA+Ee3JRNozTy2RPZBE1Xx1nG+hRGlRBZWKGUUqq+criSqMBfLP9kf2VX9PQaWd71dEkdH+ekQTlnwift9OidIitAoaqapow6U9WxS+hfPMq+dx/P2Ih/ZDA40jyfp/I2mlnX23Qcqwwsx8JGh+2fki/2z8FX+ZgFpCcpvmL33+9tQh9UTzlWT9v4m00lZWQkspPSXIHJgmRnZ9vYRfPRMNJq20tCmZzbHUmVdgmcBWheZtZK9oS5Bdcnf8SNsrxHKNvYS1rkUKQRMnrbRZosos/ayqrcXrQ5FDWzdvLSOFBMWKxGhipJU2S3SzqKLzys83ndRaxpOHDI0XUZ6RAPmj+He0+ZMPt2vrK+0DwP35nnp9mhyXK20WLQmtih05RI1NZC01H7qmtbUEbcWt5VKlpYo+k1y8QkeqddaebUuy/neD5ovaEbw+M/EancuUNvvYyolU5plC0PzFUk2J9Tgd7YN8mzilSsuVlW+O3GiecJYSrz5mIeW4uv9usvPjyeo91nr2MfA4xHnip6UmxnGeZyoZPCJxMu9OdF1T7VbaGuRa8mSO+PM+kqi6Rs5N80Op0o6BK2pWESSr/atB80HzQ3ZJNr4F3ye0X/yPZtf6kW12fgjrCe0b+O+dNloVJd6j0yxIaZsa5NryffTUDynj7FnKgObwyfyntDNVkRJ2Z1IhpUFtCbJLquNX2zNtq+BqRRMpG7JfBVqfT2Tp63Gm2kUqt1fRyX7HwfhGrLVGe+T5NjUsvdOSOkc2x6ro0UcpeYgyiqK1q0Hx0XxW+0uQv9b2rqF9ln5ofpwuxDmWlFaCEpDbs1Xc6tPUwNdeK47W3qG99nyaOZaU1sJKLlm5+TVtY6WN+6CDcLc9i4yH2pKsXfO3nnwO5d03O54GjdfFOMdWpfXQKrk8OFbfZh/W/kgiShvxaf5SqrSWYo7hf11ECeltbnazkX/WjvyzZOMj/8o2/d3bZ+5Lf6y95z5ajEanVGk9rMSTm6ltIErqZi+ZJGs1radUaSNYlVyruJFkzR4EpCxZquNVg+ajzV/+8fwRWf8Gk1La3VVTvufST9SvmSfypJPZ+91n5htYUlqUQOjLoLRTW/ahhOXXsm0JsiNQ/9X57GrLn2P87CsvmvwP97P20BqnWSeltGPEqy6qsCjhpapSDNSvyaGtM9o7Au1PZaLyAoJ8P5200moV1/LL2HlFRn01kLKsshpvdX7IH8X32nJPZXumUKL5ZqmO92bSSluBrJpWm1+TfZtarKS4SjmztNL+kFbaK8ioK1IQCfJH/RHZ/mh8FA/5r7T5uyz98ZJ5pYBm+2fOyKezXWkjldt7b85sdINBa3ue/r9QiybS7Htz85cppeWVGPlK0CGRPmhDM0ryRKrni+Jp8bUE4spWqXKR+TQ+U0q7WiUj/b1KPlMsGh+pfpaPZ/eQ+5lV6uaHKaUdI77YliKj/qi6o4odiZ+xZ9uIrL8E9V+xa2tvFU9tb+kafyKTMdH+NjbHGAOq3gqeqkYUVwMpQhNDqh6/jgptdF8tn2aeX/+PKM8xyqyyaqwkZ3a8iLJ4duQvWfWvaFuJR8pI1zVV9ObfKnot5UqbVU/t3Uar/FqfZh1LVbmd/p7d2+Ya/mdV0lm0OJb6kj+q2rI/8l9pr5KNtzqfFX+uppqd4OufHW+MLrLVTH09zoKUU6M3+lpoD9DeeI/QVh9O1K+JM/31eBZr4zQ1lSqsqTJqS5BdcnV8SXY8hBVPU05tLDT+qr3Js6S09MEiWk29R6xsjGYdK4Ejj8LafkX3kBMZq/nNstJmFl1TSm6jv1NMLUHJDynSansVFA/Zs6D78dravshiLKE+K/fRBXiOaaX1EipCVHUJLambdSLrbymppdD8mkfWv/mXaaXllTZbcemxmrelD4qHlCTLav8saLzs/SF/q22tPdofjexZiPpHx/8WppV2BWsTtM2zqnFv5DznGfsOYSmrbGf2bYbMK9g38EtpvXfJSniFRRuRtaO2pNq+2kag/ige2b31P47f/17Y6lOxfxEi43wTv5S2sjpqRONH/K4uLJ8KX09tnb21j+zLjG+T48877UxVyyRQNvYYP5U/8v6FlGe1jUD9V+Nl7QhvfjPfGgjal6h/E2f5nfaqikqPZ/R3btPGyRSOb0ZLyoyi8n3RuOo8ND9Mfz2WVGwQV1NNAWTl9vwlSPFW21my8ZC/17YUD123bPKaRtSvybOstFVEKjRS0/PE//eFb0UWO+RjsaLCTQ1lSjuLppR0Db3LrrQlq/YsKB6aP2ojvP6RwjdbWJt1blVarWqvbHor7W/4enhJLfdB9okoc+RJqanhEqW11FHDqvjn+fdfXHl/xog9nu22P6Wd2RMPueboelNPudLKg8EPDW9b1yTIx1OBikP6VrR15te9tZFrvaqiaA+bHOVKm9mYSGVGh8xTGhRbI9sH+WftqC2xFM/yl0h/rS/5ZOI21zGltKhyWvbI46skOhb3aYX9wXry4bbsnmTZNc63MK2052k/flpVObtpVnyZqHy86AFBdsmqP+qP/DNtWgP0WCv3id57Z4ue1dc6D80cS0o7Bj6MXhKhOJYdJaZ1cGYP41uQhcvz4X7a2qB9laC9bOr4Bzlo7NoUbxx50Liv1S9yqLmvjO+1JciexYqnJaH0R/t1HP++tqD5eokZ6d/UMKW0GaIHZ4aV6v4JB8xKWM9P85XFLPIEk13vpo7pd9oo51n/PnMcf//NMb/m9aOfSI0tNIW5q83vh9u5T+Z+qK+1llfsZZPncqWdwar4KCnHiD0uen6fgHWv1n1a9k7QZ3K50nrMJIumDJX+iIwSRtoS5B9t071m7BXr01zPNqXV1BMpqnVd2rzY/DrqT9dniskVyHl7CWXdm+Xj+TXPZpvSaonj+WoHyjpknqJE4TGuUBw0P0/xrPlEihB/P5UxR/NKtivtGPqB8dSE25DqoHGifnKcSLGZhe6L3x9dt/qgpwM5by2pM4mL5kXzl9eberYqracYaMO1g0lo1yPx6O9ef1IqGS8T32vLn9xO85I/LX/LJrH2wQMVEJrvlcWt+ZdtSusRqeIRuz2J5ioAAAOnSURBVExsKzG9AhCxcyLzlcomY8sYaG7adVlYIoWQgwqftwfofppatimtB1V+a7ORnaCDimLxAy39sm0OT05tDl5iWCqF7nmMv0ps/bRARZGuW+vKr0Xm26zxCKVdJXLoNDXw1BcdPi8e72sljJfQVn+e4Fqbrs0kf6vle5j6t8dPxTtodJiRKliHnoOSnY+jjcvjcLvm590T+WtzkH5/e/+mk/Q9POLxeAV+IL3DSTZ0gLN2mWiWyh2H/vhrJRv5e/OJJppVMDTf5vmUJi06ZIiV/qQ4nt2yRX1kgpE/mjNPbOQr/TXk2LPxI77N8yh7PF49ABGVlAcTJSonMr+IzxhzymUpsOarJZSmyPyaXCMEmm/zXEo/RCGFQFgHT1MGaxzv8KL+Ebt3HfVHoMSzipfXZ5XVPW3qKU3aq+CHFR1Uzy7VxbNnY2eRsVBsZJdEkw3FRYWk2U/pO+1VnOfffxdsHSLvcHn9pN16fKw4vF6ioPieClNc66fG7HjNfbxCaXeiJVT00CPV4kR9o0rnzZHwEt6zN8/iFUp7NVylVpQ8YifQONxvjFhSjvF7/Ej8jF/zDFpph6161jtwxF/6RpNC+l/5mN68k7Jf+byd87R/b6klSOQaUsdIQntF5OlE7q/J87GPx/TIGznodKiiCRI9hFE/bSztWjTeE4isezPH65I2m4geFYmJ5qO9L0b8tfGP499f40TnhkBzX6Fqjs1fXvdOa71PZvysd1XNbiWPvKb5ao+HKLbFar/sPTbP5XVKqz3KWn4RVUJ2hNXfSpbK8ZBKkjJ7PsjePI/XKe0TQEot/SJPBDPJg9QS2Zt30l+PF/GSIZIo57n2X9tI5aV4kaeM5p3clrQrCnM3lXOuSlhiJV7zDm59PH5z4kZYvb/s423Wv3kntyvtnawmlcfs/c32G+Oa+2iex21fj+mda+WgHUfN7xkrYkgyX3k1eH8ZayZe8zncprSr7Dy4WUWWj6k80VAMK1kl9LHJsq/Sj9rP5bVJy7+SIl+Llb6VZBKE7tvzqQTNp9nPrR+iPplMQckk7S6iTwbNfjppH0B1glTHa57Fax+PP4lOribDbV+Pm2vpQvC59ONxIf1Y2uyglfYCdn7dbb6PfqcN8BQFfeJX5mY/rbQJkIKeBf/KC3Fl7OYddNImeELCoMLRfD79IappXka/0z6cfo9tJF/1ePzm/0KmE7YhvippiTcm7hvn3FxDPx4/nFbYRvKVStuJ0LyZ/wPMQ+6v4WidOwAAAABJRU5ErkJggg=="}),(0,Nt.jsx)("image",{id:"image2_1253_33753",width:"288",height:"280",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASAAAAEYCAYAAAD8qitAAAAACXBIWXMAADurAAA7qwFWF2lyAAAMCUlEQVR4Xu3c627jOBKAUWYx7//K2R8DYqqrSYpybJfknAM0HFsXJ9OrD0U5vV/f398NoML/jnYAeBUBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkB+lzfRztANQH6XF9HO0A1Afosph5uRYA+S556vpsocWECdD85KLPAfLd/g/S12AdKCdD95CmnP4+R6fGJRIjLEaD7WE06rc2DIzxclgDdx+xTrdHroynJp2JcjgDdy+5U05dgR/tBKQG6plk4vtJjFI+J8cn3iHwyxmUI0DWtppfZp2D5mBipPBFZjnEJAnRdu/d84oSzmox2P76HtxGg+xgFY7bs6tviki3eiBYfLkGArm1nahktu0bH9T95aQZlBKjWmRvC+beavwev5f1nwco3s3e/B3gqAaoTAzKTt81uMuftPT75/Pl+0ZkAwtMJUJ08fRyFIMYlvz6KUQ7MKERHAYSX+udoB14mh+Foohktv/q20eTTzZZZcQrK20WJtzAB1cnTRwxADk+WjxtFJr+eg7UTPngpAbqG0dQSJ5PV8mskTzUxOvm8Jh/KCNA1HE05rf0Zi/513mc11cT4jOTtpiBe7uv72//OisXJZGcCGe03+kvMQcnLsTwRRaOlGzydCej1Rhf4TjCi/PpoifU1+Do+j1NTPj7u21+f7QNPYwKqcTTFjKaOGJv4vMtT1NFkc5ZJiKczAb1Xjkh+LQfiO/yJk0zfP4pRGZ1ztN9o+8wj0YIlAXqv0cWeX8vLp/44Cs/q2G40bcVtwkIZAXqd0YX9yMX+lR6jOBn153laGk1bj/rp8fAHAXqdnWln5Oj+0Hd67PK0lJdxO+8NbyVAr3E0Kcwikrf3r2NU4nIs7zt6fvQ6lBGg18jLntW0EveZLZlm8Rjtu1qy/URc6sFT+Bj+uR5Z6qyOGYWr4i/s7M8EW/xr+OfavVBjdEZRecYN5GfFavdngtMswV5jdeGPwjJaksWAHE1Wo23iw+UJ0HOt7uP0r/OnVHHayfdxsnzu2X47+xx59DjYJkDn5Jhko4t2NxIxLjFk8X1Gk1J8zK/nr3eJD28hQOeMojEz2zZ6fbTEyrHp+60cLdV2/PR42CZA5xwFZ3Y/pz9+tfEFnpdl3SxWo6kobh85Csvse4OX8SnYOasLNE8qcUI6mly6R86xe+7VfsJDCRPQWp42ji72eC8mTjyj5dWZ87b2uki86rxwSIDWcjzyRLKaWPKyahahHKJ8fHYUjPz9rhxth5cSoD+dWeb0izdGI0dpdH8mnmt132UWrvwe2e5kJT6UE6A/zS7KVUhmE9LqtRisUVCOIrKzZFsRHy5BgOaOpoc4AcXn8fW4/yxYfd98/CpKZ5ZZ0WrigrcToL/Nlj7dKDD9eZxs4uvdLC5xv6PpJk9UR/t3wsPl+Nfw5/Vp5WjpNAvVaEnWX2/t73M84y9IfLgkAfpXjMkoLCsxSN3qXPm1o7+A0bmPjonO/CzwVpZg/zq6pzJabuXn+f5KXibFJVp8LS7LHnnvFfHh0kxAczuTUP+Pl5dPs+XXOx1971Dut05A3+lxtG11f2fkKEbZ0dS1s23mkWPg7X7DBDS655Lv0eTHvq0NXl9Z/ccc3bs5ez/nyM73CJfxmyag0USSL9i8Ld6fyVPT6J7O6LjRYzeKz6MRefQ4KPPJAdpZSo32WYUlTkr5uNHzuH8+7ywYj0xE4sMtffr/HcdqidXC16Mw9H1XF3cO0SgeOWBHr58lPtzWJ09Ao9DMQvEV/vRJJU9FK3H/M5PNapra8cgxcBmfHKDW5hfoKC5xiZSXTUdxiVZB2Zmmdu18L3Bpnxqg0VJndoHHuMQpKJpNL/FxNjXF/fJS72x0OvHhI3xSgEb3ceLXRxdtnICi0bJtdM6jiScH6ZH49EDCR7h7gGbRyWYXez4+hyUHJi7LutGEFSOzM03tEB4+zp0+BctLnNb+i8Lo4hzdu5lFIj5fGU00UX/PRyMzs/O9we3caQKaXYRHr+cJJS9j4vPVMi5OM6vlWI7P6Ps7E5Qz+8KtfOI/xZhNRCOzHz5PVqvJKe6f/XQa2v054JbuMgHtXsR5CTS6VxO/ztNL/zoen997NSXlYOx+3yPiw8e7S4B2LsYYn/w4WxblfVeTTHzsX4/eY+d7PfKMc8Dl3XEJtrvEyvvFQIzOMYpU3G/3P9Qobrt2fi74GHeZgKKjcIwmkdGEk5dZeQmV92uDfbIcHPGBhTt9DN/l6SVfuHkC2d3nGUuoUbS61TT0k/eE27rjEmzXLAJZDk9eOp1dRp0lPvxad1iC5SXN7HneNpp+8r55mppNMEdLr77PWY8cAx/jDkuwvNwaxSEb3Yc5WoaNJqH4ODp+9D67xIdf72oT0OoiPlpS5SllNQH1eKzeLwdiNi09QnygXfseUJxM8rQy2i8bBSNPLXnaie832v+nhAeCq0xAO5NIDlH0Hf60jcc+LeUpaBafZ4TjGeeAj3KVAJ29OFdLr7h9tCTrYtBGS6s8Ff3E2Z8PfoUrBGg0zbQ2Xh7N5FjkiKy+ni3LZtNW3LbjzL7wq1whQLMAREcTSJyCRhNR3rdbnffRbZH4wMIVAtTaOjo5KHG6iX/i9jwRfS2ex8fWfj7xdI8cA7/KlT8F63owRlNSjMnoeXy9tb/P86ij84gPbLjCLyLOopG3HV3URzE6isYZs/McfY9AUL0Ei5HIS6nW/r6gd6aOPO3EJdsriQ+cVBWgHoY8oeQJZhSNWUjiOWfnn1ndE9pxdn+gvf8e0GqZNJp+Rsuz2f2ceJ6d5dbOPjvEBx707gloFJs8rexc0DEeeQk3C8towvqpne8VmKi4CT2LTbxXE7cfLaVGU9A7vPO94CO9ewJq7e+JZbW9P49xivvNpqZRHGbv9wjxgSeomIBaG98Lam2+tIrH5O15yZXPHc2WZ7uEB56oYgJayXHoMcnTTg5JjNVqGlrF6cijxwETVQGaTSIxNLMbymeXUrOJ6gzxgReoWoK19l9cZvdxWtren3eziK2WcI8QH3iRygC1No9L3j5absXno2np0eBE4gMvVLUEG5ld7LOpJ0ZnNg39hPjAi737N6F3/CQozwqS+MAbXGkCam0ejd0g/DQ+8SY48GJXC1APwOqTq9E9oNm+ZwgPvNnVApT1ieboZnV+/WxMzu4PPMFVA/QV/uRpaMeZKejMeYEnumqAsu82D9GZ2GTiA4XuEKBRJPJ9n0f85FjgCap/EfERz/hlQ/GBC7jDBNTaeuI5ExMfs8OF3CVArc1/v2d3ChIeuJg7Bai1xyPy6HHAC90tQK2dj8nZ/YE3uWOAWtuPyu5+QIG7Bqi147gcbQeK3TlArc0jIz5wA3cPUGt/xsbH7HAjd/xFxBHRgRv6hAkIuCkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFBGgIAyAgSUESCgjAABZQQIKCNAQBkBAsoIEFDm/6Ca61DXukTNAAAAAElFTkSuQmCC"})]})]}),t_=()=>(0,Nt.jsxs)("svg",{width:"128",height:"72",viewBox:"0 0 128 72",fill:"none",children:[(0,Nt.jsx)("path",{d:"M18.5195 29.4828C18.8495 25.5328 23.6695 22.5128 27.4895 23.6428C27.0695 21.4328 27.3195 19.1528 28.1995 17.0828C29.0795 15.0128 30.5495 13.2528 32.4295 12.0228C34.3495 10.8328 40.5095 8.27275 47.0095 11.7728C53.3895 15.2128 55.0095 20.2728 55.8495 27.1728C57.1095 27.2028 59.6295 27.7228 59.6295 29.5228L47.2095 29.4828C44.4495 29.5728 37.6895 29.5228 34.9295 29.4828C29.4595 29.4528 23.9995 29.4828 18.5295 29.4828H18.5195Z",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M59.6198 29.5228C59.6198 29.5228 48.4598 29.4328 47.1998 29.4828M59.6198 29.5228C59.6198 27.7228 57.0998 27.2028 55.8398 27.1728C54.9998 20.2728 53.3898 15.2128 46.9998 11.7728C40.4998 8.27275 34.3498 10.8328 32.4198 12.0228C30.5398 13.2528 29.0698 15.0228 28.1898 17.0828C27.3098 19.1528 27.0598 21.4328 27.4798 23.6428C23.6598 22.5228 18.8398 25.5328 18.5098 29.4828C23.9798 29.4828 29.4398 29.4528 34.9098 29.4828C37.6698 29.5228 44.4298 29.5728 47.1898 29.4828M59.6098 29.5228L47.1898 29.4828",stroke:"#69727D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsxs)("g",{clipPath:"url(#clip0_2163_56876)",children:[(0,Nt.jsx)("path",{d:"M93.73 18.7002V53.5702C89.5242 52.1891 85.0076 52.0606 80.73 53.2002C78.5076 53.7922 76.4667 54.9261 74.79 56.5002H39V18.7002H93.73Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M74.8102 57.3004H39.0002C38.788 57.3004 38.5845 57.2161 38.4345 57.0661C38.2845 56.916 38.2002 56.7126 38.2002 56.5004V18.7004C38.2002 18.4882 38.2845 18.2847 38.4345 18.1347C38.5845 17.9847 38.788 17.9004 39.0002 17.9004H93.7302C93.9424 17.9004 94.1459 17.9847 94.2959 18.1347C94.4459 18.2847 94.5302 18.4882 94.5302 18.7004V53.5704C94.5286 53.6973 94.4971 53.8221 94.4384 53.9346C94.3797 54.0471 94.2954 54.1443 94.1922 54.2182C94.0891 54.2922 93.97 54.3409 93.8446 54.3604C93.7192 54.3798 93.5909 54.3696 93.4702 54.3304C89.4324 53.0196 85.1016 52.905 81.0002 54.0004C78.9122 54.5576 76.9927 55.6186 75.4102 57.0904C75.3298 57.1645 75.2351 57.2214 75.1319 57.2575C75.0288 57.2937 74.9192 57.3082 74.8102 57.3004ZM39.8102 55.7004H74.4902C76.2099 54.1603 78.2639 53.0409 80.4902 52.4304C84.5517 51.3404 88.8287 51.3404 92.8902 52.4304V19.4304H39.7802L39.8102 55.7004Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M93.8802 18.6201H38.9502V20.4901H93.8802V18.6201Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M93.8802 21.2804H39.0002C38.788 21.2804 38.5845 21.1961 38.4345 21.0461C38.2845 20.896 38.2002 20.6925 38.2002 20.4804V18.6204C38.2002 18.5153 38.2209 18.4113 38.2611 18.3142C38.3013 18.2172 38.3602 18.129 38.4345 18.0547C38.5088 17.9804 38.597 17.9215 38.694 17.8813C38.7911 17.8411 38.8951 17.8204 39.0002 17.8204H93.8802C93.9856 17.819 94.0903 17.8388 94.1879 17.8785C94.2856 17.9183 94.3743 17.9771 94.4489 18.0517C94.5234 18.1263 94.5823 18.215 94.622 18.3126C94.6618 18.4103 94.6815 18.5149 94.6802 18.6204V20.4804C94.6802 20.6925 94.5959 20.896 94.4459 21.0461C94.2959 21.1961 94.0924 21.2804 93.8802 21.2804ZM39.7502 19.6804H93.0802V19.4204H39.7502V19.6804Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M72.6302 61.4002C71.9302 57.7502 75.3702 53.9402 80.7502 52.4002C86.1302 50.8602 93.0502 51.6902 97.0902 54.4002C96.5902 51.1002 100.47 47.7502 105.68 46.9802C110.89 46.2102 116.79 48.1202 118.74 51.2102",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M72.6299 62.2002C72.4436 62.1993 72.2633 62.1341 72.1193 62.0157C71.9754 61.8973 71.8768 61.7329 71.8399 61.5502C71.0699 57.4702 74.7199 53.2902 80.5299 51.6302C85.7888 50.1955 91.3868 50.6812 96.3199 53.0002C96.4864 52.0827 96.8705 51.2186 97.44 50.4802C99.06 48.2902 102.1 46.6802 105.56 46.1702C111.08 45.3502 117.3 47.4102 119.42 50.7602C119.534 50.9392 119.572 51.1562 119.526 51.3635C119.48 51.5707 119.354 51.7512 119.175 51.8652C118.996 51.9793 118.779 52.0175 118.572 51.9716C118.364 51.9256 118.184 51.7992 118.07 51.6202C116.29 48.8002 110.67 47.0302 105.79 47.7502C103.055 48.0525 100.532 49.3692 98.7199 51.4402C98.398 51.8299 98.1578 52.2804 98.0135 52.7649C97.8692 53.2493 97.8238 53.7579 97.8799 54.2602C97.9034 54.4131 97.8821 54.5696 97.8184 54.7106C97.7548 54.8516 97.6517 54.9711 97.5215 55.0547C97.3914 55.1383 97.2398 55.1824 97.0851 55.1816C96.9304 55.1808 96.7792 55.1352 96.65 55.0502C92.83 52.5102 86.0899 51.7002 80.9999 53.1702C76.0799 54.5802 72.8399 58.0502 73.4499 61.2502C73.4879 61.4584 73.4419 61.6731 73.322 61.8474C73.202 62.0217 73.0179 62.1413 72.8099 62.1802L72.6299 62.2002Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M65.8097 50.5295C72.785 50.5295 78.4397 44.8749 78.4397 37.8995C78.4397 30.9242 72.785 25.2695 65.8097 25.2695C58.8343 25.2695 53.1797 30.9242 53.1797 37.8995C53.1797 44.8749 58.8343 50.5295 65.8097 50.5295Z",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M69.4014 43.1305L60.8666 34.5991C60.6368 34.3694 60.5077 34.0578 60.5076 33.7329C60.5076 33.4079 60.6366 33.0963 60.8663 32.8665C61.096 32.6367 61.4076 32.5075 61.7325 32.5075C62.0574 32.5074 62.3691 32.6364 62.5989 32.8661L71.1337 41.3975C71.3635 41.6272 71.4926 41.9388 71.4927 42.2638C71.4927 42.5887 71.3637 42.9003 71.134 43.1301C70.9043 43.36 70.5927 43.4891 70.2678 43.4892C69.9429 43.4892 69.6312 43.3602 69.4014 43.1305Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M60.8678 43.1325C60.638 42.9028 60.5089 42.5912 60.5088 42.2663C60.5087 41.9414 60.6377 41.6297 60.8675 41.3999L69.3555 32.9085C69.5853 32.6787 69.8969 32.5495 70.2218 32.5495C70.5467 32.5494 70.8583 32.6784 71.0881 32.9081C71.318 33.1378 71.4471 33.4494 71.4472 33.7744C71.4472 34.0993 71.3182 34.4109 71.0885 34.6407L62.5463 43.1863C62.3123 43.3928 62.0083 43.5022 61.6964 43.4922C61.3844 43.4822 61.0881 43.3536 60.8678 43.1325Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M29.0171 51.8439C29.8697 51.1185 30.928 50.6783 32.0436 50.5851C33.1591 50.4918 34.2758 50.7502 35.2371 51.3239C37.1468 52.5326 38.6648 54.2695 39.607 56.3239C40.487 58.0039 41.2571 59.8439 42.7071 61.0539C44.1571 62.2639 46.6071 62.5139 47.7771 61.0539C48.9471 59.5939 48.1671 57.2539 47.1371 55.6039C44.8468 51.9399 41.6461 48.9322 37.8471 46.8739C36.5935 46.1508 35.217 45.666 33.7871 45.4439C31.8605 45.3394 29.932 45.6077 28.1071 46.2339L21.9771 47.8939",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M45.4869 62.7033C44.3331 62.6922 43.2179 62.2863 42.3269 61.5533C41.1067 60.3979 40.1396 59.0017 39.4869 57.4533C39.3469 57.1833 39.2169 56.9033 39.0669 56.6333C38.2031 54.6717 36.7716 53.0138 34.9569 51.8733C33.3269 50.9833 30.9569 50.8733 29.4669 52.2933C29.3459 52.4094 29.1846 52.4742 29.0169 52.4742C28.8492 52.4742 28.6879 52.4094 28.5669 52.2933C28.4514 52.1739 28.3869 52.0143 28.3869 51.8483C28.3869 51.6822 28.4514 51.5226 28.5669 51.4033C30.4669 49.5033 33.5669 49.6433 35.5669 50.7633C37.6186 52.0187 39.2456 53.8617 40.2369 56.0533C40.3769 56.3233 40.5269 56.6032 40.6669 56.8932C41.2451 58.2805 42.0991 59.5359 43.1769 60.5833C43.9292 61.2042 44.8949 61.5058 45.8669 61.4232C46.1538 61.401 46.433 61.3203 46.6875 61.1862C46.942 61.0521 47.1664 60.8673 47.3469 60.6432C48.4869 59.1732 47.2569 56.8532 46.6669 55.9132C44.4433 52.339 41.3234 49.4087 37.6169 47.4132C36.4344 46.7193 35.1316 46.2546 33.7769 46.0433C31.9347 45.9573 30.0926 46.2185 28.3469 46.8133L22.2069 48.4832C22.0398 48.5336 21.8596 48.5156 21.7058 48.4331C21.552 48.3506 21.4373 48.2103 21.3869 48.0433C21.3365 47.8762 21.3546 47.6959 21.4371 47.5421C21.5196 47.3883 21.6598 47.2736 21.8269 47.2233L27.9669 45.5633C29.8676 44.9204 31.8734 44.6455 33.8769 44.7533C35.3869 44.9911 36.8408 45.5028 38.1669 46.2633C42.0726 48.3792 45.3552 51.4824 47.6869 55.2633C49.2169 57.7033 49.4369 59.9532 48.2969 61.4232C48.0119 61.7825 47.6564 62.0797 47.2523 62.2963C46.8481 62.513 46.4039 62.6447 45.9469 62.6833C45.7942 62.7002 45.6405 62.7069 45.4869 62.7033Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M34.8769 50.1239C36.4669 48.5239 39.1469 48.5139 41.1169 49.5939C43.0267 50.8027 44.5447 52.5395 45.4869 54.5939C46.3669 56.2839 47.1269 58.1139 48.5869 59.3239C50.0469 60.5339 52.4869 60.7939 53.6469 59.3239C54.8069 57.8539 54.0369 55.5239 53.0069 53.8739C50.7167 50.21 47.516 47.2022 43.7169 45.1439C42.4641 44.4194 41.0873 43.9345 39.6569 43.7139C37.7341 43.6191 35.8106 43.8871 33.9869 44.5039L27.8569 46.1639",fill:"white"}),(0,Nt.jsx)("path",{d:"M51.347 60.9742C50.2123 60.9508 49.1179 60.5496 48.237 59.8342C47.0209 58.6753 46.0545 57.28 45.397 55.7342L44.977 54.9042C44.1073 52.9433 42.6729 51.286 40.857 50.1442C39.237 49.2542 36.857 49.1442 35.367 50.5642C35.2472 50.6733 35.09 50.7321 34.928 50.7284C34.766 50.7246 34.6117 50.6586 34.4971 50.544C34.3825 50.4295 34.3165 50.2751 34.3127 50.1131C34.309 49.9512 34.3678 49.7939 34.477 49.6742C36.377 47.7742 39.477 47.9242 41.477 49.0442C43.5155 50.2993 45.1288 52.1392 46.107 54.3242L46.527 55.1642C47.1075 56.5556 47.9648 57.8144 49.047 58.8642C49.7988 59.4781 50.7598 59.7758 51.727 59.6942C52.0142 59.6722 52.2942 59.5927 52.5501 59.4605C52.8061 59.3282 53.0329 59.1458 53.217 58.9242C54.347 57.4542 53.117 55.1242 52.537 54.1942C50.3111 50.6193 47.1919 47.6862 43.487 45.6842C42.3062 44.9884 41.0024 44.5267 39.647 44.3242C37.8042 44.2268 35.96 44.4883 34.217 45.0942L28.077 46.7542C27.9165 46.7971 27.7456 46.775 27.6014 46.6926C27.4572 46.6102 27.3514 46.4742 27.307 46.3142C27.2843 46.2347 27.2778 46.1515 27.2877 46.0695C27.2977 45.9875 27.3239 45.9083 27.3649 45.8366C27.4059 45.7648 27.4608 45.702 27.5264 45.6518C27.592 45.6016 27.667 45.565 27.747 45.5442L33.887 43.8742C35.787 43.2292 37.7938 42.9575 39.797 43.0742C41.306 43.2976 42.7586 43.8067 44.077 44.5742C47.9774 46.6787 51.262 49.7634 53.607 53.5242C55.127 55.9642 55.347 58.2142 54.207 59.6942C53.9246 60.0531 53.5709 60.3495 53.1681 60.5647C52.7653 60.7798 52.3223 60.9091 51.867 60.9442C51.6946 60.9669 51.5208 60.9769 51.347 60.9742Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M3.66699 51.0734C17.457 49.4634 43.087 41.2235 56.517 38.6935C56.7598 38.6281 57.0132 38.6122 57.2623 38.6465C57.5113 38.6809 57.751 38.7648 57.967 38.8934C58.767 39.5434 58.617 41.3434 57.967 42.4834C57.047 44.2134 54.967 44.6735 52.967 45.1535C52.967 45.1535 51.477 45.5135 42.437 48.2135C33.937 50.7535 32.857 52.5635 32.577 53.6735C32.4746 53.9811 32.4421 54.3077 32.4819 54.6294C32.5217 54.9512 32.6328 55.26 32.807 55.5335C33.807 56.6335 37.497 56.3235 39.177 54.2935C40.407 52.8035 41.557 50.7035 43.467 50.7835C45.717 50.8735 46.467 54.0434 45.747 56.2034C44.227 60.4935 38.437 63.1234 34.747 64.5034C31.627 65.6634 29.807 66.3634 28.157 67.0334C24.527 68.4934 19.267 70.3634 13.017 73.4334",fill:"white"}),(0,Nt.jsx)("path",{d:"M13.0369 74.0641C12.9203 74.0633 12.8062 74.0301 12.7073 73.9683C12.6084 73.9065 12.5287 73.8185 12.4769 73.7141C12.4039 73.5627 12.3935 73.3887 12.4477 73.2297C12.502 73.0706 12.6166 72.9393 12.7669 72.8641C17.6269 70.4741 21.8569 68.8641 25.2569 67.5041L27.9369 66.4441C29.5769 65.7841 31.3669 65.0941 34.5469 63.9141C40.5469 61.6841 44.1369 59.0241 45.2069 55.9941C45.4258 55.3775 45.507 54.7205 45.4448 54.0692C45.3826 53.4179 45.1785 52.7881 44.8469 52.2241C44.706 51.9853 44.508 51.7852 44.2706 51.6421C44.0331 51.4989 43.7638 51.4171 43.4869 51.4041C42.2468 51.4041 41.3568 52.5341 40.4068 53.7941C40.1768 54.1041 39.9469 54.4041 39.7069 54.6841C39.1032 55.3354 38.3736 55.8573 37.5623 56.2183C36.7509 56.5792 35.8748 56.7717 34.9869 56.7841C34.5196 56.8341 34.047 56.7861 33.5993 56.6432C33.1517 56.5003 32.7387 56.2656 32.3869 55.9541C32.1279 55.6099 31.9585 55.2067 31.8939 54.7808C31.8293 54.3549 31.8716 53.9196 32.0168 53.5141C32.3968 51.9941 33.9268 50.1041 42.3069 47.6041C51.3069 44.9241 52.8069 44.5441 52.8669 44.5241H53.0669C54.9369 44.0741 56.6969 43.6441 57.4569 42.2241C57.9769 41.2241 58.0369 39.7941 57.5669 39.4241C57.3169 39.2141 56.8069 39.3141 56.6369 39.3441C51.1269 40.3441 43.5469 42.4041 35.5269 44.5241C23.9069 47.5741 11.8869 50.7541 3.73685 51.7041C3.65224 51.7186 3.56554 51.7158 3.48209 51.6956C3.39863 51.6754 3.32018 51.6384 3.25154 51.5869C3.1829 51.5353 3.12553 51.4702 3.08295 51.3957C3.04037 51.3211 3.01347 51.2387 3.00391 51.1533C2.99436 51.068 3.00234 50.9816 3.02738 50.8995C3.05241 50.8174 3.09397 50.7412 3.14949 50.6758C3.20502 50.6103 3.27335 50.5568 3.35028 50.5187C3.42721 50.4806 3.51111 50.4586 3.59685 50.4541C11.6469 49.5141 23.5969 46.3441 35.2069 43.2741C43.2069 41.1441 50.8468 39.1341 56.4068 38.0741C56.737 37.9912 57.0808 37.9777 57.4165 38.0345C57.7521 38.0913 58.0723 38.2171 58.3568 38.4041C59.5168 39.3341 59.2269 41.5441 58.5669 42.7841C57.5669 44.7041 55.3169 45.2441 53.3669 45.7141H53.1669C53.1669 45.7141 51.5368 46.1141 42.6669 48.7641C33.7969 51.4141 33.3869 53.2241 33.2369 53.8341C33.1568 54.0405 33.1224 54.2619 33.1363 54.4829C33.1501 54.7039 33.2117 54.9192 33.3169 55.1141C33.7932 55.4512 34.3771 55.6008 34.9569 55.5341C35.6647 55.5281 36.3641 55.3798 37.0134 55.098C37.6628 54.8163 38.2489 54.4069 38.7369 53.8941C38.9669 53.6241 39.1768 53.3341 39.4068 53.0441C40.4068 51.6541 41.6669 50.0441 43.5469 50.1541C44.0205 50.1737 44.4822 50.3088 44.8918 50.5476C45.3013 50.7864 45.6464 51.1216 45.8969 51.5241C46.3332 52.2528 46.6041 53.0685 46.6905 53.9135C46.7769 54.7585 46.6767 55.6121 46.3969 56.4141C45.1869 59.8141 41.3969 62.7341 34.9869 65.0941C31.8169 66.2741 30.0368 66.9541 28.4069 67.6141L25.7169 68.6741C22.3368 69.9941 18.1369 71.6741 13.3169 74.0041C13.2289 74.044 13.1334 74.0645 13.0369 74.0641Z",fill:"#69727D"}),(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("path",{d:"M44.7768 52.4033C44.7768 52.4033 40.7768 58.6033 35.3768 59.8033C29.9768 61.0033 10.1768 68.2233 10.1768 68.2233L14.0768 73.0233C14.0768 73.0233 44.9468 63.9533 45.4868 54.6333L44.7768 52.4033Z",fill:"#F1F3F3"})})})]}),(0,Nt.jsx)("defs",{children:(0,Nt.jsx)("clipPath",{id:"clip0_2163_56876",children:(0,Nt.jsx)("rect",{width:"128",height:"72",fill:"white"})})})]}),r_=()=>(0,Nt.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",role:"presentation",children:(0,Nt.jsx)("path",{d:"M2.5 10H3.33333M10 2.5V3.33333M16.6667 10H17.5M10 16.6667V17.5M4.66667 4.66667L5.25 5.25M15.3333 4.66667L14.75 5.25M14.75 14.75L15.3333 15.3333M5.25 14.75L4.66667 15.3333M13.3333 10C13.3333 11.8409 11.8409 13.3333 10 13.3333C8.15905 13.3333 6.66667 11.8409 6.66667 10C6.66667 8.15905 8.15905 6.66667 10 6.66667C11.8409 6.66667 13.3333 8.15905 13.3333 10Z",stroke:"black",strokeOpacity:"0.54",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),n_=()=>(0,Nt.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",role:"presentation",children:(0,Nt.jsx)("path",{d:"M2.5 2.5L17.5 17.5M13.3333 10C13.3333 9.11594 12.9822 8.2681 12.357 7.64298C11.7319 7.01786 10.8841 6.66667 10 6.66667M7.63835 7.6475C7.01354 8.27297 6.66279 9.12102 6.66326 10.0051C6.66373 10.8892 7.01538 11.7369 7.64084 12.3617C8.26631 12.9865 9.11437 13.3372 9.99845 13.3368C10.8825 13.3363 11.7302 12.9846 12.355 12.3592M2.5 10H3.33333M10 2.5V3.33333M16.6667 10H17.5M10 16.6667V17.5M4.66667 4.66667L5.25 5.25M15.3333 4.66667L14.75 5.25M14.75 14.75L15.3333 15.3333M5.25 14.75L4.66667 15.3333",stroke:"black",strokeOpacity:"0.54",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),o_=()=>(0,Nt.jsxs)("svg",{width:"128",height:"72",viewBox:"0 0 128 72",fill:"none",role:"presentation",children:[(0,Nt.jsx)("path",{d:"M18.5195 29.4828C18.8495 25.5328 23.6695 22.5128 27.4895 23.6428C27.0695 21.4328 27.3195 19.1528 28.1995 17.0828C29.0795 15.0128 30.5495 13.2528 32.4295 12.0228C34.3495 10.8328 40.5095 8.27275 47.0095 11.7728C53.3895 15.2128 55.0095 20.2728 55.8495 27.1728C57.1095 27.2028 59.6295 27.7228 59.6295 29.5228L47.2095 29.4828C44.4495 29.5728 37.6895 29.5228 34.9295 29.4828C29.4595 29.4528 23.9995 29.4828 18.5295 29.4828H18.5195Z",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M59.6198 29.5228C59.6198 29.5228 48.4598 29.4328 47.1998 29.4828M59.6198 29.5228C59.6198 27.7228 57.0998 27.2028 55.8398 27.1728C54.9998 20.2728 53.3898 15.2128 46.9998 11.7728C40.4998 8.27275 34.3498 10.8328 32.4198 12.0228C30.5398 13.2528 29.0698 15.0228 28.1898 17.0828C27.3098 19.1528 27.0598 21.4328 27.4798 23.6428C23.6598 22.5228 18.8398 25.5328 18.5098 29.4828C23.9798 29.4828 29.4398 29.4528 34.9098 29.4828C37.6698 29.5228 44.4298 29.5728 47.1898 29.4828M59.6098 29.5228L47.1898 29.4828",stroke:"#69727D",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M17.03 19.6828C16.88 19.6828 16.73 19.6228 16.63 19.5128C16.52 19.4128 16.46 19.2628 16.46 19.1228C16.46 17.1828 15.5 16.2128 13.58 16.2128C13.43 16.2128 13.28 16.1528 13.17 16.0528C13.06 15.9428 13 15.8028 13 15.6528C13 15.5028 13.06 15.3628 13.17 15.2528C13.28 15.1428 13.42 15.0928 13.58 15.0928C15.5 15.0928 16.46 14.1195 16.46 12.1728C16.46 12.0228 16.52 11.8828 16.63 11.7728C16.74 11.6628 16.88 11.6128 17.04 11.6128C17.2 11.6128 17.34 11.6728 17.45 11.7728C17.56 11.8728 17.62 12.0228 17.62 12.1728C17.62 14.1195 18.5833 15.0928 20.51 15.0928C20.66 15.0928 20.81 15.1528 20.92 15.2528C21.03 15.3628 21.09 15.5028 21.09 15.6528C21.09 15.8028 21.03 15.9428 20.92 16.0528C20.81 16.1628 20.67 16.2128 20.51 16.2128C18.5833 16.2128 17.62 17.1828 17.62 19.1228C17.62 19.1928 17.61 19.2728 17.58 19.3328C17.55 19.4028 17.51 19.4628 17.46 19.5128C17.41 19.5628 17.34 19.6028 17.27 19.6328C17.2 19.6628 17.13 19.6728 17.05 19.6728L17.03 19.6828Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M93.73 18.7002V53.5702C89.5242 52.1891 85.0076 52.0606 80.73 53.2002C78.5076 53.7922 76.4667 54.9261 74.79 56.5002H39V18.7002H93.73Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M70.6797 56.8802C71.8297 55.3702 73.6797 51.3402 76.5497 49.8202C83.9797 45.8202 91.6997 48.7402 93.0797 49.2802C92.9097 51.0602 92.7297 54.8402 92.5497 56.6202L70.6797 56.8802Z",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M74.8102 57.3004H39.0002C38.788 57.3004 38.5845 57.2161 38.4345 57.0661C38.2845 56.916 38.2002 56.7126 38.2002 56.5004V18.7004C38.2002 18.4882 38.2845 18.2847 38.4345 18.1347C38.5845 17.9847 38.788 17.9004 39.0002 17.9004H93.7302C93.9424 17.9004 94.1459 17.9847 94.2959 18.1347C94.4459 18.2847 94.5302 18.4882 94.5302 18.7004V53.5704C94.5286 53.6973 94.4971 53.8221 94.4384 53.9346C94.3797 54.0471 94.2954 54.1443 94.1922 54.2182C94.0891 54.2922 93.97 54.3409 93.8446 54.3604C93.7192 54.3798 93.5909 54.3696 93.4702 54.3304C89.4324 53.0196 85.1016 52.905 81.0002 54.0004C78.9122 54.5576 76.9927 55.6186 75.4102 57.0904C75.3298 57.1645 75.2351 57.2214 75.1319 57.2575C75.0288 57.2937 74.9192 57.3082 74.8102 57.3004ZM39.8102 55.7004H74.4902C76.2099 54.1603 78.2639 53.0409 80.4902 52.4304C84.5517 51.3404 88.8287 51.3404 92.8902 52.4304V19.4304H39.7802L39.8102 55.7004Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M93.8802 18.6201H38.9502V20.4901H93.8802V18.6201Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M93.8802 21.2804H39.0002C38.788 21.2804 38.5845 21.1961 38.4345 21.0461C38.2845 20.896 38.2002 20.6925 38.2002 20.4804V18.6204C38.2002 18.5153 38.2209 18.4113 38.2611 18.3142C38.3013 18.2172 38.3602 18.129 38.4345 18.0547C38.5088 17.9804 38.597 17.9215 38.694 17.8813C38.7911 17.8411 38.8951 17.8204 39.0002 17.8204H93.8802C93.9856 17.819 94.0903 17.8388 94.1879 17.8785C94.2856 17.9183 94.3743 17.9771 94.4489 18.0517C94.5234 18.1263 94.5823 18.215 94.622 18.3126C94.6618 18.4103 94.6815 18.5149 94.6802 18.6204V20.4804C94.6802 20.6925 94.5959 20.896 94.4459 21.0461C94.2959 21.1961 94.0924 21.2804 93.8802 21.2804ZM39.7502 19.6804H93.0802V19.4204H39.7502V19.6804Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M72.6302 61.4002C71.9302 57.7502 75.3702 53.9402 80.7502 52.4002C86.1302 50.8602 93.0502 51.6902 97.0902 54.4002C96.5902 51.1002 100.47 47.7502 105.68 46.9802C110.89 46.2102 116.79 48.1202 118.74 51.2102",fill:"white"}),(0,Nt.jsx)("path",{d:"M72.6304 62.2002C72.4441 62.1993 72.2637 62.1341 72.1198 62.0157C71.9759 61.8973 71.8772 61.7329 71.8404 61.5502C71.0704 57.4702 74.7204 53.2902 80.5304 51.6302C85.7893 50.1955 91.3873 50.6812 96.3204 53.0002C96.4869 52.0827 96.871 51.2186 97.4404 50.4802C99.0604 48.2902 102.1 46.6802 105.56 46.1702C111.08 45.3502 117.3 47.4102 119.42 50.7602C119.534 50.9392 119.573 51.1562 119.527 51.3635C119.481 51.5707 119.354 51.7512 119.175 51.8652C118.996 51.9793 118.779 52.0175 118.572 51.9716C118.365 51.9256 118.184 51.7992 118.07 51.6202C116.29 48.8002 110.67 47.0302 105.79 47.7502C103.055 48.0525 100.533 49.3692 98.7204 51.4402C98.3985 51.8299 98.1583 52.2804 98.014 52.7649C97.8697 53.2493 97.8242 53.7579 97.8804 54.2602C97.9039 54.4131 97.8825 54.5696 97.8189 54.7106C97.7553 54.8516 97.6522 54.9711 97.522 55.0547C97.3919 55.1383 97.2403 55.1824 97.0856 55.1816C96.9309 55.1808 96.7797 55.1352 96.6504 55.0502C92.8304 52.5102 86.0904 51.7002 81.0004 53.1702C76.0804 54.5802 72.8404 58.0502 73.4504 61.2502C73.4884 61.4584 73.4424 61.6731 73.3225 61.8474C73.2025 62.0217 73.0184 62.1413 72.8104 62.1802L72.6304 62.2002Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M65.8097 50.5295C72.785 50.5295 78.4397 44.8749 78.4397 37.8995C78.4397 30.9242 72.785 25.2695 65.8097 25.2695C58.8343 25.2695 53.1797 30.9242 53.1797 37.8995C53.1797 44.8749 58.8343 50.5295 65.8097 50.5295Z",fill:"#F1F3F3"}),(0,Nt.jsx)("path",{d:"M69.7503 38.6996H61.8703C61.6581 38.6996 61.4547 38.6153 61.3046 38.4653C61.1546 38.3153 61.0703 38.1118 61.0703 37.8996C61.0703 37.6874 61.1546 37.484 61.3046 37.3339C61.4547 37.1839 61.6581 37.0996 61.8703 37.0996H69.7503C69.9625 37.0996 70.166 37.1839 70.316 37.3339C70.466 37.484 70.5503 37.6874 70.5503 37.8996C70.5503 38.1118 70.466 38.3153 70.316 38.4653C70.166 38.6153 69.9625 38.6996 69.7503 38.6996Z",fill:"#69727D"}),(0,Nt.jsx)("path",{d:"M65.8098 42.6402C65.5976 42.6402 65.3941 42.5559 65.2441 42.4059C65.0941 42.2559 65.0098 42.0524 65.0098 41.8402V34.0002C65.0098 33.788 65.0941 33.5845 65.2441 33.4345C65.3941 33.2845 65.5976 33.2002 65.8098 33.2002C66.0219 33.2002 66.2254 33.2845 66.3755 33.4345C66.5255 33.5845 66.6098 33.788 66.6098 34.0002V41.8902C66.597 42.0936 66.5072 42.2844 66.3585 42.4238C66.2098 42.5632 66.0135 42.6406 65.8098 42.6402Z",fill:"#69727D"})]});var i_=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.66005 6.72071C4.46747 8.15133 3.75 9.99188 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C14.0081 20.25 15.8487 19.5325 17.2793 18.34L5.66005 6.72071ZM6.72071 5.66005L18.34 17.2793C19.5325 15.8487 20.25 14.0081 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75C9.99188 3.75 8.15133 4.46747 6.72071 5.66005ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12Z"})));function a_(e){return ho("MuiButton",e)}const s_=fo("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]),l_=e.createContext({}),c_=e.createContext(void 0),u_=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],d_=e=>(0,Se.A)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),p_=jo(xi,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`${r.variant}${wi(r.color)}`],t[`size${wi(r.size)}`],t[`${r.variant}Size${wi(r.size)}`],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth]}})(({theme:e,ownerState:t})=>{var r,n;const o="light"===e.palette.mode?e.palette.grey[300]:e.palette.grey[800],i="light"===e.palette.mode?e.palette.grey.A100:e.palette.grey[700];return(0,Se.A)({},e.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create(["background-color","box-shadow","border-color","color"],{duration:e.transitions.duration.short}),"&:hover":(0,Se.A)({textDecoration:"none",backgroundColor:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette.text.primary,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(e.vars||e).palette[t.color].main}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:e.vars?e.vars.palette.Button.inheritContainedHoverBg:i,boxShadow:(e.vars||e).shadows[4],"@media (hover: none)":{boxShadow:(e.vars||e).shadows[2],backgroundColor:(e.vars||e).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}}),"&:active":(0,Se.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[8]}),[`&.${s_.focusVisible}`]:(0,Se.A)({},"contained"===t.variant&&{boxShadow:(e.vars||e).shadows[6]}),[`&.${s_.disabled}`]:(0,Se.A)({color:(e.vars||e).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(e.vars||e).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(e.vars||e).palette.action.disabled,boxShadow:(e.vars||e).shadows[0],backgroundColor:(e.vars||e).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:e.vars?`1px solid rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,Oe.X4)(e.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:e.vars?e.vars.palette.text.primary:null==(r=(n=e.palette).getContrastText)?void 0:r.call(n,e.palette.grey[300]),backgroundColor:e.vars?e.vars.palette.Button.inheritContainedBg:o,boxShadow:(e.vars||e).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:e.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:e.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:e.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})},({ownerState:e})=>e.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${s_.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${s_.disabled}`]:{boxShadow:"none"}}),h_=jo("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.startIcon,t[`iconSize${wi(r.size)}`]]}})(({ownerState:e})=>(0,Se.A)({display:"inherit",marginRight:8,marginLeft:-4},"small"===e.size&&{marginLeft:-2},d_(e))),f_=jo("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.endIcon,t[`iconSize${wi(r.size)}`]]}})(({ownerState:e})=>(0,Se.A)({display:"inherit",marginRight:-4,marginLeft:8},"small"===e.size&&{marginRight:-2},d_(e))),m_=e.forwardRef(function(t,r){const n=e.useContext(l_),o=e.useContext(c_),i=Io({props:an(n,t),name:"MuiButton"}),{children:a,color:s="primary",component:l="button",className:c,disabled:u=!1,disableElevation:d=!1,disableFocusRipple:p=!1,endIcon:h,focusVisibleClassName:f,fullWidth:m=!1,size:g="medium",startIcon:b,type:y,variant:v="text"}=i,x=(0,Ae.A)(i,u_),w=(0,Se.A)({},i,{color:s,component:l,disabled:u,disableElevation:d,disableFocusRipple:p,fullWidth:m,size:g,type:y,variant:v}),_=(e=>{const{color:t,disableElevation:r,fullWidth:n,size:o,variant:i,classes:a}=e,s=_o({root:["root",i,`${i}${wi(t)}`,`size${wi(o)}`,`${i}Size${wi(o)}`,`color${wi(t)}`,r&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["icon","startIcon",`iconSize${wi(o)}`],endIcon:["icon","endIcon",`iconSize${wi(o)}`]},a_,a);return(0,Se.A)({},a,s)})(w),C=b&&(0,Nt.jsx)(h_,{className:_.startIcon,ownerState:w,children:b}),k=h&&(0,Nt.jsx)(f_,{className:_.endIcon,ownerState:w,children:h}),S=o||"";return(0,Nt.jsxs)(p_,(0,Se.A)({ownerState:w,className:ao(n.className,_.root,c,S),component:l,disabled:u,focusRipple:!p,focusVisibleClassName:ao(_.focusVisible,f),ref:r,type:y},x,{classes:_,children:[C,a,k]}))});function g_(e){return ho("MuiCircularProgress",e)}fo("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"]);const b_=["className","color","disableShrink","size","style","thickness","value","variant"];let y_,v_,x_,w_,C_=e=>e;const k_=(0,ei.i7)(y_||(y_=C_`
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
`)),S_=(0,ei.i7)(v_||(v_=C_`
0% {
stroke-dasharray: 1px, 200px;
stroke-dashoffset: 0;
}
50% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -15px;
}
100% {
stroke-dasharray: 100px, 200px;
stroke-dashoffset: -125px;
}
`)),A_=jo("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`color${wi(r.color)}`]]}})(({ownerState:e,theme:t})=>(0,Se.A)({display:"inline-block"},"determinate"===e.variant&&{transition:t.transitions.create("transform")},"inherit"!==e.color&&{color:(t.vars||t).palette[e.color].main}),({ownerState:e})=>"indeterminate"===e.variant&&(0,ei.AH)(x_||(x_=C_`
animation: ${0} 1.4s linear infinite;
`),k_)),j_=jo("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),R_=jo("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.circle,t[`circle${wi(r.variant)}`],r.disableShrink&&t.circleDisableShrink]}})(({ownerState:e,theme:t})=>(0,Se.A)({stroke:"currentColor"},"determinate"===e.variant&&{transition:t.transitions.create("stroke-dashoffset")},"indeterminate"===e.variant&&{strokeDasharray:"80px, 200px",strokeDashoffset:0}),({ownerState:e})=>"indeterminate"===e.variant&&!e.disableShrink&&(0,ei.AH)(w_||(w_=C_`
animation: ${0} 1.4s ease-in-out infinite;
`),S_)),I_=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiCircularProgress"}),{className:n,color:o="primary",disableShrink:i=!1,size:a=40,style:s,thickness:l=3.6,value:c=0,variant:u="indeterminate"}=r,d=(0,Ae.A)(r,b_),p=(0,Se.A)({},r,{color:o,disableShrink:i,size:a,thickness:l,value:c,variant:u}),h=(e=>{const{classes:t,variant:r,color:n,disableShrink:o}=e;return _o({root:["root",r,`color${wi(n)}`],svg:["svg"],circle:["circle",`circle${wi(r)}`,o&&"circleDisableShrink"]},g_,t)})(p),f={},m={},g={};if("determinate"===u){const e=2*Math.PI*((44-l)/2);f.strokeDasharray=e.toFixed(3),g["aria-valuenow"]=Math.round(c),f.strokeDashoffset=`${((100-c)/100*e).toFixed(3)}px`,m.transform="rotate(-90deg)"}return(0,Nt.jsx)(A_,(0,Se.A)({className:ao(h.root,n),style:(0,Se.A)({width:a,height:a},m,s),ownerState:p,ref:t,role:"progressbar"},g,d,{children:(0,Nt.jsx)(j_,{className:h.svg,ownerState:p,viewBox:"22 22 44 44",children:(0,Nt.jsx)(R_,{className:h.circle,style:f,ownerState:p,cx:44,cy:44,r:(44-l)/2,fill:"none",strokeWidth:l})})}))}),M_=I_;var E_=t().forwardRef((e,r)=>t().createElement(M_,{...e,ref:r}));const T_="rgba(0, 0, 0, 0.04)",O_="rgba(0, 0, 0, 0.08)",P_=Ma(m_)(({theme:e,ownerState:t})=>{const{color:r,unstableToColor:n,unstableGradientAngle:o}=t,i=r&&"inherit"!==r?r:"primary",a=!!e.palette[i]?.__unstableTonalMain,s=({variant:e})=>"unstableTonal"===e&&a,l=({variant:e})=>!!e&&!["contained","outlined","text"].includes(e);return{variants:[{props:()=>t.loading&&"center"===t.loadingPosition,style:{"&.MuiButtonBase-root":{"&, &:hover, &:focus, &:active":{color:"transparent"}},"& .MuiButton-loadingWrapper":{display:"contents","& .MuiButton-loadingIndicator":{display:"flex",position:"absolute",left:"50%",transform:"translateX(-50%)",color:e.palette.action.disabled}}}},{props:e=>s(e)&&"inherit"!==e.color&&!e.disabled,style:{background:e.palette[i]?.__unstableTonalMain,color:e.palette[i].main,"&:hover":{backgroundColor:e.palette[i]?.__unstableTonalDark}}},{props:e=>e.disabled&&l(e),style:{background:e.palette.action.disabledBackground,color:e.palette.action.disabled}},{props:e=>s(e)&&"inherit"===e.color,style:{background:T_,color:"inherit","&:hover":{backgroundColor:O_}}},{props:e=>"unstableTonal"===e.variant&&!a,style:{background:"#ff0000",color:"#ff0000"}},{props:e=>"small"===e.size&&l(e),style:{padding:"4px 10px",fontSize:e.typography.pxToRem(13)}},{props:e=>"large"===e.size&&l(e),style:{padding:"8px 22px",fontSize:e.typography.pxToRem(15)}},{props:e=>(({variant:e})=>"unstableGradient"===e&&a)(e)&&!e.disabled,style:B_(e,o,r,n)},{props:e=>"unstableGradient"===e.variant&&!a,style:{background:"#ff0000",color:"#ff0000"}}]}}),L_=(e="primary",t="text",r)=>{if(e)return"inherit"===e?"inherit":"contained"===t?`${e}.contrastText`:"unstableTonal"===t?`${e}.main`:r.palette.primary.__unstableAccessibleMain&&$r.includes(e)?`${e}.${fe}`:`${e}.main`},z_={loading:!1,loadingIndicator:t().createElement(E_,{color:"inherit",size:16}),loadingPosition:"center"},N_=t().forwardRef((e,r)=>{const n={...z_,...e},o=t().useContext(l_),i=ds(),{sx:a={},unstableToColor:s,unstableGradientAngle:l,...c}=function(e){const{loading:r,loadingPosition:n,loadingIndicator:o,...i}=e;if(!r)return i;switch(n){case"start":i.startIcon=o;break;case"end":i.endIcon=o;break;case"center":i.children=t().createElement(D_,{loadingIndicator:o},e.children)}return{...i,disabled:!0}}(n),u={...c,loading:n.loading,loadingPosition:n.loadingPosition,loadingIndicator:n.loadingIndicator,unstableToColor:s,unstableGradientAngle:l};let d={};const p=c.href?he:"&:hover,&:focus,&:active",h=c.color||o?.color,f=c.variant||o?.variant;return d={[p]:{color:L_(h,f,i)}},t().createElement(P_,{...c,color:h,variant:f,sx:{...d,...a},ref:r,ownerState:u})});var F_=N_;function D_({loadingIndicator:e,children:r}){return t().createElement(t().Fragment,null,t().createElement("div",{className:"MuiButton-loadingWrapper"},t().createElement("div",{className:"MuiButton-loadingIndicator"},e)),r)}function B_(e,t,r,n){if(!r)return;const o=r,i=function(e,t){if(void 0!==t)return t;const{__unstableGradientAngle:r}=e.palette.action;return void 0!==r?r:125}(e,t);let{main:a,__unstableTonalMain:s,__unstableTonalDark:l}=e.palette[o]||{};"inherit"===r&&(a="inherit",s=T_,l=O_);const c=[s],u=[l];if(n){const t=n,{__unstableTonalMain:r,__unstableTonalDark:o}=e.palette[t];c.push(r),u.push(o)}return{color:a,backgroundImage:`linear-gradient( ${i}deg, ${c.join(", ")} )`,"&:hover":{backgroundImage:`linear-gradient( ${i}deg, ${u.join(",")} )`}}}function $_(e){return ho("MuiCard",e)}N_.defaultProps=z_,fo("MuiCard",["root"]);const H_=["className","raised"],W_=jo(Gi,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),V_=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiCard"}),{className:n,raised:o=!1}=r,i=(0,Ae.A)(r,H_),a=(0,Se.A)({},r,{raised:o}),s=(e=>{const{classes:t}=e;return _o({root:["root"]},$_,t)})(a);return(0,Nt.jsx)(W_,(0,Se.A)({className:ao(s.root,n),elevation:o?8:void 0,ref:t,ownerState:a},i))});var q_=t().forwardRef((e,r)=>t().createElement(V_,{...e,ref:r}));function U_(e){return ho("MuiCardContent",e)}fo("MuiCardContent",["root"]);const Z_=["className","component"],G_=jo("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),K_=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiCardContent"}),{className:n,component:o="div"}=r,i=(0,Ae.A)(r,Z_),a=(0,Se.A)({},r,{component:o}),s=(e=>{const{classes:t}=e;return _o({root:["root"]},U_,t)})(a);return(0,Nt.jsx)(G_,(0,Se.A)({as:o,className:ao(s.root,n),ownerState:a,ref:t},i))});var X_=t().forwardRef((e,r)=>t().createElement(K_,{...e,ref:r}));const J_=sa((0,Nt.jsx)("path",{d:"M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z"}),"Cancel");function Y_(e){return ho("MuiChip",e)}const Q_=fo("MuiChip",["root","sizeSmall","sizeMedium","colorError","colorInfo","colorPrimary","colorSecondary","colorSuccess","colorWarning","disabled","clickable","clickableColorPrimary","clickableColorSecondary","deletable","deletableColorPrimary","deletableColorSecondary","outlined","filled","outlinedPrimary","outlinedSecondary","filledPrimary","filledSecondary","avatar","avatarSmall","avatarMedium","avatarColorPrimary","avatarColorSecondary","icon","iconSmall","iconMedium","iconColorPrimary","iconColorSecondary","label","labelSmall","labelMedium","deleteIcon","deleteIconSmall","deleteIconMedium","deleteIconColorPrimary","deleteIconColorSecondary","deleteIconOutlinedColorPrimary","deleteIconOutlinedColorSecondary","deleteIconFilledColorPrimary","deleteIconFilledColorSecondary","focusVisible"]),eC=["avatar","className","clickable","color","component","deleteIcon","disabled","icon","label","onClick","onDelete","onKeyDown","onKeyUp","size","variant","tabIndex","skipFocusWhenDisabled"],tC=jo("div",{name:"MuiChip",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e,{color:n,iconColor:o,clickable:i,onDelete:a,size:s,variant:l}=r;return[{[`& .${Q_.avatar}`]:t.avatar},{[`& .${Q_.avatar}`]:t[`avatar${wi(s)}`]},{[`& .${Q_.avatar}`]:t[`avatarColor${wi(n)}`]},{[`& .${Q_.icon}`]:t.icon},{[`& .${Q_.icon}`]:t[`icon${wi(s)}`]},{[`& .${Q_.icon}`]:t[`iconColor${wi(o)}`]},{[`& .${Q_.deleteIcon}`]:t.deleteIcon},{[`& .${Q_.deleteIcon}`]:t[`deleteIcon${wi(s)}`]},{[`& .${Q_.deleteIcon}`]:t[`deleteIconColor${wi(n)}`]},{[`& .${Q_.deleteIcon}`]:t[`deleteIcon${wi(l)}Color${wi(n)}`]},t.root,t[`size${wi(s)}`],t[`color${wi(n)}`],i&&t.clickable,i&&"default"!==n&&t[`clickableColor${wi(n)})`],a&&t.deletable,a&&"default"!==n&&t[`deletableColor${wi(n)}`],t[l],t[`${l}${wi(n)}`]]}})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[700]:e.palette.grey[300];return(0,Se.A)({maxWidth:"100%",fontFamily:e.typography.fontFamily,fontSize:e.typography.pxToRem(13),display:"inline-flex",alignItems:"center",justifyContent:"center",height:32,color:(e.vars||e).palette.text.primary,backgroundColor:(e.vars||e).palette.action.selected,borderRadius:16,whiteSpace:"nowrap",transition:e.transitions.create(["background-color","box-shadow"]),cursor:"unset",outline:0,textDecoration:"none",border:0,padding:0,verticalAlign:"middle",boxSizing:"border-box",[`&.${Q_.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity,pointerEvents:"none"},[`& .${Q_.avatar}`]:{marginLeft:5,marginRight:-6,width:24,height:24,color:e.vars?e.vars.palette.Chip.defaultAvatarColor:r,fontSize:e.typography.pxToRem(12)},[`& .${Q_.avatarColorPrimary}`]:{color:(e.vars||e).palette.primary.contrastText,backgroundColor:(e.vars||e).palette.primary.dark},[`& .${Q_.avatarColorSecondary}`]:{color:(e.vars||e).palette.secondary.contrastText,backgroundColor:(e.vars||e).palette.secondary.dark},[`& .${Q_.avatarSmall}`]:{marginLeft:4,marginRight:-4,width:18,height:18,fontSize:e.typography.pxToRem(10)},[`& .${Q_.icon}`]:(0,Se.A)({marginLeft:5,marginRight:-6},"small"===t.size&&{fontSize:18,marginLeft:4,marginRight:-4},t.iconColor===t.color&&(0,Se.A)({color:e.vars?e.vars.palette.Chip.defaultIconColor:r},"default"!==t.color&&{color:"inherit"})),[`& .${Q_.deleteIcon}`]:(0,Se.A)({WebkitTapHighlightColor:"transparent",color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.26)`:(0,Oe.X4)(e.palette.text.primary,.26),fontSize:22,cursor:"pointer",margin:"0 5px 0 -6px","&:hover":{color:e.vars?`rgba(${e.vars.palette.text.primaryChannel} / 0.4)`:(0,Oe.X4)(e.palette.text.primary,.4)}},"small"===t.size&&{fontSize:16,marginRight:4,marginLeft:-4},"default"!==t.color&&{color:e.vars?`rgba(${e.vars.palette[t.color].contrastTextChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].contrastText,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].contrastText}})},"small"===t.size&&{height:24},"default"!==t.color&&{backgroundColor:(e.vars||e).palette[t.color].main,color:(e.vars||e).palette[t.color].contrastText},t.onDelete&&{[`&.${Q_.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},t.onDelete&&"default"!==t.color&&{[`&.${Q_.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}})},({theme:e,ownerState:t})=>(0,Se.A)({},t.clickable&&{userSelect:"none",WebkitTapHighlightColor:"transparent",cursor:"pointer","&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity)},[`&.${Q_.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},"&:active":{boxShadow:(e.vars||e).shadows[1]}},t.clickable&&"default"!==t.color&&{[`&:hover, &.${Q_.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}}),({theme:e,ownerState:t})=>(0,Se.A)({},"outlined"===t.variant&&{backgroundColor:"transparent",border:e.vars?`1px solid ${e.vars.palette.Chip.defaultBorder}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[700]}`,[`&.${Q_.clickable}:hover`]:{backgroundColor:(e.vars||e).palette.action.hover},[`&.${Q_.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`& .${Q_.avatar}`]:{marginLeft:4},[`& .${Q_.avatarSmall}`]:{marginLeft:2},[`& .${Q_.icon}`]:{marginLeft:4},[`& .${Q_.iconSmall}`]:{marginLeft:2},[`& .${Q_.deleteIcon}`]:{marginRight:5},[`& .${Q_.deleteIconSmall}`]:{marginRight:3}},"outlined"===t.variant&&"default"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].main,.7)}`,[`&.${Q_.clickable}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.hoverOpacity)},[`&.${Q_.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.focusOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.focusOpacity)},[`& .${Q_.deleteIcon}`]:{color:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.7)`:(0,Oe.X4)(e.palette[t.color].main,.7),"&:hover, &:active":{color:(e.vars||e).palette[t.color].main}}})),rC=jo("span",{name:"MuiChip",slot:"Label",overridesResolver:(e,t)=>{const{ownerState:r}=e,{size:n}=r;return[t.label,t[`label${wi(n)}`]]}})(({ownerState:e})=>(0,Se.A)({overflow:"hidden",textOverflow:"ellipsis",paddingLeft:12,paddingRight:12,whiteSpace:"nowrap"},"outlined"===e.variant&&{paddingLeft:11,paddingRight:11},"small"===e.size&&{paddingLeft:8,paddingRight:8},"small"===e.size&&"outlined"===e.variant&&{paddingLeft:7,paddingRight:7}));function nC(e){return"Backspace"===e.key||"Delete"===e.key}const oC=["shape"],iC=Ma(e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiChip"}),{avatar:o,className:i,clickable:a,color:s="default",component:l,deleteIcon:c,disabled:u=!1,icon:d,label:p,onClick:h,onDelete:f,onKeyDown:m,onKeyUp:g,size:b="medium",variant:y="filled",tabIndex:v,skipFocusWhenDisabled:x=!1}=n,w=(0,Ae.A)(n,eC),_=e.useRef(null),C=Eo(_,r),k=e=>{e.stopPropagation(),f&&f(e)},S=!(!1===a||!h)||a,A=S||f?xi:l||"div",j=(0,Se.A)({},n,{component:A,disabled:u,size:b,color:s,iconColor:e.isValidElement(d)&&d.props.color||s,onDelete:!!f,clickable:S,variant:y}),R=(e=>{const{classes:t,disabled:r,size:n,color:o,iconColor:i,onDelete:a,clickable:s,variant:l}=e;return _o({root:["root",l,r&&"disabled",`size${wi(n)}`,`color${wi(o)}`,s&&"clickable",s&&`clickableColor${wi(o)}`,a&&"deletable",a&&`deletableColor${wi(o)}`,`${l}${wi(o)}`],label:["label",`label${wi(n)}`],avatar:["avatar",`avatar${wi(n)}`,`avatarColor${wi(o)}`],icon:["icon",`icon${wi(n)}`,`iconColor${wi(i)}`],deleteIcon:["deleteIcon",`deleteIcon${wi(n)}`,`deleteIconColor${wi(o)}`,`deleteIcon${wi(l)}Color${wi(o)}`]},Y_,t)})(j),I=A===xi?(0,Se.A)({component:l||"div",focusVisibleClassName:R.focusVisible},f&&{disableRipple:!0}):{};let M=null;f&&(M=c&&e.isValidElement(c)?e.cloneElement(c,{className:ao(c.props.className,R.deleteIcon),onClick:k}):(0,Nt.jsx)(J_,{className:ao(R.deleteIcon),onClick:k}));let E=null;o&&e.isValidElement(o)&&(E=e.cloneElement(o,{className:ao(R.avatar,o.props.className)}));let T=null;return d&&e.isValidElement(d)&&(T=e.cloneElement(d,{className:ao(R.icon,d.props.className)})),(0,Nt.jsxs)(tC,(0,Se.A)({as:A,className:ao(R.root,i),disabled:!(!S||!u)||void 0,onClick:h,onKeyDown:e=>{e.currentTarget===e.target&&nC(e)&&e.preventDefault(),m&&m(e)},onKeyUp:e=>{e.currentTarget===e.target&&(f&&nC(e)?f(e):"Escape"===e.key&&_.current&&_.current.blur()),g&&g(e)},ref:C,tabIndex:x&&u?-1:v,ownerState:j},I,w,{children:[E||T,(0,Nt.jsx)(rC,{className:ao(R.label),ownerState:j,children:p}),M]}))}),{shouldForwardProp:e=>!oC.includes(e)})(({theme:e,shape:t})=>"rounded"!==t?null:{borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[1]}),aC={shape:"pill"},sC=t().forwardRef((e,r)=>{const{shape:n,...o}={...aC,...e};return t().createElement(iC,{...o,shape:n,ref:r})});sC.defaultProps=aC;var lC=sC;const cC=e.createContext({});function uC(e){return ho("MuiListItemText",e)}const dC=fo("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]),pC=["children","className","disableTypography","inset","primary","primaryTypographyProps","secondary","secondaryTypographyProps"],hC=jo("div",{name:"MuiListItemText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${dC.primary}`]:t.primary},{[`& .${dC.secondary}`]:t.secondary},t.root,r.inset&&t.inset,r.primary&&r.secondary&&t.multiline,r.dense&&t.dense]}})(({ownerState:e})=>(0,Se.A)({flex:"1 1 auto",minWidth:0,marginTop:4,marginBottom:4},e.primary&&e.secondary&&{marginTop:6,marginBottom:6},e.inset&&{paddingLeft:56})),fC=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiListItemText"}),{children:o,className:i,disableTypography:a=!1,inset:s=!1,primary:l,primaryTypographyProps:c,secondary:u,secondaryTypographyProps:d}=n,p=(0,Ae.A)(n,pC),{dense:h}=e.useContext(cC);let f=null!=l?l:o,m=u;const g=(0,Se.A)({},n,{disableTypography:a,inset:s,primary:!!f,secondary:!!m,dense:h}),b=(e=>{const{classes:t,inset:r,primary:n,secondary:o,dense:i}=e;return _o({root:["root",r&&"inset",i&&"dense",n&&o&&"multiline"],primary:["primary"],secondary:["secondary"]},uC,t)})(g);return null==f||f.type===Xw||a||(f=(0,Nt.jsx)(Xw,(0,Se.A)({variant:h?"body2":"body1",className:b.primary,component:null!=c&&c.variant?void 0:"span",display:"block"},c,{children:f}))),null==m||m.type===Xw||a||(m=(0,Nt.jsx)(Xw,(0,Se.A)({variant:"body2",className:b.secondary,color:"text.secondary",display:"block"},d,{children:m}))),(0,Nt.jsxs)(hC,(0,Se.A)({className:ao(b.root,i),ownerState:g,ref:r},p,{children:[f,m]}))});var mC=t().forwardRef((e,r)=>t().createElement(fC,{...e,ref:r}));const{slots:gC,classNames:bC}=Sa("MenuItemText",["root"]),yC=Ma(mC,gC.root)({});var vC=t().forwardRef((e,r)=>{const n=Io({props:e,name:gC.root.name});return t().createElement(yC,{...n,ref:r,className:Pi([[bC.root,n.className]]),ownerState:n})});const xC=Ma(Gi)(({theme:e,ownerState:t})=>({backgroundColor:kC(e,t.color)})),wC={color:"default"},_C=t().forwardRef((e,r)=>{const{color:n,...o}={...wC,...e},i={color:n};return t().createElement(xC,{...o,ownerState:i,ref:r})});_C.defaultProps=wC;var CC=_C;function kC(e,t="default"){const r="dark"===e.palette.mode;if("default"===t)return e.palette.background.paper;if("primary"===t||"global"===t){const n=e.palette[t];return r?Kr(n.__unstableAccessibleMain,.8):Xr(n.__unstableAccessibleMain,.95)}return Hr.includes(t)?r?Kr(e.palette[t].light,.88):Xr(e.palette[t].light,.92):e.palette.background.paper}function SC(e){return ho("MuiSkeleton",e)}fo("MuiSkeleton",["root","text","rectangular","rounded","circular","pulse","wave","withChildren","fitContent","heightAuto"]);const AC=["animation","className","component","height","style","variant","width"];let jC,RC,IC,MC,EC=e=>e;const TC=(0,ei.i7)(jC||(jC=EC`
0% {
opacity: 1;
}
50% {
opacity: 0.4;
}
100% {
opacity: 1;
}
`)),OC=(0,ei.i7)(RC||(RC=EC`
0% {
transform: translateX(-100%);
}
50% {
/* +0.5s of delay between each loop */
transform: translateX(100%);
}
100% {
transform: translateX(100%);
}
`)),PC=jo("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],!1!==r.animation&&t[r.animation],r.hasChildren&&t.withChildren,r.hasChildren&&!r.width&&t.fitContent,r.hasChildren&&!r.height&&t.heightAuto]}})(({theme:e,ownerState:t})=>{const r=function(e){return String(e).match(/[\d.\-+]*\s*(.*)/)[1]||""}(e.shape.borderRadius)||"px",n=(o=e.shape.borderRadius,parseFloat(o));var o;return(0,Se.A)({display:"block",backgroundColor:e.vars?e.vars.palette.Skeleton.bg:Gr(e.palette.text.primary,"light"===e.palette.mode?.11:.13),height:"1.2em"},"text"===t.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:`${n}${r}/${Math.round(n/.6*10)/10}${r}`,"&:empty:before":{content:'"\\00a0"'}},"circular"===t.variant&&{borderRadius:"50%"},"rounded"===t.variant&&{borderRadius:(e.vars||e).shape.borderRadius},t.hasChildren&&{"& > *":{visibility:"hidden"}},t.hasChildren&&!t.width&&{maxWidth:"fit-content"},t.hasChildren&&!t.height&&{height:"auto"})},({ownerState:e})=>"pulse"===e.animation&&(0,ei.AH)(IC||(IC=EC`
animation: ${0} 2s ease-in-out 0.5s infinite;
`),TC),({ownerState:e,theme:t})=>"wave"===e.animation&&(0,ei.AH)(MC||(MC=EC`
position: relative;
overflow: hidden;
/* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */
-webkit-mask-image: -webkit-radial-gradient(white, black);
&::after {
animation: ${0} 2s linear 0.5s infinite;
background: linear-gradient(
90deg,
transparent,
${0},
transparent
);
content: '';
position: absolute;
transform: translateX(-100%); /* Avoid flash during server-side hydration */
bottom: 0;
left: 0;
right: 0;
top: 0;
}
`),OC,(t.vars||t).palette.action.hover)),LC=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:o,component:i="span",height:a,style:s,variant:l="text",width:c}=r,u=(0,Ae.A)(r,AC),d=(0,Se.A)({},r,{animation:n,component:i,variant:l,hasChildren:Boolean(u.children)}),p=(e=>{const{classes:t,variant:r,animation:n,hasChildren:o,width:i,height:a}=e;return _o({root:["root",r,n,o&&"withChildren",o&&!i&&"fitContent",o&&!a&&"heightAuto"]},SC,t)})(d);return(0,Nt.jsx)(PC,(0,Se.A)({as:i,ref:t,className:ao(p.root,o),ownerState:d},u,{style:(0,Se.A)({width:c,height:a},s)}))}),zC=LC;var NC=t().forwardRef((e,r)=>t().createElement(zC,{...e,ref:r}));const FC=["disablePadding"],{slots:DC,classNames:BC}=Sa("TabPanel",["root"]),$C={size:"medium"},HC=Ma("div",{...DC.root,shouldForwardProp:e=>!FC.includes(e)})({}),WC=t().forwardRef((e,r)=>{const n=Io({props:e,name:DC.root.name}),{children:o,hidden:i,...a}=n;return t().createElement(HC,{...$C,...a,ref:r,role:"tabpanel",hidden:i,className:Pi([[BC.root,a.className]])},!i&&o)});WC.defaultProps=$C;var VC=WC;r(4363);const qC=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n};let UC;function ZC(){if(UC)return UC;const e=document.createElement("div"),t=document.createElement("div");return t.style.width="10px",t.style.height="1px",e.appendChild(t),e.dir="rtl",e.style.fontSize="14px",e.style.width="4px",e.style.height="1px",e.style.position="absolute",e.style.top="-1000px",e.style.overflow="scroll",document.body.appendChild(e),UC="reverse",e.scrollLeft>0?UC="default":(e.scrollLeft=1,0===e.scrollLeft&&(UC="negative")),document.body.removeChild(e),UC}function GC(e,t){const r=e.scrollLeft;if("rtl"!==t)return r;switch(ZC()){case"negative":return e.scrollWidth-e.clientWidth+r;case"reverse":return e.scrollWidth-e.clientWidth-r;default:return r}}function KC(e){return(1+Math.sin(Math.PI*e-Math.PI/2))/2}const XC=Zt;function JC(e){return e&&e.ownerDocument||document}const YC=function(e){return JC(e).defaultView||window},QC=["onChange"],ek={width:99,height:99,position:"absolute",top:-9999,overflow:"scroll"},tk=sa((0,Nt.jsx)("path",{d:"M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"}),"KeyboardArrowLeft"),rk=sa((0,Nt.jsx)("path",{d:"M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"}),"KeyboardArrowRight");function nk(e){return ho("MuiTabScrollButton",e)}const ok=fo("MuiTabScrollButton",["root","vertical","horizontal","disabled"]),ik=["className","slots","slotProps","direction","orientation","disabled"],ak=jo(xi,{name:"MuiTabScrollButton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.orientation&&t[r.orientation]]}})(({ownerState:e})=>(0,Se.A)({width:40,flexShrink:0,opacity:.8,[`&.${ok.disabled}`]:{opacity:0}},"vertical"===e.orientation&&{width:"100%",height:40,"& svg":{transform:`rotate(${e.isRtl?-90:90}deg)`}})),sk=e.forwardRef(function(e,t){var r,n;const o=Io({props:e,name:"MuiTabScrollButton"}),{className:i,slots:a={},slotProps:s={},direction:l}=o,c=(0,Ae.A)(o,ik),u=Wt(),d=(0,Se.A)({isRtl:u},o),p=(e=>{const{classes:t,orientation:r,disabled:n}=e;return _o({root:["root",r,n&&"disabled"]},nk,t)})(d),h=null!=(r=a.StartScrollButtonIcon)?r:tk,f=null!=(n=a.EndScrollButtonIcon)?n:rk,m=rs({elementType:h,externalSlotProps:s.startScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d}),g=rs({elementType:f,externalSlotProps:s.endScrollButtonIcon,additionalProps:{fontSize:"small"},ownerState:d});return(0,Nt.jsx)(ak,(0,Se.A)({component:"div",className:ao(p.root,i),ref:t,role:null,ownerState:d,tabIndex:null},c,{children:"left"===l?(0,Nt.jsx)(h,(0,Se.A)({},m)):(0,Nt.jsx)(f,(0,Se.A)({},g))}))}),lk=sk;function ck(e){return ho("MuiTabs",e)}const uk=fo("MuiTabs",["root","vertical","flexContainer","flexContainerVertical","centered","scroller","fixed","scrollableX","scrollableY","hideScrollbar","scrollButtons","scrollButtonsHideMobile","indicator"]),dk=JC,pk=["aria-label","aria-labelledby","action","centered","children","className","component","allowScrollButtonsMobile","indicatorColor","onChange","orientation","ScrollButtonComponent","scrollButtons","selectionFollowsFocus","slots","slotProps","TabIndicatorProps","TabScrollButtonProps","textColor","value","variant","visibleScrollbar"],hk=(e,t)=>e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:e.firstChild,fk=(e,t)=>e===t?e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:e.lastChild,mk=(e,t,r)=>{let n=!1,o=r(e,t);for(;o;){if(o===e.firstChild){if(n)return;n=!0}const t=o.disabled||"true"===o.getAttribute("aria-disabled");if(o.hasAttribute("tabindex")&&!t)return void o.focus();o=r(e,o)}},gk=jo("div",{name:"MuiTabs",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${uk.scrollButtons}`]:t.scrollButtons},{[`& .${uk.scrollButtons}`]:r.scrollButtonsHideMobile&&t.scrollButtonsHideMobile},t.root,r.vertical&&t.vertical]}})(({ownerState:e,theme:t})=>(0,Se.A)({overflow:"hidden",minHeight:48,WebkitOverflowScrolling:"touch",display:"flex"},e.vertical&&{flexDirection:"column"},e.scrollButtonsHideMobile&&{[`& .${uk.scrollButtons}`]:{[t.breakpoints.down("sm")]:{display:"none"}}})),bk=jo("div",{name:"MuiTabs",slot:"Scroller",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.scroller,r.fixed&&t.fixed,r.hideScrollbar&&t.hideScrollbar,r.scrollableX&&t.scrollableX,r.scrollableY&&t.scrollableY]}})(({ownerState:e})=>(0,Se.A)({position:"relative",display:"inline-block",flex:"1 1 auto",whiteSpace:"nowrap"},e.fixed&&{overflowX:"hidden",width:"100%"},e.hideScrollbar&&{scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}},e.scrollableX&&{overflowX:"auto",overflowY:"hidden"},e.scrollableY&&{overflowY:"auto",overflowX:"hidden"})),yk=jo("div",{name:"MuiTabs",slot:"FlexContainer",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.flexContainer,r.vertical&&t.flexContainerVertical,r.centered&&t.centered]}})(({ownerState:e})=>(0,Se.A)({display:"flex"},e.vertical&&{flexDirection:"column"},e.centered&&{justifyContent:"center"})),vk=jo("span",{name:"MuiTabs",slot:"Indicator",overridesResolver:(e,t)=>t.indicator})(({ownerState:e,theme:t})=>(0,Se.A)({position:"absolute",height:2,bottom:0,width:"100%",transition:t.transitions.create()},"primary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.primary.main},"secondary"===e.indicatorColor&&{backgroundColor:(t.vars||t).palette.secondary.main},e.vertical&&{height:"100%",width:2,right:0})),xk=jo(function(t){const{onChange:r}=t,n=(0,Ae.A)(t,QC),o=e.useRef(),i=e.useRef(null),a=()=>{o.current=i.current.offsetHeight-i.current.clientHeight};return XC(()=>{const e=qC(()=>{const e=o.current;a(),e!==o.current&&r(o.current)}),t=YC(i.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[r]),e.useEffect(()=>{a(),r(o.current)},[r]),(0,Nt.jsx)("div",(0,Se.A)({style:ek,ref:i},n))})({overflowX:"auto",overflowY:"hidden",scrollbarWidth:"none","&::-webkit-scrollbar":{display:"none"}}),wk={},_k=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiTabs"}),o=ds(),i=Wt(),{"aria-label":a,"aria-labelledby":s,action:l,centered:c=!1,children:u,className:d,component:p="div",allowScrollButtonsMobile:h=!1,indicatorColor:f="primary",onChange:m,orientation:g="horizontal",ScrollButtonComponent:b=lk,scrollButtons:y="auto",selectionFollowsFocus:v,slots:x={},slotProps:w={},TabIndicatorProps:_={},TabScrollButtonProps:C={},textColor:k="primary",value:S,variant:A="standard",visibleScrollbar:j=!1}=n,R=(0,Ae.A)(n,pk),I="scrollable"===A,M="vertical"===g,E=M?"scrollTop":"scrollLeft",T=M?"top":"left",O=M?"bottom":"right",P=M?"clientHeight":"clientWidth",L=M?"height":"width",z=(0,Se.A)({},n,{component:p,allowScrollButtonsMobile:h,indicatorColor:f,orientation:g,vertical:M,scrollButtons:y,textColor:k,variant:A,visibleScrollbar:j,fixed:!I,hideScrollbar:I&&!j,scrollableX:I&&!M,scrollableY:I&&M,centered:c&&!I,scrollButtonsHideMobile:!h}),N=(e=>{const{vertical:t,fixed:r,hideScrollbar:n,scrollableX:o,scrollableY:i,centered:a,scrollButtonsHideMobile:s,classes:l}=e;return _o({root:["root",t&&"vertical"],scroller:["scroller",r&&"fixed",n&&"hideScrollbar",o&&"scrollableX",i&&"scrollableY"],flexContainer:["flexContainer",t&&"flexContainerVertical",a&&"centered"],indicator:["indicator"],scrollButtons:["scrollButtons",s&&"scrollButtonsHideMobile"],scrollableX:[o&&"scrollableX"],hideScrollbar:[n&&"hideScrollbar"]},ck,l)})(z),F=rs({elementType:x.StartScrollButtonIcon,externalSlotProps:w.startScrollButtonIcon,ownerState:z}),D=rs({elementType:x.EndScrollButtonIcon,externalSlotProps:w.endScrollButtonIcon,ownerState:z}),[B,$]=e.useState(!1),[H,W]=e.useState(wk),[V,q]=e.useState(!1),[U,Z]=e.useState(!1),[G,K]=e.useState(!1),[X,J]=e.useState({overflow:"hidden",scrollbarWidth:0}),Y=new Map,Q=e.useRef(null),ee=e.useRef(null),te=()=>{const e=Q.current;let t,r;if(e){const r=e.getBoundingClientRect();t={clientWidth:e.clientWidth,scrollLeft:e.scrollLeft,scrollTop:e.scrollTop,scrollLeftNormalized:GC(e,i?"rtl":"ltr"),scrollWidth:e.scrollWidth,top:r.top,bottom:r.bottom,left:r.left,right:r.right}}if(e&&!1!==S){const e=ee.current.children;if(e.length>0){const t=e[Y.get(S)];r=t?t.getBoundingClientRect():null}}return{tabsMeta:t,tabMeta:r}},re=To(()=>{const{tabsMeta:e,tabMeta:t}=te();let r,n=0;if(M)r="top",t&&e&&(n=t.top-e.top+e.scrollTop);else if(r=i?"right":"left",t&&e){const o=i?e.scrollLeftNormalized+e.clientWidth-e.scrollWidth:e.scrollLeft;n=(i?-1:1)*(t[r]-e[r]+o)}const o={[r]:n,[L]:t?t[L]:0};if(isNaN(H[r])||isNaN(H[L]))W(o);else{const e=Math.abs(H[r]-o[r]),t=Math.abs(H[L]-o[L]);(e>=1||t>=1)&&W(o)}}),ne=(e,{animation:t=!0}={})=>{t?function(e,t,r,n={},o=()=>{}){const{ease:i=KC,duration:a=300}=n;let s=null;const l=t[e];let c=!1;const u=n=>{if(c)return void o(new Error("Animation cancelled"));null===s&&(s=n);const d=Math.min(1,(n-s)/a);t[e]=i(d)*(r-l)+l,d>=1?requestAnimationFrame(()=>{o(null)}):requestAnimationFrame(u)};l===r?o(new Error("Element already at target position")):requestAnimationFrame(u)}(E,Q.current,e,{duration:o.transitions.duration.standard}):Q.current[E]=e},oe=e=>{let t=Q.current[E];M?t+=e:(t+=e*(i?-1:1),t*=i&&"reverse"===ZC()?-1:1),ne(t)},ie=()=>{const e=Q.current[P];let t=0;const r=Array.from(ee.current.children);for(let n=0;n<r.length;n+=1){const o=r[n];if(t+o[P]>e){0===n&&(t=e);break}t+=o[P]}return t},ae=()=>{oe(-1*ie())},se=()=>{oe(ie())},le=e.useCallback(e=>{J({overflow:null,scrollbarWidth:e})},[]),ce=To(e=>{const{tabsMeta:t,tabMeta:r}=te();if(r&&t)if(r[T]<t[T]){const n=t[E]+(r[T]-t[T]);ne(n,{animation:e})}else if(r[O]>t[O]){const n=t[E]+(r[O]-t[O]);ne(n,{animation:e})}}),ue=To(()=>{I&&!1!==y&&K(!G)});e.useEffect(()=>{const e=qC(()=>{Q.current&&re()});let t;const r=YC(Q.current);let n;return r.addEventListener("resize",e),"undefined"!=typeof ResizeObserver&&(t=new ResizeObserver(e),Array.from(ee.current.children).forEach(e=>{t.observe(e)})),"undefined"!=typeof MutationObserver&&(n=new MutationObserver(r=>{r.forEach(e=>{e.removedNodes.forEach(e=>{var r;null==(r=t)||r.unobserve(e)}),e.addedNodes.forEach(e=>{var r;null==(r=t)||r.observe(e)})}),e(),ue()}),n.observe(ee.current,{childList:!0})),()=>{var o,i;e.clear(),r.removeEventListener("resize",e),null==(o=n)||o.disconnect(),null==(i=t)||i.disconnect()}},[re,ue]),e.useEffect(()=>{const e=Array.from(ee.current.children),t=e.length;if("undefined"!=typeof IntersectionObserver&&t>0&&I&&!1!==y){const r=e[0],n=e[t-1],o={root:Q.current,threshold:.99},i=new IntersectionObserver(e=>{q(!e[0].isIntersecting)},o);i.observe(r);const a=new IntersectionObserver(e=>{Z(!e[0].isIntersecting)},o);return a.observe(n),()=>{i.disconnect(),a.disconnect()}}},[I,y,G,null==u?void 0:u.length]),e.useEffect(()=>{$(!0)},[]),e.useEffect(()=>{re()}),e.useEffect(()=>{ce(wk!==H)},[ce,H]),e.useImperativeHandle(l,()=>({updateIndicator:re,updateScrollButtons:ue}),[re,ue]);const de=(0,Nt.jsx)(vk,(0,Se.A)({},_,{className:ao(N.indicator,_.className),ownerState:z,style:(0,Se.A)({},H,_.style)}));let pe=0;const he=e.Children.map(u,t=>{if(!e.isValidElement(t))return null;const r=void 0===t.props.value?pe:t.props.value;Y.set(r,pe);const n=r===S;return pe+=1,e.cloneElement(t,(0,Se.A)({fullWidth:"fullWidth"===A,indicator:n&&!B&&de,selected:n,selectionFollowsFocus:v,onChange:m,textColor:k,value:r},1!==pe||!1!==S||t.props.tabIndex?{}:{tabIndex:0}))}),fe=(()=>{const e={};e.scrollbarSizeListener=I?(0,Nt.jsx)(xk,{onChange:le,className:ao(N.scrollableX,N.hideScrollbar)}):null;const t=I&&("auto"===y&&(V||U)||!0===y);return e.scrollButtonStart=t?(0,Nt.jsx)(b,(0,Se.A)({slots:{StartScrollButtonIcon:x.StartScrollButtonIcon},slotProps:{startScrollButtonIcon:F},orientation:g,direction:i?"right":"left",onClick:ae,disabled:!V},C,{className:ao(N.scrollButtons,C.className)})):null,e.scrollButtonEnd=t?(0,Nt.jsx)(b,(0,Se.A)({slots:{EndScrollButtonIcon:x.EndScrollButtonIcon},slotProps:{endScrollButtonIcon:D},orientation:g,direction:i?"left":"right",onClick:se,disabled:!U},C,{className:ao(N.scrollButtons,C.className)})):null,e})();return(0,Nt.jsxs)(gk,(0,Se.A)({className:ao(N.root,d),ownerState:z,ref:r,as:p},R,{children:[fe.scrollButtonStart,fe.scrollbarSizeListener,(0,Nt.jsxs)(bk,{className:N.scroller,ownerState:z,style:{overflow:X.overflow,[M?"margin"+(i?"Left":"Right"):"marginBottom"]:j?void 0:-X.scrollbarWidth},ref:Q,children:[(0,Nt.jsx)(yk,{"aria-label":a,"aria-labelledby":s,"aria-orientation":"vertical"===g?"vertical":null,className:N.flexContainer,ownerState:z,onKeyDown:e=>{const t=ee.current,r=dk(t).activeElement;if("tab"!==r.getAttribute("role"))return;let n="horizontal"===g?"ArrowLeft":"ArrowUp",o="horizontal"===g?"ArrowRight":"ArrowDown";switch("horizontal"===g&&i&&(n="ArrowRight",o="ArrowLeft"),e.key){case n:e.preventDefault(),mk(t,r,fk);break;case o:e.preventDefault(),mk(t,r,hk);break;case"Home":e.preventDefault(),mk(t,null,hk);break;case"End":e.preventDefault(),mk(t,null,fk)}},ref:ee,role:"tablist",children:he}),B&&de]}),fe.scrollButtonEnd]}))}),Ck=_k,kk={size:"medium"},Sk=t().forwardRef((e,r)=>t().createElement(Ck,{...kk,...e,ref:r}));Sk.defaultProps=kk;var Ak=Sk;const jk=ei.AH`
.react-colorful {
position: relative;
display: flex;
flex-direction: column;
width: 200px;
height: 200px;
user-select: none;
cursor: default;
}
.react-colorful__saturation {
position: relative;
flex-grow: 1;
border-color: transparent; /* Fixes https://github.com/omgovich/react-colorful/issues/139 */
border-bottom: 12px solid #000;
border-radius: 8px 8px 0 0;
background-image:
linear-gradient(to top, #000, rgba(0, 0, 0, 0)),
linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
}
.react-colorful__pointer-fill,
.react-colorful__alpha-gradient {
content: '';
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
pointer-events: none;
border-radius: inherit;
}
/* Improve elements rendering on light backgrounds */
.react-colorful__alpha-gradient,
.react-colorful__saturation {
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.react-colorful__hue,
.react-colorful__alpha {
position: relative;
height: 24px;
}
.react-colorful__hue {
background: linear-gradient(
to right,
#f00 0%,
#ff0 17%,
#0f0 33%,
#0ff 50%,
#00f 67%,
#f0f 83%,
#f00 100%
);
}
/* Round bottom corners of the last element: \`Hue\` for \`ColorPicker\` or \`Alpha\` for \`AlphaColorPicker\` */
.react-colorful__last-control {
border-radius: 0 0 8px 8px;
}
.react-colorful__interactive {
position: absolute;
left: 0;
top: 0;
right: 0;
bottom: 0;
border-radius: inherit;
outline: none;
/* Don't trigger the default scrolling behavior when the event is originating from this element */
touch-action: none;
}
.react-colorful__pointer {
position: absolute;
z-index: 1;
box-sizing: border-box;
width: 28px;
height: 28px;
transform: translate(-50%, -50%);
background-color: #fff;
border: 2px solid #fff;
border-radius: 50%;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.react-colorful__interactive:focus .react-colorful__pointer {
transform: translate(-50%, -50%) scale(1.1);
}
/* Chessboard-like pattern for alpha related elements */
.react-colorful__alpha,
.react-colorful__alpha-pointer {
background-color: #fff;
background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><rect x="8" width="8" height="8"/><rect y="8" width="8" height="8"/></svg>');
}
/* Display the saturation pointer over the hue one */
.react-colorful__saturation-pointer {
z-index: 3;
}
/* Display the hue pointer over the alpha one */
.react-colorful__hue-pointer {
z-index: 2;
}
`,Rk=Ma(CC)`
position: relative;
width: 425px;
min-height: 100vh;
height: fit-content;
pointer-events: auto;
// Include color picker styles to styled components for prevent problem with cache
${jk}
`,Ik=Ma(Ak)`
& .MuiTabs-indicator {
background-color: ${({theme:e})=>e.palette.info.main};
}
& .MuiTab-root.Mui-selected {
color: ${({theme:e})=>e.palette.info.main};
font-weight: 400;
}
`,Mk=Ma(VC)`
padding: 0;
`,Ek=Ma(q_)`
margin: ${({theme:e})=>`${e.spacing(3)} ${e.spacing(2)}`};
padding: ${({theme:e})=>e.spacing(2)};
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
box-shadow: 0 3px 14px 2px rgba(0, 0, 0, 0.12);
`,Tk=Ma(vo)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
align-items: center;
`,Ok=Ma(Jw)`
font-size: 16px;
font-weight: 500;
line-height: 130%;
letter-spacing: 0.15px;
margin: 0;
.MuiChip-root {
margin-inline-start: ${({theme:e})=>e.spacing(1)};
font-weight: 400;
}
`,Pk=(Ma(vo)`
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(1.5)}`};
`,Ma(vo)`
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(1.5)}`};
`),Lk=Ma(X_)`
padding: 0 ${({theme:e})=>e.spacing(2)};
`,zk=Ma(vo)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
flex-direction: column;
padding: 0 ${({theme:e})=>e.spacing(2)};
`,Nk=Ma(NC)`
transform: scale(1);
`,Fk=Ma(Ga)`
align-items: center;
/* @noflip */
direction: ltr;
& .MuiAlert-icon,
& .MuiAlert-content {
padding-top: 0;
display: flex;
}
`,Dk=Ma(Ga)`
${({disabled:e})=>e?"\n\t\tcursor: not-allowed;\n\t\t& * {\n\t\t\tpointer-events: none;\n\t\t}\n\t":""}
${({disabled:e,theme:t})=>e?`\n\t\t\t& * {\n\t\t\t\tcolor: ${t.palette.text.disabled};\n\t\t\t}\n\t\t\t& svg {\n\t\t\t\tfill: ${t.palette.text.disabled};\n\t\t\t} \n\t`:""}
`,Bk=Ma(vo)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: ${({theme:e})=>e.spacing(2)};
padding-top: ${({theme:e})=>e.spacing(12)};
padding-bottom: ${({theme:e})=>e.spacing(6)};
`,$k=Ma(vo)`
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: ${({theme:e})=>e.spacing(2)};
margin-bottom: ${({theme:e})=>e.spacing(2)};
padding-inline: ${({theme:e})=>e.spacing(2)};
`,Hk=Ma(Jw)`
max-width: 250px;
text-align: center;
margin-bottom: ${({theme:e})=>e.spacing(2)};
`,Wk=Ma(CC)`
display: flex;
justify-content: space-between;
align-items: center;
width: 100%;
padding: ${({theme:e})=>e.spacing(1.5)};
&:hover {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,Vk=Ma(F_)`
font-weight: 400;
justify-content: start;
padding: 0;
&:focus .MuiPaper-root,
&:focus-visible .MuiPaper-root {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,qk=Ma(vo)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1.5)};
border: 1px solid ${({theme:e})=>e.palette.action.focus};
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
padding-right: ${({theme:e})=>e.spacing(1.5)};
&:hover,
&:focus .MuiPaper-root,
&:focus-visible .MuiPaper-root {
background-color: ${({theme:e})=>e.palette.action.hover};
}
`,Uk=Ma(F_)`
font-weight: 400;
justify-content: start;
padding: ${({theme:e})=>e.spacing(1.5)};
&:hover,
&:focus,
&:focus-visible {
background-color: transparent;
}
`,Zk=Ma(vo)`
display: flex;
justify-content: space-between;
align-items: flex-start;
`,Gk=Ma(vo)`
display: flex;
justify-content: center;
width: 100%;
gap: ${({theme:e})=>e.spacing(1)};
`,Kk=Ma(vo)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(1)};
`,Xk=Ma(vC)`
color: ${({theme:e})=>e.palette.text.disabled};
`,Jk=Ma(i_)`
transform: rotate(-45deg);
`,Yk=Ma(vo)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(3)};
`,Qk=Ma(Ga)`
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(1.5)};`};
& .MuiAlert-content {
padding-top: 0;
}
& .MuiAlert-content > div {
display: block;
}
`,eS=Ma(lC)`
margin-left: ${({theme:e})=>e.spacing(1)};
height: 26px;
width: 26px;
.MuiChip-label {
padding: 0;
}
`,tS=window.wp.i18n,rS=()=>(0,Nt.jsxs)(Bk,{children:[(0,Nt.jsx)(e_,{}),(0,Nt.jsxs)(vo,{sx:{maxWidth:"300px"},children:[(0,Nt.jsx)(Jw,{variant:"h5",align:"center",sx:{mb:2},children:(0,tS.__)("Well this is unexpected…","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",align:"center",children:(0,tS.__)("We ran into a technical glitch and are working right now to fix it. Please try again later.","pojo-accessibility")})]})]}),nS="open-ea11y-manage",oS="ea11y-scanner-wizard-widget",iS="ea11y-scanner-current-element",aS="ea11y-scanner-color-element",sS="ea11y-scanner-background-element",lS="https://go.elementor.com/acc-free-no-AI-scanner",cS=Boolean(window.ea11yScannerData?.isRTL),uS=!window.ea11yScannerData?.planData?.plan?.name?.toLowerCase().includes("free"),dS=window.ea11yScannerData?.planData?.aiCredits?.allowed-window.ea11yScannerData?.planData?.aiCredits?.used>0,pS="ea11y-hide-upgrade-alert",hS=window.ea11yScannerData?.planData?.scannedPages?.allowed,fS=window.ea11yScannerData?.planData?.scannedPages?.allowed-window.ea11yScannerData?.planData?.scannedPages?.used>0||!window?.ea11yScannerData?.pageData?.unregistered,mS={main:"main",management:"management",altText:"altText",dynamicContent:"dynamicContent",formsInputsError:"formsInputsError",keyboardAssistiveTech:"keyboardAssistiveTech",pageStructureNav:"pageStructureNav",headingStructure:"headingStructure",tables:"tables",colorContrast:"colorContrast",other:"other"},gS={dynamicContent:[],formsInputsError:[],keyboardAssistiveTech:[],pageStructureNav:[],headingStructure:[],tables:[],colorContrast:[],other:[]},bS={altText:(0,tS.__)("Alternative text","pojo-accessibility"),dynamicContent:(0,tS.__)("Dynamic Content & ARIA","pojo-accessibility"),formsInputsError:(0,tS.__)("Forms & Input Errors","pojo-accessibility"),keyboardAssistiveTech:(0,tS.__)("Keyboard & Assistive Technologies","pojo-accessibility"),pageStructureNav:(0,tS.__)("Page Structure & Navigation","pojo-accessibility"),headingStructure:(0,tS.__)("Heading Structure","pojo-accessibility"),tables:(0,tS.__)("Tables","pojo-accessibility"),colorContrast:(0,tS.__)("Color contrast","pojo-accessibility"),other:(0,tS.__)("Other Accessibility Issues","pojo-accessibility")},yS={altText:(0,tS.__)("Clearly describe images so people using screen readers understand what's displayed.","pojo-accessibility"),dynamicContent:(0,tS.__)("Label interactive content clearly, helping screen reader users navigate dynamic elements.","pojo-accessibility"),formsInputsError:(0,tS.__)("Clearly label form fields and errors so people know exactly what's needed.","pojo-accessibility"),keyboardAssistiveTech:(0,tS.__)("Make sure people can fully use your site with only a keyboard, no mouse required.","pojo-accessibility"),pageStructureNav:(0,tS.__)("Use headings and clear structure to help people easily navigate your content.","pojo-accessibility"),headingStructure:(0,tS.__)("Headings help screen reader users and search engines read pages in the right order. The structure should be organized and each heading given a level.","pojo-accessibility"),tables:(0,tS.__)("Give tables clear headers and captions so everyone can easily understand the data.","pojo-accessibility"),colorContrast:(0,tS.__)("Text and background lightness can hinder readability. Depending on text size, you may need to adjust the contrast level to improve accessibility.","pojo-accessibility"),other:(0,tS.__)("Find and resolve additional accessibility issues to ensure your site works for everyone.","pojo-accessibility")},vS={altText:[],dynamicContent:[],formsInputsError:[],keyboardAssistiveTech:[],pageStructureNav:[],headingStructure:[],tables:[],colorContrast:[],other:[]},xS={altText:["applet_alt_exists","applet_alt_exists","img_alt_redundant","img_alt_valid","img_alt_null","area_alt_exists","imagebutton_alt_exists","imagemap_alt_exists","img_alt_decorative","object_text_exists","svg_graphics_labelled"],dynamicContent:["aria_parent_required","combobox_popup_reference","aria_activedescendant_valid","combobox_active_descendant","aria_role_valid","combobox_autocomplete_valid","combobox_focusable_elements","combobox_haspopup_valid","aria_descendant_valid","aria_role_allowed","aria_attribute_allowed","aria_attribute_conflict","aria_attribute_exists","aria_attribute_required","aria_attribute_value_valid","aria_eventhandler_role_valid","aria_id_unique","aria_widget_labelled","combobox_design_valid","element_id_unique","element_accesskey_unique","aria_attribute_valid"],formsInputsError:["label_content_exists","input_checkboxes_grouped","fieldset_label_valid","form_label_unique","label_ref_valid","input_autocomplete_valid","error_message_exists","input_label_after","input_label_before","input_label_exists"],keyboardAssistiveTech:["aria_hidden_nontabbable","aria_activedescendant_tabindex_valid","aria_child_tabbable","element_scrollable_tabbable","iframe_interactive_tabbable","a_text_purpose","label_name_visible","html_lang_exists","html_lang_valid","element_lang_valid","input_haspopup_conflict","element_tabbable_role_valid"],headingStructure:["single_h1_check","missing_h1_check","heading_hierarchy_check"],pageStructureNav:["table_headers_ref_valid","table_scope_valid","table_headers_exists","table_headers_related","table_structure_misuse","dir_attribute_valid","aria_application_label_unique","aria_application_labelled","aria_article_label_unique","aria_banner_label_unique","aria_banner_single","aria_complementary_label_unique","aria_complementary_labelled","aria_content_in_landmark","aria_contentinfo_label_unique","aria_contentinfo_single","aria_document_label_unique","aria_form_label_unique","aria_landmark_name_unique","aria_main_label_unique","aria_navigation_label_unique","aria_region_label_unique","aria_region_labelled","aria_search_label_unique","aria_toolbar_label_unique","skip_main_exists","page_title_exists","frame_title_exists","list_children_valid","table_aria_descendants"],tables:["table_caption_empty","table_caption_nested","table_summary_redundant"],colorContrast:["text_spacing_valid","text_contrast_sufficient"],other:["element_orientation_unlocked","meta_redirect_optional","blink_elem_deprecated","marquee_elem_avoid"]},wS=["aria_content_in_landmark"];var _S=r(6105),CS=r.n(_S);const kS=Object.freeze({SUCCESS:"success",ERROR:"error",WARNING:"warning"}),SS=Object.freeze({[kS.SUCCESS]:(0,tS.__)("Validation passed","pojo-accessibility"),[kS.ERROR]:(0,tS.__)("Validation error","pojo-accessibility"),[kS.WARNING]:(0,tS.__)("Has a warning","pojo-accessibility")}),AS=e=>{const t=e.getAttribute("aria-level");return t?parseInt(t,10):"H"===e.tagName[0]&&2===e.tagName.length&&e.tagName[1]<=6?parseInt(e.tagName[1],10):null},jS=(e=document)=>Array.from(e.querySelectorAll('h1, h2, h3, h4, h5, h6, [role="heading"]')).filter(e=>"presentation"!==e.getAttribute("role")),RS=(e=document)=>Array.from(e.querySelectorAll('h1, [role="heading"][aria-level="1"]')).filter(e=>{const t=parseInt(e.getAttribute("aria-level"),10);return!(["none","presentation"].includes(e.getAttribute("role"))||"h1"===e.tagName.toLowerCase()&&t>1)}),IS=()=>0===jS().length,MS=()=>{const e=jS(),t=[],r=[];return e.forEach(e=>{const n=(e=>({level:AS(e),content:e.textContent.trim(),node:e,children:[],status:kS.SUCCESS,violationCode:null}))(e),o=n.level;for(;r.length>0&&r[r.length-1].level>=o;)r.pop();0===r.length?t.push(n):r[r.length-1].node.children.push(n),r.push({node:n,level:o})}),t},ES=e=>{const t=[],r=e=>{e.forEach(e=>{t.push(e),e.children&&e.children.length>0&&r(e.children)})};return r(e),t},TS=e=>CS()(e,{ignoreId:!0}),OS=new WeakMap;let PS=0;const LS=(e,t="heading-tree")=>{if(!e||"object"!=typeof e)return`${t}-invalid`;let r=OS.get(e);return r||(r=`${t}-${++PS}`,OS.set(e,r)),r},zS={id:"heading_hierarchy_check",context:"dom:html",dependencies:[],help:{"en-US":{group:"Heading Structure",pass:"Heading hierarchy follows proper sequence",fail_skipped_level:"Heading levels are skipped in the document. Maintain proper heading hierarchy to help screen readers understand the content structure."}},messages:{"en-US":{group:"Heading Structure",pass:"Heading hierarchy follows proper sequence",fail_skipped_level:"Heading levels are skipped. Ensure headings follow proper hierarchy (h1 -> h2 -> h3)."}},rulesets:[{id:["IBM_Accessibility"],num:"1.3.1",level:"recommendation",toolkitLevel:"LEVEL_ONE"}],run:e=>{const t=e.dom.node,r=jS(t);if(0===r.length)return{ruleId:"heading_hierarchy_check",reasonId:"pass",value:["RECOMMENDATION","PASS"],path:{dom:"/html[1]",aria:"/document[1]"},ruleTime:0,message:"No headings found",messageArgs:[],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:"<html>",category:"Accessibility",ignored:!1,level:"pass"};let n=0,o=null;const i=[];for(const e of r){const t=AS(e);if(n>0&&t>n+1){o=e;for(let e=n+1;e<t;e++)i.push(`h${e}`);break}n=t}if(o){const e=o.getBoundingClientRect();return{ruleId:"heading_hierarchy_check",reasonId:"fail_skipped_level",value:["RECOMMENDATION","FAIL"],path:{dom:TS(o),aria:"/document[1]"},node:o,ruleTime:0,message:`Heading levels are skipped. Ensure headings follow proper hierarchy. Missing: ${i.join(", ")}.`,messageArgs:[i.join(", ")],apiArgs:[],bounds:{left:Math.round(e.left),top:Math.round(e.top),height:Math.round(e.height),width:Math.round(e.width)},snippet:o.outerHTML,category:"Accessibility",ignored:!1,level:"recommendation"}}return{ruleId:"heading_hierarchy_check",reasonId:"pass",value:["RECOMMENDATION","PASS"],path:{dom:"/html[1]",aria:"/document[1]"},ruleTime:0,message:"Heading hierarchy follows proper sequence",messageArgs:[],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:r[0]?.outerHTML||"<html>",category:"Accessibility",ignored:!1,level:"pass"}}},NS=zS,FS={id:"missing_h1_check",context:"dom:html",dependencies:[],help:{"en-US":{group:"Heading Structure",pass:"Page contains an h1 tag",fail_no_h1:"No h1 tag found on the page. Each page should have a main heading (h1) to establish proper document structure and help users understand the page content."}},messages:{"en-US":{group:"Heading Structure",pass:"Page contains an h1 tag",fail_no_h1:"No h1 tag found. Add a main heading (h1) to establish the page structure."}},rulesets:[{id:["IBM_Accessibility"],num:"1.3.1",level:"violation",toolkitLevel:"LEVEL_ONE"}],run:e=>{const t=e.dom.node,r=RS(t);return 0===r.length?{ruleId:"missing_h1_check",reasonId:"fail_no_h1",value:["VIOLATION","FAIL"],path:{dom:"/html[1]",aria:"/document[1]"},node:jS(t)[0],ruleTime:0,message:"No h1 tag found. Add a main heading (h1) to establish the page structure.",messageArgs:[],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:"<html>",category:"Accessibility",ignored:!1,level:"violation"}:{ruleId:"missing_h1_check",reasonId:"pass",value:["VIOLATION","PASS"],path:{dom:"/html[1]",aria:"/document[1]"},ruleTime:0,message:"Page contains an h1 tag",messageArgs:[],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:r[0].outerHTML,category:"Accessibility",ignored:!1,level:"pass"}}},DS={id:"single_h1_check",context:"dom:html",dependencies:[],help:{"en-US":{group:"Heading Structure",pass:"Page contains exactly one h1 tag",fail_multiple:"Multiple h1 tags found on the page. Each page should have only one main heading (h1) to establish proper document structure.",pass_no_h1:"No h1 tag found - this may be acceptable for some page types"}},messages:{"en-US":{group:"Heading Structure",pass:"Page contains exactly one h1 tag",fail_multiple:"Multiple h1 tags found. Ensure the page contains only one h1 tag to maintain proper heading hierarchy.",pass_no_h1:"No h1 tag found"}},rulesets:[{id:["IBM_Accessibility"],num:"1.3.1",level:"violation",toolkitLevel:"LEVEL_ONE"}],run:e=>{const t=e.dom.node,r=RS(t);return r.length>1?{ruleId:"single_h1_check",reasonId:"fail_multiple",value:["VIOLATION","FAIL"],path:{dom:"/html[1]",aria:"/document[1]"},node:r[1],ruleTime:0,message:"Multiple h1 tags found. Ensure the page contains only one h1 tag to maintain proper heading hierarchy.",messageArgs:[r.length.toString()],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:`Found ${r.length} h1 tags`,category:"Accessibility",ignored:!1,level:"violation"}:{ruleId:"single_h1_check",reasonId:"pass",value:["VIOLATION","PASS"],path:{dom:"/html[1]",aria:"/document[1]"},ruleTime:0,message:1===r.length?"Page contains exactly one h1 tag":"Page contains no duplicate h1 tags",messageArgs:[],apiArgs:[],bounds:{left:0,top:0,height:0,width:0},snippet:r.length>0?r[0].outerHTML:"<html>",category:"Accessibility",ignored:!1,level:"pass"}}},BS=Object.freeze({MISSING_H1_TAG:"missing_h1_check",REDUNDANT_H1_TAGS:"single_h1_check",INCORRECT_HEADING_HIERARCHY:"heading_hierarchy_check"}),$S=Object.freeze([DS,FS,NS]),HS=e=>{const t=structuredClone(vS);return e.forEach(e=>{t[e.group].push(e)}),t},WS=(e,t)=>{if(!e.length)return e;const r=[...e],n=ES(r).filter(e=>!["none","presentation"].includes(e.node.getAttribute("role"))).filter(e=>1===e.level);return n.length>1&&n.forEach(e=>{e.status=kS.ERROR,e.violationCode=BS.REDUNDANT_H1_TAGS}),n.length||(r[0].status=kS.ERROR,r[0].violationCode=BS.MISSING_H1_TAG),VS(r,t),r},VS=(e,t=[],r=0)=>{let n=r;e.forEach(e=>{const r=e.level;if(n>0&&r>n+1){const r=TS(e.node);e.status!==kS.SUCCESS||t.includes(r)||(e.status=kS.WARNING,e.violationCode=BS.INCORRECT_HEADING_HIERARCHY)}n=r,e.children&&e.children.length>0&&VS(e.children,t,r)})},qS=e=>{const t=ES(e),r={total:t.length,[kS.SUCCESS]:0,[kS.WARNING]:0,[kS.ERROR]:0};return t.forEach(e=>{const t=e.status;r[t]++}),r};const US=(e,t=null)=>{ZS(t),e&&(e.classList.add(null!=t?t:iS),t!==sS&&e.scrollIntoView({behavior:"smooth",block:"center"}))},ZS=(e=null)=>{document.querySelectorAll(e?`.${e}`:`.${iS}, .${aS}, .${sS}`).forEach(e=>{e.classList.remove(iS,aS,sS)})},GS=(e,t=document)=>{try{const r=e.replace("svg","*[name()='svg']");return document.evaluate(r,t,null,XPathResult.FIRST_ORDERED_NODE_TYPE,null).singleNodeValue}catch(e){return console.error(e),null}},KS={manage:[],main:[]},XS={manage:[],main:[]},JS=(0,Vn.createContext)(null),YS=({children:e})=>{const t=function(){const[e,t]=(0,Vn.useState)(),[r,n]=(0,Vn.useState)([]),[o,i]=(0,Vn.useState)([]),[a,s]=(0,Vn.useState)(vS),[l,c]=(0,Vn.useState)(vS),[u,d]=(0,Vn.useState)(vS),[p,h]=(0,Vn.useState)(0),[f,m]=(0,Vn.useState)(null),[g,b]=(0,Vn.useState)(mS.main),[y,v]=(0,Vn.useState)(!0),[x,w]=(0,Vn.useState)(!1),[_,C]=(0,Vn.useState)(!1),[k,S]=(0,Vn.useState)(!1),[A,j]=(0,Vn.useState)(!1),[R,I]=(0,Vn.useState)(!1),[M,E]=(0,Vn.useState)(KS),[T,O]=(0,Vn.useState)(XS),[P,L]=(0,Vn.useState)(structuredClone(gS)),[z,N]=(0,Vn.useState)(structuredClone(gS)),[F,D]=(0,Vn.useState)(null),[B,$]=(0,Vn.useState)(null);return{results:e,remediations:r,sortedViolations:a,sortedRemediation:l,resolved:p,currentScanId:f,openedBlock:g,loading:y,isError:x,quotaExceeded:_,isManage:k,isManageGlobal:A,isManageChanged:R,altTextData:M,manualData:P,colorContrastData:T,remediationData:z,openIndex:F,violation:B,globalRemediations:o,sortedGlobalRemediation:u,setResults:t,setRemediations:n,setSortedViolations:s,setSortedRemediation:c,setResolved:h,setCurrentScanId:m,setOpenedBlock:b,setLoading:v,setIsError:w,setQuotaExceeded:C,setIsManage:S,setIsManageGlobal:j,setIsManageChanged:I,setAltTextData:E,setManualData:L,setColorContrastData:O,setRemediationData:N,setOpenIndex:D,setViolation:$,setGlobalRemediations:i,setSortedGlobalRemediation:d}}(),r=function(e){const{openedBlock:t,isManage:r,setResults:n,setSortedViolations:o,setAltTextData:i,setManualData:a,setCurrentScanId:s,setIsError:l,setQuotaExceeded:c,setLoading:u,setRemediations:d,setSortedRemediation:p,setGlobalRemediations:h,setSortedGlobalRemediation:f,setOpenIndex:m}=e,g=async(e,t)=>{try{window?.ea11yScannerData?.pageData?.unregistered&&(await oo.registerPage(window?.ea11yScannerData?.pageData,e.summary),window.ea11yScannerData.pageData.unregistered=!1),n(e),o(t),i({manage:[],main:[]}),a(structuredClone(gS))}catch(e){"Quota exceeded"===e?.message&&c(!0),l(!0)}},b=async e=>{try{const t=await oo.addScanResults({url:window?.ea11yScannerData?.pageData?.url,summary:e.summary});oo.triggerSave({object_id:window?.ea11yScannerData?.pageData?.object_id,object_type:window?.ea11yScannerData?.pageData?.object_type}),s(t.scanId)}catch(e){console.error(e),l(!0)}};return{updateRemediationList:async()=>{try{const e=await oo.getRemediations(window.ea11yScannerData?.pageData?.url),t=HS(e.data.page),r=HS(e.data.global);d(e.data.page),p(t),h(e.data.global),f(r)}catch(e){l(!0)}},handleOpen:(e,n)=>(o,i)=>{m(i?e:null),r||Ww(Vw.issueSelected,{issue_type:n.message,rule_id:n.ruleId,wcag_level:n.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:t})},handleOpenBlock:t=>{e.setOpenedBlock(t),m(null)},registerPage:g,addScanResults:b,getResults:async()=>{u(!0);try{const t=new URL(window.location.href),r=await window.ace.check(document),n=r.results.filter(e=>(e=>"violation"===e.level)(e)||(e=>"text_contrast_sufficient"===e.ruleId&&"potentialViolation"===e.level&&1!==Number(e.messageArgs[0]))(e)),o=(e=>{const t=[],r={dom:{node:e}};return Object.values($S).forEach(e=>{try{const n=e.run(r);n&&t.push(n)}catch(t){console.error(`Error running custom rule ${e.id}:`,t)}}),t})(document),i=o.filter(t=>"violation"===t.level&&!e.dismissedHeadingIssues?.includes(t.path.dom)),a=[...n,...i];r.results=a,r?.summary?.counts&&(r.summary.counts.issuesResolved=0,r.summary.counts.violation+=i.filter(e=>"violation"===e.level).length,r.summary.counts.recommendation=(r.summary.counts.recommendation||0)+i.filter(e=>"recommendation"===e.level).length);const s=(e=>{const t=structuredClone(vS);return e.forEach(e=>{let r="";const n=e.node.outerHTML,o=n.indexOf(">");e.snippet=-1!==o?n.slice(0,o+1):e.snippet,Object.keys(xS).forEach(t=>{xS[t].includes(e.ruleId)&&(r=t)}),t[r||"other"].push(e)}),t})(a);return await g(r,s),await b(r),Ww(Vw.scanTriggered,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:r.summary?.counts?.violation,source:t.searchParams.get("open-ea11y-assistant-src")}),r.summary}catch(e){l(!0)}finally{u(!1)}},runNewScan:()=>{const e=new URL(window.location.href),t=[...e.searchParams.keys()];for(const r of t)e.searchParams.delete(r);e.searchParams.append("open-ea11y-assistant-src","rescan_button"),e.searchParams.append("open-ea11y-assistant","1"),window.location.assign(e)},getHeadingsStats:()=>{const t=WS(MS(),e.dismissedHeadingIssues);return qS(t)},isResolved:t=>{const r=e.isManage?"manage":"main",{sortedViolations:n,altTextData:o,colorContrastData:i,manualData:a}=e,s=Array.from({length:n[t]?.length||0},(e,t)=>t);switch(t){case mS.altText:return o?.[r]?.length===n[t]?.length&&s.every(e=>e in o.main)&&o[r].every(e=>e?.resolved)||0===n[t]?.length;case mS.colorContrast:return i?.[r]?.length===n[t]?.length&&s.every(e=>e in i.main)&&i[r].every(e=>e?.resolved)||0===n[t]?.length;case mS.headingStructure:{const t=WS(MS(),e.dismissedHeadingIssues);return 0===qS(t).error}default:return a[t]?.length===n[t]?.length&&s.every(e=>e in a[t])&&a[t].every(e=>e?.resolved)||0===n[t]?.length}}}}(t);!function(e,t){const{sortedViolations:r,sortedRemediation:n,openIndex:o,openedBlock:i,isManage:a,setRemediations:s,setViolation:l,setIsError:c,setLoading:u}=e;(0,Vn.useEffect)(()=>{const e=a?n[i]:r[i];if(null!==o&&r[i]?.length&&o<e?.length){const e=a?GS(JSON.parse(n[i][o].content)?.xpath):r[i][o].node;US(e)}else ZS()},[o]),(0,Vn.useEffect)(()=>{Object.keys(n).every(e=>0===n[e].length)&&s([])},[n]),(0,Vn.useEffect)(()=>{if(e.results?.summary?.counts){const e=Object.values(r).reduce((e,t)=>e+t.length,0);l(e)}},[r,e.results]),(0,Vn.useEffect)(()=>{window.ea11yScannerData?.isConnected?(setTimeout(()=>{(async()=>new Promise((e,t)=>{const{scannerUrl:r,planData:n,pageData:o}=window?.ea11yScannerData,i=`${r}?api_key=${n?.public_api_key}&page_url=${o?.url}`;if(document.querySelector(`script[src="${i}"]`))return e(!0);const a=document.createElement("script");a.src=i,a.referrerPolicy="strict-origin-when-cross-origin",a.async=!0,a.onload=()=>e(!0),a.onerror=()=>t(new Error(`Failed to load script: ${r}`)),document.body.appendChild(a)}))().then(()=>{t.getResults()}).catch(()=>{c(!0),u(!1)})},500),t.updateRemediationList()):u(!1)},[window.ea11yScannerData?.isConnected]),(0,Vn.useEffect)(()=>{"1"===new URLSearchParams(window.location.search).get(nS)&&(e.setIsManage(!0),t.handleOpenBlock(mS.management))},[window.location.search])}(t,r);const n={...t,...r};return(0,Nt.jsx)(JS.Provider,{value:n,children:e})},QS=()=>(0,Vn.useContext)(JS),eA=()=>{const{loading:e,remediations:t,globalRemediations:r}=QS(),n=t?.filter(e=>Number(e.active)).length,o=r.filter(({active:e,active_for_page:t})=>Number(e)&&(!t||Number(t))).length,i=n+o,a=t?.length+r.length;return e?(0,Nt.jsx)(vo,{flexGrow:1,sx:{py:1},children:(0,Nt.jsx)(Nk,{width:"100%",height:14})}):i>0?(0,Nt.jsx)(Jw,{variant:"body2",color:"text.secondary",children:(0,tS.sprintf)(
// Translators: %1$s - active, %2$s - total
// Translators: %1$s - active, %2$s - total
(0,tS.__)("%1$s/%2$s fixes are currently active","pojo-accessibility"),i,a)}):(0,Nt.jsx)(Jw,{variant:"body2",color:"text.disabled",children:(0,tS.__)("0 fixes are currently active","pojo-accessibility")})};var tA=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.55012 4.45178C9.23098 3.48072 11.1845 3.08925 13.1097 3.33767C15.035 3.58609 16.8251 4.46061 18.2045 5.82653C19.5838 7.19245 20.4757 8.97399 20.743 10.8967C20.8 11.307 20.5136 11.6858 20.1033 11.7428C19.6931 11.7998 19.3142 11.5135 19.2572 11.1032C19.0353 9.50635 18.2945 8.02677 17.149 6.89236C16.0035 5.75795 14.5167 5.03165 12.9178 4.82534C11.3189 4.61902 9.69644 4.94414 8.30047 5.75061C7.24361 6.36117 6.36093 7.22198 5.72541 8.24995H8.00009C8.41431 8.24995 8.75009 8.58574 8.75009 8.99995C8.75009 9.41417 8.41431 9.74995 8.00009 9.74995H4.51686C4.5055 9.75021 4.49412 9.75021 4.48272 9.74995H4.00009C3.58588 9.74995 3.25009 9.41417 3.25009 8.99995V4.99995C3.25009 4.58574 3.58588 4.24995 4.00009 4.24995C4.41431 4.24995 4.75009 4.58574 4.75009 4.99995V7.00691C5.48358 5.96916 6.43655 5.0951 7.55012 4.45178Z"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.89686 12.2571C4.30713 12.2001 4.68594 12.4864 4.74295 12.8967C4.96487 14.4936 5.70565 15.9731 6.85119 17.1075C7.99673 18.242 9.48347 18.9683 11.0824 19.1746C12.6813 19.3809 14.3037 19.0558 15.6997 18.2493C16.7566 17.6387 17.6393 16.7779 18.2748 15.75H16.0001C15.5859 15.75 15.2501 15.4142 15.2501 15C15.2501 14.5857 15.5859 14.25 16.0001 14.25H19.4833C19.4947 14.2497 19.5061 14.2497 19.5175 14.25H20.0001C20.4143 14.25 20.7501 14.5857 20.7501 15V19C20.7501 19.4142 20.4143 19.75 20.0001 19.75C19.5859 19.75 19.2501 19.4142 19.2501 19V16.993C18.5166 18.0307 17.5636 18.9048 16.4501 19.5481C14.7692 20.5192 12.8157 20.9107 10.8904 20.6622C8.9652 20.4138 7.17504 19.5393 5.79572 18.1734C4.4164 16.8074 3.52443 15.0259 3.25723 13.1032C3.20022 12.6929 3.48658 12.3141 3.89686 12.2571Z"})));function rA(e){return ho("MuiLinearProgress",e)}fo("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);const nA=["className","color","value","valueBuffer","variant"];let oA,iA,aA,sA,lA,cA,uA=e=>e;const dA=(0,ei.i7)(oA||(oA=uA`
0% {
left: -35%;
right: 100%;
}
60% {
left: 100%;
right: -90%;
}
100% {
left: 100%;
right: -90%;
}
`)),pA=(0,ei.i7)(iA||(iA=uA`
0% {
left: -200%;
right: 100%;
}
60% {
left: 107%;
right: -8%;
}
100% {
left: 107%;
right: -8%;
}
`)),hA=(0,ei.i7)(aA||(aA=uA`
0% {
opacity: 1;
background-position: 0 -23px;
}
60% {
opacity: 0;
background-position: 0 -23px;
}
100% {
opacity: 1;
background-position: -200px -23px;
}
`)),fA=(e,t)=>"inherit"===t?"currentColor":e.vars?e.vars.palette.LinearProgress[`${t}Bg`]:"light"===e.palette.mode?(0,Oe.a)(e.palette[t].main,.62):(0,Oe.e$)(e.palette[t].main,.5),mA=jo("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${wi(r.color)}`],t[r.variant]]}})(({ownerState:e,theme:t})=>(0,Se.A)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:fA(t,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})),gA=jo("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.dashed,t[`dashedColor${wi(r.color)}`]]}})(({ownerState:e,theme:t})=>{const r=fA(t,e.color);return(0,Se.A)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:`radial-gradient(${r} 0%, ${r} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,ei.AH)(sA||(sA=uA`
animation: ${0} 3s infinite linear;
`),hA)),bA=jo("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${wi(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar1Indeterminate,"determinate"===r.variant&&t.bar1Determinate,"buffer"===r.variant&&t.bar1Buffer]}})(({ownerState:e,theme:t})=>(0,Se.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .4s linear"},"buffer"===e.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ei.AH)(lA||(lA=uA`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
`),dA)),yA=jo("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.bar,t[`barColor${wi(r.color)}`],("indeterminate"===r.variant||"query"===r.variant)&&t.bar2Indeterminate,"buffer"===r.variant&&t.bar2Buffer]}})(({ownerState:e,theme:t})=>(0,Se.A)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(t.vars||t).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:fA(t,e.color),transition:"transform .4s linear"}),({ownerState:e})=>("indeterminate"===e.variant||"query"===e.variant)&&(0,ei.AH)(cA||(cA=uA`
width: auto;
animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
`),pA)),vA=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiLinearProgress"}),{className:n,color:o="primary",value:i,valueBuffer:a,variant:s="indeterminate"}=r,l=(0,Ae.A)(r,nA),c=(0,Se.A)({},r,{color:o,variant:s}),u=(e=>{const{classes:t,variant:r,color:n}=e;return _o({root:["root",`color${wi(n)}`,r],dashed:["dashed",`dashedColor${wi(n)}`],bar1:["bar",`barColor${wi(n)}`,("indeterminate"===r||"query"===r)&&"bar1Indeterminate","determinate"===r&&"bar1Determinate","buffer"===r&&"bar1Buffer"],bar2:["bar","buffer"!==r&&`barColor${wi(n)}`,"buffer"===r&&`color${wi(n)}`,("indeterminate"===r||"query"===r)&&"bar2Indeterminate","buffer"===r&&"bar2Buffer"]},rA,t)})(c),d=Wt(),p={},h={bar1:{},bar2:{}};if(("determinate"===s||"buffer"===s)&&void 0!==i){p["aria-valuenow"]=Math.round(i),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let e=i-100;d&&(e=-e),h.bar1.transform=`translateX(${e}%)`}if("buffer"===s&&void 0!==a){let e=(a||0)-100;d&&(e=-e),h.bar2.transform=`translateX(${e}%)`}return(0,Nt.jsxs)(mA,(0,Se.A)({className:ao(u.root,n),ownerState:c,role:"progressbar"},p,{ref:t},l,{children:["buffer"===s?(0,Nt.jsx)(gA,{className:u.dashed,ownerState:c}):null,(0,Nt.jsx)(bA,{className:u.bar1,ownerState:c,style:h.bar1}),"determinate"===s?null:(0,Nt.jsx)(yA,{className:u.bar2,ownerState:c,style:h.bar2})]}))}),xA=vA,wA=t().forwardRef((e,r)=>t().createElement(xA,{...e,ref:r})),_A=(e,t)=>{const r=e.split(/\{\{(\w+)\}\}([^]*?)\{\{\/\1\}\}/g);return r.map((e,n)=>n%3==0?e:n%3==1?(0,Vn.createElement)(t[e],{key:n},r[n+1]):void 0)},CA=()=>{const{violation:e,results:t,resolved:r,loading:n,runNewScan:o}=QS(),i=0!==e?Math.min(r/e*100,100):100,a=t?Math.round(i):0,s=(0,tS.sprintf)(
// Translators: %1$s - resolved, %2$s - percent
// Translators: %1$s - resolved, %2$s - percent
(0,tS.__)("%1$s Fixed {{lightGrey}}(%2$s%%){{/lightGrey}}","pojo-accessibility"),r,a);return(0,Nt.jsx)(vo,{children:(0,Nt.jsx)(vo,{display:"flex",gap:1.5,alignItems:"center",children:n?(0,Nt.jsx)(vo,{flexGrow:1,sx:{py:1},children:(0,Nt.jsx)(Nk,{width:"100%",height:14})}):(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(Jw,{variant:"body2",color:"text.secondary",children:_A(s,{lightGrey:({children:e})=>(0,Nt.jsx)(Jw,{as:"span",variant:"body2",color:"text.tertiary",children:e})})}),(0,Nt.jsx)(kA,{color:"success",value:a,variant:"determinate",role:"presentation"}),(0,Nt.jsx)(F_,{variant:"outlined",size:"small",color:"secondary",endIcon:(0,Nt.jsx)(tA,{}),onClick:o,children:(0,tS.__)("New Scan","pojo-accessibility")})]})})})},kA=Ma(wA)(({theme:e})=>({"& .MuiLinearProgress-bar":{animation:"none"},"& .MuiLinearProgress-bar1Determinate":{backgroundColor:e.palette.success.light},backgroundColor:e.palette.grey[50],animation:"none",flexGrow:1}));var SA=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.53033 7.46967C9.82322 7.76256 9.82322 8.23744 9.53033 8.53033L6.81066 11.25H19C19.4142 11.25 19.75 11.5858 19.75 12C19.75 12.4142 19.4142 12.75 19 12.75H6.81066L9.53033 15.4697C9.82322 15.7626 9.82322 16.2374 9.53033 16.5303C9.23744 16.8232 8.76256 16.8232 8.46967 16.5303L4.46967 12.5303C4.17678 12.2374 4.17678 11.7626 4.46967 11.4697L8.46967 7.46967C8.76256 7.17678 9.23744 7.17678 9.53033 7.46967Z"}))),AA=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.5C7.44365 3.5 3.75 7.19365 3.75 11.75C3.75 16.3063 7.44365 20 12 20C16.5563 20 20.25 16.3063 20.25 11.75C20.25 7.19365 16.5563 3.5 12 3.5ZM2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"})));function jA(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function RA(e){return e instanceof jA(e).Element||e instanceof Element}function IA(e){return e instanceof jA(e).HTMLElement||e instanceof HTMLElement}function MA(e){return"undefined"!=typeof ShadowRoot&&(e instanceof jA(e).ShadowRoot||e instanceof ShadowRoot)}var EA=Math.max,TA=Math.min,OA=Math.round;function PA(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function LA(){return!/^((?!chrome|android).)*safari/i.test(PA())}function zA(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),o=1,i=1;t&&IA(e)&&(o=e.offsetWidth>0&&OA(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&OA(n.height)/e.offsetHeight||1);var a=(RA(e)?jA(e):window).visualViewport,s=!LA()&&r,l=(n.left+(s&&a?a.offsetLeft:0))/o,c=(n.top+(s&&a?a.offsetTop:0))/i,u=n.width/o,d=n.height/i;return{width:u,height:d,top:c,right:l+u,bottom:c+d,left:l,x:l,y:c}}function NA(e){var t=jA(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function FA(e){return e?(e.nodeName||"").toLowerCase():null}function DA(e){return((RA(e)?e.ownerDocument:e.document)||window.document).documentElement}function BA(e){return zA(DA(e)).left+NA(e).scrollLeft}function $A(e){return jA(e).getComputedStyle(e)}function HA(e){var t=$A(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function WA(e,t,r){void 0===r&&(r=!1);var n=IA(t),o=IA(t)&&function(e){var t=e.getBoundingClientRect(),r=OA(t.width)/e.offsetWidth||1,n=OA(t.height)/e.offsetHeight||1;return 1!==r||1!==n}(t),i=DA(t),a=zA(e,o,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==FA(t)||HA(i))&&(s=function(e){return e!==jA(e)&&IA(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:NA(e);var t}(t)),IA(t)?((l=zA(t,!0)).x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=BA(i))),{x:a.left+s.scrollLeft-l.x,y:a.top+s.scrollTop-l.y,width:a.width,height:a.height}}function VA(e){var t=zA(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function qA(e){return"html"===FA(e)?e:e.assignedSlot||e.parentNode||(MA(e)?e.host:null)||DA(e)}function UA(e){return["html","body","#document"].indexOf(FA(e))>=0?e.ownerDocument.body:IA(e)&&HA(e)?e:UA(qA(e))}function ZA(e,t){var r;void 0===t&&(t=[]);var n=UA(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),i=jA(n),a=o?[i].concat(i.visualViewport||[],HA(n)?n:[]):n,s=t.concat(a);return o?s:s.concat(ZA(qA(a)))}function GA(e){return["table","td","th"].indexOf(FA(e))>=0}function KA(e){return IA(e)&&"fixed"!==$A(e).position?e.offsetParent:null}function XA(e){for(var t=jA(e),r=KA(e);r&&GA(r)&&"static"===$A(r).position;)r=KA(r);return r&&("html"===FA(r)||"body"===FA(r)&&"static"===$A(r).position)?t:r||function(e){var t=/firefox/i.test(PA());if(/Trident/i.test(PA())&&IA(e)&&"fixed"===$A(e).position)return null;var r=qA(e);for(MA(r)&&(r=r.host);IA(r)&&["html","body"].indexOf(FA(r))<0;){var n=$A(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var JA="top",YA="bottom",QA="right",ej="left",tj="auto",rj=[JA,YA,QA,ej],nj="start",oj="end",ij="viewport",aj="popper",sj=rj.reduce(function(e,t){return e.concat([t+"-"+nj,t+"-"+oj])},[]),lj=[].concat(rj,[tj]).reduce(function(e,t){return e.concat([t,t+"-"+nj,t+"-"+oj])},[]),cj=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function uj(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||o(e)}),n}var dj={placement:"bottom",modifiers:[],strategy:"absolute"};function pj(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}function hj(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,i=void 0===o?dj:o;return function(e,t,r){void 0===r&&(r=i);var o,a,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},dj,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:s,setOptions:function(r){var o="function"==typeof r?r(s.options):r;d(),s.options=Object.assign({},i,s.options,o),s.scrollParents={reference:RA(e)?ZA(e):e.contextElement?ZA(e.contextElement):[],popper:ZA(t)};var a,c,p=function(e){var t=uj(e);return cj.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}((a=[].concat(n,s.options.modifiers),c=a.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{}),Object.keys(c).map(function(e){return c[e]})));return s.orderedModifiers=p.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var i=o({state:s,name:t,instance:u,options:n});l.push(i||function(){})}}),u.update()},forceUpdate:function(){if(!c){var e=s.elements,t=e.reference,r=e.popper;if(pj(t,r)){s.rects={reference:WA(t,XA(r),"fixed"===s.options.strategy),popper:VA(r)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<s.orderedModifiers.length;n++)if(!0!==s.reset){var o=s.orderedModifiers[n],i=o.fn,a=o.options,l=void 0===a?{}:a,d=o.name;"function"==typeof i&&(s=i({state:s,options:l,name:d,instance:u})||s)}else s.reset=!1,n=-1}}},update:(o=function(){return new Promise(function(e){u.forceUpdate(),e(s)})},function(){return a||(a=new Promise(function(e){Promise.resolve().then(function(){a=void 0,e(o())})})),a}),destroy:function(){d(),c=!0}};if(!pj(e,t))return u;function d(){l.forEach(function(e){return e()}),l=[]}return u.setOptions(r).then(function(e){!c&&r.onFirstUpdate&&r.onFirstUpdate(e)}),u}}var fj={passive:!0};function mj(e){return e.split("-")[0]}function gj(e){return e.split("-")[1]}function bj(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function yj(e){var t,r=e.reference,n=e.element,o=e.placement,i=o?mj(o):null,a=o?gj(o):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(i){case JA:t={x:s,y:r.y-n.height};break;case YA:t={x:s,y:r.y+r.height};break;case QA:t={x:r.x+r.width,y:l};break;case ej:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=i?bj(i):null;if(null!=c){var u="y"===c?"height":"width";switch(a){case nj:t[c]=t[c]-(r[u]/2-n[u]/2);break;case oj:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var vj={top:"auto",right:"auto",bottom:"auto",left:"auto"};function xj(e){var t,r=e.popper,n=e.popperRect,o=e.placement,i=e.variation,a=e.offsets,s=e.position,l=e.gpuAcceleration,c=e.adaptive,u=e.roundOffsets,d=e.isFixed,p=a.x,h=void 0===p?0:p,f=a.y,m=void 0===f?0:f,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var b=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),v=ej,x=JA,w=window;if(c){var _=XA(r),C="clientHeight",k="clientWidth";_===jA(r)&&"static"!==$A(_=DA(r)).position&&"absolute"===s&&(C="scrollHeight",k="scrollWidth"),(o===JA||(o===ej||o===QA)&&i===oj)&&(x=YA,m-=(d&&_===w&&w.visualViewport?w.visualViewport.height:_[C])-n.height,m*=l?1:-1),o!==ej&&(o!==JA&&o!==YA||i!==oj)||(v=QA,h-=(d&&_===w&&w.visualViewport?w.visualViewport.width:_[k])-n.width,h*=l?1:-1)}var S,A=Object.assign({position:s},c&&vj),j=!0===u?function(e,t){var r=e.x,n=e.y,o=t.devicePixelRatio||1;return{x:OA(r*o)/o||0,y:OA(n*o)/o||0}}({x:h,y:m},jA(r)):{x:h,y:m};return h=j.x,m=j.y,l?Object.assign({},A,((S={})[x]=y?"0":"",S[v]=b?"0":"",S.transform=(w.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",S)):Object.assign({},A,((t={})[x]=y?m+"px":"",t[v]=b?h+"px":"",t.transform="",t))}const wj={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];IA(o)&&FA(o)&&(Object.assign(o.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});IA(n)&&FA(n)&&(Object.assign(n.style,i),Object.keys(o).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},_j={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,i=void 0===o?[0,0]:o,a=lj.reduce(function(e,r){return e[r]=function(e,t,r){var n=mj(e),o=[ej,JA].indexOf(n)>=0?-1:1,i="function"==typeof r?r(Object.assign({},t,{placement:e})):r,a=i[0],s=i[1];return a=a||0,s=(s||0)*o,[ej,QA].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(r,t.rects,i),e},{}),s=a[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=a}};var Cj={left:"right",right:"left",bottom:"top",top:"bottom"};function kj(e){return e.replace(/left|right|bottom|top/g,function(e){return Cj[e]})}var Sj={start:"end",end:"start"};function Aj(e){return e.replace(/start|end/g,function(e){return Sj[e]})}function jj(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&MA(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Rj(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ij(e,t,r){return t===ij?Rj(function(e,t){var r=jA(e),n=DA(e),o=r.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;var c=LA();(c||!c&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s+BA(e),y:l}}(e,r)):RA(t)?function(e,t){var r=zA(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}(t,r):Rj(function(e){var t,r=DA(e),n=NA(e),o=null==(t=e.ownerDocument)?void 0:t.body,i=EA(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=EA(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-n.scrollLeft+BA(e),l=-n.scrollTop;return"rtl"===$A(o||r).direction&&(s+=EA(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:s,y:l}}(DA(e)))}function Mj(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Ej(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function Tj(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,i=r.strategy,a=void 0===i?e.strategy:i,s=r.boundary,l=void 0===s?"clippingParents":s,c=r.rootBoundary,u=void 0===c?ij:c,d=r.elementContext,p=void 0===d?aj:d,h=r.altBoundary,f=void 0!==h&&h,m=r.padding,g=void 0===m?0:m,b=Mj("number"!=typeof g?g:Ej(g,rj)),y=p===aj?"reference":aj,v=e.rects.popper,x=e.elements[f?y:p],w=function(e,t,r,n){var o="clippingParents"===t?function(e){var t=ZA(qA(e)),r=["absolute","fixed"].indexOf($A(e).position)>=0&&IA(e)?XA(e):e;return RA(r)?t.filter(function(e){return RA(e)&&jj(e,r)&&"body"!==FA(e)}):[]}(e):[].concat(t),i=[].concat(o,[r]),a=i[0],s=i.reduce(function(t,r){var o=Ij(e,r,n);return t.top=EA(o.top,t.top),t.right=TA(o.right,t.right),t.bottom=TA(o.bottom,t.bottom),t.left=EA(o.left,t.left),t},Ij(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}(RA(x)?x:x.contextElement||DA(e.elements.popper),l,u,a),_=zA(e.elements.reference),C=yj({reference:_,element:v,strategy:"absolute",placement:o}),k=Rj(Object.assign({},v,C)),S=p===aj?k:_,A={top:w.top-S.top+b.top,bottom:S.bottom-w.bottom+b.bottom,left:w.left-S.left+b.left,right:S.right-w.right+b.right},j=e.modifiersData.offset;if(p===aj&&j){var R=j[o];Object.keys(A).forEach(function(e){var t=[QA,YA].indexOf(e)>=0?1:-1,r=[JA,YA].indexOf(e)>=0?"y":"x";A[e]+=R[r]*t})}return A}const Oj={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0===a||a,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,f=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,b=mj(g),y=l||(b!==g&&f?function(e){if(mj(e)===tj)return[];var t=kj(e);return[Aj(e),t,Aj(t)]}(g):[kj(g)]),v=[g].concat(y).reduce(function(e,r){return e.concat(mj(r)===tj?function(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?lj:l,u=gj(n),d=u?s?sj:sj.filter(function(e){return gj(e)===u}):rj,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var h=p.reduce(function(t,r){return t[r]=Tj(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[mj(r)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)},[]),x=t.rects.reference,w=t.rects.popper,_=new Map,C=!0,k=v[0],S=0;S<v.length;S++){var A=v[S],j=mj(A),R=gj(A)===nj,I=[JA,YA].indexOf(j)>=0,M=I?"width":"height",E=Tj(t,{placement:A,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),T=I?R?QA:ej:R?YA:JA;x[M]>w[M]&&(T=kj(T));var O=kj(T),P=[];if(i&&P.push(E[j]<=0),s&&P.push(E[T]<=0,E[O]<=0),P.every(function(e){return e})){k=A,C=!1;break}_.set(A,P)}if(C)for(var L=function(e){var t=v.find(function(t){var r=_.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return k=t,"break"},z=f?3:1;z>0&&"break"!==L(z);z--);t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Pj(e,t,r){return EA(e,TA(t,r))}const Lj={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,i=void 0===o||o,a=r.altAxis,s=void 0!==a&&a,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,p=r.tether,h=void 0===p||p,f=r.tetherOffset,m=void 0===f?0:f,g=Tj(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=mj(t.placement),y=gj(t.placement),v=!y,x=bj(b),w="x"===x?"y":"x",_=t.modifiersData.popperOffsets,C=t.rects.reference,k=t.rects.popper,S="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,A="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,R={x:0,y:0};if(_){if(i){var I,M="y"===x?JA:ej,E="y"===x?YA:QA,T="y"===x?"height":"width",O=_[x],P=O+g[M],L=O-g[E],z=h?-k[T]/2:0,N=y===nj?C[T]:k[T],F=y===nj?-k[T]:-C[T],D=t.elements.arrow,B=h&&D?VA(D):{width:0,height:0},$=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},H=$[M],W=$[E],V=Pj(0,C[T],B[T]),q=v?C[T]/2-z-V-H-A.mainAxis:N-V-H-A.mainAxis,U=v?-C[T]/2+z+V+W+A.mainAxis:F+V+W+A.mainAxis,Z=t.elements.arrow&&XA(t.elements.arrow),G=Z?"y"===x?Z.clientTop||0:Z.clientLeft||0:0,K=null!=(I=null==j?void 0:j[x])?I:0,X=O+U-K,J=Pj(h?TA(P,O+q-K-G):P,O,h?EA(L,X):L);_[x]=J,R[x]=J-O}if(s){var Y,Q="x"===x?JA:ej,ee="x"===x?YA:QA,te=_[w],re="y"===w?"height":"width",ne=te+g[Q],oe=te-g[ee],ie=-1!==[JA,ej].indexOf(b),ae=null!=(Y=null==j?void 0:j[w])?Y:0,se=ie?ne:te-C[re]-k[re]-ae+A.altAxis,le=ie?te+C[re]+k[re]-ae-A.altAxis:oe,ce=h&&ie?function(e,t,r){var n=Pj(e,t,r);return n>r?r:n}(se,te,le):Pj(h?se:ne,te,h?le:oe);_[w]=ce,R[w]=ce-te}t.modifiersData[n]=R}},requiresIfExists:["offset"]};function zj(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Nj(e){return[JA,QA,YA,ej].some(function(t){return e[t]>=0})}var Fj=hj({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,i=void 0===o||o,a=n.resize,s=void 0===a||a,l=jA(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach(function(e){e.addEventListener("scroll",r.update,fj)}),s&&l.addEventListener("resize",r.update,fj),function(){i&&c.forEach(function(e){e.removeEventListener("scroll",r.update,fj)}),s&&l.removeEventListener("resize",r.update,fj)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=yj({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,i=r.adaptive,a=void 0===i||i,s=r.roundOffsets,l=void 0===s||s,c={placement:mj(t.placement),variation:gj(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,xj(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,xj(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},wj,_j,Oj,Lj,{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,i=r.elements.arrow,a=r.modifiersData.popperOffsets,s=mj(r.placement),l=bj(s),c=[ej,QA].indexOf(s)>=0?"height":"width";if(i&&a){var u=function(e,t){return Mj("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Ej(e,rj))}(o.padding,r),d=VA(i),p="y"===l?JA:ej,h="y"===l?YA:QA,f=r.rects.reference[c]+r.rects.reference[l]-a[l]-r.rects.popper[c],m=a[l]-r.rects.reference[l],g=XA(i),b=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,y=f/2-m/2,v=u[p],x=b-d[c]-u[h],w=b/2-d[c]/2+y,_=Pj(v,w,x),C=l;r.modifiersData[n]=((t={})[C]=_,t.centerOffset=_-w,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&jj(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=Tj(t,{elementContext:"reference"}),s=Tj(t,{altBoundary:!0}),l=zj(a,n),c=zj(s,o,i),u=Nj(l),d=Nj(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]});const Dj=e.forwardRef(function(t,r){const{children:n,container:o,disablePortal:i=!1}=t,[a,s]=e.useState(null),l=es(e.isValidElement(n)?n.ref:null,r);if(ns(()=>{i||s(function(e){return"function"==typeof e?e():e}(o)||document.body)},[o,i]),ns(()=>{if(a&&!i)return Qa(r,a),()=>{Qa(r,null)}},[r,a,i]),i){if(e.isValidElement(n)){const t={ref:l};return e.cloneElement(n,t)}return(0,Nt.jsx)(e.Fragment,{children:n})}return(0,Nt.jsx)(e.Fragment,{children:a?ps.createPortal(n,a):a})}),Bj={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"},$j="base";function Hj(e,t){const r=Bj[t];return r?`${$j}--${r}`:function(e,t){return`${$j}-${e}-${t}`}(e,t)}const Wj="Popper";function Vj(e){return Hj(Wj,e)}!function(e){const t={};["root"].forEach(r=>{t[r]=Hj(e,r)})}(Wj);const qj={disableDefaultClasses:!1},Uj=e.createContext(qj),Zj=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Gj=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function Kj(e){return"function"==typeof e?e():e}const Xj={},Jj=e.forwardRef(function(t,r){var n;const{anchorEl:o,children:i,direction:a,disablePortal:s,modifiers:l,open:c,placement:u,popperOptions:d,popperRef:p,slotProps:h={},slots:f={},TransitionProps:m}=t,g=(0,Ae.A)(t,Zj),b=e.useRef(null),y=es(b,r),v=e.useRef(null),x=es(v,p),w=e.useRef(x);ns(()=>{w.current=x},[x]),e.useImperativeHandle(p,()=>v.current,[]);const _=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(u,a),[C,k]=e.useState(_),[S,A]=e.useState(Kj(o));e.useEffect(()=>{v.current&&v.current.forceUpdate()}),e.useEffect(()=>{o&&A(Kj(o))},[o]),ns(()=>{if(!S||!c)return;let e=[{name:"preventOverflow",options:{altBoundary:s}},{name:"flip",options:{altBoundary:s}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:e})=>{k(e.placement)}}];null!=l&&(e=e.concat(l)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Fj(S,b.current,(0,Se.A)({placement:_},d,{modifiers:e}));return w.current(t),()=>{t.destroy(),w.current(null)}},[S,s,l,c,d,_]);const j={placement:C};null!==m&&(j.TransitionProps=m);const R=function(e,t){const r={};return Object.keys(e).forEach(n=>{r[n]=e[n].reduce((e,r)=>{if(r){const n=t(r);""!==n&&e.push(n)}return e},[]).join(" ")}),r}({root:["root"]},function(t){const{disableDefaultClasses:r}=e.useContext(Uj);return e=>r?"":t(e)}(Vj)),I=null!=(n=f.root)?n:"div",M=rs({elementType:I,externalSlotProps:h.root,externalForwardedProps:g,additionalProps:{role:"tooltip",ref:y},ownerState:t,className:R.root});return(0,Nt.jsx)(I,(0,Se.A)({},M,{children:"function"==typeof i?i(j):i}))}),Yj=e.forwardRef(function(t,r){const{anchorEl:n,children:o,container:i,direction:a="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:c,open:u,placement:d="bottom",popperOptions:p=Xj,popperRef:h,style:f,transition:m=!1,slotProps:g={},slots:b={}}=t,y=(0,Ae.A)(t,Gj),[v,x]=e.useState(!0);if(!l&&!u&&(!m||v))return null;let w;if(i)w=i;else if(n){const e=Kj(n);w=e&&void 0!==e.nodeType?is(e).body:is(null).body}const _=u||!l||m&&!v?void 0:"none",C=m?{in:u,onEnter:()=>{x(!1)},onExited:()=>{x(!0)}}:void 0;return(0,Nt.jsx)(Dj,{disablePortal:s,container:w,children:(0,Nt.jsx)(Jj,(0,Se.A)({anchorEl:n,direction:a,disablePortal:s,modifiers:c,ref:r,open:m?!v:u,placement:d,popperOptions:p,popperRef:h,slotProps:g,slots:b},y,{style:(0,Se.A)({position:"fixed",top:0,left:0,display:_},f),TransitionProps:C,children:o}))})});var Qj=r(7946);const eR=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],tR=jo(Yj,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),rR=e.forwardRef(function(e,t){var r;const n=(0,Qj.A)(),o=Io({props:e,name:"MuiPopper"}),{anchorEl:i,component:a,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:b,slots:y,slotProps:v}=o,x=(0,Ae.A)(o,eR),w=null!=(r=null==y?void 0:y.root)?r:null==s?void 0:s.Root,_=(0,Se.A)({anchorEl:i,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:b},x);return(0,Nt.jsx)(tR,(0,Se.A)({as:a,direction:null==n?void 0:n.direction,slots:{root:w},slotProps:null!=v?v:l},_,{ref:t}))}),nR=rR,oR=Xt;function iR({controlled:t,default:r,name:n,state:o="value"}){const{current:i}=e.useRef(void 0!==t),[a,s]=e.useState(r);return[i?t:a,e.useCallback(e=>{i||s(e)},[])]}const aR=iR;function sR(e){return ho("MuiTooltip",e)}const lR=fo("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]),cR=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"],uR=jo(nR,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})(({theme:e,ownerState:t,open:r})=>(0,Se.A)({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none"},!t.disableInteractive&&{pointerEvents:"auto"},!r&&{pointerEvents:"none"},t.arrow&&{[`&[data-popper-placement*="bottom"] .${lR.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${lR.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${lR.arrow}`]:(0,Se.A)({},t.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${lR.arrow}`]:(0,Se.A)({},t.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})),dR=jo("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t[`tooltipPlacement${wi(r.placement.split("-")[0])}`]]}})(({theme:e,ownerState:t})=>{return(0,Se.A)({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:(0,Oe.X4)(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium},t.arrow&&{position:"relative",margin:0},t.touch&&{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:(r=16/14,Math.round(1e5*r)/1e5+"em"),fontWeight:e.typography.fontWeightRegular},{[`.${lR.popper}[data-popper-placement*="left"] &`]:(0,Se.A)({transformOrigin:"right center"},t.isRtl?(0,Se.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"}):(0,Se.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"})),[`.${lR.popper}[data-popper-placement*="right"] &`]:(0,Se.A)({transformOrigin:"left center"},t.isRtl?(0,Se.A)({marginRight:"14px"},t.touch&&{marginRight:"24px"}):(0,Se.A)({marginLeft:"14px"},t.touch&&{marginLeft:"24px"})),[`.${lR.popper}[data-popper-placement*="top"] &`]:(0,Se.A)({transformOrigin:"center bottom",marginBottom:"14px"},t.touch&&{marginBottom:"24px"}),[`.${lR.popper}[data-popper-placement*="bottom"] &`]:(0,Se.A)({transformOrigin:"center top",marginTop:"14px"},t.touch&&{marginTop:"24px"})});var r}),pR=jo("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:(0,Oe.X4)(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}));let hR=!1;const fR=new Lo;let mR={x:0,y:0};function gR(e,t){return(r,...n)=>{t&&t(r,...n),e(r,...n)}}const bR=e.forwardRef(function(t,r){var n,o,i,a,s,l,c,u,d,p,h,f,m,g,b,y,v,x,w;const _=Io({props:t,name:"MuiTooltip"}),{arrow:C=!1,children:k,components:S={},componentsProps:A={},describeChild:j=!1,disableFocusListener:R=!1,disableHoverListener:I=!1,disableInteractive:M=!1,disableTouchListener:E=!1,enterDelay:T=100,enterNextDelay:O=0,enterTouchDelay:P=700,followCursor:L=!1,id:z,leaveDelay:N=0,leaveTouchDelay:F=1500,onClose:D,onOpen:B,open:$,placement:H="bottom",PopperComponent:W,PopperProps:V={},slotProps:q={},slots:U={},title:Z,TransitionComponent:G=Is,TransitionProps:K}=_,X=(0,Ae.A)(_,cR),J=e.isValidElement(k)?k:(0,Nt.jsx)("span",{children:k}),Y=ds(),Q=Wt(),[ee,te]=e.useState(),[re,ne]=e.useState(null),oe=e.useRef(!1),ie=M||L,ae=zo(),se=zo(),le=zo(),ce=zo(),[ue,de]=aR({controlled:$,default:!1,name:"Tooltip",state:"open"});let pe=ue;const he=oR(z),fe=e.useRef(),me=To(()=>{void 0!==fe.current&&(document.body.style.WebkitUserSelect=fe.current,fe.current=void 0),ce.clear()});e.useEffect(()=>me,[me]);const ge=e=>{fR.clear(),hR=!0,de(!0),B&&!pe&&B(e)},be=To(e=>{fR.start(800+N,()=>{hR=!1}),de(!1),D&&pe&&D(e),ae.start(Y.transitions.duration.shortest,()=>{oe.current=!1})}),ye=e=>{oe.current&&"touchstart"!==e.type||(ee&&ee.removeAttribute("title"),se.clear(),le.clear(),T||hR&&O?se.start(hR?O:T,()=>{ge(e)}):ge(e))},ve=e=>{se.clear(),le.start(N,()=>{be(e)})},{isFocusVisibleRef:xe,onBlur:we,onFocus:_e,ref:Ce}=Vo(),[,ke]=e.useState(!1),je=e=>{we(e),!1===xe.current&&(ke(!1),ve(e))},Re=e=>{ee||te(e.currentTarget),_e(e),!0===xe.current&&(ke(!0),ye(e))},Ie=e=>{oe.current=!0;const t=J.props;t.onTouchStart&&t.onTouchStart(e)};e.useEffect(()=>{if(pe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||be(e)}},[be,pe]);const Me=Eo(J.ref,Ce,te,r);Z||0===Z||(pe=!1);const Ee=e.useRef(),Te={},Oe="string"==typeof Z;j?(Te.title=pe||!Oe||I?null:Z,Te["aria-describedby"]=pe?he:null):(Te["aria-label"]=Oe?Z:null,Te["aria-labelledby"]=pe&&!Oe?he:null);const Pe=(0,Se.A)({},Te,X,J.props,{className:ao(X.className,J.props.className),onTouchStart:Ie,ref:Me},L?{onMouseMove:e=>{const t=J.props;t.onMouseMove&&t.onMouseMove(e),mR={x:e.clientX,y:e.clientY},Ee.current&&Ee.current.update()}}:{}),Le={};E||(Pe.onTouchStart=e=>{Ie(e),le.clear(),ae.clear(),me(),fe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ce.start(P,()=>{document.body.style.WebkitUserSelect=fe.current,ye(e)})},Pe.onTouchEnd=e=>{J.props.onTouchEnd&&J.props.onTouchEnd(e),me(),le.start(F,()=>{be(e)})}),I||(Pe.onMouseOver=gR(ye,Pe.onMouseOver),Pe.onMouseLeave=gR(ve,Pe.onMouseLeave),ie||(Le.onMouseOver=ye,Le.onMouseLeave=ve)),R||(Pe.onFocus=gR(Re,Pe.onFocus),Pe.onBlur=gR(je,Pe.onBlur),ie||(Le.onFocus=Re,Le.onBlur=je));const ze=e.useMemo(()=>{var e;let t=[{name:"arrow",enabled:Boolean(re),options:{element:re,padding:4}}];return null!=(e=V.popperOptions)&&e.modifiers&&(t=t.concat(V.popperOptions.modifiers)),(0,Se.A)({},V.popperOptions,{modifiers:t})},[re,V]),Ne=(0,Se.A)({},_,{isRtl:Q,arrow:C,disableInteractive:ie,placement:H,PopperComponentProp:W,touch:oe.current}),Fe=(e=>{const{classes:t,disableInteractive:r,arrow:n,touch:o,placement:i}=e;return _o({popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",o&&"touch",`tooltipPlacement${wi(i.split("-")[0])}`],arrow:["arrow"]},sR,t)})(Ne),De=null!=(n=null!=(o=U.popper)?o:S.Popper)?n:uR,Be=null!=(i=null!=(a=null!=(s=U.transition)?s:S.Transition)?a:G)?i:Is,$e=null!=(l=null!=(c=U.tooltip)?c:S.Tooltip)?l:dR,He=null!=(u=null!=(d=U.arrow)?d:S.Arrow)?u:pR,We=Di(De,(0,Se.A)({},V,null!=(p=q.popper)?p:A.popper,{className:ao(Fe.popper,null==V?void 0:V.className,null==(h=null!=(f=q.popper)?f:A.popper)?void 0:h.className)}),Ne),Ve=Di(Be,(0,Se.A)({},K,null!=(m=q.transition)?m:A.transition),Ne),qe=Di($e,(0,Se.A)({},null!=(g=q.tooltip)?g:A.tooltip,{className:ao(Fe.tooltip,null==(b=null!=(y=q.tooltip)?y:A.tooltip)?void 0:b.className)}),Ne),Ue=Di(He,(0,Se.A)({},null!=(v=q.arrow)?v:A.arrow,{className:ao(Fe.arrow,null==(x=null!=(w=q.arrow)?w:A.arrow)?void 0:x.className)}),Ne);return(0,Nt.jsxs)(e.Fragment,{children:[e.cloneElement(J,Pe),(0,Nt.jsx)(De,(0,Se.A)({as:null!=W?W:nR,placement:H,anchorEl:L?{getBoundingClientRect:()=>({top:mR.y,left:mR.x,right:mR.x,bottom:mR.y,width:0,height:0})}:ee,popperRef:Ee,open:!!ee&&pe,id:he,transition:!0},Le,We,{popperOptions:ze,children:({TransitionProps:e})=>(0,Nt.jsx)(Be,(0,Se.A)({timeout:Y.transitions.duration.shorter},e,Ve,{children:(0,Nt.jsxs)($e,(0,Se.A)({},qe,{children:[Z,C?(0,Nt.jsx)(He,(0,Se.A)({},Ue,{ref:ne})):null]}))}))}))]})}),yR=bR;var vR=t().forwardRef((e,r)=>t().createElement(yR,{...e,ref:r})),xR=t().forwardRef((e,r)=>t().createElement(nR,{...e,ref:r}));const{slots:wR,classNames:_R}=Sa("Infotip",["root","popper"]),CR=Ma(vR,wR.root)({}),kR=Ma(xR,wR.popper)(({theme:e,color:t})=>{const r=function(e,t){if(!e||"default"===e)return t.palette.background.paper;return("dark"===t.palette.mode?Kr:Xr)(t.palette[e].light,.9)}(t,e);return{"& .MuiTooltip-tooltip":{padding:0,minHeight:48,minWidth:80,maxWidth:"initial",backgroundColor:r,borderRadius:e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[3],color:e.palette.text.primary,boxShadow:"0px 0px 10px 4px rgba(0,0,0,0.03),6px 0px 10px 4px rgba(0,0,0,0.03),-6px 0px 10px 4px rgba(0,0,0,0.03),0px 6px 10px 4px rgba(0,0,0,0.03)"},"& .MuiTooltip-arrow":{color:r,fontSize:"1.2rem"},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementBottom":{marginTop:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementRight":{marginLeft:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementLeft":{marginRight:e.spacing(2)},"&.MuiTooltip-popper .MuiTooltip-tooltip.MuiTooltip-tooltipPlacementTop":{marginBottom:e.spacing(2)}}});var SR=t().forwardRef((r,n)=>{const o=Io({props:r,name:wR.root.name}),[i,a]=(0,e.useState)(!1),[s,l]=(0,e.useState)(null),{children:c,content:u,PopperProps:d={},color:p,...h}=o;return(0,e.useEffect)(()=>{const e=()=>a(!0),t=()=>a(!1);return s&&(s.addEventListener("mouseenter",e),s.addEventListener("mouseleave",t)),()=>{s&&(s.removeEventListener("mouseenter",e),s.removeEventListener("mouseleave",t))}},[s]),t().createElement(CR,{disableFocusListener:i,...h,ref:n,title:u,ownerState:o,PopperComponent:kR,PopperProps:{role:"presentation",ref:l,...d,className:Pi([[_R.root,h.className]]),color:p}},c)});const AR=Ma(vo)`
display: flex;
align-items: center;
padding: ${({theme:e})=>e.spacing(1.5)};
gap: ${({theme:e})=>e.spacing(1)};
background-color: ${({theme:e})=>e.palette.background.default};
`,jR=()=>{const{isManageGlobal:e,openedBlock:t,sortedViolations:r,sortedRemediation:n,sortedGlobalRemediation:o,setOpenedBlock:i,altTextData:a,manualData:s,isManage:l}=QS(),c=t===mS.altText?a[l?"manage":"main"]:s[t],u=c?.filter(e=>!0===e?.resolved).length||0,d=l?e?o:n:r,p=d[t]?.filter(e=>"1"===e?.global?"1"===e.active_for_page:"1"===e?.active).length||0,h=l?p:d[t].length-u;return(0,Nt.jsx)(vo,{children:(0,Nt.jsxs)(AR,{children:[(0,Nt.jsx)(Ca,{color:"secondary",onClick:()=>{ZS(),i(l?mS.management:mS.main)},sx:{whiteSpace:"nowrap"},"aria-label":(0,tS.__)("Return to all issues","pojo-accessibility"),size:"small",children:(0,Nt.jsx)(SA,{})}),(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",gap:1,children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h3",children:bS[t]}),yS[t]&&(0,Nt.jsx)(SR,{tabIndex:"0",PopperProps:{disablePortal:!0},content:(0,Nt.jsx)(Jw,{variant:"body2",sx:{p:2,maxWidth:"300px"},children:yS[t]}),children:(0,Nt.jsx)(AA,{fontSize:"small",color:"action"})}),h>0&&(0,Nt.jsx)(lC,{label:h,color:l?"info":"error",variant:"standard",size:"small"})]})]})})};var RR=r(5556),IR=r.n(RR);function MR(e,t,r){function n(r,n){var o;Object.defineProperty(r,"_zod",{value:r._zod??{},enumerable:!1}),(o=r._zod).traits??(o.traits=new Set),r._zod.traits.add(e),t(r,n);for(const e in a.prototype)e in r||Object.defineProperty(r,e,{value:a.prototype[e].bind(r)});r._zod.constr=a,r._zod.def=n}const o=r?.Parent??Object;class i extends o{}function a(e){var t;const o=r?.Parent?new i:this;n(o,e),(t=o._zod).deferred??(t.deferred=[]);for(const e of o._zod.deferred)e();return o}return Object.defineProperty(i,"name",{value:e}),Object.defineProperty(a,"init",{value:n}),Object.defineProperty(a,Symbol.hasInstance,{value:t=>!!(r?.Parent&&t instanceof r.Parent)||t?._zod?.traits?.has(e)}),Object.defineProperty(a,"name",{value:e}),a}Object.freeze({status:"aborted"}),Symbol("zod_brand");class ER extends Error{constructor(){super("Encountered Promise during synchronous parse. Use .parseAsync() instead.")}}class TR extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name="ZodEncodeError"}}const OR={};function PR(e){return e&&Object.assign(OR,e),OR}const LR=/^[cC][^\s-]{8,}$/,zR=/^[0-9a-z]+$/,NR=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,FR=/^[0-9a-vA-V]{20}$/,DR=/^[A-Za-z0-9]{27}$/,BR=/^[a-zA-Z0-9_-]{21}$/,$R=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,HR=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,WR=e=>e?new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,VR=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/,qR=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,UR=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})$/,ZR=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,GR=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,KR=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,XR=/^[A-Za-z0-9_-]*$/,JR=/^(?=.{1,253}\.?$)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[-0-9a-zA-Z]{0,61}[0-9a-zA-Z])?)*\.?$/,YR=/^\+(?:[0-9]){6,14}[0-9]$/,QR="(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))",eI=new RegExp(`^${QR}$`);function tI(e){const t="(?:[01]\\d|2[0-3]):[0-5]\\d";return"number"==typeof e.precision?-1===e.precision?`${t}`:0===e.precision?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}const rI=/^\d+$/,nI=/^-?\d+(?:\.\d+)?/i,oI=/true|false/i,iI=/^[^A-Z]*$/,aI=/^[^a-z]*$/;function sI(e,t){return"bigint"==typeof t?t.toString():t}function lI(e){return{get value(){{const t=e();return Object.defineProperty(this,"value",{value:t}),t}}}}function cI(e){return null==e}function uI(e){const t=e.startsWith("^")?1:0,r=e.endsWith("$")?e.length-1:e.length;return e.slice(t,r)}const dI=Symbol("evaluating");function pI(e,t,r){let n;Object.defineProperty(e,t,{get(){if(n!==dI)return void 0===n&&(n=dI,n=r()),n},set(r){Object.defineProperty(e,t,{value:r})},configurable:!0})}function hI(e,t,r){Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0})}function fI(...e){const t={};for(const r of e){const e=Object.getOwnPropertyDescriptors(r);Object.assign(t,e)}return Object.defineProperties({},t)}function mI(e){return JSON.stringify(e)}const gI="captureStackTrace"in Error?Error.captureStackTrace:(...e)=>{};function bI(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}const yI=lI(()=>{if("undefined"!=typeof navigator&&navigator?.userAgent?.includes("Cloudflare"))return!1;try{return new Function(""),!0}catch(e){return!1}});function vI(e){if(!1===bI(e))return!1;const t=e.constructor;if(void 0===t)return!0;const r=t.prototype;return!1!==bI(r)&&!1!==Object.prototype.hasOwnProperty.call(r,"isPrototypeOf")}function xI(e){return vI(e)?{...e}:e}const wI=new Set(["string","number","symbol"]);function _I(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function CI(e,t,r){const n=new e._zod.constr(t??e._zod.def);return t&&!r?.parent||(n._zod.parent=e),n}function kI(e){const t=e;if(!t)return{};if("string"==typeof t)return{error:()=>t};if(void 0!==t?.message){if(void 0!==t?.error)throw new Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,"string"==typeof t.error?{...t,error:()=>t.error}:t}new Set(["string","number","bigint","boolean","symbol","undefined"]);const SI={safeint:[Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER],int32:[-2147483648,2147483647],uint32:[0,4294967295],float32:[-34028234663852886e22,34028234663852886e22],float64:[-Number.MAX_VALUE,Number.MAX_VALUE]};function AI(e,t=0){if(!0===e.aborted)return!0;for(let r=t;r<e.issues.length;r++)if(!0!==e.issues[r]?.continue)return!0;return!1}function jI(e,t){return t.map(t=>{var r;return(r=t).path??(r.path=[]),t.path.unshift(e),t})}function RI(e){return"string"==typeof e?e:e?.message}function II(e,t,r){const n={...e,path:e.path??[]};if(!e.message){const o=RI(e.inst?._zod.def?.error?.(e))??RI(t?.error?.(e))??RI(r.customError?.(e))??RI(r.localeError?.(e))??"Invalid input";n.message=o}return delete n.inst,delete n.continue,t?.reportInput||delete n.input,n}function MI(e){return Array.isArray(e)?"array":"string"==typeof e?"string":"unknown"}function EI(...e){const[t,r,n]=e;return"string"==typeof t?{message:t,code:"custom",input:r,inst:n}:{...t}}const TI=MR("$ZodCheck",(e,t)=>{var r;e._zod??(e._zod={}),e._zod.def=t,(r=e._zod).onattach??(r.onattach=[])}),OI={number:"number",bigint:"bigint",object:"date"},PI=MR("$ZodCheckLessThan",(e,t)=>{TI.init(e,t);const r=OI[typeof t.value];e._zod.onattach.push(e=>{const r=e._zod.bag,n=(t.inclusive?r.maximum:r.exclusiveMaximum)??Number.POSITIVE_INFINITY;t.value<n&&(t.inclusive?r.maximum=t.value:r.exclusiveMaximum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value<=t.value:n.value<t.value)||n.issues.push({origin:r,code:"too_big",maximum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),LI=MR("$ZodCheckGreaterThan",(e,t)=>{TI.init(e,t);const r=OI[typeof t.value];e._zod.onattach.push(e=>{const r=e._zod.bag,n=(t.inclusive?r.minimum:r.exclusiveMinimum)??Number.NEGATIVE_INFINITY;t.value>n&&(t.inclusive?r.minimum=t.value:r.exclusiveMinimum=t.value)}),e._zod.check=n=>{(t.inclusive?n.value>=t.value:n.value>t.value)||n.issues.push({origin:r,code:"too_small",minimum:t.value,input:n.value,inclusive:t.inclusive,inst:e,continue:!t.abort})}}),zI=MR("$ZodCheckMultipleOf",(e,t)=>{TI.init(e,t),e._zod.onattach.push(e=>{var r;(r=e._zod.bag).multipleOf??(r.multipleOf=t.value)}),e._zod.check=r=>{if(typeof r.value!=typeof t.value)throw new Error("Cannot mix number and bigint in multiple_of check.");("bigint"==typeof r.value?r.value%t.value===BigInt(0):0===function(e,t){const r=(e.toString().split(".")[1]||"").length,n=t.toString();let o=(n.split(".")[1]||"").length;if(0===o&&/\d?e-\d?/.test(n)){const e=n.match(/\d?e-(\d?)/);e?.[1]&&(o=Number.parseInt(e[1]))}const i=r>o?r:o;return Number.parseInt(e.toFixed(i).replace(".",""))%Number.parseInt(t.toFixed(i).replace(".",""))/10**i}(r.value,t.value))||r.issues.push({origin:typeof r.value,code:"not_multiple_of",divisor:t.value,input:r.value,inst:e,continue:!t.abort})}}),NI=MR("$ZodCheckNumberFormat",(e,t)=>{TI.init(e,t),t.format=t.format||"float64";const r=t.format?.includes("int"),n=r?"int":"number",[o,i]=SI[t.format];e._zod.onattach.push(e=>{const n=e._zod.bag;n.format=t.format,n.minimum=o,n.maximum=i,r&&(n.pattern=rI)}),e._zod.check=a=>{const s=a.value;if(r){if(!Number.isInteger(s))return void a.issues.push({expected:n,format:t.format,code:"invalid_type",continue:!1,input:s,inst:e});if(!Number.isSafeInteger(s))return void(s>0?a.issues.push({input:s,code:"too_big",maximum:Number.MAX_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}):a.issues.push({input:s,code:"too_small",minimum:Number.MIN_SAFE_INTEGER,note:"Integers must be within the safe integer range.",inst:e,origin:n,continue:!t.abort}))}s<o&&a.issues.push({origin:"number",input:s,code:"too_small",minimum:o,inclusive:!0,inst:e,continue:!t.abort}),s>i&&a.issues.push({origin:"number",input:s,code:"too_big",maximum:i,inst:e})}}),FI=MR("$ZodCheckMaxLength",(e,t)=>{var r;TI.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!cI(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const r=e._zod.bag.maximum??Number.POSITIVE_INFINITY;t.maximum<r&&(e._zod.bag.maximum=t.maximum)}),e._zod.check=r=>{const n=r.value;if(n.length<=t.maximum)return;const o=MI(n);r.issues.push({origin:o,code:"too_big",maximum:t.maximum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),DI=MR("$ZodCheckMinLength",(e,t)=>{var r;TI.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!cI(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const r=e._zod.bag.minimum??Number.NEGATIVE_INFINITY;t.minimum>r&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=r=>{const n=r.value;if(n.length>=t.minimum)return;const o=MI(n);r.issues.push({origin:o,code:"too_small",minimum:t.minimum,inclusive:!0,input:n,inst:e,continue:!t.abort})}}),BI=MR("$ZodCheckLengthEquals",(e,t)=>{var r;TI.init(e,t),(r=e._zod.def).when??(r.when=e=>{const t=e.value;return!cI(t)&&void 0!==t.length}),e._zod.onattach.push(e=>{const r=e._zod.bag;r.minimum=t.length,r.maximum=t.length,r.length=t.length}),e._zod.check=r=>{const n=r.value,o=n.length;if(o===t.length)return;const i=MI(n),a=o>t.length;r.issues.push({origin:i,...a?{code:"too_big",maximum:t.length}:{code:"too_small",minimum:t.length},inclusive:!0,exact:!0,input:r.value,inst:e,continue:!t.abort})}}),$I=MR("$ZodCheckStringFormat",(e,t)=>{var r,n;TI.init(e,t),e._zod.onattach.push(e=>{const r=e._zod.bag;r.format=t.format,t.pattern&&(r.patterns??(r.patterns=new Set),r.patterns.add(t.pattern))}),t.pattern?(r=e._zod).check??(r.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:t.format,input:r.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(n=e._zod).check??(n.check=()=>{})}),HI=MR("$ZodCheckRegex",(e,t)=>{$I.init(e,t),e._zod.check=r=>{t.pattern.lastIndex=0,t.pattern.test(r.value)||r.issues.push({origin:"string",code:"invalid_format",format:"regex",input:r.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),WI=MR("$ZodCheckLowerCase",(e,t)=>{t.pattern??(t.pattern=iI),$I.init(e,t)}),VI=MR("$ZodCheckUpperCase",(e,t)=>{t.pattern??(t.pattern=aI),$I.init(e,t)}),qI=MR("$ZodCheckIncludes",(e,t)=>{TI.init(e,t);const r=_I(t.includes),n=new RegExp("number"==typeof t.position?`^.{${t.position}}${r}`:r);t.pattern=n,e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(n)}),e._zod.check=r=>{r.value.includes(t.includes,t.position)||r.issues.push({origin:"string",code:"invalid_format",format:"includes",includes:t.includes,input:r.value,inst:e,continue:!t.abort})}}),UI=MR("$ZodCheckStartsWith",(e,t)=>{TI.init(e,t);const r=new RegExp(`^${_I(t.prefix)}.*`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.startsWith(t.prefix)||r.issues.push({origin:"string",code:"invalid_format",format:"starts_with",prefix:t.prefix,input:r.value,inst:e,continue:!t.abort})}}),ZI=MR("$ZodCheckEndsWith",(e,t)=>{TI.init(e,t);const r=new RegExp(`.*${_I(t.suffix)}$`);t.pattern??(t.pattern=r),e._zod.onattach.push(e=>{const t=e._zod.bag;t.patterns??(t.patterns=new Set),t.patterns.add(r)}),e._zod.check=r=>{r.value.endsWith(t.suffix)||r.issues.push({origin:"string",code:"invalid_format",format:"ends_with",suffix:t.suffix,input:r.value,inst:e,continue:!t.abort})}}),GI=MR("$ZodCheckOverwrite",(e,t)=>{TI.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});class KI{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),this.indent-=1}write(e){if("function"==typeof e)return e(this,{execution:"sync"}),void e(this,{execution:"async"});const t=e.split("\n").filter(e=>e),r=Math.min(...t.map(e=>e.length-e.trimStart().length)),n=t.map(e=>e.slice(r)).map(e=>" ".repeat(2*this.indent)+e);for(const e of n)this.content.push(e)}compile(){const e=Function,t=this?.args,r=[...(this?.content??[""]).map(e=>` ${e}`)];return new e(...t,r.join("\n"))}}const XI=(e,t)=>{e.name="$ZodError",Object.defineProperty(e,"_zod",{value:e._zod,enumerable:!1}),Object.defineProperty(e,"issues",{value:t,enumerable:!1}),e.message=JSON.stringify(t,sI,2),Object.defineProperty(e,"toString",{value:()=>e.message,enumerable:!1})},JI=MR("$ZodError",XI),YI=MR("$ZodError",XI,{Parent:Error}),QI=e=>(t,r,n,o)=>{const i=n?Object.assign(n,{async:!1}):{async:!1},a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise)throw new ER;if(a.issues.length){const t=new(o?.Err??e)(a.issues.map(e=>II(e,i,PR())));throw gI(t,o?.callee),t}return a.value},eM=e=>async(t,r,n,o)=>{const i=n?Object.assign(n,{async:!0}):{async:!0};let a=t._zod.run({value:r,issues:[]},i);if(a instanceof Promise&&(a=await a),a.issues.length){const t=new(o?.Err??e)(a.issues.map(e=>II(e,i,PR())));throw gI(t,o?.callee),t}return a.value},tM=e=>(t,r,n)=>{const o=n?{...n,async:!1}:{async:!1},i=t._zod.run({value:r,issues:[]},o);if(i instanceof Promise)throw new ER;return i.issues.length?{success:!1,error:new(e??JI)(i.issues.map(e=>II(e,o,PR())))}:{success:!0,data:i.value}},rM=tM(YI),nM=e=>async(t,r,n)=>{const o=n?Object.assign(n,{async:!0}):{async:!0};let i=t._zod.run({value:r,issues:[]},o);return i instanceof Promise&&(i=await i),i.issues.length?{success:!1,error:new e(i.issues.map(e=>II(e,o,PR())))}:{success:!0,data:i.value}},oM=nM(YI),iM=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return QI(e)(t,r,o)},aM=e=>(t,r,n)=>QI(e)(t,r,n),sM=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return eM(e)(t,r,o)},lM=e=>async(t,r,n)=>eM(e)(t,r,n),cM=e=>(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return tM(e)(t,r,o)},uM=e=>(t,r,n)=>tM(e)(t,r,n),dM=e=>async(t,r,n)=>{const o=n?Object.assign(n,{direction:"backward"}):{direction:"backward"};return nM(e)(t,r,o)},pM=e=>async(t,r,n)=>nM(e)(t,r,n),hM={major:4,minor:1,patch:5},fM=MR("$ZodType",(e,t)=>{var r;e??(e={}),e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=hM;const n=[...e._zod.def.checks??[]];e._zod.traits.has("$ZodCheck")&&n.unshift(e);for(const t of n)for(const r of t._zod.onattach)r(e);if(0===n.length)(r=e._zod).deferred??(r.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{const t=(e,t,r)=>{let n,o=AI(e);for(const i of t){if(i._zod.def.when){if(!i._zod.def.when(e))continue}else if(o)continue;const t=e.issues.length,a=i._zod.check(e);if(a instanceof Promise&&!1===r?.async)throw new ER;if(n||a instanceof Promise)n=(n??Promise.resolve()).then(async()=>{await a,e.issues.length!==t&&(o||(o=AI(e,t)))});else{if(e.issues.length===t)continue;o||(o=AI(e,t))}}return n?n.then(()=>e):e},r=(r,o,i)=>{if(AI(r))return r.aborted=!0,r;const a=t(o,n,i);if(a instanceof Promise){if(!1===i.async)throw new ER;return a.then(t=>e._zod.parse(t,i))}return e._zod.parse(a,i)};e._zod.run=(o,i)=>{if(i.skipChecks)return e._zod.parse(o,i);if("backward"===i.direction){const t=e._zod.parse({value:o.value,issues:[]},{...i,skipChecks:!0});return t instanceof Promise?t.then(e=>r(e,o,i)):r(t,o,i)}const a=e._zod.parse(o,i);if(a instanceof Promise){if(!1===i.async)throw new ER;return a.then(e=>t(e,n,i))}return t(a,n,i)}}e["~standard"]={validate:t=>{try{const r=rM(e,t);return r.success?{value:r.data}:{issues:r.error?.issues}}catch(r){return oM(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:"zod",version:1}}),mM=MR("$ZodString",(e,t)=>{var r;fM.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??(r=e._zod.bag,new RegExp(`^${r?`[\\s\\S]{${r?.minimum??0},${r?.maximum??""}}`:"[\\s\\S]*"}$`)),e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=String(r.value)}catch(n){}return"string"==typeof r.value||r.issues.push({expected:"string",code:"invalid_type",input:r.value,inst:e}),r}}),gM=MR("$ZodStringFormat",(e,t)=>{$I.init(e,t),mM.init(e,t)}),bM=MR("$ZodGUID",(e,t)=>{t.pattern??(t.pattern=HR),gM.init(e,t)}),yM=MR("$ZodUUID",(e,t)=>{if(t.version){const e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(void 0===e)throw new Error(`Invalid UUID version: "${t.version}"`);t.pattern??(t.pattern=WR(e))}else t.pattern??(t.pattern=WR());gM.init(e,t)}),vM=MR("$ZodEmail",(e,t)=>{t.pattern??(t.pattern=VR),gM.init(e,t)}),xM=MR("$ZodURL",(e,t)=>{gM.init(e,t),e._zod.check=r=>{try{const n=r.value.trim(),o=new URL(n);return t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(o.hostname)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid hostname",pattern:JR.source,input:r.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(o.protocol.endsWith(":")?o.protocol.slice(0,-1):o.protocol)||r.issues.push({code:"invalid_format",format:"url",note:"Invalid protocol",pattern:t.protocol.source,input:r.value,inst:e,continue:!t.abort})),void(t.normalize?r.value=o.href:r.value=n)}catch(n){r.issues.push({code:"invalid_format",format:"url",input:r.value,inst:e,continue:!t.abort})}}}),wM=MR("$ZodEmoji",(e,t)=>{t.pattern??(t.pattern=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),gM.init(e,t)}),_M=MR("$ZodNanoID",(e,t)=>{t.pattern??(t.pattern=BR),gM.init(e,t)}),CM=MR("$ZodCUID",(e,t)=>{t.pattern??(t.pattern=LR),gM.init(e,t)}),kM=MR("$ZodCUID2",(e,t)=>{t.pattern??(t.pattern=zR),gM.init(e,t)}),SM=MR("$ZodULID",(e,t)=>{t.pattern??(t.pattern=NR),gM.init(e,t)}),AM=MR("$ZodXID",(e,t)=>{t.pattern??(t.pattern=FR),gM.init(e,t)}),jM=MR("$ZodKSUID",(e,t)=>{t.pattern??(t.pattern=DR),gM.init(e,t)}),RM=MR("$ZodISODateTime",(e,t)=>{t.pattern??(t.pattern=function(e){const t=tI({precision:e.precision}),r=["Z"];e.local&&r.push(""),e.offset&&r.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");const n=`${t}(?:${r.join("|")})`;return new RegExp(`^${QR}T(?:${n})$`)}(t)),gM.init(e,t)}),IM=MR("$ZodISODate",(e,t)=>{t.pattern??(t.pattern=eI),gM.init(e,t)}),MM=MR("$ZodISOTime",(e,t)=>{t.pattern??(t.pattern=new RegExp(`^${tI(t)}$`)),gM.init(e,t)}),EM=MR("$ZodISODuration",(e,t)=>{t.pattern??(t.pattern=$R),gM.init(e,t)}),TM=MR("$ZodIPv4",(e,t)=>{t.pattern??(t.pattern=qR),gM.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv4"})}),OM=MR("$ZodIPv6",(e,t)=>{t.pattern??(t.pattern=UR),gM.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.format="ipv6"}),e._zod.check=r=>{try{new URL(`http://[${r.value}]`)}catch{r.issues.push({code:"invalid_format",format:"ipv6",input:r.value,inst:e,continue:!t.abort})}}}),PM=MR("$ZodCIDRv4",(e,t)=>{t.pattern??(t.pattern=ZR),gM.init(e,t)}),LM=MR("$ZodCIDRv6",(e,t)=>{t.pattern??(t.pattern=GR),gM.init(e,t),e._zod.check=r=>{const[n,o]=r.value.split("/");try{if(!o)throw new Error;const e=Number(o);if(`${e}`!==o)throw new Error;if(e<0||e>128)throw new Error;new URL(`http://[${n}]`)}catch{r.issues.push({code:"invalid_format",format:"cidrv6",input:r.value,inst:e,continue:!t.abort})}}});function zM(e){if(""===e)return!0;if(e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const NM=MR("$ZodBase64",(e,t)=>{t.pattern??(t.pattern=KR),gM.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64"}),e._zod.check=r=>{zM(r.value)||r.issues.push({code:"invalid_format",format:"base64",input:r.value,inst:e,continue:!t.abort})}}),FM=MR("$ZodBase64URL",(e,t)=>{t.pattern??(t.pattern=XR),gM.init(e,t),e._zod.onattach.push(e=>{e._zod.bag.contentEncoding="base64url"}),e._zod.check=r=>{(function(e){if(!XR.test(e))return!1;const t=e.replace(/[-_]/g,e=>"-"===e?"+":"/");return zM(t.padEnd(4*Math.ceil(t.length/4),"="))})(r.value)||r.issues.push({code:"invalid_format",format:"base64url",input:r.value,inst:e,continue:!t.abort})}}),DM=MR("$ZodE164",(e,t)=>{t.pattern??(t.pattern=YR),gM.init(e,t)}),BM=MR("$ZodJWT",(e,t)=>{gM.init(e,t),e._zod.check=r=>{(function(e,t=null){try{const r=e.split(".");if(3!==r.length)return!1;const[n]=r;if(!n)return!1;const o=JSON.parse(atob(n));return!("typ"in o&&"JWT"!==o?.typ||!o.alg||t&&(!("alg"in o)||o.alg!==t))}catch{return!1}})(r.value,t.alg)||r.issues.push({code:"invalid_format",format:"jwt",input:r.value,inst:e,continue:!t.abort})}}),$M=MR("$ZodNumber",(e,t)=>{fM.init(e,t),e._zod.pattern=e._zod.bag.pattern??nI,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Number(r.value)}catch(e){}const o=r.value;if("number"==typeof o&&!Number.isNaN(o)&&Number.isFinite(o))return r;const i="number"==typeof o?Number.isNaN(o)?"NaN":Number.isFinite(o)?void 0:"Infinity":void 0;return r.issues.push({expected:"number",code:"invalid_type",input:o,inst:e,...i?{received:i}:{}}),r}}),HM=MR("$ZodNumber",(e,t)=>{NI.init(e,t),$M.init(e,t)}),WM=MR("$ZodBoolean",(e,t)=>{fM.init(e,t),e._zod.pattern=oI,e._zod.parse=(r,n)=>{if(t.coerce)try{r.value=Boolean(r.value)}catch(e){}const o=r.value;return"boolean"==typeof o||r.issues.push({expected:"boolean",code:"invalid_type",input:o,inst:e}),r}}),VM=MR("$ZodUnknown",(e,t)=>{fM.init(e,t),e._zod.parse=e=>e}),qM=MR("$ZodNever",(e,t)=>{fM.init(e,t),e._zod.parse=(t,r)=>(t.issues.push({expected:"never",code:"invalid_type",input:t.value,inst:e}),t)});function UM(e,t,r){e.issues.length&&t.issues.push(...jI(r,e.issues)),t.value[r]=e.value}const ZM=MR("$ZodArray",(e,t)=>{fM.init(e,t),e._zod.parse=(r,n)=>{const o=r.value;if(!Array.isArray(o))return r.issues.push({expected:"array",code:"invalid_type",input:o,inst:e}),r;r.value=Array(o.length);const i=[];for(let e=0;e<o.length;e++){const a=o[e],s=t.element._zod.run({value:a,issues:[]},n);s instanceof Promise?i.push(s.then(t=>UM(t,r,e))):UM(s,r,e)}return i.length?Promise.all(i).then(()=>r):r}});function GM(e,t,r,n){e.issues.length&&t.issues.push(...jI(r,e.issues)),void 0===e.value?r in n&&(t.value[r]=void 0):t.value[r]=e.value}function KM(e){const t=Object.keys(e.shape);for(const r of t)if(!e.shape[r]._zod.traits.has("$ZodType"))throw new Error(`Invalid element at key "${r}": expected a Zod schema`);const r=(n=e.shape,Object.keys(n).filter(e=>"optional"===n[e]._zod.optin&&"optional"===n[e]._zod.optout));var n;return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(r)}}function XM(e,t,r,n,o,i){const a=[],s=o.keySet,l=o.catchall._zod,c=l.def.type;for(const o of Object.keys(t)){if(s.has(o))continue;if("never"===c){a.push(o);continue}const i=l.run({value:t[o],issues:[]},n);i instanceof Promise?e.push(i.then(e=>GM(e,r,o,t))):GM(i,r,o,t)}return a.length&&r.issues.push({code:"unrecognized_keys",keys:a,input:t,inst:i}),e.length?Promise.all(e).then(()=>r):r}const JM=MR("$ZodObject",(e,t)=>{fM.init(e,t);const r=lI(()=>KM(t));pI(e._zod,"propValues",()=>{const e=t.shape,r={};for(const t in e){const n=e[t]._zod;if(n.values){r[t]??(r[t]=new Set);for(const e of n.values)r[t].add(e)}}return r});const n=bI,o=t.catchall;let i;e._zod.parse=(t,a)=>{i??(i=r.value);const s=t.value;if(!n(s))return t.issues.push({expected:"object",code:"invalid_type",input:s,inst:e}),t;t.value={};const l=[],c=i.shape;for(const e of i.keys){const r=c[e]._zod.run({value:s[e],issues:[]},a);r instanceof Promise?l.push(r.then(r=>GM(r,t,e,s))):GM(r,t,e,s)}return o?XM(l,s,t,a,r.value,e):l.length?Promise.all(l).then(()=>t):t}}),YM=MR("$ZodObjectJIT",(e,t)=>{JM.init(e,t);const r=e._zod.parse,n=lI(()=>KM(t));let o;const i=bI,a=!OR.jitless,s=a&&yI.value,l=t.catchall;let c;e._zod.parse=(u,d)=>{c??(c=n.value);const p=u.value;return i(p)?a&&s&&!1===d?.async&&!0!==d.jitless?(o||(o=(e=>{const t=new KI(["shape","payload","ctx"]),r=n.value,o=e=>{const t=mI(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write("const input = payload.value;");const i=Object.create(null);let a=0;for(const e of r.keys)i[e]="key_"+a++;t.write("const newResult = {}");for(const e of r.keys){const r=i[e],n=mI(e);t.write(`const ${r} = ${o(e)};`),t.write(`\n if (${r}.issues.length) {\n payload.issues = payload.issues.concat(${r}.issues.map(iss => ({\n ...iss,\n path: iss.path ? [${n}, ...iss.path] : [${n}]\n })));\n }\n \n if (${r}.value === undefined) {\n if (${n} in input) {\n newResult[${n}] = undefined;\n }\n } else {\n newResult[${n}] = ${r}.value;\n }\n `)}t.write("payload.value = newResult;"),t.write("return payload;");const s=t.compile();return(t,r)=>s(e,t,r)})(t.shape)),u=o(u,d),l?XM([],p,u,d,c,e):u):r(u,d):(u.issues.push({expected:"object",code:"invalid_type",input:p,inst:e}),u)}});function QM(e,t,r,n){for(const r of e)if(0===r.issues.length)return t.value=r.value,t;const o=e.filter(e=>!AI(e));return 1===o.length?(t.value=o[0].value,o[0]):(t.issues.push({code:"invalid_union",input:t.value,inst:r,errors:e.map(e=>e.issues.map(e=>II(e,n,PR())))}),t)}const eE=MR("$ZodUnion",(e,t)=>{fM.init(e,t),pI(e._zod,"optin",()=>t.options.some(e=>"optional"===e._zod.optin)?"optional":void 0),pI(e._zod,"optout",()=>t.options.some(e=>"optional"===e._zod.optout)?"optional":void 0),pI(e._zod,"values",()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),pI(e._zod,"pattern",()=>{if(t.options.every(e=>e._zod.pattern)){const e=t.options.map(e=>e._zod.pattern);return new RegExp(`^(${e.map(e=>uI(e.source)).join("|")})$`)}});const r=1===t.options.length,n=t.options[0]._zod.run;e._zod.parse=(o,i)=>{if(r)return n(o,i);let a=!1;const s=[];for(const e of t.options){const t=e._zod.run({value:o.value,issues:[]},i);if(t instanceof Promise)s.push(t),a=!0;else{if(0===t.issues.length)return t;s.push(t)}}return a?Promise.all(s).then(t=>QM(t,o,e,i)):QM(s,o,e,i)}}),tE=MR("$ZodIntersection",(e,t)=>{fM.init(e,t),e._zod.parse=(e,r)=>{const n=e.value,o=t.left._zod.run({value:n,issues:[]},r),i=t.right._zod.run({value:n,issues:[]},r);return o instanceof Promise||i instanceof Promise?Promise.all([o,i]).then(([t,r])=>nE(e,t,r)):nE(e,o,i)}});function rE(e,t){if(e===t)return{valid:!0,data:e};if(e instanceof Date&&t instanceof Date&&+e===+t)return{valid:!0,data:e};if(vI(e)&&vI(t)){const r=Object.keys(t),n=Object.keys(e).filter(e=>-1!==r.indexOf(e)),o={...e,...t};for(const r of n){const n=rE(e[r],t[r]);if(!n.valid)return{valid:!1,mergeErrorPath:[r,...n.mergeErrorPath]};o[r]=n.data}return{valid:!0,data:o}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};const r=[];for(let n=0;n<e.length;n++){const o=rE(e[n],t[n]);if(!o.valid)return{valid:!1,mergeErrorPath:[n,...o.mergeErrorPath]};r.push(o.data)}return{valid:!0,data:r}}return{valid:!1,mergeErrorPath:[]}}function nE(e,t,r){if(t.issues.length&&e.issues.push(...t.issues),r.issues.length&&e.issues.push(...r.issues),AI(e))return e;const n=rE(t.value,r.value);if(!n.valid)throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(n.mergeErrorPath)}`);return e.value=n.data,e}const oE=MR("$ZodTuple",(e,t)=>{fM.init(e,t);const r=t.items,n=r.length-[...r].reverse().findIndex(e=>"optional"!==e._zod.optin);e._zod.parse=(o,i)=>{const a=o.value;if(!Array.isArray(a))return o.issues.push({input:a,inst:e,expected:"tuple",code:"invalid_type"}),o;o.value=[];const s=[];if(!t.rest){const t=a.length>r.length,i=a.length<n-1;if(t||i)return o.issues.push({...t?{code:"too_big",maximum:r.length}:{code:"too_small",minimum:r.length},input:a,inst:e,origin:"array"}),o}let l=-1;for(const e of r){if(l++,l>=a.length&&l>=n)continue;const t=e._zod.run({value:a[l],issues:[]},i);t instanceof Promise?s.push(t.then(e=>iE(e,o,l))):iE(t,o,l)}if(t.rest){const e=a.slice(r.length);for(const r of e){l++;const e=t.rest._zod.run({value:r,issues:[]},i);e instanceof Promise?s.push(e.then(e=>iE(e,o,l))):iE(e,o,l)}}return s.length?Promise.all(s).then(()=>o):o}});function iE(e,t,r){e.issues.length&&t.issues.push(...jI(r,e.issues)),t.value[r]=e.value}const aE=MR("$ZodEnum",(e,t)=>{fM.init(e,t);const r=function(e){const t=Object.values(e).filter(e=>"number"==typeof e),r=Object.entries(e).filter(([e,r])=>-1===t.indexOf(+e)).map(([e,t])=>t);return r}(t.entries),n=new Set(r);e._zod.values=n,e._zod.pattern=new RegExp(`^(${r.filter(e=>wI.has(typeof e)).map(e=>"string"==typeof e?_I(e):e.toString()).join("|")})$`),e._zod.parse=(t,o)=>{const i=t.value;return n.has(i)||t.issues.push({code:"invalid_value",values:r,input:i,inst:e}),t}}),sE=MR("$ZodTransform",(e,t)=>{fM.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new TR(e.constructor.name);const o=t.transform(r.value,r);if(n.async)return(o instanceof Promise?o:Promise.resolve(o)).then(e=>(r.value=e,r));if(o instanceof Promise)throw new ER;return r.value=o,r}});function lE(e,t){return e.issues.length&&void 0===t?{issues:[],value:void 0}:e}const cE=MR("$ZodOptional",(e,t)=>{fM.init(e,t),e._zod.optin="optional",e._zod.optout="optional",pI(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),pI(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${uI(e.source)})?$`):void 0}),e._zod.parse=(e,r)=>{if("optional"===t.innerType._zod.optin){const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(t=>lE(t,e.value)):lE(n,e.value)}return void 0===e.value?e:t.innerType._zod.run(e,r)}}),uE=MR("$ZodNullable",(e,t)=>{fM.init(e,t),pI(e._zod,"optin",()=>t.innerType._zod.optin),pI(e._zod,"optout",()=>t.innerType._zod.optout),pI(e._zod,"pattern",()=>{const e=t.innerType._zod.pattern;return e?new RegExp(`^(${uI(e.source)}|null)$`):void 0}),pI(e._zod,"values",()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,r)=>null===e.value?e:t.innerType._zod.run(e,r)}),dE=MR("$ZodDefault",(e,t)=>{fM.init(e,t),e._zod.optin="optional",pI(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);if(void 0===e.value)return e.value=t.defaultValue,e;const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(e=>pE(e,t)):pE(n,t)}});function pE(e,t){return void 0===e.value&&(e.value=t.defaultValue),e}const hE=MR("$ZodPrefault",(e,t)=>{fM.init(e,t),e._zod.optin="optional",pI(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>("backward"===r.direction||void 0===e.value&&(e.value=t.defaultValue),t.innerType._zod.run(e,r))}),fE=MR("$ZodNonOptional",(e,t)=>{fM.init(e,t),pI(e._zod,"values",()=>{const e=t.innerType._zod.values;return e?new Set([...e].filter(e=>void 0!==e)):void 0}),e._zod.parse=(r,n)=>{const o=t.innerType._zod.run(r,n);return o instanceof Promise?o.then(t=>mE(t,e)):mE(o,e)}});function mE(e,t){return e.issues.length||void 0!==e.value||e.issues.push({code:"invalid_type",expected:"nonoptional",input:e.value,inst:t}),e}const gE=MR("$ZodCatch",(e,t)=>{fM.init(e,t),pI(e._zod,"optin",()=>t.innerType._zod.optin),pI(e._zod,"optout",()=>t.innerType._zod.optout),pI(e._zod,"values",()=>t.innerType._zod.values),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(n=>(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>II(e,r,PR()))},input:e.value}),e.issues=[]),e)):(e.value=n.value,n.issues.length&&(e.value=t.catchValue({...e,error:{issues:n.issues.map(e=>II(e,r,PR()))},input:e.value}),e.issues=[]),e)}}),bE=MR("$ZodPipe",(e,t)=>{fM.init(e,t),pI(e._zod,"values",()=>t.in._zod.values),pI(e._zod,"optin",()=>t.in._zod.optin),pI(e._zod,"optout",()=>t.out._zod.optout),pI(e._zod,"propValues",()=>t.in._zod.propValues),e._zod.parse=(e,r)=>{if("backward"===r.direction){const n=t.out._zod.run(e,r);return n instanceof Promise?n.then(e=>yE(e,t.in,r)):yE(n,t.in,r)}const n=t.in._zod.run(e,r);return n instanceof Promise?n.then(e=>yE(e,t.out,r)):yE(n,t.out,r)}});function yE(e,t,r){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues},r)}const vE=MR("$ZodReadonly",(e,t)=>{fM.init(e,t),pI(e._zod,"propValues",()=>t.innerType._zod.propValues),pI(e._zod,"values",()=>t.innerType._zod.values),pI(e._zod,"optin",()=>t.innerType._zod.optin),pI(e._zod,"optout",()=>t.innerType._zod.optout),e._zod.parse=(e,r)=>{if("backward"===r.direction)return t.innerType._zod.run(e,r);const n=t.innerType._zod.run(e,r);return n instanceof Promise?n.then(xE):xE(n)}});function xE(e){return e.value=Object.freeze(e.value),e}const wE=MR("$ZodCustom",(e,t)=>{TI.init(e,t),fM.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=r=>{const n=r.value,o=t.fn(n);if(o instanceof Promise)return o.then(t=>_E(t,r,n,e));_E(o,r,n,e)}});function _E(e,t,r,n){if(!e){const e={code:"custom",input:r,inst:n,path:[...n._zod.def.path??[]],continue:!n._zod.def.abort};n._zod.def.params&&(e.params=n._zod.def.params),t.issues.push(EI(e))}}Symbol("ZodOutput"),Symbol("ZodInput");class CE{constructor(){this._map=new Map,this._idmap=new Map}add(e,...t){const r=t[0];if(this._map.set(e,r),r&&"object"==typeof r&&"id"in r){if(this._idmap.has(r.id))throw new Error(`ID ${r.id} already exists in the registry`);this._idmap.set(r.id,e)}return this}clear(){return this._map=new Map,this._idmap=new Map,this}remove(e){const t=this._map.get(e);return t&&"object"==typeof t&&"id"in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){const t=e._zod.parent;if(t){const r={...this.get(t)??{}};delete r.id;const n={...r,...this._map.get(e)};return Object.keys(n).length?n:void 0}return this._map.get(e)}has(e){return this._map.has(e)}}function kE(){return new CE}const SE=kE();function AE(e,t){return new e({type:"string",format:"guid",check:"string_format",abort:!1,...kI(t)})}function jE(e,t){return new e({type:"string",format:"url",check:"string_format",abort:!1,...kI(t)})}function RE(e,t){return new PI({check:"less_than",...kI(t),value:e,inclusive:!1})}function IE(e,t){return new PI({check:"less_than",...kI(t),value:e,inclusive:!0})}function ME(e,t){return new LI({check:"greater_than",...kI(t),value:e,inclusive:!1})}function EE(e,t){return new LI({check:"greater_than",...kI(t),value:e,inclusive:!0})}function TE(e,t){return new zI({check:"multiple_of",...kI(t),value:e})}function OE(e,t){return new FI({check:"max_length",...kI(t),maximum:e})}function PE(e,t){return new DI({check:"min_length",...kI(t),minimum:e})}function LE(e,t){return new BI({check:"length_equals",...kI(t),length:e})}function zE(e){return new GI({check:"overwrite",tx:e})}const NE=MR("ZodISODateTime",(e,t)=>{RM.init(e,t),iT.init(e,t)});const FE=MR("ZodISODate",(e,t)=>{IM.init(e,t),iT.init(e,t)});const DE=MR("ZodISOTime",(e,t)=>{MM.init(e,t),iT.init(e,t)});const BE=MR("ZodISODuration",(e,t)=>{EM.init(e,t),iT.init(e,t)});const $E=(e,t)=>{JI.init(e,t),e.name="ZodError",Object.defineProperties(e,{format:{value:t=>function(e,t){const r=t||function(e){return e.message},n={_errors:[]},o=e=>{for(const t of e.issues)if("invalid_union"===t.code&&t.errors.length)t.errors.map(e=>o({issues:e}));else if("invalid_key"===t.code)o({issues:t.issues});else if("invalid_element"===t.code)o({issues:t.issues});else if(0===t.path.length)n._errors.push(r(t));else{let e=n,o=0;for(;o<t.path.length;){const n=t.path[o];o===t.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(r(t))):e[n]=e[n]||{_errors:[]},e=e[n],o++}}};return o(e),n}(e,t)},flatten:{value:t=>function(e,t=e=>e.message){const r={},n=[];for(const o of e.issues)o.path.length>0?(r[o.path[0]]=r[o.path[0]]||[],r[o.path[0]].push(t(o))):n.push(t(o));return{formErrors:n,fieldErrors:r}}(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,sI,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,sI,2)}},isEmpty:{get:()=>0===e.issues.length}})},HE=(MR("ZodError",$E),MR("ZodError",$E,{Parent:Error})),WE=QI(HE),VE=eM(HE),qE=tM(HE),UE=nM(HE),ZE=iM(HE),GE=aM(HE),KE=sM(HE),XE=lM(HE),JE=cM(HE),YE=uM(HE),QE=dM(HE),eT=pM(HE),tT=MR("ZodType",(e,t)=>(fM.init(e,t),e.def=t,e.type=t.type,Object.defineProperty(e,"_def",{value:t}),e.check=(...r)=>e.clone({...t,checks:[...t.checks??[],...r.map(e=>"function"==typeof e?{_zod:{check:e,def:{check:"custom"},onattach:[]}}:e)]}),e.clone=(t,r)=>CI(e,t,r),e.brand=()=>e,e.register=(t,r)=>(t.add(e,r),e),e.parse=(t,r)=>WE(e,t,r,{callee:e.parse}),e.safeParse=(t,r)=>qE(e,t,r),e.parseAsync=async(t,r)=>VE(e,t,r,{callee:e.parseAsync}),e.safeParseAsync=async(t,r)=>UE(e,t,r),e.spa=e.safeParseAsync,e.encode=(t,r)=>ZE(e,t,r),e.decode=(t,r)=>GE(e,t,r),e.encodeAsync=async(t,r)=>KE(e,t,r),e.decodeAsync=async(t,r)=>XE(e,t,r),e.safeEncode=(t,r)=>JE(e,t,r),e.safeDecode=(t,r)=>YE(e,t,r),e.safeEncodeAsync=async(t,r)=>QE(e,t,r),e.safeDecodeAsync=async(t,r)=>eT(e,t,r),e.refine=(t,r)=>e.check(function(e,t={}){return function(e,t,r){return new e({type:"custom",check:"custom",fn:t,...kI(r)})}(tO,e,t)}(t,r)),e.superRefine=t=>e.check(function(e){const t=function(e){const t=new TI({check:"custom",...kI(void 0)});return t._zod.check=e,t}(r=>(r.addIssue=e=>{if("string"==typeof e)r.issues.push(EI(e,r.value,t._zod.def));else{const n=e;n.fatal&&(n.continue=!1),n.code??(n.code="custom"),n.input??(n.input=r.value),n.inst??(n.inst=t),n.continue??(n.continue=!t._zod.def.abort),r.issues.push(EI(n))}},e(r.value,r)));return t}(t)),e.overwrite=t=>e.check(zE(t)),e.optional=()=>qT(e),e.nullable=()=>ZT(e),e.nullish=()=>qT(ZT(e)),e.nonoptional=t=>function(e,t){return new XT({type:"nonoptional",innerType:e,...kI(t)})}(e,t),e.array=()=>LT(e),e.or=t=>DT([e,t]),e.and=t=>function(e,t){return new BT({type:"intersection",left:e,right:t})}(e,t),e.transform=t=>QT(e,new WT({type:"transform",transform:t})),e.default=t=>{return r=t,new GT({type:"default",innerType:e,get defaultValue(){return"function"==typeof r?r():xI(r)}});var r},e.prefault=t=>{return r=t,new KT({type:"prefault",innerType:e,get defaultValue(){return"function"==typeof r?r():xI(r)}});var r},e.catch=t=>{return new JT({type:"catch",innerType:e,catchValue:"function"==typeof(r=t)?r:()=>r});var r},e.pipe=t=>QT(e,t),e.readonly=()=>new eO({type:"readonly",innerType:e}),e.describe=t=>{const r=e.clone();return SE.add(r,{description:t}),r},Object.defineProperty(e,"description",{get:()=>SE.get(e)?.description,configurable:!0}),e.meta=(...t)=>{if(0===t.length)return SE.get(e);const r=e.clone();return SE.add(r,t[0]),r},e.isOptional=()=>e.safeParse(void 0).success,e.isNullable=()=>e.safeParse(null).success,e)),rT=MR("_ZodString",(e,t)=>{mM.init(e,t),tT.init(e,t);const r=e._zod.bag;e.format=r.format??null,e.minLength=r.minimum??null,e.maxLength=r.maximum??null,e.regex=(...t)=>e.check(function(e,t){return new HI({check:"string_format",format:"regex",...kI(t),pattern:e})}(...t)),e.includes=(...t)=>e.check(function(e,t){return new qI({check:"string_format",format:"includes",...kI(t),includes:e})}(...t)),e.startsWith=(...t)=>e.check(function(e,t){return new UI({check:"string_format",format:"starts_with",...kI(t),prefix:e})}(...t)),e.endsWith=(...t)=>e.check(function(e,t){return new ZI({check:"string_format",format:"ends_with",...kI(t),suffix:e})}(...t)),e.min=(...t)=>e.check(PE(...t)),e.max=(...t)=>e.check(OE(...t)),e.length=(...t)=>e.check(LE(...t)),e.nonempty=(...t)=>e.check(PE(1,...t)),e.lowercase=t=>e.check(function(e){return new WI({check:"string_format",format:"lowercase",...kI(e)})}(t)),e.uppercase=t=>e.check(function(e){return new VI({check:"string_format",format:"uppercase",...kI(e)})}(t)),e.trim=()=>e.check(zE(e=>e.trim())),e.normalize=(...t)=>e.check(function(e){return zE(t=>t.normalize(e))}(...t)),e.toLowerCase=()=>e.check(zE(e=>e.toLowerCase())),e.toUpperCase=()=>e.check(zE(e=>e.toUpperCase()))}),nT=MR("ZodString",(e,t)=>{mM.init(e,t),rT.init(e,t),e.email=t=>e.check(function(e,t){return new e({type:"string",format:"email",check:"string_format",abort:!1,...kI(t)})}(aT,t)),e.url=t=>e.check(jE(cT,t)),e.jwt=t=>e.check(function(e,t){return new e({type:"string",format:"jwt",check:"string_format",abort:!1,...kI(t)})}(ST,t)),e.emoji=t=>e.check(function(e,t){return new e({type:"string",format:"emoji",check:"string_format",abort:!1,...kI(t)})}(dT,t)),e.guid=t=>e.check(AE(sT,t)),e.uuid=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,...kI(t)})}(lT,t)),e.uuidv4=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v4",...kI(t)})}(lT,t)),e.uuidv6=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v6",...kI(t)})}(lT,t)),e.uuidv7=t=>e.check(function(e,t){return new e({type:"string",format:"uuid",check:"string_format",abort:!1,version:"v7",...kI(t)})}(lT,t)),e.nanoid=t=>e.check(function(e,t){return new e({type:"string",format:"nanoid",check:"string_format",abort:!1,...kI(t)})}(pT,t)),e.guid=t=>e.check(AE(sT,t)),e.cuid=t=>e.check(function(e,t){return new e({type:"string",format:"cuid",check:"string_format",abort:!1,...kI(t)})}(hT,t)),e.cuid2=t=>e.check(function(e,t){return new e({type:"string",format:"cuid2",check:"string_format",abort:!1,...kI(t)})}(fT,t)),e.ulid=t=>e.check(function(e,t){return new e({type:"string",format:"ulid",check:"string_format",abort:!1,...kI(t)})}(mT,t)),e.base64=t=>e.check(function(e,t){return new e({type:"string",format:"base64",check:"string_format",abort:!1,...kI(t)})}(_T,t)),e.base64url=t=>e.check(function(e,t){return new e({type:"string",format:"base64url",check:"string_format",abort:!1,...kI(t)})}(CT,t)),e.xid=t=>e.check(function(e,t){return new e({type:"string",format:"xid",check:"string_format",abort:!1,...kI(t)})}(gT,t)),e.ksuid=t=>e.check(function(e,t){return new e({type:"string",format:"ksuid",check:"string_format",abort:!1,...kI(t)})}(bT,t)),e.ipv4=t=>e.check(function(e,t){return new e({type:"string",format:"ipv4",check:"string_format",abort:!1,...kI(t)})}(yT,t)),e.ipv6=t=>e.check(function(e,t){return new e({type:"string",format:"ipv6",check:"string_format",abort:!1,...kI(t)})}(vT,t)),e.cidrv4=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv4",check:"string_format",abort:!1,...kI(t)})}(xT,t)),e.cidrv6=t=>e.check(function(e,t){return new e({type:"string",format:"cidrv6",check:"string_format",abort:!1,...kI(t)})}(wT,t)),e.e164=t=>e.check(function(e,t){return new e({type:"string",format:"e164",check:"string_format",abort:!1,...kI(t)})}(kT,t)),e.datetime=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"datetime",check:"string_format",offset:!1,local:!1,precision:null,...kI(t)})}(NE,e)}(t)),e.date=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"date",check:"string_format",...kI(t)})}(FE,e)}(t)),e.time=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"time",check:"string_format",precision:null,...kI(t)})}(DE,e)}(t)),e.duration=t=>e.check(function(e){return function(e,t){return new e({type:"string",format:"duration",check:"string_format",...kI(t)})}(BE,e)}(t))});function oT(e){return function(e,t){return new e({type:"string",...kI(t)})}(nT,e)}const iT=MR("ZodStringFormat",(e,t)=>{gM.init(e,t),rT.init(e,t)}),aT=MR("ZodEmail",(e,t)=>{vM.init(e,t),iT.init(e,t)}),sT=MR("ZodGUID",(e,t)=>{bM.init(e,t),iT.init(e,t)}),lT=MR("ZodUUID",(e,t)=>{yM.init(e,t),iT.init(e,t)}),cT=MR("ZodURL",(e,t)=>{xM.init(e,t),iT.init(e,t)});function uT(e){return jE(cT,e)}const dT=MR("ZodEmoji",(e,t)=>{wM.init(e,t),iT.init(e,t)}),pT=MR("ZodNanoID",(e,t)=>{_M.init(e,t),iT.init(e,t)}),hT=MR("ZodCUID",(e,t)=>{CM.init(e,t),iT.init(e,t)}),fT=MR("ZodCUID2",(e,t)=>{kM.init(e,t),iT.init(e,t)}),mT=MR("ZodULID",(e,t)=>{SM.init(e,t),iT.init(e,t)}),gT=MR("ZodXID",(e,t)=>{AM.init(e,t),iT.init(e,t)}),bT=MR("ZodKSUID",(e,t)=>{jM.init(e,t),iT.init(e,t)}),yT=MR("ZodIPv4",(e,t)=>{TM.init(e,t),iT.init(e,t)}),vT=MR("ZodIPv6",(e,t)=>{OM.init(e,t),iT.init(e,t)}),xT=MR("ZodCIDRv4",(e,t)=>{PM.init(e,t),iT.init(e,t)}),wT=MR("ZodCIDRv6",(e,t)=>{LM.init(e,t),iT.init(e,t)}),_T=MR("ZodBase64",(e,t)=>{NM.init(e,t),iT.init(e,t)}),CT=MR("ZodBase64URL",(e,t)=>{FM.init(e,t),iT.init(e,t)}),kT=MR("ZodE164",(e,t)=>{DM.init(e,t),iT.init(e,t)}),ST=MR("ZodJWT",(e,t)=>{BM.init(e,t),iT.init(e,t)}),AT=MR("ZodNumber",(e,t)=>{$M.init(e,t),tT.init(e,t),e.gt=(t,r)=>e.check(ME(t,r)),e.gte=(t,r)=>e.check(EE(t,r)),e.min=(t,r)=>e.check(EE(t,r)),e.lt=(t,r)=>e.check(RE(t,r)),e.lte=(t,r)=>e.check(IE(t,r)),e.max=(t,r)=>e.check(IE(t,r)),e.int=t=>e.check(IT(t)),e.safe=t=>e.check(IT(t)),e.positive=t=>e.check(ME(0,t)),e.nonnegative=t=>e.check(EE(0,t)),e.negative=t=>e.check(RE(0,t)),e.nonpositive=t=>e.check(IE(0,t)),e.multipleOf=(t,r)=>e.check(TE(t,r)),e.step=(t,r)=>e.check(TE(t,r)),e.finite=()=>e;const r=e._zod.bag;e.minValue=Math.max(r.minimum??Number.NEGATIVE_INFINITY,r.exclusiveMinimum??Number.NEGATIVE_INFINITY)??null,e.maxValue=Math.min(r.maximum??Number.POSITIVE_INFINITY,r.exclusiveMaximum??Number.POSITIVE_INFINITY)??null,e.isInt=(r.format??"").includes("int")||Number.isSafeInteger(r.multipleOf??.5),e.isFinite=!0,e.format=r.format??null});function jT(e){return function(e,t){return new e({type:"number",checks:[],...kI(t)})}(AT,e)}const RT=MR("ZodNumberFormat",(e,t)=>{HM.init(e,t),AT.init(e,t)});function IT(e){return function(e,t){return new e({type:"number",check:"number_format",abort:!1,format:"safeint",...kI(t)})}(RT,e)}const MT=MR("ZodBoolean",(e,t)=>{WM.init(e,t),tT.init(e,t)});const ET=MR("ZodUnknown",(e,t)=>{VM.init(e,t),tT.init(e,t)});function TT(){return new ET({type:"unknown"})}const OT=MR("ZodNever",(e,t)=>{qM.init(e,t),tT.init(e,t)});const PT=MR("ZodArray",(e,t)=>{ZM.init(e,t),tT.init(e,t),e.element=t.element,e.min=(t,r)=>e.check(PE(t,r)),e.nonempty=t=>e.check(PE(1,t)),e.max=(t,r)=>e.check(OE(t,r)),e.length=(t,r)=>e.check(LE(t,r)),e.unwrap=()=>e.element});function LT(e,t){return function(e,t,r){return new e({type:"array",element:t,...kI(r)})}(PT,e,t)}const zT=MR("ZodObject",(e,t)=>{YM.init(e,t),tT.init(e,t),pI(e,"shape",()=>t.shape),e.keyof=()=>function(e,t){const r=Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e;return new HT({type:"enum",entries:r,...kI(t)})}(Object.keys(e._zod.def.shape)),e.catchall=t=>e.clone({...e._zod.def,catchall:t}),e.passthrough=()=>e.clone({...e._zod.def,catchall:TT()}),e.loose=()=>e.clone({...e._zod.def,catchall:TT()}),e.strict=()=>{return e.clone({...e._zod.def,catchall:function(e,t){return new e({type:"never",...kI(t)})}(OT,t)});var t},e.strip=()=>e.clone({...e._zod.def,catchall:void 0}),e.extend=t=>function(e,t){if(!vI(t))throw new Error("Invalid input to extend: expected a plain object");const r=e._zod.def.checks;if(r&&r.length>0)throw new Error("Object schemas containing refinements cannot be extended. Use `.safeExtend()` instead.");const n=fI(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t};return hI(this,"shape",r),r},checks:[]});return CI(e,n)}(e,t),e.safeExtend=t=>function(e,t){if(!vI(t))throw new Error("Invalid input to safeExtend: expected a plain object");const r={...e._zod.def,get shape(){const r={...e._zod.def.shape,...t};return hI(this,"shape",r),r},checks:e._zod.def.checks};return CI(e,r)}(e,t),e.merge=t=>function(e,t){const r=fI(e._zod.def,{get shape(){const r={...e._zod.def.shape,...t._zod.def.shape};return hI(this,"shape",r),r},get catchall(){return t._zod.def.catchall},checks:[]});return CI(e,r)}(e,t),e.pick=t=>function(e,t){const r=e._zod.def;return CI(e,fI(e._zod.def,{get shape(){const e={};for(const n in t){if(!(n in r.shape))throw new Error(`Unrecognized key: "${n}"`);t[n]&&(e[n]=r.shape[n])}return hI(this,"shape",e),e},checks:[]}))}(e,t),e.omit=t=>function(e,t){const r=e._zod.def,n=fI(e._zod.def,{get shape(){const n={...e._zod.def.shape};for(const e in t){if(!(e in r.shape))throw new Error(`Unrecognized key: "${e}"`);t[e]&&delete n[e]}return hI(this,"shape",n),n},checks:[]});return CI(e,n)}(e,t),e.partial=(...t)=>function(e,t,r){const n=fI(t._zod.def,{get shape(){const n=t._zod.def.shape,o={...n};if(r)for(const t in r){if(!(t in n))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(o[t]=e?new e({type:"optional",innerType:n[t]}):n[t])}else for(const t in n)o[t]=e?new e({type:"optional",innerType:n[t]}):n[t];return hI(this,"shape",o),o},checks:[]});return CI(t,n)}(VT,e,t[0]),e.required=(...t)=>function(e,t,r){const n=fI(t._zod.def,{get shape(){const n=t._zod.def.shape,o={...n};if(r)for(const t in r){if(!(t in o))throw new Error(`Unrecognized key: "${t}"`);r[t]&&(o[t]=new e({type:"nonoptional",innerType:n[t]}))}else for(const t in n)o[t]=new e({type:"nonoptional",innerType:n[t]});return hI(this,"shape",o),o},checks:[]});return CI(t,n)}(XT,e,t[0])});function NT(e,t){const r={type:"object",get shape(){var t;return hI(this,"shape",e?(t=e,Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t))):{}),this.shape},...kI(t)};return new zT(r)}const FT=MR("ZodUnion",(e,t)=>{eE.init(e,t),tT.init(e,t),e.options=t.options});function DT(e,t){return new FT({type:"union",options:e,...kI(t)})}const BT=MR("ZodIntersection",(e,t)=>{tE.init(e,t),tT.init(e,t)}),$T=MR("ZodTuple",(e,t)=>{oE.init(e,t),tT.init(e,t),e.rest=t=>e.clone({...e._zod.def,rest:t})});const HT=MR("ZodEnum",(e,t)=>{aE.init(e,t),tT.init(e,t),e.enum=t.entries,e.options=Object.values(t.entries);const r=new Set(Object.keys(t.entries));e.extract=(e,n)=>{const o={};for(const n of e){if(!r.has(n))throw new Error(`Key ${n} not found in enum`);o[n]=t.entries[n]}return new HT({...t,checks:[],...kI(n),entries:o})},e.exclude=(e,n)=>{const o={...t.entries};for(const t of e){if(!r.has(t))throw new Error(`Key ${t} not found in enum`);delete o[t]}return new HT({...t,checks:[],...kI(n),entries:o})}});const WT=MR("ZodTransform",(e,t)=>{sE.init(e,t),tT.init(e,t),e._zod.parse=(r,n)=>{if("backward"===n.direction)throw new TR(e.constructor.name);r.addIssue=n=>{if("string"==typeof n)r.issues.push(EI(n,r.value,t));else{const t=n;t.fatal&&(t.continue=!1),t.code??(t.code="custom"),t.input??(t.input=r.value),t.inst??(t.inst=e),r.issues.push(EI(t))}};const o=t.transform(r.value,r);return o instanceof Promise?o.then(e=>(r.value=e,r)):(r.value=o,r)}});const VT=MR("ZodOptional",(e,t)=>{cE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType});function qT(e){return new VT({type:"optional",innerType:e})}const UT=MR("ZodNullable",(e,t)=>{uE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType});function ZT(e){return new UT({type:"nullable",innerType:e})}const GT=MR("ZodDefault",(e,t)=>{dE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap}),KT=MR("ZodPrefault",(e,t)=>{hE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType}),XT=MR("ZodNonOptional",(e,t)=>{fE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType}),JT=MR("ZodCatch",(e,t)=>{gE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap}),YT=MR("ZodPipe",(e,t)=>{bE.init(e,t),tT.init(e,t),e.in=t.in,e.out=t.out});function QT(e,t){return new YT({type:"pipe",in:e,out:t})}const eO=MR("ZodReadonly",(e,t)=>{vE.init(e,t),tT.init(e,t),e.unwrap=()=>e._zod.def.innerType}),tO=MR("ZodCustom",(e,t)=>{wE.init(e,t),tT.init(e,t)}),rO=NT({wpRestNonce:oT(),dashboardUrl:uT(),scannerUrl:uT(),initialScanResult:DT([NT({url:oT().url(),counts:NT({issuesResolved:jT().int(),manual:jT().int(),pass:jT().int(),potentialRecommendation:jT().int(),potentialViolation:jT().int(),recommendation:jT().int(),violation:jT().int()})}),function(e,t,r){const n=t instanceof fM;return new $T({type:"tuple",items:e,rest:n?t:null,...kI(n?r:t)})}([])]),pageData:NT({entry_id:oT(),object_id:IT(),object_type:oT(),object_type_name:oT(),title:oT(),unregistered:function(e,t){return new e({type:"boolean",...kI(t)})}(MT,aO),url:uT()}),dismissedHeadingIssues:LT(oT()),isConnected:oT(),isRTL:oT()}),nO=()=>{const e=rO.safeParse(window.ea11yScannerData);return e.success||console.warn("Ea11y scanner: Validation error of `window.ea11yScannerData`",e.error.issues),window.ea11yScannerData||(window.ea11yScannerData={}),window.ea11yScannerData.dismissedHeadingIssues||(window.ea11yScannerData.dismissedHeadingIssues=[]),window.ea11yScannerData.pageData||(window.ea11yScannerData.pageData={}),window.ea11yScannerData},oO=(0,Vn.createContext)({}),iO=({children:e})=>{const t=(0,Vn.useState)(!0),r=(0,Vn.useState)(""),n=(0,Vn.useState)([]),o=(0,Vn.useState)({}),i=(0,Vn.useState)(null);return(0,Nt.jsx)(oO.Provider,{value:{loadingState:t,errorState:r,pageHeadingsState:n,pageHeadingValidationStatsState:o,expandedKeyState:i},children:e})};var aO;iO.propTypes={children:IR().node};const sO=()=>{const{loadingState:e,errorState:t,pageHeadingsState:r,pageHeadingValidationStatsState:n,expandedKeyState:o}=(0,Vn.useContext)(oO),{currentScanId:i}=QS(),{dismissedHeadingIssues:a,pageData:s}=nO(),[l,c]=e,[u,d]=t,[p,h]=r,[f,m]=n,[g,b]=o;return{isLoading:l,error:u,pageHeadings:p,validationStats:f,setPageHeadings:h,expandedKey:g,updateHeadingsTree:()=>{const e=WS(MS(),a);h(e),m(qS(e)),c(!1)},onHeadingWarningDismiss:async({node:e})=>{c(!0),d("");try{const t=TS(e);if(!e)throw new TypeError;return await oo.dismissHeadingIssue({pageId:s.object_id,xpath:t}),window.ea11yScannerData.dismissedHeadingIssues.push(t),await oo.resolveIssue(i),!0}catch(e){return console.error("onHeadingWarningDismiss(): ",e),d((0,tS.__)("An error occurred.","pojo-accessibility")),!1}},onHeadingLevelUpdate:async({node:e,newLevel:t,violation:r})=>{c(!0),d("");try{const n=TS(e);if(!e||!s.url||!t)throw new TypeError;return await oo.setHeadingLevel({url:s.url,level:t,xpath:n,rule:r}),await oo.resolveIssue(i),c(!1),!0}catch(e){return console.error("onHeadingLevelUpdate(): ",e),d((0,tS.__)("An error occurred.","pojo-accessibility")),c(!1),!1}},isHeadingExpanded:e=>LS(e)===g,toggleHeading:e=>{const t=LS(e);b(e=>e===t?null:t)},collapseHeading:()=>{b(null)}}};var lO=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.75C7.44365 3.75 3.75 7.44365 3.75 12C3.75 16.5563 7.44365 20.25 12 20.25C16.5563 20.25 20.25 16.5563 20.25 12C20.25 7.44365 16.5563 3.75 12 3.75ZM2.25 12C2.25 6.61522 6.61522 2.25 12 2.25C17.3848 2.25 21.75 6.61522 21.75 12C21.75 17.3848 17.3848 21.75 12 21.75C6.61522 21.75 2.25 17.3848 2.25 12ZM12 7.25C12.4142 7.25 12.75 7.58579 12.75 8V12C12.75 12.4142 12.4142 12.75 12 12.75C11.5858 12.75 11.25 12.4142 11.25 12V8C11.25 7.58579 11.5858 7.25 12 7.25ZM11.25 16C11.25 15.5858 11.5858 15.25 12 15.25H12.01C12.4242 15.25 12.76 15.5858 12.76 16C12.76 16.4142 12.4242 16.75 12.01 16.75H12C11.5858 16.75 11.25 16.4142 11.25 16Z"}))),cO=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.9932 3C11.5018 3 11.0194 3.13134 10.596 3.38038C10.175 3.62805 9.82781 3.98314 9.59 4.40906L2.4909 16.6309C2.47341 16.661 2.45804 16.6923 2.44491 16.7246C2.27977 17.1303 2.21428 17.5695 2.25392 18.0056C2.29356 18.4416 2.43717 18.8619 2.67276 19.2313C2.90835 19.6008 3.22909 19.9086 3.6082 20.1291C3.98731 20.3496 4.41379 20.4764 4.85202 20.499C4.88374 20.5006 4.9151 20.5003 4.94598 20.498C4.96405 20.4993 4.98229 20.5 5.00069 20.5H19.0057L19.011 20.5C19.4598 20.4968 19.9011 20.3841 20.2962 20.1718C20.6914 19.9594 21.0285 19.6537 21.2781 19.2815C21.5277 18.9093 21.6822 18.4818 21.7282 18.0362C21.7742 17.5907 21.7102 17.1408 21.5419 16.7256C21.5287 16.693 21.5132 16.6613 21.4955 16.6309L14.3964 4.40904C14.1586 3.98312 13.8114 3.62805 13.3904 3.38038C12.9671 3.13134 12.4846 3 11.9932 3ZM12.7538 8.76945C12.7538 8.35599 12.4179 8.02081 12.0035 8.02081C11.5891 8.02081 11.2532 8.35599 11.2532 8.76945V12.7658C11.2532 13.1793 11.5891 13.5145 12.0035 13.5145C12.4179 13.5145 12.7538 13.1793 12.7538 12.7658V8.76945ZM12.7538 15.7586C12.7538 15.3451 12.4179 15.0099 12.0035 15.0099C11.5891 15.0099 11.2532 15.3451 11.2532 15.7586V15.7686C11.2532 16.182 11.5891 16.5172 12.0035 16.5172C12.4179 16.5172 12.7538 16.182 12.7538 15.7686V15.7586Z"}))),uO=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C10.7196 2.25 9.45176 2.50219 8.26884 2.99217C7.08591 3.48216 6.01108 4.20034 5.10571 5.10571C4.20034 6.01108 3.48216 7.08591 2.99217 8.26884C2.50219 9.45176 2.25 10.7196 2.25 12C2.25 13.2804 2.50219 14.5482 2.99217 15.7312C3.48216 16.9141 4.20034 17.9889 5.10571 18.8943C6.01108 19.7997 7.08591 20.5178 8.26884 21.0078C9.45176 21.4978 10.7196 21.75 12 21.75C13.2804 21.75 14.5482 21.4978 15.7312 21.0078C16.9141 20.5178 17.9889 19.7997 18.8943 18.8943C19.7997 17.9889 20.5178 16.9141 21.0078 15.7312C21.4978 14.5482 21.75 13.2804 21.75 12C21.75 10.7196 21.4978 9.45176 21.0078 8.26884C20.5178 7.08591 19.7997 6.01108 18.8943 5.10571C17.9889 4.20034 16.9141 3.48216 15.7312 2.99217C14.5482 2.50219 13.2804 2.25 12 2.25ZM16.2415 10.0563C16.5344 9.76339 16.5344 9.28852 16.2415 8.99563C15.9486 8.70273 15.4737 8.70273 15.1809 8.99563L10.7631 13.4134L8.81939 11.4697C8.5265 11.1768 8.05163 11.1768 7.75873 11.4697C7.46584 11.7626 7.46584 12.2374 7.75873 12.5303L10.2328 15.0044C10.3734 15.145 10.5642 15.224 10.7631 15.224C10.962 15.224 11.1528 15.145 11.2934 15.0044L16.2415 10.0563Z"})));function dO(e){return ho("MuiDivider",e)}const pO=fo("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]),hO=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],fO=jo("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(({theme:e,ownerState:t})=>(0,Se.A)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(e.vars||e).palette.divider,borderBottomWidth:"thin"},t.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},t.light&&{borderColor:e.vars?`rgba(${e.vars.palette.dividerChannel} / 0.08)`:(0,Oe.X4)(e.palette.divider,.08)},"inset"===t.variant&&{marginLeft:72},"middle"===t.variant&&"horizontal"===t.orientation&&{marginLeft:e.spacing(2),marginRight:e.spacing(2)},"middle"===t.variant&&"vertical"===t.orientation&&{marginTop:e.spacing(1),marginBottom:e.spacing(1)},"vertical"===t.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},t.flexItem&&{alignSelf:"stretch",height:"auto"}),({ownerState:e})=>(0,Se.A)({},e.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,"&::before, &::after":{content:'""',alignSelf:"center"}}),({theme:e,ownerState:t})=>(0,Se.A)({},t.children&&"vertical"!==t.orientation&&{"&::before, &::after":{width:"100%",borderTop:`thin solid ${(e.vars||e).palette.divider}`}}),({theme:e,ownerState:t})=>(0,Se.A)({},t.children&&"vertical"===t.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:`thin solid ${(e.vars||e).palette.divider}`}}),({ownerState:e})=>(0,Se.A)({},"right"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===e.textAlign&&"vertical"!==e.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})),mO=jo("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(({theme:e,ownerState:t})=>(0,Se.A)({display:"inline-block",paddingLeft:`calc(${e.spacing(1)} * 1.2)`,paddingRight:`calc(${e.spacing(1)} * 1.2)`},"vertical"===t.orientation&&{paddingTop:`calc(${e.spacing(1)} * 1.2)`,paddingBottom:`calc(${e.spacing(1)} * 1.2)`})),gO=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiDivider"}),{absolute:n=!1,children:o,className:i,component:a=(o?"div":"hr"),flexItem:s=!1,light:l=!1,orientation:c="horizontal",role:u=("hr"!==a?"separator":void 0),textAlign:d="center",variant:p="fullWidth"}=r,h=(0,Ae.A)(r,hO),f=(0,Se.A)({},r,{absolute:n,component:a,flexItem:s,light:l,orientation:c,role:u,textAlign:d,variant:p}),m=(e=>{const{absolute:t,children:r,classes:n,flexItem:o,light:i,orientation:a,textAlign:s,variant:l}=e;return _o({root:["root",t&&"absolute",l,i&&"light","vertical"===a&&"vertical",o&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},dO,n)})(f);return(0,Nt.jsx)(fO,(0,Se.A)({as:a,className:ao(m.root,i),role:u,ref:t,ownerState:f},h,{children:o?(0,Nt.jsx)(mO,{className:m.wrapper,ownerState:f,children:o}):null}))});gO.muiSkipListHighlight=!0;const bO=gO;var yO=t().forwardRef((e,r)=>t().createElement(bO,{...e,ref:r}));const vO=e.createContext(void 0);function xO(){return e.useContext(vO)}const wO=["ownerState"],_O=["variants"],CO=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function kO(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function SO(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}const AO=(0,Ee.A)(),jO=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function RO({defaultTheme:e,theme:t,themeId:r}){return n=t,0===Object.keys(n).length?e:t[r]||t;var n}function IO(e){return e?(t,r)=>r[e]:null}function MO(e,t,r){let{ownerState:n}=t,o=(0,Ae.A)(t,wO);const i="function"==typeof e?e((0,Se.A)({ownerState:n},o)):e;if(Array.isArray(i))return i.flatMap(e=>MO(e,(0,Se.A)({ownerState:n},o),r));if(i&&"object"==typeof i&&Array.isArray(i.variants)){const{variants:e=[]}=i;let t=(0,Ae.A)(i,_O);return e.forEach(e=>{let i=!0;if("function"==typeof e.props?i=e.props((0,Se.A)({ownerState:n},o,n)):Object.keys(e.props).forEach(t=>{(null==n?void 0:n[t])!==e.props[t]&&o[t]!==e.props[t]&&(i=!1)}),i){Array.isArray(t)||(t=[t]);const i="function"==typeof e.style?e.style((0,Se.A)({ownerState:n},o,n)):e.style;t.push(r?SO((0,Jt.internal_serializeStyles)(i),r):i)}}),t}return r?SO((0,Jt.internal_serializeStyles)(i),r):i}const EO=function(e={}){const{themeId:t,defaultTheme:r=AO,rootShouldForwardProp:n=kO,slotShouldForwardProp:o=kO}=e,i=e=>(0,Me.A)((0,Se.A)({},e,{theme:RO((0,Se.A)({},e,{defaultTheme:r,themeId:t}))}));return i.__mui_systemSx=!0,(e,a={})=>{(0,Jt.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));const{name:s,slot:l,skipVariantsResolver:c,skipSx:u,overridesResolver:d=IO(jO(l))}=a,p=(0,Ae.A)(a,CO),h=s&&s.startsWith("Mui")||l?"components":"custom",f=void 0!==c?c:l&&"Root"!==l&&"root"!==l||!1,m=u||!1;let g=kO;"Root"===l||"root"===l?g=n:l?g=o:function(e){return"string"==typeof e&&e.charCodeAt(0)>96}(e)&&(g=void 0);const b=(0,Jt.default)(e,(0,Se.A)({shouldForwardProp:g,label:void 0},p)),y=e=>"function"==typeof e&&e.__emotion_real!==e||(0,Re.Q)(e)?n=>{const o=RO({theme:n.theme,defaultTheme:r,themeId:t});return MO(e,(0,Se.A)({},n,{theme:o}),o.modularCssLayers?h:void 0)}:e,v=(n,...o)=>{let a=y(n);const l=o?o.map(y):[];s&&d&&l.push(e=>{const n=RO((0,Se.A)({},e,{defaultTheme:r,themeId:t}));if(!n.components||!n.components[s]||!n.components[s].styleOverrides)return null;const o=n.components[s].styleOverrides,i={};return Object.entries(o).forEach(([t,r])=>{i[t]=MO(r,(0,Se.A)({},e,{theme:n}),n.modularCssLayers?"theme":void 0)}),d(e,i)}),s&&!f&&l.push(e=>{var n;const o=RO((0,Se.A)({},e,{defaultTheme:r,themeId:t}));return MO({variants:null==o||null==(n=o.components)||null==(n=n[s])?void 0:n.variants},(0,Se.A)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),m||l.push(i);const c=l.length-o.length;if(Array.isArray(n)&&c>0){const e=new Array(c).fill("");a=[...n,...e],a.raw=[...n.raw,...e]}const u=b(a,...l);return e.muiName&&(u.muiName=e.muiName),u};return b.withConfig&&(v.withConfig=b.withConfig),v}}(),TO=EO;var OO=r(435),PO=r(1069);const LO=["component","direction","spacing","divider","children","className","useFlexGap"],zO=(0,Ee.A)(),NO=TO("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function FO(e){return Ro({props:e,name:"MuiStack",defaultTheme:zO})}function DO(t,r){const n=e.Children.toArray(t).filter(Boolean);return n.reduce((t,o,i)=>(t.push(o),i<n.length-1&&t.push(e.cloneElement(r,{key:`separator-${i}`})),t),[])}const BO=({ownerState:e,theme:t})=>{let r=(0,Se.A)({display:"flex",flexDirection:"column"},(0,OO.NI)({theme:t},(0,OO.kW)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){const n=(0,PO.LX)(t),o=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,OO.kW)({values:e.direction,base:o}),a=(0,OO.kW)({values:e.spacing,base:o});"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{if(!i[e]){const n=t>0?i[r[t-1]]:"column";i[e]=n}});const s=(t,r)=>{return e.useFlexGap?{gap:(0,PO._W)(n,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${o=r?i[r]:e.direction,{row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"}[o]}`]:(0,PO._W)(n,t)}};var o};r=(0,Re.A)(r,(0,OO.NI)({theme:t},a,s))}return r=(0,OO.iZ)(t.breakpoints,r),r},$O=function(t={}){const{createStyledComponent:r=NO,useThemeProps:n=FO,componentName:o="MuiStack"}=t,i=r(BO),a=e.forwardRef(function(e,t){const r=n(e),a=(0,so.A)(r),{component:s="div",direction:l="column",spacing:c=0,divider:u,children:d,className:p,useFlexGap:h=!1}=a,f=(0,Ae.A)(a,LO),m={direction:l,spacing:c,useFlexGap:h},g=_o({root:["root"]},e=>ho(o,e),{});return(0,Nt.jsx)(i,(0,Se.A)({as:s,ownerState:m,ref:t,className:ao(g.root,p)},f,{children:u?DO(d,u):d}))});return a}({createStyledComponent:jo("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>Io({props:e,name:"MuiStack"})}),HO=$O;function WO(e){return ho("MuiFormControlLabel",e)}const VO=fo("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);function qO({props:e,states:t,muiFormControl:r}){return t.reduce((t,n)=>(t[n]=e[n],r&&void 0===e[n]&&(t[n]=r[n]),t),{})}const UO=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],ZO=jo("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${VO.label}`]:t.label},t.root,t[`labelPlacement${wi(r.labelPlacement)}`]]}})(({theme:e,ownerState:t})=>(0,Se.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,[`&.${VO.disabled}`]:{cursor:"default"}},"start"===t.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===t.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===t.labelPlacement&&{flexDirection:"column",marginLeft:16},{[`& .${VO.label}`]:{[`&.${VO.disabled}`]:{color:(e.vars||e).palette.text.disabled}}})),GO=jo("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${VO.error}`]:{color:(e.vars||e).palette.error.main}})),KO=e.forwardRef(function(t,r){var n,o;const i=Io({props:t,name:"MuiFormControlLabel"}),{className:a,componentsProps:s={},control:l,disabled:c,disableTypography:u,label:d,labelPlacement:p="end",required:h,slotProps:f={}}=i,m=(0,Ae.A)(i,UO),g=xO(),b=null!=(n=null!=c?c:l.props.disabled)?n:null==g?void 0:g.disabled,y=null!=h?h:l.props.required,v={disabled:b,required:y};["checked","name","onChange","value","inputRef"].forEach(e=>{void 0===l.props[e]&&void 0!==i[e]&&(v[e]=i[e])});const x=qO({props:i,muiFormControl:g,states:["error"]}),w=(0,Se.A)({},i,{disabled:b,labelPlacement:p,required:y,error:x.error}),_=(e=>{const{classes:t,disabled:r,labelPlacement:n,error:o,required:i}=e;return _o({root:["root",r&&"disabled",`labelPlacement${wi(n)}`,o&&"error",i&&"required"],label:["label",r&&"disabled"],asterisk:["asterisk",o&&"error"]},WO,t)})(w),C=null!=(o=f.typography)?o:s.typography;let k=d;return null==k||k.type===Xw||u||(k=(0,Nt.jsx)(Xw,(0,Se.A)({component:"span"},C,{className:ao(_.label,null==C?void 0:C.className),children:k}))),(0,Nt.jsxs)(ZO,(0,Se.A)({className:ao(_.root,a),ownerState:w,ref:r},m,{children:[e.cloneElement(l,v),y?(0,Nt.jsxs)(HO,{display:"block",children:[k,(0,Nt.jsxs)(GO,{ownerState:w,"aria-hidden":!0,className:_.asterisk,children:[" ","*"]})]}):k]}))});var XO=t().forwardRef((e,r)=>t().createElement(KO,{...e,ref:r}));function JO(e){return ho("MuiList",e)}fo("MuiList",["root","padding","dense","subheader"]);const YO=["children","className","component","dense","disablePadding","subheader"],QO=jo("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})(({ownerState:e})=>(0,Se.A)({listStyle:"none",margin:0,padding:0,position:"relative"},!e.disablePadding&&{paddingTop:8,paddingBottom:8},e.subheader&&{paddingTop:0})),eP=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiList"}),{children:o,className:i,component:a="ul",dense:s=!1,disablePadding:l=!1,subheader:c}=n,u=(0,Ae.A)(n,YO),d=e.useMemo(()=>({dense:s}),[s]),p=(0,Se.A)({},n,{component:a,dense:s,disablePadding:l}),h=(e=>{const{classes:t,disablePadding:r,dense:n,subheader:o}=e;return _o({root:["root",!r&&"padding",n&&"dense",o&&"subheader"]},JO,t)})(p);return(0,Nt.jsx)(cC.Provider,{value:d,children:(0,Nt.jsxs)(QO,(0,Se.A)({as:a,className:ao(h.root,i),ref:r,ownerState:p},u,{children:[c,o]}))})}),tP=eP,rP=["actions","autoFocus","autoFocusItem","children","className","disabledItemsFocusable","disableListWrap","onKeyDown","variant"];function nP(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function oP(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function iP(e,t){if(void 0===t)return!0;let r=e.innerText;return void 0===r&&(r=e.textContent),r=r.trim().toLowerCase(),0!==r.length&&(t.repeating?r[0]===t.keys[0]:0===r.indexOf(t.keys.join("")))}function aP(e,t,r,n,o,i){let a=!1,s=o(e,t,!!t&&r);for(;s;){if(s===e.firstChild){if(a)return!1;a=!0}const t=!n&&(s.disabled||"true"===s.getAttribute("aria-disabled"));if(s.hasAttribute("tabindex")&&iP(s,i)&&!t)return s.focus(),!0;s=o(e,s,r)}return!1}const sP=e.forwardRef(function(t,r){const{actions:n,autoFocus:o=!1,autoFocusItem:i=!1,children:a,className:s,disabledItemsFocusable:l=!1,disableListWrap:c=!1,onKeyDown:u,variant:d="selectedMenu"}=t,p=(0,Ae.A)(t,rP),h=e.useRef(null),f=e.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});XC(()=>{o&&h.current.focus()},[o]),e.useImperativeHandle(n,()=>({adjustStyleForScrollbar:(e,{direction:t})=>{const r=!h.current.style.width;if(e.clientHeight<h.current.clientHeight&&r){const r=`${function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(dk(e))}px`;h.current.style["rtl"===t?"paddingLeft":"paddingRight"]=r,h.current.style.width=`calc(100% + ${r})`}return h.current}}),[]);const m=Eo(h,r);let g=-1;e.Children.forEach(a,(t,r)=>{e.isValidElement(t)?(t.props.disabled||("selectedMenu"===d&&t.props.selected||-1===g)&&(g=r),g===r&&(t.props.disabled||t.props.muiSkipListHighlight||t.type.muiSkipListHighlight)&&(g+=1,g>=a.length&&(g=-1))):g===r&&(g+=1,g>=a.length&&(g=-1))});const b=e.Children.map(a,(t,r)=>{if(r===g){const r={};return i&&(r.autoFocus=!0),void 0===t.props.tabIndex&&"selectedMenu"===d&&(r.tabIndex=0),e.cloneElement(t,r)}return t});return(0,Nt.jsx)(tP,(0,Se.A)({role:"menu",ref:m,className:s,onKeyDown:e=>{const t=h.current,r=e.key,n=dk(t).activeElement;if("ArrowDown"===r)e.preventDefault(),aP(t,n,c,l,nP);else if("ArrowUp"===r)e.preventDefault(),aP(t,n,c,l,oP);else if("Home"===r)e.preventDefault(),aP(t,null,c,l,nP);else if("End"===r)e.preventDefault(),aP(t,null,c,l,oP);else if(1===r.length){const o=f.current,i=r.toLowerCase(),a=performance.now();o.keys.length>0&&(a-o.lastTime>500?(o.keys=[],o.repeating=!0,o.previousKeyMatched=!0):o.repeating&&i!==o.keys[0]&&(o.repeating=!1)),o.lastTime=a,o.keys.push(i);const s=n&&!o.repeating&&iP(n,o);o.previousKeyMatched&&(s||aP(t,n,!1,l,nP,o))?e.preventDefault():o.previousKeyMatched=!1}u&&u(e)},tabIndex:o?0:-1},p,{children:b}))}),lP=sP;function cP(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}function uP(e){return is(e).defaultView||window}function dP(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function pP(e){return parseInt(uP(e).getComputedStyle(e).paddingRight,10)||0}function hP(e,t,r,n,o){const i=[t,r,...n];[].forEach.call(e.children,e=>{const t=-1===i.indexOf(e),r=!function(e){const t=-1!==["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].indexOf(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}(e);t&&r&&dP(e,o)})}function fP(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}const mP=new class{constructor(){this.containers=void 0,this.modals=void 0,this.modals=[],this.containers=[]}add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&dP(e.modalRef,!1);const n=function(e){const t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}(t);hP(t,e.mount,e.modalRef,n,!0);const o=fP(this.containers,e=>e.container===t);return-1!==o?(this.containers[o].modals.push(e),r):(this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r)}mount(e,t){const r=fP(this.containers,t=>-1!==t.modals.indexOf(e)),n=this.containers[r];n.restore||(n.restore=function(e,t){const r=[],n=e.container;if(!t.disableScrollLock){if(function(e){const t=is(e);return t.body===e?uP(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}(n)){const e=function(e){const t=e.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}(is(n));r.push({value:n.style.paddingRight,property:"padding-right",el:n}),n.style.paddingRight=`${pP(n)+e}px`;const t=is(n).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight=`${pP(t)+e}px`})}let e;if(n.parentNode instanceof DocumentFragment)e=is(n).body;else{const t=n.parentElement,r=uP(n);e="HTML"===(null==t?void 0:t.nodeName)&&"scroll"===r.getComputedStyle(t).overflowY?t:n}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>{r.forEach(({value:e,el:t,property:r})=>{e?t.style.setProperty(r,e):t.style.removeProperty(r)})}}(n,t))}remove(e,t=!0){const r=this.modals.indexOf(e);if(-1===r)return r;const n=fP(this.containers,t=>-1!==t.modals.indexOf(e)),o=this.containers[n];if(o.modals.splice(o.modals.indexOf(e),1),this.modals.splice(r,1),0===o.modals.length)o.restore&&o.restore(),e.modalRef&&dP(e.modalRef,t),hP(o.container,e.mount,e.modalRef,o.hiddenSiblings,!1),this.containers.splice(n,1);else{const e=o.modals[o.modals.length-1];e.modalRef&&dP(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}};const gP=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])'].join(",");function bP(e){const t=[],r=[];return Array.from(e.querySelectorAll(gP)).forEach((e,n)=>{const o=function(e){const t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}(e);-1!==o&&function(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||function(e){if("INPUT"!==e.tagName||"radio"!==e.type)return!1;if(!e.name)return!1;const t=t=>e.ownerDocument.querySelector(`input[type="radio"]${t}`);let r=t(`[name="${e.name}"]:checked`);return r||(r=t(`[name="${e.name}"]`)),r!==e}(e))}(e)&&(0===o?t.push(e):r.push({documentOrder:n,tabIndex:o,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function yP(){return!0}function vP(t){const{children:r,disableAutoFocus:n=!1,disableEnforceFocus:o=!1,disableRestoreFocus:i=!1,getTabbable:a=bP,isEnabled:s=yP,open:l}=t,c=e.useRef(!1),u=e.useRef(null),d=e.useRef(null),p=e.useRef(null),h=e.useRef(null),f=e.useRef(!1),m=e.useRef(null),g=es(r.ref,m),b=e.useRef(null);e.useEffect(()=>{l&&m.current&&(f.current=!n)},[n,l]),e.useEffect(()=>{if(!l||!m.current)return;const e=is(m.current);return m.current.contains(e.activeElement)||(m.current.hasAttribute("tabIndex")||m.current.setAttribute("tabIndex","-1"),f.current&&m.current.focus()),()=>{i||(p.current&&p.current.focus&&(c.current=!0,p.current.focus()),p.current=null)}},[l]),e.useEffect(()=>{if(!l||!m.current)return;const e=is(m.current),t=t=>{b.current=t,!o&&s()&&"Tab"===t.key&&e.activeElement===m.current&&t.shiftKey&&(c.current=!0,d.current&&d.current.focus())},r=()=>{const t=m.current;if(null===t)return;if(!e.hasFocus()||!s()||c.current)return void(c.current=!1);if(t.contains(e.activeElement))return;if(o&&e.activeElement!==u.current&&e.activeElement!==d.current)return;if(e.activeElement!==h.current)h.current=null;else if(null!==h.current)return;if(!f.current)return;let r=[];if(e.activeElement!==u.current&&e.activeElement!==d.current||(r=a(m.current)),r.length>0){var n,i;const e=Boolean((null==(n=b.current)?void 0:n.shiftKey)&&"Tab"===(null==(i=b.current)?void 0:i.key)),t=r[0],o=r[r.length-1];"string"!=typeof t&&"string"!=typeof o&&(e?o.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);const n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[n,o,i,s,l,a]);const y=e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0};return(0,Nt.jsxs)(e.Fragment,{children:[(0,Nt.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:u,"data-testid":"sentinelStart"}),e.cloneElement(r,{ref:g,onFocus:e=>{null===p.current&&(p.current=e.relatedTarget),f.current=!0,h.current=e.target;const t=r.props.onFocus;t&&t(e)}}),(0,Nt.jsx)("div",{tabIndex:l?0:-1,onFocus:y,ref:d,"data-testid":"sentinelEnd"})]})}const xP=["addEndListener","appear","children","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","style","timeout","TransitionComponent"],wP={entering:{opacity:1},entered:{opacity:1}},_P=e.forwardRef(function(t,r){const n=ds(),o={enter:n.transitions.duration.enteringScreen,exit:n.transitions.duration.leavingScreen},{addEndListener:i,appear:a=!0,children:s,easing:l,in:c,onEnter:u,onEntered:d,onEntering:p,onExit:h,onExited:f,onExiting:m,style:g,timeout:b=o,TransitionComponent:y=ws}=t,v=(0,Ae.A)(t,xP),x=e.useRef(null),w=Eo(x,s.ref,r),_=e=>t=>{if(e){const r=x.current;void 0===t?e(r):e(r,t)}},C=_(p),k=_((e,t)=>{_s(e);const r=Cs({style:g,timeout:b,easing:l},{mode:"enter"});e.style.webkitTransition=n.transitions.create("opacity",r),e.style.transition=n.transitions.create("opacity",r),u&&u(e,t)}),S=_(d),A=_(m),j=_(e=>{const t=Cs({style:g,timeout:b,easing:l},{mode:"exit"});e.style.webkitTransition=n.transitions.create("opacity",t),e.style.transition=n.transitions.create("opacity",t),h&&h(e)}),R=_(f);return(0,Nt.jsx)(y,(0,Se.A)({appear:a,in:c,nodeRef:x,onEnter:k,onEntered:S,onEntering:C,onExit:j,onExited:R,onExiting:A,addEndListener:e=>{i&&i(x.current,e)},timeout:b},v,{children:(t,r)=>e.cloneElement(s,(0,Se.A)({style:(0,Se.A)({opacity:0,visibility:"exited"!==t||c?void 0:"hidden"},wP[t],g,s.props.style),ref:w},r))}))}),CP=_P;function kP(e){return ho("MuiBackdrop",e)}fo("MuiBackdrop",["root","invisible"]);const SP=["children","className","component","components","componentsProps","invisible","open","slotProps","slots","TransitionComponent","transitionDuration"],AP=jo("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})(({ownerState:e})=>(0,Se.A)({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent"},e.invisible&&{backgroundColor:"transparent"})),jP=e.forwardRef(function(e,t){var r,n,o;const i=Io({props:e,name:"MuiBackdrop"}),{children:a,className:s,component:l="div",components:c={},componentsProps:u={},invisible:d=!1,open:p,slotProps:h={},slots:f={},TransitionComponent:m=CP,transitionDuration:g}=i,b=(0,Ae.A)(i,SP),y=(0,Se.A)({},i,{component:l,invisible:d}),v=(e=>{const{classes:t,invisible:r}=e;return _o({root:["root",r&&"invisible"]},kP,t)})(y),x=null!=(r=h.root)?r:u.root;return(0,Nt.jsx)(m,(0,Se.A)({in:p,timeout:g},b,{children:(0,Nt.jsx)(AP,(0,Se.A)({"aria-hidden":!0},x,{as:null!=(n=null!=(o=f.root)?o:c.Root)?n:l,className:ao(v.root,s,null==x?void 0:x.className),ownerState:(0,Se.A)({},y,null==x?void 0:x.ownerState),classes:v,ref:t,children:a}))}))}),RP=jP;function IP(e){return ho("MuiModal",e)}fo("MuiModal",["root","hidden","backdrop"]);const MP=["BackdropComponent","BackdropProps","classes","className","closeAfterTransition","children","container","component","components","componentsProps","disableAutoFocus","disableEnforceFocus","disableEscapeKeyDown","disablePortal","disableRestoreFocus","disableScrollLock","hideBackdrop","keepMounted","onBackdropClick","onClose","onTransitionEnter","onTransitionExited","open","slotProps","slots","theme"],EP=jo("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})(({theme:e,ownerState:t})=>(0,Se.A)({position:"fixed",zIndex:(e.vars||e).zIndex.modal,right:0,bottom:0,top:0,left:0},!t.open&&t.exited&&{visibility:"hidden"})),TP=jo(RP,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),OP=e.forwardRef(function(t,r){var n,o,i,a,s,l;const c=Io({name:"MuiModal",props:t}),{BackdropComponent:u=TP,BackdropProps:d,className:p,closeAfterTransition:h=!1,children:f,container:m,component:g,components:b={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:x=!1,disableEscapeKeyDown:w=!1,disablePortal:_=!1,disableRestoreFocus:C=!1,disableScrollLock:k=!1,hideBackdrop:S=!1,keepMounted:A=!1,onBackdropClick:j,open:R,slotProps:I,slots:M}=c,E=(0,Ae.A)(c,MP),T=(0,Se.A)({},c,{closeAfterTransition:h,disableAutoFocus:v,disableEnforceFocus:x,disableEscapeKeyDown:w,disablePortal:_,disableRestoreFocus:C,disableScrollLock:k,hideBackdrop:S,keepMounted:A}),{getRootProps:O,getBackdropProps:P,getTransitionProps:L,portalRef:z,isTopModal:N,exited:F,hasTransition:D}=function(t){const{container:r,disableEscapeKeyDown:n=!1,disableScrollLock:o=!1,manager:i=mP,closeAfterTransition:a=!1,onTransitionEnter:s,onTransitionExited:l,children:c,onClose:u,open:d,rootRef:p}=t,h=e.useRef({}),f=e.useRef(null),m=e.useRef(null),g=es(m,p),[b,y]=e.useState(!d),v=function(e){return!!e&&e.props.hasOwnProperty("in")}(c);let x=!0;"false"!==t["aria-hidden"]&&!1!==t["aria-hidden"]||(x=!1);const w=()=>(h.current.modalRef=m.current,h.current.mount=f.current,h.current),_=()=>{i.mount(w(),{disableScrollLock:o}),m.current&&(m.current.scrollTop=0)},C=os(()=>{const e=function(e){return"function"==typeof e?e():e}(r)||is(f.current).body;i.add(w(),e),m.current&&_()}),k=e.useCallback(()=>i.isTopModal(w()),[i]),S=os(e=>{f.current=e,e&&(d&&k()?_():m.current&&dP(m.current,x))}),A=e.useCallback(()=>{i.remove(w(),x)},[x,i]);e.useEffect(()=>()=>{A()},[A]),e.useEffect(()=>{d?C():v&&a||A()},[d,A,v,a,C]);const j=e=>t=>{var r;null==(r=e.onKeyDown)||r.call(e,t),"Escape"===t.key&&229!==t.which&&k()&&(n||(t.stopPropagation(),u&&u(t,"escapeKeyDown")))},R=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&u&&u(t,"backdropClick")};return{getRootProps:(e={})=>{const r=Li(t);delete r.onTransitionEnter,delete r.onTransitionExited;const n=(0,Se.A)({},r,e);return(0,Se.A)({role:"presentation"},n,{onKeyDown:j(n),ref:g})},getBackdropProps:(e={})=>{const t=e;return(0,Se.A)({"aria-hidden":!0},t,{onClick:R(t),open:d})},getTransitionProps:()=>({onEnter:cP(()=>{y(!1),s&&s()},null==c?void 0:c.props.onEnter),onExited:cP(()=>{y(!0),l&&l(),a&&A()},null==c?void 0:c.props.onExited)}),rootRef:g,portalRef:S,isTopModal:k,exited:b,hasTransition:v}}((0,Se.A)({},T,{rootRef:r})),B=(0,Se.A)({},T,{exited:F}),$=(e=>{const{open:t,exited:r,classes:n}=e;return _o({root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]},IP,n)})(B),H={};if(void 0===f.props.tabIndex&&(H.tabIndex="-1"),D){const{onEnter:e,onExited:t}=L();H.onEnter=e,H.onExited=t}const W=null!=(n=null!=(o=null==M?void 0:M.root)?o:b.Root)?n:EP,V=null!=(i=null!=(a=null==M?void 0:M.backdrop)?a:b.Backdrop)?i:u,q=null!=(s=null==I?void 0:I.root)?s:y.root,U=null!=(l=null==I?void 0:I.backdrop)?l:y.backdrop,Z=rs({elementType:W,externalSlotProps:q,externalForwardedProps:E,getSlotProps:O,additionalProps:{ref:r,as:g},ownerState:B,className:ao(p,null==q?void 0:q.className,null==$?void 0:$.root,!B.open&&B.exited&&(null==$?void 0:$.hidden))}),G=rs({elementType:V,externalSlotProps:U,additionalProps:d,getSlotProps:e=>P((0,Se.A)({},e,{onClick:t=>{j&&j(t),null!=e&&e.onClick&&e.onClick(t)}})),className:ao(null==U?void 0:U.className,null==d?void 0:d.className,null==$?void 0:$.backdrop),ownerState:B});return A||R||D&&!F?(0,Nt.jsx)(Dj,{ref:z,container:m,disablePortal:_,children:(0,Nt.jsxs)(W,(0,Se.A)({},Z,{children:[!S&&u?(0,Nt.jsx)(V,(0,Se.A)({},G)):null,(0,Nt.jsx)(vP,{disableEnforceFocus:x,disableAutoFocus:v,disableRestoreFocus:C,isEnabled:N,open:R,children:e.cloneElement(f,H)})]}))}):null}),PP=OP;function LP(e){return ho("MuiPopover",e)}fo("MuiPopover",["root","paper"]);const zP=["onEntering"],NP=["action","anchorEl","anchorOrigin","anchorPosition","anchorReference","children","className","container","elevation","marginThreshold","open","PaperProps","slots","slotProps","transformOrigin","TransitionComponent","transitionDuration","TransitionProps","disableScrollLock"],FP=["slotProps"];function DP(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.height/2:"bottom"===t&&(r=e.height),r}function BP(e,t){let r=0;return"number"==typeof t?r=t:"center"===t?r=e.width/2:"right"===t&&(r=e.width),r}function $P(e){return[e.horizontal,e.vertical].map(e=>"number"==typeof e?`${e}px`:e).join(" ")}function HP(e){return"function"==typeof e?e():e}const WP=jo(PP,{name:"MuiPopover",slot:"Root",overridesResolver:(e,t)=>t.root})({}),VP=jo(Gi,{name:"MuiPopover",slot:"Paper",overridesResolver:(e,t)=>t.paper})({position:"absolute",overflowY:"auto",overflowX:"hidden",minWidth:16,minHeight:16,maxWidth:"calc(100% - 32px)",maxHeight:"calc(100% - 32px)",outline:0}),qP=e.forwardRef(function(t,r){var n,o,i;const a=Io({props:t,name:"MuiPopover"}),{action:s,anchorEl:l,anchorOrigin:c={vertical:"top",horizontal:"left"},anchorPosition:u,anchorReference:d="anchorEl",children:p,className:h,container:f,elevation:m=8,marginThreshold:g=16,open:b,PaperProps:y={},slots:v,slotProps:x,transformOrigin:w={vertical:"top",horizontal:"left"},TransitionComponent:_=Is,transitionDuration:C="auto",TransitionProps:{onEntering:k}={},disableScrollLock:S=!1}=a,A=(0,Ae.A)(a.TransitionProps,zP),j=(0,Ae.A)(a,NP),R=null!=(n=null==x?void 0:x.paper)?n:y,I=e.useRef(),M=Eo(I,R.ref),E=(0,Se.A)({},a,{anchorOrigin:c,anchorReference:d,elevation:m,marginThreshold:g,externalPaperSlotProps:R,transformOrigin:w,TransitionComponent:_,transitionDuration:C,TransitionProps:A}),T=(e=>{const{classes:t}=e;return _o({root:["root"],paper:["paper"]},LP,t)})(E),O=e.useCallback(()=>{if("anchorPosition"===d)return u;const e=HP(l),t=(e&&1===e.nodeType?e:dk(I.current).body).getBoundingClientRect();return{top:t.top+DP(t,c.vertical),left:t.left+BP(t,c.horizontal)}},[l,c.horizontal,c.vertical,u,d]),P=e.useCallback(e=>({vertical:DP(e,w.vertical),horizontal:BP(e,w.horizontal)}),[w.horizontal,w.vertical]),L=e.useCallback(e=>{const t={width:e.offsetWidth,height:e.offsetHeight},r=P(t);if("none"===d)return{top:null,left:null,transformOrigin:$P(r)};const n=O();let o=n.top-r.vertical,i=n.left-r.horizontal;const a=o+t.height,s=i+t.width,c=YC(HP(l)),u=c.innerHeight-g,p=c.innerWidth-g;if(null!==g&&o<g){const e=o-g;o-=e,r.vertical+=e}else if(null!==g&&a>u){const e=a-u;o-=e,r.vertical+=e}if(null!==g&&i<g){const e=i-g;i-=e,r.horizontal+=e}else if(s>p){const e=s-p;i-=e,r.horizontal+=e}return{top:`${Math.round(o)}px`,left:`${Math.round(i)}px`,transformOrigin:$P(r)}},[l,d,O,P,g]),[z,N]=e.useState(b),F=e.useCallback(()=>{const e=I.current;if(!e)return;const t=L(e);null!==t.top&&(e.style.top=t.top),null!==t.left&&(e.style.left=t.left),e.style.transformOrigin=t.transformOrigin,N(!0)},[L]);e.useEffect(()=>(S&&window.addEventListener("scroll",F),()=>window.removeEventListener("scroll",F)),[l,S,F]),e.useEffect(()=>{b&&F()}),e.useImperativeHandle(s,()=>b?{updatePosition:()=>{F()}}:null,[b,F]),e.useEffect(()=>{if(!b)return;const e=qC(()=>{F()}),t=YC(l);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[l,b,F]);let D=C;"auto"!==C||_.muiSupportAuto||(D=void 0);const B=f||(l?dk(HP(l)).body:void 0),$=null!=(o=null==v?void 0:v.root)?o:WP,H=null!=(i=null==v?void 0:v.paper)?i:VP,W=rs({elementType:H,externalSlotProps:(0,Se.A)({},R,{style:z?R.style:(0,Se.A)({},R.style,{opacity:0})}),additionalProps:{elevation:m,ref:M},ownerState:E,className:ao(T.paper,null==R?void 0:R.className)}),V=rs({elementType:$,externalSlotProps:(null==x?void 0:x.root)||{},externalForwardedProps:j,additionalProps:{ref:r,slotProps:{backdrop:{invisible:!0}},container:B,open:b},ownerState:E,className:ao(T.root,h)}),{slotProps:q}=V,U=(0,Ae.A)(V,FP);return(0,Nt.jsx)($,(0,Se.A)({},U,!Fi($)&&{slotProps:q,disableScrollLock:S},{children:(0,Nt.jsx)(_,(0,Se.A)({appear:!0,in:b,onEntering:(e,t)=>{k&&k(e,t),F()},onExited:()=>{N(!1)},timeout:D},A,{children:(0,Nt.jsx)(H,(0,Se.A)({},W,{children:p}))}))}))}),UP=qP;function ZP(e){return ho("MuiMenu",e)}fo("MuiMenu",["root","paper","list"]);const GP=["onEntering"],KP=["autoFocus","children","className","disableAutoFocusItem","MenuListProps","onClose","open","PaperProps","PopoverClasses","transitionDuration","TransitionProps","variant","slots","slotProps"],XP={vertical:"top",horizontal:"right"},JP={vertical:"top",horizontal:"left"},YP=jo(UP,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiMenu",slot:"Root",overridesResolver:(e,t)=>t.root})({}),QP=jo(VP,{name:"MuiMenu",slot:"Paper",overridesResolver:(e,t)=>t.paper})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),eL=jo(lP,{name:"MuiMenu",slot:"List",overridesResolver:(e,t)=>t.list})({outline:0}),tL=e.forwardRef(function(t,r){var n,o;const i=Io({props:t,name:"MuiMenu"}),{autoFocus:a=!0,children:s,className:l,disableAutoFocusItem:c=!1,MenuListProps:u={},onClose:d,open:p,PaperProps:h={},PopoverClasses:f,transitionDuration:m="auto",TransitionProps:{onEntering:g}={},variant:b="selectedMenu",slots:y={},slotProps:v={}}=i,x=(0,Ae.A)(i.TransitionProps,GP),w=(0,Ae.A)(i,KP),_=Wt(),C=(0,Se.A)({},i,{autoFocus:a,disableAutoFocusItem:c,MenuListProps:u,onEntering:g,PaperProps:h,transitionDuration:m,TransitionProps:x,variant:b}),k=(e=>{const{classes:t}=e;return _o({root:["root"],paper:["paper"],list:["list"]},ZP,t)})(C),S=a&&!c&&p,A=e.useRef(null);let j=-1;e.Children.map(s,(t,r)=>{e.isValidElement(t)&&(t.props.disabled||("selectedMenu"===b&&t.props.selected||-1===j)&&(j=r))});const R=null!=(n=y.paper)?n:QP,I=null!=(o=v.paper)?o:h,M=rs({elementType:y.root,externalSlotProps:v.root,ownerState:C,className:[k.root,l]}),E=rs({elementType:R,externalSlotProps:I,ownerState:C,className:k.paper});return(0,Nt.jsx)(YP,(0,Se.A)({onClose:d,anchorOrigin:{vertical:"bottom",horizontal:_?"right":"left"},transformOrigin:_?XP:JP,slots:{paper:R,root:y.root},slotProps:{root:M,paper:E},open:p,ref:r,transitionDuration:m,TransitionProps:(0,Se.A)({onEntering:(e,t)=>{A.current&&A.current.adjustStyleForScrollbar(e,{direction:_?"rtl":"ltr"}),g&&g(e,t)}},x),ownerState:C},w,{classes:f,children:(0,Nt.jsx)(eL,(0,Se.A)({onKeyDown:e=>{"Tab"===e.key&&(e.preventDefault(),d&&d(e,"tabKeyDown"))},actions:A,autoFocus:a&&(-1===j||c),autoFocusItem:S,variant:b},u,{className:ao(k.list,u.className),children:s}))}))}),rL=tL;function nL(e){return ho("MuiNativeSelect",e)}const oL=fo("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),iL=["className","disabled","error","IconComponent","inputRef","variant"],aL=({ownerState:e,theme:t})=>(0,Se.A)({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":(0,Se.A)({},t.vars?{backgroundColor:`rgba(${t.vars.palette.common.onBackgroundChannel} / 0.05)`}:{backgroundColor:"light"===t.palette.mode?"rgba(0, 0, 0, 0.05)":"rgba(255, 255, 255, 0.05)"},{borderRadius:0}),"&::-ms-expand":{display:"none"},[`&.${oL.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(t.vars||t).palette.background.paper},"&&&":{paddingRight:24,minWidth:16}},"filled"===e.variant&&{"&&&":{paddingRight:32}},"outlined"===e.variant&&{borderRadius:(t.vars||t).shape.borderRadius,"&:focus":{borderRadius:(t.vars||t).shape.borderRadius},"&&&":{paddingRight:32}}),sL=jo("select",{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:Ao,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${oL.multiple}`]:t.multiple}]}})(aL),lL=({ownerState:e,theme:t})=>(0,Se.A)({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(t.vars||t).palette.action.active,[`&.${oL.disabled}`]:{color:(t.vars||t).palette.action.disabled}},e.open&&{transform:"rotate(180deg)"},"filled"===e.variant&&{right:7},"outlined"===e.variant&&{right:7}),cL=jo("svg",{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${wi(r.variant)}`],r.open&&t.iconOpen]}})(lL),uL=e.forwardRef(function(t,r){const{className:n,disabled:o,error:i,IconComponent:a,inputRef:s,variant:l="standard"}=t,c=(0,Ae.A)(t,iL),u=(0,Se.A)({},t,{disabled:o,variant:l,error:i}),d=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return _o({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${wi(r)}`,i&&"iconOpen",n&&"disabled"]},nL,t)})(u);return(0,Nt.jsxs)(e.Fragment,{children:[(0,Nt.jsx)(sL,(0,Se.A)({ownerState:u,className:ao(d.select,n),disabled:o,ref:s||r},c)),t.multiple?null:(0,Nt.jsx)(cL,{as:a,ownerState:u,className:d.icon})]})});function dL(e){return null!=e&&!(Array.isArray(e)&&0===e.length)}function pL(e,t=!1){return e&&(dL(e.value)&&""!==e.value||t&&dL(e.defaultValue)&&""!==e.defaultValue)}function hL(e){return ho("MuiSelect",e)}const fL=fo("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var mL;const gL=["aria-describedby","aria-label","autoFocus","autoWidth","children","className","defaultOpen","defaultValue","disabled","displayEmpty","error","IconComponent","inputRef","labelId","MenuProps","multiple","name","onBlur","onChange","onClose","onFocus","onOpen","open","readOnly","renderValue","SelectDisplayProps","tabIndex","type","value","variant"],bL=jo("div",{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${fL.select}`]:t.select},{[`&.${fL.select}`]:t[r.variant]},{[`&.${fL.error}`]:t.error},{[`&.${fL.multiple}`]:t.multiple}]}})(aL,{[`&.${fL.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),yL=jo("svg",{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${wi(r.variant)}`],r.open&&t.iconOpen]}})(lL),vL=jo("input",{shouldForwardProp:e=>So(e)&&"classes"!==e,name:"MuiSelect",slot:"NativeInput",overridesResolver:(e,t)=>t.nativeInput})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function xL(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}function wL(e){return null==e||"string"==typeof e&&!e.trim()}const _L=e.forwardRef(function(t,r){var n;const{"aria-describedby":o,"aria-label":i,autoFocus:a,autoWidth:s,children:l,className:c,defaultOpen:u,defaultValue:d,disabled:p,displayEmpty:h,error:f=!1,IconComponent:m,inputRef:g,labelId:b,MenuProps:y={},multiple:v,name:x,onBlur:w,onChange:_,onClose:C,onFocus:k,onOpen:S,open:A,readOnly:j,renderValue:R,SelectDisplayProps:I={},tabIndex:M,value:E,variant:T="standard"}=t,O=(0,Ae.A)(t,gL),[P,L]=aR({controlled:E,default:d,name:"Select"}),[z,N]=aR({controlled:A,default:u,name:"Select"}),F=e.useRef(null),D=e.useRef(null),[B,$]=e.useState(null),{current:H}=e.useRef(null!=A),[W,V]=e.useState(),q=Eo(r,g),U=e.useCallback(e=>{D.current=e,e&&$(e)},[]),Z=null==B?void 0:B.parentNode;e.useImperativeHandle(q,()=>({focus:()=>{D.current.focus()},node:F.current,value:P}),[P]),e.useEffect(()=>{u&&z&&B&&!H&&(V(s?null:Z.clientWidth),D.current.focus())},[B,s]),e.useEffect(()=>{a&&D.current.focus()},[a]),e.useEffect(()=>{if(!b)return;const e=dk(D.current).getElementById(b);if(e){const t=()=>{getSelection().isCollapsed&&D.current.focus()};return e.addEventListener("click",t),()=>{e.removeEventListener("click",t)}}},[b]);const G=(e,t)=>{e?S&&S(t):C&&C(t),H||(V(s?null:Z.clientWidth),N(e))},K=e.Children.toArray(l),X=e=>t=>{let r;if(t.currentTarget.hasAttribute("tabindex")){if(v){r=Array.isArray(P)?P.slice():[];const t=P.indexOf(e.props.value);-1===t?r.push(e.props.value):r.splice(t,1)}else r=e.props.value;if(e.props.onClick&&e.props.onClick(t),P!==r&&(L(r),_)){const n=t.nativeEvent||t,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:r,name:x}}),_(o,e)}v||G(!1,t)}},J=null!==B&&z;let Y,Q;delete O["aria-invalid"];const ee=[];let te=!1,re=!1;(pL({value:P})||h)&&(R?Y=R(P):te=!0);const ne=K.map(t=>{if(!e.isValidElement(t))return null;let r;if(v){if(!Array.isArray(P))throw new Error((0,je.A)(2));r=P.some(e=>xL(e,t.props.value)),r&&te&&ee.push(t.props.children)}else r=xL(P,t.props.value),r&&te&&(Q=t.props.children);return r&&(re=!0),e.cloneElement(t,{"aria-selected":r?"true":"false",onClick:X(t),onKeyUp:e=>{" "===e.key&&e.preventDefault(),t.props.onKeyUp&&t.props.onKeyUp(e)},role:"option",selected:r,value:void 0,"data-value":t.props.value})});te&&(Y=v?0===ee.length?null:ee.reduce((e,t,r)=>(e.push(t),r<ee.length-1&&e.push(", "),e),[]):Q);let oe,ie=W;!s&&H&&B&&(ie=Z.clientWidth),oe=void 0!==M?M:p?null:0;const ae=I.id||(x?`mui-component-select-${x}`:void 0),se=(0,Se.A)({},t,{variant:T,value:P,open:J,error:f}),le=(e=>{const{classes:t,variant:r,disabled:n,multiple:o,open:i,error:a}=e;return _o({select:["select",r,n&&"disabled",o&&"multiple",a&&"error"],icon:["icon",`icon${wi(r)}`,i&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]},hL,t)})(se),ce=(0,Se.A)({},y.PaperProps,null==(n=y.slotProps)?void 0:n.paper),ue=Xt();return(0,Nt.jsxs)(e.Fragment,{children:[(0,Nt.jsx)(bL,(0,Se.A)({ref:U,tabIndex:oe,role:"combobox","aria-controls":ue,"aria-disabled":p?"true":void 0,"aria-expanded":J?"true":"false","aria-haspopup":"listbox","aria-label":i,"aria-labelledby":[b,ae].filter(Boolean).join(" ")||void 0,"aria-describedby":o,onKeyDown:e=>{j||-1!==[" ","ArrowUp","ArrowDown","Enter"].indexOf(e.key)&&(e.preventDefault(),G(!0,e))},onMouseDown:p||j?null:e=>{0===e.button&&(e.preventDefault(),D.current.focus(),G(!0,e))},onBlur:e=>{!J&&w&&(Object.defineProperty(e,"target",{writable:!0,value:{value:P,name:x}}),w(e))},onFocus:k},I,{ownerState:se,className:ao(I.className,le.select,c),id:ae,children:wL(Y)?mL||(mL=(0,Nt.jsx)("span",{className:"notranslate",children:""})):Y})),(0,Nt.jsx)(vL,(0,Se.A)({"aria-invalid":f,value:Array.isArray(P)?P.join(","):P,name:x,ref:F,"aria-hidden":!0,onChange:e=>{const t=K.find(t=>t.props.value===e.target.value);void 0!==t&&(L(t.props.value),_&&_(e,t))},tabIndex:-1,disabled:p,className:le.nativeInput,autoFocus:a,ownerState:se},O)),(0,Nt.jsx)(yL,{as:m,className:le.icon,ownerState:se}),(0,Nt.jsx)(rL,(0,Se.A)({id:`menu-${x||""}`,anchorEl:Z,open:J,onClose:e=>{G(!1,e)},anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},y,{MenuListProps:(0,Se.A)({"aria-labelledby":b,role:"listbox","aria-multiselectable":v?"true":void 0,disableListWrap:!0,id:ue},y.MenuListProps),slotProps:(0,Se.A)({},y.slotProps,{paper:(0,Se.A)({},ce,{style:(0,Se.A)({minWidth:ie},null!=ce?ce.style:null)})}),children:ne}))]})}),CL=_L,kL=sa((0,Nt.jsx)("path",{d:"M7 10l5 5 5-5z"}),"ArrowDropDown"),SL=["onChange","maxRows","minRows","style","value"];function AL(e){return parseInt(e,10)||0}const jL={visibility:"hidden",position:"absolute",overflow:"hidden",height:0,top:0,left:0,transform:"translateZ(0)"},RL=e.forwardRef(function(t,r){const{onChange:n,maxRows:o,minRows:i=1,style:a,value:s}=t,l=(0,Ae.A)(t,SL),{current:c}=e.useRef(null!=s),u=e.useRef(null),d=es(r,u),p=e.useRef(null),h=e.useCallback(()=>{const e=u.current,r=uP(e).getComputedStyle(e);if("0px"===r.width)return{outerHeightStyle:0,overflowing:!1};const n=p.current;n.style.width=r.width,n.value=e.value||t.placeholder||"x","\n"===n.value.slice(-1)&&(n.value+=" ");const a=r.boxSizing,s=AL(r.paddingBottom)+AL(r.paddingTop),l=AL(r.borderBottomWidth)+AL(r.borderTopWidth),c=n.scrollHeight;n.value="x";const d=n.scrollHeight;let h=c;return i&&(h=Math.max(Number(i)*d,h)),o&&(h=Math.min(Number(o)*d,h)),h=Math.max(h,d),{outerHeightStyle:h+("border-box"===a?s+l:0),overflowing:Math.abs(h-c)<=1}},[o,i,t.placeholder]),f=e.useCallback(()=>{const e=h();if(null==(t=e)||0===Object.keys(t).length||0===t.outerHeightStyle&&!t.overflowing)return;var t;const r=u.current;r.style.height=`${e.outerHeightStyle}px`,r.style.overflow=e.overflowing?"hidden":""},[h]);return ns(()=>{const e=()=>{f()};const t=function(e,t=166){let r;function n(...n){clearTimeout(r),r=setTimeout(()=>{e.apply(this,n)},t)}return n.clear=()=>{clearTimeout(r)},n}(e),r=u.current,n=uP(r);let o;return n.addEventListener("resize",t),"undefined"!=typeof ResizeObserver&&(o=new ResizeObserver(e),o.observe(r)),()=>{t.clear(),cancelAnimationFrame(undefined),n.removeEventListener("resize",t),o&&o.disconnect()}},[h,f]),ns(()=>{f()}),(0,Nt.jsxs)(e.Fragment,{children:[(0,Nt.jsx)("textarea",(0,Se.A)({value:s,onChange:e=>{c||f(),n&&n(e)},ref:d,rows:i,style:a},l)),(0,Nt.jsx)("textarea",{"aria-hidden":!0,className:t.className,readOnly:!0,ref:p,tabIndex:-1,style:(0,Se.A)({},jL,a,{paddingTop:0,paddingBottom:0})})]})}),IL=function(e){return(0,Nt.jsx)(rr,(0,Se.A)({},e,{defaultTheme:ko,themeId:ar}))};function ML(e){return ho("MuiInputBase",e)}const EL=fo("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]),TL=["aria-describedby","autoComplete","autoFocus","className","color","components","componentsProps","defaultValue","disabled","disableInjectingGlobalStyles","endAdornment","error","fullWidth","id","inputComponent","inputProps","inputRef","margin","maxRows","minRows","multiline","name","onBlur","onChange","onClick","onFocus","onKeyDown","onKeyUp","placeholder","readOnly","renderSuffix","rows","size","slotProps","slots","startAdornment","type","value"],OL=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,"small"===r.size&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${wi(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},PL=(e,t)=>{const{ownerState:r}=e;return[t.input,"small"===r.size&&t.inputSizeSmall,r.multiline&&t.inputMultiline,"search"===r.type&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},LL=jo("div",{name:"MuiInputBase",slot:"Root",overridesResolver:OL})(({theme:e,ownerState:t})=>(0,Se.A)({},e.typography.body1,{color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${EL.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"}},t.multiline&&(0,Se.A)({padding:"4px 0 5px"},"small"===t.size&&{paddingTop:1}),t.fullWidth&&{width:"100%"})),zL=jo("input",{name:"MuiInputBase",slot:"Input",overridesResolver:PL})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode,n=(0,Se.A)({color:"currentColor"},e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5},{transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})}),o={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:r?.42:.5};return(0,Se.A)({font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%",animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&:-ms-input-placeholder":n,"&::-ms-input-placeholder":n,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${EL.formControl} &`]:{"&::-webkit-input-placeholder":o,"&::-moz-placeholder":o,"&:-ms-input-placeholder":o,"&::-ms-input-placeholder":o,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus:-ms-input-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${EL.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},"&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}},"small"===t.size&&{paddingTop:1},t.multiline&&{height:"auto",resize:"none",padding:0,paddingTop:0},"search"===t.type&&{MozAppearance:"textfield"})}),NL=(0,Nt.jsx)(IL,{styles:{"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}}),FL=e.forwardRef(function(t,r){var n;const o=Io({props:t,name:"MuiInputBase"}),{"aria-describedby":i,autoComplete:a,autoFocus:s,className:l,components:c={},componentsProps:u={},defaultValue:d,disabled:p,disableInjectingGlobalStyles:h,endAdornment:f,fullWidth:m=!1,id:g,inputComponent:b="input",inputProps:y={},inputRef:v,maxRows:x,minRows:w,multiline:_=!1,name:C,onBlur:k,onChange:S,onClick:A,onFocus:j,onKeyDown:R,onKeyUp:I,placeholder:M,readOnly:E,renderSuffix:T,rows:O,slotProps:P={},slots:L={},startAdornment:z,type:N="text",value:F}=o,D=(0,Ae.A)(o,TL),B=null!=y.value?y.value:F,{current:$}=e.useRef(null!=B),H=e.useRef(),W=e.useCallback(e=>{},[]),V=Eo(H,v,y.ref,W),[q,U]=e.useState(!1),Z=xO(),G=qO({props:o,muiFormControl:Z,states:["color","disabled","error","hiddenLabel","size","required","filled"]});G.focused=Z?Z.focused:q,e.useEffect(()=>{!Z&&p&&q&&(U(!1),k&&k())},[Z,p,q,k]);const K=Z&&Z.onFilled,X=Z&&Z.onEmpty,J=e.useCallback(e=>{pL(e)?K&&K():X&&X()},[K,X]);XC(()=>{$&&J({value:B})},[B,J,$]),e.useEffect(()=>{J(H.current)},[]);let Y=b,Q=y;_&&"input"===Y&&(Q=O?(0,Se.A)({type:void 0,minRows:O,maxRows:O},Q):(0,Se.A)({type:void 0,maxRows:x,minRows:w},Q),Y=RL),e.useEffect(()=>{Z&&Z.setAdornedStart(Boolean(z))},[Z,z]);const ee=(0,Se.A)({},o,{color:G.color||"primary",disabled:G.disabled,endAdornment:f,error:G.error,focused:G.focused,formControl:Z,fullWidth:m,hiddenLabel:G.hiddenLabel,multiline:_,size:G.size,startAdornment:z,type:N}),te=(e=>{const{classes:t,color:r,disabled:n,error:o,endAdornment:i,focused:a,formControl:s,fullWidth:l,hiddenLabel:c,multiline:u,readOnly:d,size:p,startAdornment:h,type:f}=e;return _o({root:["root",`color${wi(r)}`,n&&"disabled",o&&"error",l&&"fullWidth",a&&"focused",s&&"formControl",p&&"medium"!==p&&`size${wi(p)}`,u&&"multiline",h&&"adornedStart",i&&"adornedEnd",c&&"hiddenLabel",d&&"readOnly"],input:["input",n&&"disabled","search"===f&&"inputTypeSearch",u&&"inputMultiline","small"===p&&"inputSizeSmall",c&&"inputHiddenLabel",h&&"inputAdornedStart",i&&"inputAdornedEnd",d&&"readOnly"]},ML,t)})(ee),re=L.root||c.Root||LL,ne=P.root||u.root||{},oe=L.input||c.Input||zL;return Q=(0,Se.A)({},Q,null!=(n=P.input)?n:u.input),(0,Nt.jsxs)(e.Fragment,{children:[!h&&NL,(0,Nt.jsxs)(re,(0,Se.A)({},ne,!Fi(re)&&{ownerState:(0,Se.A)({},ee,ne.ownerState)},{ref:r,onClick:e=>{H.current&&e.currentTarget===e.target&&H.current.focus(),A&&A(e)}},D,{className:ao(te.root,ne.className,l,E&&"MuiInputBase-readOnly"),children:[z,(0,Nt.jsx)(vO.Provider,{value:null,children:(0,Nt.jsx)(oe,(0,Se.A)({ownerState:ee,"aria-invalid":G.error,"aria-describedby":i,autoComplete:a,autoFocus:s,defaultValue:d,disabled:G.disabled,id:g,onAnimationStart:e=>{J("mui-auto-fill-cancel"===e.animationName?H.current:{value:"x"})},name:C,placeholder:M,readOnly:E,required:G.required,rows:O,value:B,onKeyDown:R,onKeyUp:I,type:N},Q,!Fi(oe)&&{as:Y,ownerState:(0,Se.A)({},ee,Q.ownerState)},{ref:V,className:ao(te.input,Q.className,E&&"MuiInputBase-readOnly"),onBlur:e=>{k&&k(e),y.onBlur&&y.onBlur(e),Z&&Z.onBlur?Z.onBlur(e):U(!1)},onChange:(e,...t)=>{if(!$){const t=e.target||H.current;if(null==t)throw new Error((0,je.A)(1));J({value:t.value})}y.onChange&&y.onChange(e,...t),S&&S(e,...t)},onFocus:e=>{G.disabled?e.stopPropagation():(j&&j(e),y.onFocus&&y.onFocus(e),Z&&Z.onFocus?Z.onFocus(e):U(!0))}}))}),f,T?T((0,Se.A)({},G,{startAdornment:z})):null]}))]})}),DL=FL;function BL(e){return ho("MuiInput",e)}const $L=(0,Se.A)({},EL,fo("MuiInput",["root","underline","input"])),HL=["disableUnderline","components","componentsProps","fullWidth","inputComponent","multiline","slotProps","slots","type"],WL=jo(LL,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...OL(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{let r="light"===e.palette.mode?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(r=`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`),(0,Se.A)({position:"relative"},t.formControl&&{"label + &":{marginTop:16}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[t.color].main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${$L.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${$L.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${$L.disabled}, .${$L.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${r}`}},[`&.${$L.disabled}:before`]:{borderBottomStyle:"dotted"}})}),VL=jo(zL,{name:"MuiInput",slot:"Input",overridesResolver:PL})({}),qL=e.forwardRef(function(e,t){var r,n,o,i;const a=Io({props:e,name:"MuiInput"}),{disableUnderline:s,components:l={},componentsProps:c,fullWidth:u=!1,inputComponent:d="input",multiline:p=!1,slotProps:h,slots:f={},type:m="text"}=a,g=(0,Ae.A)(a,HL),b=(e=>{const{classes:t,disableUnderline:r}=e,n=_o({root:["root",!r&&"underline"],input:["input"]},BL,t);return(0,Se.A)({},t,n)})(a),y={root:{ownerState:{disableUnderline:s}}},v=(null!=h?h:c)?(0,Re.A)(null!=h?h:c,y):y,x=null!=(r=null!=(n=f.root)?n:l.Root)?r:WL,w=null!=(o=null!=(i=f.input)?i:l.Input)?o:VL;return(0,Nt.jsx)(DL,(0,Se.A)({slots:{root:x,input:w},slotProps:v,fullWidth:u,inputComponent:d,multiline:p,ref:t,type:m},g,{classes:b}))});qL.muiName="Input";const UL=qL;function ZL(e){return ho("MuiFilledInput",e)}const GL=(0,Se.A)({},EL,fo("MuiFilledInput",["root","underline","input"])),KL=["disableUnderline","components","componentsProps","fullWidth","hiddenLabel","inputComponent","multiline","slotProps","slots","type"],XL=jo(LL,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...OL(e,t),!r.disableUnderline&&t.underline]}})(({theme:e,ownerState:t})=>{var r;const n="light"===e.palette.mode,o=n?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",i=n?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",a=n?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",s=n?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return(0,Se.A)({position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:a,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i}},[`&.${GL.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:i},[`&.${GL.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:s}},!t.disableUnderline&&{"&::after":{borderBottom:`2px solid ${null==(r=(e.vars||e).palette[t.color||"primary"])?void 0:r.main}`,left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${GL.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${GL.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / ${e.vars.opacity.inputUnderline})`:o}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${GL.disabled}, .${GL.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${GL.disabled}:before`]:{borderBottomStyle:"dotted"}},t.startAdornment&&{paddingLeft:12},t.endAdornment&&{paddingRight:12},t.multiline&&(0,Se.A)({padding:"25px 12px 8px"},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9}))}),JL=jo(zL,{name:"MuiFilledInput",slot:"Input",overridesResolver:PL})(({theme:e,ownerState:t})=>(0,Se.A)({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{paddingTop:21,paddingBottom:4},t.hiddenLabel&&{paddingTop:16,paddingBottom:17},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0},t.hiddenLabel&&"small"===t.size&&{paddingTop:8,paddingBottom:9},t.multiline&&{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0})),YL=e.forwardRef(function(e,t){var r,n,o,i;const a=Io({props:e,name:"MuiFilledInput"}),{components:s={},componentsProps:l,fullWidth:c=!1,inputComponent:u="input",multiline:d=!1,slotProps:p,slots:h={},type:f="text"}=a,m=(0,Ae.A)(a,KL),g=(0,Se.A)({},a,{fullWidth:c,inputComponent:u,multiline:d,type:f}),b=(e=>{const{classes:t,disableUnderline:r}=e,n=_o({root:["root",!r&&"underline"],input:["input"]},ZL,t);return(0,Se.A)({},t,n)})(a),y={root:{ownerState:g},input:{ownerState:g}},v=(null!=p?p:l)?(0,Re.A)(y,null!=p?p:l):y,x=null!=(r=null!=(n=h.root)?n:s.Root)?r:XL,w=null!=(o=null!=(i=h.input)?i:s.Input)?o:JL;return(0,Nt.jsx)(DL,(0,Se.A)({slots:{root:x,input:w},componentsProps:v,fullWidth:c,inputComponent:u,multiline:d,ref:t,type:f},m,{classes:b}))});YL.muiName="Input";const QL=YL;var ez;const tz=["children","classes","className","label","notched"],rz=jo("fieldset",{shouldForwardProp:Ao})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),nz=jo("legend",{shouldForwardProp:Ao})(({ownerState:e,theme:t})=>(0,Se.A)({float:"unset",width:"auto",overflow:"hidden"},!e.withLabel&&{padding:0,lineHeight:"11px",transition:t.transitions.create("width",{duration:150,easing:t.transitions.easing.easeOut})},e.withLabel&&(0,Se.A)({display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:t.transitions.create("max-width",{duration:50,easing:t.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}},e.notched&&{maxWidth:"100%",transition:t.transitions.create("max-width",{duration:100,easing:t.transitions.easing.easeOut,delay:50})})));function oz(e){return ho("MuiOutlinedInput",e)}const iz=(0,Se.A)({},EL,fo("MuiOutlinedInput",["root","notchedOutline","input"])),az=["components","fullWidth","inputComponent","label","multiline","notched","slots","type"],sz=jo(LL,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiOutlinedInput",slot:"Root",overridesResolver:OL})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return(0,Se.A)({position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${iz.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${iz.notchedOutline}`]:{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:r}},[`&.${iz.focused} .${iz.notchedOutline}`]:{borderColor:(e.vars||e).palette[t.color].main,borderWidth:2},[`&.${iz.error} .${iz.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${iz.disabled} .${iz.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}},t.startAdornment&&{paddingLeft:14},t.endAdornment&&{paddingRight:14},t.multiline&&(0,Se.A)({padding:"16.5px 14px"},"small"===t.size&&{padding:"8.5px 14px"}))}),lz=jo(function(e){const{className:t,label:r,notched:n}=e,o=(0,Ae.A)(e,tz),i=null!=r&&""!==r,a=(0,Se.A)({},e,{notched:n,withLabel:i});return(0,Nt.jsx)(rz,(0,Se.A)({"aria-hidden":!0,className:t,ownerState:a},o,{children:(0,Nt.jsx)(nz,{ownerState:a,children:i?(0,Nt.jsx)("span",{children:r}):ez||(ez=(0,Nt.jsx)("span",{className:"notranslate",children:""}))})}))},{name:"MuiOutlinedInput",slot:"NotchedOutline",overridesResolver:(e,t)=>t.notchedOutline})(({theme:e})=>{const t="light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?`rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:t}}),cz=jo(zL,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:PL})(({theme:e,ownerState:t})=>(0,Se.A)({padding:"16.5px 14px"},!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:"light"===e.palette.mode?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:"light"===e.palette.mode?null:"#fff",caretColor:"light"===e.palette.mode?null:"#fff",borderRadius:"inherit"}},e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},"small"===t.size&&{padding:"8.5px 14px"},t.multiline&&{padding:0},t.startAdornment&&{paddingLeft:0},t.endAdornment&&{paddingRight:0})),uz=e.forwardRef(function(t,r){var n,o,i,a,s;const l=Io({props:t,name:"MuiOutlinedInput"}),{components:c={},fullWidth:u=!1,inputComponent:d="input",label:p,multiline:h=!1,notched:f,slots:m={},type:g="text"}=l,b=(0,Ae.A)(l,az),y=(e=>{const{classes:t}=e,r=_o({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},oz,t);return(0,Se.A)({},t,r)})(l),v=xO(),x=qO({props:l,muiFormControl:v,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w=(0,Se.A)({},l,{color:x.color||"primary",disabled:x.disabled,error:x.error,focused:x.focused,formControl:v,fullWidth:u,hiddenLabel:x.hiddenLabel,multiline:h,size:x.size,type:g}),_=null!=(n=null!=(o=m.root)?o:c.Root)?n:sz,C=null!=(i=null!=(a=m.input)?a:c.Input)?i:cz;return(0,Nt.jsx)(DL,(0,Se.A)({slots:{root:_,input:C},renderSuffix:t=>(0,Nt.jsx)(lz,{ownerState:w,className:y.notchedOutline,label:null!=p&&""!==p&&x.required?s||(s=(0,Nt.jsxs)(e.Fragment,{children:[p," ","*"]})):p,notched:void 0!==f?f:Boolean(t.startAdornment||t.filled||t.focused)}),fullWidth:u,inputComponent:d,multiline:h,ref:r,type:g},b,{classes:(0,Se.A)({},y,{notchedOutline:null})}))});uz.muiName="Input";const dz=uz,pz=["autoWidth","children","classes","className","defaultOpen","displayEmpty","IconComponent","id","input","inputProps","label","labelId","MenuProps","multiple","native","onClose","onOpen","open","renderValue","SelectDisplayProps","variant"],hz=["root"],fz={name:"MuiSelect",overridesResolver:(e,t)=>t.root,shouldForwardProp:e=>Ao(e)&&"variant"!==e,slot:"Root"},mz=jo(UL,fz)(""),gz=jo(dz,fz)(""),bz=jo(QL,fz)(""),yz=e.forwardRef(function(t,r){const n=Io({name:"MuiSelect",props:t}),{autoWidth:o=!1,children:i,classes:a={},className:s,defaultOpen:l=!1,displayEmpty:c=!1,IconComponent:u=kL,id:d,input:p,inputProps:h,label:f,labelId:m,MenuProps:g,multiple:b=!1,native:y=!1,onClose:v,onOpen:x,open:w,renderValue:_,SelectDisplayProps:C,variant:k="outlined"}=n,S=(0,Ae.A)(n,pz),A=y?uL:CL,j=qO({props:n,muiFormControl:xO(),states:["variant","error"]}),R=j.variant||k,I=(0,Se.A)({},n,{variant:R,classes:a}),M=(e=>{const{classes:t}=e;return t})(I),E=(0,Ae.A)(M,hz),T=p||{standard:(0,Nt.jsx)(mz,{ownerState:I}),outlined:(0,Nt.jsx)(gz,{label:f,ownerState:I}),filled:(0,Nt.jsx)(bz,{ownerState:I})}[R],O=Eo(r,T.ref);return(0,Nt.jsx)(e.Fragment,{children:e.cloneElement(T,(0,Se.A)({inputComponent:A,inputProps:(0,Se.A)({children:i,error:j.error,IconComponent:u,variant:R,type:void 0,multiple:b},y?{id:d}:{autoWidth:o,defaultOpen:l,displayEmpty:c,labelId:m,MenuProps:g,onClose:v,onOpen:x,open:w,renderValue:_,SelectDisplayProps:(0,Se.A)({id:d},C)},h,{classes:h?(0,Re.A)(E,h.classes):E},p?p.props.inputProps:{})},(b&&y||c)&&"outlined"===R?{notched:!0}:{},{ref:O,className:ao(T.props.className,s,M.root)},!p&&{variant:R},S))})});yz.muiName="Select";const vz=yz,xz=t().forwardRef((e,r)=>t().createElement(ka,{viewBox:"0 0 24 24",...e,ref:r},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 9.21967C5.76256 8.92678 6.23744 8.92678 6.53033 9.21967L12 14.6893L17.4697 9.21967C17.7626 8.92678 18.2374 8.92678 18.5303 9.21967C18.8232 9.51256 18.8232 9.98744 18.5303 10.2803L12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L5.46967 10.2803C5.17678 9.98744 5.17678 9.51256 5.46967 9.21967Z"}))),wz=t().forwardRef((e,r)=>{const{MenuProps:n={},...o}=e;return t().createElement(vz,{...o,MenuProps:{...n,MenuListProps:{dense:"tiny"===o.size,...n.MenuListProps||{}}},ref:r})});wz.defaultProps={IconComponent:xz};var _z=wz,Cz=t().forwardRef((e,r)=>t().createElement(HO,{...e,ref:r}));function kz(e){return ho("MuiListItemIcon",e)}const Sz=fo("MuiListItemIcon",["root","alignItemsFlexStart"]);function Az(e){return ho("MuiMenuItem",e)}const jz=fo("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]),Rz=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],Iz=jo(xi,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})(({theme:e,ownerState:t})=>(0,Se.A)({},e.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!t.disableGutters&&{paddingLeft:16,paddingRight:16},t.divider&&{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${jz.selected}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity),[`&.${jz.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)}},[`&.${jz.selected}:hover`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:e.vars?`rgba(${e.vars.palette.primary.mainChannel} / ${e.vars.palette.action.selectedOpacity})`:(0,Oe.X4)(e.palette.primary.main,e.palette.action.selectedOpacity)}},[`&.${jz.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${jz.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`& + .${pO.root}`]:{marginTop:e.spacing(1),marginBottom:e.spacing(1)},[`& + .${pO.inset}`]:{marginLeft:52},[`& .${dC.root}`]:{marginTop:0,marginBottom:0},[`& .${dC.inset}`]:{paddingLeft:36},[`& .${Sz.root}`]:{minWidth:36}},!t.dense&&{[e.breakpoints.up("sm")]:{minHeight:"auto"}},t.dense&&(0,Se.A)({minHeight:32,paddingTop:4,paddingBottom:4},e.typography.body2,{[`& .${Sz.root} svg`]:{fontSize:"1.25rem"}}))),Mz=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiMenuItem"}),{autoFocus:o=!1,component:i="li",dense:a=!1,divider:s=!1,disableGutters:l=!1,focusVisibleClassName:c,role:u="menuitem",tabIndex:d,className:p}=n,h=(0,Ae.A)(n,Rz),f=e.useContext(cC),m=e.useMemo(()=>({dense:a||f.dense||!1,disableGutters:l}),[f.dense,a,l]),g=e.useRef(null);XC(()=>{o&&g.current&&g.current.focus()},[o]);const b=(0,Se.A)({},n,{dense:m.dense,divider:s,disableGutters:l}),y=(e=>{const{disabled:t,dense:r,divider:n,disableGutters:o,selected:i,classes:a}=e,s=_o({root:["root",r&&"dense",t&&"disabled",!o&&"gutters",n&&"divider",i&&"selected"]},Az,a);return(0,Se.A)({},a,s)})(n),v=Eo(g,r);let x;return n.disabled||(x=void 0!==d?d:-1),(0,Nt.jsx)(cC.Provider,{value:m,children:(0,Nt.jsx)(Iz,(0,Se.A)({ref:v,role:u,tabIndex:x,component:i,focusVisibleClassName:ao(y.focusVisible,c),className:ao(y.root,p)},h,{ownerState:b,classes:y}))})});var Ez=t().forwardRef((e,r)=>t().createElement(Mz,{...e,ref:r}));const Tz=Object.freeze({success:{icon:uO,iconColor:"success",borderColor:"#d5d8dc",textColor:"#0C0D0E"},error:{icon:cO,iconColor:"error",borderColor:"#DC2626",textColor:"#DC2626"},warning:{icon:lO,iconColor:"warning",borderColor:"#D97706",textColor:"#0C0D0E"}}),Oz=Object.freeze({h1:(0,tS.__)("Main heading","pojo-accessibility"),h2:(0,tS.__)("Subheading","pojo-accessibility"),h3:(0,tS.__)("Subsection heading","pojo-accessibility"),h4:(0,tS.__)("Subsection of H3","pojo-accessibility"),h5:(0,tS.__)("Subsection of H4","pojo-accessibility"),h6:(0,tS.__)("Subsection of H5","pojo-accessibility"),p:(0,tS.__)("Mark as regular text","pojo-accessibility")}),Pz=Object.entries(Oz).map(([e,t])=>(0,Nt.jsx)(Ez,{value:e,dense:!0,children:(0,Nt.jsxs)(Jw,{sx:{fontSize:"14px"},children:[(0,Nt.jsx)("b",{children:e.toUpperCase()})," - ",t]})},e)),Lz=Object.freeze({missing_h1_check:{title:(0,tS.__)("Missing a H1 main heading","pojo-accessibility"),description:(0,tS.__)("Change this to a H1, or choose a different heading as the H1 for this page.","pojo-accessibility")},single_h1_check:{title:(0,tS.__)("More than one H1 main heading","pojo-accessibility"),description:(0,tS.__)("Change one of your H1s to a different level that makes sense for your structure.","pojo-accessibility")},heading_hierarchy_check:{title:(0,tS.__)("Heading skips a level","pojo-accessibility"),description:(0,tS.__)("Change this heading so it’s in sequence with the levels above and below it.","pojo-accessibility")}}),zz=Ma(Jw)`
color: ${({theme:e})=>e.palette.text.secondary};
font-size: 14px;
line-height: 143%;
letter-spacing: 0.15px;
&:first-of-type {
margin-top: ${({theme:e})=>e.spacing(2)};
margin-bottom: ${({theme:e})=>e.spacing(1)};
}
&:last-of-type {
margin: 0;
font-size: 13px;
}
span {
font-weight: 600;
}
`,Nz=Ma(Cz)`
display: flex;
align-items: center;
padding: ${({theme:e})=>e.spacing(1.5)};
box-shadow: 0 1px 5px 0 ${({theme:e})=>e.palette.divider};
background-color: ${({theme:e})=>e.palette.background.default};
`,Fz=Ma(vo)`
display: flex;
align-items: center;
`,Dz=Ma(Jw)`
margin-inline-start: ${({theme:e})=>e.spacing(.5)};
color: ${({theme:e})=>e.palette.text.secondary};
font-size: 14px;
font-weight: 400;
line-height: 18px;
letter-spacing: 0.15px;
b {
font-weight: 600;
}
`,Bz=Ma("ul")`
padding: 0;
li {
list-style-type: none;
}
`,$z=Ma("li",{shouldForwardProp:e=>"isExpanded"!==e})`
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
margin-bottom: ${({theme:e})=>e.spacing(1.25)};
box-shadow: ${({isExpanded:e,theme:t})=>e?`0 0 0 2px ${t.palette.action.active}`:`0 0 0 1px ${t.palette.divider}`};
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
user-select: none;
transition: 300ms ease-in-out;
&:hover {
box-shadow: ${({isExpanded:e,theme:t})=>e?`0 0 0 2px ${t.palette.action.active}`:`0 0 0 1px ${t.palette.text.primary}`};
transition: 300ms ease-in-out;
}
& * {
box-sizing: border-box;
}
`,Hz=Ma(F_,{shouldForwardProp:e=>!["isExpanded","level"].includes(e)})`
width: 100%;
display: flex;
justify-content: flex-start;
align-items: center;
padding: ${({theme:e})=>e.spacing(1)};
padding-inline-start: calc(
(12px * ${({level:e})=>e-1}) + ${({theme:e})=>e.spacing(1)}
);
transition: 300ms ease-in-out;
cursor: pointer;
&:hover {
background-color: ${({isExpanded:e,theme:t})=>e?"initial":t.palette.action.hover};
transition: 300ms ease-in-out;
}
.MuiSvgIcon-root {
margin-inline-start: auto;
}
`,Wz=Ma(vo)`
width: 100%;
max-height: 500px;
padding: ${({theme:e})=>e.spacing(1)};
padding-top: 0;
`,Vz=Ma(vo,{shouldForwardProp:e=>"status"!==e})`
width: 32px;
height: 32px;
padding: ${({theme:e})=>`${e.spacing(.5)} ${e.spacing(.75)}`};
margin-inline-end: ${({theme:e})=>e.spacing(1)};
border: 1px solid ${({status:e})=>Tz[e].borderColor};
background: #f3f3f4;
border-radius: ${({theme:e})=>e.shape.borderRadius}px;
span {
color: ${({status:e})=>Tz[e].textColor};
}
`,qz=Ma(Jw,{shouldForwardProp:e=>"level"!==e})`
max-width: calc(268px - (12px * ${({level:e})=>e-1}));
color: ${({theme:e})=>e.palette.text.primary};
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 20px;
letter-spacing: 0.15px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
`,Uz=Ma(Ga)`
margin-top: ${({theme:e})=>e.spacing(1.5)};
padding: ${({theme:e})=>`${e.spacing(1)} ${e.spacing(1.5)}`};
`,Zz=Ma(vo)`
width: 100%;
margin-top: ${({theme:e})=>e.spacing(2)};
`,Gz=Ma(_z)`
.MuiSelect-select {
.MuiTypography-root b {
font-weight: 400;
}
}
`,Kz=Ma(vo)`
width: 100%;
display: flex;
align-items: center;
margin-top: ${({theme:e})=>e.spacing(2)};
.MuiButton-text {
margin-inline-start: auto;
margin-inline-end: ${({theme:e})=>e.spacing(1)};
}
`,Xz=Ma(XO)`
margin-left: -7px;
.MuiTypography-root {
font-size: 14px;
}
`,Jz=(0,Vn.memo)(()=>(0,Nt.jsxs)(Nz,{direction:"row",divider:(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0}),gap:2,children:[(0,Nt.jsx)(Nk,{width:70,height:18}),(0,Nt.jsx)(Nk,{width:70,height:18}),(0,Nt.jsx)(Nk,{width:110,height:18})]})),Yz=({icon:e,text:t})=>(0,Nt.jsxs)(Fz,{children:[e,(0,Nt.jsx)(Dz,{variant:"body2",as:"span",children:_A(t,{b:({children:e})=>(0,Nt.jsx)("b",{children:e})})})]});Yz.propTypes={icon:IR().node.isRequired,text:IR().string.isRequired};const Qz=Yz,eN=({success:e,error:t,warning:r})=>{const{isLoading:n}=sO();return n?(0,Nt.jsx)(Jz,{}):(0,Nt.jsxs)(Nz,{direction:"row",divider:(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0}),gap:2,children:[e&&(0,Nt.jsx)(Qz,{icon:(0,Nt.jsx)(uO,{color:"success",fontSize:"small"}),text:
// Translators: %s - success count
// Translators: %s - success count
(0,tS.sprintf)((0,tS.__)("{{b}}%s{{/b}} Pass","pojo-accessibility"),e)}),t&&(0,Nt.jsx)(Qz,{icon:(0,Nt.jsx)(cO,{color:"error",fontSize:"small"}),text:
// Translators: %s - errors count
// Translators: %s - errors count
(0,tS.sprintf)((0,tS.__)("{{b}}%s{{/b}} Issues","pojo-accessibility"),t)}),r&&(0,Nt.jsx)(Qz,{icon:(0,Nt.jsx)(lO,{color:"warning",fontSize:"small"}),text:(0,tS.sprintf)(
// Translators: %s - warnings count
// Translators: %s - warnings count
(0,tS.__)("{{b}}%s{{/b}} Need review","pojo-accessibility"),r)})]})};eN.propTypes={success:IR().number,error:IR().number,warning:IR().number};const tN=eN,rN=Ma(vo)`
display: flex;
align-items: center;
padding: ${({theme:e})=>e.spacing(1.5)};
gap: ${({theme:e})=>e.spacing(1)};
background-color: ${({theme:e})=>e.palette.background.default};
`,nN=()=>{const{validationStats:e}=sO(),{openedBlock:t,setOpenedBlock:r,isManage:n}=QS();return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(vo,{children:(0,Nt.jsxs)(rN,{children:[(0,Nt.jsx)(Ca,{color:"secondary",onClick:()=>{ZS(),r(n?mS.management:mS.main)},sx:{whiteSpace:"nowrap"},"aria-label":(0,tS.__)("Return to all issues","pojo-accessibility"),size:"small",children:(0,Nt.jsx)(SA,{})}),(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",gap:1,children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h3",children:e.total?`${bS[t]} (${e.total})`:bS[t]}),yS[t]&&(0,Nt.jsx)(SR,{tabIndex:"0",PopperProps:{disablePortal:!0},content:(0,Nt.jsx)(Jw,{variant:"body2",sx:{p:2,maxWidth:"300px"},children:yS[t]}),children:(0,Nt.jsx)(AA,{fontSize:"small",color:"action"})})]})]})}),!IS()&&(0,Nt.jsx)(tN,{success:e.success,error:e.error,warning:e.warning})]})},oN=()=>{const{openedBlock:e}=QS();return e===mS.headingStructure?(0,Nt.jsx)(nN,{}):(0,Nt.jsx)(jR,{})},iN=()=>{const{openedBlock:e,results:t,loading:r,isError:n,isManage:o,violation:i}=QS(),{pageData:a,isConnected:s}=nO(),l=fS&&!n&&!r&&e===mS.main&&i>0;return o||s&&!n&&fS&&(i||r)?e===mS.main||e===mS.management?(0,Nt.jsxs)(Ek,{children:[(0,Nt.jsxs)(Tk,{sx:{mb:s&&!n?2:0},children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",as:"h3",color:"text.primary",children:a.title}),l&&(0,Nt.jsx)(lC,{size:"small",color:"error",variant:"outlined",label:`${t?i:""} ${(0,tS.__)("Issues found","pojo-accessibility")}`})]}),o?(0,Nt.jsx)(eA,{}):(0,Nt.jsx)(CA,{})]}):(0,Nt.jsx)(oN,{}):null};var aN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.5303 5.46967C18.8232 5.76256 18.8232 6.23744 18.5303 6.53033L6.53033 18.5303C6.23744 18.8232 5.76256 18.8232 5.46967 18.5303C5.17678 18.2374 5.17678 17.7626 5.46967 17.4697L17.4697 5.46967C17.7626 5.17678 18.2374 5.17678 18.5303 5.46967Z"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 5.46967C5.76256 5.17678 6.23744 5.17678 6.53033 5.46967L18.5303 17.4697C18.8232 17.7626 18.8232 18.2374 18.5303 18.5303C18.2374 18.8232 17.7626 18.8232 17.4697 18.5303L5.46967 6.53033C5.17678 6.23744 5.17678 5.76256 5.46967 5.46967Z"}))),sN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{d:"M16.5 2.75C16.5 2.33579 16.1642 2 15.75 2C15.3358 2 15 2.33579 15 2.75V4H8.5V2.75C8.5 2.33579 8.16421 2 7.75 2C7.33579 2 7 2.33579 7 2.75V4H5.75C5.02065 4 4.32118 4.28973 3.80546 4.80546C3.28973 5.32118 3 6.02065 3 6.75V18.75C3 19.4793 3.28973 20.1788 3.80546 20.6945C4.32118 21.2103 5.02065 21.5 5.75 21.5H12.75C13.1642 21.5 13.5 21.1642 13.5 20.75C13.5 20.3358 13.1642 20 12.75 20H5.75C5.41848 20 5.10054 19.8683 4.86612 19.6339C4.6317 19.3995 4.5 19.0815 4.5 18.75V11.5H16.25C16.6642 11.5 17 11.1642 17 10.75C17 10.3358 16.6642 10 16.25 10H4.5V6.75C4.5 6.41848 4.6317 6.10054 4.86612 5.86612C5.10054 5.6317 5.41848 5.5 5.75 5.5H7V6.75C7 7.16421 7.33579 7.5 7.75 7.5C8.16421 7.5 8.5 7.16421 8.5 6.75V5.5H15V6.75C15 7.16421 15.3358 7.5 15.75 7.5C16.1642 7.5 16.5 7.16421 16.5 6.75V5.5H17.75C18.0815 5.5 18.3995 5.6317 18.6339 5.86612C18.8683 6.10054 19 6.41848 19 6.75V9.75C19 10.1642 19.3358 10.5 19.75 10.5C20.1642 10.5 20.5 10.1642 20.5 9.75V6.75C20.5 6.02065 20.2103 5.32118 19.6945 4.80546C19.1788 4.28973 18.4793 4 17.75 4H16.5V2.75Z"}),e.createElement("path",{d:"M19.5 14V13.75C19.5 13.3358 19.1642 13 18.75 13C18.3358 13 18 13.3358 18 13.75V14.0139C17.4952 14.0703 17.0216 14.2964 16.659 14.659C16.2371 15.081 16 15.6533 16 16.25C16 16.8467 16.2371 17.419 16.659 17.841C17.081 18.2629 17.6533 18.5 18.25 18.5H19.25C19.4489 18.5 19.6397 18.579 19.7803 18.7197C19.921 18.8603 20 19.0511 20 19.25C20 19.4489 19.921 19.6397 19.7803 19.7803C19.6397 19.921 19.4489 20 19.25 20H16.75C16.3358 20 16 20.3358 16 20.75C16 21.1642 16.3358 21.5 16.75 21.5H18V21.75C18 22.1642 18.3358 22.5 18.75 22.5C19.1642 22.5 19.5 22.1642 19.5 21.75V21.4861C20.0048 21.4297 20.4784 21.2036 20.841 20.841C21.2629 20.419 21.5 19.8467 21.5 19.25C21.5 18.6533 21.2629 18.081 20.841 17.659C20.419 17.2371 19.8467 17 19.25 17H18.25C18.0511 17 17.8603 16.921 17.7197 16.7803C17.579 16.6397 17.5 16.4489 17.5 16.25C17.5 16.0511 17.579 15.8603 17.7197 15.7197C17.8603 15.579 18.0511 15.5 18.25 15.5H20.75C21.1642 15.5 21.5 15.1642 21.5 14.75C21.5 14.3358 21.1642 14 20.75 14H19.5Z"}))),lN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4.75C6.66848 4.75 6.35054 4.8817 6.11612 5.11612C5.8817 5.35054 5.75 5.66848 5.75 6V18C5.75 18.3315 5.8817 18.6495 6.11612 18.8839C6.35054 19.1183 6.66848 19.25 7 19.25H9.615C10.0292 19.25 10.365 19.5858 10.365 20C10.365 20.4142 10.0292 20.75 9.615 20.75H7C6.27065 20.75 5.57118 20.4603 5.05546 19.9445C4.53973 19.4288 4.25 18.7293 4.25 18V6C4.25 5.27065 4.53973 4.57118 5.05546 4.05546C5.57118 3.53973 6.27065 3.25 7 3.25H15C15.7293 3.25 16.4288 3.53973 16.9445 4.05546C17.4603 4.57118 17.75 5.27065 17.75 6V14C17.75 14.4142 17.4142 14.75 17 14.75C16.5858 14.75 16.25 14.4142 16.25 14V6C16.25 5.66848 16.1183 5.35054 15.8839 5.11612C15.6495 4.8817 15.3315 4.75 15 4.75H7ZM8.25 8C8.25 7.58579 8.58579 7.25 9 7.25H13C13.4142 7.25 13.75 7.58579 13.75 8C13.75 8.41421 13.4142 8.75 13 8.75H9C8.58579 8.75 8.25 8.41421 8.25 8ZM8.25 12C8.25 11.5858 8.58579 11.25 9 11.25H11C11.4142 11.25 11.75 11.5858 11.75 12C11.75 12.4142 11.4142 12.75 11 12.75H9C8.58579 12.75 8.25 12.4142 8.25 12ZM20.5303 16.4697C20.8232 16.7626 20.8232 17.2374 20.5303 17.5303L16.5303 21.5303C16.2374 21.8232 15.7626 21.8232 15.4697 21.5303L13.4697 19.5303C13.1768 19.2374 13.1768 18.7626 13.4697 18.4697C13.7626 18.1768 14.2374 18.1768 14.5303 18.4697L16 19.9393L19.4697 16.4697C19.7626 16.1768 20.2374 16.1768 20.5303 16.4697Z"}))),cN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.71403 6.89535C9.70479 6.84833 9.69995 6.79973 9.69995 6.75L9.69995 2.58333C9.69995 2.11469 9.9244 1.69984 10.2627 1.41791C10.597 1.13931 11.0256 1 11.45 1H12.45C12.8743 1 13.3029 1.13931 13.6372 1.41791C13.9755 1.69984 14.2 2.11469 14.2 2.58333V6.75C14.2 6.80216 14.1946 6.85307 14.1845 6.90222C14.3206 6.94951 14.4554 7.00114 14.5886 7.05709C15.4274 7.40937 16.1876 7.9254 16.8245 8.575C17.4615 9.2246 17.9625 9.99472 18.2983 10.8403C18.4747 11.2844 18.6036 11.7447 18.6836 12.2135C18.7873 12.3147 18.8623 12.4464 18.8937 12.5965L20.9841 21.5965C21.0303 21.8176 20.9745 22.0477 20.8321 22.223C20.6897 22.3982 20.4758 22.5 20.25 22.5H3.75001C3.52417 22.5 3.31036 22.3982 3.16794 22.223C3.02552 22.0477 2.96966 21.8176 3.01588 21.5965L5.10636 12.5965C5.11848 12.5386 5.1371 12.4834 5.16135 12.4316C5.23631 11.8875 5.37667 11.3532 5.58032 10.8403C5.91608 9.99473 6.41711 9.22462 7.05409 8.57502C7.69107 7.92541 8.45122 7.40937 9.29004 7.05709C9.42974 6.99842 9.57114 6.9445 9.71403 6.89535ZM12.7 6.56577V2.59448C12.6968 2.58977 12.69 2.58113 12.6769 2.57024C12.6362 2.53628 12.556 2.5 12.45 2.5L11.45 2.5C11.3439 2.5 11.2637 2.53628 11.223 2.57024C11.2099 2.58113 11.2031 2.58977 11.2 2.59448V6.56343C11.445 6.53679 11.6918 6.52336 11.9393 6.52336C12.194 6.52336 12.4479 6.53757 12.7 6.56577ZM9.80005 21V18.75C9.80005 18.3358 9.46426 18 9.05005 18C8.63584 18 8.30005 18.3358 8.30005 18.75V21H4.67301L6.44992 13.5H17.5501L19.327 21H15.8V18.75C15.8 18.3358 15.4643 18 15.05 18C14.6358 18 14.3 18.3358 14.3 18.75V21H9.80005ZM16.9042 11.3939C16.9829 11.5922 17.0496 11.7946 17.1039 12H6.77477C6.82907 11.7946 6.89569 11.5922 6.97443 11.3939C7.23658 10.7337 7.62777 10.1324 8.1251 9.62522C8.62244 9.11804 9.21593 8.71513 9.87085 8.44008C10.5258 8.16503 11.229 8.02336 11.9393 8.02336C12.6497 8.02336 13.3529 8.16503 14.0078 8.44007C14.6627 8.71512 15.2562 9.11803 15.7535 9.62521C16.2509 10.1324 16.642 10.7337 16.9042 11.3939Z"}))),uN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{d:"M6.90002 11.75C6.90002 12.5784 6.22845 13.25 5.40002 13.25C4.5716 13.25 3.90002 12.5784 3.90002 11.75C3.90002 10.9216 4.5716 10.25 5.40002 10.25C6.22845 10.25 6.90002 10.9216 6.90002 11.75Z"}),e.createElement("path",{d:"M13.5 11.75C13.5 12.5784 12.8285 13.25 12 13.25C11.1716 13.25 10.5 12.5784 10.5 11.75C10.5 10.9216 11.1716 10.25 12 10.25C12.8285 10.25 13.5 10.9216 13.5 11.75Z"}),e.createElement("path",{d:"M20.1 11.75C20.1 12.5784 19.4285 13.25 18.6 13.25C17.7716 13.25 17.1 12.5784 17.1 11.75C17.1 10.9216 17.7716 10.25 18.6 10.25C19.4285 10.25 20.1 10.9216 20.1 11.75Z"}))),dN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 4C14 3.58579 14.3358 3.25 14.75 3.25H19.75C20.1642 3.25 20.5 3.58579 20.5 4V9C20.5 9.41421 20.1642 9.75 19.75 9.75C19.3358 9.75 19 9.41421 19 9V5.81066L10.2803 14.5303C9.98744 14.8232 9.51256 14.8232 9.21967 14.5303C8.92678 14.2374 8.92678 13.7626 9.21967 13.4697L17.9393 4.75H14.75C14.3358 4.75 14 4.41421 14 4ZM3.80546 7.05546C4.32118 6.53973 5.02065 6.25 5.75 6.25H10.75C11.1642 6.25 11.5 6.58579 11.5 7C11.5 7.41421 11.1642 7.75 10.75 7.75H5.75C5.41848 7.75 5.10054 7.8817 4.86612 8.11612C4.6317 8.35054 4.5 8.66848 4.5 9V18C4.5 18.3315 4.6317 18.6495 4.86612 18.8839C5.10054 19.1183 5.41848 19.25 5.75 19.25H14.75C15.0815 19.25 15.3995 19.1183 15.6339 18.8839C15.8683 18.6495 16 18.3315 16 18V13C16 12.5858 16.3358 12.25 16.75 12.25C17.1642 12.25 17.5 12.5858 17.5 13V18C17.5 18.7293 17.2103 19.4288 16.6945 19.9445C16.1788 20.4603 15.4793 20.75 14.75 20.75H5.75C5.02065 20.75 4.32118 20.4603 3.80546 19.9445C3.28973 19.4288 3 18.7293 3 18V9C3 8.27065 3.28973 7.57118 3.80546 7.05546Z"}))),pN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 4.75C4.86193 4.75 4.75 4.86193 4.75 5V7C4.75 7.13807 4.86193 7.25 5 7.25H19C19.1381 7.25 19.25 7.13807 19.25 7V5C19.25 4.86193 19.1381 4.75 19 4.75H5ZM3.25 5C3.25 4.0335 4.0335 3.25 5 3.25H19C19.9665 3.25 20.75 4.0335 20.75 5V7C20.75 7.9665 19.9665 8.75 19 8.75H5C4.0335 8.75 3.25 7.9665 3.25 7V5ZM5 12.75C4.86193 12.75 4.75 12.8619 4.75 13V19C4.75 19.1381 4.86193 19.25 5 19.25H9C9.13807 19.25 9.25 19.1381 9.25 19V13C9.25 12.8619 9.13807 12.75 9 12.75H5ZM3.25 13C3.25 12.0335 4.0335 11.25 5 11.25H9C9.9665 11.25 10.75 12.0335 10.75 13V19C10.75 19.9665 9.9665 20.75 9 20.75H5C4.0335 20.75 3.25 19.9665 3.25 19V13ZM13.25 12C13.25 11.5858 13.5858 11.25 14 11.25H20C20.4142 11.25 20.75 11.5858 20.75 12C20.75 12.4142 20.4142 12.75 20 12.75H14C13.5858 12.75 13.25 12.4142 13.25 12ZM13.25 16C13.25 15.5858 13.5858 15.25 14 15.25H20C20.4142 15.25 20.75 15.5858 20.75 16C20.75 16.4142 20.4142 16.75 20 16.75H14C13.5858 16.75 13.25 16.4142 13.25 16ZM13.25 20C13.25 19.5858 13.5858 19.25 14 19.25H20C20.4142 19.25 20.75 19.5858 20.75 20C20.75 20.4142 20.4142 20.75 20 20.75H14C13.5858 20.75 13.25 20.4142 13.25 20Z"}))),hN=t().forwardRef((e,r)=>{const{direction:n}=ds(),o={...e};return"rtl"===n&&(o.anchorOrigin?.horizontal&&(o.anchorOrigin={...o.anchorOrigin,horizontal:"left"===o.anchorOrigin.horizontal?"right":"left"}),o.transformOrigin?.horizontal&&(o.transformOrigin={...o.transformOrigin,horizontal:"left"===o.transformOrigin.horizontal?"right":"left"})),t().createElement(UP,{...o,ref:r})}),fN=t().forwardRef((e,r)=>t().createElement(rL,{as:hN,...e,ref:r}));const mN=["className"],gN=jo("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})(({theme:e,ownerState:t})=>(0,Se.A)({minWidth:56,color:(e.vars||e).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===t.alignItems&&{marginTop:8})),bN=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiListItemIcon"}),{className:o}=n,i=(0,Ae.A)(n,mN),a=e.useContext(cC),s=(0,Se.A)({},n,{alignItems:a.alignItems}),l=(e=>{const{alignItems:t,classes:r}=e;return _o({root:["root","flex-start"===t&&"alignItemsFlexStart"]},kz,r)})(s);return(0,Nt.jsx)(gN,(0,Se.A)({className:ao(l.root,o),ownerState:s,ref:r},i))});var yN=t().forwardRef((e,r)=>t().createElement(bN,{...e,ref:r}));const{slots:vN,classNames:xN}=Sa("MenuItemIcon",["root"]),wN=Ma(yN,vN.root)({});var _N=t().forwardRef((e,r)=>{const n=Io({props:e,name:vN.root.name});return t().createElement(wN,{...n,ref:r,className:Pi([[xN.root,n.className]]),ownerState:n})});const CN=(window.wp.coreData,window.wp.data,()=>{const{remediations:e,isManage:t,openedBlock:r,setOpenedBlock:n,runNewScan:o}=QS(),{dashboardUrl:i}=nO(),{error:a}=Gn(),[s,l]=(0,Vn.useState)(!1),[c,u]=(0,Vn.useState)(!1),d=(0,Vn.useRef)(null),p=()=>l(!1),h=e=>{Ww(Vw.assistantMenuOptionSelected,{action:e})};return(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Ca,{id:"menu-button","aria-controls":s?"assistant-menu":void 0,"aria-expanded":s?"true":void 0,"aria-haspopup":"true",onClick:()=>{l(!0),Ww(Vw.assistantMenuClicked)},ref:d,"aria-label":(0,tS.__)("Menu","pojo-accessibility"),children:(0,Nt.jsx)(uN,{})}),(0,Nt.jsxs)(fN,{open:s,id:"assistant-menu",anchorEl:d.current,onClose:p,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{"aria-labelledby":"menu-button"},PaperProps:{style:{overflow:"visible"}},disablePortal:!0,children:[(0,Nt.jsxs)(Ez,{onClick:()=>{o(),h("Rescan")},dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(tA,{})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Rescan","pojo-accessibility")})]}),(0,Nt.jsxs)(Ez,{component:"a",href:i,onClick:()=>h("View all scans"),dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(lN,{})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("View all scans","pojo-accessibility")})]}),e.length>0?(0,Nt.jsxs)(Ez,{onClick:async()=>{try{u(!0),await oo.clearCache({url:window.ea11yScannerData?.pageData?.url}),h("Clear cache"),p()}catch(e){a((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}},loading:c,disabled:c,dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(cN,{})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Clear cache","pojo-accessibility")})]}):(0,Nt.jsxs)(Ez,{dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(cN,{color:"disabled"})}),(0,Nt.jsx)(Xk,{children:(0,tS.__)("Clear page cache","pojo-accessibility")})]}),!IS()&&(0,Nt.jsxs)(Ez,{onClick:()=>{p(),n(mS.headingStructure)},dense:!0,disabled:t&&mS.headingStructure===r,selected:t&&mS.headingStructure===r,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(pN,{})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Manage headings","pojo-accessibility")})]}),(0,Nt.jsxs)(Ez,{component:"a",href:"https://my.elementor.com",target:"_blank",rel:"noreferrer",onClick:()=>h("View subscription"),dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(sN,{})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("View subscription","pojo-accessibility")}),(0,Nt.jsx)(_N,{sx:{ml:5},children:(0,Nt.jsx)(dN,{})})]})]})]})}),kN=()=>(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(Yw,{}),(0,Nt.jsxs)(Ok,{variant:"subtitle1",as:"h2",children:[(0,tS.__)("Accessibility Assistant","pojo-accessibility"),(0,Nt.jsx)(lC,{size:"small",variant:"filled",color:"default",sx:{ml:1},label:(0,tS.__)("Beta","pojo-accessibility")})]})]}),SN=e=>{const t=Boolean(window.ea11yScannerData?.isRTL);ZS(),e.remove();const r=new URL(window.location.href);r.searchParams.delete("open-ea11y-assistant"),r.searchParams.delete("open-ea11y-manage"),r.searchParams.delete("open-ea11y-assistant-src"),document.body.style.removeProperty(t?"margin-left":"margin-right"),document.body.prepend(window.ea11yScannerData.adminBar),window.history.replaceState({},"",r.toString())},AN=Ma(vo)`
position: sticky;
top: 0;
z-index: 2;
overflow: visible;
`,jN=Ma(vo)`
display: flex;
align-items: center;
.MuiButtonBase-root {
margin-inline-end: 8px;
}
`,RN=()=>{const{isChanged:e}=QS();return(0,Nt.jsx)(AN,{children:(0,Nt.jsx)(CC,{color:"secondary",elevation:0,square:!0,children:(0,Nt.jsx)(Pk,{children:(0,Nt.jsxs)(vo,{display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,Nt.jsx)(jN,{children:(0,Nt.jsx)(vo,{display:"flex",alignItems:"center",gap:1,children:(0,Nt.jsx)(kN,{})})}),(0,Nt.jsxs)(vo,{display:"flex",gap:1,children:[(0,Nt.jsx)(CN,{}),(0,Nt.jsx)(Ca,{onClick:()=>{const t=document.getElementById(oS);SN(t),e&&oo.triggerSave({object_id:window?.ea11yScannerData?.pageData?.object_id,object_type:window?.ea11yScannerData?.pageData?.object_type})},"aria-label":(0,tS.__)("Close","pojo-accessibility"),children:(0,Nt.jsx)(aN,{})})]})]})})})})},IN=()=>(0,Nt.jsxs)(zk,{children:[(0,Nt.jsx)(Nk,{width:120,height:12,sx:{mb:1}}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48})]}),MN=()=>{const{redirectToConnect:e}=(()=>{const{subscriptionId:e}=123,t=async()=>ro.initConnect();return{redirectToConnect:async()=>{const e=await t();window.open(e,"_self").focus()},getConnectLink:t,getUpgradeLink:()=>{const t=new URL("https://go.elementor.com/acc-upgrade");return t.searchParams.append("subscription_id",e),t.toString()}}})();return(0,Nt.jsxs)(Bk,{children:[(0,Nt.jsx)(t_,{}),(0,Nt.jsx)(Jw,{variant:"subtitle1",color:"text.secondary",children:(0,tS.__)("You may be logged in elsewhere","pojo-accessibility")}),(0,Nt.jsx)(Hk,{variant:"body2",color:"text.secondary",children:(0,tS.__)("Check that you're using the right Ally account or reconnect now.","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",onClick:e,children:(0,tS.__)("Reconnect now","pojo-accessibility")})]})},EN=e=>(0,Nt.jsx)(ka,{viewBox:"0 0 21 15",fontSize:e.size,...e,children:(0,Nt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 0.785156C10.7508 0.785156 10.985 0.910482 11.1241 1.11913L14.6703 6.43847L19.0315 2.9495C19.2777 2.75258 19.6207 2.7306 19.89 2.89448C20.1592 3.05837 20.2973 3.37314 20.2355 3.68224L18.2355 13.6822C18.1654 14.0328 17.8576 14.2852 17.5 14.2852H3.50004C3.14253 14.2852 2.83472 14.0328 2.76461 13.6822L0.764605 3.68224C0.702784 3.37314 0.840845 3.05837 1.11012 2.89448C1.3794 2.7306 1.72241 2.75258 1.96856 2.9495L6.32977 6.43847L9.876 1.11913C10.0151 0.910482 10.2493 0.785156 10.5 0.785156Z"})}),TN=()=>(0,Nt.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"375",height:"166",viewBox:"0 0 375 166",fill:"none",children:[(0,Nt.jsxs)("g",{clipPath:"url(#clip0_223_19073)",children:[(0,Nt.jsx)("path",{d:"M129.07 43.2C131.03 26.77 145.93 13.45 162.36 13.45C178.79 13.45 190.53 26.77 188.57 43.2",fill:"white"}),(0,Nt.jsx)("path",{d:"M129.66 43.27L128.48 43.13C130.47 26.44 145.67 12.86 162.36 12.86C170.44 12.86 177.68 16 182.74 21.7C187.85 27.46 190.13 35.12 189.16 43.27L187.98 43.13C188.91 35.31 186.73 27.98 181.85 22.48C177.02 17.04 170.09 14.04 162.36 14.04C146.25 14.04 131.57 27.15 129.66 43.27Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M182.74 42.37L181.56 42.23C182.28 36.17 180.59 30.48 176.81 26.22C173.06 22 167.69 19.68 161.69 19.68C149.18 19.68 137.78 29.86 136.29 42.38L135.11 42.24C136.67 29.15 148.59 18.5 161.68 18.5C168.02 18.5 173.71 20.97 177.68 25.44C181.69 29.96 183.49 35.98 182.72 42.38L182.74 42.37Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M176.76 42.37L175.58 42.23C176.11 37.77 174.87 33.59 172.09 30.46C169.34 27.36 165.39 25.65 160.98 25.65C151.76 25.65 143.37 33.15 142.27 42.37L141.09 42.23C142.26 32.43 151.18 24.46 160.97 24.46C165.73 24.46 169.99 26.31 172.97 29.67C175.98 33.06 177.32 37.57 176.75 42.37H176.76Z",fill:"black"}),(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("path",{d:"M177.5 13.45C161.07 13.45 146.16 26.77 144.21 43.2H203.71C205.67 26.77 193.93 13.45 177.5 13.45Z",fill:"#EBF1FC"})}),(0,Nt.jsx)("path",{d:"M184.82 66.91C184.69 68.28 185.02 69.76 185.99 70.74C186.96 71.72 188.66 72.02 189.76 71.19C190.86 70.36 190.9 68.37 189.7 67.7",fill:"white"}),(0,Nt.jsx)("path",{d:"M185.81 67.01L184.81 66.92C184.68 68.29 185.01 69.77 185.98 70.75C186.95 71.73 188.65 72.03 189.75 71.2C190.34 70.75 190.63 69.97 190.58 69.24C190.54 68.61 190.25 68.02 189.69 67.7L189.2 68.57C189.51 68.74 189.57 69.14 189.58 69.3C189.61 69.74 189.44 70.17 189.15 70.39C188.51 70.87 187.36 70.7 186.69 70.03C186.02 69.35 185.69 68.22 185.8 67",fill:"black"}),(0,Nt.jsx)("path",{d:"M288.65 39.29H106.42V138.78H288.65V39.29Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M288.14 39.79V138.28H106.92V39.79H288.14ZM289.14 38.79H105.92V139.28H289.14V38.79Z",fill:"black"}),(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("rect",{x:"69.4299",y:"2.60999",width:"256",height:"173",fill:"url(#pattern0_223_19073)"})}),(0,Nt.jsx)("path",{d:"M288.08 39.29H106.42V46.48H288.08V39.29Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M287.57 39.79V45.98H106.92V39.79H287.58M288.57 38.79H105.92V46.98H288.58V38.79H288.57Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M113.96 44.17C115.02 44.17 115.88 43.4805 115.88 42.63C115.88 41.7794 115.02 41.09 113.96 41.09C112.9 41.09 112.04 41.7794 112.04 42.63C112.04 43.4805 112.9 44.17 113.96 44.17Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M122.93 44.17C123.99 44.17 124.85 43.4805 124.85 42.63C124.85 41.7794 123.99 41.09 122.93 41.09C121.87 41.09 121.01 41.7794 121.01 42.63C121.01 43.4805 121.87 44.17 122.93 44.17Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M131.9 44.17C132.96 44.17 133.82 43.4805 133.82 42.63C133.82 41.7794 132.96 41.09 131.9 41.09C130.84 41.09 129.98 41.7794 129.98 42.63C129.98 43.4805 130.84 44.17 131.9 44.17Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M77.1799 118.89C83.0199 114.77 90.5799 113.18 97.5799 114.61C104.58 116.04 110.92 120.47 114.66 126.56C121.15 125.1 128.28 126.88 133.32 131.22C138.36 135.56 141.18 142.35 140.71 148.98H85.4899",fill:"white"}),(0,Nt.jsx)("path",{d:"M76.3899 116.22C83.4599 111.23 92.6199 109.3 101.09 111.04C109.57 112.77 117.24 118.14 121.78 125.5C129.64 123.73 138.27 125.89 144.38 131.14C150.48 136.39 153.9 144.61 153.33 152.64",fill:"white"}),(0,Nt.jsx)("path",{d:"M76.3899 116.22C83.4599 111.23 92.6199 109.3 101.09 111.04C109.57 112.77 117.24 118.14 121.78 125.5C129.64 123.73 138.27 125.89 144.38 131.14C150.48 136.39 153.9 144.61 153.33 152.64",stroke:"black",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M79.77 105.57L80.38 58.0299H142.85L142.24 105.57H79.77Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M142.34 58.5299L141.74 105.07H80.27L80.87 58.5299H142.34ZM143.36 57.5299H79.89L79.27 106.07H142.74L143.36 57.5299Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M144.65 66.2499H81.1699L81.2799 57.5299H144.76L144.65 66.2499Z",fill:"black",stroke:"black",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M83.3501 102.46L83.9601 54.9199H146.43L145.82 102.46H83.3501Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M145.92 55.4199L145.32 101.96H83.8501L84.4501 55.4199H145.92ZM146.94 54.4199H83.4701L82.8501 102.96H146.32L146.94 54.4199Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M146.31 66.9299H82.8401L83.4601 54.4199H146.94L146.31 66.9299Z",fill:"#D9E5FA",stroke:"black",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M122.07 86.44C122.39 82.36 118.56 78.74 113.53 78.34C108.49 77.95 104.15 80.93 103.83 85.01C103.51 89.09 107.34 92.71 112.37 93.11C117.41 93.5 121.75 90.52 122.07 86.44Z",fill:"black",stroke:"black",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M112.64 90.89C112.64 90.89 112.55 90.89 112.51 90.89C111.93 90.84 111.44 90.43 111.25 89.84L109.06 82.99C108.77 82.09 109.23 81.04 110.08 80.64C110.93 80.24 111.86 80.64 112.14 81.55L113.38 85.43L121.2 74.02C121.76 73.2 122.79 72.97 123.49 73.51C124.19 74.05 124.3 75.16 123.74 75.98L114.05 90.1C113.71 90.6 113.17 90.9 112.62 90.9L112.64 90.89Z",fill:"white",stroke:"black",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M254.18 119.35C254.18 121.34 254.57 123.3 255.33 125.14C256.09 126.98 257.2 128.64 258.61 130.05C260.01 131.45 261.68 132.57 263.52 133.33C265.36 134.09 267.32 134.48 269.31 134.48C271.3 134.48 273.26 134.09 275.1 133.33C276.94 132.57 278.6 131.46 280.01 130.05C281.41 128.65 282.53 126.98 283.29 125.14C284.05 123.3 284.44 121.34 284.44 119.35C284.44 117.36 284.05 115.4 283.29 113.56C282.53 111.72 281.42 110.06 280.01 108.65C278.61 107.25 276.94 106.13 275.1 105.37C273.26 104.61 271.3 104.22 269.31 104.22C267.32 104.22 265.36 104.61 263.52 105.37C261.68 106.13 260.02 107.24 258.61 108.65C257.21 110.05 256.09 111.72 255.33 113.56C254.57 115.4 254.18 117.36 254.18 119.35Z",fill:"black"}),(0,Nt.jsx)("path",{d:"M265.95 126.91L269.31 121.87",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M269.31 121.87L272.67 126.91",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M269.31 121.87V118.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M269.31 118.5L274.35 116.82",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M269.31 118.5L264.27 116.82",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("path",{d:"M269.31 113.97C269.774 113.97 270.15 113.594 270.15 113.13C270.15 112.666 269.774 112.29 269.31 112.29C268.846 112.29 268.47 112.666 268.47 113.13C268.47 113.594 268.846 113.97 269.31 113.97Z",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("path",{d:"M200.49 102.19L263.69 100.83L256.53 133.28L193.34 134.64L200.49 102.19Z",fill:"#D9E5FA"})}),(0,Nt.jsx)("g",{style:{mixBlendMode:"multiply"},children:(0,Nt.jsx)("path",{d:"M203.23 94.4299L200.38 91.0299L197.41 94.2199L195.95 89.8999L192.08 91.5899L192.22 87.0099L187.49 86.9299L189.77 82.7899L185.91 80.9699L188.97 77.8899L186.02 74.5999L189.94 73.0499L188.35 68.7899L192.53 69.0199L192.54 64.4299L196.35 66.3899L197.96 62.1899L200.81 65.5799L203.78 62.3999L205.24 66.7099L209.11 65.0299L208.97 69.5999L213.15 69.6799L211.42 73.8199L215.28 75.6499L212.22 78.7199L215.17 82.0199L211.25 83.5599L212.84 87.8199L208.66 87.5999L208.65 92.1799L204.84 90.2199L203.23 94.4299Z",fill:"#EBF1FC"})}),(0,Nt.jsx)("path",{d:"M224.53 47.27L201.84 47.35L202.16 32.66L224.84 32.59L224.53 47.27Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M247.21 47.2L224.53 47.27L224.84 32.59L247.52 32.52L247.21 47.2Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M224.21 61.96L201.53 62.03L201.84 47.35L224.53 47.27L224.21 61.96Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M246.9 61.8801L224.21 61.9601L224.53 47.2701L247.21 47.2001L246.9 61.8801Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M223.9 76.64L201.22 76.71L201.53 62.03L224.21 61.96L223.9 76.64Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M246.58 76.57L223.9 76.64L224.21 61.96L246.9 61.88L246.58 76.57Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M223.59 91.32L200.91 91.4L201.22 76.71L223.9 76.64L223.59 91.32Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M246.27 91.2501L223.59 91.3201L223.9 76.6401L246.58 76.5701L246.27 91.2501Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M223.28 106.01L200.59 106.08L200.91 91.4001L223.59 91.3201L223.28 106.01Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M245.96 105.93L223.28 106.01L223.59 91.32L246.27 91.25L245.96 105.93Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269.94 47.2L247.25 47.27L247.57 32.59L270.25 32.52L269.94 47.2Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269.62 61.8801L246.94 61.9601L247.25 47.2701L269.94 47.2001L269.62 61.8801Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269.31 76.57L246.63 76.64L246.94 61.96L269.62 61.88L269.31 76.57Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269 91.2501L246.32 91.3201L246.63 76.6401L269.31 76.5701L269 91.2501Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M268.69 105.93L246 106.01L246.32 91.32L269 91.25L268.69 105.93Z",fill:"white",stroke:"black",strokeWidth:"0.75",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M247.69 115.35L238.02 125.02",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Nt.jsx)("path",{d:"M247.69 125.02L238.02 115.35",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Nt.jsx)("path",{d:"M242.86 127.02V113.35",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Nt.jsx)("path",{d:"M236.02 120.19H249.69",stroke:"black",strokeMiterlimit:"10",strokeDasharray:"13.67 13.67"}),(0,Nt.jsx)("path",{d:"M242.86 123.1C244.467 123.1 245.77 121.797 245.77 120.19C245.77 118.583 244.467 117.28 242.86 117.28C241.253 117.28 239.95 118.583 239.95 120.19C239.95 121.797 241.253 123.1 242.86 123.1Z",fill:"white"}),(0,Nt.jsx)("path",{d:"M275.1 30.48L272.63 32.96",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269.19 36.39L262.67 42.92",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Nt.jsx)("path",{d:"M260.95 44.63L258.48 47.11",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M275.1 47.11L272.63 44.63",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M269.19 41.1999L262.67 34.6699",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Nt.jsx)("path",{d:"M260.95 32.96L258.48 30.48",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M266.79 50.55V47.05",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M266.79 42.1901V32.9701",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Nt.jsx)("path",{d:"M266.79 30.54V27.04",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M255.03 38.79H258.53",stroke:"#D9E5FA",strokeMiterlimit:"10"}),(0,Nt.jsx)("path",{d:"M263.39 38.79H272.62",stroke:"#D9E5FA",strokeMiterlimit:"10",strokeDasharray:"6.8 4.86"}),(0,Nt.jsx)("path",{d:"M275.05 38.79H278.55",stroke:"#D9E5FA",strokeMiterlimit:"10"})]}),(0,Nt.jsxs)("defs",{children:[(0,Nt.jsx)("pattern",{id:"pattern0_223_19073",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,Nt.jsx)("use",{xlinkHref:"#image0_223_19073",transform:"scale(0.00390625 0.00578035)"})}),(0,Nt.jsx)("clipPath",{id:"clip0_223_19073",children:(0,Nt.jsx)("rect",{width:"375",height:"166",fill:"white"})}),(0,Nt.jsx)("image",{id:"image0_223_19073",width:"256",height:"173",preserveAspectRatio:"none",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAACtCAYAAABfh6HiAAAACXBIWXMAAAsSAAALEgHS3X78AAADyklEQVR4nO3d0W7jIBAFULzq//+y96FCdQkkTmong+ecp92NVoqqzmXAgEsBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABKKWX59Bdoreu6fvo7wFmWZQlVc/8+/QWAz5k+AIIFKkxl+gAwY4DXTR8AwOsEACQmACAxAQCJCQBITABAYgIAEhMAkJgAgMQEACQmACAxAQCJCQBITABAYgIAEhMAkJgAgMQEACQmACAxAQCJTRkAbgKGY0wZAG4ChmNMGQDAMQQAJCYAIDEBAIkJAEhMAEBiAgASEwCQmACAxAQAJBYuAJZlsdcf3iRcAKzrWtZ1FQLwBuECoBa+Az9wvnABALxP2AAwBYDzhQuA2vpvpwDCAM4RLgBK+Sl46wFwrpABoODhPUIGwHbk1/7DecIFwLIsOgB4k3ABsFXDQBcA5wgdAL0nAsBxwgVAO+LXswG6ADje16e/wCNGfzhPuA6gFKv/8C7hAqAt/G37LxTgWOECoJTbR4EWA+EcIQOgFnqvG+j9GXhNyEXAbXFv1wN0AHCskB1Aq9cRCAP4u9AB0FsHqOwNgL+LWEHDod2oz+yWYKNWyDWAlsKHc4SdAtTbgavRluBggQpTCRsAtdjrU4BRF6A7gNeFDYCqDYHeYiDwmrAB4FJQOF/Eyvo1xD86GNTrCEwLiCraU4CwHUDVK+h7ZwMUP+wXPgBKuQ2B3t+B500RAKX03xEwOiMgEGCfaQJgq9fmK3p43nQBsGcjkHUA2Ge6AKjal4coenjedAHQ3g/g3QHwuqkC4N5o77gwPG+qAGgvB703+psSwGNTBUApt5eE9DqC7UEiYCxij/xU1bYdgKInMluBD7Yd6UcbgoL9zCGM6QOglNu1ALcIwz7TBkA76redgFEfHps2AHqj/fbRnxCAx6a4FHSv3kEhTwNgbNoOoJTfF4eOLg2tnwG3pu4Aeq8Qu7dbUDcAv03dAbRGxe2pAPRdIgB6m4HaBUHg1iUCoHdGYPuZl4lA3yUCoOrN/3vvEtARwLdLBcDoTMD2CYHtwfBj6qcAe4zWAXQBcLEOoNoz79cBwEUDoMexYbh16QAYvUzE6A/fLh0Ao7a/3Sew5//CFV02AHqLfu3R4XsdgSkCGVw2ANoir/9275wAZBPxt/60oddLRPg0dwIG4t0BZJcqANpi1wmQXZoAaO8LNPJDkgDo3Q84ukocMkkRAO0mIF0AfEsRAKX05/+9S0QBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADI5z/Lu30pzkT74AAAAABJRU5ErkJggg=="})]})]}),ON=()=>(0,Nt.jsxs)(Bk,{children:[(0,Nt.jsx)(TN,{}),(0,Nt.jsxs)($k,{children:[(0,Nt.jsx)(Jw,{variant:"h5",align:"center",children:(0,tS.__)("Scan and improve more pages","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",align:"center",children:(0,tS.sprintf)(
// Translators: $s - page limit
// Translators: $s - page limit
(0,tS.__)("Your current plan allows scanning up to %s unique URLs. Upgrade to scan more and keep your site accessible.","pojo-accessibility"),hS)})]}),(0,Nt.jsx)(F_,{size:"small",color:"promotion",variant:"contained",href:"https://go.elementor.com/acc-URL-limit-scanner",target:"_blank",rel:"noreferrer",startIcon:(0,Nt.jsx)(EN,{}),onClick:()=>{Ww(Vw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"scan_triggered",feature_locked:"multi-page scan"})},children:(0,tS.__)("Upgrade now","pojo-accessibility")})]});let PN=0;const LN=(0,Vn.createContext)({}),zN=({children:r})=>{const{setOpenedBlock:n,setIsManage:o}=QS(),{getTabsProps:i,getTabProps:a,getTabPanelProps:s}=function(r){const n=(0,e.useRef)(PN++),[o,i]=t().useState(r),a=(e,t)=>{i(t)};return{getTabsProps:()=>({value:o,onChange:a}),getTabProps:e=>({id:`tab-${n.current}-${e}`,"aria-controls":`tabpanel-${n.current}-${e}`,value:e}),getTabPanelProps:e=>({id:`tabpanel-${n.current}-${e}`,"aria-labelledby":`tab-${n.current}-${e}`,hidden:o!==e})}}("1"===new URLSearchParams(window.location.search).get(nS)?mS.management:mS.main),l=i();return(0,Nt.jsx)(LN.Provider,{value:{tabsProps:{value:l.value,onChange:(e,t)=>{n(t),o(t===mS.management),l.onChange(e,t),Ww(Vw.tabSelected,{tab_name:t})}},getTabProps:a,getTabPanelProps:s},children:r})};zN.propTypes={children:IR().node};const NN=()=>(0,Vn.useContext)(LN),FN=()=>{const{remediations:e}=QS(),{tabsProps:t}=NN();return(0,Nt.jsxs)(Bk,{sx:{px:4},children:[(0,Nt.jsx)(Qw,{}),(0,Nt.jsx)(Jw,{variant:"subtitle1",as:"h3",align:"center",children:(0,tS.__)("You’re all set!","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",align:"center",color:"text.secondary",children:(0,tS.__)("This page is now issue‑free. View all scans to track your progress, or review the fixes you just made.","pojo-accessibility")}),(0,Nt.jsxs)(Gk,{children:[e?.length>0&&(0,Nt.jsx)(F_,{size:"small",variant:"outlined",color:"secondary",onClick:e=>{t.onChange(e,mS.management)},children:(0,tS.__)("Review fixes","pojo-accessibility")}),(0,Nt.jsx)(F_,{href:window?.ea11yScannerData?.dashboardUrl,size:"small",variant:"contained",color:"info",onClick:()=>{const e=document.getElementById(oS);SN(e)},children:(0,tS.__)("View all scans","pojo-accessibility")})]})]})},DN=({title:e,count:t,block:r})=>{const{setOpenedBlock:n,isResolved:o}=QS(),i=0===t||o(r);return(0,Nt.jsx)(Vk,{variant:"outlined",color:"secondary",size:"large",fullWidth:!0,onClick:()=>{n(r),Ww(Vw.categoryClicked,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:t,category_name:e,source:"assistant"})},children:(0,Nt.jsxs)(Wk,{elevation:0,variant:"elevation",color:i?"success":"default",children:[(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",gap:.5,children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h4",color:"text.primary",children:e}),!i&&(0,Nt.jsx)(lC,{label:t,color:"error",variant:"standard",size:"tiny"})]}),i&&(0,Nt.jsx)(uO,{color:"success"})]})})};DN.propTypes={title:IR().string.isRequired,count:IR().number.isRequired,block:IR().string.isRequired};const BN=()=>{const{sortedViolations:e,altTextData:t,manualData:r,getHeadingsStats:n}=QS(),o=e.altText.length>0;return Object.keys(e).some(t=>t!==mS.altText&&e[t]?.length)||o?(0,Nt.jsx)(Kk,{children:Object.keys(e).flatMap(o=>{if(e[o].length<1)return[];const i=o===mS.altText?t.main:r[o],a=i?.filter(e=>!0===e?.resolved).length||0,s=o===mS.headingStructure?n().error:e[o].length-a;return(0,Nt.jsx)(DN,{title:bS[o],count:s,block:mS[o]},o)})}):null},$N=()=>(0,Nt.jsxs)(HN,{children:[(0,Nt.jsx)(Jw,{variant:"body1",as:"h3",sx:{color:"text.secondary"},children:(0,tS.__)("All issues","pojo-accessibility")}),(0,Nt.jsx)(BN,{})]}),HN=Ma(X_)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding: 0 ${({theme:e})=>e.spacing(2)};
`;var WN=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.25 3.25C18.6642 3.25 19 3.58579 19 4C19 4.33152 19.1317 4.64946 19.3661 4.88388C19.6005 5.1183 19.9185 5.25 20.25 5.25C20.6642 5.25 21 5.58579 21 6C21 6.41421 20.6642 6.75 20.25 6.75C19.9185 6.75 19.6005 6.8817 19.3661 7.11612C19.1317 7.35054 19 7.66848 19 8C19 8.41421 18.6642 8.75 18.25 8.75C17.8358 8.75 17.5 8.41421 17.5 8C17.5 7.66848 17.3683 7.35054 17.1339 7.11612C16.8995 6.8817 16.5815 6.75 16.25 6.75C15.8358 6.75 15.5 6.41421 15.5 6C15.5 5.58579 15.8358 5.25 16.25 5.25C16.5815 5.25 16.8995 5.1183 17.1339 4.88388C17.3683 4.64946 17.5 4.33152 17.5 4C17.5 3.58579 17.8358 3.25 18.25 3.25ZM18.25 5.88746C18.2318 5.90673 18.2133 5.92576 18.1945 5.94454C18.1758 5.96333 18.1567 5.98182 18.1375 6C18.1567 6.01819 18.1758 6.03667 18.1945 6.05546C18.2133 6.07424 18.2318 6.09327 18.25 6.11254C18.2682 6.09327 18.2867 6.07424 18.3055 6.05546C18.3242 6.03667 18.3433 6.01819 18.3625 6C18.3433 5.98182 18.3242 5.96333 18.3055 5.94454C18.2867 5.92576 18.2682 5.90673 18.25 5.88746ZM9.25 5.25C9.66421 5.25 10 5.58579 10 6C10 7.39239 10.5531 8.72774 11.5377 9.71231C12.5223 10.6969 13.8576 11.25 15.25 11.25C15.6642 11.25 16 11.5858 16 12C16 12.4142 15.6642 12.75 15.25 12.75C13.8576 12.75 12.5223 13.3031 11.5377 14.2877C10.5531 15.2723 10 16.6076 10 18C10 18.4142 9.66421 18.75 9.25 18.75C8.83579 18.75 8.5 18.4142 8.5 18C8.5 16.6076 7.94688 15.2723 6.96231 14.2877C5.97774 13.3031 4.64239 12.75 3.25 12.75C2.83579 12.75 2.5 12.4142 2.5 12C2.5 11.5858 2.83579 11.25 3.25 11.25C4.64239 11.25 5.97774 10.6969 6.96231 9.71231C7.94688 8.72774 8.5 7.39239 8.5 6C8.5 5.58579 8.83579 5.25 9.25 5.25ZM9.25 9.09234C8.93321 9.70704 8.52103 10.2749 8.02297 10.773C7.52491 11.271 6.95704 11.6832 6.34234 12C6.95704 12.3168 7.52491 12.729 8.02297 13.227C8.52103 13.7251 8.93321 14.293 9.25 14.9077C9.56679 14.293 9.97897 13.7251 10.477 13.227C10.9751 12.729 11.543 12.3168 12.1577 12C11.543 11.6832 10.9751 11.271 10.477 10.773C9.97897 10.2749 9.56679 9.70704 9.25 9.09234ZM18.25 15.25C18.6642 15.25 19 15.5858 19 16C19 16.3315 19.1317 16.6495 19.3661 16.8839C19.6005 17.1183 19.9185 17.25 20.25 17.25C20.6642 17.25 21 17.5858 21 18C21 18.4142 20.6642 18.75 20.25 18.75C19.9185 18.75 19.6005 18.8817 19.3661 19.1161C19.1317 19.3505 19 19.6685 19 20C19 20.4142 18.6642 20.75 18.25 20.75C17.8358 20.75 17.5 20.4142 17.5 20C17.5 19.6685 17.3683 19.3505 17.1339 19.1161C16.8995 18.8817 16.5815 18.75 16.25 18.75C15.8358 18.75 15.5 18.4142 15.5 18C15.5 17.5858 15.8358 17.25 16.25 17.25C16.5815 17.25 16.8995 17.1183 17.1339 16.8839C17.3683 16.6495 17.5 16.3315 17.5 16C17.5 15.5858 17.8358 15.25 18.25 15.25ZM18.25 17.8875C18.2318 17.9067 18.2133 17.9258 18.1945 17.9445C18.1758 17.9633 18.1567 17.9818 18.1375 18C18.1567 18.0182 18.1758 18.0367 18.1945 18.0555C18.2133 18.0742 18.2318 18.0933 18.25 18.1125C18.2682 18.0933 18.2867 18.0742 18.3055 18.0555C18.3242 18.0367 18.3433 18.0182 18.3625 18C18.3433 17.9818 18.3242 17.9633 18.3055 17.9445C18.2867 17.9258 18.2682 17.9067 18.25 17.8875Z"})));function VN(e){return ho("MuiAlertTitle",e)}fo("MuiAlertTitle",["root"]);const qN=["className"],UN=Ei(),ZN=jo(Xw,{name:"MuiAlertTitle",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({fontWeight:e.typography.fontWeightMedium,marginTop:-2})),GN=e.forwardRef(function(e,t){const r=UN({props:e,name:"MuiAlertTitle"}),{className:n}=r,o=(0,Ae.A)(r,qN),i=r,a=(e=>{const{classes:t}=e;return _o({root:["root"]},VN,t)})(i);return(0,Nt.jsx)(ZN,(0,Se.A)({gutterBottom:!0,component:"div",ownerState:i,ref:t,className:ao(a.root,n)},o))});var KN=t().forwardRef((e,r)=>t().createElement(GN,{...e,ref:r}));function XN(e){return ho("PrivateSwitchBase",e)}fo("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const JN=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],YN=jo(xi)(({ownerState:e})=>(0,Se.A)({padding:9,borderRadius:"50%"},"start"===e.edge&&{marginLeft:"small"===e.size?-3:-12},"end"===e.edge&&{marginRight:"small"===e.size?-3:-12})),QN=jo("input",{shouldForwardProp:Ao})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),eF=e.forwardRef(function(e,t){const{autoFocus:r,checked:n,checkedIcon:o,className:i,defaultChecked:a,disabled:s,disableFocusRipple:l=!1,edge:c=!1,icon:u,id:d,inputProps:p,inputRef:h,name:f,onBlur:m,onChange:g,onFocus:b,readOnly:y,required:v=!1,tabIndex:x,type:w,value:_}=e,C=(0,Ae.A)(e,JN),[k,S]=aR({controlled:n,default:Boolean(a),name:"SwitchBase",state:"checked"}),A=xO();let j=s;A&&void 0===j&&(j=A.disabled);const R="checkbox"===w||"radio"===w,I=(0,Se.A)({},e,{checked:k,disabled:j,disableFocusRipple:l,edge:c}),M=(e=>{const{classes:t,checked:r,disabled:n,edge:o}=e;return _o({root:["root",r&&"checked",n&&"disabled",o&&`edge${wi(o)}`],input:["input"]},XN,t)})(I);return(0,Nt.jsxs)(YN,(0,Se.A)({component:"span",className:ao(M.root,i),centerRipple:!0,focusRipple:!l,disabled:j,tabIndex:null,role:void 0,onFocus:e=>{b&&b(e),A&&A.onFocus&&A.onFocus(e)},onBlur:e=>{m&&m(e),A&&A.onBlur&&A.onBlur(e)},ownerState:I,ref:t},C,{children:[(0,Nt.jsx)(QN,(0,Se.A)({autoFocus:r,checked:n,defaultChecked:a,className:M.input,disabled:j,id:R?d:void 0,name:f,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;S(t),g&&g(e,t)},readOnly:y,ref:h,required:v,ownerState:I,tabIndex:x,type:w},"checkbox"===w&&void 0===_?{}:{value:_},p)),k?o:u]}))}),tF=sa((0,Nt.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),rF=sa((0,Nt.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),nF=sa((0,Nt.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");function oF(e){return ho("MuiCheckbox",e)}const iF=fo("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),aF=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],sF=jo(eF,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${wi(r.size)}`],"default"!==r.color&&t[`color${wi(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,Se.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${iF.checked}, &.${iF.indeterminate}`]:{color:(e.vars||e).palette[t.color].main},[`&.${iF.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),lF=(0,Nt.jsx)(rF,{}),cF=(0,Nt.jsx)(tF,{}),uF=(0,Nt.jsx)(nF,{}),dF=e.forwardRef(function(t,r){var n,o;const i=Io({props:t,name:"MuiCheckbox"}),{checkedIcon:a=lF,color:s="primary",icon:l=cF,indeterminate:c=!1,indeterminateIcon:u=uF,inputProps:d,size:p="medium",className:h}=i,f=(0,Ae.A)(i,aF),m=c?u:l,g=c?u:a,b=(0,Se.A)({},i,{color:s,indeterminate:c,size:p}),y=(e=>{const{classes:t,indeterminate:r,color:n,size:o}=e,i=_o({root:["root",r&&"indeterminate",`color${wi(n)}`,`size${wi(o)}`]},oF,t);return(0,Se.A)({},t,i)})(b);return(0,Nt.jsx)(sF,(0,Se.A)({type:"checkbox",inputProps:(0,Se.A)({"data-indeterminate":c},d),icon:e.cloneElement(m,{fontSize:null!=(n=m.props.fontSize)?n:p}),checkedIcon:e.cloneElement(g,{fontSize:null!=(o=g.props.fontSize)?o:p}),ownerState:b,ref:r,className:ao(y.root,h)},f,{classes:y}))});var pF=t().forwardRef((e,r)=>t().createElement(dF,{...e,ref:r}));function hF(e){return ho("MuiFormHelperText",e)}const fF=fo("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var mF;const gF=["children","className","component","disabled","error","filled","focused","margin","required","variant"],bF=jo("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${wi(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(({theme:e,ownerState:t})=>(0,Se.A)({color:(e.vars||e).palette.text.secondary},e.typography.caption,{textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${fF.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${fF.error}`]:{color:(e.vars||e).palette.error.main}},"small"===t.size&&{marginTop:4},t.contained&&{marginLeft:14,marginRight:14})),yF=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiFormHelperText"}),{children:n,className:o,component:i="p"}=r,a=(0,Ae.A)(r,gF),s=qO({props:r,muiFormControl:xO(),states:["variant","size","disabled","error","filled","focused","required"]}),l=(0,Se.A)({},r,{component:i,contained:"filled"===s.variant||"outlined"===s.variant,variant:s.variant,size:s.size,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,contained:r,size:n,disabled:o,error:i,filled:a,focused:s,required:l}=e;return _o({root:["root",o&&"disabled",i&&"error",n&&`size${wi(n)}`,r&&"contained",s&&"focused",a&&"filled",l&&"required"]},hF,t)})(l);return(0,Nt.jsx)(bF,(0,Se.A)({as:i,ownerState:l,className:ao(c.root,o),ref:t},a,{children:" "===n?mF||(mF=(0,Nt.jsx)("span",{className:"notranslate",children:""})):n}))});var vF=t().forwardRef((e,r)=>t().createElement(yF,{...e,ref:r}));function xF(e){return ho("MuiInputAdornment",e)}const wF=fo("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var _F;const CF=["children","className","component","disablePointerEvents","disableTypography","position","variant"],kF=jo("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${wi(r.position)}`],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,Se.A)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===t.variant&&{[`&.${wF.positionStart}&:not(.${wF.hiddenLabel})`]:{marginTop:16}},"start"===t.position&&{marginRight:8},"end"===t.position&&{marginLeft:8},!0===t.disablePointerEvents&&{pointerEvents:"none"})),SF=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiInputAdornment"}),{children:o,className:i,component:a="div",disablePointerEvents:s=!1,disableTypography:l=!1,position:c,variant:u}=n,d=(0,Ae.A)(n,CF),p=xO()||{};let h=u;u&&p.variant,p&&!h&&(h=p.variant);const f=(0,Se.A)({},n,{hiddenLabel:p.hiddenLabel,size:p.size,disablePointerEvents:s,position:c,variant:h}),m=(e=>{const{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:i,variant:a}=e;return _o({root:["root",r&&"disablePointerEvents",o&&`position${wi(o)}`,a,n&&"hiddenLabel",i&&`size${wi(i)}`]},xF,t)})(f);return(0,Nt.jsx)(vO.Provider,{value:null,children:(0,Nt.jsx)(kF,(0,Se.A)({as:a,ownerState:f,className:ao(m.root,i),ref:r},d,{children:"string"!=typeof o||l?(0,Nt.jsxs)(e.Fragment,{children:["start"===c?_F||(_F=(0,Nt.jsx)("span",{className:"notranslate",children:""})):null,o]}):(0,Nt.jsx)(Xw,{color:"text.secondary",children:o})}))})}),AF=SF;var jF=t().forwardRef((e,r)=>t().createElement(AF,{...e,ref:r}));function RF(e){return ho("MuiFormLabel",e)}const IF=fo("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),MF=["children","className","color","component","disabled","error","filled","focused","required"],EF=jo("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,Se.A)({},t.root,"secondary"===e.color&&t.colorSecondary,e.filled&&t.filled)})(({theme:e,ownerState:t})=>(0,Se.A)({color:(e.vars||e).palette.text.secondary},e.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${IF.focused}`]:{color:(e.vars||e).palette[t.color].main},[`&.${IF.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${IF.error}`]:{color:(e.vars||e).palette.error.main}})),TF=jo("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})(({theme:e})=>({[`&.${IF.error}`]:{color:(e.vars||e).palette.error.main}})),OF=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiFormLabel"}),{children:n,className:o,component:i="label"}=r,a=(0,Ae.A)(r,MF),s=qO({props:r,muiFormControl:xO(),states:["color","required","focused","disabled","error","filled"]}),l=(0,Se.A)({},r,{color:s.color||"primary",component:i,disabled:s.disabled,error:s.error,filled:s.filled,focused:s.focused,required:s.required}),c=(e=>{const{classes:t,color:r,focused:n,disabled:o,error:i,filled:a,required:s}=e;return _o({root:["root",`color${wi(r)}`,o&&"disabled",i&&"error",a&&"filled",n&&"focused",s&&"required"],asterisk:["asterisk",i&&"error"]},RF,t)})(l);return(0,Nt.jsxs)(EF,(0,Se.A)({as:i,ownerState:l,className:ao(c.root,o),ref:t},a,{children:[n,s.required&&(0,Nt.jsxs)(TF,{ownerState:l,"aria-hidden":!0,className:c.asterisk,children:[" ","*"]})]}))});function PF(e){return ho("MuiInputLabel",e)}fo("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const LF=["disableAnimation","margin","shrink","variant","className"],zF=jo(OF,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${IF.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,"small"===r.size&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,Se.A)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},t.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===t.size&&{transform:"translate(0, 17px) scale(1)"},t.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!t.disableAnimation&&{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})},"filled"===t.variant&&(0,Se.A)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(12px, 13px) scale(1)"},t.shrink&&(0,Se.A)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===t.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===t.variant&&(0,Se.A)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===t.size&&{transform:"translate(14px, 9px) scale(1)"},t.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))),NF=e.forwardRef(function(e,t){const r=Io({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:o,className:i}=r,a=(0,Ae.A)(r,LF),s=xO();let l=o;void 0===l&&s&&(l=s.filled||s.focused||s.adornedStart);const c=qO({props:r,muiFormControl:s,states:["size","variant","required","focused"]}),u=(0,Se.A)({},r,{disableAnimation:n,formControl:s,shrink:l,size:c.size,variant:c.variant,required:c.required,focused:c.focused}),d=(e=>{const{classes:t,formControl:r,size:n,shrink:o,disableAnimation:i,variant:a,required:s}=e,l=_o({root:["root",r&&"formControl",!i&&"animated",o&&"shrink",n&&"normal"!==n&&`size${wi(n)}`,a],asterisk:[s&&"asterisk"]},PF,t);return(0,Se.A)({},t,l)})(u);return(0,Nt.jsx)(zF,(0,Se.A)({"data-shrink":l,ownerState:u,ref:t,className:ao(d.root,i)},a,{classes:d}))}),FF=function(t,r){var n,o;return e.isValidElement(t)&&-1!==r.indexOf(null!=(n=t.type.muiName)?n:null==(o=t.type)||null==(o=o._payload)||null==(o=o.value)?void 0:o.muiName)};function DF(e){return ho("MuiFormControl",e)}fo("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const BF=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],$F=jo("div",{name:"MuiFormControl",slot:"Root",overridesResolver:({ownerState:e},t)=>(0,Se.A)({},t.root,t[`margin${wi(e.margin)}`],e.fullWidth&&t.fullWidth)})(({ownerState:e})=>(0,Se.A)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===e.margin&&{marginTop:16,marginBottom:8},"dense"===e.margin&&{marginTop:8,marginBottom:4},e.fullWidth&&{width:"100%"})),HF=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiFormControl"}),{children:o,className:i,color:a="primary",component:s="div",disabled:l=!1,error:c=!1,focused:u,fullWidth:d=!1,hiddenLabel:p=!1,margin:h="none",required:f=!1,size:m="medium",variant:g="outlined"}=n,b=(0,Ae.A)(n,BF),y=(0,Se.A)({},n,{color:a,component:s,disabled:l,error:c,fullWidth:d,hiddenLabel:p,margin:h,required:f,size:m,variant:g}),v=(e=>{const{classes:t,margin:r,fullWidth:n}=e;return _o({root:["root","none"!==r&&`margin${wi(r)}`,n&&"fullWidth"]},DF,t)})(y),[x,w]=e.useState(()=>{let t=!1;return o&&e.Children.forEach(o,e=>{if(!FF(e,["Input","Select"]))return;const r=FF(e,["Select"])?e.props.input:e;r&&r.props.startAdornment&&(t=!0)}),t}),[_,C]=e.useState(()=>{let t=!1;return o&&e.Children.forEach(o,e=>{FF(e,["Input","Select"])&&(pL(e.props,!0)||pL(e.props.inputProps,!0))&&(t=!0)}),t}),[k,S]=e.useState(!1);l&&k&&S(!1);const A=void 0===u||l?k:u;let j;const R=e.useMemo(()=>({adornedStart:x,setAdornedStart:w,color:a,disabled:l,error:c,filled:_,focused:A,fullWidth:d,hiddenLabel:p,size:m,onBlur:()=>{S(!1)},onEmpty:()=>{C(!1)},onFilled:()=>{C(!0)},onFocus:()=>{S(!0)},registerEffect:j,required:f,variant:g}),[x,a,l,c,_,A,d,p,j,f,m,g]);return(0,Nt.jsx)(vO.Provider,{value:R,children:(0,Nt.jsx)($F,(0,Se.A)({as:s,ownerState:y,className:ao(v.root,i),ref:r},b,{children:o}))})}),WF=HF;function VF(e){return ho("MuiTextField",e)}fo("MuiTextField",["root"]);const qF=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],UF={standard:UL,filled:QL,outlined:dz},ZF=jo(WF,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({}),GF=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:o=!1,children:i,className:a,color:s="primary",defaultValue:l,disabled:c=!1,error:u=!1,FormHelperTextProps:d,fullWidth:p=!1,helperText:h,id:f,InputLabelProps:m,inputProps:g,InputProps:b,inputRef:y,label:v,maxRows:x,minRows:w,multiline:_=!1,name:C,onBlur:k,onChange:S,onFocus:A,placeholder:j,required:R=!1,rows:I,select:M=!1,SelectProps:E,type:T,value:O,variant:P="outlined"}=r,L=(0,Ae.A)(r,qF),z=(0,Se.A)({},r,{autoFocus:o,color:s,disabled:c,error:u,fullWidth:p,multiline:_,required:R,select:M,variant:P}),N=(e=>{const{classes:t}=e;return _o({root:["root"]},VF,t)})(z),F={};"outlined"===P&&(m&&void 0!==m.shrink&&(F.notched=m.shrink),F.label=v),M&&(E&&E.native||(F.id=void 0),F["aria-describedby"]=void 0);const D=Xt(f),B=h&&D?`${D}-helper-text`:void 0,$=v&&D?`${D}-label`:void 0,H=UF[P],W=(0,Nt.jsx)(H,(0,Se.A)({"aria-describedby":B,autoComplete:n,autoFocus:o,defaultValue:l,fullWidth:p,multiline:_,name:C,rows:I,maxRows:x,minRows:w,type:T,value:O,id:D,inputRef:y,onBlur:k,onChange:S,onFocus:A,placeholder:j,inputProps:g},F,b));return(0,Nt.jsxs)(ZF,(0,Se.A)({className:ao(N.root,a),disabled:c,error:u,fullWidth:p,ref:t,required:R,color:s,variant:P,ownerState:z},L,{children:[null!=v&&""!==v&&(0,Nt.jsx)(NF,(0,Se.A)({htmlFor:D,id:$},m,{children:v})),M?(0,Nt.jsx)(vz,(0,Se.A)({"aria-describedby":B,id:D,labelId:$,value:O,input:W},E,{children:i})):W,h&&(0,Nt.jsx)(yF,(0,Se.A)({id:B},d,{children:h}))]}))});var KF=t().forwardRef((e,r)=>{const n={...e};return n.select&&(n.SelectProps={IconComponent:xz,...n.SelectProps||{}},"tiny"===n.size&&(n.SelectProps.MenuProps={...n.SelectProps?.MenuProps||{},MenuListProps:{dense:!0,...n.SelectProps?.MenuProps?.MenuListProps||{}}})),"tiny"===n.size&&(n.InputLabelProps={size:"tiny",...n.InputLabelProps||{}}),t().createElement(GF,{...n,ref:r})});const XF={size:"medium"},JF=t().forwardRef((e,r)=>{const{size:n,...o}={...XF,...e};return t().createElement(NF,{...o,size:"medium"===n?"normal":n,ref:r})});JF.defaultProps=XF;const YF=Ma(JF)`
display: flex;
align-items: start;
overflow: visible;
gap: ${({theme:e})=>e.spacing(.5)};
`,QF=Ma(CC)`
display: flex;
justify-content: center;
align-items: center;
height: 140px;
& > * {
max-height: 100%;
width: auto;
}
`,eD=({element:e})=>{const t=(0,Vn.useRef)(null);return(0,Vn.useEffect)(()=>{if(!e||!t.current)return;const r=e.tagName.toLowerCase();if(!["img","svg"].includes(r))return;const n=e.cloneNode(!0);n.removeAttribute("style"),n.style.cssText="",n.setAttribute("role","presentation"),t.current.innerHTML="",t.current.appendChild(n)},[e]),(0,Nt.jsx)(QF,{color:"secondary",elevation:0,square:!0,ref:t})};eD.propTypes={element:IR().instanceOf(Node).isRequired};var tD=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.6878 2.27398C12.5917 2.24917 12.4909 2.24331 12.3914 2.25781C12.2616 2.25269 12.1311 2.2501 12 2.2501C11.8689 2.2501 11.7384 2.25269 11.6086 2.25781C11.5091 2.24331 11.4083 2.24917 11.3123 2.27398C6.24841 2.62684 2.25 6.84653 2.25 12.0001C2.25 17.1537 6.24842 21.3734 11.3123 21.7262C11.4083 21.751 11.5091 21.7569 11.6086 21.7424C11.7384 21.7475 11.8689 21.7501 12 21.7501C12.1311 21.7501 12.2616 21.7475 12.3914 21.7424C12.4909 21.7569 12.5917 21.751 12.6878 21.7262C17.7516 21.3733 21.75 17.1537 21.75 12.0001C21.75 6.84655 17.7516 2.62687 12.6878 2.27398ZM11.922 3.75046C11.948 3.75022 11.974 3.7501 12 3.7501C12.026 3.7501 12.052 3.75022 12.078 3.75046C12.9067 5.15671 13.5154 6.67415 13.8892 8.2501H10.1109C10.4846 6.67415 11.0934 5.15671 11.922 3.75046ZM10.0915 3.97196C7.71452 4.5349 5.7353 6.12619 4.64956 8.2501H8.57289C8.89327 6.76788 9.40294 5.32976 10.0915 3.97196ZM8.31541 9.7501H4.06055C3.85825 10.4653 3.75 11.2201 3.75 12.0001C3.75 12.7801 3.85825 13.5349 4.06055 14.2501H8.31541C8.22038 13.5064 8.17224 12.755 8.17224 12.0001C8.17224 11.2452 8.22038 10.4938 8.31541 9.7501ZM8.57289 15.7501H4.64956C5.7353 17.874 7.71452 19.4653 10.0915 20.0282C9.40294 18.6704 8.89327 17.2323 8.57289 15.7501ZM11.922 20.2497C11.0934 18.8435 10.4846 17.3261 10.1109 15.7501H13.8892C13.5154 17.3261 12.9067 18.8435 12.078 20.2497C12.052 20.25 12.026 20.2501 12 20.2501C11.974 20.2501 11.948 20.25 11.922 20.2497ZM13.9085 20.0282C16.2855 19.4653 18.2647 17.874 19.3504 15.7501H15.4271C15.1068 17.2323 14.5971 18.6704 13.9085 20.0282ZM15.6846 14.2501H19.9395C20.1417 13.5349 20.25 12.7801 20.25 12.0001C20.25 11.2201 20.1417 10.4653 19.9395 9.7501H15.6846C15.7797 10.4938 15.8278 11.2452 15.8278 12.0001C15.8278 12.755 15.7797 13.5064 15.6846 14.2501ZM14.1713 9.7501H9.82876C9.72491 10.4929 9.67224 11.2446 9.67224 12.0001C9.67224 12.7556 9.72491 13.5073 9.82876 14.2501H14.1713C14.2751 13.5073 14.3278 12.7556 14.3278 12.0001C14.3278 11.2446 14.2751 10.4929 14.1713 9.7501ZM15.4271 8.2501C15.1068 6.76788 14.5971 5.32976 13.9085 3.97197C16.2855 4.53492 18.2647 6.1262 19.3504 8.2501H15.4271Z"})));function rD(e){return ho("MuiSwitch",e)}const nD=fo("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),oD=["className","color","edge","size","sx"],iD=Ei(),aD=jo("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${wi(r.edge)}`],t[`size${wi(r.size)}`]]}})({display:"inline-flex",width:58,height:38,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${nD.thumb}`]:{width:16,height:16},[`& .${nD.switchBase}`]:{padding:4,[`&.${nD.checked}`]:{transform:"translateX(16px)"}}}}]}),sD=jo(eF,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${nD.input}`]:t.input},"default"!==r.color&&t[`color${wi(r.color)}`]]}})(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${"light"===e.palette.mode?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${nD.checked}`]:{transform:"translateX(20px)"},[`&.${nD.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${"light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${nD.checked} + .${nD.track}`]:{opacity:.5},[`&.${nD.disabled} + .${nD.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:""+("light"===e.palette.mode?.12:.2)},[`& .${nD.input}`]:{left:"-100%",width:"300%"}}),({theme:e})=>({"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.activeChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette.action.active,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(([,e])=>e.main&&e.light).map(([t])=>({props:{color:t},style:{[`&.${nD.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)(e.palette[t].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${nD.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${"light"===e.palette.mode?(0,Oe.a)(e.palette[t].main,.62):(0,Oe.e$)(e.palette[t].main,.55)}`}},[`&.${nD.checked} + .${nD.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]})),lD=jo("span",{name:"MuiSwitch",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>({height:"100%",width:"100%",borderRadius:7,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${"light"===e.palette.mode?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:""+("light"===e.palette.mode?.38:.3)})),cD=jo("span",{name:"MuiSwitch",slot:"Thumb",overridesResolver:(e,t)=>t.thumb})(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"})),uD=e.forwardRef(function(e,t){const r=iD({props:e,name:"MuiSwitch"}),{className:n,color:o="primary",edge:i=!1,size:a="medium",sx:s}=r,l=(0,Ae.A)(r,oD),c=(0,Se.A)({},r,{color:o,edge:i,size:a}),u=(e=>{const{classes:t,edge:r,size:n,color:o,checked:i,disabled:a}=e,s=_o({root:["root",r&&`edge${wi(r)}`,`size${wi(n)}`],switchBase:["switchBase",`color${wi(o)}`,i&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},rD,t);return(0,Se.A)({},t,s)})(c),d=(0,Nt.jsx)(cD,{className:u.thumb,ownerState:c});return(0,Nt.jsxs)(aD,{className:ao(u.root,n),sx:s,ownerState:c,children:[(0,Nt.jsx)(sD,(0,Se.A)({type:"checkbox",icon:d,checkedIcon:d,ref:t,ownerState:c},l,{classes:(0,Se.A)({},u,{root:u.switchBase})})),(0,Nt.jsx)(lD,{className:u.track,ownerState:c})]})});var dD=t().forwardRef((e,r)=>t().createElement(uD,{...e,ref:r}));(0,Vn.createContext)(null),(0,Vn.createContext)(null);const pD=(e,{size:t})=>(0,Nt.jsx)(ka,{viewBox:"0 0 18 18",fontSize:t,...e,children:(0,Nt.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.00003 3.9375C9.1881 3.9375 9.36373 4.03149 9.46806 4.18798L12.1277 8.17749L15.3986 5.56076C15.5833 5.41307 15.8405 5.39658 16.0425 5.51949C16.2444 5.64241 16.348 5.87849 16.3016 6.11032L14.8016 13.6103C14.749 13.8732 14.5182 14.0625 14.25 14.0625H3.75003C3.4819 14.0625 3.25104 13.8732 3.19845 13.6103L1.69845 6.11032C1.65209 5.87849 1.75563 5.64241 1.95759 5.51949C2.15955 5.39658 2.41681 5.41307 2.60142 5.56076L5.87233 8.17749L8.532 4.18798C8.63633 4.03149 8.81196 3.9375 9.00003 3.9375Z",fill:"#66002C"})});function hD(e){return ho("MuiDialog",e)}const fD=fo("MuiDialog",["root","scrollPaper","scrollBody","container","paper","paperScrollPaper","paperScrollBody","paperWidthFalse","paperWidthXs","paperWidthSm","paperWidthMd","paperWidthLg","paperWidthXl","paperFullWidth","paperFullScreen"]),mD=e.createContext({}),gD=["aria-describedby","aria-labelledby","BackdropComponent","BackdropProps","children","className","disableEscapeKeyDown","fullScreen","fullWidth","maxWidth","onBackdropClick","onClick","onClose","open","PaperComponent","PaperProps","scroll","TransitionComponent","transitionDuration","TransitionProps"],bD=jo(RP,{name:"MuiDialog",slot:"Backdrop",overrides:(e,t)=>t.backdrop})({zIndex:-1}),yD=jo(PP,{name:"MuiDialog",slot:"Root",overridesResolver:(e,t)=>t.root})({"@media print":{position:"absolute !important"}}),vD=jo("div",{name:"MuiDialog",slot:"Container",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.container,t[`scroll${wi(r.scroll)}`]]}})(({ownerState:e})=>(0,Se.A)({height:"100%","@media print":{height:"auto"},outline:0},"paper"===e.scroll&&{display:"flex",justifyContent:"center",alignItems:"center"},"body"===e.scroll&&{overflowY:"auto",overflowX:"hidden",textAlign:"center","&::after":{content:'""',display:"inline-block",verticalAlign:"middle",height:"100%",width:"0"}})),xD=jo(Gi,{name:"MuiDialog",slot:"Paper",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.paper,t[`scrollPaper${wi(r.scroll)}`],t[`paperWidth${wi(String(r.maxWidth))}`],r.fullWidth&&t.paperFullWidth,r.fullScreen&&t.paperFullScreen]}})(({theme:e,ownerState:t})=>(0,Se.A)({margin:32,position:"relative",overflowY:"auto","@media print":{overflowY:"visible",boxShadow:"none"}},"paper"===t.scroll&&{display:"flex",flexDirection:"column",maxHeight:"calc(100% - 64px)"},"body"===t.scroll&&{display:"inline-block",verticalAlign:"middle",textAlign:"left"},!t.maxWidth&&{maxWidth:"calc(100% - 64px)"},"xs"===t.maxWidth&&{maxWidth:"px"===e.breakpoints.unit?Math.max(e.breakpoints.values.xs,444):`max(${e.breakpoints.values.xs}${e.breakpoints.unit}, 444px)`,[`&.${fD.paperScrollBody}`]:{[e.breakpoints.down(Math.max(e.breakpoints.values.xs,444)+64)]:{maxWidth:"calc(100% - 64px)"}}},t.maxWidth&&"xs"!==t.maxWidth&&{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`,[`&.${fD.paperScrollBody}`]:{[e.breakpoints.down(e.breakpoints.values[t.maxWidth]+64)]:{maxWidth:"calc(100% - 64px)"}}},t.fullWidth&&{width:"calc(100% - 64px)"},t.fullScreen&&{margin:0,width:"100%",maxWidth:"100%",height:"100%",maxHeight:"none",borderRadius:0,[`&.${fD.paperScrollBody}`]:{margin:0,maxWidth:"100%"}})),wD=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiDialog"}),o=ds(),i={enter:o.transitions.duration.enteringScreen,exit:o.transitions.duration.leavingScreen},{"aria-describedby":a,"aria-labelledby":s,BackdropComponent:l,BackdropProps:c,children:u,className:d,disableEscapeKeyDown:p=!1,fullScreen:h=!1,fullWidth:f=!1,maxWidth:m="sm",onBackdropClick:g,onClick:b,onClose:y,open:v,PaperComponent:x=Gi,PaperProps:w={},scroll:_="paper",TransitionComponent:C=CP,transitionDuration:k=i,TransitionProps:S}=n,A=(0,Ae.A)(n,gD),j=(0,Se.A)({},n,{disableEscapeKeyDown:p,fullScreen:h,fullWidth:f,maxWidth:m,scroll:_}),R=(e=>{const{classes:t,scroll:r,maxWidth:n,fullWidth:o,fullScreen:i}=e;return _o({root:["root"],container:["container",`scroll${wi(r)}`],paper:["paper",`paperScroll${wi(r)}`,`paperWidth${wi(String(n))}`,o&&"paperFullWidth",i&&"paperFullScreen"]},hD,t)})(j),I=e.useRef(),M=Xt(s),E=e.useMemo(()=>({titleId:M}),[M]);return(0,Nt.jsx)(yD,(0,Se.A)({className:ao(R.root,d),closeAfterTransition:!0,components:{Backdrop:bD},componentsProps:{backdrop:(0,Se.A)({transitionDuration:k,as:l},c)},disableEscapeKeyDown:p,onClose:y,open:v,ref:r,onClick:e=>{b&&b(e),I.current&&(I.current=null,g&&g(e),y&&y(e,"backdropClick"))},ownerState:j},A,{children:(0,Nt.jsx)(C,(0,Se.A)({appear:!0,in:v,timeout:k,role:"presentation"},S,{children:(0,Nt.jsx)(vD,{className:ao(R.container),onMouseDown:e=>{I.current=e.target===e.currentTarget},ownerState:j,children:(0,Nt.jsx)(xD,(0,Se.A)({as:x,elevation:24,role:"dialog","aria-describedby":a,"aria-labelledby":M},w,{className:ao(R.paper,w.className),ownerState:j,children:(0,Nt.jsx)(mD.Provider,{value:E,children:u})}))})}))}))});var _D=t().forwardRef((e,r)=>t().createElement(wD,{...e,ref:r}));function CD(e){return ho("MuiDialogActions",e)}fo("MuiDialogActions",["root","spacing"]);const kD=["className","disableSpacing"],SD=jo("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,Se.A)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),AD=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiDialogActions"}),{className:n,disableSpacing:o=!1}=r,i=(0,Ae.A)(r,kD),a=(0,Se.A)({},r,{disableSpacing:o}),s=(e=>{const{classes:t,disableSpacing:r}=e;return _o({root:["root",!r&&"spacing"]},CD,t)})(a);return(0,Nt.jsx)(SD,(0,Se.A)({className:ao(s.root,n),ownerState:a,ref:t},i))});var jD=t().forwardRef((e,r)=>t().createElement(AD,{...e,ref:r}));function RD(e){return ho("MuiDialogContent",e)}fo("MuiDialogContent",["root","dividers"]);const ID=fo("MuiDialogTitle",["root"]),MD=["className","dividers"],ED=jo("div",{name:"MuiDialogContent",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.dividers&&t.dividers]}})(({theme:e,ownerState:t})=>(0,Se.A)({flex:"1 1 auto",WebkitOverflowScrolling:"touch",overflowY:"auto",padding:"20px 24px"},t.dividers?{padding:"16px 24px",borderTop:`1px solid ${(e.vars||e).palette.divider}`,borderBottom:`1px solid ${(e.vars||e).palette.divider}`}:{[`.${ID.root} + &`]:{paddingTop:0}})),TD=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiDialogContent"}),{className:n,dividers:o=!1}=r,i=(0,Ae.A)(r,MD),a=(0,Se.A)({},r,{dividers:o}),s=(e=>{const{classes:t,dividers:r}=e;return _o({root:["root",r&&"dividers"]},RD,t)})(a);return(0,Nt.jsx)(ED,(0,Se.A)({className:ao(s.root,n),ownerState:a,ref:t},i))});var OD=t().forwardRef((e,r)=>t().createElement(TD,{...e,ref:r}));function PD(e){return ho("MuiAppBar",e)}fo("MuiAppBar",["root","positionFixed","positionAbsolute","positionSticky","positionStatic","positionRelative","colorDefault","colorPrimary","colorSecondary","colorInherit","colorTransparent","colorError","colorInfo","colorSuccess","colorWarning"]);const LD=["className","color","enableColorOnDark","position"],zD=(e,t)=>e?`${null==e?void 0:e.replace(")","")}, ${t})`:t,ND=jo(Gi,{name:"MuiAppBar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`position${wi(r.position)}`],t[`color${wi(r.color)}`]]}})(({theme:e,ownerState:t})=>{const r="light"===e.palette.mode?e.palette.grey[100]:e.palette.grey[900];return(0,Se.A)({display:"flex",flexDirection:"column",width:"100%",boxSizing:"border-box",flexShrink:0},"fixed"===t.position&&{position:"fixed",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0,"@media print":{position:"absolute"}},"absolute"===t.position&&{position:"absolute",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"sticky"===t.position&&{position:"sticky",zIndex:(e.vars||e).zIndex.appBar,top:0,left:"auto",right:0},"static"===t.position&&{position:"static"},"relative"===t.position&&{position:"relative"},!e.vars&&(0,Se.A)({},"default"===t.color&&{backgroundColor:r,color:e.palette.getContrastText(r)},t.color&&"default"!==t.color&&"inherit"!==t.color&&"transparent"!==t.color&&{backgroundColor:e.palette[t.color].main,color:e.palette[t.color].contrastText},"inherit"===t.color&&{color:"inherit"},"dark"===e.palette.mode&&!t.enableColorOnDark&&{backgroundColor:null,color:null},"transparent"===t.color&&(0,Se.A)({backgroundColor:"transparent",color:"inherit"},"dark"===e.palette.mode&&{backgroundImage:"none"})),e.vars&&(0,Se.A)({},"default"===t.color&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette.AppBar.defaultBg:zD(e.vars.palette.AppBar.darkBg,e.vars.palette.AppBar.defaultBg),"--AppBar-color":t.enableColorOnDark?e.vars.palette.text.primary:zD(e.vars.palette.AppBar.darkColor,e.vars.palette.text.primary)},t.color&&!t.color.match(/^(default|inherit|transparent)$/)&&{"--AppBar-background":t.enableColorOnDark?e.vars.palette[t.color].main:zD(e.vars.palette.AppBar.darkBg,e.vars.palette[t.color].main),"--AppBar-color":t.enableColorOnDark?e.vars.palette[t.color].contrastText:zD(e.vars.palette.AppBar.darkColor,e.vars.palette[t.color].contrastText)},{backgroundColor:"var(--AppBar-background)",color:"inherit"===t.color?"inherit":"var(--AppBar-color)"},"transparent"===t.color&&{backgroundImage:"none",backgroundColor:"transparent",color:"inherit"}))}),FD=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiAppBar"}),{className:n,color:o="primary",enableColorOnDark:i=!1,position:a="fixed"}=r,s=(0,Ae.A)(r,LD),l=(0,Se.A)({},r,{color:o,position:a,enableColorOnDark:i}),c=(e=>{const{color:t,position:r,classes:n}=e;return _o({root:["root",`color${wi(t)}`,`position${wi(r)}`]},PD,n)})(l);return(0,Nt.jsx)(ND,(0,Se.A)({square:!0,component:"header",ownerState:l,elevation:4,className:ao(c.root,n,"fixed"===a&&"mui-fixed"),ref:t},s))}),DD=FD;var BD=t().forwardRef((e,r)=>t().createElement(DD,{...e,ref:r}));function $D(e){return ho("MuiToolbar",e)}fo("MuiToolbar",["root","gutters","regular","dense"]);const HD=["className","component","disableGutters","variant"],WD=jo("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableGutters&&t.gutters,t[r.variant]]}})(({theme:e,ownerState:t})=>(0,Se.A)({position:"relative",display:"flex",alignItems:"center"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}},"dense"===t.variant&&{minHeight:48}),({theme:e,ownerState:t})=>"regular"===t.variant&&e.mixins.toolbar),VD=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiToolbar"}),{className:n,component:o="div",disableGutters:i=!1,variant:a="regular"}=r,s=(0,Ae.A)(r,HD),l=(0,Se.A)({},r,{component:o,disableGutters:i,variant:a}),c=(e=>{const{classes:t,disableGutters:r,variant:n}=e;return _o({root:["root",!r&&"gutters",n]},$D,t)})(l);return(0,Nt.jsx)(WD,(0,Se.A)({as:o,className:ao(c.root,n),ref:t,ownerState:l},s))});var qD=t().forwardRef((e,r)=>t().createElement(VD,{...e,ref:r}));const UD=Ma(e=>t().createElement(ka,{viewBox:"0 0 32 32",...e},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.69648 24.8891C0.938383 22.2579 0 19.1645 0 16C0 11.7566 1.68571 7.68687 4.68629 4.68629C7.68687 1.68571 11.7566 0 16 0C19.1645 0 22.2579 0.938383 24.8891 2.69648C27.5203 4.45459 29.5711 6.95344 30.7821 9.87706C31.9931 12.8007 32.3099 16.0177 31.6926 19.1214C31.0752 22.2251 29.5514 25.0761 27.3137 27.3137C25.0761 29.5514 22.2251 31.0752 19.1214 31.6926C16.0177 32.3099 12.8007 31.9931 9.87706 30.7821C6.95344 29.5711 4.45459 27.5203 2.69648 24.8891ZM12.0006 9.33281H9.33437V22.6665H12.0006V9.33281ZM22.6657 9.33281H14.6669V11.9991H22.6657V9.33281ZM22.6657 14.6654H14.6669V17.3316H22.6657V14.6654ZM22.6657 20.0003H14.6669V22.6665H22.6657V20.0003Z"})))(({theme:e})=>({width:e.spacing(3),height:e.spacing(3),"& path":{fill:e.palette.text.primary},marginRight:e.spacing(1)})),ZD=Ma("span")(({theme:e})=>({marginRight:e.spacing(1)})),GD=({logo:e,...r})=>!1===e?null:e?t().createElement(ZD,null,e):t().createElement(UD,{...r}),{slots:KD,classNames:XD}=Sa("DialogHeader",["root","logo","toolbar"]),JD=Ma(BD,KD.root)({"& .MuiDialogTitle-root":{padding:0}}),YD=Ma(qD,KD.toolbar)({}),QD={color:"transparent",position:"relative"},eB=t().forwardRef((e,r)=>{const n=Io({props:{...QD,...e},name:KD.root.name}),{slotProps:o={},logo:i,onClose:a,...s}=n;return t().createElement(JD,{...s,ref:r,className:Pi([[XD.root,s.className]]),ownerState:n},t().createElement(YD,{variant:"dense",...o.toolbar,className:Pi([XD.toolbar,o.toolbar?.className]),ownerState:n},t().createElement(GD,{logo:i,className:Pi([XD.logo,o.logo?.className])}),t().createElement(Cz,{direction:"row",alignItems:"center",flex:1},n.children),a&&t().createElement(Fa,{edge:"end",onClick:a,sx:{"&.MuiButtonBase-root":{ml:.5}}})))});eB.defaultProps=QD;var tB=eB;const rB=({title:e,onCancel:t,onClose:r,onApprove:n,approveText:o=(0,tS.__)("Submit","pojo-accessibility"),cancelText:i=(0,tS.__)("Cancel","pojo-accessibility"),approveButtonColor:a="error",approveButtonSize:s="medium",children:l,logo:c=(0,Nt.jsx)(cO,{color:"error"}),showCancelButton:u=!0,showApproveButton:d=!0,approveButtonDisabled:p=!1,showCloseButton:h=!1,dividers:f=!1,open:m=!0,...g})=>(0,Nt.jsxs)(_D,{open:m,onClose:r,...g,children:[(0,Nt.jsx)(tB,{logo:c,onClose:!!h&&r,children:(0,Nt.jsx)(Jw,{variant:"subtitle1",children:e})}),(0,Nt.jsx)(OD,{dividers:f,sx:{py:1},children:l}),(0,Nt.jsxs)(jD,{children:[u&&(0,Nt.jsx)(F_,{onClick:t,color:"secondary",children:i}),d&&(0,Nt.jsx)(F_,{variant:"contained",disabled:p,color:a,size:s,onClick:n,children:o})]})]}),nB=({open:e,hideConfirmation:t,onApprove:r})=>(0,Nt.jsx)(rB,{open:e,onClose:t,onCancel:t,logo:!1,title:(0,tS.__)("Apply fix across scans?","pojo-accessibility"),approveText:(0,tS.__)("Apply to all","pojo-accessibility"),cancelText:(0,tS.__)("Cancel","pojo-accessibility"),approveButtonColor:"info",onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Nt.jsx)(Jw,{variant:"body2",children:(0,tS.__)("This fix will apply to past and future scans, making the issue resolved.","pojo-accessibility")})});nB.propTypes={open:IR().bool.isRequired,hideConfirmation:IR().func.isRequired,onApprove:IR().func.isRequired};const oB=()=>{const{error:e}=Gn(),{openedBlock:t,globalRemediations:r,sortedGlobalRemediation:n,setLoading:o,updateRemediationList:i,setIsManageChanged:a}=QS(),[s,l]=(0,Vn.useState)(!1),c=(e,t,o)=>{Ww(Vw[e?"remediationEnabled":"remediationDisabled"],{action_type:e?"enable_all":"disable_all",remediations_amount:t?n[t]:r?.length,category:t||"all",context:o,is_global:"yes"})},u=(e,r,n)=>{Ww(Vw[e?"remediationEnabled":"remediationDisabled"],{action_type:e?"enable_specific":"disable_specific",category_name:t,issue_type:r,is_global:"yes",context:n})};return{activeRequest:s,setRemediationAsGlobal:async t=>{try{o(!0),await oo.setRemediationAsGlobal({id:t}),a(!0),Ww(Vw.applyGlobalFixConfirmationClicked),await i()}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}},updateGlobalRemediationForPage:async(t,r,n)=>{try{l(!0),await oo.updateGlobalRemediationForPage({url:window?.ea11yScannerData?.pageData?.url,id:t,active:r}),a(!0),await i(),u(r,n,"current_page")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{l(!1)}},updateGlobalRemediationForAllPages:async(t,r,n)=>{try{l(!0),await oo.updateGlobalRemediationForAllPages({id:t,active:r}),a(!0),await i(),u(r,n,"all_pages")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{l(!1)}},updateGlobalRemediationGroupForPage:async(t,r)=>{try{o(!0),await oo.updateGlobalRemediationGroupForPage({url:window?.ea11yScannerData?.pageData?.url,active:t,group:r}),a(!0),await i(),c(t,r,"current_page")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}},updateGlobalRemediationGroupForAllPages:async(t,r)=>{try{o(!0),await oo.updateGlobalRemediationGroupForAllPages({active:t,group:r}),a(!0),await i(),c(t,r,"all_pages")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}},updateAllGlobalRemediationForPage:async t=>{try{o(!0),await oo.updateAllGlobalRemediationForPage({url:window?.ea11yScannerData?.pageData?.url,active:t}),a(!0),await i(),c(t,"all","current_page")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}},updateAllGlobalRemediationForAllPages:async t=>{try{o(!0),await oo.updateAllGlobalRemediationForAllPages({active:t}),a(!0),await i(),c(t,"all","all_pages")}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}},deleteGlobalRemediation:async(r,n)=>{try{l(!0),await oo.deleteGlobalRemediation({id:r}),Ww(Vw.remediationRemoved,{action_type:"remove_specific",category_name:t,issue_type:n,is_global:"yes"}),await i()}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{l(!1)}},deleteGlobalRemediations:async t=>{try{o(!0),await oo.deleteGlobalRemediations({group:t}),await i(),Ww(Vw.remediationRemoved,{action_type:"remove_all",remediations_amount:t?n[t]:r?.length,category:t||"all",is_global:"yes"})}catch(t){console.error(t),e((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{o(!1)}}}},iB=r.p+"images/global-infotip-image.0e82604c.png";function aB(e){return ho("MuiCollapse",e)}fo("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);const sB=["addEndListener","children","className","collapsedSize","component","easing","in","onEnter","onEntered","onEntering","onExit","onExited","onExiting","orientation","style","timeout","TransitionComponent"],lB=jo("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})(({theme:e,ownerState:t})=>(0,Se.A)({height:0,overflow:"hidden",transition:e.transitions.create("height")},"horizontal"===t.orientation&&{height:"auto",width:0,transition:e.transitions.create("width")},"entered"===t.state&&(0,Se.A)({height:"auto",overflow:"visible"},"horizontal"===t.orientation&&{width:"auto"}),"exited"===t.state&&!t.in&&"0px"===t.collapsedSize&&{visibility:"hidden"})),cB=jo("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})(({ownerState:e})=>(0,Se.A)({display:"flex",width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),uB=jo("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})(({ownerState:e})=>(0,Se.A)({width:"100%"},"horizontal"===e.orientation&&{width:"auto",height:"100%"})),dB=e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiCollapse"}),{addEndListener:o,children:i,className:a,collapsedSize:s="0px",component:l,easing:c,in:u,onEnter:d,onEntered:p,onEntering:h,onExit:f,onExited:m,onExiting:g,orientation:b="vertical",style:y,timeout:v=At.standard,TransitionComponent:x=ws}=n,w=(0,Ae.A)(n,sB),_=(0,Se.A)({},n,{orientation:b,collapsedSize:s}),C=(e=>{const{orientation:t,classes:r}=e;return _o({root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]},aB,r)})(_),k=ds(),S=zo(),A=e.useRef(null),j=e.useRef(),R="number"==typeof s?`${s}px`:s,I="horizontal"===b,M=I?"width":"height",E=e.useRef(null),T=Eo(r,E),O=e=>t=>{if(e){const r=E.current;void 0===t?e(r):e(r,t)}},P=()=>A.current?A.current[I?"clientWidth":"clientHeight"]:0,L=O((e,t)=>{A.current&&I&&(A.current.style.position="absolute"),e.style[M]=R,d&&d(e,t)}),z=O((e,t)=>{const r=P();A.current&&I&&(A.current.style.position="");const{duration:n,easing:o}=Cs({style:y,timeout:v,easing:c},{mode:"enter"});if("auto"===v){const t=k.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,j.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[M]=`${r}px`,e.style.transitionTimingFunction=o,h&&h(e,t)}),N=O((e,t)=>{e.style[M]="auto",p&&p(e,t)}),F=O(e=>{e.style[M]=`${P()}px`,f&&f(e)}),D=O(m),B=O(e=>{const t=P(),{duration:r,easing:n}=Cs({style:y,timeout:v,easing:c},{mode:"exit"});if("auto"===v){const r=k.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,j.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[M]=R,e.style.transitionTimingFunction=n,g&&g(e)});return(0,Nt.jsx)(x,(0,Se.A)({in:u,onEnter:L,onEntered:N,onEntering:z,onExit:F,onExited:D,onExiting:B,addEndListener:e=>{"auto"===v&&S.start(j.current||0,e),o&&o(E.current,e)},nodeRef:E,timeout:"auto"===v?null:v},w,{children:(e,t)=>(0,Nt.jsx)(lB,(0,Se.A)({as:l,className:ao(C.root,a,{entered:C.entered,exited:!u&&"0px"===R&&C.hidden}[e]),style:(0,Se.A)({[I?"minWidth":"minHeight"]:R},y),ref:T},t,{ownerState:(0,Se.A)({},_,{state:e}),children:(0,Nt.jsx)(cB,{ownerState:(0,Se.A)({},_,{state:e}),className:C.wrapper,ref:A,children:(0,Nt.jsx)(uB,{ownerState:(0,Se.A)({},_,{state:e}),className:C.wrapperInner,children:i})})}))}))});dB.muiSupportAuto=!0;const pB=dB,hB=e.createContext({});function fB(e){return ho("MuiAccordion",e)}const mB=fo("MuiAccordion",["root","rounded","expanded","disabled","gutters","region"]),gB=["children","className","defaultExpanded","disabled","disableGutters","expanded","onChange","square","slots","slotProps","TransitionComponent","TransitionProps"],bB=Ei(),yB=jo(Gi,{name:"MuiAccordion",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${mB.region}`]:t.region},t.root,!r.square&&t.rounded,!r.disableGutters&&t.gutters]}})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{position:"relative",transition:e.transitions.create(["margin"],t),overflowAnchor:"none","&::before":{position:"absolute",left:0,top:-1,right:0,height:1,content:'""',opacity:1,backgroundColor:(e.vars||e).palette.divider,transition:e.transitions.create(["opacity","background-color"],t)},"&:first-of-type":{"&::before":{display:"none"}},[`&.${mB.expanded}`]:{"&::before":{opacity:0},"&:first-of-type":{marginTop:0},"&:last-of-type":{marginBottom:0},"& + &":{"&::before":{display:"none"}}},[`&.${mB.disabled}`]:{backgroundColor:(e.vars||e).palette.action.disabledBackground}}},({theme:e})=>({variants:[{props:e=>!e.square,style:{borderRadius:0,"&:first-of-type":{borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius},"&:last-of-type":{borderBottomLeftRadius:(e.vars||e).shape.borderRadius,borderBottomRightRadius:(e.vars||e).shape.borderRadius,"@supports (-ms-ime-align: auto)":{borderBottomLeftRadius:0,borderBottomRightRadius:0}}}},{props:e=>!e.disableGutters,style:{[`&.${mB.expanded}`]:{margin:"16px 0"}}}]})),vB=e.forwardRef(function(t,r){const n=bB({props:t,name:"MuiAccordion"}),{children:o,className:i,defaultExpanded:a=!1,disabled:s=!1,disableGutters:l=!1,expanded:c,onChange:u,square:d=!1,slots:p={},slotProps:h={},TransitionComponent:f,TransitionProps:m}=n,g=(0,Ae.A)(n,gB),[b,y]=aR({controlled:c,default:a,name:"Accordion",state:"expanded"}),v=e.useCallback(e=>{y(!b),u&&u(e,!b)},[b,u,y]),[x,...w]=e.Children.toArray(o),_=e.useMemo(()=>({expanded:b,disabled:s,disableGutters:l,toggle:v}),[b,s,l,v]),C=(0,Se.A)({},n,{square:d,disabled:s,disableGutters:l,expanded:b}),k=(e=>{const{classes:t,square:r,expanded:n,disabled:o,disableGutters:i}=e;return _o({root:["root",!r&&"rounded",n&&"expanded",o&&"disabled",!i&&"gutters"],region:["region"]},fB,t)})(C),S=(0,Se.A)({transition:f},p),A=(0,Se.A)({transition:m},h),[j,R]=Wi("transition",{elementType:pB,externalForwardedProps:{slots:S,slotProps:A},ownerState:C});return(0,Nt.jsxs)(yB,(0,Se.A)({className:ao(k.root,i),ref:r,ownerState:C,square:d},g,{children:[(0,Nt.jsx)(hB.Provider,{value:_,children:x}),(0,Nt.jsx)(j,(0,Se.A)({in:b,timeout:"auto"},R,{children:(0,Nt.jsx)("div",{"aria-labelledby":x.props.id,id:x.props["aria-controls"],role:"region",className:k.region,children:w})}))]}))}),xB=vB,wB={variant:"outlined"},_B=t().forwardRef((e,r)=>t().createElement(xB,{...wB,...e,ref:r}));_B.defaultProps=wB;var CB=_B;function kB(e){return ho("MuiAccordionDetails",e)}fo("MuiAccordionDetails",["root"]);const SB=["className"],AB=Ei(),jB=jo("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({padding:e.spacing(1,2,2)})),RB=e.forwardRef(function(e,t){const r=AB({props:e,name:"MuiAccordionDetails"}),{className:n}=r,o=(0,Ae.A)(r,SB),i=r,a=(e=>{const{classes:t}=e;return _o({root:["root"]},kB,t)})(i);return(0,Nt.jsx)(jB,(0,Se.A)({className:ao(a.root,n),ref:t,ownerState:i},o))});var IB=t().forwardRef((e,r)=>t().createElement(RB,{...e,ref:r}));function MB(e){return ho("MuiAccordionSummary",e)}const EB=fo("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]),TB=["children","className","expandIcon","focusVisibleClassName","onClick"],OB=Ei(),PB=jo(xi,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${EB.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${EB.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${EB.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${EB.expanded}`]:{minHeight:64}}}]}}),LB=jo("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})(({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${EB.expanded}`]:{margin:"20px 0"}}}]})),zB=jo("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})(({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${EB.expanded}`]:{transform:"rotate(180deg)"}})),NB=e.forwardRef(function(t,r){const n=OB({props:t,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:a,focusVisibleClassName:s,onClick:l}=n,c=(0,Ae.A)(n,TB),{disabled:u=!1,disableGutters:d,expanded:p,toggle:h}=e.useContext(hB),f=(0,Se.A)({},n,{expanded:p,disabled:u,disableGutters:d}),m=(e=>{const{classes:t,expanded:r,disabled:n,disableGutters:o}=e;return _o({root:["root",r&&"expanded",n&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",r&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",r&&"expanded"]},MB,t)})(f);return(0,Nt.jsxs)(PB,(0,Se.A)({focusRipple:!1,disableRipple:!0,disabled:u,component:"div","aria-expanded":p,className:ao(m.root,i),focusVisibleClassName:ao(m.focusVisible,s),onClick:e=>{h&&h(e),l&&l(e)},ref:r,ownerState:f},c,{children:[(0,Nt.jsx)(LB,{className:m.content,ownerState:f,children:o}),a&&(0,Nt.jsx)(zB,{className:m.expandIconWrapper,ownerState:f,children:a})]}))}),FB=t().forwardRef((e,r)=>t().createElement(ka,{viewBox:"0 0 24 24",...e,ref:r},t().createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.2929 9.29289C17.6834 8.90237 18.3166 8.90237 18.7071 9.29289C19.0976 9.68342 19.0976 10.3166 18.7071 10.7071L12.7071 16.7071C12.3166 17.0976 11.6834 17.0976 11.2929 16.7071L5.29289 10.7071C4.90237 10.3166 4.90237 9.68342 5.29289 9.29289C5.68342 8.90237 6.31658 8.90237 6.70711 9.29289L12 14.5858L17.2929 9.29289Z"}))),DB={expandIcon:t().createElement(FB,null)},BB=t().forwardRef((e,r)=>t().createElement(NB,{...DB,...e,ref:r}));BB.defaultProps=DB;var $B=BB;const HB=Ma(CB)`
border-right: none;
border-left: none;
`,WB=Ma($B)`
min-height: 44px;
& .MuiAccordionSummary-content {
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
width: calc(100% - ${({theme:e})=>e.spacing(4)});
}
& .MuiRadio-root {
padding: 0;
}
& .MuiRadio-root.Mui-disabled {
color: ${({theme:e})=>e.palette.action.active};
}
& .MuiRadio-root.Mui-checked {
color: ${({theme:e})=>e.palette.info.main};
}
`,VB=Ma(IB)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding-bottom: 0;
`,qB=Ma(Jw)`
word-break: break-word;
`,UB=Ma(vo)`
padding: ${({theme:e})=>e.spacing(2)};
max-width: 368px;
white-space: normal;
`,ZB=Ma("img")`
max-width: 304px;
height: auto;
border-top-left-radius: ${({theme:e})=>e.spacing(.5)};
border-top-right-radius: ${({theme:e})=>e.spacing(.5)};
`,GB=Ma(vo)`
display: flex;
justify-content: flex-end;
margin-top: ${({theme:e})=>e.spacing(2)};
`,KB=Ma(vo)`
display: flex;
justify-content: space-between;
margin-bottom: ${({theme:e})=>e.spacing(1)};
min-height: ${({theme:e})=>e.spacing(4)};
`,XB=Ma(vo)`
display: flex;
gap: ${({theme:e})=>e.spacing(1)};
align-items: center;
`,JB=Ma(KF)`
textarea {
font-size: 14px;
}
`,YB=Ma(vo)`
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: ${({theme:e})=>e.spacing(.5)};
gap: ${({theme:e})=>e.spacing(.5)};
`,QB=IR().shape({id:IR().number.isRequired,url:IR().string.isRequired,active:IR().bool.isRequired,category:IR().string.isRequired,content:IR().string.isRequired,group:IR().string.isRequired,rule:IR().string.isRequired,created_at:IR().string.isRequired,updated_at:IR().string.isRequired}),e$=({item:e,onGlobalChange:t=null,isChecked:r=!1})=>{const{openedBlock:n}=QS(),{setRemediationAsGlobal:o}=oB(),[i,a]=(0,Vn.useState)(!1),s=(r,o)=>t?(r=>{t&&t(r),Ww(Vw.markAsGlobalToggled,{toggle_status:r?"on":"off",source:"assistant",category_name:n,issue_type:e.message,rule_id:e.ruleId})})(o):(a(!0),void Ww(Vw.popupButtonClicked,{data:{popupType:"set_as_global_confirmation",buttonName:"Apply across scans"}})),l=()=>{Ww(Vw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,feature_locked:"globals"})},c=({children:e})=>(0,Nt.jsx)(SR,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},disableFocusListener:!0,content:(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(ZB,{src:iB,role:"presentation"}),(0,Nt.jsxs)(UB,{sx:{maxWidth:"265px"},children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",sx:{mb:1},children:(0,tS.__)("Upgrade to unlock cross-scan fixes","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",sx:{mb:1.5},color:"text.secondary",children:(0,tS.__)("Cross-scan fixes let you resolve the same issue on all scanned pages with a click.","pojo-accessibility")}),(0,Nt.jsx)(vo,{display:"flex",justifyContent:"flex-end",children:(0,Nt.jsx)(F_,{size:"small",color:"promotion",variant:"contained",href:"https://go.elementor.com/acc-global-remediation",target:"_blank",rel:"noreferrer",startIcon:(0,Nt.jsx)(EN,{}),onClick:l,children:(0,tS.__)("Upgrade now","pojo-accessibility")})})]})]}),children:e});return(0,Nt.jsxs)(vo,{children:[uS?(0,Nt.jsxs)(vo,{display:"flex",gap:.5,alignItems:"center",children:[(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",children:[(0,Nt.jsx)(dD,{checked:r,size:"small",color:r?"info":"secondary",onChange:s}),(0,Nt.jsx)(tD,{color:"action",fontSize:"small"})]}),(0,Nt.jsx)(Jw,{variant:"body2",color:"action",children:(0,tS.__)("Apply across scans","pojo-accessibility")}),(0,Nt.jsx)(SR,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},content:(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(ZB,{src:iB,role:"presentation"}),(0,Nt.jsxs)(UB,{sx:{maxWidth:"260px"},children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",sx:{mb:1},children:(0,tS.__)("Fix once, apply everywhere","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",color:"text.secondary",children:(0,tS.__)("Apply this fix automatically to pages already scanned and to future scans.","pojo-accessibility")})]})]}),children:(0,Nt.jsx)(AA,{color:"action",fontSize:"tiny"})})]}):(0,Nt.jsxs)(vo,{display:"flex",gap:.5,alignItems:"center",children:[(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",children:[(0,Nt.jsx)(c,{children:(0,Nt.jsx)(vo,{children:(0,Nt.jsx)(dD,{checked:!1,size:"small",color:"secondary",onChange:s,disabled:!0})})}),(0,Nt.jsx)(tD,{color:"action",fontSize:"small"})]}),(0,Nt.jsx)(Jw,{variant:"body2",color:"action",sx:{cursor:"default"},children:(0,tS.__)("Apply across scans","pojo-accessibility")}),(0,Nt.jsx)(c,{children:(0,Nt.jsx)(eS,{color:"promotion",variant:"standard",icon:(0,Nt.jsx)(pD,{}),size:"small"})})]}),(0,Nt.jsx)(nB,{open:i,hideConfirmation:()=>a(!1),onApprove:()=>{a(!1),o(e.id)},item:e})]})};e$.propTypes={item:QB,onGlobalChange:IR().func,isChecked:IR().bool};const t$=({closeUpgrade:e,isAlt:t=!1})=>(0,Nt.jsxs)(UB,{children:[(0,Nt.jsxs)(Zk,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",sx:{mb:3},children:uS?(0,tS.__)("You've reached the monthly limit","pojo-accessibility"):(0,tS.__)("Resolve issues automatically with AI","pojo-accessibility")}),e&&(0,Nt.jsx)(Ca,{onClick:e,size:"small",edge:"end",sx:{mt:-1},children:(0,Nt.jsx)(aN,{})})]}),(0,Nt.jsx)(Jw,{variant:"body2",color:"secondary",sx:{mb:2},children:uS?(0,tS.__)("To work more magic with AI, upgrade your plan or wait until next month.","pojo-accessibility"):(0,tS.__)("Upgrade your plan to skip the manual work and have Ally's AI auto-resolve accessibility issues for you.","pojo-accessibility")}),(0,Nt.jsx)(GB,{children:(0,Nt.jsx)(F_,{size:"small",color:"promotion",variant:"contained",href:uS?"https://go.elementor.com/acc-AI-limit-scanner":lS,target:"_blank",rel:"noreferrer",startIcon:uS?null:(0,Nt.jsx)(EN,{}),onClick:()=>{Ww(Vw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"ai_suggestion_accepted",feature_locked:t?"AI alt-text":"AI manual"})},children:uS?(0,tS.__)("Compare plans","pojo-accessibility"):(0,tS.__)("Upgrade now","pojo-accessibility")})})]});t$.propTypes={closeUpgrade:IR().func,isAlt:IR().bool};const r$=IR().shape({ruleId:IR().string.isRequired,value:IR().arrayOf(IR().oneOf(["PASS","FAIL","POTENTIAL","MANUAL","VIOLATION","RECOMMENDATION","INFORMATION"])).isRequired,path:IR().shape({dom:IR().string.isRequired,aria:IR().string.isRequired,selector:IR().string}).isRequired,messageArgs:IR().arrayOf(IR().string),reasonCategory:IR().string.isRequired,category:IR().string.isRequired,level:IR().string.isRequired,node:IR().object,parentNode:IR().object,isPotential:IR().bool,isEdit:IR().bool,global:IR().bool}),n$=(e,t=null)=>{if(!e)return"";const r=GS(e);if(!r||r.nodeType!==Node.ELEMENT_NODE)return"";const n=new Set([iS,aS,sS]);let o=r.cloneNode(!0).outerHTML;return n.forEach(e=>{o=o.replaceAll(` ${e}`,""),o=o.replaceAll(e,""),o=o.replaceAll('class=""',""),t&&(o=o.replaceAll(t,""))}),o},o$=e=>new Promise((t,r)=>{const n=new Image;n.onload=()=>{const r=document.createElement("canvas");r.width=n.width,r.height=n.height,r.getContext("2d").drawImage(n,0,0,n.width,n.height),URL.revokeObjectURL(e);const o=r.toDataURL("image/png");t(o)},n.onerror=r,n.src=e}),i$=e=>{const t=(new XMLSerializer).serializeToString(e),r=new Blob([t],{type:"image/svg+xml"}),n=URL.createObjectURL(r);return o$(n)},a$=({current:e,item:t})=>{const{altTextData:r,setAltTextData:n,resolved:o,currentScanId:i,setResolved:a,isResolved:s,setOpenedBlock:l,updateRemediationList:c,isManage:u,setIsManageChanged:d}=QS(),{error:p}=Gn(),[h,f]=(0,Vn.useState)(!1),[m,g]=(0,Vn.useState)(!1),[b,y]=(0,Vn.useState)(!0),v=u?"manage":"main",x=r?.[v]?.[e]?.isGlobal||t.global||!1,w=(0,Vn.useRef)(null);(0,Vn.useEffect)(()=>{t?.node&&(w.current=x)},[e]),(0,Vn.useEffect)(()=>{_(u?{makeDecorative:"role"===t.data.attribute_name,altText:"role"!==t.data.attribute_name?t.data.attribute_value:"",isGlobal:x}:{isGlobal:x})},[u,e]),(0,Vn.useEffect)(()=>{u||b||!s(mS.altText)||(ZS(),l(mS.main)),y(!1)},[s(mS.altText)]);const _=t=>{const i=[...r?.[v]];r?.[v]?.[e]?.resolved&&!t.resolved&&a(o-1),i[e]={...r?.[v]?.[e]||{},...t},n({...r,[v]:i})},C=()=>r?.[v]?.[e]?.makeDecorative?{attribute_name:"role",attribute_value:"presentation"}:"svg"===t.node.tagName?{attribute_name:"aria-label",attribute_value:r?.[v]?.[e]?.altText}:{attribute_name:"alt",attribute_value:r?.[v]?.[e]?.altText},k=e=>{Ww(Vw.fixWithAiButtonClicked,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:mS.altText,ai_text_response:e,page_url:window.ea11yScannerData?.pageData?.url})},S=C(),A=u?S.attribute_value===t.data.attribute_value&&S.attribute_name===t.data.attribute_name&&x===t.global:!r?.[v]?.[e]?.makeDecorative&&!r?.[v]?.[e]?.altText||r?.[v]?.[e]?.resolved&&r?.[v]?.[e]?.isGlobal===w.current||m;return{isGlobal:x,setIsGlobal:e=>{_({isGlobal:e})},loadingAiText:h,data:r?.[v],isSubmitDisabled:A,loading:m,handleCheck:e=>{_({makeDecorative:e.target.checked,apiId:null,resolved:!1}),e.target.checked&&Ww(Vw.markAsDecorativeSelected,{category_name:mS.altText})},handleChange:e=>{_({altText:e.target.value,apiId:null,resolved:!1})},handleSubmit:async()=>{try{g(!0);const n=r?.[v]?.[e]?.apiId?"AI alt-text":"Manual alt-text",s=await(async()=>{const n=t.node.className.toString().match(/wp-image-(\d+)/),o=r?.[v]?.[e]?.makeDecorative?"":r?.[v]?.[e]?.altText,a=t.snippet;try{n&&"svg"!==t.node.tagName&&oo.submitAltText(t.node.src,o);const s=await oo.submitRemediation({url:window?.ea11yScannerData?.pageData.url,remediation:{...C(),action:"add",xpath:t.path.dom,find:a,category:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"ATTRIBUTE"},global:x,rule:t.ruleId,group:mS.altText,apiId:r?.[v]?.[e]?.apiId});return await oo.resolveIssue(i),c(),s.remediation}catch(e){console.warn(e)}})();r?.[v]?.[e]?.resolved||(_({remediation:s,resolved:!0}),w.current=x,a(o+1)),r?.[v]?.[e]?.apiId&&Ww(Vw.aiSuggestionAccepted,{element_selector:t.path.dom,image_src:t.node?.src,final_text:r?.[v]?.[e]?.altText,credit_used:1}),Ww(Vw.applyFixButtonClicked,{fix_method:r?.[v]?.[e]?.makeDecorative?"Mark as decorative":n,issue_type:t.message,category_name:mS.altText,page_url:window.ea11yScannerData?.pageData?.url,is_global:x?"yes":"no"})}catch(e){console.error(e)}finally{g(!1)}},handleUpdate:async()=>{const n=n$(t.path.dom,t.data?.attribute_name?`${t.data.attribute_name}=" ${t.data.attribute_value}"`:"");try{g(!0);const o=r?.[v]?.[e]?.remediation,i=t.id||o.id,a=t.data||JSON.parse(o.content),s=JSON.stringify({...a,...C(),find:n});await oo.updateRemediationContent({url:window?.ea11yScannerData?.pageData?.url,id:i,content:s,global:x}),w.current=x,d(!0),c()}catch(e){console.error(e)}finally{g(!1)}},generateAltText:async()=>{if(r?.[v]?.[e]?.aiText?.length){const t=r?.[v]?.[e]?.aiTextIndex+1<r?.[v]?.[e]?.aiText?.length?r?.[v]?.[e]?.aiTextIndex+1:0;_({altText:r?.[v]?.[e]?.aiText[t],aiTextIndex:t,resolved:!1}),k(r?.[v]?.[e]?.aiText[t])}else await(async()=>{f(!0);const e=await(async()=>t.node?.src?t.node.src.toLowerCase().endsWith(".svg")?{svg:await o$(t.node.src)}:{image:t.node.src}:{svg:await i$(t.node)})();try{const t=await oo.generateAltText(e),r=t.data.response.replace("Here are 5 alt text descriptions for the image:","").replace("Here are 5 concise alt text descriptions for the image:","").split("\n").map(e=>e.trim()).filter(e=>e.length>0).map(e=>(e.indexOf(".")!==e.length-1&&(e=e.replace(/^[^\.]*\.\s*/,"")),e.length>=2&&e.startsWith('"')&&e.endsWith('"')&&(e=e.slice(1,-1)),e));r[0]&&(_({altText:r[0],aiText:r,apiId:t.data.apiId,aiTextIndex:0,resolved:!1}),k(r[0]))}catch(e){console.log(e),p((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{f(!1)}})()}}};a$.propTypes={current:IR().number.isRequired,item:r$.isRequired};const s$=({item:e,current:t,setCurrent:r,setIsEdit:n})=>{var o,i;const{isManage:a}=QS(),{error:s}=Gn(),{isGlobal:l,setIsGlobal:c,data:u,loadingAiText:d,isSubmitDisabled:p,loading:h,handleChange:f,handleCheck:m,handleSubmit:g,handleUpdate:b,generateAltText:y}=a$({current:t,item:e}),v=a?(0,tS.__)("Apply changes","pojo-accessibility"):(0,tS.__)("Apply fix","pojo-accessibility");return(0,Nt.jsxs)(Yk,{children:[(0,Nt.jsx)(yO,{}),(0,Nt.jsx)(eD,{element:e.node}),(0,Nt.jsxs)(YF,{children:[(0,Nt.jsx)(pF,{checked:null!==(o=u?.[t]?.makeDecorative)&&void 0!==o&&o,color:"info",sx:{margin:"-7px 0 0 -10px"},size:"small",onChange:m}),(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Jw,{variant:"body1",children:(0,tS.__)("Mark image as decorative","pojo-accessibility")}),(0,Nt.jsx)(vF,{sx:{mt:0},children:(0,tS.__)("(decorative images don't need description)","pojo-accessibility")})]})]}),u?.[t]?.makeDecorative?(0,Nt.jsxs)(vo,{display:"flex",gap:1,children:[(0,Nt.jsx)(uO,{color:"success"}),(0,Nt.jsx)(Jw,{variant:"body1",children:(0,tS.__)("no description needed","pojo-accessibility")})]}):(0,Nt.jsx)(KF,{placeholder:(0,tS.__)("Add or generate the description here","pojo-accessibility"),"aria-label":(0,tS.__)("Add or generate the description here","pojo-accessibility"),color:"secondary",value:null!==(i=u?.[t]?.altText)&&void 0!==i?i:"",onChange:f,fullWidth:!0,multiline:!0,disabled:d,InputProps:{endAdornment:(0,Nt.jsx)(jF,{position:"end",children:uS&&dS?(0,Nt.jsx)(vR,{placement:"top-end",title:(0,tS.__)("Generate an Alt text description with AI.","pojo-accessibility"),PopperProps:{disablePortal:!0},slotProps:{tooltip:{sx:{maxWidth:"101px",whiteSpace:"normal",lineHeight:1.4}}},children:(0,Nt.jsx)(Ca,{size:"small",onClick:y,disabled:d,children:d?(0,Nt.jsx)(E_,{color:"info",size:24}):(0,Nt.jsx)(WN,{color:"info"})})}):(0,Nt.jsx)(SR,{placement:"top-end",slotProps:{tooltip:{id:"ai-btn-description"}},PopperProps:{disablePortal:!0},content:(0,Nt.jsx)(t$,{isAlt:!0}),children:(0,Nt.jsx)(Ca,{size:"small","aria-labelledby":"ai-btn-description",onHover:()=>{Ww(Vw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"fix_with_ai",feature_locked:"AI alt-text"})},children:(0,Nt.jsx)(WN,{color:"promotion"})})})})}}),(0,Nt.jsx)(Fk,{color:"info",sx:{p:2},icon:!1,children:(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(KN,{sx:{display:"inline-block"},children:(0,tS.__)("Tips:","pojo-accessibility")}),(0,tS.__)("Keep descriptions short and simple, describing what the image shows or why it's on the page.","pojo-accessibility")]})}),(0,Nt.jsxs)(vo,{children:[!a&&(0,Nt.jsx)(e$,{item:e,onGlobalChange:e=>{c(e)},isChecked:l}),(0,Nt.jsxs)(vo,{display:"flex",gap:1,justifyContent:"flex-end",children:[a&&(0,Nt.jsx)(F_,{color:"secondary",variant:"text",onClick:()=>{n(!1)},children:(0,tS.__)("Cancel","pojo-accessibility")}),(0,Nt.jsx)(F_,{variant:"contained",color:"info",fullWidth:!a,loading:h,disabled:p,onClick:a||u?.[t]?.resolved?async()=>{await b(),n?n(!1):r(t+1)}:async()=>{try{await g(),r(t+1)}catch(e){s((0,tS.__)("An error occurred.","pojo-accessibility"))}},sx:{mt:a?0:1.5},children:l?(0,tS.__)("Apply to all","pojo-accessibility"):v})]})]})]})};function l$(e){return ho("MuiPagination",e)}s$.propTypes={item:r$,current:IR().number.isRequired,setCurrent:IR().func.isRequired,setIsEdit:IR().func},fo("MuiPagination",["root","ul","outlined","text"]);const c$=["boundaryCount","componentName","count","defaultPage","disabled","hideNextButton","hidePrevButton","onChange","page","showFirstButton","showLastButton","siblingCount"];function u$(e){return ho("MuiPaginationItem",e)}const d$=fo("MuiPaginationItem",["root","page","sizeSmall","sizeLarge","text","textPrimary","textSecondary","outlined","outlinedPrimary","outlinedSecondary","rounded","ellipsis","firstLast","previousNext","focusVisible","disabled","selected","icon","colorPrimary","colorSecondary"]),p$=sa((0,Nt.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),h$=sa((0,Nt.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),f$=sa((0,Nt.jsx)("path",{d:"M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"}),"NavigateBefore"),m$=sa((0,Nt.jsx)("path",{d:"M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"}),"NavigateNext"),g$=["className","color","component","components","disabled","page","selected","shape","size","slots","type","variant"],b$=(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant],t[`size${wi(r.size)}`],"text"===r.variant&&t[`text${wi(r.color)}`],"outlined"===r.variant&&t[`outlined${wi(r.color)}`],"rounded"===r.shape&&t.rounded,"page"===r.type&&t.page,("start-ellipsis"===r.type||"end-ellipsis"===r.type)&&t.ellipsis,("previous"===r.type||"next"===r.type)&&t.previousNext,("first"===r.type||"last"===r.type)&&t.firstLast]},y$=jo("div",{name:"MuiPaginationItem",slot:"Root",overridesResolver:b$})(({theme:e,ownerState:t})=>(0,Se.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,height:"auto",[`&.${d$.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity}},"small"===t.size&&{minWidth:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)})),v$=jo(xi,{name:"MuiPaginationItem",slot:"Root",overridesResolver:b$})(({theme:e,ownerState:t})=>(0,Se.A)({},e.typography.body2,{borderRadius:16,textAlign:"center",boxSizing:"border-box",minWidth:32,height:32,padding:"0 6px",margin:"0 3px",color:(e.vars||e).palette.text.primary,[`&.${d$.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${d$.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},transition:e.transitions.create(["color","background-color"],{duration:e.transitions.duration.short}),"&:hover":{backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${d$.selected}`]:{backgroundColor:(e.vars||e).palette.action.selected,"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.hoverOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:(e.vars||e).palette.action.selected}},[`&.${d$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette.action.selectedChannel} / calc(${e.vars.palette.action.selectedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette.action.selected,e.palette.action.selectedOpacity+e.palette.action.focusOpacity)},[`&.${d$.disabled}`]:{opacity:1,color:(e.vars||e).palette.action.disabled,backgroundColor:(e.vars||e).palette.action.selected}}},"small"===t.size&&{minWidth:26,height:26,borderRadius:13,margin:"0 1px",padding:"0 4px"},"large"===t.size&&{minWidth:40,height:40,borderRadius:20,padding:"0 10px",fontSize:e.typography.pxToRem(15)},"rounded"===t.shape&&{borderRadius:(e.vars||e).shape.borderRadius}),({theme:e,ownerState:t})=>(0,Se.A)({},"text"===t.variant&&{[`&.${d$.selected}`]:(0,Se.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].contrastText,backgroundColor:(e.vars||e).palette[t.color].main,"&:hover":{backgroundColor:(e.vars||e).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(e.vars||e).palette[t.color].main}},[`&.${d$.focusVisible}`]:{backgroundColor:(e.vars||e).palette[t.color].dark}},{[`&.${d$.disabled}`]:{color:(e.vars||e).palette.action.disabled}})},"outlined"===t.variant&&{border:e.vars?`1px solid rgba(${e.vars.palette.common.onBackgroundChannel} / 0.23)`:"1px solid "+("light"===e.palette.mode?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)"),[`&.${d$.selected}`]:(0,Se.A)({},"standard"!==t.color&&{color:(e.vars||e).palette[t.color].main,border:`1px solid ${e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / 0.5)`:(0,Oe.X4)(e.palette[t.color].main,.5)}`,backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.activatedOpacity})`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity),"&:hover":{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${d$.focusVisible}`]:{backgroundColor:e.vars?`rgba(${e.vars.palette[t.color].mainChannel} / calc(${e.vars.palette.action.activatedOpacity} + ${e.vars.palette.action.focusOpacity}))`:(0,Oe.X4)(e.palette[t.color].main,e.palette.action.activatedOpacity+e.palette.action.focusOpacity)}},{[`&.${d$.disabled}`]:{borderColor:(e.vars||e).palette.action.disabledBackground,color:(e.vars||e).palette.action.disabled}})})),x$=jo("div",{name:"MuiPaginationItem",slot:"Icon",overridesResolver:(e,t)=>t.icon})(({theme:e,ownerState:t})=>(0,Se.A)({fontSize:e.typography.pxToRem(20),margin:"0 -8px"},"small"===t.size&&{fontSize:e.typography.pxToRem(18)},"large"===t.size&&{fontSize:e.typography.pxToRem(22)})),w$=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiPaginationItem"}),{className:n,color:o="standard",component:i,components:a={},disabled:s=!1,page:l,selected:c=!1,shape:u="circular",size:d="medium",slots:p={},type:h="page",variant:f="text"}=r,m=(0,Ae.A)(r,g$),g=(0,Se.A)({},r,{color:o,disabled:s,selected:c,shape:u,size:d,type:h,variant:f}),b=Wt(),y=(e=>{const{classes:t,color:r,disabled:n,selected:o,size:i,shape:a,type:s,variant:l}=e;return _o({root:["root",`size${wi(i)}`,l,a,"standard"!==r&&`color${wi(r)}`,"standard"!==r&&`${l}${wi(r)}`,n&&"disabled",o&&"selected",{page:"page",first:"firstLast",last:"firstLast","start-ellipsis":"ellipsis","end-ellipsis":"ellipsis",previous:"previousNext",next:"previousNext"}[s]],icon:["icon"]},u$,t)})(g),v=(b?{previous:p.next||a.next||m$,next:p.previous||a.previous||f$,last:p.first||a.first||p$,first:p.last||a.last||h$}:{previous:p.previous||a.previous||f$,next:p.next||a.next||m$,first:p.first||a.first||p$,last:p.last||a.last||h$})[h];return"start-ellipsis"===h||"end-ellipsis"===h?(0,Nt.jsx)(y$,{ref:t,ownerState:g,className:ao(y.root,n),children:"…"}):(0,Nt.jsxs)(v$,(0,Se.A)({ref:t,ownerState:g,component:i,disabled:s,className:ao(y.root,n)},m,{children:["page"===h&&l,v?(0,Nt.jsx)(x$,{as:v,ownerState:g,className:y.icon}):null]}))}),_$=w$,C$=["boundaryCount","className","color","count","defaultPage","disabled","getItemAriaLabel","hideNextButton","hidePrevButton","onChange","page","renderItem","shape","showFirstButton","showLastButton","siblingCount","size","variant"],k$=jo("nav",{name:"MuiPagination",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.variant]]}})({}),S$=jo("ul",{name:"MuiPagination",slot:"Ul",overridesResolver:(e,t)=>t.ul})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"});function A$(e,t,r){return"page"===e?`${r?"":"Go to "}page ${t}`:`Go to ${e} page`}const j$=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiPagination"}),{boundaryCount:n=1,className:o,color:i="standard",count:a=1,defaultPage:s=1,disabled:l=!1,getItemAriaLabel:c=A$,hideNextButton:u=!1,hidePrevButton:d=!1,renderItem:p=e=>(0,Nt.jsx)(_$,(0,Se.A)({},e)),shape:h="circular",showFirstButton:f=!1,showLastButton:m=!1,siblingCount:g=1,size:b="medium",variant:y="text"}=r,v=(0,Ae.A)(r,C$),{items:x}=function(e={}){const{boundaryCount:t=1,componentName:r="usePagination",count:n=1,defaultPage:o=1,disabled:i=!1,hideNextButton:a=!1,hidePrevButton:s=!1,onChange:l,page:c,showFirstButton:u=!1,showLastButton:d=!1,siblingCount:p=1}=e,h=(0,Ae.A)(e,c$),[f,m]=iR({controlled:c,default:o,name:r,state:"page"}),g=(e,t)=>{c||m(t),l&&l(e,t)},b=(e,t)=>{const r=t-e+1;return Array.from({length:r},(t,r)=>e+r)},y=b(1,Math.min(t,n)),v=b(Math.max(n-t+1,t+1),n),x=Math.max(Math.min(f-p,n-t-2*p-1),t+2),w=Math.min(Math.max(f+p,t+2*p+2),v.length>0?v[0]-2:n-1),_=[...u?["first"]:[],...s?[]:["previous"],...y,...x>t+2?["start-ellipsis"]:t+1<n-t?[t+1]:[],...b(x,w),...w<n-t-1?["end-ellipsis"]:n-t>t?[n-t]:[],...v,...a?[]:["next"],...d?["last"]:[]],C=e=>{switch(e){case"first":return 1;case"previous":return f-1;case"next":return f+1;case"last":return n;default:return null}},k=_.map(e=>"number"==typeof e?{onClick:t=>{g(t,e)},type:"page",page:e,selected:e===f,disabled:i,"aria-current":e===f?"true":void 0}:{onClick:t=>{g(t,C(e))},type:e,page:C(e),selected:!1,disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?f>=n:f<=1)});return(0,Se.A)({items:k},h)}((0,Se.A)({},r,{componentName:"Pagination"})),w=(0,Se.A)({},r,{boundaryCount:n,color:i,count:a,defaultPage:s,disabled:l,getItemAriaLabel:c,hideNextButton:u,hidePrevButton:d,renderItem:p,shape:h,showFirstButton:f,showLastButton:m,siblingCount:g,size:b,variant:y}),_=(e=>{const{classes:t,variant:r}=e;return _o({root:["root",r],ul:["ul"]},l$,t)})(w);return(0,Nt.jsx)(k$,(0,Se.A)({"aria-label":"pagination navigation",className:ao(_.root,o),ownerState:w,ref:t},v,{children:(0,Nt.jsx)(S$,{className:_.ul,ownerState:w,children:x.map((e,t)=>(0,Nt.jsx)("li",{children:p((0,Se.A)({},e,{color:i,"aria-label":c(e.type,e.page,e.selected),shape:h,size:b,variant:y}))},t))})}))}),R$=j$;var I$=t().forwardRef((e,r)=>t().createElement(R$,{...e,ref:r}));const M$=({total:e,current:t,setCurrent:r})=>{const{openedBlock:n}=QS();return(0,Nt.jsx)(vo,{sx:{minHeight:"65px"},children:(0,Nt.jsxs)(E$,{children:[(0,Nt.jsx)(yO,{}),(0,Nt.jsx)(T$,{children:(0,Nt.jsx)(O$,{children:(0,Nt.jsx)(I$,{count:e,page:t+1,onChange:(e,t)=>{r(t-1),Ww(Vw.navigationChanged,{page:t,category:n})}})})})]})})},E$=Ma(vo)`
position: fixed;
bottom: 0;
right: ${({theme:e})=>e.spacing(2)};
width: 393px;
background: ${({theme:e})=>e.palette.background.paper};
`,T$=Ma(vo)`
display: flex;
justify-content: center;
padding-block: ${({theme:e})=>e.spacing(2)};
`,O$=Ma(vo)`
display: flex;
justify-content: space-between;
align-items: center;
gap: ${({theme:e})=>e.spacing(2)};
`;M$.propTypes={total:IR().number.isRequired,current:IR().number.isRequired,setCurrent:IR().func.isRequired};const P$=()=>{const{sortedViolations:e,isResolved:t}=QS(),[r,n]=(0,Vn.useState)(0),o=t(mS.altText),i=e.altText[r];(0,Vn.useEffect)(()=>{!o&&e.altText.length?US(i.node):ZS(),Ww(Vw.issueSelected,{issue_type:i.message,rule_id:i.ruleId,wcag_level:i.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:mS.altText})},[r]);const a=t=>{t>e.altText.length-1?n(0):n(t)};return(0,Nt.jsxs)(Lk,{children:[(0,Nt.jsx)(s$,{item:i,current:r,setCurrent:a}),(0,Nt.jsx)(M$,{total:e.altText.length,current:r,setCurrent:a})]})},L$=sa((0,Nt.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUnchecked"),z$=sa((0,Nt.jsx)("path",{d:"M8.465 8.465C9.37 7.56 10.62 7 12 7C14.76 7 17 9.24 17 12C17 13.38 16.44 14.63 15.535 15.535C14.63 16.44 13.38 17 12 17C9.24 17 7 14.76 7 12C7 10.62 7.56 9.37 8.465 8.465Z"}),"RadioButtonChecked"),N$=jo("span",{shouldForwardProp:Ao})({position:"relative",display:"flex"}),F$=jo(L$)({transform:"scale(1)"}),D$=jo(z$)(({theme:e,ownerState:t})=>(0,Se.A)({left:0,position:"absolute",transform:"scale(0)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeIn,duration:e.transitions.duration.shortest})},t.checked&&{transform:"scale(1)",transition:e.transitions.create("transform",{easing:e.transitions.easing.easeOut,duration:e.transitions.duration.shortest})})),B$=function(e){const{checked:t=!1,classes:r={},fontSize:n}=e,o=(0,Se.A)({},e,{checked:t});return(0,Nt.jsxs)(N$,{className:r.root,ownerState:o,children:[(0,Nt.jsx)(F$,{fontSize:n,className:r.background,ownerState:o}),(0,Nt.jsx)(D$,{fontSize:n,className:r.dot,ownerState:o})]})},$$=e.createContext(void 0);function H$(e){return ho("MuiRadio",e)}const W$=fo("MuiRadio",["root","checked","disabled","colorPrimary","colorSecondary","sizeSmall"]),V$=["checked","checkedIcon","color","icon","name","onChange","size","className"],q$=jo(eF,{shouldForwardProp:e=>Ao(e)||"classes"===e,name:"MuiRadio",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,"medium"!==r.size&&t[`size${wi(r.size)}`],t[`color${wi(r.color)}`]]}})(({theme:e,ownerState:t})=>(0,Se.A)({color:(e.vars||e).palette.text.secondary},!t.disableRipple&&{"&:hover":{backgroundColor:e.vars?`rgba(${"default"===t.color?e.vars.palette.action.activeChannel:e.vars.palette[t.color].mainChannel} / ${e.vars.palette.action.hoverOpacity})`:(0,Oe.X4)("default"===t.color?e.palette.action.active:e.palette[t.color].main,e.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==t.color&&{[`&.${W$.checked}`]:{color:(e.vars||e).palette[t.color].main}},{[`&.${W$.disabled}`]:{color:(e.vars||e).palette.action.disabled}})),U$=(0,Nt.jsx)(B$,{checked:!0}),Z$=(0,Nt.jsx)(B$,{}),G$=e.forwardRef(function(t,r){var n,o;const i=Io({props:t,name:"MuiRadio"}),{checked:a,checkedIcon:s=U$,color:l="primary",icon:c=Z$,name:u,onChange:d,size:p="medium",className:h}=i,f=(0,Ae.A)(i,V$),m=(0,Se.A)({},i,{color:l,size:p}),g=(e=>{const{classes:t,color:r,size:n}=e,o={root:["root",`color${wi(r)}`,"medium"!==n&&`size${wi(n)}`]};return(0,Se.A)({},t,_o(o,H$,t))})(m),b=e.useContext($$);let y=a;const v=function(...e){return e.reduce((e,t)=>null==t?e:function(...r){e.apply(this,r),t.apply(this,r)},()=>{})}(d,b&&b.onChange);let x=u;return b&&(void 0===y&&(y=function(e,t){return"object"==typeof t&&null!==t?e===t:String(e)===String(t)}(b.value,i.value)),void 0===x&&(x=b.name)),(0,Nt.jsx)(q$,(0,Se.A)({type:"radio",icon:e.cloneElement(c,{fontSize:null!=(n=Z$.props.fontSize)?n:p}),checkedIcon:e.cloneElement(s,{fontSize:null!=(o=U$.props.fontSize)?o:p}),ownerState:m,classes:g,name:x,checked:y,onChange:v,ref:r,className:ao(g.root,h)},f))}),K$=G$;var X$=t().forwardRef((e,r)=>t().createElement(K$,{...e,ref:r})),J$=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.5303 6.46967C20.8232 6.76256 20.8232 7.23744 20.5303 7.53033L10.5303 17.5303C10.2374 17.8232 9.76256 17.8232 9.46967 17.5303L4.46967 12.5303C4.17678 12.2374 4.17678 11.7626 4.46967 11.4697C4.76256 11.1768 5.23744 11.1768 5.53033 11.4697L10 15.9393L19.4697 6.46967C19.7626 6.17678 20.2374 6.17678 20.5303 6.46967Z"}))),Y$=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.05546 4.05546C4.57118 3.53973 5.27065 3.25 6 3.25H14C14.7293 3.25 15.4288 3.53973 15.9445 4.05546C16.4603 4.57118 16.75 5.27065 16.75 6V7.25H18C19.5188 7.25 20.75 8.48122 20.75 10V18C20.75 19.5188 19.5188 20.75 18 20.75H10C8.48122 20.75 7.25 19.5188 7.25 18V16.75H6C5.27065 16.75 4.57118 16.4603 4.05546 15.9445C3.53973 15.4288 3.25 14.7293 3.25 14V6C3.25 5.27065 3.53973 4.57118 4.05546 4.05546ZM8.75 18C8.75 18.6904 9.30964 19.25 10 19.25H18C18.6904 19.25 19.25 18.6904 19.25 18V10C19.25 9.30964 18.6904 8.75 18 8.75H10C9.30964 8.75 8.75 9.30964 8.75 10V18ZM15.25 7.25H10C8.48122 7.25 7.25 8.48122 7.25 10V15.25H6C5.66848 15.25 5.35054 15.1183 5.11612 14.8839C4.8817 14.6495 4.75 14.3315 4.75 14V6C4.75 5.66848 4.8817 5.35054 5.11612 5.11612C5.35054 4.8817 5.66848 4.75 6 4.75H14C14.3315 4.75 14.6495 4.8817 14.8839 5.11612C15.1183 5.35054 15.25 5.66848 15.25 6V7.25Z"})));function Q$(e){return ho("MuiAccordionActions",e)}fo("MuiAccordionActions",["root","spacing"]);const eH=["className","disableSpacing"],tH=Ei(),rH=jo("div",{name:"MuiAccordionActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",variants:[{props:e=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),nH=e.forwardRef(function(e,t){const r=tH({props:e,name:"MuiAccordionActions"}),{className:n,disableSpacing:o=!1}=r,i=(0,Ae.A)(r,eH),a=(0,Se.A)({},r,{disableSpacing:o}),s=(e=>{const{classes:t,disableSpacing:r}=e;return _o({root:["root",!r&&"spacing"]},Q$,t)})(a);return(0,Nt.jsx)(rH,(0,Se.A)({className:ao(s.root,n),ref:t,ownerState:a},i))});var oH=t().forwardRef((e,r)=>t().createElement(nH,{...e,ref:r}));function iH(e){return ho("MuiLink",e)}const aH=fo("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var sH=r(4734);const lH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},cH=({theme:e,ownerState:t})=>{const r=(e=>lH[e]||e)(t.color),n=(0,sH.Yn)(e,`palette.${r}`,!1)||t.color,o=(0,sH.Yn)(e,`palette.${r}Channel`);return"vars"in e&&o?`rgba(${o} / 0.4)`:(0,Oe.X4)(n,.4)},uH=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],dH=jo(Xw,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`underline${wi(r.underline)}`],"button"===r.component&&t.button]}})(({theme:e,ownerState:t})=>(0,Se.A)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,Se.A)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:cH({theme:e,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${aH.focusVisible}`]:{outline:"auto"}})),pH={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},hH=Ma(e.forwardRef(function(t,r){const n=Io({props:t,name:"MuiLink"}),{className:o,color:i="primary",component:a="a",onBlur:s,onFocus:l,TypographyClasses:c,underline:u="always",variant:d="inherit",sx:p}=n,h=(0,Ae.A)(n,uH),{isFocusVisibleRef:f,onBlur:m,onFocus:g,ref:b}=Vo(),[y,v]=e.useState(!1),x=Eo(r,b),w=(0,Se.A)({},n,{color:i,component:a,focusVisible:y,underline:u,variant:d}),_=(e=>{const{classes:t,component:r,focusVisible:n,underline:o}=e;return _o({root:["root",`underline${wi(o)}`,"button"===r&&"button",n&&"focusVisible"]},iH,t)})(w);return(0,Nt.jsx)(dH,(0,Se.A)({color:i,className:ao(_.root,o),classes:c,component:a,onBlur:e=>{m(e),!1===f.current&&v(!1),s&&s(e)},onFocus:e=>{g(e),!0===f.current&&v(!0),l&&l(e)},ref:x,ownerState:w,variant:d,sx:[...Object.keys(lH).includes(i)?[]:[{color:i}],...Array.isArray(p)?p:[p]]},h))}))(()=>({cursor:"pointer"})),fH={color:"primary.main"},mH=t().forwardRef((e,r)=>{const{sx:n={},...o}={...fH,...e},i=ds(),a=((e,t)=>!t.palette.primary.__unstableAccessibleMain||"primary.main"!==e&&"primary"!==e?t.palette.global?.__unstableAccessibleMain&&"global.main"===e?`global.${fe}`:pH[e]||e:`primary.${fe}`)(o.color,i);return t().createElement(hH,{...o,color:a,sx:{[he]:{color:a},...n},ref:r})});mH.defaultProps=fH;var gH=mH,bH=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.9697 4.96967C14.6408 4.29858 15.5509 3.92157 16.5 3.92157C17.4491 3.92157 18.3592 4.29858 19.0303 4.96967C19.7014 5.64075 20.0784 6.55094 20.0784 7.5C20.0784 8.44905 19.7014 9.35924 19.0303 10.0303L8.53033 20.5303C8.38968 20.671 8.19891 20.75 8 20.75H4C3.58579 20.75 3.25 20.4142 3.25 20V16C3.25 15.8011 3.32902 15.6103 3.46967 15.4697L13.9697 4.96967ZM16.5 5.42157C15.9488 5.42157 15.4201 5.64055 15.0303 6.03033L4.75 16.3107V19.25H7.68934L17.9697 8.96967C18.3595 8.57989 18.5784 8.05123 18.5784 7.5C18.5784 6.94876 18.3595 6.42011 17.9697 6.03033C17.5799 5.64055 17.0512 5.42157 16.5 5.42157Z"}),e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9697 5.96967C13.2626 5.67677 13.7374 5.67677 14.0303 5.96967L18.0303 9.96967C18.3232 10.2626 18.3232 10.7374 18.0303 11.0303C17.7374 11.3232 17.2626 11.3232 16.9697 11.0303L12.9697 7.03033C12.6768 6.73743 12.6768 6.26256 12.9697 5.96967Z"}))),yH=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.0284 19.2895C13.7917 19.2948 15.4965 18.6572 16.8237 17.4962C18.1509 16.3351 19.0094 14.7302 19.2386 12.9818C19.2924 12.5711 19.669 12.2818 20.0797 12.3357C20.4904 12.3895 20.7797 12.7661 20.7259 13.1768C20.4493 15.2869 19.4131 17.2239 17.8114 18.6252C16.2096 20.0264 14.1521 20.7959 12.0239 20.7895C9.89574 20.7832 7.84284 20.0014 6.24949 18.5906C4.65615 17.1798 3.63161 15.2366 3.36764 13.1249C3.10367 11.0131 3.61838 8.87756 4.81542 7.11794C6.01245 5.35833 7.80975 4.0953 9.87087 3.56527C11.932 3.03525 14.1156 3.27457 16.013 4.23844C17.3102 4.89741 18.4128 5.86415 19.2322 7.04161V4.0793C19.2322 3.66508 19.568 3.32929 19.9822 3.32929C20.3964 3.32929 20.7322 3.66508 20.7322 4.0793V9.07929C20.7322 9.49351 20.3964 9.82929 19.9822 9.82929H19.4997C19.4882 9.82956 19.4767 9.82956 19.4652 9.82929L14.9822 9.82929C14.568 9.82929 14.2322 9.49351 14.2322 9.07929C14.2322 8.66508 14.568 8.32929 14.9822 8.32929H18.2788C17.5811 7.15812 16.5628 6.20019 15.3337 5.57578C13.7615 4.77714 11.9522 4.57884 10.2445 5.01801C8.53667 5.45717 7.04747 6.50368 6.05564 7.96165C5.06381 9.41962 4.63734 11.1891 4.85605 12.9388C5.07477 14.6885 5.92368 16.2986 7.24388 17.4675C8.56408 18.6365 10.2651 19.2843 12.0284 19.2895Z"})));function vH(e){return ho("MuiCardActions",e)}fo("MuiCardActions",["root","spacing"]);const xH=["disableSpacing","className"],wH=jo("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,Se.A)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),_H=e.forwardRef(function(e,t){const r=Io({props:e,name:"MuiCardActions"}),{disableSpacing:n=!1,className:o}=r,i=(0,Ae.A)(r,xH),a=(0,Se.A)({},r,{disableSpacing:n}),s=(e=>{const{classes:t,disableSpacing:r}=e;return _o({root:["root",!r&&"spacing"]},vH,t)})(a);return(0,Nt.jsx)(wH,(0,Se.A)({className:ao(s.root,o),ownerState:a,ref:t},i))});var CH=t().forwardRef((e,r)=>t().createElement(_H,{...e,ref:r}));const kH=({closeUpgrade:e,openUpgrade:t,children:r})=>(0,Nt.jsx)(SR,{placement:"top",onClose:e,open:t,disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,PopperProps:{disablePortal:!0},content:(0,Nt.jsx)(t$,{closeUpgrade:e}),children:r});kH.propTypes={closeUpgrade:IR().func.isRequired,openUpgrade:IR().bool.isRequired,children:IR().node};var SH=r(6673),AH=r.n(SH);const jH=()=>{const{openedBlock:e}=QS(),[t,r]=(0,Vn.useState)(!1);return{copied:t,copyToClipboard:(t,n,o)=>async()=>{await AH()(t),r(!0),setTimeout(()=>r(!1),5e3),Ww(Vw.copySnippetClicked,{snippet_type:n,snippet_content:t,category_name:e,source:o})}}},RH=({item:e,current:t})=>{const{openedBlock:r,manualData:n,setOpenIndex:o,setManualData:i,resolved:a,currentScanId:s,setResolved:l,isResolved:c,setOpenedBlock:u,updateRemediationList:d}=QS(),{error:p}=Gn(),[h,f]=(0,Vn.useState)(!1),[m,g]=(0,Vn.useState)(!1),[b,y]=(0,Vn.useState)(!0),[v,x]=(0,Vn.useState)(!1),[w,_]=(0,Vn.useState)(null),C=n[r][t]?.isGlobal||e.global||!1,k=(0,Vn.useRef)(null);(0,Vn.useEffect)(()=>{e?.node&&(k.current=C)},[t]),(0,Vn.useEffect)(()=>{_({...n[r][t]?.aiSuggestion,submitted:!1}),x(n[r][t]?.aiSuggestion?.snippet)},[n[r][t]?.aiSuggestion]),(0,Vn.useEffect)(()=>{!b&&c(r)&&(ZS(),u(mS.main)),y(!1)},[c(r)]);const S=e=>{const o=[...n[r]];o[t]={...n[r]?.[t]||{},...e},i({...n,[r]:o})},A=e=>{S({remediation:e,resolved:!0,isGlobal:C}),l(a+1),o(t+1)},j=n[r][t]?.resolved&&n[r][t].isGlobal===k.current;return{aiResponseLoading:h,resolving:m,isGlobal:C,isSubmitDisabled:j,setIsGlobal:e=>{S({isGlobal:e})},manualEdit:v,setManualEdit:x,aiSuggestion:w,setAiSuggestion:_,markResolved:A,getAISuggestion:async()=>{try{f(!0);const t=(e=>{const t="h1, h2, h3, h4, h5, h6",r={previousSiblings:[],parentElements:[],sectionHeadings:[]};let n=e.previousElementSibling;for(;n;)n.matches(t)&&r.previousSiblings.push({outerHTML:n.outerHTML,outerText:n.outerText}),n=n.previousElementSibling;let o=e;for(;o;){o.matches(t)&&r.parentElements.push({outerHTML:o.outerHTML,outerText:o.outerText});const e=t.split(",").map(e=>`:scope > ${e.trim()}`).join(", "),n=o.querySelectorAll(e);n?.forEach(e=>{e&&r.sectionHeadings.push({outerHTML:e.outerHTML,outerText:e.outerText})}),o=o.parentElement}return r})(e.node),r=await oo.resolveWithAI({snippet:e.snippet,violation:e.ruleId,context:t});S({aiSuggestion:r.data.response,apiId:r.data.apiId,resolved:!1})}catch(e){console.log(e),p((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{f(!1)}},resolveIssue:n[r][t]?.resolved?async()=>{g(!0);try{const i=JSON.parse(n[r][t]?.remediation.content),a=v||n[r][t]?.aiSuggestion.snippet,s=JSON.stringify({...i,replace:a});await oo.updateRemediationContent({url:window?.ea11yScannerData?.pageData?.url,id:n[r][t]?.remediation.id,content:s,global:C}),Ww(Vw.applyFixButtonClicked,{fix_method:"manual",issue_type:e.message,snippet_content:a,category_name:r,source:"assistant",page_url:window.ea11yScannerData?.pageData?.url,is_global:C?"yes":"no"}),d(),k.current=C,o(t+1)}catch(e){console.log(e),p((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{g(!1)}}:async()=>{g(!0);try{const o=v||n[r][t]?.aiSuggestion.snippet,i=await oo.submitRemediation({url:window?.ea11yScannerData?.pageData.url,remediation:{find:e.snippet,replace:o,xpath:e.path.dom,category:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"REPLACE"},global:C,rule:e.ruleId,group:mS[r],apiId:n[r]?.[t]?.apiId});await oo.resolveIssue(s),k.current=C,A(i.remediation),Ww(Vw.applyFixButtonClicked,{fix_method:v?"manual":"AI",issue_type:e.message,snippet_content:o,category_name:r,source:"assistant",page_url:window.ea11yScannerData?.pageData?.url,is_global:C?"yes":"no"}),d()}catch(e){console.log(e),p((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{g(!1)}}}};RH.propTypes={item:r$,current:IR().number.isRequired};const IH=({item:e,current:t})=>{const{openedBlock:r}=QS(),{copied:n,copyToClipboard:o}=jH(),{isGlobal:i,setIsGlobal:a,manualEdit:s,setManualEdit:l,aiSuggestion:c,setAiSuggestion:u,getAISuggestion:d,resolveIssue:p,aiResponseLoading:h,resolving:f,isSubmitDisabled:m}=RH({item:e,current:t}),[g,b]=(0,Vn.useState)(!1),[y,v]=(0,Vn.useState)(!1),x=()=>v(!1),w=async()=>{uS&&dS?(await d(),Ww(Vw.fixWithAiButtonClicked,{issue_type:e.message,rule_id:e.ruleId,wcag_level:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:r,page_url:window.ea11yScannerData?.pageData?.url})):(b(!0),Ww(Vw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"fix_with_ai",feature_locked:"AI manual"}))},_=h||f||y&&!s||y&&s===c?.snippet;return c?.snippet?(0,Nt.jsx)(vo,{children:(0,Nt.jsxs)(q_,{variant:"outlined",sx:{overflow:"visible"},children:[(0,Nt.jsxs)(X_,{sx:{pt:1.5,pb:0},children:[(0,Nt.jsxs)(KB,{children:[(0,Nt.jsxs)(XB,{children:[(0,Nt.jsx)(WN,{}),(0,Nt.jsx)(Jw,{variant:"subtitle2",children:(0,tS.__)("Resolve with AI","pojo-accessibility")}),c?.explanation&&(0,Nt.jsx)(SR,{placement:"top",PopperProps:{disablePortal:!0},content:(0,Nt.jsxs)(UB,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,tS.__)("How AI resolves this?","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",children:c.explanation})]}),children:(0,Nt.jsx)(AA,{fontSize:"small",color:"action"})})]}),!y&&(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Edit","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:()=>{v(!0),Ww(Vw.editSnippetClicked,{snippet_content:c.snippet,category_name:r,source:"assistant"})},children:(0,Nt.jsx)(bH,{fontSize:"tiny"})})}),(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Retry","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:w,disabled:_,loading:h,children:(0,Nt.jsx)(yH,{fontSize:"tiny"})})}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:n?(0,tS.__)("Copied!","pojo-accessibility"):(0,tS.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:o(c.snippet,"fixed_snippet","assistant"),children:(0,Nt.jsx)(Y$,{fontSize:"tiny"})})})]})]}),y?(0,Nt.jsx)(JB,{value:s,color:"secondary",size:"small",multiline:!0,fullWidth:!0,onChange:e=>{l(e.target.value),u({...c,submitted:!1})},inputProps:{"aria-label":(0,tS.__)("Manual edit","pojo-accessibility")}}):(0,Nt.jsx)(Fk,{color:"info",icon:!1,disabled:_,children:(0,Nt.jsx)(vo,{display:"flex",gap:.5,alignItems:"start",children:(0,Nt.jsx)(qB,{variant:"body2",children:s})})})]}),(0,Nt.jsxs)(CH,{sx:{p:2,justifyContent:y?"flex-end":"space-between"},children:[y?(0,Nt.jsx)(F_,{size:"small",color:"secondary",variant:"text",onClick:x,children:(0,tS.__)("Cancel","pojo-accessibility")}):(0,Nt.jsx)(e$,{item:e,onGlobalChange:e=>{a(e)},isChecked:i}),y?(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",disabled:_,onClick:x,children:(0,tS.__)("Apply fix","pojo-accessibility")}):(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",disabled:_||m,loading:f,loadingPosition:"center",onClick:async()=>{await p(),u({...c,snippet:s,submitted:!y}),v(!1)},children:i?(0,tS.__)("Apply to all","pojo-accessibility"):(0,tS.__)("Apply fix","pojo-accessibility")})]})]})}):(0,Nt.jsx)(vo,{children:(0,Nt.jsx)(kH,{closeUpgrade:()=>b(!1),openUpgrade:g,children:(0,Nt.jsx)(F_,{variant:"contained",size:"small",color:uS&&dS?"info":"promotion",startIcon:(0,Nt.jsx)(WN,{}),fullWidth:!0,disabled:h,loading:h,onClick:w,children:(0,tS.__)("Let AI resolve it for you","pojo-accessibility")})})})};IH.propTypes={item:r$,current:IR().number.isRequired};const MH={table_caption_empty:{violationName:(0,tS.__)("Missing or Unclear Table Caption","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Table captions must clearly describe the table.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a table caption doesn’t describe the table’s purpose, people relying on assistive technologies may struggle to understand what the information relates to.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every data table a short caption that tells people what the table shows.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A table caption is missing or says something vague like "Table 1," giving users no real idea what the table is about',"pojo-accessibility"),resolution:[(0,tS.__)("For a pricing table, add a caption that says “Monthly vs. Annual Plans.” For a class‑attendance table, add “Boys and Girls in Elementary School Classes.”","pojo-accessibility"),(0,tS.__)("Table needs a descriptive caption like 'Monthly vs. Annual Plans'.","pojo-accessibility")]}},table_caption_nested:{violationName:(0,tS.__)("Table Caption Placement","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Captions must be placed inside their tables.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the caption isn’t properly placed inside the table, people relying on assistive technologies may not know which caption belongs to which table, leading to confusion.","pojo-accessibility"),howToResolve:(0,tS.__)("Add the caption as part of the table, not as separate text above or below it.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A table caption is written outside the table code, making it harder for assistive technologies to connect the caption with the correct table.","pojo-accessibility"),resolution:[(0,tS.__)("Select your table block or widget and look for a field called Caption or Title. Type something like “Fruit Sales 2025” there—this attaches the label directly to the table. If you already wrote the caption as a regular heading or paragraph just above the table, cut that text and paste it into the table’s Caption field instead.","pojo-accessibility"),(0,tS.__)("Make sure the caption (e.g., 'Fruit Sales 2025') is placed inside the table itself, not outside.","pojo-accessibility")]}},table_summary_redundant:{violationName:(0,tS.__)("Missing or Unclear Table Caption","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Table summaries must add new information, not repeat the caption.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the summary just repeats the caption, it doesn’t give people any additional context, making it less useful for people relying on assistive technologies.","pojo-accessibility"),howToResolve:(0,tS.__)("Keep just one clear caption or add a short extra note only if the caption needs help.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A table’s caption says "Sales Data 2024" and its summary says exactly the same thing, providing no extra help for screen reader users.',"pojo-accessibility"),resolution:[(0,tS.__)("Caption is enough: If the caption already says “Monthly Budget Breakdown,” delete any extra “Summary” paragraph that repeats those same words. Caption needs a bit more: If your caption is “Age Demographics by Country” but readers also need to know the columns are “0‑14, 15‑64, 65+,” add one short sentence right before the table that explains those age groups—then keep the caption as is.","pojo-accessibility"),(0,tS.__)("Avoid repeating the caption in the summary; only add details if they help clarify the table.","pojo-accessibility")]}},label_content_exists:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels must clearly describe the purpose of form fields.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a label doesn’t clearly describe the form field’s purpose, people relying on assistive technologies may not know what to do, leading to mistakes or frustration.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every input or checkbox a short label that tells people what to enter or choose.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A form label is empty or too vague (like "Field 1"), making it unclear what information the user should enter.',"pojo-accessibility"),resolution:[(0,tS.__)("An email field with no label should read “Email address.” A blank checkbox label becomes “Subscribe to newsletter.”","pojo-accessibility"),(0,tS.__)("Every form input must have a meaningful label, like “Email address” or “Subscribe to newsletter.”","pojo-accessibility")]}},text_spacing_valid:{violationName:(0,tS.__)("Fixed Text Spacing","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Text spacing shouldn't be locked, so people can adjust readability.","pojo-accessibility"),whyItMatters:(0,tS.__)("When spacing can’t be adjusted, people with dyslexia or visual impairments may struggle to read comfortably.","pojo-accessibility"),howToResolve:(0,tS.__)("Don’t lock the distance between letters, words, or lines—use your theme’s normal text settings, and let visitors change spacing if they need to.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A block of text has fixed spacing that users can’t change, making it harder for people with reading difficulties to read comfortably.","pojo-accessibility"),resolution:[(0,tS.__)("If you added custom styling that forces very tight or very wide text, remove that custom rule and rely on the theme’s built‑in font controls instead.","pojo-accessibility"),(0,tS.__)("Text must use flexible spacing so users can adjust it for better readability.","pojo-accessibility")]}},text_contrast_sufficient:{violationName:(0,tS.__)("Insufficient Color Contrast","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Text must have enough contrast against the background.","pojo-accessibility"),whyItMatters:(0,tS.__)("If text doesn’t have enough contrast with the background, many people may struggle to read it, especially those with visual impairments or when viewing on different screens.","pojo-accessibility"),howToResolve:(0,tS.__)("Choose color pairs that are easy to read—darken the text or lighten the background (or both) until a contrast‑checker says the combination passes accessibility tests.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("Light gray text on a white background is hard to read, especially for users with low vision.","pojo-accessibility"),resolution:[(0,tS.__)("Light‑gray body text on a white page looks faint; change the text to a darker gray or black, or place it on a pale‑gray card. White words on a pastel‑blue button can be hard to see; keep the white text but deepen the blue to navy so it pops. Large headings can tolerate slightly softer contrast than small body text, but they still need to stand out clearly—check both sizes with a free online contrast‑checker.","pojo-accessibility"),(0,tS.__)("Use a contrast‑checker to ensure text and background colors meet accessibility guidelines.","pojo-accessibility")]}},aria_parent_required:{violationName:(0,tS.__)("Incorrect Element Container","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Elements must be placed inside the right type of container.","pojo-accessibility"),whyItMatters:(0,tS.__)("If elements aren’t placed inside the right containers, screen readers and other assistive tools may misinterpret the page, making navigation and understanding harder for people.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every custom option (for example, a dropdown item) is placed inside the menu or list it belongs to—not floating on its own.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An interactive element is put inside a section that doesn’t support it, making it confusing for assistive technologies.","pojo-accessibility"),resolution:[(0,tS.__)("You created a custom dropdown with three choices, but the choices were added as separate text blocks instead of being grouped together. Re‑add the choices using your theme’s “List / Menu / Dropdown” block so they sit inside one container. A single “Color: Blue” option was accidentally dragged outside its product‑options list. Move it back into the list so screen‑reader users know it’s part of the same group.","pojo-accessibility"),(0,tS.__)("Make sure items like dropdown options or list entries live inside the proper container widget.","pojo-accessibility")]}},combobox_popup_reference:{violationName:(0,tS.__)("Dropdown Open State Incorrect","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Dropdowns must correctly link to the popup they open.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the dropdown isn’t properly linked to its popup, people relying on screen readers or keyboards might not know where the new content appeared, making it harder to navigate and interact.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure the list of suggestions belongs to the same search or tag box that opens it so it pops up right below the field and moves with keyboard arrows.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown expands, but the connection to the popup isn’t set up properly, making it confusing for assistive technology users.","pojo-accessibility"),resolution:[(0,tS.__)("You built a “Tag” field that suggests words as people type, but the suggestion list sits off to the side. Re‑add the field with your form or theme’s “Autocomplete / Tag Input” option so the list is directly linked and appears under the box. A search bar shows results in a floating panel that isn’t tied to the input. Move the panel into the same widget or block, ensuring the list opens and closes together with the box.","pojo-accessibility"),(0,tS.__)("Ensure dropdown suggestions are correctly linked to the input field they belong to.","pojo-accessibility")]}},aria_activedescendant_valid:{violationName:(0,tS.__)("Incorrectly Highlighted Options","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Highlighted options must point to visible content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a highlighted option is hidden or empty, people relying on keyboards or assistive technologies may get stuck or lose track of where they are.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure the option that looks selected is actually in the list and easy to see.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown highlights a choice that is hidden or missing, confusing keyboard users.","pojo-accessibility"),resolution:[(0,tS.__)("In a product‑category dropdown, if “Shoes” appears in the box but isn’t listed when you open the dropdown, add “Shoes” back to the list or choose a different category that really exists. For a set of radio buttons, if “Thin Crust” is shown as chosen but the button isn’t visible, un‑hide “Thin Crust” or pick another visible choice.","pojo-accessibility"),(0,tS.__)("Ensure selected or highlighted options are visible and present in the dropdown or group.","pojo-accessibility")]}},combobox_active_descendant:{violationName:(0,tS.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Keyboard focus must stay on choices inside the dropdown.","pojo-accessibility"),whyItMatters:(0,tS.__)("If focus doesn’t follow the highlighted choice inside a dropdown, keyboard people may have trouble knowing where they are or selecting the right option.","pojo-accessibility"),howToResolve:(0,tS.__)("When a search or tag box shows suggestions, the blinking cursor should stay in the box while the ↑ / ↓ keys simply move the highlight through the list.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("When using the keyboard to open a dropdown, the highlighted option doesn’t stay properly focused, making it hard to choose.","pojo-accessibility"),resolution:[(0,tS.__)("In a “Tag” field, pressing ↓ should highlight “Zoom” in the dropdown, but you should still see the cursor inside the box so you can keep typing. If the cursor jumps out of the box and into the list—so you can’t type anymore—rebuild or adjust the widget so the list opens below the box without stealing the cursor. Selecting a suggestion should copy the word into the box and close the list.","pojo-accessibility"),(0,tS.__)("Ensure arrow key navigation highlights options while keeping the input field focused.","pojo-accessibility")]}},aria_role_valid:{violationName:(0,tS.__)("Mismatched Element Role","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels for assistive technologies must match the type of content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If role labels don’t match the actual content, assistive technology people may get wrong information about what things are and how to interact with them.","pojo-accessibility"),howToResolve:(0,tS.__)("Choose the built‑in block or widget that already does what you need (Button, Heading, List, etc.)—don’t repurpose a generic text or box element and hope it acts like one.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An image is labeled like a button, which confuses screen reader users.","pojo-accessibility"),resolution:[(0,tS.__)("You made a paragraph look like a button with bold text and color. Swap it for your theme’s Button block so visitors—and assistive tech—instantly know it can be clicked. A plain text block was styled to look like a heading. Replace it with the Heading block so screen‑reader users can jump to it quickly.","pojo-accessibility"),(0,tS.__)("Ensure that elements are properly labeled with their respective roles, like using a button element for clickable actions and a heading element for headings.","pojo-accessibility")]}},combobox_autocomplete_valid:{violationName:(0,tS.__)("Autocomplete Incorrect Usage","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Autocomplete settings must be applied only to the text field.","pojo-accessibility"),whyItMatters:(0,tS.__)("If autocomplete isn’t set up properly, people relying on keyboards or screen readers may struggle to enter information or select options.","pojo-accessibility"),howToResolve:(0,tS.__)("Let the typing box decide how suggestions appear. Remove any “autocomplete” setting from the dropdown list itself, and pick the option (inline text, dropdown list, or both) that matches what users see.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown with autocomplete puts settings on the wrong parts, making it harder for assistive technology users to interact correctly.","pojo-accessibility"),resolution:[(0,tS.__)("Your “State” field shows a dropdown list as people type. Keep the autocomplete setting only on the box and choose “show list suggestions.” Don’t add extra settings to the list below. A search bar fills in the rest of the word right inside the box but never opens a list. Set the box to “inline suggestions” and leave the list turned off. If your tag picker shows both inline text and a dropdown, choose “both suggestions” on the box and make sure the list appears right under it.","pojo-accessibility"),(0,tS.__)("Ensure autocomplete settings are applied correctly, either within the text input field or appropriately with the dropdown list.","pojo-accessibility")]}},combobox_focusable_elements:{violationName:(0,tS.__)("Dropdown Incorrect Focus","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Only the text field in a dropdown should be focusable.","pojo-accessibility"),whyItMatters:(0,tS.__)("If focus moves to the wrong parts of a dropdown, it can confuse people and make the site harder to navigate with a keyboard.","pojo-accessibility"),howToResolve:(0,tS.__)("When the box appears, the blinking cursor should land in the text field—not on one of the suggestions below it.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("When using the Tab key, users can accidentally focus parts of the dropdown that aren’t meant for direct typing or selection.","pojo-accessibility"),resolution:[(0,tS.__)("In a “State” search field, clicking or tabbing into the box should put the cursor in the empty field so you can start typing. If the first suggestion (“Alabama”) is highlighted instead, adjust the widget so the cursor begins in the box. A product search overlay opens with the cursor sitting on a result link. Move the starting focus back to the search field, so users can type or paste their query immediately.","pojo-accessibility"),(0,tS.__)("Ensure the cursor always starts in the input field, not on suggestions, to facilitate proper keyboard navigation.","pojo-accessibility")]}},combobox_haspopup_valid:{violationName:(0,tS.__)("Popup Type Misdescribed","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Dropdowns must correctly describe the type of popup they open.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a dropdown describes the wrong type of popup, people using screen readers may not understand what will appear, making it harder to use the site.","pojo-accessibility"),howToResolve:(0,tS.__)("Tell the autocomplete box to open the correct type of helper, usually a simple dropdown list, so assistive tools know what to expect.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown says it opens a menu, but it actually opens a calendar, confusing assistive technology users.","pojo-accessibility"),resolution:[(0,tS.__)("Your “Tag” field shows a straight list of suggestions. In the widget’s settings, pick the option for “Dropdown list” (or similar) instead of leaving it undefined. If your search box opens a larger pop‑up panel with extra filters, choose the setting that labels it as a “Dialog” so screen readers announce it properly.","pojo-accessibility"),(0,tS.__)("Ensure the correct popup type is described in the settings (e.g., Dropdown list, Dialog) to improve accessibility for screen reader users.","pojo-accessibility")]}},aria_descendant_valid:{violationName:(0,tS.__)("Invalid Nested Elements","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Some content inside certain elements may not behave as expected.","pojo-accessibility"),whyItMatters:(0,tS.__)("If browsers ignore labels inside certain elements, people relying on assistive technologies might miss important information or have a harder time navigating the content.","pojo-accessibility"),howToResolve:(0,tS.__)("Keep options, menu items, and buttons simple. Don’t put extra buttons, links, or headings inside them.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("Adding special labels inside a table or list might be ignored by browsers, causing confusion for assistive technology users.","pojo-accessibility"),resolution:[(0,tS.__)("A dropdown choice was built as a button inside another button. Replace the inner button with plain text so each choice is just one item, not a widget within a widget. A list item in a custom select menu contains a heading block. Change the heading to regular text (or bold styling) so the list stays clean and easy for assistive tech to read. Removing extra nested elements prevents confusion and lets screen‑reader users move through menus and lists without surprises.","pojo-accessibility"),(0,tS.__)("Avoid nesting buttons, links, or headings inside menu items or options. Keep elements simple and straightforward for better accessibility.","pojo-accessibility")]}},aria_role_allowed:{violationName:(0,tS.__)("Invalid Element Role","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Elements must use correct labels for assistive technologies.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the role is wrong or invalid, assistive technologies can’t correctly explain the purpose of the content, making the site harder to navigate and understand.","pojo-accessibility"),howToResolve:(0,tS.__)("Pick the widget that already matches what you need. Don’t assign a fancy role to an element that wasn’t built for it.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element is given a role that doesn’t exist or isn’t allowed, making it confusing for screen reader users.","pojo-accessibility"),resolution:[(0,tS.__)("You styled a plain box to act like a scrollbar. Replace it with your theme’s built-in Scroll area or let the browser’s own scrollbar appear naturally. A decorative icon was given a role that says “button,” but it does nothing. Remove that role or turn the icon into an actual button with a click action.","pojo-accessibility"),(0,tS.__)("Avoid assigning incorrect or non-existent roles to elements. Use the correct role for the content to ensure clarity for assistive technologies.","pojo-accessibility")]}},aria_attribute_allowed:{violationName:(0,tS.__)("Invalid ARIA Attributes","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels and properties must match the type of content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If labels or properties don’t match the content type, assistive technologies may misread the page, making it harder for people to understand and interact with it.","pojo-accessibility"),howToResolve:(0,tS.__)("When you use an accessibility setting (like “live update” or “busy”), pick one of the values the spec allows. No made-up words or empty fields.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A button is given attributes meant for a table, which can confuse screen readers.","pojo-accessibility"),resolution:[(0,tS.__)("A status message uses “live update: polite” (allowed). Change any custom value like “gentle” to “polite” so screen readers handle it correctly. A busy-indicator flag must be either “true” or “false.” If it’s blank, set it to the proper choice or remove the flag.","pojo-accessibility"),(0,tS.__)("Ensure that accessibility attributes match the content type, using values that are part of the accessibility specifications.","pojo-accessibility")]}},aria_attribute_conflict:{violationName:(0,tS.__)("ARIA Conflicting Attributes","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels and settings must not conflict with built-in HTML behavior.","pojo-accessibility"),whyItMatters:(0,tS.__)("If labels or settings conflict, assistive technologies might behave unpredictably, making the site harder to use for people relying on them.","pojo-accessibility"),howToResolve:(0,tS.__)("If an input is already marked as required (or has any other HTML setting), don’t add an extra ARIA tag that says the same thing. Pick one or the other.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element has two different settings for the same feature — one from HTML and one from ARIA — causing confusion for assistive technologies.","pojo-accessibility"),resolution:[(0,tS.__)("A phone-number field has both the standard “Required” toggle turned on and an extra “required” flag in advanced settings. Turn off the duplicate so the form doesn’t announce “required” twice. A checkbox is labeled by visible text and also by an override in accessibility settings. Keep the visible label and remove the extra override to avoid confusion.","pojo-accessibility"),(0,tS.__)("Ensure that ARIA and HTML settings don’t conflict with each other, particularly when describing the same functionality.","pojo-accessibility")]}},aria_attribute_exists:{violationName:(0,tS.__)("Missing ARIA Attribute Value","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Required settings for assistive technologies must not be left empty.","pojo-accessibility"),whyItMatters:(0,tS.__)("If required information is missing, assistive technologies can’t explain how to use the feature properly, making the site harder to navigate and understand.","pojo-accessibility"),howToResolve:(0,tS.__)("Fill in every required setting with one of the allowed choices. Never leave it blank.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element includes a setting that’s supposed to give extra information, but the value is missing, leaving screen reader users without the details they need.","pojo-accessibility"),resolution:[(0,tS.__)("A message area is marked “live update” but the setting box is empty. Choose “polite” (or another allowed option) so screen-readers know how quickly to announce changes.","pojo-accessibility"),(0,tS.__)("Ensure every required attribute or setting has a valid value so assistive technologies can process it correctly.","pojo-accessibility")]}},aria_attribute_required:{violationName:(0,tS.__)("Required ARIA Attributes","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Important information must be included for assistive technologies.","pojo-accessibility"),whyItMatters:(0,tS.__)("If important details are missing, assistive technologies can't properly explain how to use a feature, making it harder for people to interact with the site.","pojo-accessibility"),howToResolve:(0,tS.__)("Add any essential details the widget needs, such as minimum, maximum, and current value for a custom slider.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A slider is missing required information about its current value, making it confusing for screen reader users.","pojo-accessibility"),resolution:[(0,tS.__)("A vertical scroll bar shows but has no “top” or “bottom” value set. Enter 0 for minimum, 100 for maximum, and the current position (e.g., 25) so assistive tools can report progress accurately.","pojo-accessibility"),(0,tS.__)("Ensure sliders have proper attributes like minimum, maximum, and current value for full accessibility.","pojo-accessibility")]}},aria_attribute_value_valid:{violationName:(0,tS.__)("Incorrect ARIA Value","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Settings for assistive technologies must use correct values.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the values are incorrect, assistive technologies might misread the content or stop working properly, making the site harder to use.","pojo-accessibility"),howToResolve:(0,tS.__)("Replace any invented or misspelled value with one from the official list—for example, “polite,” “assertive,” “true,” or “false.”","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown uses a value that isn’t allowed, confusing screen readers and other assistive tools.","pojo-accessibility"),resolution:[(0,tS.__)("A status message is set to “gentle.” Change it to “polite” so screen-readers recognize it.","pojo-accessibility"),(0,tS.__)("Ensure you use the correct, valid values for ARIA attributes to improve accessibility.","pojo-accessibility")]}},aria_eventhandler_role_valid:{violationName:(0,tS.__)("Invalid Interactive Role","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Clickable or interactive elements must have the right label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If interactive elements aren’t labeled correctly, people using assistive technologies might not know they can click or use them, making the site harder to navigate.","pojo-accessibility"),howToResolve:(0,tS.__)("Use the proper element for the action (Button, Link, etc.) or clearly label the custom element as such.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A clickable area doesn’t have a proper role, making it unclear to screen reader users that it can be interacted with.","pojo-accessibility"),resolution:[(0,tS.__)("A DIV styled as a button should be replaced with a real Button block, or labeled in accessibility settings as a button, so keyboards and screen-readers can activate it.","pojo-accessibility"),(0,tS.__)("Ensure that interactive elements like buttons or links are properly labeled and identified to enhance usability for screen reader users.","pojo-accessibility")]}},aria_id_unique:{violationName:(0,tS.__)("Duplicate ARIA IDs","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels must point to real, visible content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If labels point to missing or hidden content, assistive technology people may get confused or miss important information on the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each form helper (tooltip, hint, error) its own unique ID, and make sure the field’s “Described by” setting points to that exact ID.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element references an ID that doesn’t exist or is hidden, leaving screen reader users without the right information.","pojo-accessibility"),resolution:[(0,tS.__)("Your “Last Name” input references “hint‑last‑name,” but no helper with that ID exists. Add a helper with that ID—or update the reference to the correct helper—to avoid confusion.","pojo-accessibility"),(0,tS.__)("Ensure that each label points to an actual helper and that IDs are unique and correctly referenced to avoid confusion for screen reader users.","pojo-accessibility")]}},aria_widget_labelled:{violationName:(0,tS.__)("Missing Widget Label","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Interactive elements must have a clear, accessible name.","pojo-accessibility"),whyItMatters:(0,tS.__)("If interactive elements don’t have a name, people relying on assistive technologies may not know how to interact with them, making the site confusing and harder to use.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every interactive part (menu, slider, search icon, etc.) a short name that says what it does.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A button has no label, so screen reader users don’t know what it does.","pojo-accessibility"),resolution:[(0,tS.__)("Add a heading “Table of contents” just above a tree menu and link the menu to that heading so screen-readers announce it.","pojo-accessibility"),(0,tS.__)("A magnifying-glass icon that opens search results gets a hidden label “Search” so voice users know its purpose.","pojo-accessibility")]}},combobox_design_valid:{violationName:(0,tS.__)("Outdated Dropdown Design","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Update dropdowns to meet the latest accessibility standards.","pojo-accessibility"),whyItMatters:(0,tS.__)("If dropdowns don’t follow the latest accessibility guidelines, people relying on screen readers or keyboards may have trouble using them, leading to a poor experience.","pojo-accessibility"),howToResolve:(0,tS.__)("Use a single autocomplete widget that opens suggestions right under the typing box avoid stitching separate pieces together.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A dropdown is built using an outdated setup, making it harder for assistive technology users to navigate and select options.","pojo-accessibility"),resolution:[(0,tS.__)("Replace a free-text box plus a detached list with one autocomplete field where the list pops up below as you type.","pojo-accessibility"),(0,tS.__)("Make sure the field, any “▼” button, and the suggestions list belong to the same component so arrow keys move naturally through the choices.","pojo-accessibility")]}},element_id_unique:{violationName:(0,tS.__)("Duplicate Element IDs","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Each element must have a unique ID.","pojo-accessibility"),whyItMatters:(0,tS.__)("If IDs are not unique, assistive technologies and browsers can get confused, making it harder for people to navigate the page correctly.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each helper, section, or control its own one‑of‑a‑kind ID never reuse the same ID twice.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("Two different sections on a page are given the same ID, which can confuse screen readers and other tools.","pojo-accessibility"),resolution:[(0,tS.__)("Two newsletter forms both use “signup.” Rename one to “signup‑footer” and update any references.","pojo-accessibility"),(0,tS.__)("A tooltip and a heading share “info.” Change the tooltip’s ID to “info‑tip” so labels point to the right place.","pojo-accessibility")]}},element_accesskey_unique:{violationName:(0,tS.__)("Duplicate Shortcut Keys","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Shortcut keys must be unique on each page.","pojo-accessibility"),whyItMatters:(0,tS.__)("If shortcut keys aren’t unique, keyboard people can trigger the wrong action or get confused when navigating the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Assign each shortcut letter only once per page so they don’t clash.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("Two different buttons are assigned the same keyboard shortcut, making it unclear which one will be activated.","pojo-accessibility"),resolution:[(0,tS.__)("“Accept” and “Approve” buttons both use “A.” Change one to “C” (for Confirm) so each key triggers just one action.","pojo-accessibility"),(0,tS.__)("A link and a form field both claim “S.” Remove or change one of them to keep shortcuts unique.","pojo-accessibility")]}},aria_attribute_valid:{violationName:(0,tS.__)("Invalid ARIA Attribute","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels and settings must match the type of content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If labels or settings don’t match the content, assistive technology people may hear wrong or unclear information, making the site harder to navigate.","pojo-accessibility"),howToResolve:(0,tS.__)("Remove or change any accessibility setting the element isn’t allowed to have.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element is given settings that don’t fit its type, confusing assistive technologies.","pojo-accessibility"),resolution:[(0,tS.__)("A paragraph has a setting for “expanded/collapsed,” which only applies to collapsible items—delete that setting.","pojo-accessibility"),(0,tS.__)("A list item needs to show it can open and close; change its type to a collapsible list item first, then keep the “expanded” flag.","pojo-accessibility")]}},input_checkboxes_grouped:{violationName:(0,tS.__)("Checkboxes/Radio Buttons Not Grouped","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Related checkboxes or radio buttons must be grouped together.","pojo-accessibility"),whyItMatters:(0,tS.__)("If related choices aren’t grouped, assistive technology people may not realize the options are connected, leading to confusion and mistakes.","pojo-accessibility"),howToResolve:(0,tS.__)("Keep check‑boxes or radio buttons that belong to the same question in one group, and keep unrelated choices in separate groups.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A set of shipping options appears visually together but isn’t grouped for screen reader users, making it harder to understand they belong to the same question.","pojo-accessibility"),resolution:[(0,tS.__)("Place all “Newsletter Topics” check‑boxes (News, Tips, Events) in one cluster under that heading.","pojo-accessibility"),(0,tS.__)("Put “Shipping Method” radio buttons (Standard, Express) in their own cluster—do not mix them with the newsletter choices.","pojo-accessibility")]}},fieldset_label_valid:{violationName:(0,tS.__)("Duplicate Fieldset Label","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Groups of form fields must have unique names.","pojo-accessibility"),whyItMatters:(0,tS.__)("If groups of inputs have the same name, people relying on assistive technologies may get confused about which section they are in, leading to mistakes when filling out forms.","pojo-accessibility"),howToResolve:(0,tS.__)("Add a short group label (such as “Payment Method” or “Choose Your Size”) so everyone knows what the nearby options are for.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two sections of a form are both labeled "Contact Info," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)("Above three card‑type radio buttons, add the heading “Payment Method.”","pojo-accessibility"),(0,tS.__)("Above four T‑shirt size check‑boxes, add “Choose Your Size.”","pojo-accessibility")]}},form_label_unique:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Form fields must have one clear label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a form field has more than one label, assistive technology people might hear conflicting instructions, making it harder to fill out the form correctly.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure each field has only one label attached remove any duplicates that point to the same input.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A text input has two labels attached to it, confusing screen reader users about what information is needed.","pojo-accessibility"),resolution:[(0,tS.__)("Two “Email Address” labels both point to the same email box. Keep one label and delete the extra.","pojo-accessibility")]}},label_ref_valid:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Labels must be correctly connected to form fields.","pojo-accessibility"),whyItMatters:(0,tS.__)("If labels aren’t properly connected to form fields, assistive technology people may not know what information to enter, leading to confusion and mistakes.","pojo-accessibility"),howToResolve:(0,tS.__)("Check that each label actually targets its own input if the link is broken, update it to match the field’s ID.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A label points to an input field that doesn’t exist or is missing an ID, making it hard for screen reader users to know what the label applies to.","pojo-accessibility"),resolution:[(0,tS.__)("The “Phone Number” label points to “phone‑1,” but the input is “phone.” Change the label to point to “phone” so clicking the label places the cursor in the box.","pojo-accessibility")]}},input_autocomplete_valid:{violationName:(0,tS.__)("Autocomplete Mismatch","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Autocomplete settings must match the type of form field.","pojo-accessibility"),whyItMatters:(0,tS.__)("If autocomplete settings don’t match the field type, browsers and assistive technologies may suggest wrong information, making forms harder to fill out correctly.","pojo-accessibility"),howToResolve:(0,tS.__)("Tell the browser exactly what each field is for so it can offer the right autofill suggestions.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An address field is marked to autocomplete as a phone number, confusing users and autofill tools.","pojo-accessibility"),resolution:[(0,tS.__)("Your “First name” field currently uses a custom label like “given-name,” so browsers don’t offer saved names. Change the field’s autofill setting to “First name.”","pojo-accessibility"),(0,tS.__)("The credit-card box is set to “cc-num,” which password managers don’t recognize. Switch it to “Credit card number” so users can quickly fill it.","pojo-accessibility")]}},error_message_exists:{violationName:(0,tS.__)("Missing Error Messages","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Error messages must be properly connected and announced.","pojo-accessibility"),whyItMatters:(0,tS.__)("If error messages aren’t properly connected, people relying on assistive technologies may not realize there’s a problem, making it hard to fix mistakes and complete forms.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every field’s error box exists and becomes visible when there’s a problem.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("Relationship between elements need to be properly defined.","pojo-accessibility"),resolution:[(0,tS.__)("A signup field points to an error message that doesn’t exist—you see no feedback. Create the missing error text below the field so users know what went wrong.","pojo-accessibility"),(0,tS.__)("An error message container is hidden even when the form flags a mistake. Change its settings so it appears in plain sight when needed.","pojo-accessibility")]}},input_label_after:{violationName:(0,tS.__)("Misplaced Checkbox Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Checkboxes and radio buttons must have a label placed after them.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the label isn’t placed after the checkbox or radio button, screen reader people may get confused about which option they are selecting, leading to mistakes.","pojo-accessibility"),howToResolve:(0,tS.__)("Keep the label text immediately after the checkbox or radio button so they read as one control.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A checkbox appears, but the label describing it comes before or is missing, making it unclear for users what the checkbox is for.","pojo-accessibility"),resolution:[(0,tS.__)("A newsletter signup has the box followed by “Receive updates.” Perfect—you see the box and label together.","pojo-accessibility"),(0,tS.__)("If your label is sitting above or to the left of the box and feels disconnected, move it to sit directly to the right of the checkbox.","pojo-accessibility")]}},input_label_before:{violationName:(0,tS.__)("Label Placement Incorrect","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Text fields and dropdowns must have a label placed before them.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the label comes after the text field or dropdown, people relying on assistive technologies might not understand what they need to enter or choose, causing confusion.","pojo-accessibility"),howToResolve:(0,tS.__)("Show the label text just before each input box so users know what to enter.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A text box appears before its label, making it harder for screen reader users to know what information is expected.","pojo-accessibility"),resolution:[(0,tS.__)("“Email address” appears right above the email field. Good—you see the prompt before you type.","pojo-accessibility"),(0,tS.__)("If the label sits after the field or is missing, drag or insert the text so it comes immediately before the input box.","pojo-accessibility")]}},input_label_exists:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Every form field must have a label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a form field doesn’t have a label, people relying on assistive technologies may not know what information to enter, making forms harder or impossible to complete.","pojo-accessibility"),howToResolve:(0,tS.__)("Add or link a clear text label to each input, dropdown, or checkbox so everyone knows its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A search box appears on the page without any label, making it unclear to screen reader users what the field is for.","pojo-accessibility"),resolution:[(0,tS.__)("An address field has no label—add “Mailing address” above it.","pojo-accessibility"),(0,tS.__)("A hidden label was used for design reasons—turn on the visible label option or provide a clear name in the control’s settings.","pojo-accessibility")]}},aria_hidden_nontabbable:{violationName:(0,tS.__)("Incorrect Tab Order Roles","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Hidden sections should not contain focusable elements.","pojo-accessibility"),whyItMatters:(0,tS.__)("If people can tab to hidden elements, it can cause confusion and frustration, especially for keyboard and screen reader users who can't interact with what they can't see.","pojo-accessibility"),howToResolve:(0,tS.__)("Mark icons, graphics, or decorative bits so they’re skipped by screen readers and not included in keyboard navigation.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A hidden panel still contains a button that users can accidentally tab to, even though they can’t see it.","pojo-accessibility"),resolution:[(0,tS.__)("A decorative star icon before headings shouldn’t be read aloud—set it to “hidden from assistive tech” and remove it from the tab order.","pojo-accessibility"),(0,tS.__)("If a background graphic accidentally gets focus, adjust its settings so it never receives keyboard focus and is ignored by screen readers.","pojo-accessibility")]}},aria_activedescendant_tabindex_valid:{violationName:(0,tS.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Elements highlighting active choices must be reachable with the keyboard.","pojo-accessibility"),whyItMatters:(0,tS.__)("If people can’t reach elements that highlight active choices, they may lose track of where they are or be unable to make a selection, leading to a frustrating experience.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure you can tab into any custom selection or toolbar so keyboard users can start interacting with its items.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An element highlights a selection but can’t be focused using the Tab key, making it hard for keyboard users to interact with it.","pojo-accessibility"),resolution:[(0,tS.__)("In your page builder, enable the “Focusable” option for the custom toolbar or dropdown container so it’s reached when you press Tab.","pojo-accessibility"),(0,tS.__)("Check that once the container is focused, arrow keys move through its buttons or options.","pojo-accessibility")]}},aria_child_tabbable:{violationName:(0,tS.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Interactive components must have something users can reach with the keyboard.","pojo-accessibility"),whyItMatters:(0,tS.__)("If an interactive part of the site doesn’t have anything people can tab to, keyboard people and people relying on assistive technologies may not be able to use it at all.","pojo-accessibility"),howToResolve:(0,tS.__)("Ensure at least one item inside any custom list or tree can be reached with the Tab key so users can navigate inside.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A popup opens but none of its buttons or options can be reached by tabbing, leaving keyboard users stuck.","pojo-accessibility"),resolution:[(0,tS.__)("For a collapsible menu, turn on the “Link” or “Focusable” setting for the first menu item so Tab lands there.","pojo-accessibility"),(0,tS.__)("In a nested list, make sure each sub-item is a real link or button, not just plain text, so it can receive focus.","pojo-accessibility")]}},element_scrollable_tabbable:{violationName:(0,tS.__)("Scrollable Element Untabbable","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Scrollable non-interactive element is not tabbable.","pojo-accessibility"),whyItMatters:(0,tS.__)("If people can't reach scrollable areas using the keyboard, they might miss important content — making the website harder to navigate for those who don't use a mouse.","pojo-accessibility"),howToResolve:(0,tS.__)("Let people tab into any scrollable box so they can use arrow keys to scroll through hidden content.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A section with scrollable product cards can't be reached or explored by keyboard users.","pojo-accessibility"),resolution:[(0,tS.__)("If you’ve put text in a small “scroll box” widget, enable its keyboard scrolling feature so Tab brings focus inside and arrow keys move the content.","pojo-accessibility"),(0,tS.__)("Replace a custom block that can’t be reached by Tab with a built-in “Scrollable Panel” element that supports keyboard navigation.","pojo-accessibility")]}},iframe_interactive_tabbable:{violationName:(0,tS.__)("Keyboard Navigation Issues","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Embedded Interactive content must be reachable with the keyboard.","pojo-accessibility"),whyItMatters:(0,tS.__)("If interactive content like videos or forms can't be reached by keyboard, some people won't be able to play, pause, or interact with them — making the site harder to use and less accessible.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure any embedded content (videos, maps, forms) can be reached by pressing Tab or hide it completely if it’s purely decorative.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An embedded video player is skipped when users navigate with the Tab key.","pojo-accessibility"),resolution:[(0,tS.__)("For a YouTube video embed, turn on the “Focusable” setting so users can Tab into the video controls.","pojo-accessibility"),(0,tS.__)("If an iframe only shows decorative graphics, mark it as “Hidden from keyboard” so Tab skips over it.","pojo-accessibility")]}},a_text_purpose:{violationName:(0,tS.__)("Link Purpose Unclear","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Links must clearly describe their purpose.","pojo-accessibility"),whyItMatters:(0,tS.__)("If links don’t clearly describe their purpose, people relying on assistive technologies may not understand where the link will take them, making navigation confusing.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every link (text or image) a name that tells people where it goes.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A link says "Click here" without explaining where it goes, leaving screen reader users guessing.',"pojo-accessibility"),resolution:[(0,tS.__)("Change a generic “Learn more” link to “Learn more about our Pricing Plans.”","pojo-accessibility"),(0,tS.__)("For a linked image, update its alt text to “View our Spring Collection” instead of “image1.png.”","pojo-accessibility")]}},label_name_visible:{violationName:(0,tS.__)("Visible Label Mismatch","pojo-accessibility"),whatsTheIssue:(0,tS.__)("The accessible name must match what users see.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the accessible name doesn’t match the visible label, people relying on assistive technologies may hear different information than what they see, causing confusion and mistakes.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure the name announced by assistive tools matches exactly what users see on the button or field.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A button visually says "Submit Form," but its accessible name is just "Submit," which can confuse screen reader users.',"pojo-accessibility"),resolution:[(0,tS.__)("If a button reads “Next Page,” set its accessibility name to “Next Page” (not “Go Forward”).","pojo-accessibility"),(0,tS.__)("For a search icon that shows a magnifying glass, give it the hidden label “Search” so screen-reader users hear “Search” when they land on it.","pojo-accessibility")]}},html_lang_exists:{violationName:(0,tS.__)("Missing Page Language","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Set the main language of the page.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the page’s language isn’t set, screen readers may mispronounce words, making the content harder to understand for people who rely on them.","pojo-accessibility"),howToResolve:(0,tS.__)("Tell browsers and assistive tools what language your site uses so they can pronounce text correctly.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A website is written in English, but there’s no language setting, making it harder for screen readers to pronounce words correctly.","pojo-accessibility"),resolution:[(0,tS.__)("In your site settings or template options, set the language to “English” (or your chosen language) so screen readers switch voices appropriately.","pojo-accessibility"),(0,tS.__)("If your page is in French, change the language setting from blank or “Automatic” to “French.”","pojo-accessibility")]}},html_lang_valid:{violationName:(0,tS.__)("Invalid Language Code","pojo-accessibility"),whatsTheIssue:(0,tS.__)("The page’s language setting must be valid.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the language code isn’t valid, assistive technologies may not recognize it, leading to incorrect pronunciation and a confusing experience for people.","pojo-accessibility"),howToResolve:(0,tS.__)("Set your site’s main language to a standard code so browsers and screen readers know how to pronounce text.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A page tries to set its language, but uses an incorrect code, causing screen readers to mispronounce the text.","pojo-accessibility"),resolution:[(0,tS.__)("In your site settings, change the language from “english” or blank to the official code “en” (for English).","pojo-accessibility"),(0,tS.__)("If your site is in Spanish, pick “es” instead of writing out “Spanish” or leaving it unset.","pojo-accessibility")]}},element_lang_valid:{violationName:(0,tS.__)("Incorrect Language Tag","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Language changes in the content must use valid language settings.","pojo-accessibility"),whyItMatters:(0,tS.__)("If language changes aren’t properly marked, assistive technologies may mispronounce words, making the content harder to understand for people.","pojo-accessibility"),howToResolve:(0,tS.__)("Tag any text in a different language with its proper code so assistive tools switch pronunciation correctly.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A paragraph switches from English to Spanish but doesn’t correctly mark the language change, confusing screen readers.","pojo-accessibility"),resolution:[(0,tS.__)("For a French quote, apply the code “fr” to that paragraph so screen readers read it with French pronunciation.","pojo-accessibility"),(0,tS.__)("If you slip in a German phrase, mark it as “de” rather than leaving it as default.","pojo-accessibility")]}},input_haspopup_conflict:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Inputs with suggestions should not have extra popup labels.","pojo-accessibility"),whyItMatters:(0,tS.__)("If extra popup labels are added where they aren’t needed, people relying on assistive technologies may get the wrong idea about how the input works, leading to confusion.","pojo-accessibility"),howToResolve:(0,tS.__)("If a text field already uses browser suggestions, turn off any extra “popup” option you added so they don’t conflict.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A search box with suggested terms uses an additional popup label, confusing assistive technologies about what will open.","pojo-accessibility"),resolution:[(0,tS.__)("You added a “show menu” toggle to an email field that already shows domain suggestions—switch that toggle off so the browser list works normally.","pojo-accessibility"),(0,tS.__)("If a phone-number field has both built-in dropdown and a custom “has popup” setting, remove the custom setting and let the browser handle it.","pojo-accessibility")]}},element_tabbable_role_valid:{violationName:(0,tS.__)("Orientation Lock Issue","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Elements users can tab to must be correctly labeled as interactive","pojo-accessibility"),whyItMatters:(0,tS.__)("If an element can be reached with the keyboard but isn’t labeled as interactive, people may not know what it does or how to use it.","pojo-accessibility"),howToResolve:(0,tS.__)("If something shouldn’t be clicked or typed into, remove it from Tab order if it should be interactive, make sure it’s focusable.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A focusable item looks interactive but doesn’t have a proper role, confusing screen reader users.","pojo-accessibility"),resolution:[(0,tS.__)("A banner image that isn’t clickable still got tab focus—turn off its focus setting so Tab skips it.","pojo-accessibility"),(0,tS.__)("A custom drop-down that users need to open wasn’t reachable by keyboard—enable its “focusable” option so Tab lands on it first.","pojo-accessibility")]}},element_orientation_unlocked:{violationName:(0,tS.__)("Locked Orientation View","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Content must work in both portrait and landscape views.","pojo-accessibility"),whyItMatters:(0,tS.__)("If content is locked to one screen orientation, it can be hard or impossible for some people to interact with the site, especially those with limited mobility or using mounted devices.","pojo-accessibility"),howToResolve:(0,tS.__)("Avoid locking parts of your page into portrait or landscape use responsive settings so content rotates naturally.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A form forces users to turn their device sideways to fill it out, making it difficult for people who can’t easily rotate their screens.","pojo-accessibility"),resolution:[(0,tS.__)("You added a rotate effect that only shows correctly in portrait—remove that so the page also works in landscape.","pojo-accessibility"),(0,tS.__)("If a section flips upside down on mobile, switch to a flexible layout option that adapts to both orientations.","pojo-accessibility")]}},meta_redirect_optional:{violationName:(0,tS.__)("Auto Refresh Without Warning","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Pages should not refresh automatically without a warning or option.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a page refreshes without warning, people — especially those with disabilities — might lose their place, miss important information, or have trouble completing tasks.","pojo-accessibility"),howToResolve:(0,tS.__)("Don’t force the page to reload on a timer either remove the automatic refresh or let visitors pause or extend it.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A page refreshes after a few minutes without telling the user, causing someone to lose information they were entering.","pojo-accessibility"),resolution:[(0,tS.__)("Your dashboard refreshes every minute—add a toggle so people can turn off auto-update if they need time to read.","pojo-accessibility"),(0,tS.__)("If a warning page times out, show a “Stay on this page” button and a countdown so users aren’t surprised.","pojo-accessibility")]}},blink_elem_deprecated:{violationName:(0,tS.__)("Persistent Blinking Content","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Avoid using content that blinks repeatedly.","pojo-accessibility"),whyItMatters:(0,tS.__)("Persistent blinking can be distracting, overwhelming, or even dangerous for some people, making the website less safe and harder to use.","pojo-accessibility"),howToResolve:(0,tS.__)("Make any flashing or blinking element stop on its own within a few seconds or let people pause or view a non-blinking version.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An ad banner keeps blinking without stopping, distracting users and potentially triggering seizures for people with certain conditions.","pojo-accessibility"),resolution:[(0,tS.__)("A warning banner that flashes indefinitely is replaced with one that stops blinking after 3 seconds and includes a “Pause animation” button.","pojo-accessibility"),(0,tS.__)("A promotional carousel offers a “View static version” link so users who find movement distracting can switch to a still layout.","pojo-accessibility")]}},marquee_elem_avoid:{violationName:(0,tS.__)("Scrolling Text Used","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Don’t use scrolling text (marquee).","pojo-accessibility"),whyItMatters:(0,tS.__)("Scrolling text can be distracting and is not supported by modern accessibility standards, making the site harder to use for many people.","pojo-accessibility"),howToResolve:(0,tS.__)("Remove automatic marquee effects or give people a simple toggle to stop or turn off the motion.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A message scrolls across the screen using outdated code, making it hard for users to read or interact with the page.","pojo-accessibility"),resolution:[(0,tS.__)("Replace an endlessly scrolling news ticker with a static list of headlines and an optional “Start scrolling” button for those who want the effect.","pojo-accessibility"),(0,tS.__)("A marquee of customer logos includes an “Animation off” setting so viewers can read at their own pace.","pojo-accessibility")]}},table_headers_ref_valid:{violationName:(0,tS.__)("Invalid Table Header Link","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Table headers must correctly link to their cells.","pojo-accessibility"),whyItMatters:(0,tS.__)("If table headers aren’t properly linked, people relying on assistive technologies may not understand the relationship between the data and its meaning, leading to confusion.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every cell in a data table clearly points to the right column and row headings, so screen readers announce them together.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A data cell points to a header that doesn’t exist in the table, making it confusing for screen reader users to understand the information.","pojo-accessibility"),resolution:[(0,tS.__)("In a price comparison table, each price cell is tagged to both the product name at the top and the feature name on the left.","pojo-accessibility"),(0,tS.__)("A student-grades chart ensures each score cell is tied to “Alice” in the first column and “Math” in the header row.","pojo-accessibility")]}},table_scope_valid:{violationName:(0,tS.__)("Invalid Table Scope Values","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Use the correct values for table header settings.","pojo-accessibility"),whyItMatters:(0,tS.__)("If table headers aren’t set up correctly, assistive technologies may not be able to explain the table structure properly, making it harder for people to understand the information.","pojo-accessibility"),howToResolve:(0,tS.__)("Don’t add extra header labels if your table only has a first row or first column use simple settings to mark those instead.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A table header uses an invalid value for its scope, making it unclear to screen reader users how the table is organized.","pojo-accessibility"),resolution:[(0,tS.__)("A contact list table with names down the side and phone numbers across the top removes unnecessary “Header” markings on every cell—keeps only “Name” (column) and “Phone” (row) labels.","pojo-accessibility"),(0,tS.__)("For a report table, mark the left column as “Category” and the top row as “Quarter” without adding extra header markers elsewhere.","pojo-accessibility")]}},table_headers_exists:{violationName:(0,tS.__)("Missing Table Headers","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Data tables must clearly identify headers.","pojo-accessibility"),whyItMatters:(0,tS.__)("If tables don’t identify their headers, people relying on assistive technologies may not know how to read and understand the information correctly.","pojo-accessibility"),howToResolve:(0,tS.__)("If you’re using a table only for page layout, switch to a layout block if it’s real data, add clear header rows or columns.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A table lists information but doesn’t mark which cells are headers, making it confusing for screen reader users to understand the data.","pojo-accessibility"),resolution:[(0,tS.__)("A two-column design built with a table is redone using side-by-side layout blocks.","pojo-accessibility"),(0,tS.__)("A sales-data table adds a bold header row “Product | Units Sold | Revenue” so every column is clearly labeled.","pojo-accessibility")]}},table_headers_related:{violationName:(0,tS.__)("Complex Table Headers Missing","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Complex tables must link headers and data clearly.","pojo-accessibility"),whyItMatters:(0,tS.__)("If headers and data aren’t clearly linked in complex tables, people relying on assistive technologies can get lost or misunderstand the information.","pojo-accessibility"),howToResolve:(0,tS.__)("For tables where one cell relates to several row or column headers, tag each data cell to all the headings it belongs to.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("In a large table, data cells aren’t properly connected to their headers, making it hard for screen reader users to understand what each number means.","pojo-accessibility"),resolution:[(0,tS.__)("In a schedule grid, meeting times are linked to both “Monday” and “Conference Room A” so assistive tech reads both.","pojo-accessibility"),(0,tS.__)("A financial report table assigns each number cell to “Q1,” “Q2,” etc., and to “Expenses” or “Revenue” as appropriate.","pojo-accessibility")]}},table_structure_misuse:{violationName:(0,tS.__)("Layout Table Misuse","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Tables used only for layout should not have headers or structure.","pojo-accessibility"),whyItMatters:(0,tS.__)("If a table meant just for layout has headers or structure, assistive technologies may misinterpret it as a data table, leading to a confusing experience.","pojo-accessibility"),howToResolve:(0,tS.__)("Don’t use table markup for page layout if it’s decorative or structural, rebuild with layout blocks and remove captions, header tags, and other table-only features.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A layout table is marked with a role that hides it from assistive technologies, but it still includes headers, causing confusion for screen reader users.","pojo-accessibility"),resolution:[(0,tS.__)("A page section arranged in columns switches from a layout table to a responsive grid layout.","pojo-accessibility"),(0,tS.__)("A “testimonial” layout that used <th> and <caption> is rebuilt with cards or panels, with no table elements at all.","pojo-accessibility")]}},dir_attribute_valid:{violationName:(0,tS.__)("Invalid Text Direction","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Text direction settings must use a valid value.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the text direction isn’t set properly, people may have trouble reading the content, especially in languages that flow right-to-left, like Arabic or Hebrew.","pojo-accessibility"),howToResolve:(0,tS.__)("Set the text direction to match the language left-to-right for English, right-to-left for Hebrew/Arabic, or automatic if you’re mixing languages.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A page sets the text direction using an invalid value, making it harder for assistive technologies to display the content correctly.","pojo-accessibility"),resolution:[(0,tS.__)("In your site or theme settings, choose Left-to-Right (LTR) if your content is in English or most European languages.","pojo-accessibility"),(0,tS.__)("For a section in Arabic, switch its direction to Right-to-Left (RTL) so the text reads naturally.","pojo-accessibility"),(0,tS.__)("If you have both English and another language, use the Auto setting so the browser figures it out.","pojo-accessibility")]}},aria_application_label_unique:{violationName:(0,tS.__)("Duplicate Interactive Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Interactive areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If interactive areas don’t have unique labels, people relying on assistive technologies may not know what each area is for, making navigation confusing and frustrating.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each interactive “app-style” region (like a widget panel) a unique name so screen readers know what it is.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two app sections on a page are both labeled "Main Area," making it confusing for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)("A weather box gets the hidden name “Weather Forecast Panel” so assistive tools announce it.","pojo-accessibility"),(0,tS.__)("A stock-ticker area is labeled “Stock Ticker Feed” (even if the label isn’t visible) to describe its purpose.","pojo-accessibility")]}},aria_application_labelled:{violationName:(0,tS.__)("Missing Interactive Label","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Interactive areas must have a clear label describing their purpose.","pojo-accessibility"),whyItMatters:(0,tS.__)("If interactive areas don’t have a clear label, people relying on assistive technologies may struggle to understand and use the content correctly.","pojo-accessibility"),howToResolve:(0,tS.__)("Link each application-style panel to visible heading text or add a hidden label so it’s announced correctly.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An app-like section is created but doesn’t have a label, leaving screen reader users unsure what the section is for.","pojo-accessibility"),resolution:[(0,tS.__)("Above a “News” widget, add the heading “Top Stories” and connect the panel to that heading so screen readers say “Top Stories, panel.”","pojo-accessibility"),(0,tS.__)("If there’s no visible heading, give the panel a hidden label like “Search Widget” for clarity.","pojo-accessibility")]}},aria_article_label_unique:{violationName:(0,tS.__)("Duplicate Article Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Articles must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If articles don’t have unique labels, people relying on assistive technologies may get confused about the content or skip important information.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every article or blog post section has its own clear title so users know what it contains.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two articles on a news site are both labeled "Story," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)('A feature story gets the title "How to Improve Site Accessibility" in its hidden or visible label.',"pojo-accessibility"),(0,tS.__)('A guest post section is labeled "Guest Insights: UX Trends" so assistive tech announces the correct article heading.',"pojo-accessibility")]}},aria_banner_label_unique:{violationName:(0,tS.__)("Duplicate Banner Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Banners must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If banners don’t have unique labels, people relying on assistive technologies may get confused about the purpose of each section, leading to a frustrating experience.","pojo-accessibility"),howToResolve:(0,tS.__)("Give your main page header (the banner) a unique name describing your site or section.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two banners on a page are both labeled "Site Banner," making it difficult for screen reader users to know which banner provides which information.',"pojo-accessibility"),resolution:[(0,tS.__)("Label the top header region “Pelican Claims Site Header” so screen readers recognize it as the main banner.","pojo-accessibility"),(0,tS.__)("If you have two headers, remove the extra label from the secondary one and keep only the primary banner named “Main Page Header.”","pojo-accessibility")]}},aria_banner_single:{violationName:(0,tS.__)("Multiple Banners Used","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Each page should have only one banner.","pojo-accessibility"),whyItMatters:(0,tS.__)("If there’s more than one banner, people relying on assistive technologies may get confused about the structure of the page, making navigation harder.","pojo-accessibility"),howToResolve:(0,tS.__)("Only one element on the page should act as the main banner. Remove banner labels from any extra headers.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A website includes two banners at the top, confusing screen reader users about where the main site information starts.","pojo-accessibility"),resolution:[(0,tS.__)("If both your logo area and top navigation were marked as banners, turn off the banner setting on the navigation so only the logo area remains the one true banner.","pojo-accessibility")]}},aria_complementary_label_unique:{violationName:(0,tS.__)("Duplicate Sidebar Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Side content areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If side sections don’t have unique labels, people relying on assistive technologies may not understand the difference between them, leading to confusion when navigating the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each sidebar or related-content region its own unique label so users understand its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two sidebars are both labeled "Related Information," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)("A news sidebar is labeled “Related Articles” so it’s announced as such.","pojo-accessibility"),(0,tS.__)("A contact info box is named “Office Hours & Contacts.”","pojo-accessibility")]}},aria_complementary_labelled:{violationName:(0,tS.__)("Sidebar Missing Label","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Side content areas must have a clear label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If side content isn’t labeled, people relying on assistive technologies may miss important information or not understand the purpose of different sections.","pojo-accessibility"),howToResolve:(0,tS.__)("Link each complementary section (sidebar, help panel) to its visible heading or add a hidden label so it’s announced properly.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A sidebar with extra information isn’t labeled, so screen reader users don’t know what the section is about.","pojo-accessibility"),resolution:[(0,tS.__)("Above a “Recent Posts” sidebar, add the heading “Recent Posts” and connect the section to it so screen readers say “Recent Posts, section.”","pojo-accessibility"),(0,tS.__)("If no heading fits, give the section a hidden label like “Help & Support Panel.”","pojo-accessibility")]}},aria_content_in_landmark:{violationName:(0,tS.__)("Content Outside Landmarks","pojo-accessibility"),whatsTheIssue:(0,tS.__)("All content must be placed inside clear sections (landmarks).","pojo-accessibility"),whyItMatters:(0,tS.__)("If content isn’t placed inside clear landmarks, people relying on assistive technologies may struggle to navigate and understand the structure of the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Enclose each major section of your page in the right landmark region so assistive tools know what each part is for.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A page has important content floating outside of main sections like “Main,” “Navigation,” or “Footer,” making it harder for screen reader users to find.","pojo-accessibility"),resolution:[(0,tS.__)("Main content: Put your primary article or page text inside a “Main Content” block or section so it’s announced as the main section.","pojo-accessibility"),(0,tS.__)("Footer: Use your theme’s Footer area (or add a “Footer” block) so it’s recognized as the page’s footer.","pojo-accessibility"),(0,tS.__)("Sidebar or related links: Place widgets like “Related Articles” or “Contact Info” inside a Sidebar or a “Complementary” region.","pojo-accessibility")]}},aria_contentinfo_label_unique:{violationName:(0,tS.__)("Duplicate Footer Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Footer sections must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If footer sections don’t have unique labels, people relying on assistive technologies may get confused about the different types of information available at the bottom of the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Give your footer area a unique name (like “Site Footer”) so screen readers announce it as the page’s footer.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two footers on a page are both labeled "Footer," making it hard for screen reader users to know which one contains which information.',"pojo-accessibility"),resolution:[(0,tS.__)("In your footer settings, add the hidden label “Site Footer” so assistive tools recognize it.","pojo-accessibility"),(0,tS.__)("If you have a legal notice and a separate copyright block, label only the main footer section and leave the rest unlabeled.","pojo-accessibility")]}},aria_contentinfo_single:{violationName:(0,tS.__)("Multiple Footers Present","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Each page should have only one footer section.","pojo-accessibility"),whyItMatters:(0,tS.__)("If there’s more than one footer, people relying on assistive technologies may get confused about the page structure, making navigation harder and less predictable.","pojo-accessibility"),howToResolve:(0,tS.__)("Keep only one section marked as the page’s footer and remove any extra footer roles from secondary sections.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A page has two footers, making it confusing for screen reader users to understand where the main site information ends.","pojo-accessibility"),resolution:[(0,tS.__)("If both your top bar and bottom bar were set as footers, turn off the footer label on the top bar so only the true footer remains.","pojo-accessibility"),(0,tS.__)("A copyright widget had a footer setting—remove that so only the main footer block is treated as contentinfo.","pojo-accessibility")]}},aria_document_label_unique:{violationName:(0,tS.__)("Duplicate Document Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Documents must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If documents don’t have unique labels, people relying on assistive technologies may not understand the difference between them, leading to confusion and frustration.","pojo-accessibility"),howToResolve:(0,tS.__)("For any special document-like widget or panel, give it its own visible or hidden title so users understand its purpose.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two embedded documents on a page are both labeled "Document," making it difficult for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)("A news feed panel is labeled “Breaking News Feed” so screen readers announce it.","pojo-accessibility"),(0,tS.__)("A downloadable report section gets a hidden label “Monthly Sales Report” if no visible heading fits.","pojo-accessibility")]}},aria_form_label_unique:{violationName:(0,tS.__)("Unclear Form Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Forms must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If forms don’t have unique labels, people relying on assistive technologies may get confused about what each form is for, leading to mistakes and frustration.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each form on the page a short, unique name (for example, “Contact Form” or “Newsletter Signup”) so assistive tools can tell them apart.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page has two different forms, but both are labeled "Form," making it hard for screen reader users to know which form they are filling out.',"pojo-accessibility"),resolution:[(0,tS.__)("Label your contact form “Contact Us Form” in the form settings.","pojo-accessibility"),(0,tS.__)("A separate survey form is labeled “Customer Feedback Survey.”","pojo-accessibility")]}},aria_landmark_name_unique:{violationName:(0,tS.__)("Duplicate Landmark Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Landmark sections must have a unique label or be clearly separated.","pojo-accessibility"),whyItMatters:(0,tS.__)("If landmarks aren’t uniquely labeled or clearly separated, people relying on assistive technologies can get confused about the page layout, making navigation harder.","pojo-accessibility"),howToResolve:(0,tS.__)("If you have more than one section of the same kind (like two sidebars), give each a different label so users know which is which.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two navigation sections are both labeled "Main Menu," making it hard for screen reader users to tell them apart.',"pojo-accessibility"),resolution:[(0,tS.__)("Rename one sidebar “Related Articles” and the other “Recommended Products.”","pojo-accessibility"),(0,tS.__)("For two menus, label one “Main Navigation” and the other “Footer Menu.”","pojo-accessibility")]}},aria_main_label_unique:{violationName:(0,tS.__)("Duplicate Main Content Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Main sections must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If main sections don’t have unique labels, people relying on assistive technologies may get lost or misunderstand the structure of the page.","pojo-accessibility"),howToResolve:(0,tS.__)("Identify one area as your page’s main content; if you need additional main-like sections, give each a unique label instead of multiple “Main” roles.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page has two main sections, both labeled "Main Content," making it confusing for screen reader users to know which section they are in.',"pojo-accessibility"),resolution:[(0,tS.__)("Ensure only your primary content block is set as “Main.”","pojo-accessibility"),(0,tS.__)("If you show search results in a separate main-style panel, label it “Search Results Panel” rather than marking it as another main region.","pojo-accessibility")]}},aria_navigation_label_unique:{violationName:(0,tS.__)("Duplicate Navigation Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Navigation menus must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If navigation menus don’t have unique labels, people relying on assistive technologies may get confused and struggle to move around the site.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every navigation menu (header, sidebar, footer) its own label so users know which menu they’re in.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page has two navigation sections, both labeled "Navigation," making it hard for screen reader users to know which menu they are using.',"pojo-accessibility"),resolution:[(0,tS.__)("Label your top menu “Primary Navigation.”","pojo-accessibility"),(0,tS.__)("Label a footer menu “Footer Links.”","pojo-accessibility")]}},aria_region_label_unique:{violationName:(0,tS.__)("Duplicate Region Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Content sections (regions) must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If content sections don’t have unique labels, people relying on assistive technologies may get confused about the layout and miss important information.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each section or “region” (like a news box or sidebar) its own name so users know what it contains.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('Two regions on a page are both labeled "Section," making it difficult for screen reader users to understand the difference between them.',"pojo-accessibility"),resolution:[(0,tS.__)("Label your weather updates panel “Weather Forecast” and your stock ticker panel “Market Updates.”","pojo-accessibility"),(0,tS.__)("If you have two help boxes, name one “FAQ Help” and the other “Live Support Info.”","pojo-accessibility")]}},aria_region_labelled:{violationName:(0,tS.__)("Unlabeled Content Region","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Content sections must have a clear label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If content sections aren’t labeled, people relying on assistive technologies may not understand the purpose of different parts of the page, making navigation harder.","pojo-accessibility"),howToResolve:(0,tS.__)("Tie each section to its visible heading or add a hidden name so screen readers announce it correctly.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A section with additional information is not labeled, making it unclear for screen reader users what the section is about.","pojo-accessibility"),resolution:[(0,tS.__)("Add a heading “Real-Time Log” above a log panel and connect the panel to that heading.","pojo-accessibility"),(0,tS.__)("If there’s no visible heading, give the panel a hidden label like “Real-Time Log Panel.”","pojo-accessibility")]}},aria_search_label_unique:{violationName:(0,tS.__)("Duplicate Search Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Search areas must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If search areas don’t have unique labels, people relying on assistive technologies may get confused and struggle to find the right search tool.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each search input its own label so people know what they’re searching.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page has two search bars, but both are labeled "Search," making it hard for screen reader users to know which search feature they are using.',"pojo-accessibility"),resolution:[(0,tS.__)("Label one search box “Search Products” and another “Search Blog Posts.”","pojo-accessibility"),(0,tS.__)("If your theme forces a generic “Search,” add hidden text “Search Site” to distinguish it.","pojo-accessibility")]}},aria_toolbar_label_unique:{violationName:(0,tS.__)("Duplicate Toolbar Labels","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Toolbars must have a clear, unique label.","pojo-accessibility"),whyItMatters:(0,tS.__)("If toolbars don’t have unique labels, people relying on assistive technologies may get confused about which toolbar to use, leading to mistakes and frustration.","pojo-accessibility"),howToResolve:(0,tS.__)("Give every toolbar or set of tools a clear name so users know what controls they’re grouped in.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page has multiple toolbars, but they are all labeled "Toolbar," making it difficult for screen reader users to know what each one controls.',"pojo-accessibility"),resolution:[(0,tS.__)("Call your formatting toolbar “Text Formatting Tools.”","pojo-accessibility"),(0,tS.__)("Name a layout toolbar “Page Layout Controls.”","pojo-accessibility")]}},skip_main_exists:{violationName:(0,tS.__)("Missing Skip Link","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Pages must let users skip straight to the main content.","pojo-accessibility"),whyItMatters:(0,tS.__)("If people can't easily skip to the main content, especially keyboard and screen reader users, navigating the site becomes slow, frustrating, and tiring.","pojo-accessibility"),howToResolve:(0,tS.__)("Add a “Skip to main content” link as the first focusable item so keyboard users can jump straight to your page’s main area.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A user has to tab through the entire navigation menu every time they visit a new page because there’s no shortcut to jump to the main content.","pojo-accessibility"),resolution:[(0,tS.__)("Include a hidden link at the top labeled “Skip to main content” that appears when focused.","pojo-accessibility"),(0,tS.__)("Ensure that pressing Tab brings that link into view before the navigation menu.","pojo-accessibility")]}},page_title_exists:{violationName:(0,tS.__)("Missing Page Title","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Each page must have a clear, descriptive title.","pojo-accessibility"),whyItMatters:(0,tS.__)("If the page title doesn’t describe the content clearly, people may have trouble understanding where they are, especially when using tabs, bookmarks, or screen readers.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every page actually has a title ⎯ and that the title tells visitors what’s on the page.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)('A page title just says "Home" even though it’s a product page, making it unclear to users and screen readers what the page is about.',"pojo-accessibility"),resolution:[(0,tS.__)("If the title box in your page or SEO settings is blank, type a short description such as “About Our Clinic.”","pojo-accessibility"),(0,tS.__)("If the title shows “Untitled Page,” replace it with something specific like “Contact Us – Email & Location.”","pojo-accessibility"),(0,tS.__)("If the design template “hides” the title area completely, switch to (or edit) a template that includes a title field, then add a descriptive phrase like “Organic Dog Treats – Home.”","pojo-accessibility")]}},frame_title_exists:{violationName:(0,tS.__)("Missing Iframe Title","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Embedded content (iframes) must have a clear, unique title.","pojo-accessibility"),whyItMatters:(0,tS.__)("If embedded content doesn’t have a descriptive title, people relying on assistive technologies may not know what the content is or whether they want to interact with it.","pojo-accessibility"),howToResolve:(0,tS.__)("Give each embedded frame (like videos or file previews) a short title so everyone knows what’s inside.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("An embedded video has no title, making it unclear to screen reader users what the embedded content is about.","pojo-accessibility"),resolution:[(0,tS.__)("For a project file embed, set its title to “Project Files Preview.”","pojo-accessibility"),(0,tS.__)("For a tutorial video, use “How-To Tutorial Video.”","pojo-accessibility")]}},list_children_valid:{violationName:(0,tS.__)("Invalid List Items","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Lists must only contain list items.","pojo-accessibility"),whyItMatters:(0,tS.__)("If lists are not built with the right items, assistive technologies can misread the structure, making it harder for people to understand the content.","pojo-accessibility"),howToResolve:(0,tS.__)("Make sure every item in a list or grouped set is a true list item so screen readers announce them in order.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A list groups together elements that aren’t proper list items, confusing screen readers.","pojo-accessibility"),resolution:[(0,tS.__)("In a bullet list of features, ensure each feature is a list item—don’t mix in headings or plain text blocks.","pojo-accessibility"),(0,tS.__)("For grouped icons or buttons, use a list container so each icon is treated as one item.","pojo-accessibility")]}},table_aria_descendants:{violationName:(0,tS.__)("Misused Table Roles","pojo-accessibility"),whatsTheIssue:(0,tS.__)("Don’t override the natural roles of table elements","pojo-accessibility"),whyItMatters:(0,tS.__)("If table elements have their natural roles changed, assistive technologies may misread the table, making it harder for people to understand the data","pojo-accessibility"),howToResolve:(0,tS.__)("When you add a table or grid, don’t layer extra labels or roles onto each row or cell. Use the table block’s built-in settings.","pojo-accessibility"),seeAnExample:{issue:(0,tS.__)("A table header cell (<th>) is manually given a different role, making it confusing for screen readers to understand the table structure.","pojo-accessibility"),resolution:[(0,tS.__)("Use your table widget’s header toggle for the first row instead of manually tagging each header cell.","pojo-accessibility"),(0,tS.__)("If you’ve marked up each cell again, remove those extra settings so the table remains clean and predictable.","pojo-accessibility")]}}},EH=window.wp.a11y,TH=({item:e,current:t,setOpen:r})=>{var n;const{openedBlock:o,currentScanId:i}=QS(),{error:a}=Gn(),{copied:s,copyToClipboard:l}=jH(),{markResolved:c}=RH({item:e,current:t}),[u,d]=(0,Vn.useState)(!1),p=()=>d(!1),h=t=>{Ww(t,{category_name:o,issue_type:e.message,element_selector:e.path.dom})},f=()=>{const e=document.getElementById("ea11y-scanner-wizard-widget").shadowRoot.querySelector(`#manual-panel-${t}`);e&&e.focus()},m=o!==mS.colorContrast&&!wS.includes(e.ruleId);return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsxs)(VB,{children:[(0,Nt.jsxs)(vo,{children:[(0,Nt.jsxs)(vo,{display:"flex",gap:1,alignItems:"center",children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h5",children:(0,tS.__)("What’s the issue","pojo-accessibility")}),(0,Nt.jsx)(SR,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},content:(0,Nt.jsxs)(UB,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,tS.__)("What's the issue and why it matters?","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",children:MH[e.ruleId].whyItMatters})]}),children:(0,Nt.jsx)(AA,{fontSize:"small",color:"action"})})]}),(0,Nt.jsx)(Jw,{variant:"body2",children:null!==(n=MH[e.ruleId]?.whatsTheIssue)&&void 0!==n?n:e.message})]}),(0,Nt.jsxs)(vo,{children:[(0,Nt.jsxs)(YB,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h5",sx:{mb:.5},children:(0,tS.__)("Where is it","pojo-accessibility")}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:s?(0,tS.__)("Copied!","pojo-accessibility"):(0,tS.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:l(e.snippet,"error_snippet","assistant"),children:(0,Nt.jsx)(Y$,{fontSize:"tiny"})})})]}),(0,Nt.jsx)(Fk,{color:"error",icon:!1,children:(0,Nt.jsx)(vo,{display:"flex",gap:.5,alignItems:"start",children:(0,Nt.jsx)(qB,{variant:"body2",children:e.snippet})})})]}),m&&(0,Nt.jsx)(IH,{current:t,item:e}),MH[e.ruleId]&&(0,Nt.jsx)(Nt.Fragment,{children:(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h5",children:(0,tS.__)("How to resolve it","pojo-accessibility")}),(0,Nt.jsxs)(Jw,{variant:"body2",children:[MH[e.ruleId].howToResolve,(0,Nt.jsx)(SR,{arrow:!0,placement:"left",onClose:p,open:u,PopperProps:{disablePortal:!0},disableFocusListener:!0,disableHoverListener:!0,disableTouchListener:!0,content:(0,Nt.jsxs)(UB,{children:[(0,Nt.jsxs)(vo,{display:"flex",justifyContent:"space-between",alignItems:"start",children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",as:"h5",sx:{mb:3},children:(0,tS.__)("See an example","pojo-accessibility")}),(0,Nt.jsx)(Ca,{onClick:p,"aria-label":(0,tS.__)("Close tooltip","pojo-accessibility"),size:"small",edge:"end",sx:{mt:-1},children:(0,Nt.jsx)(aN,{})})]}),(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h6",children:(0,tS.__)("Issue:","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",color:"secondary",sx:{mb:2},children:MH[e.ruleId].seeAnExample.issue}),(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h6",children:(0,tS.__)("Resolution:","pojo-accessibility")}),MH[e.ruleId].seeAnExample.resolution.flatMap((e,t)=>(0,Nt.jsx)(Jw,{variant:"body2",color:"secondary",sx:{mb:2},children:e},`resolution-${t}`)),(0,Nt.jsx)(GB,{children:(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",onClick:p,children:(0,tS.__)("Got it","pojo-accessibility")})})]}),children:(0,Nt.jsx)(gH,{underline:"none",color:"info.main",onClick:e=>{e.preventDefault(),d(!0)},sx:{mx:.5},children:(0,tS.__)("See an example","pojo-accessibility")})})]})]})})]}),(0,Nt.jsxs)(oH,{sx:{py:3},children:[(0,Nt.jsx)(F_,{size:"small",color:"secondary",variant:"text",onClick:()=>{p(),r(t+1),f(),h(Vw.issueSkipped),(0,EH.speak)((0,tS.__)("Issue skipped","pojo-accessibility"),"polite")},children:(0,tS.__)("Skip for now","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"outlined",onClick:async()=>{try{await oo.resolveIssue(i),p(),c(),f(),h(Vw.markAsResolveClicked),(0,EH.speak)((0,tS.__)("Issue resolved","pojo-accessibility"),"polite")}catch(e){a((0,tS.__)("An error occurred.","pojo-accessibility"))}},startIcon:(0,Nt.jsx)(J$,{}),children:(0,tS.__)("Mark as resolved","pojo-accessibility")})]})]})};TH.propTypes={item:r$,current:IR().number.isRequired,setOpen:IR().func.isRequired};const OH=()=>{const{openIndex:e,setOpenIndex:t,handleOpen:r,openedBlock:n,sortedViolations:o,manualData:i}=QS();return(0,Nt.jsx)(vo,{sx:{pb:8},children:o[n].map((o,a)=>{var s;return(0,Nt.jsxs)(HB,{elevation:0,square:!0,disableGutters:!0,expanded:e===a,onChange:r(a,o),children:[(0,Nt.jsxs)(WB,{"aria-controls":`manual-panel-${a}`,id:`manual-panel-${a}`,children:[(0,Nt.jsx)(X$,{color:"info",checkedIcon:(0,Nt.jsx)(uO,{}),disabled:!0,checked:i[n][a]?.resolved||!1,"aria-label":(0,tS.__)("Resolved","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",as:"h4",noWrap:!0,children:null!==(s=MH[o.ruleId]?.violationName)&&void 0!==s?s:o.category}),i[n][a]?.isGlobal&&(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Cross-scan issue","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(tD,{color:"action",fontSize:"tiny"})})]}),(0,Nt.jsx)(TH,{item:o,current:a,setOpen:t})]},`${o.ruleId}-${a}`)})})};var PH=r(2895);const LH=PH,zH=(PH.stringify,PH.fromJSON,PH.plugin,PH.parse,PH.list,PH.document,PH.comment,PH.atRule,PH.rule,PH.decl,PH.root,PH.CssSyntaxError,PH.Declaration,PH.Container,PH.Processor,PH.Document,PH.Comment,PH.Warning,PH.AtRule,PH.Result,PH.Input,PH.Rule,PH.Root,PH.Node,e=>{const t=e.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([\d.]+))?\)/i);if(!t)return null;const r=parseInt(t[1]).toString(16).padStart(2,"0"),n=parseInt(t[2]).toString(16).padStart(2,"0"),o=parseInt(t[3]).toString(16).padStart(2,"0");return void 0!==t[4]&&parseFloat(t[4])<1?`#${r}${n}${o}${Math.round(255*parseFloat(t[4])).toString(16).padStart(2,"0")}`.toUpperCase():`#${r}${n}${o}`.toUpperCase()});var NH=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{d:"M11.9917 3.28959C14.1198 3.28323 16.1774 4.0527 17.7791 5.45396C19.3809 6.85522 20.417 8.79222 20.6936 10.9023C20.7475 11.313 20.4582 11.6896 20.0475 11.7435C19.6368 11.7973 19.2602 11.508 19.2064 11.0973C18.9772 9.3489 18.1186 7.74397 16.7915 6.58292C15.4643 5.42187 13.7595 4.78431 11.9962 4.78958C10.2328 4.79486 8.53185 5.4426 7.21165 6.61156C5.89146 7.78053 5.04255 9.39057 4.82383 11.1403C4.60511 12.89 5.03159 14.6595 6.02342 16.1175C7.01525 17.5754 8.50444 18.6219 10.2122 19.0611C11.92 19.5003 13.7293 19.302 15.3014 18.5033C16.5306 17.8789 17.5489 16.921 18.2465 15.7498H14.95C14.5358 15.7498 14.2 15.414 14.2 14.9998C14.2 14.5856 14.5358 14.2498 14.95 14.2498H19.433C19.4444 14.2496 19.4559 14.2496 19.4675 14.2498H19.95C20.3642 14.2498 20.7 14.5856 20.7 14.9998V19.9998C20.7 20.414 20.3642 20.7498 19.95 20.7498C19.5358 20.7498 19.2 20.414 19.2 19.9998V17.0375C18.3806 18.215 17.278 19.1817 15.9808 19.8407C14.0834 20.8045 11.8998 21.0439 9.83865 20.5138C7.77753 19.9838 5.98023 18.7208 4.78319 16.9612C3.58615 15.2016 3.07144 13.066 3.33541 10.9542C3.59938 8.8425 4.62393 6.89935 6.21727 5.48853C7.81061 4.07771 9.86351 3.29595 11.9917 3.28959Z"})));const FH=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))};let DH=!0,BH=!1;const $H=new us,HH={text:!0,search:!0,url:!0,tel:!0,email:!0,password:!0,number:!0,date:!0,month:!0,week:!0,time:!0,datetime:!0,"datetime-local":!0};function WH(e){e.metaKey||e.altKey||e.ctrlKey||(DH=!0)}function VH(){DH=!1}function qH(){"hidden"===this.visibilityState&&BH&&(DH=!0)}function UH(){const t=e.useCallback(e=>{var t;null!=e&&((t=e.ownerDocument).addEventListener("keydown",WH,!0),t.addEventListener("mousedown",VH,!0),t.addEventListener("pointerdown",VH,!0),t.addEventListener("touchstart",VH,!0),t.addEventListener("visibilitychange",qH,!0))},[]),r=e.useRef(!1);return{isFocusVisibleRef:r,onFocus:function(e){return!!function(e){const{target:t}=e;try{return t.matches(":focus-visible")}catch(e){}return DH||function(e){const{type:t,tagName:r}=e;return!("INPUT"!==r||!HH[t]||e.readOnly)||"TEXTAREA"===r&&!e.readOnly||!!e.isContentEditable}(t)}(e)&&(r.current=!0,!0)},onBlur:function(){return!!r.current&&(BH=!0,$H.start(100,()=>{BH=!1}),r.current=!1,!0)},ref:t}}const ZH={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"};function GH(e,t){return e-t}function KH(e,t){var r;const{index:n}=null!=(r=e.reduce((e,r,n)=>{const o=Math.abs(t-r);return null===e||o<e.distance||o===e.distance?{distance:o,index:n}:e},null))?r:{};return n}function XH(e,t){if(void 0!==t.current&&e.changedTouches){const r=e;for(let e=0;e<r.changedTouches.length;e+=1){const n=r.changedTouches[e];if(n.identifier===t.current)return{x:n.clientX,y:n.clientY}}return!1}return{x:e.clientX,y:e.clientY}}function JH(e,t,r){return 100*(e-t)/(r-t)}function YH({values:e,newValue:t,index:r}){const n=e.slice();return n[r]=t,n.sort(GH)}function QH({sliderRef:e,activeIndex:t,setActive:r}){var n,o;const i=is(e.current);var a;null!=(n=e.current)&&n.contains(i.activeElement)&&Number(null==i||null==(o=i.activeElement)?void 0:o.getAttribute("data-index"))===t||null==(a=e.current)||a.querySelector(`[type="range"][data-index="${t}"]`).focus(),r&&r(t)}function eW(e,t){return"number"==typeof e&&"number"==typeof t?e===t:"object"==typeof e&&"object"==typeof t&&function(e,t,r=(e,t)=>e===t){return e.length===t.length&&e.every((e,n)=>r(e,t[n]))}(e,t)}const tW={horizontal:{offset:e=>({left:`${e}%`}),leap:e=>({width:`${e}%`})},"horizontal-reverse":{offset:e=>({right:`${e}%`}),leap:e=>({width:`${e}%`})},vertical:{offset:e=>({bottom:`${e}%`}),leap:e=>({height:`${e}%`})}},rW=e=>e;let nW;function oW(){return void 0===nW&&(nW="undefined"==typeof CSS||"function"!=typeof CSS.supports||CSS.supports("touch-action","none")),nW}function iW(t){const{"aria-labelledby":r,defaultValue:n,disabled:o=!1,disableSwap:i=!1,isRtl:a=!1,marks:s=!1,max:l=100,min:c=0,name:u,onChange:d,onChangeCommitted:p,orientation:h="horizontal",rootRef:f,scale:m=rW,step:g=1,shiftStep:b=10,tabIndex:y,value:v}=t,x=e.useRef(),[w,_]=e.useState(-1),[C,k]=e.useState(-1),[S,A]=e.useState(!1),j=e.useRef(0),[R,I]=function({controlled:t,default:r,name:n,state:o="value"}){const{current:i}=e.useRef(void 0!==t),[a,s]=e.useState(r);return[i?t:a,e.useCallback(e=>{i||s(e)},[])]}({controlled:v,default:null!=n?n:c,name:"Slider"}),M=d&&((e,t,r)=>{const n=e.nativeEvent||e,o=new n.constructor(n.type,n);Object.defineProperty(o,"target",{writable:!0,value:{value:t,name:u}}),d(o,t,r)}),E=Array.isArray(R);let T=E?R.slice().sort(GH):[R];T=T.map(e=>null==e?c:FH(e,c,l));const O=!0===s&&null!==g?[...Array(Math.floor((l-c)/g)+1)].map((e,t)=>({value:c+g*t})):s||[],P=O.map(e=>e.value),{isFocusVisibleRef:L,onBlur:z,onFocus:N,ref:F}=UH(),[D,B]=e.useState(-1),$=e.useRef(),H=es(F,$),W=es(f,H),V=e=>t=>{var r;const n=Number(t.currentTarget.getAttribute("data-index"));N(t),!0===L.current&&B(n),k(n),null==e||null==(r=e.onFocus)||r.call(e,t)},q=e=>t=>{var r;z(t),!1===L.current&&B(-1),k(-1),null==e||null==(r=e.onBlur)||r.call(e,t)},U=(e,t)=>{const r=Number(e.currentTarget.getAttribute("data-index")),n=T[r],o=P.indexOf(n);let a=t;if(O&&null==g){const e=P[P.length-1];a=a>e?e:a<P[0]?P[0]:a<n?P[o-1]:P[o+1]}if(a=FH(a,c,l),E){i&&(a=FH(a,T[r-1]||-1/0,T[r+1]||1/0));const e=a;a=YH({values:T,newValue:a,index:r});let t=r;i||(t=a.indexOf(e)),QH({sliderRef:$,activeIndex:t})}I(a),B(r),M&&!eW(a,R)&&M(e,a,r),p&&p(e,a)},Z=e=>t=>{var r;if(null!==g){const e=Number(t.currentTarget.getAttribute("data-index")),r=T[e];let n=null;("ArrowLeft"===t.key||"ArrowDown"===t.key)&&t.shiftKey||"PageDown"===t.key?n=Math.max(r-b,c):(("ArrowRight"===t.key||"ArrowUp"===t.key)&&t.shiftKey||"PageUp"===t.key)&&(n=Math.min(r+b,l)),null!==n&&(U(t,n),t.preventDefault())}null==e||null==(r=e.onKeyDown)||r.call(e,t)};ns(()=>{var e;o&&$.current.contains(document.activeElement)&&(null==(e=document.activeElement)||e.blur())},[o]),o&&-1!==w&&_(-1),o&&-1!==D&&B(-1);const G=e.useRef();let K=h;a&&"horizontal"===h&&(K+="-reverse");const X=({finger:e,move:t=!1})=>{const{current:r}=$,{width:n,height:o,bottom:a,left:s}=r.getBoundingClientRect();let u,d;if(u=0===K.indexOf("vertical")?(a-e.y)/o:(e.x-s)/n,-1!==K.indexOf("-reverse")&&(u=1-u),d=function(e,t,r){return(r-t)*e+t}(u,c,l),g)d=function(e,t,r){const n=Math.round((e-r)/t)*t+r;return Number(n.toFixed(function(e){if(Math.abs(e)<1){const t=e.toExponential().split("e-"),r=t[0].split(".")[1];return(r?r.length:0)+parseInt(t[1],10)}const t=e.toString().split(".")[1];return t?t.length:0}(t)))}(d,g,c);else{const e=KH(P,d);d=P[e]}d=FH(d,c,l);let p=0;if(E){p=t?G.current:KH(T,d),i&&(d=FH(d,T[p-1]||-1/0,T[p+1]||1/0));const e=d;d=YH({values:T,newValue:d,index:p}),i&&t||(p=d.indexOf(e),G.current=p)}return{newValue:d,activeIndex:p}},J=os(e=>{const t=XH(e,x);if(!t)return;if(j.current+=1,"mousemove"===e.type&&0===e.buttons)return void Y(e);const{newValue:r,activeIndex:n}=X({finger:t,move:!0});QH({sliderRef:$,activeIndex:n,setActive:_}),I(r),!S&&j.current>2&&A(!0),M&&!eW(r,R)&&M(e,r,n)}),Y=os(e=>{const t=XH(e,x);if(A(!1),!t)return;const{newValue:r}=X({finger:t,move:!0});_(-1),"touchend"===e.type&&k(-1),p&&p(e,r),x.current=void 0,ee()}),Q=os(e=>{if(o)return;oW()||e.preventDefault();const t=e.changedTouches[0];null!=t&&(x.current=t.identifier);const r=XH(e,x);if(!1!==r){const{newValue:t,activeIndex:n}=X({finger:r});QH({sliderRef:$,activeIndex:n,setActive:_}),I(t),M&&!eW(t,R)&&M(e,t,n)}j.current=0;const n=is($.current);n.addEventListener("touchmove",J,{passive:!0}),n.addEventListener("touchend",Y,{passive:!0})}),ee=e.useCallback(()=>{const e=is($.current);e.removeEventListener("mousemove",J),e.removeEventListener("mouseup",Y),e.removeEventListener("touchmove",J),e.removeEventListener("touchend",Y)},[Y,J]);e.useEffect(()=>{const{current:e}=$;return e.addEventListener("touchstart",Q,{passive:oW()}),()=>{e.removeEventListener("touchstart",Q),ee()}},[ee,Q]),e.useEffect(()=>{o&&ee()},[o,ee]);const te=JH(E?T[0]:c,c,l),re=JH(T[T.length-1],c,l)-te,ne=e=>t=>{var r;null==(r=e.onMouseLeave)||r.call(e,t),k(-1)};return{active:w,axis:K,axisProps:tW,dragging:S,focusedThumbIndex:D,getHiddenInputProps:(e={})=>{var n;const i=Li(e),s={onChange:(d=i||{},e=>{var t;null==(t=d.onChange)||t.call(d,e),U(e,e.target.valueAsNumber)}),onFocus:V(i||{}),onBlur:q(i||{}),onKeyDown:Z(i||{})};var d;const p=(0,Se.A)({},i,s);return(0,Se.A)({tabIndex:y,"aria-labelledby":r,"aria-orientation":h,"aria-valuemax":m(l),"aria-valuemin":m(c),name:u,type:"range",min:t.min,max:t.max,step:null===t.step&&t.marks?"any":null!=(n=t.step)?n:void 0,disabled:o},e,p,{style:(0,Se.A)({},ZH,{direction:a?"rtl":"ltr",width:"100%",height:"100%"})})},getRootProps:(e={})=>{const t=Li(e),r={onMouseDown:(n=t||{},e=>{var t;if(null==(t=n.onMouseDown)||t.call(n,e),o)return;if(e.defaultPrevented)return;if(0!==e.button)return;e.preventDefault();const r=XH(e,x);if(!1!==r){const{newValue:t,activeIndex:n}=X({finger:r});QH({sliderRef:$,activeIndex:n,setActive:_}),I(t),M&&!eW(t,R)&&M(e,t,n)}j.current=0;const i=is($.current);i.addEventListener("mousemove",J,{passive:!0}),i.addEventListener("mouseup",Y)})};var n;const i=(0,Se.A)({},t,r);return(0,Se.A)({},e,{ref:W},i)},getThumbProps:(e={})=>{const t=Li(e),r={onMouseOver:(n=t||{},e=>{var t;null==(t=n.onMouseOver)||t.call(n,e);const r=Number(e.currentTarget.getAttribute("data-index"));k(r)}),onMouseLeave:ne(t||{})};var n;return(0,Se.A)({},e,t,r)},marks:O,open:C,range:E,rootRef:W,trackLeap:re,trackOffset:te,values:T,getThumbStyle:e=>({pointerEvents:-1!==w&&w!==e?"none":void 0})}}function aW(e){return ho("MuiSlider",e)}const sW=fo("MuiSlider",["root","active","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","disabled","dragging","focusVisible","mark","markActive","marked","markLabel","markLabelActive","rail","sizeSmall","thumb","thumbColorPrimary","thumbColorSecondary","thumbColorError","thumbColorSuccess","thumbColorInfo","thumbColorWarning","track","trackInverted","trackFalse","thumbSizeSmall","valueLabel","valueLabelOpen","valueLabelCircle","valueLabelLabel","vertical"]),lW=["aria-label","aria-valuetext","aria-labelledby","component","components","componentsProps","color","classes","className","disableSwap","disabled","getAriaLabel","getAriaValueText","marks","max","min","name","onChange","onChangeCommitted","orientation","shiftStep","size","step","scale","slotProps","slots","tabIndex","track","value","valueLabelDisplay","valueLabelFormat"],cW=Ei();function uW(e){return e}const dW=jo("span",{name:"MuiSlider",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`color${wi(r.color)}`],"medium"!==r.size&&t[`size${wi(r.size)}`],r.marked&&t.marked,"vertical"===r.orientation&&t.vertical,"inverted"===r.track&&t.trackInverted,!1===r.track&&t.trackFalse]}})(({theme:e})=>{var t;return{borderRadius:12,boxSizing:"content-box",display:"inline-block",position:"relative",cursor:"pointer",touchAction:"none",WebkitTapHighlightColor:"transparent","@media print":{colorAdjust:"exact"},[`&.${sW.disabled}`]:{pointerEvents:"none",cursor:"default",color:(e.vars||e).palette.grey[400]},[`&.${sW.dragging}`]:{[`& .${sW.thumb}, & .${sW.track}`]:{transition:"none"}},variants:[...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t},style:{color:(e.vars||e).palette[t].main}})),{props:{orientation:"horizontal"},style:{height:4,width:"100%",padding:"13px 0","@media (pointer: coarse)":{padding:"20px 0"}}},{props:{orientation:"horizontal",size:"small"},style:{height:2}},{props:{orientation:"horizontal",marked:!0},style:{marginBottom:20}},{props:{orientation:"vertical"},style:{height:"100%",width:4,padding:"0 13px","@media (pointer: coarse)":{padding:"0 20px"}}},{props:{orientation:"vertical",size:"small"},style:{width:2}},{props:{orientation:"vertical",marked:!0},style:{marginRight:44}}]}}),pW=jo("span",{name:"MuiSlider",slot:"Rail",overridesResolver:(e,t)=>t.rail})({display:"block",position:"absolute",borderRadius:"inherit",backgroundColor:"currentColor",opacity:.38,variants:[{props:{orientation:"horizontal"},style:{width:"100%",height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{height:"100%",width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:"inverted"},style:{opacity:1}}]}),hW=jo("span",{name:"MuiSlider",slot:"Track",overridesResolver:(e,t)=>t.track})(({theme:e})=>{var t;return{display:"block",position:"absolute",borderRadius:"inherit",border:"1px solid currentColor",backgroundColor:"currentColor",transition:e.transitions.create(["left","width","bottom","height"],{duration:e.transitions.duration.shortest}),variants:[{props:{size:"small"},style:{border:"none"}},{props:{orientation:"horizontal"},style:{height:"inherit",top:"50%",transform:"translateY(-50%)"}},{props:{orientation:"vertical"},style:{width:"inherit",left:"50%",transform:"translateX(-50%)"}},{props:{track:!1},style:{display:"none"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t,track:"inverted"},style:(0,Se.A)({},e.vars?{backgroundColor:e.vars.palette.Slider[`${t}Track`],borderColor:e.vars.palette.Slider[`${t}Track`]}:(0,Se.A)({backgroundColor:(0,Oe.a)(e.palette[t].main,.62),borderColor:(0,Oe.a)(e.palette[t].main,.62)},e.applyStyles("dark",{backgroundColor:(0,Oe.e$)(e.palette[t].main,.5)}),e.applyStyles("dark",{borderColor:(0,Oe.e$)(e.palette[t].main,.5)})))}))]}}),fW=jo("span",{name:"MuiSlider",slot:"Thumb",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.thumb,t[`thumbColor${wi(r.color)}`],"medium"!==r.size&&t[`thumbSize${wi(r.size)}`]]}})(({theme:e})=>{var t;return{position:"absolute",width:20,height:20,boxSizing:"border-box",borderRadius:"50%",outline:0,backgroundColor:"currentColor",display:"flex",alignItems:"center",justifyContent:"center",transition:e.transitions.create(["box-shadow","left","bottom"],{duration:e.transitions.duration.shortest}),"&::before":{position:"absolute",content:'""',borderRadius:"inherit",width:"100%",height:"100%",boxShadow:(e.vars||e).shadows[2]},"&::after":{position:"absolute",content:'""',borderRadius:"50%",width:42,height:42,top:"50%",left:"50%",transform:"translate(-50%, -50%)"},[`&.${sW.disabled}`]:{"&:hover":{boxShadow:"none"}},variants:[{props:{size:"small"},style:{width:12,height:12,"&::before":{boxShadow:"none"}}},{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-50%, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 50%)"}},...Object.keys((null!=(t=e.vars)?t:e).palette).filter(t=>{var r;return(null!=(r=e.vars)?r:e).palette[t].main}).map(t=>({props:{color:t},style:{[`&:hover, &.${sW.focusVisible}`]:(0,Se.A)({},e.vars?{boxShadow:`0px 0px 0px 8px rgba(${e.vars.palette[t].mainChannel} / 0.16)`}:{boxShadow:`0px 0px 0px 8px ${(0,Oe.X4)(e.palette[t].main,.16)}`},{"@media (hover: none)":{boxShadow:"none"}}),[`&.${sW.active}`]:(0,Se.A)({},e.vars?{boxShadow:`0px 0px 0px 14px rgba(${e.vars.palette[t].mainChannel} / 0.16)}`}:{boxShadow:`0px 0px 0px 14px ${(0,Oe.X4)(e.palette[t].main,.16)}`})}}))]}}),mW=jo(function(t){const{children:r,className:n,value:o}=t,i=(e=>{const{open:t}=e;return{offset:ao(t&&sW.valueLabelOpen),circle:sW.valueLabelCircle,label:sW.valueLabelLabel}})(t);return r?e.cloneElement(r,{className:ao(r.props.className)},(0,Nt.jsxs)(e.Fragment,{children:[r.props.children,(0,Nt.jsx)("span",{className:ao(i.offset,n),"aria-hidden":!0,children:(0,Nt.jsx)("span",{className:i.circle,children:(0,Nt.jsx)("span",{className:i.label,children:o})})})]})):null},{name:"MuiSlider",slot:"ValueLabel",overridesResolver:(e,t)=>t.valueLabel})(({theme:e})=>(0,Se.A)({zIndex:1,whiteSpace:"nowrap"},e.typography.body2,{fontWeight:500,transition:e.transitions.create(["transform"],{duration:e.transitions.duration.shortest}),position:"absolute",backgroundColor:(e.vars||e).palette.grey[600],borderRadius:2,color:(e.vars||e).palette.common.white,display:"flex",alignItems:"center",justifyContent:"center",padding:"0.25rem 0.75rem",variants:[{props:{orientation:"horizontal"},style:{transform:"translateY(-100%) scale(0)",top:"-10px",transformOrigin:"bottom center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, 50%) rotate(45deg)",backgroundColor:"inherit",bottom:0,left:"50%"},[`&.${sW.valueLabelOpen}`]:{transform:"translateY(-100%) scale(1)"}}},{props:{orientation:"vertical"},style:{transform:"translateY(-50%) scale(0)",right:"30px",top:"50%",transformOrigin:"right center","&::before":{position:"absolute",content:'""',width:8,height:8,transform:"translate(-50%, -50%) rotate(45deg)",backgroundColor:"inherit",right:-8,top:"50%"},[`&.${sW.valueLabelOpen}`]:{transform:"translateY(-50%) scale(1)"}}},{props:{size:"small"},style:{fontSize:e.typography.pxToRem(12),padding:"0.25rem 0.5rem"}},{props:{orientation:"vertical",size:"small"},style:{right:"20px"}}]})),gW=jo("span",{name:"MuiSlider",slot:"Mark",shouldForwardProp:e=>So(e)&&"markActive"!==e,overridesResolver:(e,t)=>{const{markActive:r}=e;return[t.mark,r&&t.markActive]}})(({theme:e})=>({position:"absolute",width:2,height:2,borderRadius:1,backgroundColor:"currentColor",variants:[{props:{orientation:"horizontal"},style:{top:"50%",transform:"translate(-1px, -50%)"}},{props:{orientation:"vertical"},style:{left:"50%",transform:"translate(-50%, 1px)"}},{props:{markActive:!0},style:{backgroundColor:(e.vars||e).palette.background.paper,opacity:.8}}]})),bW=jo("span",{name:"MuiSlider",slot:"MarkLabel",shouldForwardProp:e=>So(e)&&"markLabelActive"!==e,overridesResolver:(e,t)=>t.markLabel})(({theme:e})=>(0,Se.A)({},e.typography.body2,{color:(e.vars||e).palette.text.secondary,position:"absolute",whiteSpace:"nowrap",variants:[{props:{orientation:"horizontal"},style:{top:30,transform:"translateX(-50%)","@media (pointer: coarse)":{top:40}}},{props:{orientation:"vertical"},style:{left:36,transform:"translateY(50%)","@media (pointer: coarse)":{left:44}}},{props:{markLabelActive:!0},style:{color:(e.vars||e).palette.text.primary}}]})),yW=({children:e})=>e,vW=e.forwardRef(function(t,r){var n,o,i,a,s,l,c,u,d,p,h,f,m,g,b,y,v,x,w,_,C,k,S,A;const j=cW({props:t,name:"MuiSlider"}),R=Wt(),{"aria-label":I,"aria-valuetext":M,"aria-labelledby":E,component:T="span",components:O={},componentsProps:P={},color:L="primary",classes:z,className:N,disableSwap:F=!1,disabled:D=!1,getAriaLabel:B,getAriaValueText:$,marks:H=!1,max:W=100,min:V=0,orientation:q="horizontal",shiftStep:U=10,size:Z="medium",step:G=1,scale:K=uW,slotProps:X,slots:J,track:Y="normal",valueLabelDisplay:Q="off",valueLabelFormat:ee=uW}=j,te=(0,Ae.A)(j,lW),re=(0,Se.A)({},j,{isRtl:R,max:W,min:V,classes:z,disabled:D,disableSwap:F,orientation:q,marks:H,color:L,size:Z,step:G,shiftStep:U,scale:K,track:Y,valueLabelDisplay:Q,valueLabelFormat:ee}),{axisProps:ne,getRootProps:oe,getHiddenInputProps:ie,getThumbProps:ae,open:se,active:le,axis:ce,focusedThumbIndex:ue,range:de,dragging:pe,marks:he,values:fe,trackOffset:me,trackLeap:ge,getThumbStyle:be}=iW((0,Se.A)({},re,{rootRef:r}));re.marked=he.length>0&&he.some(e=>e.label),re.dragging=pe,re.focusedThumbIndex=ue;const ye=(e=>{const{disabled:t,dragging:r,marked:n,orientation:o,track:i,classes:a,color:s,size:l}=e;return _o({root:["root",t&&"disabled",r&&"dragging",n&&"marked","vertical"===o&&"vertical","inverted"===i&&"trackInverted",!1===i&&"trackFalse",s&&`color${wi(s)}`,l&&`size${wi(l)}`],rail:["rail"],track:["track"],mark:["mark"],markActive:["markActive"],markLabel:["markLabel"],markLabelActive:["markLabelActive"],valueLabel:["valueLabel"],thumb:["thumb",t&&"disabled",l&&`thumbSize${wi(l)}`,s&&`thumbColor${wi(s)}`],active:["active"],disabled:["disabled"],focusVisible:["focusVisible"]},aW,a)})(re),ve=null!=(n=null!=(o=null==J?void 0:J.root)?o:O.Root)?n:dW,xe=null!=(i=null!=(a=null==J?void 0:J.rail)?a:O.Rail)?i:pW,we=null!=(s=null!=(l=null==J?void 0:J.track)?l:O.Track)?s:hW,_e=null!=(c=null!=(u=null==J?void 0:J.thumb)?u:O.Thumb)?c:fW,Ce=null!=(d=null!=(p=null==J?void 0:J.valueLabel)?p:O.ValueLabel)?d:mW,ke=null!=(h=null!=(f=null==J?void 0:J.mark)?f:O.Mark)?h:gW,je=null!=(m=null!=(g=null==J?void 0:J.markLabel)?g:O.MarkLabel)?m:bW,Re=null!=(b=null!=(y=null==J?void 0:J.input)?y:O.Input)?b:"input",Ie=null!=(v=null==X?void 0:X.root)?v:P.root,Me=null!=(x=null==X?void 0:X.rail)?x:P.rail,Ee=null!=(w=null==X?void 0:X.track)?w:P.track,Te=null!=(_=null==X?void 0:X.thumb)?_:P.thumb,Oe=null!=(C=null==X?void 0:X.valueLabel)?C:P.valueLabel,Pe=null!=(k=null==X?void 0:X.mark)?k:P.mark,Le=null!=(S=null==X?void 0:X.markLabel)?S:P.markLabel,ze=null!=(A=null==X?void 0:X.input)?A:P.input,Ne=rs({elementType:ve,getSlotProps:oe,externalSlotProps:Ie,externalForwardedProps:te,additionalProps:(0,Se.A)({},(qe=ve,(!qe||!Fi(qe))&&{as:T})),ownerState:(0,Se.A)({},re,null==Ie?void 0:Ie.ownerState),className:[ye.root,N]}),Fe=rs({elementType:xe,externalSlotProps:Me,ownerState:re,className:ye.rail}),De=rs({elementType:we,externalSlotProps:Ee,additionalProps:{style:(0,Se.A)({},ne[ce].offset(me),ne[ce].leap(ge))},ownerState:(0,Se.A)({},re,null==Ee?void 0:Ee.ownerState),className:ye.track}),Be=rs({elementType:_e,getSlotProps:ae,externalSlotProps:Te,ownerState:(0,Se.A)({},re,null==Te?void 0:Te.ownerState),className:ye.thumb}),$e=rs({elementType:Ce,externalSlotProps:Oe,ownerState:(0,Se.A)({},re,null==Oe?void 0:Oe.ownerState),className:ye.valueLabel}),He=rs({elementType:ke,externalSlotProps:Pe,ownerState:re,className:ye.mark}),We=rs({elementType:je,externalSlotProps:Le,ownerState:re,className:ye.markLabel}),Ve=rs({elementType:Re,getSlotProps:ie,externalSlotProps:ze,ownerState:re});var qe;return(0,Nt.jsxs)(ve,(0,Se.A)({},Ne,{children:[(0,Nt.jsx)(xe,(0,Se.A)({},Fe)),(0,Nt.jsx)(we,(0,Se.A)({},De)),he.filter(e=>e.value>=V&&e.value<=W).map((t,r)=>{const n=JH(t.value,V,W),o=ne[ce].offset(n);let i;return i=!1===Y?-1!==fe.indexOf(t.value):"normal"===Y&&(de?t.value>=fe[0]&&t.value<=fe[fe.length-1]:t.value<=fe[0])||"inverted"===Y&&(de?t.value<=fe[0]||t.value>=fe[fe.length-1]:t.value>=fe[0]),(0,Nt.jsxs)(e.Fragment,{children:[(0,Nt.jsx)(ke,(0,Se.A)({"data-index":r},He,!Fi(ke)&&{markActive:i},{style:(0,Se.A)({},o,He.style),className:ao(He.className,i&&ye.markActive)})),null!=t.label?(0,Nt.jsx)(je,(0,Se.A)({"aria-hidden":!0,"data-index":r},We,!Fi(je)&&{markLabelActive:i},{style:(0,Se.A)({},o,We.style),className:ao(ye.markLabel,We.className,i&&ye.markLabelActive),children:t.label})):null]},r)}),fe.map((e,t)=>{const r=JH(e,V,W),n=ne[ce].offset(r),o="off"===Q?yW:Ce;return(0,Nt.jsx)(o,(0,Se.A)({},!Fi(o)&&{valueLabelFormat:ee,valueLabelDisplay:Q,value:"function"==typeof ee?ee(K(e),t):ee,index:t,open:se===t||le===t||"on"===Q,disabled:D},$e,{children:(0,Nt.jsx)(_e,(0,Se.A)({"data-index":t},Be,{className:ao(ye.thumb,Be.className,le===t&&ye.active,ue===t&&ye.focusVisible),style:(0,Se.A)({},n,be(t),Be.style),children:(0,Nt.jsx)(Re,(0,Se.A)({"data-index":t,"aria-label":B?B(t):I,"aria-valuenow":K(e),"aria-labelledby":E,"aria-valuetext":$?$(K(e),t):M,value:fe[t]},Ve))}))}),t)})]}))}),xW=vW;var wW=t().forwardRef((e,r)=>t().createElement(xW,{...e,ref:r}));function _W(t){if("undefined"==typeof window)return t;const r=e.useRef(null);return e.useLayoutEffect(()=>{r.current=t}),e.useCallback((...e)=>{var t;null===(t=r.current)||void 0===t||t.call(r,...e)},[])}const CW={},kW={isOpen:!1,setAnchorElUsed:!1,anchorEl:void 0,anchorPosition:void 0,hovered:!1,focused:!1,_openEventType:null,_childPopupState:null,_deferNextOpen:!1,_deferNextClose:!1};function SW({isOpen:e,popupId:t,variant:r}){return{..."popover"===r?{"aria-haspopup":!0,"aria-controls":e&&null!=t?t:void 0}:"popper"===r?{"aria-describedby":e&&null!=t?t:void 0}:void 0}}function AW({isOpen:e,anchorEl:t,anchorPosition:r,close:n,popupId:o,onMouseLeave:i,disableAutoFocus:a,_openEventType:s}){return{id:o,anchorEl:t,anchorPosition:r,anchorReference:"contextmenu"===s?"anchorPosition":"anchorEl",open:e,onClose:n,onMouseLeave:i,...a&&{disableAutoFocus:!0,disableEnforceFocus:!0,disableRestoreFocus:!0}}}function jW(e,t){const{anchorEl:r,_childPopupState:n}=t;return RW(r,e)||RW(function(e,{popupId:t}){if(!t)return null;const r="function"==typeof e.getRootNode?e.getRootNode():document;return"function"==typeof r.getElementById?r.getElementById(t):null}(e,t),e)||null!=n&&jW(e,n)}function RW(e,t){if(!e)return!1;for(;t;){if(t===e)return!0;t=t.parentElement}return!1}let IW=0;var MW=({popupId:t,...r})=>function({parentPopupState:t,popupId:r,variant:n,disableAutoFocus:o}){const i=(0,e.useRef)(!0);(0,e.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[]);const[a,s]=(0,e.useState)(kW),l=(0,e.useCallback)(e=>{i.current&&s(e)},[]),c=(0,e.useCallback)(e=>l(t=>({...t,setAnchorElUsed:!0,anchorEl:e??void 0})),[]),u=_W(e=>(a.isOpen?h(e):d(e),a)),d=_W(e=>{const r=e instanceof Element?void 0:e,o=e instanceof Element?e:(null==e?void 0:e.currentTarget)instanceof Element?e.currentTarget:void 0;if("touchstart"===(null==r?void 0:r.type))return void l(e=>({...e,_deferNextOpen:!0}));const i=null==r?void 0:r.clientX,a=null==r?void 0:r.clientY,s="number"==typeof i&&"number"==typeof a?{left:i,top:a}:void 0,c=i=>{if(e||i.setAnchorElUsed||"dialog"===n||CW.missingEventOrAnchorEl||(CW.missingEventOrAnchorEl=!0,console.error("[material-ui-popup-state] WARNING","eventOrAnchorEl should be defined if setAnchorEl is not used")),t){if(!t.isOpen)return i;setTimeout(()=>t._setChildPopupState(y))}const a={...i,isOpen:!0,anchorPosition:s,hovered:"mouseover"===(null==r?void 0:r.type)||i.hovered,focused:"focus"===(null==r?void 0:r.type)||i.focused,_openEventType:null==r?void 0:r.type};return null!=r&&r.currentTarget?i.setAnchorElUsed||(a.anchorEl=null==r?void 0:r.currentTarget):o&&(a.anchorEl=o),a};l(e=>e._deferNextOpen?(setTimeout(()=>l(c),0),{...e,_deferNextOpen:!1}):c(e))}),p=e=>{const{_childPopupState:r}=e;return setTimeout(()=>{null==r||r.close(),null==t||t._setChildPopupState(null)}),{...e,isOpen:!1,hovered:!1,focused:!1}},h=_W(e=>{const t=e instanceof Element?void 0:e;"touchstart"!==(null==t?void 0:t.type)?l(e=>e._deferNextClose?(setTimeout(()=>l(p),0),{...e,_deferNextClose:!1}):p(e)):l(e=>({...e,_deferNextClose:!0}))}),f=(0,e.useCallback)((e,t)=>{e?d(t):h(t)},[]),m=_W(e=>{const{relatedTarget:t}=e;l(e=>!e.hovered||t instanceof Element&&jW(t,y)?e:e.focused?{...e,hovered:!1}:p(e))}),g=_W(e=>{if(!e)return;const{relatedTarget:t}=e;l(e=>!e.focused||t instanceof Element&&jW(t,y)?e:e.hovered?{...e,focused:!1}:p(e))}),b=(0,e.useCallback)(e=>l(t=>({...t,_childPopupState:e})),[]),y={...a,setAnchorEl:c,popupId:r,variant:n,open:d,close:h,toggle:u,setOpen:f,onBlur:g,onMouseLeave:m,disableAutoFocus:o??Boolean(a.hovered||a.focused),_setChildPopupState:b};return y}({...r,popupId:(0,e.useRef)(t||"eui-popup-"+IW++).current});function EW(){return(EW=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function TW(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)t.indexOf(r=i[n])>=0||(o[r]=e[r]);return o}function OW(t){var r=(0,e.useRef)(t),n=(0,e.useRef)(function(e){r.current&&r.current(e)});return r.current=t,n.current}var PW=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e<t?t:e},LW=function(e){return"touches"in e},zW=function(e){return e&&e.ownerDocument.defaultView||self},NW=function(e,t,r){var n=e.getBoundingClientRect(),o=LW(t)?function(e,t){for(var r=0;r<e.length;r++)if(e[r].identifier===t)return e[r];return e[0]}(t.touches,r):t;return{left:PW((o.pageX-(n.left+zW(e).pageXOffset))/n.width),top:PW((o.pageY-(n.top+zW(e).pageYOffset))/n.height)}},FW=function(e){!LW(e)&&e.preventDefault()},DW=e.memo(function(t){var r=t.onMove,n=t.onKey,o=TW(t,["onMove","onKey"]),i=(0,e.useRef)(null),a=OW(r),s=OW(n),l=(0,e.useRef)(null),c=(0,e.useRef)(!1),u=(0,e.useMemo)(function(){var e=function(e){FW(e),(LW(e)?e.touches.length>0:e.buttons>0)&&i.current?a(NW(i.current,e,l.current)):r(!1)},t=function(){return r(!1)};function r(r){var n=c.current,o=zW(i.current),a=r?o.addEventListener:o.removeEventListener;a(n?"touchmove":"mousemove",e),a(n?"touchend":"mouseup",t)}return[function(e){var t=e.nativeEvent,n=i.current;if(n&&(FW(t),!function(e,t){return t&&!LW(e)}(t,c.current)&&n)){if(LW(t)){c.current=!0;var o=t.changedTouches||[];o.length&&(l.current=o[0].identifier)}n.focus(),a(NW(n,t,l.current)),r(!0)}},function(e){var t=e.which||e.keyCode;t<37||t>40||(e.preventDefault(),s({left:39===t?.05:37===t?-.05:0,top:40===t?.05:38===t?-.05:0}))},r]},[s,a]),d=u[0],p=u[1],h=u[2];return(0,e.useEffect)(function(){return h},[h]),e.createElement("div",EW({},o,{onTouchStart:d,onMouseDown:d,className:"react-colorful__interactive",ref:i,onKeyDown:p,tabIndex:0,role:"slider"}))}),BW=function(e){return e.filter(Boolean).join(" ")},$W=function(t){var r=t.color,n=t.left,o=t.top,i=void 0===o?.5:o,a=BW(["react-colorful__pointer",t.className]);return e.createElement("div",{className:a,style:{top:100*i+"%",left:100*n+"%"}},e.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:r}}))},HW=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r},WW={grad:.9,turn:360,rad:360/(2*Math.PI)},VW=function(e){return iV(qW(e))},qW=function(e){return"#"===e[0]&&(e=e.substring(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?HW(parseInt(e[3]+e[3],16)/255,2):1}:{r:parseInt(e.substring(0,2),16),g:parseInt(e.substring(2,4),16),b:parseInt(e.substring(4,6),16),a:8===e.length?HW(parseInt(e.substring(6,8),16)/255,2):1}},UW=function(e,t){return void 0===t&&(t="deg"),Number(e)*(WW[t]||1)},ZW=function(e){var t=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?KW({h:UW(t[1],t[2]),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)}):{h:0,s:0,v:0,a:1}},GW=ZW,KW=function(e){var t=e.s,r=e.l;return{h:e.h,s:(t*=(r<50?r:100-r)/100)>0?2*t/(r+t)*100:0,v:r+t,a:e.a}},XW=function(e){return oV(eV(e))},JW=function(e){var t=e.s,r=e.v,n=e.a,o=(200-t)*r/100;return{h:HW(e.h),s:HW(o>0&&o<200?t*r/100/(o<=100?o:200-o)*100:0),l:HW(o/2),a:HW(n,2)}},YW=function(e){var t=JW(e);return"hsl("+t.h+", "+t.s+"%, "+t.l+"%)"},QW=function(e){var t=JW(e);return"hsla("+t.h+", "+t.s+"%, "+t.l+"%, "+t.a+")"},eV=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),s=n*(1-(t-i)*r),l=n*(1-(1-t+i)*r),c=i%6;return{r:HW(255*[n,s,a,a,l,n][c]),g:HW(255*[l,n,n,s,a,a][c]),b:HW(255*[a,a,l,n,n,s][c]),a:HW(o,2)}},tV=function(e){var t=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(e);return t?iV({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):{h:0,s:0,v:0,a:1}},rV=tV,nV=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},oV=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=o<1?nV(HW(255*o)):"";return"#"+nV(t)+nV(r)+nV(n)+i},iV=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),s=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:HW(60*(s<0?s+6:s)),s:HW(i?a/i*100:0),v:HW(i/255*100),a:o}},aV=e.memo(function(t){var r=t.hue,n=t.onChange,o=BW(["react-colorful__hue",t.className]);return e.createElement("div",{className:o},e.createElement(DW,{onMove:function(e){n({h:360*e.left})},onKey:function(e){n({h:PW(r+360*e.left,0,360)})},"aria-label":"Hue","aria-valuenow":HW(r),"aria-valuemax":"360","aria-valuemin":"0"},e.createElement($W,{className:"react-colorful__hue-pointer",left:r/360,color:YW({h:r,s:100,v:100,a:1})})))}),sV=e.memo(function(t){var r=t.hsva,n=t.onChange,o={backgroundColor:YW({h:r.h,s:100,v:100,a:1})};return e.createElement("div",{className:"react-colorful__saturation",style:o},e.createElement(DW,{onMove:function(e){n({s:100*e.left,v:100-100*e.top})},onKey:function(e){n({s:PW(r.s+100*e.left,0,100),v:PW(r.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+HW(r.s)+"%, Brightness "+HW(r.v)+"%"},e.createElement($W,{className:"react-colorful__saturation-pointer",top:1-r.v/100,left:r.s/100,color:YW(r)})))}),lV=function(e,t){if(e===t)return!0;for(var r in e)if(e[r]!==t[r])return!1;return!0},cV=function(e,t){return e.replace(/\s/g,"")===t.replace(/\s/g,"")},uV=function(e,t){return e.toLowerCase()===t.toLowerCase()||lV(qW(e),qW(t))};function dV(t,r,n){var o=OW(n),i=(0,e.useState)(function(){return t.toHsva(r)}),a=i[0],s=i[1],l=(0,e.useRef)({color:r,hsva:a});(0,e.useEffect)(function(){if(!t.equal(r,l.current.color)){var e=t.toHsva(r);l.current={hsva:e,color:r},s(e)}},[r,t]),(0,e.useEffect)(function(){var e;lV(a,l.current.hsva)||t.equal(e=t.fromHsva(a),l.current.color)||(l.current={hsva:a,color:e},o(e))},[a,t,o]);var c=(0,e.useCallback)(function(e){s(function(t){return Object.assign({},t,e)})},[]);return[a,c]}var pV="undefined"!=typeof window?e.useLayoutEffect:e.useEffect,hV=new Map,fV=function(e){pV(function(){var t=e.current?e.current.ownerDocument:document;if(void 0!==t&&!hV.has(t)){var n=t.createElement("style");n.innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill-opacity=".05"><path d="M8 0h8v8H8zM0 8h8v8H0z"/></svg>\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}',hV.set(t,n);var o=r.nc;o&&n.setAttribute("nonce",o),t.head.appendChild(n)}},[])},mV=function(t){var r=t.className,n=t.colorModel,o=t.color,i=void 0===o?n.defaultColor:o,a=t.onChange,s=TW(t,["className","colorModel","color","onChange"]),l=(0,e.useRef)(null);fV(l);var c=dV(n,i,a),u=c[0],d=c[1],p=BW(["react-colorful",r]);return e.createElement("div",EW({},s,{ref:l,className:p}),e.createElement(sV,{hsva:u,onChange:d}),e.createElement(aV,{hue:u.h,onChange:d,className:"react-colorful__last-control"}))},gV={defaultColor:"000",toHsva:VW,fromHsva:function(e){return XW({h:e.h,s:e.s,v:e.v,a:1})},equal:uV},bV=function(t){var r=t.className,n=t.hsva,o=t.onChange,i={backgroundImage:"linear-gradient(90deg, "+QW(Object.assign({},n,{a:0}))+", "+QW(Object.assign({},n,{a:1}))+")"},a=BW(["react-colorful__alpha",r]),s=HW(100*n.a);return e.createElement("div",{className:a},e.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),e.createElement(DW,{onMove:function(e){o({a:e.left})},onKey:function(e){o({a:PW(n.a+e.left)})},"aria-label":"Alpha","aria-valuetext":s+"%","aria-valuenow":s,"aria-valuemin":"0","aria-valuemax":"100"},e.createElement($W,{className:"react-colorful__alpha-pointer",left:n.a,color:QW(n)})))},yV=function(t){var r=t.className,n=t.colorModel,o=t.color,i=void 0===o?n.defaultColor:o,a=t.onChange,s=TW(t,["className","colorModel","color","onChange"]),l=(0,e.useRef)(null);fV(l);var c=dV(n,i,a),u=c[0],d=c[1],p=BW(["react-colorful",r]);return e.createElement("div",EW({},s,{ref:l,className:p}),e.createElement(sV,{hsva:u,onChange:d}),e.createElement(aV,{hue:u.h,onChange:d}),e.createElement(bV,{hsva:u,onChange:d,className:"react-colorful__last-control"}))},vV={defaultColor:"0001",toHsva:VW,fromHsva:XW,equal:uV},xV={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ZW,fromHsva:QW,equal:cV},wV={defaultColor:"hsl(0, 0%, 0%)",toHsva:GW,fromHsva:YW,equal:cV},_V={defaultColor:"rgba(0, 0, 0, 1)",toHsva:tV,fromHsva:function(e){var t=eV(e);return"rgba("+t.r+", "+t.g+", "+t.b+", "+t.a+")"},equal:cV},CV={defaultColor:"rgb(0, 0, 0)",toHsva:rV,fromHsva:function(e){var t=eV(e);return"rgb("+t.r+", "+t.g+", "+t.b+")"},equal:cV};const kV=Ma("div")(({theme:e})=>({"& .react-colorful":{width:"100%",height:"auto",gap:e.spacing(2),"& .react-colorful__saturation":{borderRadius:0,height:200},"& .react-colorful__hue, & .react-colorful__alpha":{borderRadius:5*e.shape.borderRadius,height:"12px"},"& .react-colorful__pointer":{width:"24px",height:"24px"}}})),SV={hex:function(t){return e.createElement(mV,EW({},t,{colorModel:gV}))},rgb:function(t){return e.createElement(mV,EW({},t,{colorModel:CV}))},hsl:function(t){return e.createElement(mV,EW({},t,{colorModel:wV}))}},AV={hex:function(t){return e.createElement(yV,EW({},t,{colorModel:vV}))},rgb:function(t){return e.createElement(yV,EW({},t,{colorModel:_V}))},hsl:function(t){return e.createElement(yV,EW({},t,{colorModel:xV}))}};var jV=t().forwardRef((e,r)=>{const{value:n,format:o,onChange:i,disableOpacity:a=!1,...s}=e,l=a?SV[o]:AV[o];return t().createElement(kV,{...s,ref:r},t().createElement(l,{color:n,onChange:e=>{const t="hex"===o&&e.startsWith("#Na")?"":e;i(t)}}))}),RV=t().forwardRef((e,r)=>t().createElement(dz,{...e,ref:r})),IV={grad:.9,turn:360,rad:360/(2*Math.PI)},MV=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},EV=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=Math.pow(10,t)),Math.round(r*e)/r+0},TV=function(e,t,r){return void 0===t&&(t=0),void 0===r&&(r=1),e>r?r:e>t?e:t},OV=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},PV=function(e){return{r:TV(e.r,0,255),g:TV(e.g,0,255),b:TV(e.b,0,255),a:TV(e.a)}},LV=function(e){return{r:EV(e.r),g:EV(e.g),b:EV(e.b),a:EV(e.a,3)}},zV=/^#([0-9a-f]{3,8})$/i,NV=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},FV=function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=Math.max(t,r,n),a=i-Math.min(t,r,n),s=a?i===t?(r-n)/a:i===r?2+(n-t)/a:4+(t-r)/a:0;return{h:60*(s<0?s+6:s),s:i?a/i*100:0,v:i/255*100,a:o}},DV=function(e){var t=e.h,r=e.s,n=e.v,o=e.a;t=t/360*6,r/=100,n/=100;var i=Math.floor(t),a=n*(1-r),s=n*(1-(t-i)*r),l=n*(1-(1-t+i)*r),c=i%6;return{r:255*[n,s,a,a,l,n][c],g:255*[l,n,n,s,a,a][c],b:255*[a,a,l,n,n,s][c],a:o}},BV=function(e){return{h:OV(e.h),s:TV(e.s,0,100),l:TV(e.l,0,100),a:TV(e.a)}},$V=function(e){return{h:EV(e.h),s:EV(e.s),l:EV(e.l),a:EV(e.a,3)}},HV=function(e){return DV((r=(t=e).s,{h:t.h,s:(r*=((n=t.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:t.a}));var t,r,n},WV=function(e){return{h:(t=FV(e)).h,s:(o=(200-(r=t.s))*(n=t.v)/100)>0&&o<200?r*n/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,r,n,o},VV=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,qV=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,UV=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,ZV=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,GV={string:[[function(e){var t=zV.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?EV(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?EV(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=UV.exec(e)||ZV.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:PV({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=VV.exec(e)||qV.exec(e);if(!t)return null;var r,n,o=BV({h:(r=t[1],n=t[2],void 0===n&&(n="deg"),Number(r)*(IV[n]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return HV(o)},"hsl"]],object:[[function(e){var t=e.r,r=e.g,n=e.b,o=e.a,i=void 0===o?1:o;return MV(t)&&MV(r)&&MV(n)?PV({r:Number(t),g:Number(r),b:Number(n),a:Number(i)}):null},"rgb"],[function(e){var t=e.h,r=e.s,n=e.l,o=e.a,i=void 0===o?1:o;if(!MV(t)||!MV(r)||!MV(n))return null;var a=BV({h:Number(t),s:Number(r),l:Number(n),a:Number(i)});return HV(a)},"hsl"],[function(e){var t=e.h,r=e.s,n=e.v,o=e.a,i=void 0===o?1:o;if(!MV(t)||!MV(r)||!MV(n))return null;var a=function(e){return{h:OV(e.h),s:TV(e.s,0,100),v:TV(e.v,0,100),a:TV(e.a)}}({h:Number(t),s:Number(r),v:Number(n),a:Number(i)});return DV(a)},"hsv"]]},KV=function(e,t){for(var r=0;r<t.length;r++){var n=t[r][0](e);if(n)return[n,t[r][1]]}return[null,void 0]},XV=function(e){return"string"==typeof e?KV(e.trim(),GV.string):"object"==typeof e&&null!==e?KV(e,GV.object):[null,void 0]},JV=function(e,t){var r=WV(e);return{h:r.h,s:TV(r.s+100*t,0,100),l:r.l,a:r.a}},YV=function(e){return(299*e.r+587*e.g+114*e.b)/1e3/255},QV=function(e,t){var r=WV(e);return{h:r.h,s:r.s,l:TV(r.l+100*t,0,100),a:r.a}},eq=function(){function e(e){this.parsed=XV(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return e.prototype.isValid=function(){return null!==this.parsed},e.prototype.brightness=function(){return EV(YV(this.rgba),2)},e.prototype.isDark=function(){return YV(this.rgba)<.5},e.prototype.isLight=function(){return YV(this.rgba)>=.5},e.prototype.toHex=function(){return t=(e=LV(this.rgba)).r,r=e.g,n=e.b,i=(o=e.a)<1?NV(EV(255*o)):"","#"+NV(t)+NV(r)+NV(n)+i;var e,t,r,n,o,i},e.prototype.toRgb=function(){return LV(this.rgba)},e.prototype.toRgbString=function(){return t=(e=LV(this.rgba)).r,r=e.g,n=e.b,(o=e.a)<1?"rgba("+t+", "+r+", "+n+", "+o+")":"rgb("+t+", "+r+", "+n+")";var e,t,r,n,o},e.prototype.toHsl=function(){return $V(WV(this.rgba))},e.prototype.toHslString=function(){return t=(e=$V(WV(this.rgba))).h,r=e.s,n=e.l,(o=e.a)<1?"hsla("+t+", "+r+"%, "+n+"%, "+o+")":"hsl("+t+", "+r+"%, "+n+"%)";var e,t,r,n,o},e.prototype.toHsv=function(){return e=FV(this.rgba),{h:EV(e.h),s:EV(e.s),v:EV(e.v),a:EV(e.a,3)};var e},e.prototype.invert=function(){return tq({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),tq(JV(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),tq(JV(this.rgba,-e))},e.prototype.grayscale=function(){return tq(JV(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),tq(QV(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),tq(QV(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?tq({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):EV(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=WV(this.rgba);return"number"==typeof e?tq({h:e,s:t.s,l:t.l,a:t.a}):EV(t.h)},e.prototype.isEqual=function(e){return this.toHex()===tq(e).toHex()},e}(),tq=function(e){return e instanceof eq?e:new eq(e)};const rq=Ma(RV)(()=>({"& .MuiInputBase-input":{"-moz-appearance":"textfield","&::-webkit-outer-spin-button, &::-webkit-inner-spin-button":{margin:0,"-webkit-appearance":"none"}}}));var nq=t().forwardRef((e,r)=>{const{value:n,onChange:o,min:i,max:a,onBlur:s,...l}=e;return t().createElement(rq,{type:"number",...l,ref:r,value:n,onChange:e=>{const t=parseFloat(e.target.value);o(t)},onBlur:e=>{const t=((e,{min:t,max:r}={})=>"number"!=typeof(e="string"==typeof e?parseFloat(e):e)||isNaN(e)?0:(void 0!==r&&(e=Math.min(e,r)),void 0!==t&&(e=Math.max(e,t)),e))(e.target.value,{min:i,max:a});o(t),s?.(e)}})}),oq=({value:e,onChange:r,disableOpacity:n=!1,...o})=>{const{r:i,g:a,b:s,a:l}=e;return t().createElement(vo,{display:"flex",gap:.75},t().createElement(nq,{...o,min:0,max:255,value:i,onChange:t=>r({...e,r:t})}),t().createElement(nq,{...o,min:0,max:255,value:a,onChange:t=>r({...e,g:t})}),t().createElement(nq,{...o,min:0,max:255,value:s,onChange:t=>r({...e,b:t})}),!n&&t().createElement(nq,{...o,min:0,max:100,value:Math.round(100*l),onChange:t=>r({...e,a:t/100}),endAdornment:t().createElement(jF,{disableTypography:!0,position:"end"},"%")}))},iq=()=>aq;function aq(e,t,r){let n=tq(e);return void 0!==r&&r>=0&&r<=1&&(n=n.alpha(r)),"rgb"===t?n.toRgbString():"hsl"===t?n.toHslString():n.toHex()}var sq=t().forwardRef((r,n)=>{const{value:o,onChange:i,disableOpacity:a=!1,...s}=r,l=iq(),c=(0,e.useRef)(o);return t().createElement(RV,{...s,ref:n,value:o,onChange:e=>{const t=e.target.value.replace(/^#+/g,"");i("#"+t)},onFocus:e=>{c.current=e.target.value,s.onFocus?.(e)},onBlur:e=>{(e=>{const t=e.target.value;if("string"!=typeof(r=t)||!tq(r).isValid())return void i(c.current);var r;if(a&&function(e){return 1!==tq(e).alpha()}(t))return c.current=l(t,"hex",1),void i(c.current);c.current=t})(e),s.onBlur?.(e)}})}),lq=t().forwardRef((e,r)=>{const{value:n,onChange:o,...i}=e;return t().createElement(RV,{ref:r,sx:{width:"57px"},...i,value:(100*n).toFixed(),onChange:e=>o(function(e){if(!e)return 0;const t=parseInt(e);if(isNaN(t))return 1;const r=t/100;return r>1?1:r<0?0:r}(e.target.value)),endAdornment:t().createElement(jF,{disableTypography:!0,position:"end"},"%")})}),cq=({value:e,onChange:r,disableOpacity:n=!1,...o})=>{const{h:i,s:a,l:s,a:l}=e;return t().createElement(vo,{display:"flex",gap:.75},t().createElement(nq,{...o,min:0,max:360,value:i,onChange:t=>r({...e,h:t})}),t().createElement(nq,{...o,min:0,max:100,value:a,onChange:t=>r({...e,s:t})}),t().createElement(nq,{...o,min:0,max:100,value:s,onChange:t=>r({...e,l:t})}),!n&&t().createElement(nq,{...o,min:0,max:100,value:Math.round(100*l),onChange:t=>r({...e,a:t/100}),endAdornment:t().createElement(jF,{disableTypography:!0,position:"end"},"%")}))};const uq=["hex","rgb","hsl"],dq=new Set(uq);var pq=(e,t=uq)=>{const r=tq(e),n=function(e){return XV(e)[1]}(e)||t[0],o=dq.has(n)?n:uq[0];return{format:o,colorData:r,color:hq(r,o),getAlpha:()=>r.alpha(),isValid:()=>r.isValid(),toHsl:()=>r.toHsl(),toRgb:()=>r.toRgb(),toHex:()=>r.toHex()}};function hq(e,t){return"rgb"===t?e.toRgbString():"hsl"===t?e.toHslString():e.toHex()}const fq=Ma("div")(({theme:e})=>({boxSizing:"border-box",display:"flex",flexDirection:"column",gap:e.spacing(2),padding:e.spacing(2),width:305})),mq=["hex","rgb","hsl"],gq={hideInputFields:!1,disableOpacity:!1,formats:mq},bq=Ma(Ez)(({theme:e})=>({...e.typography.caption})),yq=t().forwardRef((e,r)=>{const{value:n,onChange:o,hideInputFields:i,disableOpacity:a=!1,formats:s=mq,...l}={...gq,...e},c=function(e){if(0===e.length)return["hex"];const t=mq.length;return e.slice(0,t)}(s),{format:u,getAlpha:d,toRgb:p,toHsl:h}=pq(n,c),f=iq(),m=c.length>1,g=new Set(c);return t().createElement(fq,{...l,ref:r},t().createElement(jV,{value:n,format:u,onChange:o,disableOpacity:a}),!i&&t().createElement(vo,{display:"flex",gap:1},m&&t().createElement(_z,{size:"tiny",value:u,onChange:e=>{const t=e.target.value,r=f(n,t);o(r)}},g.has("hex")&&t().createElement(bq,{value:"hex"},"HEX"),g.has("rgb")&&t().createElement(bq,{value:"rgb"},"RGB"),g.has("hsl")&&t().createElement(bq,{value:"hsl"},"HSL")),"hex"===u&&t().createElement(t().Fragment,null,t().createElement(sq,{size:"tiny",value:n,onChange:o,disableOpacity:a,sx:{flexGrow:1}}),!a&&t().createElement(lq,{size:"tiny",value:d(),onChange:e=>{const t=f(n,u,e);o(t)}})),"rgb"===u&&t().createElement(oq,{size:"tiny",value:p(),disableOpacity:a,onChange:e=>{const t=f(e,"rgb");o(t)}}),"hsl"===u&&t().createElement(cq,{size:"tiny",value:h(),disableOpacity:a,onChange:e=>{const t=f(e,"hsl");o(t)}})))});yq.defaultProps=gq;var vq=yq;const xq=Ma("span")(({theme:e,ownerState:t})=>{const{value:r,size:n,shape:o}=t,i={tiny:26,small:38,medium:54,inherit:"1em"}[n||"medium"],a=[];if(r){const e=/[a-z]-gradient\(/.test(r)?r:`linear-gradient(${r}, ${r})`;a.push(e)}a.push('url(\'data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" width="6" height="6" fill-opacity=".45"><path d="M3 0h3v3H3zM0 3h3v3H0z"/></svg>\')');const s=a.join(", ");return{display:"inline-flex",flexShrink:0,flexGrow:0,borderRadius:"circular"===o?"50%":e.shape.borderRadius*e.shape.__unstableBorderRadiusMultipliers[2],fontSize:"inherit"===n?"inherit":void 0,width:i,height:i,minWidth:"initial",outline:`1px solid ${e.palette.action.disabled}`,border:0,padding:0,backgroundColor:e.palette.common.white,backgroundPosition:"center",backgroundImage:s,"button&":{"&:not(:disabled)":{cursor:"pointer"},"&:not(:disabled):hover, &:focus":{outlineWidth:2,outlineColor:e.palette.text.primary}}}}),wq={component:"span",size:"medium"},_q=t().forwardRef((e,r)=>{const{value:n,size:o,component:i,shape:a,...s}={...wq,...e},l={value:n,size:o,shape:a};return t().createElement(xq,{...s,as:i,ref:r,ownerState:l})});_q.defaultProps=wq;var Cq=_q;const kq={disablePortal:!0,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"}},Sq=t().forwardRef((e,r)=>{const{children:n,...o}={...kq,...e};return t().createElement(hN,{...o,ref:r},n)});Sq.defaultProps=kq;var Aq=Sq;const jq={hideInputFields:!1,disableOpacity:!1},Rq=t().forwardRef((e,r)=>{const{size:n,anchorEl:o,anchorOrigin:i,anchorReference:a,anchorPosition:s,transformOrigin:l,hideInputFields:c,slotProps:u={},value:d="",onChange:p,disabled:h,indicatorShape:f,disableOpacity:m,formats:g}={...jq,...e},b=MW({variant:"popover",popupId:"eui-color-picker-popover"}),y=Object.entries({anchorEl:o,anchorOrigin:i,anchorReference:a,anchorPosition:s,transformOrigin:l}).reduce((e,[t,r])=>r?{...e,[t]:r}:e,{});return t().createElement(t().Fragment,null,t().createElement(Cq,{ref:r,size:n,value:d,component:"button",disabled:h,shape:f,...(v=b,{...SW(v),onClick:v.open,onTouchStart:v.open}),...u.colorIndicator}),t().createElement(Aq,{...AW(b),...y,...u.popover},t().createElement(vq,{value:d,onChange:p,hideInputFields:c,disableOpacity:m,formats:g,...u.colorBox})));var v});Rq.defaultProps=jq;var Iq=Rq;const Mq=e=>{e=(e=>(3===(e=e.replace(/^#/,"")).length&&(e=e.split("").map(e=>e+e).join("")),`#${e}`))(e).replace(/^#/,"");const t=8===e.length,r=parseInt(e.slice(0,2),16)/255,n=parseInt(e.slice(2,4),16)/255,o=parseInt(e.slice(4,6),16)/255,i=t?parseInt(e.slice(6,8),16)/255:1,a=Math.max(r,n,o),s=Math.min(r,n,o);let l,c;const u=(a+s)/2;if(a===s)l=c=0;else{const e=a-s;switch(c=u>.5?e/(2-a-s):e/(a+s),a){case r:l=(n-o)/e+(n<o?6:0);break;case n:l=(o-r)/e+2;break;case o:l=(r-n)/e+4}l*=60}return{h:Math.round(l),s:Math.round(100*c),l:Math.round(100*u),a:parseFloat(i.toFixed(2))}},Eq=({title:e,color:t,initialColor:r,setColor:n,area:o})=>{const[i,a]=(0,Vn.useState)(r),s=Mq(t);(0,Vn.useEffect)(()=>{a(r)},[r]);const l=(e,t=null)=>{Ww(null!=t?t:Vw.contrastColorChanged,{area:o,component:e})},c=(e,t)=>{const r=e?.target?.value||t;if(r&&!/^\d{1,2}$|^100$/.test(r))return;const o=r&&!isNaN(r)?parseInt(r,10):0;if(o>=0&&o<=100){const e=(({h:e,s:t,l:r,a:n=1})=>{t/=100,r/=100;const o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(e/60%2-1)),a=r-o/2;let s,l,c;[s,l,c]=e<60?[o,i,0]:e<120?[i,o,0]:e<180?[0,o,i]:e<240?[0,i,o]:e<300?[i,0,o]:[o,0,i];const u=e=>Math.round(255*(e+a)).toString(16).padStart(2,"0"),d=Math.round(255*n).toString(16).padStart(2,"0");return n<1?`#${u(s)}${u(l)}${u(c)}${d}`.toUpperCase():`#${u(s)}${u(l)}${u(c)}`.toUpperCase()})({...Mq(i),l:o});n(e),l("slider")}};return(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Jw,{variant:"body2",as:"p",children:e}),(0,Nt.jsxs)(Tq,{children:[(0,Nt.jsx)(n_,{}),(0,Nt.jsx)(wW,{"aria-label":(0,tS.__)("Lightness","pojo-accessibility"),color:"secondary",value:s.l,size:"small",sx:{width:"150px"},onChange:c}),(0,Nt.jsx)(r_,{}),(0,Nt.jsx)(KF,{variant:"outlined",size:"small",color:"secondary",value:s.l,onChange:c,inputProps:{"aria-label":(0,tS.__)("Lightness percent","pojo-accessibility")},InputProps:{sx:{width:"75px",paddingRight:"4px",marginRight:"8px"},endAdornment:(0,Nt.jsx)(jF,{position:"end",children:(0,Nt.jsx)(F_,{size:"small",disabled:!0,sx:{minWidth:"auto"},children:"%"})})}}),(0,Nt.jsx)(Iq,{disableOpacity:!0,formats:["hex"],value:t,onChange:e=>{a(e),n(e),l("color-picker")},size:"small"}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Reset","pojo-accessibility"),PopperProps:{disablePortal:!0},children:t!==r?(0,Nt.jsx)(Ca,{onClick:()=>{n(r),l("reset",Vw.contrastResetClicked)},size:"tiny",children:(0,Nt.jsx)(NH,{fontSize:"tiny",sx:{transform:"rotate(180deg)"}})}):(0,Nt.jsx)(NH,{color:"disabled",fontSize:"tiny",sx:{p:"6px",transform:"rotate(180deg)"}})})]})]})},Tq=Ma(vo)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`;Eq.propTypes={title:IR().string.isRequired,color:IR().string.isRequired,initialColor:IR().string.isRequired,setColor:IR().func.isRequired,area:IR().string.isRequired};var Oq=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.75 3.5C10.888 3.5 10.0614 3.84241 9.4519 4.4519C8.84241 5.0614 8.5 5.88805 8.5 6.75V10H15V6.75C15 5.88805 14.6576 5.0614 14.0481 4.4519C13.4386 3.84241 12.612 3.5 11.75 3.5ZM16.5 10V6.75C16.5 5.49022 15.9996 4.28204 15.1088 3.39124C14.218 2.50044 13.0098 2 11.75 2C10.4902 2 9.28204 2.50044 8.39124 3.39124C7.50044 4.28204 7 5.49022 7 6.75V10H6.75C6.02065 10 5.32118 10.2897 4.80546 10.8055C4.28973 11.3212 4 12.0207 4 12.75V18.75C4 19.4793 4.28973 20.1788 4.80546 20.6945C5.32118 21.2103 6.02065 21.5 6.75 21.5H16.75C17.4793 21.5 18.1788 21.2103 18.6945 20.6945C19.2103 20.1788 19.5 19.4793 19.5 18.75V12.75C19.5 12.0207 19.2103 11.3212 18.6945 10.8055C18.1788 10.2897 17.4793 10 16.75 10H16.5Z"})));const Pq=({title:e,description:t})=>(0,Nt.jsxs)(vo,{children:[(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",gap:1,children:[(0,Nt.jsx)(Jw,{variant:"body2",as:"p",color:"text.disabled",children:e}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:t,PopperProps:{disablePortal:!0,sx:{"& .MuiTooltip-tooltip":{maxWidth:400}}},children:(0,Nt.jsx)(Oq,{tabindex:0,color:"disabled",fontSize:"tiny"})})]}),(0,Nt.jsxs)(Lq,{children:[(0,Nt.jsx)(n_,{}),(0,Nt.jsx)(wW,{"aria-label":(0,tS.__)("Lightness","pojo-accessibility"),color:"secondary",size:"small",sx:{width:"150px"},disabled:!0}),(0,Nt.jsx)(r_,{}),(0,Nt.jsx)(KF,{variant:"outlined",size:"small",color:"secondary",defaultValue:"-",disabled:!0,inputProps:{"aria-label":(0,tS.__)("Lightness percent","pojo-accessibility")},InputProps:{sx:{width:"75px",paddingRight:"4px",marginRight:"8px"},endAdornment:(0,Nt.jsx)(jF,{position:"end",children:(0,Nt.jsx)(F_,{size:"small",disabled:!0,sx:{minWidth:"auto"},children:"%"})})}}),(0,Nt.jsx)(Cq,{value:"rgba(0, 0, 0, 0)",disabled:!0,size:"small"}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Reset","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(NH,{color:"disabled",fontSize:"tiny",sx:{p:"6px",transform:"rotate(180deg)"}})})]})]}),Lq=Ma(vo)`
display: flex;
align-items: center;
gap: ${({theme:e})=>e.spacing(1)};
`;Pq.propTypes={title:IR().string.isRequired,description:IR().string.isRequired};var zq=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.19995 12.0498C4.19995 11.6356 4.53574 11.2998 4.94995 11.2998H18.95C19.3642 11.2998 19.7 11.6356 19.7 12.0498C19.7 12.464 19.3642 12.7998 18.95 12.7998H4.94995C4.53574 12.7998 4.19995 12.464 4.19995 12.0498Z"}))),Nq=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 4.75C11 4.33579 11.3358 4 11.75 4C12.1642 4 12.5 4.33579 12.5 4.75V11H18.75C19.1642 11 19.5 11.3358 19.5 11.75C19.5 12.1642 19.1642 12.5 18.75 12.5H12.5V18.75C12.5 19.1642 12.1642 19.5 11.75 19.5C11.3358 19.5 11 19.1642 11 18.75V12.5H4.75C4.33579 12.5 4 12.1642 4 11.75C4 11.3358 4.33579 11 4.75 11H11V4.75Z"})));const Fq=({parents:e,setParentSmaller:t,setParentLarger:r})=>{(0,Vn.useEffect)(()=>{Ww(Vw.backgroundAdaptorTriggered)},[]);const n=Math.max(0,5-e.length),o=e.length>1,i=e.length>0&&"/html"!==e.at(-1);return(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Jw,{variant:"body2",as:"p",sx:{mb:2},children:(0,tS.__)("Background area","pojo-accessibility")}),(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",gap:1,children:[(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Apply to a smaller area","pojo-accessibility"),PopperProps:{disablePortal:!0},children:o?(0,Nt.jsx)(Ca,{onClick:t,children:(0,Nt.jsx)(zq,{})}):(0,Nt.jsx)(zq,{color:"disabled",sx:{px:1}})}),(0,Nt.jsx)(Dq,{children:[...Array(5)].map((e,t)=>{const r=16+16*(4-t),o=t===n;return(0,Nt.jsx)(Bq,{size:r,filled:o},t)})}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Apply to a larger area","pojo-accessibility"),PopperProps:{disablePortal:!0},children:i?(0,Nt.jsx)(Ca,{onClick:r,children:(0,Nt.jsx)(Nq,{})}):(0,Nt.jsx)(Nq,{color:"disabled",sx:{px:1}})})]})]})},Dq=Ma(vo)`
position: relative;
width: 80px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
`,Bq=Ma(vo)`
position: absolute;
width: ${({size:e})=>e}px;
height: ${({size:e})=>e}px;
box-sizing: border-box;
border: ${({filled:e})=>e?"1px solid #000":"1px dashed #000"};
background-color: ${({filled:e})=>e?"#93C5FD":"transparent"};
`;Fq.propTypes={parents:IR().arrayOf(IR().string).isRequired,setParentSmaller:IR().func.isRequired,setParentLarger:IR().func.isRequired};const $q=(e,t)=>{const r=[];if(!t)return[CS()(e,{ignoreId:!0})];let n=e;for(;n&&(r.push(CS()(n,{ignoreId:!0})),n!==t);)n=n.parentElement;return r},Hq=e=>{if(!(e&&e instanceof Element))return null;const t=new Set([iS,aS,sS]),r=[];for(;e&&e.nodeType===Node.ELEMENT_NODE;){let n=e.tagName.toLowerCase();if(e.id){n+=`#${e.id}`,r.unshift(n);break}if(e.className&&"body"!==e.tagName.toLowerCase()){const r=e.className.trim().split(/\s+/).filter(e=>e&&!t.has(e));r.length&&(n+="."+r.join("."))}const o=e.parentNode;if(o&&("body"!==o.tagName?.toLowerCase()||"div"!==e.tagName?.toLowerCase())){const t=Array.from(o.children).filter(t=>t.tagName===e.tagName);t.length>1&&(n+=`:nth-of-type(${t.indexOf(e)+1})`)}r.unshift(n),e=e.parentElement}return r.join(" > ")},Wq=({item:e,current:t,setCurrent:r})=>{const{colorContrastData:n,resolved:o,setResolved:i,isResolved:a,isManage:s,setOpenedBlock:l,setColorContrastData:c,setIsManageChanged:u,updateRemediationList:d,currentScanId:p}=QS(),h=s?"manage":"main",[f,m]=(0,Vn.useState)(!1),[g,b]=(0,Vn.useState)(!0),[y,v]=(0,Vn.useState)(!1),x=n?.[h]?.[t]?.isGlobal||e.global||!1,w=(0,Vn.useRef)(null);(0,Vn.useEffect)(()=>{e?.node&&(w.current=x)},[t]);const _=e=>{const r=[...n?.[h]];if(r[t]={...n?.[h]?.[t]||{},...e},c({...n,[h]:r}),e.color||e.background){const e=M(r[t]);E(e)}},C=e=>{Ww(Vw.backgroundAdaptorChanged,{method:e})};(0,Vn.useEffect)(()=>{s||g||!a(mS.colorContrast)||(ZS(),l(mS.main)),b(!1)},[a(mS.colorContrast)]);const{color:k=e.messageArgs[3]||zH(window.getComputedStyle(e.node).getPropertyValue("color")),background:S=e.messageArgs[4],parents:A=(e.isEdit?$q(e.node,e.parentNode):[e.path.dom]),resolved:j=!1,backgroundChanged:R=e.isEdit}=n[h]?.[t]||{};(0,Vn.useEffect)(()=>{if(s&&y){const t=document.getElementById("ea11y-remediation-styles");t&&(t.innerHTML=t.innerHTML.replace(e.data.rule,""))}},[y]);const I=e=>/^#([0-9a-fA-F]{3}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e.trim()),M=t=>{const r=t.parents||A,n=r.length>0?r.at(-1):e.path.dom;if(t.color&&!I(t.color)||t.background&&!I(t.background))throw new Error("Invalid hex color input detected");try{const r=GS(n),o=Hq(e.node),i=Hq(r),a=`${t.color?`${o} {color: ${t.color} !important;}`:""}${t.background?`${i} {background-color: ${t.background} !important;}`:""}`;return(e=>{try{return!(!e||"string"!=typeof e||(LH.parse(e),0))}catch(e){return!1}})(a)?a:""}catch(e){return console.warn("Failed to convert XPath to CSS selector",e),""}},E=e=>{let t=document.getElementById("ea11y-remediation-styles-edit");t||(t=document.createElement("style"),t.id="ea11y-remediation-styles-edit",document.body.appendChild(t)),t.innerHTML=e},T=j&&n?.[h]?.[t]?.isGlobal===w.current;return{isGlobal:x,setIsGlobal:e=>{_({isGlobal:e})},color:k,background:S,parents:A,isDisabled:T,resolved:j,backgroundChanged:R,parentChanged:y,loading:f,changeColor:e=>{_({color:e,resolved:!1})},changeBackground:e=>{GS(A.at(-1))&&_({background:e,resolved:!1,backgroundChanged:!0})},setParentLarger:()=>{const e=GS(A.at(-1)),t=e?.parentElement;if(e&&t)try{const e=CS()(t,{ignoreId:!0});US(t,sS),_({parents:[...A,e],resolved:!1}),v(!0),C("plus")}catch(e){console.warn("Failed to get XPath for parent element:",e)}},setParentSmaller:()=>{const e=A.slice(0,-1),t=GS(e.at(-1));A.length<=1||!t||(e.length>1?US(t,sS):ZS(sS),_({parents:e,resolved:!1}),v(!0),C("minus"))},onSubmit:async()=>{const a=A.length>0?A.at(-1):null,s=n$(a);m(!0);try{const l=M(n?.[h]?.[t]),c=await oo.submitRemediation({url:window?.ea11yScannerData?.pageData?.url,remediation:{rule:l,category:e.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",type:"STYLES",xpath:e.path.dom,find:e.snippet,parentFind:s,parentXPath:a},global:x,rule:e.ruleId,group:mS.colorContrast});await oo.resolveIssue(p),_({remediation:c.remediation,resolved:!0}),ZS(),r(t+1),i(o+1),v(!1),E(l),w.current=x,d()}catch(e){console.error("Failed to submit remediation:",e)}finally{m(!1)}},onUpdate:async()=>{const r=M(n?.[h]?.[t]),o=n$(e.path.dom),i=A.length>0?A.at(-1):null,a=n$(i);try{m(!0);const s=n?.[h]?.[t]?.remediation,l=e.id||s.id,c=e.data||JSON.parse(s.content),p=JSON.stringify({...c,rule:r,find:o,parentFind:a,parentXPath:i});await oo.updateRemediationContent({url:window?.ea11yScannerData?.pageData?.url,id:l,content:p,global:x}),u(!0),ZS(),v(!1),E(r),w.current=x,d()}catch(e){console.error(e)}finally{m(!1)}}}};Wq.propTypes={item:r$.isRequired,current:IR().number.isRequired,setCurrent:IR().func.isRequired};const Vq=e=>{if(null===e)return null;let t=e.parentNode;return e.slotOwner?t=e.slotOwner:e.ownerElement?t=e.ownerElement:t&&11===t.nodeType&&(t=t.host?t.host:null),t},qq=e=>{let t=e;do{t=Vq(t)}while(t&&1!==t.nodeType);return t};class Uq{static CSSColorLookup={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32",buttontext:"rgba(0, 0, 0, 0.847)",buttonface:"#ffffff",graytext:"rgba(0, 0, 0, 0.247)"};static Color(e){if(!e)return null;if("transparent"===(e=e.toLowerCase()))return new Zq(255,255,255,0);if(e in Uq.CSSColorLookup&&(e=Uq.CSSColorLookup[e]),e.startsWith("rgb(")){const t=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,r=e.match(t);return null===r?null:new Zq(r[1],r[2],r[3])}if(e.startsWith("rgba(")){const t=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,r=e.match(t);return null===r?null:new Zq(r[1],r[2],r[3],r[4])}if("#"!==e.charAt(0))return null;4===e.length&&(e="#"+e.charAt(1).repeat(2)+e.charAt(2).repeat(2)+e.charAt(3).repeat(2));const t=parseInt(e.substring(1,3),16),r=parseInt(e.substring(3,5),16),n=parseInt(e.substring(5,7),16);return new Zq(t,r,n)}static ColorCombo(e){try{const t=e.ownerDocument;if(!t)return null;const r=t.defaultView;if(!r)return null;const n=[];let o=e;for(;o;)1===o.nodeType&&n.push(o),o=qq(o);const i={hasGradient:!1,hasBGImage:!1,textShadow:!1,fg:null,bg:null};let a=r.getComputedStyle(e),s=a.color;s||(s="black");let l=Uq.Color(s);const c=/transparent|rgba?\([^)]+\)/gi,u=function(e,t,r){try{if(void 0===e.length)return e;let n=null,o=null;for(let i=1;i<e.length;++i){let a=e[i-1],s=r.contrastRatio(e[i-1]),l=.1,c=0;for(;l>1e-4;){for(;c+l<=1&&s>r.contrastRatio(e[i].mix(e[i-1],c+l).getOverlayColor(t));)a=e[i].mix(e[i-1],c+l).getOverlayColor(t),s=r.contrastRatio(a),c+=l;for(;c-l>=0&&s>r.contrastRatio(e[i].mix(e[i-1],c-l).getOverlayColor(t));)a=e[i].mix(e[i-1],c-l).getOverlayColor(t),s=r.contrastRatio(a),c-=l;l/=10}(null===o||o>s)&&(o=s,n=a)}return n}catch(e){console.log(e)}return t};let d=Uq.Color("white"),p=null,h=null,f=null;for(;n.length>0;){const e=n.pop();if(a=r.getComputedStyle(e),null===a)continue;let t=null;if(a.backgroundColor&&"transparent"!==a.backgroundColor&&"rgba(0, 0, 0, 0)"!==a.backgroundColor&&(t=Uq.Color(a.backgroundColor)),a.backgroundImage&&a.backgroundImage.indexOf&&-1!==a.backgroundImage.indexOf("gradient")){const e=a.backgroundImage.match(c);if(e){const r=[];for(let t=0;t<e.length;++t)if(e[t].length){let n=Uq.Color(e[t]);if(void 0!==n.alpha&&n.alpha<1){const e=f||d;n=n.getOverlayColor(e)}r.push(n)}else e.splice(t--,1);t=u(r,f||d,l)}}null===p||a.opacity&&a.opacity.length>0&&parseFloat(a.opacity)<1?(null!==f&&(f.alpha=p*h,d=f.getOverlayColor(d)),p=1,h=null,f=null,a.opacity&&a.opacity.length>0&&(p=parseFloat(a.opacity)),null!==t&&(f=t,h=f.alpha||1,delete f.alpha,1===p&&1===h&&(i.hasBGImage=!1,i.hasGradient=!1))):null!==t&&(null===f?(f=t,h=f.alpha||1,delete f.alpha):(f=t.getOverlayColor(f),h=f.alpha||1),1===p&&1===h&&1===(f.alpha||1)&&t.alpha),a.backgroundImage&&"none"!==a.backgroundImage&&(a.backgroundImage.indexOf&&-1!==a.backgroundImage.indexOf("gradient")?i.hasGradient=!0:i.hasBGImage=!0)}return null!==f&&(l=l.getOverlayColor(f),delete l.alpha),l.alpha=(l.alpha||1)*p,l=l.getOverlayColor(d),null!==f&&(f.alpha=p*h,d=f.getOverlayColor(d)),i.fg=l,i.bg=d,a.textShadow&&"none"!==a.textShadow&&(i.textShadow=!0),i}catch(e){return null}}}class Zq{red;green;blue;alpha;constructor(e,t,r,n){function o(e){if("string"!=typeof e)return e;let t=e;return t=t.trim(),"%"!==t[t.length-1]?parseInt(t):Math.round(2.55*parseFloat(t.substring(0,t.length-1)))}this.red=o(e),this.green=o(t),this.blue=o(r),void 0!==n&&(this.alpha="string"==typeof n?parseFloat(n):n)}toHexHelp(e){const t=Math.round(e).toString(16);return 1===t.length?"0"+t:t}toHex(){return"#"+this.toHexHelp(this.red)+this.toHexHelp(this.green)+this.toHexHelp(this.blue)}contrastRatio(e){let t=this;void 0!==this.alpha&&(t=this.getOverlayColor(e));const r=t.relativeLuminance(),n=e.relativeLuminance();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)}relativeLuminance(){let e=this.red/255,t=this.green/255,r=this.blue/255;return e=e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4),t=t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4),r=r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4),.2126*e+.7152*t+.0722*r}mix(e,t){if(void 0===this.alpha&&void 0===e.alpha)return new Zq(t*this.red+(1-t)*e.red,t*this.green+(1-t)*e.green,t*this.blue+(1-t)*e.blue);const r=this.alpha?this.alpha:1,n=e.alpha?e.alpha:1;return new Zq(t*this.red+(1-t)*e.red,t*this.green+(1-t)*e.green,t*this.blue+(1-t)*e.blue,t*r+(1-t)*n)}getOverlayColor(e){if(void 0===this.alpha||this.alpha>=1)return this;if(this.alpha<0)return null;if(void 0!==e.alpha&&e.alpha<1)return null;const t=this.mix(e,this.alpha);return delete t.alpha,t}static fromCSSColor(e){let t=-1,r=-1,n=-1;if((e=e.toLowerCase()).startsWith("rgb(")){const o=/\s*rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/,i=e.match(o);if(null===i)return null;t=i[1],r=i[2],n=i[3]}else if(e.startsWith("rgba(")){const o=/\s*rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*(.+)\s*\)/,i=e.match(o);if(null===i)return null;t=i[1],r=i[2],n=i[3]}else{if("#"!==e.charAt(0)){if(!(e in Uq.CSSColorLookup))return null;e=Uq.CSSColorLookup[e]}const o=function(e){const t={a:10,b:11,c:12,d:13,e:14,f:15};let r=0;for(let n=0;n<e.length;++n)r=16*r+parseInt(e.charAt(n)in t?t[e.charAt(n)]:e.charAt(n));return r};4===e.length&&(e="#"+e.charAt(1).repeat(2)+e.charAt(2).repeat(2)+e.charAt(3).repeat(2)),t=o(e.substring(1,3)),r=o(e.substring(3,5)),n=o(e.substring(5,7))}return new Zq(t,r,n)}}const Gq=e=>{const t=Uq.ColorCombo(e);if(null===t)throw new Error("unable to get color combo for element: "+e.nodeName);const r=t.fg,n=t.bg,o=r.contrastRatio(n),i=(e=>{if(!e)return!1;const{fontSize:t,fontWeight:r}=window.getComputedStyle(e);return parseFloat(t)>=(parseInt(r,10)>=700?18.66:24)})(e),a=o>=(i?3:4.5);return{ratio:+o.toFixed(2),largeText:i,passesAA:a,isPotential:t.hasBGImage||t.hasGradient}},Kq=({item:e,current:t,setCurrent:r,setIsEdit:n})=>{const{isManage:o}=QS(),{isGlobal:i,setIsGlobal:a,color:s,background:l,parents:c,isDisabled:u,resolved:d,backgroundChanged:p,parentChanged:h,loading:f,changeColor:m,changeBackground:g,setParentSmaller:b,setParentLarger:y,onSubmit:v,onUpdate:x}=Wq({item:e,current:t,setCurrent:r}),w=(0,Vn.useRef)(null);(0,Vn.useEffect)(()=>{e?.node&&(w.current=zH(window.getComputedStyle(e.node).getPropertyValue("color")))},[e]);const _=e.messageArgs[3]&&e.messageArgs[4]&&!e.isPotential,C=Gq(e.node),k=!C.passesAA||u||f||e.isEdit&&s===e.messageArgs[3]&&l===e.messageArgs[4]&&!h,S=o?(0,tS.__)("Apply changes","pojo-accessibility"):(0,tS.__)("Apply fix","pojo-accessibility");return(0,Nt.jsxs)(Yk,{children:[(0,Nt.jsx)(yO,{}),(0,Nt.jsx)(Jw,{variant:"body2",as:"p",children:(0,tS.__)("Adjust the text or background lightness until the indicator shows an accessible level.","pojo-accessibility")}),(0,Nt.jsx)(Eq,{title:(0,tS.__)("Text","pojo-accessibility"),color:s,initialColor:w.current||s,setColor:m,area:"color"}),_?(0,Nt.jsx)(Eq,{title:(0,tS.__)("Background","pojo-accessibility"),color:l,initialColor:e.messageArgs[4],setColor:g,area:"background"}):(0,Nt.jsx)(Pq,{title:(0,tS.__)("Background","pojo-accessibility"),description:(0,tS.__)("Image and gradient backgrounds must be changed in the design","pojo-accessibility")}),p&&(0,Nt.jsx)(Fq,{parents:c,setParentSmaller:b,setParentLarger:y}),(0,Nt.jsxs)(Ga,{severity:C.passesAA?"success":"error",children:[(0,Nt.jsx)(KN,{sx:{mr:1},children:(0,tS.__)("Contrast level:","pojo-accessibility")}),C.ratio]}),(0,Nt.jsxs)(vo,{children:[!o&&(0,Nt.jsx)(e$,{item:e,onGlobalChange:e=>{a(e)},isChecked:i}),(0,Nt.jsxs)(vo,{display:"flex",gap:1,justifyContent:"flex-end",children:[o&&(0,Nt.jsx)(F_,{color:"secondary",variant:"text",onClick:()=>{n(!1)},children:(0,tS.__)("Cancel","pojo-accessibility")}),(0,Nt.jsx)(F_,{variant:"contained",size:"small",color:"info",loading:f,disabled:k,onClick:e.isEdit||d?async()=>{await x(),n?n(!1):r(t+1)}:async()=>{await v(),Ww(Vw.applyFixButtonClicked,{fix_method:"color contrast",issue_type:e.message,current_contrast_ratio:C.ratio,background_level:c.length,category_name:mS.colorContrast,page_url:window.ea11yScannerData?.pageData?.url,is_global:i?"yes":"no"})},sx:{mt:o?0:1.5},fullWidth:!o,children:i?(0,tS.__)("Apply to all","pojo-accessibility"):S})]})]})]})};Kq.propTypes={item:r$,current:IR().number.isRequired,setCurrent:IR().func.isRequired,setIsEdit:IR().func};const Xq=()=>{const{sortedViolations:e,isResolved:t}=QS(),[r,n]=(0,Vn.useState)(0),o=t(mS.colorContrast);(0,Vn.useEffect)(()=>{const t=e.colorContrast?.[r];!o&&e.colorContrast?.length?US(t?.node,aS):ZS(),t&&Ww(Vw.issueSelected,{issue_type:t.message,rule_id:t.ruleId,wcag_level:t.reasonCategory.match(/\((AAA?|AA?|A)\)/)?.[1]||"",category_name:mS.colorContrast,current_contrast_ratio:t.messageArgs[0],scenario:t.messageArgs[3]&&t.messageArgs[4]?"regular_flow":"gradient"})},[r]);const i=t=>{t>(e.colorContrast?.length||0)-1?n(0):n(t)};return(0,Nt.jsxs)(Lk,{children:[(0,Nt.jsx)(Kq,{item:e.colorContrast[r],current:r,setCurrent:i}),(0,Nt.jsx)(M$,{total:e.colorContrast?.length||0,current:r,setCurrent:i})]})},Jq=({children:e})=>(0,Nt.jsx)(Bz,{children:e});Jq.propTypes={children:IR().node.isRequired};const Yq=Jq;var Qq=t().forwardRef((e,r)=>t().createElement(pB,{...e,ref:r}));const eU=({node:e})=>{const t=()=>e.getAttribute("data-ea11y-scanner-heading-draft"),r=()=>{if(t())return;const r=e.getAttribute("role"),n=e.getAttribute("aria-level");e.setAttribute("data-ea11y-scanner-heading-draft","true"),e.setAttribute("data-ea11y-scanner-original-role",r||""),e.setAttribute("data-ea11y-scanner-original-level",n||"")};return{hasDraft:t,getOriginalHeadingLevel:()=>{const t=e.getAttribute("data-ea11y-scanner-original-level");return t?parseInt(t,10):null},getDraftLevelForDisplay:()=>t()?"none"===e.getAttribute("role")?"p":`h${e.getAttribute("aria-level")}`:"",backupOriginalAttributes:r,restoreOriginalAttributes:()=>{if(!t())return;const r=e.getAttribute("data-ea11y-scanner-original-role"),n=e.getAttribute("data-ea11y-scanner-original-level");r?e.setAttribute("role",r):e.removeAttribute("role"),n?e.setAttribute("aria-level",n):e.removeAttribute("aria-level"),e.removeAttribute("data-ea11y-scanner-original-role"),e.removeAttribute("data-ea11y-scanner-original-level"),e.removeAttribute("data-ea11y-scanner-heading-draft")},clearOriginalAttributes:()=>{e.removeAttribute("data-ea11y-scanner-original-role"),e.removeAttribute("data-ea11y-scanner-original-level"),e.removeAttribute("data-ea11y-scanner-heading-draft")},applyNewLevel:t=>{r(),"p"===t?(e.setAttribute("role","none"),e.removeAttribute("aria-level")):(e.setAttribute("role","heading"),e.setAttribute("aria-level",t[1]))}}},tU=({node:e,status:t,isDisabled:r,isDismiss:n,setIsDismiss:o,setIsSubmitted:i,displayLevel:a,violation:s})=>{const{error:l}=Gn(),{isLoading:c,error:u,updateHeadingsTree:d,onHeadingWarningDismiss:p,onHeadingLevelUpdate:h,collapseHeading:f}=sO(),{restoreOriginalAttributes:m,clearOriginalAttributes:g}=eU({node:e});return(0,Nt.jsxs)(Kz,{children:[kS.WARNING===t&&(0,Nt.jsx)(Xz,{label:(0,tS.__)("Not an issue","pojo-accessibility"),control:(0,Nt.jsx)(pF,{color:"info",checked:n,size:"small"}),onChange:e=>o(e.target.checked)}),(0,Nt.jsx)(F_,{size:"small",color:"secondary",variant:"text",onClick:()=>{m(),setTimeout(()=>d(),0),o(!1),f()},disabled:c,children:(0,tS.__)("Cancel","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",disabled:r,onClick:async()=>{i(!0),n&&await(async()=>{await p({node:e})?(f(),o(!1),Ww(Vw.markAsResolveClicked,{category_name:"Headings",issue_type:s,element_selector:TS(e)}),setTimeout(()=>d(),0)):l(u)})(),await(async()=>{await h({node:e,newLevel:a,rule:s})?("p"===a&&e.setAttribute("role","presentation"),f(),g(),setTimeout(()=>d(),0),Ww(Vw.applyFixButtonClicked,{fix_method:"Headings",category_name:"Headings",issue_type:s})):l(u)})()},children:(0,tS.__)("Apply","pojo-accessibility")})]})};tU.propTypes={status:IR().oneOf(Object.values(kS)).isRequired,node:IR().object.isRequired,isDisabled:IR().bool.isRequired,isDismiss:IR().bool.isRequired,setIsDismiss:IR().func.isRequired,setIsSubmitted:IR().func.isRequired,displayLevel:IR().string.isRequired,violation:IR().oneOf(Object.values(BS)),isExpanded:IR().bool.isRequired};const rU=tU,nU=({status:e,violation:t})=>(0,Nt.jsxs)(Uz,{severity:e,icon:!1,tabIndex:"0",children:[(0,Nt.jsx)(KN,{children:Lz[t]?.title}),(0,Nt.jsx)(Jw,{sx:{fontSize:"14px"},children:Lz[t]?.description})]});nU.propTypes={status:IR().oneOf(Object.values(kS)).isRequired,violation:IR().oneOf(Object.values(BS)).isRequired};const oU=nU,iU=({id:e,status:t,isDismiss:r,level:n,node:o,displayLevel:i,content:a,isExpanded:s,toggleHeading:l})=>{const c=r?kS.SUCCESS:t,u=Tz[c],d=u.icon;return(0,Nt.jsxs)(Hz,{level:n,onClick:()=>{s||Ww(Vw.headingClicked,{level:i,location:LS(o).replace("heading-tree-","")}),l()},isExpanded:s,"aria-expanded":s,"aria-controls":e,"aria-invalid":kS.SUCCESS!==t,"aria-description":SS[t],children:[(0,Nt.jsx)(Vz,{status:c,children:(0,Nt.jsx)(Jw,{as:"span",variant:"subtitle2",children:i.toUpperCase()})}),(0,Nt.jsx)(qz,{level:n,as:"span",variant:"body2",children:a}),(0,Nt.jsx)(d,{color:u.iconColor,fontSize:"small"})]})};iU.propTypes={status:IR().oneOf(Object.values(kS)).isRequired,isDismiss:IR().bool.isRequired,level:IR().number.isRequired,displayLevel:IR().string.isRequired,content:IR().string.isRequired,isExpanded:IR().bool.isRequired,toggleHeading:IR().func.isRequired};const aU=iU,sU=(0,Vn.memo)(({id:e,level:t,content:r,node:n,status:o,violation:i=null,isExpanded:a,toggleHeading:s})=>{const{isLoading:l,updateHeadingsTree:c}=sO(),{applyNewLevel:u,hasDraft:d,getDraftLevelForDisplay:p,restoreOriginalAttributes:h}=eU({node:n}),f=d(n),m=f?p():`h${t}`,[g,b]=(0,Vn.useState)(!1),[y,v]=(0,Vn.useState)(!1),x=kS.WARNING===o&&!g||!f&&!g||l;return(0,Vn.useEffect)(()=>{a?(n.style.boxShadow="0 0 0 8px #2563EB",n.style.borderRadius="4px",n.style.transition="300ms ease-in-out",n.scrollIntoView({behavior:"smooth"})):(n.style.boxShadow="",n.style.borderRadius="",n.style.transition="",y||(h(),setTimeout(()=>c(),0),v(!1)))},[a]),(0,Nt.jsxs)($z,{isExpanded:a,children:[(0,Nt.jsx)(aU,{displayLevel:m,id:e,level:t,status:o,isDismiss:g,content:r,isExpanded:a,toggleHeading:s}),(0,Nt.jsx)(Qq,{in:a,timeout:190,unmountOnExit:!0,mountOnEnter:!0,appear:!1,sx:{width:"100%"},children:(0,Nt.jsxs)(Wz,{role:"region","aria-labelledby":e,children:[(0,Nt.jsxs)(Zz,{children:[(0,Nt.jsx)(Gz,{MenuProps:{disablePortal:!0},fullWidth:!0,size:"small",color:"secondary",error:kS.ERROR===o,"aria-label":(0,tS.__)("Select new heading level","pojo-accessibility"),variant:"outlined",value:m,onChange:e=>{Ww(Vw.headingSelected,{previous_heading:m,new_heading:e.target.value.toUpperCase()}),u(e.target.value),v(!1),c()},disabled:g||l,children:Pz}),(kS.ERROR===o||kS.WARNING===o&&!g)&&i&&(0,Nt.jsx)(oU,{status:o,violation:i})]}),(0,Nt.jsx)(rU,{status:o,node:n,isDisabled:x,isDismiss:g,setIsDismiss:b,displayLevel:m,violation:i,isExpanded:a,setIsSubmitted:v})]})})]})},(e,t)=>e.id===t.id&&e.level===t.level&&e.content===t.content&&e.node===t.node&&e.status===t.status&&e.violation===t.violation&&e.isExpanded===t.isExpanded);sU.propTypes={id:IR().string.isRequired,level:IR().number.isRequired,content:IR().string.isRequired,node:IR().object.isRequired,status:IR().oneOf(Object.values(kS)).isRequired,violation:IR().oneOf(Object.values(BS)),isExpanded:IR().bool.isRequired,toggleHeading:IR().func.isRequired};const lU=sU,cU=(0,Vn.memo)(()=>(0,Nt.jsxs)(uU,{children:[(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48}),(0,Nt.jsx)(Nk,{width:"100%",height:48})]})),uU=Ma(vo)`
display: flex;
flex-direction: column;
margin-top: ${({theme:e})=>e.spacing(2)};
gap: ${({theme:e})=>e.spacing(1.5)};
`,dU=cU,pU=()=>{const{isLoading:e,expandedKey:t,pageHeadings:r,updateHeadingsTree:n,toggleHeading:o}=sO();(0,Vn.useEffect)(()=>{n()},[]);const i=(0,Vn.useCallback)((e,r)=>{const n=e.flatMap((e,r)=>{const n=LS(e.node),a=(0,Nt.jsx)(lU,{id:n,level:e.level,content:e.content,node:e.node,status:e.status,violation:e.violationCode,isExpanded:t===n,toggleHeading:()=>o(e.node)},n);return e.children.length?[a,i(e.children,r)]:[a]}),a=(0,Nt.jsx)(Yq,{children:n});return!1!==r?(0,Nt.jsx)("li",{children:a},`heading-structure-${r}-nested`):a},[t,o,LS]);return!r.length&&e?(0,Nt.jsx)(dU,{}):i(r,!1)},hU=()=>(0,Nt.jsxs)(Bk,{children:[(0,Nt.jsx)(e_,{}),(0,Nt.jsxs)(vo,{sx:{maxWidth:"300px"},children:[(0,Nt.jsx)(Jw,{variant:"h5",align:"center",sx:{mb:2},children:(0,tS.__)("No headings found","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",align:"center",children:(0,tS.__)("Each page should have a main heading (H1) to establish proper structure and help users understand the page content.","pojo-accessibility")})]})]}),fU=(0,Vn.memo)(()=>(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(zz,{as:"p",variant:"body2",children:(0,tS.__)("Make sure the order of your headings makes sense, so content is read in the right order.","pojo-accessibility")}),(0,Nt.jsx)(zz,{as:"p",variant:"body2",children:_A((0,tS.__)("{{bold}}Note:{{/bold}} Changing a heading’s level won’t affect how it looks.","pojo-accessibility"),{bold:({children:e})=>(0,Nt.jsx)("span",{children:e})})})]})),mU=()=>{const{isLoading:e,pageHeadings:t}=sO();return t.length||e?(0,Nt.jsxs)(Lk,{children:[(0,Nt.jsx)(fU,{}),(0,Nt.jsx)(pU,{})]}):(0,Nt.jsx)(hU,{})},gU=()=>{const{tabsProps:e}=NN();return(0,Nt.jsxs)(Bk,{sx:{px:6},children:[(0,Nt.jsx)(o_,{}),(0,Nt.jsx)(Jw,{variant:"subtitle1",as:"h3",align:"center",children:(0,tS.__)("No fixes yet","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",align:"center",color:"text.secondary",children:(0,tS.__)("Once you start fixing issues for this page, they’ll appear here.","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",variant:"text",color:"info",onClick:t=>{e.onChange(t,mS.main)},children:(0,tS.__)("Fix issues","pojo-accessibility")})]})};var bU=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{d:"M11.9999 6.90002C11.1715 6.90002 10.4999 6.22845 10.4999 5.40002C10.4999 4.5716 11.1715 3.90002 11.9999 3.90002C12.8283 3.90002 13.4999 4.5716 13.4999 5.40002C13.4999 6.22845 12.8283 6.90002 11.9999 6.90002Z"}),e.createElement("path",{d:"M11.9999 13.5C11.1715 13.5 10.4999 12.8285 10.4999 12C10.4999 11.1716 11.1715 10.5 11.9999 10.5C12.8283 10.5 13.4999 11.1716 13.4999 12C13.4999 12.8285 12.8283 13.5 11.9999 13.5Z"}),e.createElement("path",{d:"M11.9999 20.1C11.1714 20.1 10.4999 19.4285 10.4999 18.6C10.4999 17.7716 11.1715 17.1 11.9999 17.1C12.8283 17.1 13.4999 17.7716 13.4999 18.6C13.4999 19.4285 12.8283 20.1 11.9999 20.1Z"}))),yU=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.2295 8.24989H15C14.5858 8.24989 14.25 8.58568 14.25 8.99989C14.25 9.4141 14.5858 9.74989 15 9.74989H19.4164C19.4276 9.75014 19.4389 9.75015 19.4502 9.74989H20C20.4142 9.74989 20.75 9.4141 20.75 8.99989V3.99989C20.75 3.58568 20.4142 3.24989 20 3.24989C19.5858 3.24989 19.25 3.58568 19.25 3.99989V7.05997C17.216 4.05724 13.4602 2.59135 9.82139 3.52648C8.28303 3.92219 6.88124 4.72923 5.76667 5.86098C4.65209 6.99273 3.86662 8.40653 3.49449 9.95076C3.12236 11.495 3.1776 13.1114 3.6543 14.6266C4.13101 16.1418 5.01118 17.4987 6.20042 18.5517C7.38967 19.6047 8.84313 20.3141 10.4049 20.6039C11.9667 20.8936 13.5779 20.7528 15.0657 20.1964C16.5535 19.64 17.8618 18.6892 18.8503 17.4458C19.8388 16.2024 20.4702 14.7134 20.6767 13.1384C20.7306 12.7277 20.4413 12.3511 20.0306 12.2972C19.6199 12.2434 19.2433 12.5327 19.1894 12.9434C19.0183 14.2483 18.4952 15.4821 17.6761 16.5123C16.8571 17.5426 15.7731 18.3304 14.5403 18.7914C13.3076 19.2524 11.9726 19.3691 10.6785 19.129C9.38447 18.889 8.18018 18.3012 7.1948 17.4287C6.20943 16.5562 5.48014 15.4319 5.08516 14.1765C4.69018 12.921 4.6444 11.5817 4.95274 10.3022C5.26108 9.02267 5.9119 7.85123 6.83541 6.9135C7.75887 5.9758 8.92032 5.30712 10.1949 4.97924M10.1949 4.97924C13.3573 4.1666 16.6106 5.53614 18.2295 8.24989L10.1949 4.97924Z"}))),vU=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 3.75C9.9337 3.75 9.87011 3.77634 9.82322 3.82322C9.77634 3.87011 9.75 3.9337 9.75 4V6.25H14.25V4C14.25 3.9337 14.2237 3.87011 14.1768 3.82322C14.1299 3.77634 14.0663 3.75 14 3.75H10ZM15.75 6.25V4C15.75 3.53587 15.5656 3.09075 15.2374 2.76256C14.9092 2.43437 14.4641 2.25 14 2.25H10C9.53587 2.25 9.09075 2.43437 8.76256 2.76256C8.43437 3.09075 8.25 3.53587 8.25 4V6.25H5.00877C5.00349 6.24994 4.9982 6.24994 4.9929 6.25H4C3.58579 6.25 3.25 6.58579 3.25 7C3.25 7.41421 3.58579 7.75 4 7.75H4.3099L5.25021 19.0337C5.25898 19.7508 5.54767 20.4368 6.05546 20.9445C6.57118 21.4603 7.27065 21.75 8 21.75H16C16.7293 21.75 17.4288 21.4603 17.9445 20.9445C18.4523 20.4368 18.741 19.7508 18.7498 19.0337L19.6901 7.75H20C20.4142 7.75 20.75 7.41421 20.75 7C20.75 6.58579 20.4142 6.25 20 6.25H19.0071C19.0018 6.24994 18.9965 6.24994 18.9912 6.25H15.75ZM5.8151 7.75L6.74741 18.9377C6.74914 18.9584 6.75 18.9792 6.75 19C6.75 19.3315 6.8817 19.6495 7.11612 19.8839C7.35054 20.1183 7.66848 20.25 8 20.25H16C16.3315 20.25 16.6495 20.1183 16.8839 19.8839C17.1183 19.6495 17.25 19.3315 17.25 19C17.25 18.9792 17.2509 18.9584 17.2526 18.9377L18.1849 7.75H5.8151ZM10 10.25C10.4142 10.25 10.75 10.5858 10.75 11V17C10.75 17.4142 10.4142 17.75 10 17.75C9.58579 17.75 9.25 17.4142 9.25 17V11C9.25 10.5858 9.58579 10.25 10 10.25ZM14 10.25C14.4142 10.25 14.75 10.5858 14.75 11V17C14.75 17.4142 14.4142 17.75 14 17.75C13.5858 17.75 13.25 17.4142 13.25 17V11C13.25 10.5858 13.5858 10.25 14 10.25Z"}))),xU=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.7 2.25C8.46249 2.25 8.23103 2.29047 8.0079 2.38964C7.78802 2.48736 7.61395 2.62539 7.46967 2.76967L2.76967 7.46967C2.62539 7.61395 2.48736 7.78802 2.38964 8.0079C2.29047 8.23103 2.25 8.46249 2.25 8.7V15.3C2.25 15.5375 2.29047 15.769 2.38964 15.9921C2.48736 16.212 2.62539 16.3861 2.76967 16.5303L7.46967 21.2303C7.61395 21.3746 7.78802 21.5126 8.0079 21.6104C8.23103 21.7095 8.46249 21.75 8.7 21.75H15.3C15.5375 21.75 15.769 21.7095 15.9921 21.6104C16.212 21.5126 16.3861 21.3746 16.5303 21.2303L21.2303 16.5303C21.3746 16.3861 21.5126 16.212 21.6104 15.9921C21.7095 15.769 21.75 15.5375 21.75 15.3V8.7C21.75 8.46249 21.7095 8.23103 21.6104 8.0079C21.5126 7.78802 21.3746 7.61395 21.2303 7.46967L16.5303 2.76967C16.3861 2.62539 16.212 2.48736 15.9921 2.38964C15.769 2.29047 15.5375 2.25 15.3 2.25H8.7ZM12.75 8C12.75 7.58579 12.4142 7.25 12 7.25C11.5858 7.25 11.25 7.58579 11.25 8V12C11.25 12.4142 11.5858 12.75 12 12.75C12.4142 12.75 12.75 12.4142 12.75 12V8ZM12 15.25C11.5858 15.25 11.25 15.5858 11.25 16C11.25 16.4142 11.5858 16.75 12 16.75H12.01C12.4242 16.75 12.76 16.4142 12.76 16C12.76 15.5858 12.4242 15.25 12.01 15.25H12Z"})));const wU=({open:e,hideConfirmation:t,onDelete:r,count:n=null,isMain:o=!1})=>(0,Nt.jsx)(rB,{open:e,onClose:t,onCancel:t,title:o?(0,tS.sprintf)(
// Translators: %s - fixes count
// Translators: %s - fixes count
(0,tS.__)("Remove %s fixes?","pojo-accessibility"),n):(0,tS.__)("Remove this fix?","pojo-accessibility"),approveText:o?(0,tS.__)("Remove fixes","pojo-accessibility"):(0,tS.__)("Remove fix","pojo-accessibility"),cancelText:(0,tS.__)("Not now","pojo-accessibility"),logo:(0,Nt.jsx)(xU,{color:"error",sx:{mt:"6px"}}),onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Nt.jsx)(Jw,{variant:"body2",children:o?(0,tS.__)("This removes the fixes and marks the accessibility issues as unresolve. This can’t be undone.","pojo-accessibility"):(0,tS.__)("This removes the fix and marks the accessibility issue as unresolve. This can’t be undone.","pojo-accessibility")})});wU.propTypes={open:IR().bool.isRequired,hideConfirmation:IR().func.isRequired,onDelete:IR().func.isRequired,count:IR().number,isMain:IR().bool};const _U=wU,CU=({open:e,hideConfirmation:t,onDelete:r,count:n=null,isMain:o=!1})=>(0,Nt.jsx)(rB,{open:e,onClose:t,onCancel:t,title:o?(0,tS.sprintf)(
// Translators: %s - fixes count
// Translators: %s - fixes count
(0,tS.__)("Remove %s fixes across scans","pojo-accessibility"),n):(0,tS.__)("Remove fix across scans?","pojo-accessibility"),approveText:(0,tS.__)("Remove everywhere","pojo-accessibility"),cancelText:(0,tS.__)("Not now","pojo-accessibility"),logo:(0,Nt.jsx)(xU,{color:"error",sx:{mt:"6px"}}),onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Nt.jsx)(Jw,{variant:"body2",children:o?(0,tS.__)("These fixes will no longer apply to past or future scans, leaving the issues unresolved.","pojo-accessibility"):(0,tS.__)("This fix will no longer apply to past or future scans, leaving the issue unresolved.","pojo-accessibility")})});CU.propTypes={open:IR().bool.isRequired,hideConfirmation:IR().func.isRequired,onDelete:IR().func.isRequired,count:IR().number,isMain:IR().bool};const kU=CU,SU=({open:e,hideConfirmation:t,onDisable:r,count:n=null})=>(0,Nt.jsx)(rB,{open:e,onClose:t,onCancel:t,title:(0,tS.sprintf)(
// Translators: %s - fixes count
// Translators: %s - fixes count
(0,tS.__)("Disable %s fixes across scans","pojo-accessibility"),n),approveButtonColor:"warning",approveText:(0,tS.__)("Disable everywhere","pojo-accessibility"),cancelText:(0,tS.__)("Not now","pojo-accessibility"),logo:(0,Nt.jsx)(xU,{color:"warning",sx:{mt:"6px"}}),onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Nt.jsx)(Jw,{variant:"body2",children:(0,tS.__)("These fixes will be disabled on past and future scans, leaving the issues unresolved. You can always enable them again.","pojo-accessibility")})});SU.propTypes={open:IR().bool.isRequired,hideConfirmation:IR().func.isRequired,onDisable:IR().func.isRequired,count:IR().number.isRequired};const AU=SU;var jU=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.25 11.75C2.25 6.36522 6.61522 2 12 2C17.3848 2 21.75 6.36522 21.75 11.75C21.75 17.1348 17.3848 21.5 12 21.5C6.61522 21.5 2.25 17.1348 2.25 11.75ZM11.25 7.75C11.25 7.33579 11.5858 7 12 7H12.01C12.4242 7 12.76 7.33579 12.76 7.75C12.76 8.16421 12.4242 8.5 12.01 8.5H12C11.5858 8.5 11.25 8.16421 11.25 7.75ZM10.25 11.75C10.25 11.3358 10.5858 11 11 11H12C12.4142 11 12.75 11.3358 12.75 11.75V15H13C13.4142 15 13.75 15.3358 13.75 15.75C13.75 16.1642 13.4142 16.5 13 16.5H12C11.5858 16.5 11.25 16.1642 11.25 15.75V12.5H11C10.5858 12.5 10.25 12.1642 10.25 11.75Z"})));const RU=({open:e,hideConfirmation:t,onEnable:r,count:n})=>(0,Nt.jsx)(rB,{open:e,onClose:t,onCancel:t,title:(0,tS.sprintf)(
// Translators: %s - fixes count
// Translators: %s - fixes count
(0,tS.__)("Enable %s fixes across scans","pojo-accessibility"),n),approveButtonColor:"info",approveText:(0,tS.__)("Enable everywhere","pojo-accessibility"),cancelText:(0,tS.__)("Not now","pojo-accessibility"),logo:(0,Nt.jsx)(jU,{color:"info",sx:{mt:"6px"}}),onApprove:r,showCloseButton:!0,disablePortal:!0,PaperProps:{sx:{maxWidth:"440px",width:"100%"}},children:(0,Nt.jsx)(Jw,{variant:"body2",children:(0,tS.__)("These fixes will be enabled on past and future scans, making the issues resolved. You can disable them again at any time.","pojo-accessibility")})});RU.propTypes={open:IR().bool.isRequired,hideConfirmation:IR().func.isRequired,onEnable:IR().func.isRequired,count:IR().number.isRequired};const IU=RU,MU=(e=null)=>{const{error:t}=Gn(),{remediations:r,sortedRemediation:n,openedBlock:o,setSortedRemediation:i,setLoading:a,updateRemediationList:s,setIsManageChanged:l}=QS(),[c,u]=(0,Vn.useState)(!1);return{activeRequest:c,updateAllRemediationForPage:(e,o)=>async()=>{try{a(!0),await oo.updateRemediationStatusForPage({url:window?.ea11yScannerData?.pageData?.url,active:e,group:o}),l(!0),await s(),Ww(Vw[e?"remediationEnabled":"remediationDisabled"],{action_type:e?"enable_all":"disable_all",remediations_amount:o?n[o]:r?.length,category:o||"all",is_global:"no"})}catch(e){console.error(e),t((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{a(!1)}},deleteAllRemediationForPage:async e=>{try{if(a(!0),await oo.deleteRemediationForPage({url:window?.ea11yScannerData?.pageData?.url,group:e}),Ww(Vw.remediationRemoved,{action_type:"remove_all",remediations_amount:e?n[e]:r?.length,category:e||"all",is_global:"no"}),e)await s();else{const e=new URL(window.location.href);e.searchParams.delete("open-ea11y-assistant"),e.searchParams.delete("open-ea11y-assistant-src"),e.searchParams.append("open-ea11y-assistant","1"),window.location.assign(e)}}catch(e){console.error(e),t((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{a(!1)}},updateRemediation:r=>async()=>{try{u(!0),await oo.updateRemediation({url:window?.ea11yScannerData?.pageData?.url,active:r,id:e.id}),await s(),l(!0),Ww(Vw[r?"remediationEnabled":"remediationDisabled"],{action_type:r?"enable_specific":"disable_specific",category_name:o,issue_type:e.rule})}catch(e){console.error(e),t((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}},deleteRemediation:async()=>{try{u(!0),await oo.deleteRemediation({url:window?.ea11yScannerData?.pageData?.url,id:e.id}),await s(),l(!0),Ww(Vw.remediationRemoved,{action_type:"remove_specific",category_name:o,issue_type:e.rule,is_global:"no"})}catch(e){console.error(e),t((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{ZS(),u(!1)}},editRemediation:async r=>{try{u(!0);const t=JSON.stringify(r);await oo.updateRemediationContent({url:window?.ea11yScannerData?.pageData?.url,id:e.id,content:t});const a=n[o].map(r=>r.id===e.id?{...r,content:t}:r);i({...n,[o]:a}),l(!0),Ww(Vw.applyFixButtonClicked,{fix_method:"manual",snippet_content:t,category_name:o,source:"remediation"})}catch(e){console.error(e),t((0,tS.__)("An error occurred.","pojo-accessibility"))}finally{u(!1)}}}},EU=({group:e})=>{const{sortedRemediation:t}=QS(),{deleteAllRemediationForPage:r,updateAllRemediationForPage:n}=MU(),o=(0,Vn.useRef)(null),[i,a]=(0,Vn.useState)(!1),[s,l]=(0,Vn.useState)(!1),c=t[e]?.length,u=c===t[e]?.filter(e=>!Number(e.active))?.length,d=()=>a(!i);return(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Ca,{id:`${e}-menu-button`,"aria-controls":s?`${e}-manage-menu`:void 0,"aria-expanded":s?"true":void 0,"aria-haspopup":"true",onClick:()=>{l(!0)},ref:o,size:"tiny","aria-label":(0,tS.sprintf)(
// Translators: %s - group title
// Translators: %s - group title
(0,tS.__)("%s menu","pojo-accessibility"),bS[e]),children:(0,Nt.jsx)(bU,{fontSize:"tiny"})}),(0,Nt.jsxs)(fN,{open:s,id:`${e}-manage-menu`,anchorEl:o.current,onClose:()=>l(!1),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{"aria-labelledby":`${e}-menu-button`},PaperProps:{style:{overflow:"visible"}},disablePortal:!0,children:[u?(0,Nt.jsxs)(Ez,{onClick:n(!0,e),dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(yU,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Enable all","pojo-accessibility")})]}):(0,Nt.jsxs)(Ez,{onClick:n(!1,e),dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(Jk,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Disable all","pojo-accessibility")})]}),(0,Nt.jsxs)(Ez,{onClick:d,dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(vU,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Remove all","pojo-accessibility")})]})]}),(0,Nt.jsx)(_U,{open:i,hideConfirmation:d,onDelete:async()=>{a(!1),await r(e)},count:c,isMain:!0})]})};EU.propTypes={group:IR().string.isRequired};const TU=({group:e})=>{const{sortedGlobalRemediation:t}=QS(),{updateGlobalRemediationGroupForPage:r,updateGlobalRemediationGroupForAllPages:n,deleteGlobalRemediations:o}=oB(),i=(0,Vn.useRef)(null),[a,s]=(0,Vn.useState)(!1),[l,c]=(0,Vn.useState)(!1),[u,d]=(0,Vn.useState)(!1),[p,h]=(0,Vn.useState)(!1),f=t[e]?.length,m=f===t[e]?.filter(e=>!Number(e.active_for_page))?.length,g=f===t[e]?.filter(e=>!Number(e.active))?.length,b=()=>{n(g,e)};return(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Ca,{id:`${e}-menu-button--global`,"aria-controls":p?`${e}-manage-menu`:void 0,"aria-expanded":p?"true":void 0,"aria-haspopup":"true",onClick:()=>{h(!0)},ref:i,size:"tiny","aria-label":(0,tS.sprintf)(
// Translators: %s - group title
// Translators: %s - group title
(0,tS.__)("%s menu","pojo-accessibility"),bS[e]),children:(0,Nt.jsx)(bU,{fontSize:"tiny"})}),(0,Nt.jsxs)(fN,{open:p,id:`${e}-manage-menu--global`,anchorEl:i.current,onClose:()=>h(!1),anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},MenuListProps:{"aria-labelledby":`${e}-menu-button--global`},PaperProps:{style:{overflow:"visible"}},disablePortal:!0,children:[(0,Nt.jsx)(Ez,{onClick:()=>{r(m,e)},dense:!0,children:m?(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(yU,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Enable on this page","pojo-accessibility")})]}):(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(Jk,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Disable on this page","pojo-accessibility")})]})}),(0,Nt.jsx)(Ez,{onClick:()=>{g?d(!0):c(!0),Ww(Vw.popupButtonClicked,{data:{popupType:g?"global_enable_confirmation":"global_disable_confirmation",buttonName:g?(0,tS.__)("Enable across scans","pojo-accessibility"):(0,tS.__)("Disable across scans","pojo-accessibility")}})},dense:!0,children:g?(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(yU,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Enable across scans","pojo-accessibility")})]}):(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(Jk,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Disable across scans","pojo-accessibility")})]})}),(0,Nt.jsxs)(Ez,{onClick:()=>{s(!0),Ww(Vw.popupButtonClicked,{data:{popupType:"global_delete_confirmation",buttonName:"Remove across scans"}})},dense:!0,children:[(0,Nt.jsx)(_N,{children:(0,Nt.jsx)(vU,{fontSize:"tiny"})}),(0,Nt.jsx)(vC,{children:(0,tS.__)("Remove across scans","pojo-accessibility")})]})]}),(0,Nt.jsx)(kU,{open:a,hideConfirmation:()=>s(!1),onDelete:()=>{s(!1),o(e)},count:f,isMain:!0}),(0,Nt.jsx)(AU,{open:l,hideConfirmation:()=>c(!l),onDisable:b,count:f}),(0,Nt.jsx)(IU,{open:u,hideConfirmation:()=>c(!l),onEnable:b,count:f})]})};TU.propTypes={group:IR().string.isRequired};const OU=({title:e,count:t,block:r,global:n=!1})=>{const{sortedRemediation:o,sortedGlobalRemediation:i,setOpenedBlock:a,setIsManageGlobal:s}=QS(),l=(n?i:o)[r].length;return(0,Nt.jsxs)(qk,{children:[(0,Nt.jsx)(Uk,{variant:"text",color:"secondary",size:"large",fullWidth:!0,onClick:()=>{a(r),s(n),Ww(Vw.categoryClicked,{page_url:window.ea11yScannerData?.pageData?.url,issue_count:t,category_name:r,source:"remediation"})},children:(0,Nt.jsx)(Jw,{noWrap:!0,variant:"subtitle2",as:"h4",color:"text.primary",children:e})}),(0,Nt.jsx)(lC,{icon:n?(0,Nt.jsx)(tD,{fontSize:"small"}):null,label:(0,tS.sprintf)(
// Translators: %1$s - active, %2$s - total
// Translators: %1$s - active, %2$s - total
(0,tS.__)("%1$s/%2$s active","pojo-accessibility"),t,l),color:t>0?"info":"default",variant:"standard",size:"tiny",disabled:0===t}),n?(0,Nt.jsx)(TU,{group:r}):(0,Nt.jsx)(EU,{group:r})]})};OU.propTypes={title:IR().string.isRequired,count:IR().number.isRequired,block:IR().string.isRequired,global:IR().bool};const PU=({global:e=!1})=>{const{sortedRemediation:t,sortedGlobalRemediation:r}=QS(),n=e?r:t;return(0,Nt.jsx)(Kk,{children:Object.keys(n).flatMap(t=>{if(n[t].length<1)return[];const r=n[t].filter(({active:t,active_for_page:r})=>Number(e?r:t)).length;return(0,Nt.jsx)(OU,{title:bS[t],count:r,block:mS[t],global:e},t)})})};PU.propTypes={global:IR().bool};const LU=PU,zU=()=>{const{remediations:e}=QS(),{deleteAllRemediationForPage:t}=MU(),[r,n]=(0,Vn.useState)(!1),o=()=>n(!r);return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Remove all","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",color:"error",onClick:o,children:(0,Nt.jsx)(vU,{fontSize:"tiny"})})}),(0,Nt.jsx)(_U,{open:r,hideConfirmation:o,onDelete:async()=>{n(!1),await t()},count:e.length,isMain:!0})]})},NU=()=>{const{remediations:e}=QS(),{updateAllRemediationForPage:t}=MU();return(0,Nt.jsx)(F_,{startIcon:(0,Nt.jsx)(Jk,{}),size:"small",color:"secondary",variant:"text",onClick:t(!1),disabled:e.length<1,children:(0,tS.__)("Disable all","pojo-accessibility")})},FU=()=>{const{updateAllRemediationForPage:e}=MU();return(0,Nt.jsx)(F_,{startIcon:(0,Nt.jsx)(yU,{}),size:"small",color:"info",variant:"text",onClick:e(!0),children:(0,tS.__)("Enable all","pojo-accessibility")})},DU=()=>{const{remediations:e}=QS(),t=e.length>0&&e?.length===e?.filter(e=>!Number(e.active))?.length;return(0,Nt.jsxs)(vo,{display:"flex",gap:1,children:[t&&(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(zU,{}),(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0,sx:{my:.5}})]}),t?(0,Nt.jsx)(FU,{}):(0,Nt.jsx)(NU,{})]})},BU=()=>{const{globalRemediations:e}=QS(),{deleteGlobalRemediations:t}=oB(),[r,n]=(0,Vn.useState)(!1);return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Remove all","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",color:"error",onClick:()=>{n(!0),Ww(Vw.popupButtonClicked,{data:{popupType:"global_delete_confirmation",buttonName:"Remove all"}})},children:(0,Nt.jsx)(vU,{fontSize:"tiny"})})}),(0,Nt.jsx)(kU,{open:r,hideConfirmation:()=>n(!1),onDelete:async()=>{n(!1),await t()},count:e.length,isMain:!0})]})};var $U=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.46967 9.21967C5.76256 8.92678 6.23744 8.92678 6.53033 9.21967L12 14.6893L17.4697 9.21967C17.7626 8.92678 18.2374 8.92678 18.5303 9.21967C18.8232 9.51256 18.8232 9.98744 18.5303 10.2803L12.5303 16.2803C12.2374 16.5732 11.7626 16.5732 11.4697 16.2803L5.46967 10.2803C5.17678 9.98744 5.17678 9.51256 5.46967 9.21967Z"})));const HU=({isAllExcluded:e,isAllDisabled:t})=>{const{globalRemediations:r}=QS(),[n,o]=(0,Vn.useState)(!1),i=(0,Vn.useRef)(null),[a,s]=(0,Vn.useState)(!1),[l,c]=(0,Vn.useState)(!1),{updateAllGlobalRemediationForPage:u,updateAllGlobalRemediationForAllPages:d}=oB(),p=()=>{d(t)};return(0,Nt.jsxs)(vo,{display:"flex",gap:1,children:[(0,Nt.jsx)(F_,{id:"global-remediation-menu-button",startIcon:e?(0,Nt.jsx)(yU,{}):(0,Nt.jsx)(Jk,{}),endIcon:(0,Nt.jsx)($U,{}),size:"small",color:e?"info":"secondary",variant:"text",onClick:()=>{o(!0)},ref:i,children:e?(0,tS.__)("Enable all","pojo-accessibility"):(0,tS.__)("Disable all","pojo-accessibility")}),(0,Nt.jsxs)(fN,{id:"global-remediation-menu",open:n,MenuListProps:{"aria-labelledby":"global-remediation-menu-button"},anchorEl:i.current,onClose:()=>o(!1),disablePortal:!0,children:[(0,Nt.jsx)(Ez,{onClick:()=>{u(e)},dense:!0,children:(0,Nt.jsx)(vC,{children:e?(0,tS.__)("Enable on this page","pojo-accessibility"):(0,tS.__)("Disable on this page","pojo-accessibility")})}),(0,Nt.jsx)(Ez,{onClick:()=>{t?c(!0):s(!0),Ww(Vw.popupButtonClicked,{data:{popupType:t?"global_enable_confirmation":"global_disable_confirmation",buttonName:t?"Enable across scans":"Disable across scans"}})},dense:!0,children:(0,Nt.jsx)(vC,{children:t?(0,tS.__)("Enable across scans","pojo-accessibility"):(0,tS.__)("Disable across scans","pojo-accessibility")})})]}),(0,Nt.jsx)(AU,{open:a,hideConfirmation:()=>s(!a),onDisable:p,count:r.length}),(0,Nt.jsx)(IU,{open:l,hideConfirmation:()=>s(!a),onEnable:p,count:r.length})]})};HU.propTypes={isAllExcluded:IR().bool.isRequired,isAllDisabled:IR().bool.isRequired};const WU=HU,VU=()=>{const{globalRemediations:e}=QS(),t=e?.length,r=t===e?.filter(e=>!Number(e.active_for_page))?.length,n=t===e?.filter(e=>!Number(e.active))?.length;return(0,Nt.jsxs)(vo,{display:"flex",gap:1,children:[r&&n&&(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(BU,{}),(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0,sx:{my:.5}})]}),(0,Nt.jsx)(WU,{isAllExcluded:r,isAllDisabled:n})]})},qU=()=>{const{remediations:e,globalRemediations:t}=QS(),[r,n]=(0,Vn.useState)(!0),o=(e.length>0||t.length>0)&&!uS&&!window.localStorage.getItem(pS)&&r;return(0,Nt.jsxs)(ZU,{children:[e.length>0&&(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsxs)(UU,{children:[(0,Nt.jsx)(Jw,{variant:"body2",color:"text.tertiary",children:(0,tS.__)("Fixes on this page","pojo-accessibility")}),(0,Nt.jsx)(DU,{})]}),(0,Nt.jsx)(LU,{})]}),t.length>0&&(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsxs)(UU,{sx:{mt:2},children:[(0,Nt.jsx)(Jw,{variant:"body2",color:"text.tertiary",children:(0,tS.__)("Cross-page fixes","pojo-accessibility")}),(0,Nt.jsx)(VU,{})]}),(0,Nt.jsx)(LU,{global:!0})]}),0===e.length&&0===t.length&&(0,Nt.jsx)(gU,{}),o&&(0,Nt.jsxs)(Ga,{icon:(0,Nt.jsx)(EN,{color:"promotion"}),color:"error",onClose:()=>{window.localStorage.setItem(pS,Date.now().toString()),n(!1)},sx:{mt:2},children:[(0,Nt.jsx)(Jw,{variant:"body2",sx:{mb:1.5,color:"text.secondary"},children:(0,tS.__)("Resolve these issues on all of your scanned pages with a click.","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",color:"promotion",variant:"contained",href:lS,target:"_blank",rel:"noreferrer",onClick:()=>{Ww(Vw.upgradeButtonClicked,{current_plan:window.ea11yScannerData?.planData?.plan?.name,feature_locked:"global_banner"})},children:(0,tS.__)("Upgrade now","pojo-accessibility")})]})]})},UU=Ma(vo)`
display: flex;
align-items: center;
justify-content: space-between;
`,ZU=Ma(X_)`
display: flex;
flex-direction: column;
gap: ${({theme:e})=>e.spacing(2)};
padding: 0 ${({theme:e})=>e.spacing(2)};
`,GU=({id:e,rule:t})=>{const{activeRequest:r,deleteGlobalRemediation:n}=oB(),[o,i]=(0,Vn.useState)(!1),a=()=>i(!o);return(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Remove","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",color:"error",onClick:a,disabled:r,children:(0,Nt.jsx)(vU,{fontSize:"tiny"})})}),(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0,sx:{my:.5}}),(0,Nt.jsx)(kU,{open:o,hideConfirmation:a,onDelete:async()=>{i(!1),await n(e,t)}})]})};GU.propTypes={id:IR().number.isRequired,rule:IR().string.isRequired};const KU=GU,XU=({item:e})=>{const[t,r]=(0,Vn.useState)(!1),n=(0,Vn.useRef)(null),o="1"!==e.active,i="1"!==e.active_for_page,{activeRequest:a,updateGlobalRemediationForPage:s,updateGlobalRemediationForAllPages:l}=oB(),c=()=>r(!1);return(0,Nt.jsxs)(vo,{display:"flex",gap:1,justifyContent:"flex-end",children:[o&&i&&(0,Nt.jsx)(KU,{id:e.id,rule:e.rule}),(0,Nt.jsx)(F_,{id:"global-remediation-menu-button",startIcon:i?(0,Nt.jsx)(yU,{}):(0,Nt.jsx)(Jk,{}),endIcon:(0,Nt.jsx)($U,{}),size:"small",color:i?"info":"secondary",variant:"outlined",disabled:a,onClick:()=>{r(!0)},ref:n,sx:{ml:1},children:i?(0,tS.__)("Enable fix","pojo-accessibility"):(0,tS.__)("Disable fix","pojo-accessibility")}),(0,Nt.jsxs)(fN,{id:"global-remediation-menu",open:t,MenuListProps:{"aria-labelledby":"global-remediation-menu-button"},anchorEl:n.current,onClose:c,disablePortal:!0,children:[(0,Nt.jsx)(Ez,{onClick:()=>{c(),s(e.id,i,e.rule)},disabled:a,dense:!0,children:(0,Nt.jsx)(vC,{children:i?(0,tS.__)("Enable on this page","pojo-accessibility"):(0,tS.__)("Disable on this page","pojo-accessibility")})}),(0,Nt.jsx)(Ez,{onClick:()=>{c(),l(e.id,o,e.rule)},disabled:a,dense:!0,children:(0,Nt.jsx)(vC,{children:o?(0,tS.__)("Enable across scans","pojo-accessibility"):(0,tS.__)("Disable across scans","pojo-accessibility")})})]})]})};XU.propTypes={item:r$};const JU=XU,YU=({item:e,isActive:t})=>{const{activeRequest:r,deleteRemediation:n,updateRemediation:o}=MU(e),[i,a]=(0,Vn.useState)(!1),s=()=>a(!i),l=e?.content?JSON.parse(e.content):null;return(0,Nt.jsxs)(vo,{display:"flex",gap:1,justifyContent:t&&l?.find?"space-between":"flex-end",sx:{width:"100%"},children:[t?(0,Nt.jsxs)(Nt.Fragment,{children:[l?.find&&(0,Nt.jsx)(e$,{item:e}),(0,Nt.jsx)(F_,{startIcon:(0,Nt.jsx)(Jk,{}),size:"small",color:"secondary",variant:"outlined",disabled:r,onClick:o(!1),children:(0,tS.__)("Disable fix","pojo-accessibility")})]}):(0,Nt.jsxs)(vo,{display:"flex",gap:.5,children:[(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Remove","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",color:"error",onClick:s,disabled:r,children:(0,Nt.jsx)(vU,{fontSize:"tiny"})})}),(0,Nt.jsx)(yO,{orientation:"vertical",flexItem:!0,sx:{my:.5}}),(0,Nt.jsx)(F_,{startIcon:(0,Nt.jsx)(yU,{}),size:"small",color:"info",variant:"outlined",disabled:r,onClick:o(!0),sx:{ml:1},children:(0,tS.__)("Enable fix","pojo-accessibility")})]}),(0,Nt.jsx)(_U,{open:i,hideConfirmation:s,onDelete:async()=>{a(!1),await n()}})]})};YU.propTypes={item:QB,isActive:IR().bool.isRequired};const QU=YU,eZ=({item:e,isActive:t})=>"1"===e.global?(0,Nt.jsx)(JU,{item:e}):(0,Nt.jsx)(QU,{isActive:t,item:e}),tZ=({item:e})=>{const t=JSON.parse(e.content),{openedBlock:r}=QS(),{copied:n,copyToClipboard:o}=jH(),{activeRequest:i,editRemediation:a}=MU(e),[s,l]=(0,Vn.useState)(!1),[c,u]=(0,Vn.useState)(t.replace),d="1"===e.global?"1"===e.active_for_page:"1"===e.active;return(0,Nt.jsx)(vo,{sx:{mb:3},children:(0,Nt.jsxs)(q_,{variant:"outlined",sx:{overflow:"visible"},children:[(0,Nt.jsxs)(X_,{sx:{pt:1.5,pb:0},children:[(0,Nt.jsxs)(KB,{children:[(0,Nt.jsxs)(XB,{children:[(0,Nt.jsx)(WN,{}),(0,Nt.jsx)(Jw,{variant:"subtitle2",children:d?(0,tS.__)("Active fix","pojo-accessibility"):(0,tS.__)("Fix (disabled)","pojo-accessibility")}),e.global&&(0,Nt.jsx)(lC,{icon:(0,Nt.jsx)(tD,{fontSize:"small"}),label:(0,tS.__)("Cross-scan","pojo-accessibility"),color:"default",variant:"outlined",size:"tiny"})]}),!s&&(0,Nt.jsxs)(vo,{display:"flex",alignItems:"center",children:["1"===e.global?(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("You can't edit cross-scan fixes with Ally","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(bH,{fontSize:"tiny",color:"disabled",sx:{p:.5}})}):(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Edit","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:()=>{l(!0),Ww(Vw.editSnippetClicked,{snippet_content:t.replace,category_name:r,source:"remediation"})},disabled:i,children:(0,Nt.jsx)(bH,{fontSize:"tiny"})})}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:n?(0,tS.__)("Copied!","pojo-accessibility"):(0,tS.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:o(t.replace,"fixed_snippet","remediation"),children:(0,Nt.jsx)(Y$,{fontSize:"tiny"})})})]})]}),s?(0,Nt.jsx)(JB,{value:c,color:"secondary",size:"small",multiline:!0,fullWidth:!0,onChange:e=>{u(e.target.value)},inputProps:{"aria-label":(0,tS.__)("Manual edit","pojo-accessibility")},disabled:i}):(0,Nt.jsx)(Fk,{color:d?"info":"secondary",icon:!1,disabled:!d,children:(0,Nt.jsx)(vo,{display:"flex",gap:.5,alignItems:"start",children:(0,Nt.jsx)(qB,{variant:"body2",color:d?"text.primary":"text.disabled",children:t.replace})})})]}),(0,Nt.jsx)(CH,{sx:{p:2},children:s?(0,Nt.jsxs)(Nt.Fragment,{children:[(0,Nt.jsx)(F_,{size:"small",color:"secondary",variant:"text",onClick:()=>l(!1),disabled:i,children:(0,tS.__)("Cancel","pojo-accessibility")}),(0,Nt.jsx)(F_,{size:"small",color:"info",variant:"contained",loadingPosition:"start",disabled:c===t.replace||i,onClick:async()=>{await a({...t,replace:c}),l(!1)},children:(0,tS.__)("Apply changes","pojo-accessibility")})]}):(0,Nt.jsx)(eZ,{item:e,isActive:d})})]})})};tZ.propTypes={item:QB};const rZ=({item:e})=>{const{copied:t,copyToClipboard:r}=jH(),n=JSON.parse(e.content);return(0,Nt.jsx)(Nt.Fragment,{children:(0,Nt.jsxs)(VB,{children:[(0,Nt.jsxs)(vo,{children:[(0,Nt.jsxs)(vo,{display:"flex",gap:1,alignItems:"center",children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",as:"h5",children:(0,tS.__)("What’s the issue","pojo-accessibility")}),(0,Nt.jsx)(SR,{tabIndex:"0",placement:"top",PopperProps:{disablePortal:!0},content:(0,Nt.jsxs)(UB,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle1",sx:{mb:1,textTransform:"none"},children:(0,tS.__)("What's the issue and why it matters?","pojo-accessibility")}),(0,Nt.jsx)(Jw,{variant:"body2",children:MH[e.rule].whyItMatters})]}),children:(0,Nt.jsx)(AA,{fontSize:"small",color:"action"})})]}),(0,Nt.jsx)(Jw,{variant:"body2",children:MH[e.rule]?.whatsTheIssue})]}),(0,Nt.jsxs)(vo,{children:[(0,Nt.jsxs)(YB,{children:[(0,Nt.jsx)(Jw,{variant:"subtitle2",children:(0,tS.__)("Affected element:","pojo-accessibility")}),(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:t?(0,tS.__)("Copied!","pojo-accessibility"):(0,tS.__)("Copy","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"tiny",onClick:r(n.find,"error_snippet","remediation"),children:(0,Nt.jsx)(Y$,{fontSize:"tiny"})})})]}),(0,Nt.jsx)(Fk,{color:"error",icon:!1,children:(0,Nt.jsx)(qB,{variant:"body2",children:n.find})})]}),(0,Nt.jsx)(tZ,{item:e})]})})};rZ.propTypes={item:QB};const nZ=()=>{const{openIndex:e,handleOpen:t,openedBlock:r,sortedRemediation:n,sortedGlobalRemediation:o,isManageGlobal:i,setOpenedBlock:a}=QS(),s=i?o:n;return(0,Vn.useEffect)(()=>{0===s[r]?.length&&a(mS.management)},[s[r]?.length]),(0,Nt.jsx)(vo,{sx:{pb:8},children:s[r].map((r,n)=>{var o;return(0,Nt.jsxs)(HB,{elevation:0,square:!0,disableGutters:!0,expanded:e===n,onChange:t(n,r),children:[(0,Nt.jsxs)(WB,{"aria-controls":`manual-panel-${n}`,id:`manual-panel-${n}`,children:[(0,Nt.jsx)(X$,{color:"info",checkedIcon:(0,Nt.jsx)(uO,{}),disabled:!0,checked:Number(r.active),role:"presentation"}),(0,Nt.jsxs)(vo,{display:"flex",gap:.5,alignItems:"center",children:[(0,Nt.jsx)(Jw,{variant:"body2",noWrap:!0,children:null!==(o=MH[r.rule]?.violationName)&&void 0!==o?o:r.rule}),"1"===r.global&&(0,Nt.jsx)(vR,{arrow:!0,placement:"top",title:(0,tS.__)("Cross-scan issue","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(tD,{color:"action",fontSize:"tiny"})})]})]}),(0,Nt.jsx)(rZ,{item:r})]},`${r.rule}-${n}`)})})};var oZ=e.forwardRef((t,r)=>e.createElement(ka,{viewBox:"0 0 24 24",...t,ref:r},e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.9461 4.49382C12.7055 3.50206 11.2945 3.50206 11.0539 4.49382L11.0538 4.49421C10.6578 6.12252 8.79686 6.89441 7.36336 6.02285L7.36299 6.02262C6.49035 5.49135 5.49253 6.49022 6.0235 7.3618C6.22619 7.69432 6.34752 8.06998 6.37762 8.45824C6.40773 8.84659 6.34572 9.23656 6.19663 9.59641C6.04755 9.95627 5.8156 10.2758 5.51966 10.5291C5.22378 10.7823 4.8723 10.9621 4.49382 11.0539C3.50206 11.2945 3.50206 12.7055 4.49382 12.9461L4.49422 12.9462C4.87244 13.0382 5.22363 13.2181 5.51923 13.4714C5.81483 13.7246 6.0465 14.0441 6.19542 14.4037C6.34433 14.7633 6.40629 15.153 6.37625 15.5411C6.34621 15.9292 6.22502 16.3047 6.02253 16.6371C5.49145 17.5098 6.49026 18.5074 7.3618 17.9765C7.69431 17.7738 8.06998 17.6525 8.45824 17.6224C8.84659 17.5923 9.23656 17.6543 9.59641 17.8034C9.95627 17.9525 10.2758 18.1844 10.5291 18.4803C10.7823 18.7762 10.9621 19.1277 11.0539 19.5062C11.2945 20.4979 12.7055 20.4979 12.9461 19.5062L12.9462 19.5058C13.0382 19.1276 13.2181 18.7764 13.4714 18.4808C13.7246 18.1852 14.0441 17.9535 14.4037 17.8046C14.7633 17.6557 15.153 17.5937 15.5411 17.6238C15.9292 17.6538 16.3047 17.775 16.6371 17.9775C17.5097 18.5085 18.5074 17.5097 17.9765 16.6382C17.7738 16.3057 17.6525 15.93 17.6224 15.5418C17.5923 15.1534 17.6543 14.7634 17.8034 14.4036C17.9525 14.0437 18.1844 13.7242 18.4803 13.4709C18.7762 13.2177 19.1277 13.0379 19.5062 12.9461C20.4979 12.7055 20.4979 11.2945 19.5062 11.0539L19.5058 11.0538C19.1276 10.9618 18.7764 10.7819 18.4808 10.5286C18.1852 10.2754 17.9535 9.95594 17.8046 9.59631C17.6557 9.23668 17.5937 8.84698 17.6238 8.45889C17.6538 8.07081 17.775 7.69528 17.9775 7.36285C18.5085 6.49025 17.5097 5.49256 16.6382 6.0235C16.3057 6.22619 15.93 6.34752 15.5418 6.37762C15.1534 6.40773 14.7634 6.34572 14.4036 6.19663C14.0437 6.04755 13.7242 5.8156 13.4709 5.51966C13.2177 5.22378 13.0379 4.8723 12.9461 4.49382ZM9.59624 4.13979C10.2079 1.61994 13.7925 1.62007 14.4039 4.14018L14.4039 4.14039C14.44 4.28943 14.5108 4.42783 14.6105 4.54434C14.7102 4.66085 14.836 4.75216 14.9777 4.81086C15.1194 4.86955 15.2729 4.89397 15.4258 4.88211C15.5787 4.87026 15.7266 4.82247 15.8576 4.74264L15.8578 4.7425C18.0722 3.39347 20.6074 5.92764 19.2586 8.14301L19.2585 8.14315C19.1788 8.27403 19.1311 8.42187 19.1193 8.57465C19.1075 8.72744 19.1318 8.88086 19.1905 9.02245C19.2491 9.16404 19.3403 9.28979 19.4567 9.38949C19.573 9.4891 19.7111 9.5599 19.8598 9.59614C22.3801 10.2075 22.3801 13.7925 19.8598 14.4039L19.8596 14.4039C19.7106 14.44 19.5722 14.5108 19.4557 14.6105C19.3392 14.7102 19.2478 14.836 19.1891 14.9777C19.1304 15.1194 19.106 15.2729 19.1179 15.4258C19.1297 15.5787 19.1775 15.7266 19.2574 15.8576L19.2575 15.8578C20.6065 18.0722 18.0724 20.6074 15.857 19.2586L15.8569 19.2585C15.726 19.1788 15.5781 19.1311 15.4253 19.1193C15.2726 19.1075 15.1191 19.1318 14.9776 19.1905C14.836 19.2491 14.7102 19.3403 14.6105 19.4567C14.5109 19.573 14.4401 19.7111 14.4039 19.8598C13.7925 22.3801 10.2075 22.3801 9.59614 19.8598L9.59609 19.8596C9.55998 19.7106 9.48919 19.5722 9.38948 19.4557C9.28977 19.3392 9.16396 19.2478 9.02228 19.1891C8.88061 19.1304 8.72708 19.106 8.57419 19.1179C8.4213 19.1297 8.27337 19.1775 8.14244 19.2574L8.1422 19.2575C5.92778 20.6065 3.39265 18.0724 4.74138 15.857L4.74147 15.8569C4.82118 15.726 4.86889 15.5781 4.88072 15.4253C4.89255 15.2726 4.86816 15.1191 4.80953 14.9776C4.7509 14.836 4.65969 14.7102 4.54332 14.6105C4.42705 14.5109 4.28893 14.4401 4.14018 14.4039C1.61994 13.7925 1.61994 10.2075 4.14018 9.59614L4.14039 9.59609C4.28943 9.55998 4.42783 9.48919 4.54434 9.38948C4.66085 9.28977 4.75216 9.16396 4.81086 9.02228C4.86955 8.88061 4.89397 8.72708 4.88211 8.57419C4.87026 8.4213 4.82247 8.27337 4.74264 8.14244L4.7425 8.1422C3.39354 5.92791 5.92736 3.39294 8.14263 4.74115C8.70903 5.08552 9.4399 4.7816 9.59614 4.14018M12 9.75C10.7574 9.75 9.75 10.7574 9.75 12C9.75 13.2426 10.7574 14.25 12 14.25C13.2426 14.25 14.25 13.2426 14.25 12C14.25 10.7574 13.2426 9.75 12 9.75ZM8.25 12C8.25 9.92893 9.92893 8.25 12 8.25C14.0711 8.25 15.75 9.92893 15.75 12C15.75 14.0711 14.0711 15.75 12 15.75C9.92893 15.75 8.25 14.0711 8.25 12Z"})));const iZ=({isActive:e,openEdit:t,global:r})=>(0,Nt.jsxs)(KB,{children:[(0,Nt.jsxs)(XB,{children:[(0,Nt.jsx)(oZ,{}),(0,Nt.jsx)(Jw,{variant:"subtitle2",children:e?(0,tS.__)("Active fix","pojo-accessibility"):(0,tS.__)("Fix (disabled)","pojo-accessibility")}),r&&(0,Nt.jsx)(lC,{icon:(0,Nt.jsx)(tD,{fontSize:"small"}),label:(0,tS.__)("Cross-scan","pojo-accessibility"),color:"default",variant:"outlined",size:"tiny"})]}),(0,Nt.jsx)(vo,{display:"flex",alignItems:"center",children:r?(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("You can't edit cross-scan fixes with Ally","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(bH,{fontSize:"small",color:"disabled"})}):(0,Nt.jsx)(vR,{placement:"top",title:(0,tS.__)("Edit","pojo-accessibility"),PopperProps:{disablePortal:!0},children:(0,Nt.jsx)(Ca,{size:"small",onClick:t,children:(0,Nt.jsx)(bH,{fontSize:"small"})})})})]});iZ.propTypes={isActive:IR().bool.isRequired,openEdit:IR().func.isRequired,global:IR().bool.isRequired};const aZ=({item:e,current:t,openEdit:r})=>{const n=JSON.parse(e?.content),o=GS(n?.xpath),i="1"===e.global,a=i?"1"===e.active_for_page:"1"===e.active;(0,Vn.useEffect)(()=>{o?US(o):ZS()},[t]);const s="role"===n.attribute_name&&"presentation"===n.attribute_value;return(0,Nt.jsxs)(Yk,{children:[(0,Nt.jsx)(yO,{}),(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(iZ,{isActive:a,openEdit:r,global:i}),(0,Nt.jsx)(eD,{element:o})]}),s?(0,Nt.jsx)(Dk,{color:a?"info":"secondary",disabled:!a,children:(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(KN,{children:(0,tS.__)("Decorative image","pojo-accessibility")}),(0,tS.__)("(decorative images don't require descriptions)","pojo-accessibility")]})}):(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(Jw,{variant:"body2",sx:{mb:1},children:(0,tS.__)("Alt text","pojo-accessibility")}),(0,Nt.jsx)(Dk,{color:a?"info":"secondary",icon:!1,disabled:!a,children:(0,Nt.jsx)(vo,{children:n.attribute_value})})]}),(0,Nt.jsx)(eZ,{item:e,isActive:a})]})};aZ.propTypes={item:QB,current:IR().number.isRequired,openEdit:IR().func.isRequired};const sZ=()=>{const{sortedRemediation:e,sortedGlobalRemediation:t,isManageGlobal:r,setOpenedBlock:n}=QS(),[o,i]=(0,Vn.useState)(0),[a,s]=(0,Vn.useState)(!1),l=r?t:e,c=l[mS.altText][o];if(!c)return l[mS.altText].length>0?i(0):n(mS.management),null;const u=e=>{e>l[mS.altText].length-1?i(0):i(e)},d=JSON.parse(c?.content||""),p=GS(d?.xpath);return(0,Nt.jsxs)(Lk,{children:[a?(0,Nt.jsx)(s$,{item:{id:c.id,node:p,data:d,path:{dom:d?.xpath},global:"1"===c.global},current:o,setCurrent:u,setIsEdit:s}):(0,Nt.jsx)(aZ,{item:c,current:o,openEdit:()=>{s(!0)}}),(0,Nt.jsx)(M$,{total:l.altText.length,current:o,setCurrent:u})]})},lZ=({title:e,color:t,isActive:r})=>{const n=Mq(t);return(0,Nt.jsxs)(vo,{display:"flex",gap:2,alignItems:"center",sx:{p:.5},children:[(0,Nt.jsx)(Jw,{variant:"body2",sx:{flexGrow:1},children:e}),(0,Nt.jsxs)(cZ,{display:"flex",gap:1,isActive:r,children:[(0,Nt.jsx)(r_,{}),(0,Nt.jsx)(vo,{sx:{width:"25px"},children:n.l}),(0,Nt.jsx)(vo,{children:"%"})]}),(0,Nt.jsx)(Cq,{value:t,size:"tiny"})]})},cZ=Ma(vo)`
color: ${({isActive:e,theme:t})=>e?t.palette.text.primary:t.palette.text.disabled};
& svg * {
stroke: ${({isActive:e,theme:t})=>e?t.palette.text.primary:t.palette.text.disabled}!important;
}
`;lZ.propTypes={title:IR().string.isRequired,color:IR().string.isRequired,isActive:IR().bool.isRequired};const uZ=({item:e,node:t,color:r,background:n,current:o,openEdit:i})=>{(0,Vn.useEffect)(()=>{t?US(t):ZS()},[o]),(0,Vn.useEffect)(()=>{n?.item&&US(n?.item,sS)},[n?.item]);const a="1"===e.global,s=a?"1"===e.active_for_page:"1"===e.active;return(0,Nt.jsxs)(Yk,{children:[(0,Nt.jsx)(yO,{}),(0,Nt.jsxs)(vo,{children:[(0,Nt.jsx)(iZ,{isActive:s,openEdit:i,global:a}),(0,Nt.jsx)(Qk,{color:s?"info":"secondary",icon:!1,children:(0,Nt.jsxs)(vo,{children:[r&&(0,Nt.jsx)(lZ,{title:(0,tS.__)("Text","pojo-accessibility"),color:r.value,isActive:s}),r&&n&&(0,Nt.jsx)(yO,{sx:{my:1}}),n&&(0,Nt.jsx)(lZ,{title:(0,tS.__)("Background","pojo-accessibility"),color:n.value,isActive:s})]})})]}),(0,Nt.jsx)(eZ,{item:e,isActive:s})]})};uZ.propTypes={item:QB,node:IR().node.isRequired,color:IR().shape({item:IR().node,value:IR().string}),current:IR().number.isRequired,openEdit:IR().func.isRequired};const dZ=()=>{const{sortedRemediation:e,sortedGlobalRemediation:t,isManageGlobal:r,setOpenedBlock:n}=QS(),[o,i]=(0,Vn.useState)(0),[a,s]=(0,Vn.useState)(!1),l=r?t:e,c=l[mS.colorContrast][o];if(!c)return l[mS.colorContrast].length>0?i(0):n(mS.management),null;const u=c?.content?JSON.parse(c.content):null,d=u?.xpath?GS(u.xpath):null,p=u?.rule?(e=>{const t={color:null,background:null},r=e.matchAll(/([^{]+)\s*\{([^}]+)\}/g);for(const[,e,n]of r){let r;try{r=document.querySelector(e.trim())}catch{continue}const o=n.match(/(?<!background-)color\s*:\s*([^;!]+)/i),i=n.match(/background-color\s*:\s*([^;!]+)/i),a=o?o[1].trim():null,s=i?i[1].trim():null;if(a&&!t.color&&(t.color={item:r,value:a}),s&&!t.background&&(t.background={item:r,value:s}),t.color&&t.background)break}const n=t.color?.item||t.background?.item;if(n){const e=window.getComputedStyle(n);t.color||(t.color={item:n,value:zH(e.getPropertyValue("color"))}),t.background||(t.background={item:n,value:zH(e.getPropertyValue("background-color"))})}return t})(u.rule):null,h=e=>{e>l[mS.colorContrast].length-1?i(0):i(e)},f=d?Gq(d):null;return(0,Nt.jsxs)(Lk,{children:[a?(0,Nt.jsx)(Kq,{item:{id:c.id,node:d,data:u,messageArgs:[f?.ratio,"","",p.color?.value,p.background?.value],path:{dom:u?.xpath},isEdit:a,isPotential:f?.isPotential,parentNode:p.background?.item,global:"1"===c.global},current:o,setCurrent:h,setIsEdit:s}):(0,Nt.jsx)(uZ,{item:c,node:d,color:p.color,background:p.background,current:o,openEdit:()=>{s(!0)}}),(0,Nt.jsx)(M$,{total:l[mS.colorContrast].length,current:o,setCurrent:h})]})},pZ=()=>{const{notificationMessage:e,notificationType:t}=Un(),{setOpenedBlock:r,violation:n,resolved:o,openedBlock:i,isError:a,isManage:s,quotaExceeded:l,loading:c}=QS(),{tabsProps:u,getTabProps:d,getTabPanelProps:p}=NN(),h=(0,Vn.useRef)(null),f=Boolean(!s&&(o>0&&n===o||0===n));(0,Vn.useEffect)(()=>{window.ea11yScannerData?.planData?.user?.id&&null!==n&&(async()=>{const{ea11ySettingsData:e,ea11yScannerData:t}=window,r=e?.planData||t?.planData,n=e?.planScope||t?.planScope,o=r?.plan;if(!r?.scopes?.includes(Hw)&&!n?.includes(Hw))return;const i=e?.pluginEnv||t?.pluginEnv,a=e?.pluginVersion||t?.pluginVersion;await $w.init("150605b3b9f979922f2ac5a52e2dcfe9",{debug:"dev"===i,track_pageview:!1,persistence:"localStorage"}),$w.register({productName:"app_access",appType:"Apps",version:a,environment:i,is_trial:Boolean(o?.name?.toLowerCase().includes("free")),plan_type:o?.name,subscription_id:o?.subscription_id}),$w.identify(r?.user?.id);const s={$email:r?.user?.email,$user_id:r?.user?.id,$subscription_type:o?.name,$subscription_id:o?.subscription_id,$subscription_status:o?.status,$scanned_urls:`${r?.scannedPages?.used||0}/${r?.scannedPages?.allowed||0}`};$w.people?.set_once(s)})()},[window.ea11yScannerData?.planData?.user?.id,n]),(0,Vn.useEffect)(()=>{f&&(ZS(),r(mS.main))},[f]),(0,Vn.useEffect)(()=>{fS&&!l||Ww(Vw.upgradeSuggestionViewed,{current_plan:window.ea11yScannerData?.planData?.plan?.name,action_trigger:"scan_triggered",feature_locked:"multi-page scan"})},[fS,l]);const m=()=>window.ea11yScannerData?.isConnected?!fS||l?(0,Nt.jsx)(ON,{}):a?(0,Nt.jsx)(rS,{}):c?(0,Nt.jsx)(IN,{}):null:(0,Nt.jsx)(MN,{});return(0,Nt.jsx)(Mi.FocusTrap,{containerElements:[h.current],focusTrapOptions:{initialFocus:!1,allowOutsideClick:!0},children:(0,Nt.jsx)(Rk,{elevation:6,ref:h,children:(0,Nt.jsxs)(wo,{fallback:(0,Nt.jsx)(rS,{}),children:[(0,Nt.jsx)(RN,{}),(0,Nt.jsx)(vo,{sx:{borderBottom:1,borderColor:"divider"},children:(0,Nt.jsxs)(Ik,{...u,"aria-label":(0,tS.__)("Accessibility Assistant Tabs","pojo-accessibility"),variant:"fullWidth",children:[(0,Nt.jsx)(Ii,{label:(0,tS.__)("Issues found","pojo-accessibility"),...d(mS.main)}),(0,Nt.jsx)(Ii,{label:(0,tS.__)("Manage fixes","pojo-accessibility"),...d(mS.management)})]})}),(0,Nt.jsx)(iN,{}),(0,Nt.jsx)(Mk,{...p(mS.main),children:m()||(()=>{if(f)return(0,Nt.jsx)(FN,{});switch(i){case mS.main:return(0,Nt.jsx)($N,{});case mS.altText:return(0,Nt.jsx)(P$,{});case mS.colorContrast:return(0,Nt.jsx)(Xq,{});case mS.headingStructure:return(0,Nt.jsx)(mU,{});default:return(0,Nt.jsx)(OH,{})}})()}),(0,Nt.jsx)(Mk,{...p(mS.management),children:m()||(()=>{switch(i){case mS.management:return(0,Nt.jsx)(qU,{});case mS.altText:return(0,Nt.jsx)(sZ,{});case mS.colorContrast:return(0,Nt.jsx)(dZ,{});case mS.headingStructure:return(0,Nt.jsx)(mU,{});default:return(0,Nt.jsx)(nZ,{})}})()}),(0,Nt.jsx)(Ws,{message:e,type:t})]})})})};window.addEventListener("load",()=>{const e=new URLSearchParams(window.location.search);"1"!==e.get("open-ea11y-assistant")&&"1"!==e.get(nS)||setTimeout(()=>{hZ()},500)}),document.addEventListener("DOMContentLoaded",function(){document.querySelector("#wp-admin-bar-ea11y-clear-cache > a")?.addEventListener("click",async e=>{e.stopPropagation(),e.preventDefault();try{await oo.clearCache(),window.location.reload()}catch(e){console.error(e)}}),document.querySelectorAll("#wp-admin-bar-ea11y-scanner-wizard > a, #wp-admin-bar-ea11y-scan-page > a")?.forEach(e=>{e.addEventListener("click",e=>{e.preventDefault();const t=document.getElementById(oS),r=new URL(window.location.href);r.searchParams.delete("open-ea11y-assistant-src"),r.searchParams.append("open-ea11y-assistant-src","top_bar"),history.replaceState(null,"",r),t?SN(t):hZ()})})});const hZ=()=>{const e=document.querySelector("#wpadminbar");window.ea11yScannerData={...window.ea11yScannerData,adminBar:e},e.remove();const t=document.createElement("aside");t.id=oS,t.setAttribute("aria-label",(0,tS.__)("Accessibility Assistant","pojo-accessibility")),cS&&t.setAttribute("dir","rtl"),document.body.style[cS?"marginLeft":"marginRight"]="425px",document.body.appendChild(t);const r=t.attachShadow({mode:"open"}),n=document.createElement("div");r.appendChild(n);const o=window?.ea11ySettingsData?.isDevelopment,i=Boolean(o)?Vn.StrictMode:Vn.Fragment,a=(0,$n.A)({key:"css",prepend:!0,container:r,stylisPlugins:cS?[Wn,Q]:[]}),s=Ot({direction:cS?"rtl":"ltr"});(0,Vn.createRoot)(n).render((0,Nt.jsx)(i,{children:(0,Nt.jsx)(Dt.C,{value:a,children:(0,Nt.jsx)(ke,{rtl:cS,children:(0,Nt.jsx)(Bn,{colorScheme:"light",theme:s,children:(0,Nt.jsx)(Zn,{children:(0,Nt.jsx)(YS,{children:(0,Nt.jsx)(zN,{children:(0,Nt.jsx)(iO,{children:(0,Nt.jsx)(pZ,{})})})})})})})})}))}})()})();