@pie-element/graphing-solution-set 7.0.6-next.20261018193205 → 7.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/{alert-dialog-BxXnixdj.js → alert-dialog-B1c779HK.js} +6689 -6689
- package/dist/browser/alert-dialog-B1c779HK.js.map +1 -0
- package/dist/browser/author/index.js +2 -2
- package/dist/browser/controller/index.js +1 -1
- package/dist/browser/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{alert-dialog-Bt9AQcOF.js → alert-dialog-Cr0KjaTL.js} +55 -55
- package/dist/browser/editor-runtime/alert-dialog-Cr0KjaTL.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +2 -2
- package/dist/browser/editor-runtime/controller/index.js +1 -1
- package/dist/browser/editor-runtime/delivery/index.js +2 -2
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-dkZMHJg3.js → mathjax-DqXi3q4c-D1xlfO-P.js} +4 -4
- package/dist/browser/editor-runtime/{mathjax-CptWnMbQ-dkZMHJg3.js.map → mathjax-DqXi3q4c-D1xlfO-P.js.map} +1 -1
- package/dist/browser/{mathjax-CptWnMbQ-BbN1Sm7H.js → mathjax-DqXi3q4c-BXH3ZWuO.js} +4 -4
- package/dist/browser/{mathjax-CptWnMbQ-BbN1Sm7H.js.map → mathjax-DqXi3q4c-BXH3ZWuO.js.map} +1 -1
- package/dist/index.iife.js +1 -1
- package/dist/schemas/configuration.schema.json +1 -1
- package/dist/schemas/model.schema.json +1 -1
- package/dist/schemas/session.schema.json +1 -1
- package/package.json +13 -13
- package/dist/browser/alert-dialog-BxXnixdj.js.map +0 -1
- package/dist/browser/editor-runtime/alert-dialog-Bt9AQcOF.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -40,7 +40,7 @@ Error generating stack: `+e.message+`
|
|
|
40
40
|
color: ${ot} !important;
|
|
41
41
|
background-color: ${ut} !important;
|
|
42
42
|
}
|
|
43
|
-
`;function ft(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=at,t.textContent=dt,e.head.appendChild(t)}var pt=/[-]/g,mt={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},ht={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},gt={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},_t={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},vt={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...ht,...gt,..._t},yt=new Set([`|`,`‖`]),bt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),xt={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},St={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Ct=e=>(e.textContent??``).replace(pt,``).replace(/\s+/g,` `).trim(),wt=e=>e.replace(/\s+/g,` `).trim(),Tt=e=>[...e.children];function Et(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?Et(e.children[0]):!1}function Dt(e){let t=e?Ct(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ot(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function kt(e){return xt[e]??e}function At(e){return vt[e]??e}function jt(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Bt(r)),n=!0;continue}let e=Ct(r);e&&(!n&&mt[e]?t.push(mt[e]):e in _t?t.push(_t[e]):(t.push(At(e)),n=e in gt||yt.has(e)&&n))}return t.filter(Boolean).join(` `)}function Mt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Ct(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Ct(t)===Ct(r)&&!a.some(i)){let e=wt(jt(a));return Ct(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return jt(e)}function Nt(e,t){let n=e?Bt(e):``,r=t?Bt(t):``;return Et(e)&&Et(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function Pt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function Ft(e,t){let n=t?Ct(t):``;if(t&&Et(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in _t)return`${e} ${_t[n]}`}let r=t?Bt(t):``;return Et(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function It(e,t){let n=t?Bt(t):``;return Et(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Lt(e,t,n){let r=Ct(e);if(r===`lim`)return`limit as ${t?Bt(t):``} of`;if(!bt.has(r))return;let i=t?`from ${Bt(t)}`:``,a=n?`to ${Bt(n)}`:``;return`${At(r)} ${i} ${a} of`}function Rt(e){let t=Tt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Tt(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>wt(jt(Tt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function zt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Tt(e).map((e,t,n)=>t<n.length-1?`${Bt(e)} ${At(r[Math.min(t,r.length-1)]??`,`)}`:Bt(e));return[At(t),...i,At(n)].filter(Boolean).join(` `)}function Bt(e){let t=Tt(e);switch(e.localName){case`mi`:return kt(Ct(e));case`mn`:case`mtext`:case`ms`:return Ct(e);case`mo`:return At(Ct(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Bt(t[0]):``;case`mfrac`:return Nt(t[0],t[1]);case`msqrt`:return Pt(wt(jt(t)),`square root`,t.length===1&&Et(t[0]));case`mroot`:{let e=Dt(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ot(e)} root`:`root with index ${t[1]?Bt(t[1]):``}`;return Pt(t[0]?Bt(t[0]):``,n,Et(t[0]))}case`msup`:return Ft(t[0]?Bt(t[0]):``,t[1]);case`msub`:return It(t[0]?Bt(t[0]):``,t[1]);case`msubsup`:return(t[0]?Lt(t[0],t[1],t[2]):void 0)||Ft(It(t[0]?Bt(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?Lt(n,a,o):void 0;if(s)return s;let c=n?Bt(n):``,l=e.localName===`mover`&&r?St[Ct(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Bt(a)} below`:``,o?`with ${Bt(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return zt(e);case`mtable`:return Rt(e);case`mrow`:case`math`:return Mt(t);default:return t.length?jt(t):Ct(e)}}function Vt(e){return wt(Bt(e))}var Ht=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Ut(e){if(e.hasAttribute(`aria-label`)||!e.closest(Ht))return;let t=e.querySelector(`math`),n=t?Vt(t):``;n&&e.setAttribute(`aria-label`,n)}function Wt(e){for(let t of e.querySelectorAll(`mjx-container`))Ut(t)}var Gt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Kt(){let e=globalThis;e[Gt]||(e[Gt]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${y}`))}function qt(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Kt()}function Jt(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>qt(e),{once:!0}),a})}`${S}`;var Yt={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1],perpendicular:`\\perp`,divide:`\\div`},Xt=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Zt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Qt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,$t=/\\embed\{newLine\}\[\]/g,en=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],tn=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),nn=`MJX-CHTML-styles`,rn=`PIE-MJX-SVG-styles`,an=`PIE-MathJax-Menu-Settings`,on={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},sn=200,cn=201,ln=202;function un(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function dn(e){for(let[t,n]of en)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function fn(e){return dn(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var pn=`mathjax_ignore`,mn=`mathjax_process`;function hn(e,t){let n=e.closest(`.${pn}, .${mn}`);return n!==null&&t.contains(n)&&!n.classList.contains(mn)}function gn(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||hn(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${fn(n)}\\)`.replace($t,`\\newline `),t.dataset.mathHandled=`true`)}}function _n(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function vn(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Qt:Zt).test(e.textContent??``)}function yn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=A(e,{}.url),c=E(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=ce();return bn(t)&&xn(t),e}}},startup:{typeset:!1,ready:()=>{let e=ce(),r=e?.startup,i=bn(e);i&&(xn(e),Sn(e,s.speechLocales),j(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Cn(r?.document),wn(r?.document),r?.document?.addStyles?.(on),Jt(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Yt}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(Xt),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=M(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),ue(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function bn(e){return!!e?.version?.startsWith(`4.`)}function xn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=fe);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=rn)}function Sn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=an;try{let e=localStorage.getItem(an);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(an,JSON.stringify(i)):localStorage.removeItem(an)}catch{}}}function Cn(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(un(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,cn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&un(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===nn&&(r.id=fe),Dn()}function wn(e){let t=e=>{e.typesetRoot&&Ut(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,ln,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function Tn(e){return e instanceof HTMLStyleElement&&pe.includes(e.id)}function En(e){oe(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function Dn(){let e=document.head,t=[...e.children].find(Tn);if(t){En(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(Tn);if(e){En(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function On(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=sn&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function kn(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=ce()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function An(e){let t=ce();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():kn(t):yn(e)}function jn(e){return An(e).then(()=>{let e=ce();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function Mn(e){let t=de,n=t[tn];return n||(n=jn(e),t[tn]=n),n}function Nn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=me();r&&oe(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),gn(n),ve(n),_n(n),it(n);let i=Mn(e);if(!vn(n,t)){i.catch(()=>{});return}await i;let a=ce();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ft(),On(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}un(n),Wt(n)}}}var Pn=`@pie-lib/math-rendering`,Fn=`@pie-lib/math-rendering@2`,In=`pie-print`,Ln=50,Rn=1e4,zn=null;function Bn(){return!!window[Fn]?.opts?.useSingleDollar}function Vn(){return zn||=Nn({useSingleDollar:Bn()}),zn}function Hn(){if(typeof window>`u`)return null;let e=window[Pn];return typeof e?.renderMath==`function`&&e.renderMath!==Kn?e:null}function Un(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===In)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Wn(){let e=window.renderMath;return typeof e==`function`?e:null}async function Gn(e){let t=Un(e);if(!t)return null;let n=Wn();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Rn;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,Ln));let e=Wn();if(e)return e}return null}var Kn=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=Hn(),i=r||t?null:await Gn(n);return r?(await r.renderMath?.(n),Wt(n)):i&&i!==Kn?(await i(n),Wt(n)):await Vn()(n),t?n.innerHTML:void 0},qn=(e,t)=>{let n=Hn()?.wrapMath?.(e,t);if(n!=null)return n;let[r,i]=t===`dollar`||t===`double_dollar`?[`$`,`$`]:[`\\(`,`\\)`];return`${r}${dn(e)}${i}`},Jn=e=>{let t=e.trim();return t.startsWith(`\\[`)&&t.endsWith(`\\]`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`\\[`,close:`\\]`}}:t.startsWith(`\\(`)&&t.endsWith(`\\)`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`\\(`,close:`\\)`}}:t.startsWith(`$$`)&&t.endsWith(`$$`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`$$`,close:`$$`}}:t.startsWith(`$`)&&t.endsWith(`$`)?{unwrapped:t.slice(1,-1).trim(),wrapper:{open:`$`,close:`$`}}:{unwrapped:t}},Yn={line:e=>e&&Yn.point(e.from)&&Yn.point(e.to),point:e=>e&&Number.isFinite(e.x)&&Number.isFinite(e.y)},Xn=(e,t)=>Number(Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2).toFixed(3)),Zn=(e,t)=>{let n=e,r=!1,i=[...t];i.push(t[0]);for(let e=0;e<i.length-1;e++){let t=i[e],a=i[e+1];if(Xn(t,n)+Xn(n,a)===Xn(t,a)){r=!0;break}}return r},Qn=(e,t,n,r,i,a,o,s)=>{let c,l=(s-a)*(n-e)-(o-i)*(r-t);return l===0?null:(c=((o-i)*(t-a)-(s-a)*(e-i))/l,{x:Number((e+c*(n-e)).toFixed(3)),y:Number((t+c*(r-t)).toFixed(3))})},$n=(e,t,n)=>e.x>t.min&&e.x<t.max&&e.y>n.min&&e.y<n.max,er=(e,t,n)=>e.x>=t.min&&e.x<=t.max&&e.y>=n.min&&e.y<=n.max,tr=(e,t,n)=>{let r=[],i=[[t.max,n.max,t.max,n.min],[t.min,n.max,t.min,n.min],[t.min,n.max,t.max,n.max],[t.min,n.min,t.max,n.min]];for(let a=0;a<i.length;a++){let o=Qn(e.from.x,e.from.y,e.to.x,e.to.y,i[a][0],i[a][1],i[a][2],i[a][3]);o&&er(o,t,n)&&r.push(o)}return r},nr=e=>{e.sort((e,t)=>e.y-t.y);let t=(e[0].y+e[e.length-1].y)/2;e.sort((e,t)=>t.x-e.x);let n={x:(e[0].x+e[e.length-1].x)/2,y:t},r;e.forEach(e=>{let t=Math.atan2(e.y-n.y,e.x-n.x);r?t<r&&(t+=Math.PI*2):r=t,e.angle=t}),e.sort((e,t)=>e.angle-t.angle);let i=e.reverse();return i.unshift(i.pop()),i.map(({angle:e,...t})=>t)},rr=(e,t)=>e.x*t.x+e.y*t.y,ir=e=>Math.sqrt(e.x*e.x+e.y*e.y),ar=(e,t)=>{let n=rr(e,t),r=ir(e),i=ir(t);return Math.acos(n/(r*i))},or=(e,t,n,r)=>{let i={x:t.x-e.x,y:t.y-e.y},a={x:n.x-e.x,y:n.y-e.y},o={x:r.x-e.x,y:r.y-e.y},s=ar(i,o)+ar(a,o);return Math.abs(s-ar(i,a))<1e-4},sr=e=>e.filter((t,n)=>n===e.findIndex(e=>t.x===e.x&&t.y===e.y)),cr=e=>{for(let t=0;t<e.length;t++)e[t]=e[t].filter((n,r)=>r===e[t].findIndex(e=>n.x===e.x&&n.y===e.y));e=e.filter(e=>e.length>2);for(let t=0;t<e.length;t++)e[t]=nr(e[t]);return e},lr=(e,t,n)=>{let r=[];return r.push([].concat(e)),r.push([].concat(e)),e[0].x===t.max&&e[1].y===n.max||e[1].x===t.max&&e[0].y===n.max?(r[0].push({x:t.max,y:n.max}),r[1].push({x:t.min,y:n.max},{x:t.min,y:n.min},{x:t.max,y:n.min})):e[0].x===t.min&&e[1].y===n.max||e[1].x===t.min&&e[0].y===n.max?(r[0].push({x:t.min,y:n.max}),r[1].push({x:t.max,y:n.max},{x:t.max,y:n.min},{x:t.min,y:n.min})):e[0].x===t.min&&e[1].y===n.min||e[1].x===t.min&&e[0].y===n.min?(r[0].push({x:t.min,y:n.min}),r[1].push({x:t.max,y:n.min},{x:t.max,y:n.max},{x:t.min,y:n.max})):e[0].x===t.max&&e[1].y===n.min||e[1].x===t.max&&e[0].y===n.min?(r[0].push({x:t.max,y:n.min}),r[1].push({x:t.min,y:n.min},{x:t.min,y:n.max},{x:t.max,y:n.max})):e[0].x===t.min&&e[1].x===t.max||e[0].x===t.max&&e[1].x===t.min?(r[0].push({x:t.min,y:n.max},{x:t.max,y:n.max}),r[1].push({x:t.min,y:n.min},{x:t.max,y:n.min})):(e[0].y===n.min&&e[1].y===n.max||e[0].y===n.max&&e[1].y===n.min)&&(r[0].push({x:t.min,y:n.min},{x:t.min,y:n.max}),r[1].push({x:t.max,y:n.min},{x:t.max,y:n.max})),cr(r)},ur=(e,t,n,r)=>{let i=t[0],a=t[1],o=[{x:n.min,y:r.min},{x:n.min,y:r.max},{x:n.max,y:r.min},{x:n.max,y:r.max}],s=Qn(i.from.x,i.from.y,i.to.x,i.to.y,a.from.x,a.from.y,a.to.x,a.to.y),c=[],l=tr(i,n,r);l=sr(l);let u=tr(a,n,r);if(u=sr(u),s&&$n(s,n,r))for(let e=0;e<l.length;e++)for(let t=0;t<u.length;t++){let n=[],r=[];n.push(s),n.push(l[e]),n.push(u[t]);for(let i=0;i<o.length;i++)or(s,l[e],u[t],o[i])?n.push(o[i]):r.push(o[i]);o=r,c.push(n)}else{let e=lr(l,n,r),t=lr(u,n,r);for(let t=0;t<e.length;t++)Zn(u[0],e[t])&&Zn(u[1],e[t])||c.push(e[t]);for(let e=0;e<t.length;e++)Zn(l[0],t[e])&&Zn(l[1],t[e])||c.push(t[e]);for(let e=0;e<c.length;e++)o=o.filter(function(t){return!c[e].some(function(e){return t.x===e.x&&t.y===e.y})});let i=o.concat(l,u);c.push(i)}return cr(c)},dr=(e,t,n,r)=>(e.numberOfLines===1?e.sections=lr(tr(t[0],n,r),n,r):e.sections=ur(e,t,n,r),e),fr=(e,t)=>{let n=t.length,r=e.x,i=e.y,a=!1,o=t[0],s;for(let e=1;e<=n;e++){if(s=t[e%n],i>Math.min(o.y,s.y)&&i<=Math.max(o.y,s.y)&&r<=Math.max(o.x,s.x)){let e=(i-o.y)*(s.x-o.x)/(s.y-o.y)+o.x;(o.x===s.x||r<=e)&&(a=!a)}o=s}return a},pr=(e,t)=>{if(t.length===0)return!1;if(e.numberOfLines===1){if(t.length===1)return!t[0].building}else if(t.length!==2)return!1;else return!t[1].building},mr=e=>e?(e||[]).filter(({type:e,...t})=>Yn[e]?Yn[e](t):!1):[],hr=function(){return null};hr.isRequired=hr;var gr=()=>hr,P={array:hr,bigint:hr,bool:hr,func:hr,number:hr,object:hr,string:hr,symbol:hr,any:hr,element:hr,elementType:hr,node:hr,arrayOf:gr,instanceOf:gr,objectOf:gr,oneOf:gr,oneOfType:gr,shape:gr,exact:gr,checkPropTypes:()=>{},resetWarningCache:()=>{}};P.PropTypes=P;function _r(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var vr=`$$material`;function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yr.apply(null,arguments)}function br(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]}function xr(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Sr=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||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(xr(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=br(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Cr=`-ms-`,wr=`-moz-`,Tr=`-webkit-`,Er=`comm`,Dr=`rule`,Or=`decl`,kr=`@import`,Ar=`@keyframes`,jr=`@layer`,Mr=Math.abs,Nr=String.fromCharCode,Pr=Object.assign;function Fr(e,t){return Br(e,0)^45?(((t<<2^Br(e,0))<<2^Br(e,1))<<2^Br(e,2))<<2^Br(e,3):0}function Ir(e){return e.trim()}function Lr(e,t){return(e=t.exec(e))?e[0]:e}function Rr(e,t,n){return e.replace(t,n)}function zr(e,t){return e.indexOf(t)}function Br(e,t){return e.charCodeAt(t)|0}function Vr(e,t,n){return e.slice(t,n)}function Hr(e){return e.length}function Ur(e){return e.length}function Wr(e,t){return t.push(e),e}function Gr(e,t){return e.map(t).join(``)}var Kr=1,qr=1,Jr=0,Yr=0,Xr=0,Zr=``;function Qr(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Kr,column:qr,length:o,return:``}}function $r(e,t){return Pr(Qr(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ei(){return Xr}function ti(){return Xr=Yr>0?Br(Zr,--Yr):0,qr--,Xr===10&&(qr=1,Kr--),Xr}function ni(){return Xr=Yr<Jr?Br(Zr,Yr++):0,qr++,Xr===10&&(qr=1,Kr++),Xr}function ri(){return Br(Zr,Yr)}function ii(){return Yr}function ai(e,t){return Vr(Zr,e,t)}function oi(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 si(e){return Kr=qr=1,Jr=Hr(Zr=e),Yr=0,[]}function ci(e){return Zr=``,e}function li(e){return Ir(ai(Yr-1,fi(e===91?e+2:e===40?e+1:e)))}function ui(e){for(;(Xr=ri())&&Xr<33;)ni();return oi(e)>2||oi(Xr)>3?``:` `}function di(e,t){for(;--t&&ni()&&!(Xr<48||Xr>102||Xr>57&&Xr<65||Xr>70&&Xr<97););return ai(e,ii()+(t<6&&ri()==32&&ni()==32))}function fi(e){for(;ni();)switch(Xr){case e:return Yr;case 34:case 39:e!==34&&e!==39&&fi(Xr);break;case 40:e===41&&fi(e);break;case 92:ni();break}return Yr}function pi(e,t){for(;ni()&&e+Xr!==57&&!(e+Xr===84&&ri()===47););return`/*`+ai(t,Yr-1)+`*`+Nr(e===47?e:ni())}function mi(e){for(;!oi(ri());)ni();return ai(e,Yr)}function hi(e){return ci(gi(``,null,null,null,[``],e=si(e),0,[0],e))}function gi(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=ni()){case 40:if(m!=108&&Br(C,d-1)==58){zr(C+=Rr(li(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=li(v);break;case 9:case 10:case 13:case 32:C+=ui(m);break;case 92:C+=di(ii()-1,7);continue;case 47:switch(ri()){case 42:case 47:Wr(vi(pi(ni(),ii()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Hr(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Rr(C,/\f/g,``)),p>0&&Hr(C)-d&&Wr(p>32?yi(C+`;`,r,n,d-1):yi(Rr(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Wr(S=_i(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)gi(C,t,S,S,b,a,d,s,x);else switch(f===99&&Br(C,3)===110?100:f){case 100:case 108:case 109:case 115:gi(e,S,S,r&&Wr(_i(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:gi(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Hr(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ti()==125)continue}switch(C+=Nr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Hr(C)-1)*_,_=1;break;case 64:ri()===45&&(C+=li(ni())),f=ri(),u=d=Hr(y=C+=mi(ii())),v++;break;case 45:m===45&&Hr(C)==2&&(h=0)}}return a}function _i(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Ur(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Vr(e,d+1,d=Mr(h=o[m])),y=e;_<p;++_)(y=Ir(h>0?f[_]+` `+v:Rr(v,/&\f/g,f[_])))&&(c[g++]=y);return Qr(e,t,n,i===0?Dr:s,c,l,u)}function vi(e,t,n){return Qr(e,t,n,Er,Nr(ei()),Vr(e,2,-2),0)}function yi(e,t,n,r){return Qr(e,t,n,Or,Vr(e,0,r),Vr(e,r+1,-1),r)}function bi(e,t){for(var n=``,r=Ur(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function xi(e,t,n,r){switch(e.type){case jr:if(e.children.length)break;case kr:case Or:return e.return=e.return||e.value;case Er:return``;case Ar:return e.return=e.value+`{`+bi(e.children,r)+`}`;case Dr:e.value=e.props.join(`,`)}return Hr(n=bi(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Si(e){var t=Ur(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Ci(e){return function(t){t.root||(t=t.return)&&e(t)}}function wi(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ti=function(e,t,n){for(var r=0,i=0;r=i,i=ri(),r===38&&i===12&&(t[n]=1),!oi(i);)ni();return ai(e,Yr)},Ei=function(e,t){var n=-1,r=44;do switch(oi(r)){case 0:r===38&&ri()===12&&(t[n]=1),e[n]+=Ti(Yr-1,t,n);break;case 2:e[n]+=li(r);break;case 4:if(r===44){e[++n]=ri()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Nr(r)}while(r=ni());return e},Di=function(e,t){return ci(Ei(si(e),t))},Oi=new WeakMap,ki=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Oi.get(n))&&!r){Oi.set(e,!0);for(var i=[],a=Di(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Ai=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function ji(e,t){switch(Fr(e,t)){case 5103:return Tr+`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 Tr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tr+e+wr+e+Cr+e+e;case 6828:case 4268:return Tr+e+Cr+e+e;case 6165:return Tr+e+Cr+`flex-`+e+e;case 5187:return Tr+e+Rr(e,/(\w+).+(:[^]+)/,Tr+`box-$1$2`+Cr+`flex-$1$2`)+e;case 5443:return Tr+e+Cr+`flex-item-`+Rr(e,/flex-|-self/,``)+e;case 4675:return Tr+e+Cr+`flex-line-pack`+Rr(e,/align-content|flex-|-self/,``)+e;case 5548:return Tr+e+Cr+Rr(e,`shrink`,`negative`)+e;case 5292:return Tr+e+Cr+Rr(e,`basis`,`preferred-size`)+e;case 6060:return Tr+`box-`+Rr(e,`-grow`,``)+Tr+e+Cr+Rr(e,`grow`,`positive`)+e;case 4554:return Tr+Rr(e,/([^-])(transform)/g,`$1`+Tr+`$2`)+e;case 6187:return Rr(Rr(Rr(e,/(zoom-|grab)/,Tr+`$1`),/(image-set)/,Tr+`$1`),e,``)+e;case 5495:case 3959:return Rr(e,/(image-set\([^]*)/,Tr+"$1$`$1");case 4968:return Rr(Rr(e,/(.+:)(flex-)?(.*)/,Tr+`box-pack:$3`+Cr+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Tr+e+e;case 4095:case 3583:case 4068:case 2532:return Rr(e,/(.+)-inline(.+)/,Tr+`$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(Hr(e)-1-t>6)switch(Br(e,t+1)){case 109:if(Br(e,t+4)!==45)break;case 102:return Rr(e,/(.+:)(.+)-([^]+)/,`$1`+Tr+`$2-$3$1`+wr+(Br(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~zr(e,`stretch`)?ji(Rr(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Br(e,t+1)!==115)break;case 6444:switch(Br(e,Hr(e)-3-(~zr(e,`!important`)&&10))){case 107:return Rr(e,`:`,`:`+Tr)+e;case 101:return Rr(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Tr+(Br(e,14)===45?`inline-`:``)+`box$3$1`+Tr+`$2$3$1`+Cr+`$2box$3`)+e}break;case 5936:switch(Br(e,t+11)){case 114:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Tr+e+Cr+e+e}return e}var Mi=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Or:e.return=ji(e.value,e.length);break;case Ar:return bi([$r(e,{value:Rr(e.value,`@`,`@`+Tr)})],r);case Dr:if(e.length)return Gr(e.props,function(t){switch(Lr(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return bi([$r(e,{props:[Rr(t,/:(read-\w+)/,`:`+wr+`$1`)]})],r);case`::placeholder`:return bi([$r(e,{props:[Rr(t,/:(plac\w+)/,`:`+Tr+`input-$1`)]}),$r(e,{props:[Rr(t,/:(plac\w+)/,`:`+wr+`$1`)]}),$r(e,{props:[Rr(t,/:(plac\w+)/,Cr+`input-$1`)]})],r)}return``})}}],Ni=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Mi,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[ki,Ai],l,u=[xi,Ci(function(e){l.insert(e)})],d=Si(c.concat(r,u)),f=function(e){return bi(hi(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Sr({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Pi=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Fi=o(((e,t)=>{t.exports=Pi()})),Ii=o(((e,t)=>{var n=Fi(),r={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,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Li(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ri=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},zi=function(e,t,n){Ri(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Bi(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Vi={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},Hi=/[A-Z]|^ms/g,Ui=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wi=function(e){return e.charCodeAt(1)===45},Gi=function(e){return e!=null&&typeof e!=`boolean`},Ki=wi(function(e){return Wi(e)?e:e.replace(Hi,`-$&`).toLowerCase()}),qi=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Ui,function(e,t,n){return Zi={name:t,styles:n,next:Zi},t})}return Vi[e]!==1&&!Wi(e)&&typeof t==`number`&&t!==0?t+`px`:t};function Ji(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Zi={name:i.name,styles:i.styles,next:Zi},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Zi={name:o.name,styles:o.styles,next:Zi},o=o.next;return a.styles+`;`}return Yi(e,t,n);case`function`:if(e!==void 0){var s=Zi,c=n(e);return Zi=s,Ji(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Yi(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ji(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Gi(s)&&(r+=Ki(a)+`:`+qi(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Gi(o[c])&&(r+=Ki(a)+`:`+qi(a,o[c])+`;`);else{var l=Ji(e,t,o);switch(a){case`animation`:case`animationName`:r+=Ki(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Xi=/label:\s*([^\s;{]+)\s*(;|$)/g,Zi;function Qi(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Zi=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Ji(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Ji(n,t,e[o]),r&&(i+=a[o]);Xi.lastIndex=0;for(var s=``,c;(c=Xi.exec(i))!==null;)s+=`-`+c[1];return{name:Bi(i)+s,styles:i,next:Zi}}var F=l(d()),$i=function(e){return e()},ea=F.useInsertionEffect?F.useInsertionEffect:!1,ta=ea||$i,na=ea||F.useLayoutEffect,ra=F.createContext(typeof HTMLElement<`u`?Ni({key:`css`}):null),ia=ra.Provider,aa=function(e){return(0,F.forwardRef)(function(t,n){return e(t,(0,F.useContext)(ra),n)})},oa=F.createContext({}),sa={}.hasOwnProperty,ca=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,la=function(e,t){var n={};for(var r in t)sa.call(t,r)&&(n[r]=t[r]);return n[ca]=e,n},ua=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ri(t,n,r),ta(function(){return zi(t,n,r)}),null},da=aa(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[ca],a=[r],o=``;typeof e.className==`string`?o=Li(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Qi(a,void 0,F.useContext(oa));o+=t.key+`-`+s.name;var c={};for(var l in e)sa.call(e,l)&&l!==`css`&&l!==ca&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),F.createElement(F.Fragment,null,F.createElement(ua,{cache:t,serialized:s,isStringTag:typeof i==`string`}),F.createElement(i,c))});Ii();var fa=function(e,t){var n=arguments;if(t==null||!sa.call(t,`css`))return F.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=da,i[1]=la(e,t);for(var a=2;a<r;a++)i[a]=n[a];return F.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(fa||={});var pa=aa(function(e,t){var n=e.styles,r=Qi([n],void 0,F.useContext(oa)),i=F.useRef();return na(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),na(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&zi(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function ma(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qi(t)}function ha(){var e=ma.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_`}}}var ga=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,_a=wi(function(e){return ga.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),va=function(e){return e!==`theme`},ya=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?_a:va},ba=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},xa=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ri(t,n,r),ta(function(){return zi(t,n,r)}),null},Sa=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=ba(t,n,r),c=s||ya(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=aa(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=F.useContext(oa)}typeof e.className==`string`?a=Li(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Qi(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?ya(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),F.createElement(F.Fragment,null,F.createElement(xa,{cache:t,serialized:m,isStringTag:typeof r==`string`}),F.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,yr({},n,r,{shouldForwardProp:ba(h,r,!0)})).apply(void 0,d)},h}},Ca=`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`.split(`.`),wa=Sa.bind(null);Ca.forEach(function(e){wa[e]=wa(e)});var Ta=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),I=o(((e,t)=>{t.exports=Ta()}))(),Ea=new Map,Da={insert:void 0},Oa=(e,t)=>{let n=Ni(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},ka;if(typeof document==`object`&&(ka=document.querySelector(`[name="emotion-insertion-point"]`),!ka)){ka=document.createElement(`meta`),ka.setAttribute(`name`,`emotion-insertion-point`),ka.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(ka)}function Aa(e,t){if(e||t){class n extends Sr{insert(e,t){return Da.insert?Da.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=ka),super.insert(e,t))}}let r=Oa({key:`css`,insertionPoint:e?ka:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function ja(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=F.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ea.has(e))return Ea.get(e);let r=Aa(t,n);return Ea.set(e,r),r},[t,n]);return i?(0,I.jsx)(ia,{value:i,children:r}):r}function Ma(e){return e==null||Object.keys(e).length===0}function Na(e){let{styles:t,defaultTheme:n={}}=e;return(0,I.jsx)(pa,{styles:typeof t==`function`?e=>t(Ma(e)?n:e):t})}function Pa(e,t){return wa(e,t)}function Fa(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ia=[];function La(e){return Ia[0]=e,Qi(Ia)}var Ra=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),za=o(((e,t)=>{t.exports=Ra()}))();function Ba(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Va(e){if(F.isValidElement(e)||(0,za.isValidElementType)(e)||!Ba(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Va(e[n])}),t}function Ha(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Ba(e)&&Ba(t)&&Object.keys(t).forEach(i=>{F.isValidElement(t[i])||(0,za.isValidElementType)(t[i])?r[i]=t[i]:Ba(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ba(e[i])?r[i]=Ha(e[i],t[i],n):n.clone?r[i]=Ba(t[i])?Va(t[i]):t[i]:r[i]=t[i]}),r}var Ua=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Wa(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ua(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function Ga(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Ka(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function qa(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function Ja(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Ya={borderRadius:4};function Xa(e,t){return t?Ha(e,t,{clone:!1}):e}var Za={xs:0,sm:600,md:900,lg:1200,xl:1536},Qa={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Za[e]}px)`},$a={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Za[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function eo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Qa;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Qa;return Object.keys(t).reduce((i,a)=>{if(Ka(e.keys,a)){let e=qa(r.containerQueries?r:$a,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Za).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function to(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function no(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function ro(e){if(typeof e!=`string`)throw Error(_r(7));return e.charAt(0).toUpperCase()+e.slice(1)}function io(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function ao(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:io(e,n)||r,t&&(i=t(i,r,e)),i}function oo(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=io(o,r)||{};return eo(e,a,e=>{let r=ao(s,i,e);return e===r&&typeof e==`string`&&(r=ao(s,i,`${t}${e==="default"?``:ro(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function so(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var co={m:`margin`,p:`padding`},lo={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},uo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},fo=so(e=>{if(e.length>2)if(uo[e])e=uo[e];else return[e];let[t,n]=e.split(``),r=co[t],i=lo[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),po=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],mo=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ho=[...po,...mo];function go(e,t,n,r){let i=io(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function _o(e){return go(e,`spacing`,8,`spacing`)}function vo(e,t){return typeof t==`string`||t==null?t:e(t)}function yo(e,t){return n=>e.reduce((e,r)=>(e[r]=vo(t,n),e),{})}function bo(e,t,n,r){if(!t.includes(n))return null;let i=yo(fo(n),r),a=e[n];return eo(e,a,i)}function xo(e,t){let n=_o(e.theme);return Object.keys(e).map(r=>bo(e,t,r,n)).reduce(Xa,{})}function So(e){return xo(e,po)}So.propTypes={},So.filterProps=po;function Co(e){return xo(e,mo)}Co.propTypes={},Co.filterProps=mo;function wo(e){return xo(e,ho)}wo.propTypes={},wo.filterProps=ho;function To(e=8,t=_o({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Eo(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Xa(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Do(e){return typeof e==`number`?`${e}px solid`:e}function Oo(e,t){return oo({prop:e,themeKey:`borders`,transform:t})}var ko=Oo(`border`,Do),Ao=Oo(`borderTop`,Do),jo=Oo(`borderRight`,Do),Mo=Oo(`borderBottom`,Do),No=Oo(`borderLeft`,Do),Po=Oo(`borderColor`),Fo=Oo(`borderTopColor`),Io=Oo(`borderRightColor`),Lo=Oo(`borderBottomColor`),Ro=Oo(`borderLeftColor`),zo=Oo(`outline`,Do),Bo=Oo(`outlineColor`),Vo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=go(e.theme,`shape.borderRadius`,4,`borderRadius`);return eo(e,e.borderRadius,e=>({borderRadius:vo(t,e)}))}return null};Vo.propTypes={},Vo.filterProps=[`borderRadius`],Eo(ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro,Vo,zo,Bo);var Ho=e=>{if(e.gap!==void 0&&e.gap!==null){let t=go(e.theme,`spacing`,8,`gap`);return eo(e,e.gap,e=>({gap:vo(t,e)}))}return null};Ho.propTypes={},Ho.filterProps=[`gap`];var Uo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=go(e.theme,`spacing`,8,`columnGap`);return eo(e,e.columnGap,e=>({columnGap:vo(t,e)}))}return null};Uo.propTypes={},Uo.filterProps=[`columnGap`];var Wo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=go(e.theme,`spacing`,8,`rowGap`);return eo(e,e.rowGap,e=>({rowGap:vo(t,e)}))}return null};Wo.propTypes={},Wo.filterProps=[`rowGap`],Eo(Ho,Uo,Wo,oo({prop:`gridColumn`}),oo({prop:`gridRow`}),oo({prop:`gridAutoFlow`}),oo({prop:`gridAutoColumns`}),oo({prop:`gridAutoRows`}),oo({prop:`gridTemplateColumns`}),oo({prop:`gridTemplateRows`}),oo({prop:`gridTemplateAreas`}),oo({prop:`gridArea`}));function Go(e,t){return t===`grey`?t:e}Eo(oo({prop:`color`,themeKey:`palette`,transform:Go}),oo({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Go}),oo({prop:`backgroundColor`,themeKey:`palette`,transform:Go}));function Ko(e){return e<=1&&e!==0?`${e*100}%`:e}var qo=oo({prop:`width`,transform:Ko}),Jo=e=>e.maxWidth!==void 0&&e.maxWidth!==null?eo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Za[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Ko(t)}}):null;Jo.filterProps=[`maxWidth`];var Yo=oo({prop:`minWidth`,transform:Ko}),Xo=oo({prop:`height`,transform:Ko}),Zo=oo({prop:`maxHeight`,transform:Ko}),Qo=oo({prop:`minHeight`,transform:Ko});oo({prop:`size`,cssProperty:`width`,transform:Ko}),oo({prop:`size`,cssProperty:`height`,transform:Ko}),Eo(qo,Jo,Yo,Xo,Zo,Qo,oo({prop:`boxSizing`}));var $o={border:{themeKey:`borders`,transform:Do},borderTop:{themeKey:`borders`,transform:Do},borderRight:{themeKey:`borders`,transform:Do},borderBottom:{themeKey:`borders`,transform:Do},borderLeft:{themeKey:`borders`,transform:Do},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Do},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Vo},color:{themeKey:`palette`,transform:Go},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Go},backgroundColor:{themeKey:`palette`,transform:Go},p:{style:Co},pt:{style:Co},pr:{style:Co},pb:{style:Co},pl:{style:Co},px:{style:Co},py:{style:Co},padding:{style:Co},paddingTop:{style:Co},paddingRight:{style:Co},paddingBottom:{style:Co},paddingLeft:{style:Co},paddingX:{style:Co},paddingY:{style:Co},paddingInline:{style:Co},paddingInlineStart:{style:Co},paddingInlineEnd:{style:Co},paddingBlock:{style:Co},paddingBlockStart:{style:Co},paddingBlockEnd:{style:Co},m:{style:So},mt:{style:So},mr:{style:So},mb:{style:So},ml:{style:So},mx:{style:So},my:{style:So},margin:{style:So},marginTop:{style:So},marginRight:{style:So},marginBottom:{style:So},marginLeft:{style:So},marginX:{style:So},marginY:{style:So},marginInline:{style:So},marginInlineStart:{style:So},marginInlineEnd:{style:So},marginBlock:{style:So},marginBlockStart:{style:So},marginBlockEnd:{style:So},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:Ho},rowGap:{style:Wo},columnGap:{style:Uo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Ko},maxWidth:{style:Jo},minWidth:{transform:Ko},height:{transform:Ko},maxHeight:{transform:Ko},minHeight:{transform:Ko},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function es(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function ts(e,t){return typeof e==`function`?e(t):e}function ns(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=io(n,s)||{};return l?l(i):eo(i,t,t=>{let n=ao(u,c,t);return t===n&&typeof t==`string`&&(n=ao(u,c,`${e}${t==="default"?``:ro(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??$o;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=to(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=ts(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=Xa(l,e(n,a,i,o));else{let e=eo({theme:i},a,e=>({[n]:e}));es(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=Xa(l,e)}else l=Xa(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Ga(i,no(c,l))}:Ga(i,no(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var rs=ns();rs.filterProps=[`sx`];function is(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function as(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Wa(n),c=To(i),l=Ha({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ya,...a}},o);return l=Ja(l),l.applyStyles=is,l=t.reduce((e,t)=>Ha(e,t),l),l.unstable_sxConfig={...$o,...o?.unstable_sxConfig},l.unstable_sx=function(e){return rs({sx:e,theme:this})},l}function ss(e){return Object.keys(e).length===0}function cs(e=null){let t=F.useContext(oa);return!t||ss(t)?e:t}var ls=as();function us(e=ls){return cs(e)}function ds(e){let t=La(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function fs({styles:e,themeId:t,defaultTheme:n={}}){let r=us(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>ds(typeof e==`function`?e(i):e)):ds(a)),(0,I.jsx)(Na,{styles:a})}var ps=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??$o;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function ms(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=ps(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return Ba(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}var hs=e=>e,gs=(()=>{let e=hs;return{configure(t){e=t},generate(t){return e(t)},reset(){e=hs}}})();function _s(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=_s(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function L(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=_s(e))&&(r&&(r+=` `),r+=t);return r}var vs={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 ys(e,t,n=`Mui`){let r=vs[t];return r?`${n}-${r}`:`${gs.generate(e)}-${t}`}function bs(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=ys(e,t,n)}),r}function xs(e){let{variants:t,...n}=e,r={variants:t,style:La(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=La(e.style))}),r}var Ss=as();function Cs(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ws(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ts(e){return e?(t,n)=>n[e]:null}function Es(e,t,n){e.theme=As(e.theme)?n:e.theme[t]||e.theme}function Ds(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Ds(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?ws(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?ws(La(i),n):i}return Os(e,r.variants,[t],n)}return r?.isProcessed?n?ws(La(r.style),n):r.style:n?ws(La(r),n):r}function Os(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?ws(La(o.style(i)),r):o.style(i))):n.push(r?ws(La(o.style),r):o.style)}return n}function ks(e={}){let{themeId:t,defaultTheme:n=Ss,rootShouldForwardProp:r=Cs,slotShouldForwardProp:i=Cs}=e;function a(e){Es(e,t,n)}return(e,t={})=>{Fa(e,e=>e.filter(e=>e!==rs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Ts(Ms(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Cs;o===`Root`||o===`root`?m=r:o?m=i:js(e)&&(m=void 0);let h=Pa(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Ds(t,e,t.theme.modularCssLayers?d:void 0)};if(Ba(e)){let t=xs(e);return function(e){return t.variants?Ds(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?ws(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Ds(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Os(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(rs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function As(e){for(let t in e)return!1;return!0}function js(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Ms(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ns(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=Ns(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=L(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Ps=typeof window<`u`?F.useLayoutEffect:F.useEffect;function Fs(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Is(e,t=0,n=1){return Fs(e,t,n)}function Ls(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Rs(e){if(e.type)return e;if(e.charAt(0)===`#`)return Rs(Ls(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(_r(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(_r(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var zs=e=>{let t=Rs(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Bs=(e,t)=>{try{return zs(e)}catch{return e}};function Vs(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Hs(e){e=Rs(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Vs({type:s,values:c})}function Us(e){e=Rs(e);let t=e.type===`hsl`||e.type===`hsla`?Rs(Hs(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 Ws(e,t){let n=Us(e),r=Us(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Gs(e,t){return e=Rs(e),t=Is(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Vs(e)}function Ks(e,t,n){try{return Gs(e,t)}catch{return e}}function qs(e,t){if(e=Rs(e),t=Is(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Vs(e)}function Js(e,t,n){try{return qs(e,t)}catch{return e}}function Ys(e,t){if(e=Rs(e),t=Is(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Vs(e)}function Xs(e,t,n){try{return Ys(e,t)}catch{return e}}function Zs(e,t=.15){return Us(e)>.5?qs(e,t):Ys(e,t)}function Qs(e,t,n){try{return Zs(e,t)}catch{return e}}var $s=F.createContext(null);function ec(){return F.useContext($s)}var tc=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function nc(e,t){return typeof t==`function`?t(e):{...e,...t}}function rc(e){let{children:t,theme:n}=e,r=ec(),i=F.useMemo(()=>{let e=r===null?{...n}:nc(r,n);return e!=null&&(e[tc]=r!==null),e},[n,r]);return(0,I.jsx)($s.Provider,{value:i,children:t})}var ic=F.createContext();function ac({value:e,...t}){return(0,I.jsx)(ic.Provider,{value:e??!0,...t})}var oc=()=>F.useContext(ic)??!1,sc=F.createContext(void 0);function cc({value:e,children:t}){return(0,I.jsx)(sc.Provider,{value:e,children:t})}function lc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Ns(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Ns(i,r,t.components.mergeClassNameAndStyle):r}function uc({props:e,name:t}){return lc({props:e,name:t,theme:{components:F.useContext(sc)}})}var dc=0;function fc(e){let[t,n]=F.useState(e),r=e||t;return F.useEffect(()=>{t??(dc+=1,n(`mui-${dc}`))},[t]),r}var pc={...F}.useId;function mc(e){if(pc!==void 0){let t=pc();return e??t}return fc(e)}function hc(e){let t=cs(),n=mc()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Ps(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,I.jsx)(fs,{styles:i}):null}var gc={};function _c(e,t,n,r=!1){return F.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function vc(e){let{children:t,theme:n,themeId:r}=e,i=cs(gc),a=ec()||gc,o=_c(r,i,n),s=_c(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=hc(o);return(0,I.jsx)(rc,{theme:s,children:(0,I.jsx)(oa.Provider,{value:o,children:(0,I.jsx)(ac,{value:c,children:(0,I.jsxs)(cc,{value:r?o[r].components:o.components,children:[l,t]})})})})}var yc={theme:void 0};function bc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(yc.theme=r.theme,i=xs(e(yc)),t=i,n=r.theme),i}}var xc=`mode`,Sc=`color-scheme`,Cc=`data-color-scheme`;function wc(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=xc,colorSchemeStorageKey:a=Sc,attribute:o=Cc,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
43
|
+
`;function ft(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=at,t.textContent=dt,e.head.appendChild(t)}var pt=/[-]/g,mt={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},ht={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},gt={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},_t={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},vt={"+":`plus`,"-":`minus`,"−":`minus`,"±":`plus or minus`,"∓":`minus or plus`,"×":`times`,"⋅":`times`,"·":`times`,"*":`times`,"÷":`divided by`,"/":`divided by`,"=":`equals`,"≠":`does not equal`,"<":`is less than`,">":`is greater than`,"≤":`is less than or equal to`,"≥":`is greater than or equal to`,"≈":`is approximately equal to`,"≡":`is equivalent to`,"∝":`is proportional to`,"∈":`is an element of`,"∉":`is not an element of`,"⊂":`is a subset of`,"⊆":`is a subset of or equal to`,"∪":`union`,"∩":`intersection`,"→":`right arrow`,"←":`left arrow`,"⇒":`implies`,"⇔":`if and only if`,"∑":`sum`,"∏":`product`,"∫":`integral`,"∞":`infinity`,"∠":`angle`,"⊥":`is perpendicular to`,"∥":`is parallel to`,"∴":`therefore`,",":`comma`,";":`semicolon`,":":`colon`,"|":`vertical bar`,"‖":`double vertical bar`,...ht,...gt,..._t},yt=new Set([`|`,`‖`]),bt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),xt={α:`alpha`,β:`beta`,γ:`gamma`,δ:`delta`,ε:`epsilon`,θ:`theta`,λ:`lambda`,μ:`mu`,π:`pi`,ρ:`rho`,σ:`sigma`,τ:`tau`,φ:`phi`,ω:`omega`,Δ:`capital delta`,Σ:`capital sigma`,Ω:`capital omega`,"∞":`infinity`,sin:`sine`,cos:`cosine`,tan:`tangent`,sec:`secant`,csc:`cosecant`,cot:`cotangent`,ln:`natural log`,lim:`limit`},St={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},Ct=e=>(e.textContent??``).replace(pt,``).replace(/\s+/g,` `).trim(),wt=e=>e.replace(/\s+/g,` `).trim(),Tt=e=>[...e.children];function Et(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?Et(e.children[0]):!1}function Dt(e){let t=e?Ct(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ot(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function kt(e){return xt[e]??e}function At(e){return vt[e]??e}function jt(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Bt(r)),n=!0;continue}let e=Ct(r);e&&(!n&&mt[e]?t.push(mt[e]):e in _t?t.push(_t[e]):(t.push(At(e)),n=e in gt||yt.has(e)&&n))}return t.filter(Boolean).join(` `)}function Mt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(Ct(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&Ct(t)===Ct(r)&&!a.some(i)){let e=wt(jt(a));return Ct(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return jt(e)}function Nt(e,t){let n=e?Bt(e):``,r=t?Bt(t):``;return Et(e)&&Et(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function Pt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function Ft(e,t){let n=t?Ct(t):``;if(t&&Et(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in _t)return`${e} ${_t[n]}`}let r=t?Bt(t):``;return Et(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function It(e,t){let n=t?Bt(t):``;return Et(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Lt(e,t,n){let r=Ct(e);if(r===`lim`)return`limit as ${t?Bt(t):``} of`;if(!bt.has(r))return;let i=t?`from ${Bt(t)}`:``,a=n?`to ${Bt(n)}`:``;return`${At(r)} ${i} ${a} of`}function Rt(e){let t=Tt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>Tt(e).filter(e=>e.localName===`mtd`)),r=Math.max(0,...n.map(e=>e.length)),i=n.map((e,t)=>`row ${t+1}: ${e.map(e=>wt(jt(Tt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function zt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=Tt(e).map((e,t,n)=>t<n.length-1?`${Bt(e)} ${At(r[Math.min(t,r.length-1)]??`,`)}`:Bt(e));return[At(t),...i,At(n)].filter(Boolean).join(` `)}function Bt(e){let t=Tt(e);switch(e.localName){case`mi`:return kt(Ct(e));case`mn`:case`mtext`:case`ms`:return Ct(e);case`mo`:return At(Ct(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Bt(t[0]):``;case`mfrac`:return Nt(t[0],t[1]);case`msqrt`:return Pt(wt(jt(t)),`square root`,t.length===1&&Et(t[0]));case`mroot`:{let e=Dt(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ot(e)} root`:`root with index ${t[1]?Bt(t[1]):``}`;return Pt(t[0]?Bt(t[0]):``,n,Et(t[0]))}case`msup`:return Ft(t[0]?Bt(t[0]):``,t[1]);case`msub`:return It(t[0]?Bt(t[0]):``,t[1]);case`msubsup`:return(t[0]?Lt(t[0],t[1],t[2]):void 0)||Ft(It(t[0]?Bt(t[0]):``,t[1]),t[2]);case`munder`:case`mover`:case`munderover`:{let[n,r,i]=t,a=e.localName===`mover`?void 0:r,o=e.localName===`munder`?void 0:e.localName===`mover`?r:i,s=n?Lt(n,a,o):void 0;if(s)return s;let c=n?Bt(n):``,l=e.localName===`mover`&&r?St[Ct(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Bt(a)} below`:``,o?`with ${Bt(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return zt(e);case`mtable`:return Rt(e);case`mrow`:case`math`:return Mt(t);default:return t.length?jt(t):Ct(e)}}function Vt(e){return wt(Bt(e))}var Ht=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Ut(e){if(e.hasAttribute(`aria-label`)||!e.closest(Ht))return;let t=e.querySelector(`math`),n=t?Vt(t):``;n&&e.setAttribute(`aria-label`,n)}function Wt(e){for(let t of e.querySelectorAll(`mjx-container`))Ut(t)}var Gt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Kt(){let e=globalThis;e[Gt]||(e[Gt]=!0,console.warn(`[math-rendering] MathJax's speech worker did not start, so speech, braille and the explorer are off. A content security policy must allow blob: workers, and scripts and fetches from the asset root. See ${y}`))}function qt(e){let t=e.webworker;if(!t||t.ready)return;e.options??={};let n=e.options;n.enableSpeech=!1,n.enableBraille=!1,n.speechError=()=>{},t.Post=()=>Promise.reject(Error(`The speech worker did not start`)),t.Terminate(),Kt()}function Jt(e){let t=e?.adaptor,n=t?.createWorker;!e||!t||!n||(t.createWorker=async(r,i)=>{let a=await n.call(t,r,i);return a.addEventListener(`error`,()=>qt(e),{once:!0}),a})}`${S}`;var Yt={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1],perpendicular:`\\perp`,divide:`\\div`},Xt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Zt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,Qt=/\\embed\{newLine\}\[\]/g,$t=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]];function en(e){for(let[t,n]of $t)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function tn(e){return`\\(${en(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}\\)`.replace(Qt,`\\newline `)}var nn=`mathjax_ignore`,rn=`mathjax_process`,an=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,on=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),sn=`MJX-CHTML-styles`,cn=`PIE-MJX-SVG-styles`,ln=`PIE-MathJax-Menu-Settings`,un={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},dn=200,fn=201,pn=202;function mn(e){let t=[...e.matches(`mjx-container`)?[e]:[],...e.querySelectorAll(`mjx-container`)];for(let e of t)for(let t of[e,...e.querySelectorAll(`[data-latex],[data-latex-item]`)])t.removeAttribute(`data-latex`),t.removeAttribute(`data-latex-item`)}function hn(e,t){let n=e.closest(`.${nn}, .${rn}`);return n!==null&&t.contains(n)&&!n.classList.contains(`mathjax_process`)}function gn(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||hn(t,e))continue;let n=t.textContent;n&&(t.textContent=tn(n),t.dataset.mathHandled=`true`)}}function _n(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function vn(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Zt:Xt).test(e.textContent??``)}function yn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=A(e,{}.url),c=E(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=ce();return bn(t)&&xn(t),e}}},startup:{typeset:!1,ready:()=>{let e=ce(),r=e?.startup,i=bn(e);i&&(xn(e),Sn(e,s.speechLocales),j(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(Cn(r?.document),wn(r?.document),r?.document?.addStyles?.(un),Jt(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...Yt}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(an),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=M(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),ue(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function bn(e){return!!e?.version?.startsWith(`4.`)}function xn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=fe);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=cn)}function Sn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=ln;try{let e=localStorage.getItem(ln);if(!e)return;let{assistiveMml:n,locale:r,...i}=JSON.parse(e),a=r===void 0||!t||t.has(r);if(n===void 0&&a)return;a&&r!==void 0&&(i.locale=r),Object.keys(i).length?localStorage.setItem(ln,JSON.stringify(i)):localStorage.removeItem(ln)}catch{}}}function Cn(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(mn(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,fn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&mn(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===sn&&(r.id=fe),Dn()}function wn(e){let t=e=>{e.typesetRoot&&Ut(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,pn,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function Tn(e){return e instanceof HTMLStyleElement&&pe.includes(e.id)}function En(e){oe(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function Dn(){let e=document.head,t=[...e.children].find(Tn);if(t){En(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(Tn);if(e){En(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function On(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=dn&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function kn(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=ce()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function An(e){let t=ce();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():kn(t):yn(e)}function jn(e){return An(e).then(()=>{let e=ce();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function Mn(e){let t=de,n=t[on];return n||(n=jn(e),t[on]=n),n}function Nn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=me();r&&oe(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),gn(n),ve(n),_n(n),it(n);let i=Mn(e);if(!vn(n,t)){i.catch(()=>{});return}await i;let a=ce();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ft(),On(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}mn(n),Wt(n)}}}var Pn=`@pie-lib/math-rendering`,Fn=`@pie-lib/math-rendering@2`,In=`pie-print`,Ln=50,Rn=1e4,zn=null;function Bn(){return!!window[Fn]?.opts?.useSingleDollar}function Vn(){return zn||=Nn({useSingleDollar:Bn()}),zn}function Hn(){if(typeof window>`u`)return null;let e=window[Pn];return typeof e?.renderMath==`function`&&e.renderMath!==Kn?e:null}function Un(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===In)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Wn(){let e=window.renderMath;return typeof e==`function`?e:null}async function Gn(e){let t=Un(e);if(!t)return null;let n=Wn();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Rn;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,Ln));let e=Wn();if(e)return e}return null}var Kn=async e=>{if(typeof window>`u`)return;let t=typeof e==`string`,n;t?(n=document.createElement(`div`),n.innerHTML=e):n=e||document.body;let r=Hn(),i=r||t?null:await Gn(n);return r?(await r.renderMath?.(n),Wt(n)):i&&i!==Kn?(await i(n),Wt(n)):await Vn()(n),t?n.innerHTML:void 0},qn=(e,t)=>{let n=Hn()?.wrapMath?.(e,t);if(n!=null)return n;let[r,i]=t===`dollar`||t===`double_dollar`?[`$`,`$`]:[`\\(`,`\\)`];return`${r}${en(e)}${i}`},Jn=e=>{let t=e.trim();return t.startsWith(`\\[`)&&t.endsWith(`\\]`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`\\[`,close:`\\]`}}:t.startsWith(`\\(`)&&t.endsWith(`\\)`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`\\(`,close:`\\)`}}:t.startsWith(`$$`)&&t.endsWith(`$$`)?{unwrapped:t.slice(2,-2).trim(),wrapper:{open:`$$`,close:`$$`}}:t.startsWith(`$`)&&t.endsWith(`$`)?{unwrapped:t.slice(1,-1).trim(),wrapper:{open:`$`,close:`$`}}:{unwrapped:t}},Yn={line:e=>e&&Yn.point(e.from)&&Yn.point(e.to),point:e=>e&&Number.isFinite(e.x)&&Number.isFinite(e.y)},Xn=(e,t)=>Number(Math.sqrt((e.x-t.x)**2+(e.y-t.y)**2).toFixed(3)),Zn=(e,t)=>{let n=e,r=!1,i=[...t];i.push(t[0]);for(let e=0;e<i.length-1;e++){let t=i[e],a=i[e+1];if(Xn(t,n)+Xn(n,a)===Xn(t,a)){r=!0;break}}return r},Qn=(e,t,n,r,i,a,o,s)=>{let c,l=(s-a)*(n-e)-(o-i)*(r-t);return l===0?null:(c=((o-i)*(t-a)-(s-a)*(e-i))/l,{x:Number((e+c*(n-e)).toFixed(3)),y:Number((t+c*(r-t)).toFixed(3))})},$n=(e,t,n)=>e.x>t.min&&e.x<t.max&&e.y>n.min&&e.y<n.max,er=(e,t,n)=>e.x>=t.min&&e.x<=t.max&&e.y>=n.min&&e.y<=n.max,tr=(e,t,n)=>{let r=[],i=[[t.max,n.max,t.max,n.min],[t.min,n.max,t.min,n.min],[t.min,n.max,t.max,n.max],[t.min,n.min,t.max,n.min]];for(let a=0;a<i.length;a++){let o=Qn(e.from.x,e.from.y,e.to.x,e.to.y,i[a][0],i[a][1],i[a][2],i[a][3]);o&&er(o,t,n)&&r.push(o)}return r},nr=e=>{e.sort((e,t)=>e.y-t.y);let t=(e[0].y+e[e.length-1].y)/2;e.sort((e,t)=>t.x-e.x);let n={x:(e[0].x+e[e.length-1].x)/2,y:t},r;e.forEach(e=>{let t=Math.atan2(e.y-n.y,e.x-n.x);r?t<r&&(t+=Math.PI*2):r=t,e.angle=t}),e.sort((e,t)=>e.angle-t.angle);let i=e.reverse();return i.unshift(i.pop()),i.map(({angle:e,...t})=>t)},rr=(e,t)=>e.x*t.x+e.y*t.y,ir=e=>Math.sqrt(e.x*e.x+e.y*e.y),ar=(e,t)=>{let n=rr(e,t),r=ir(e),i=ir(t);return Math.acos(n/(r*i))},or=(e,t,n,r)=>{let i={x:t.x-e.x,y:t.y-e.y},a={x:n.x-e.x,y:n.y-e.y},o={x:r.x-e.x,y:r.y-e.y},s=ar(i,o)+ar(a,o);return Math.abs(s-ar(i,a))<1e-4},sr=e=>e.filter((t,n)=>n===e.findIndex(e=>t.x===e.x&&t.y===e.y)),cr=e=>{for(let t=0;t<e.length;t++)e[t]=e[t].filter((n,r)=>r===e[t].findIndex(e=>n.x===e.x&&n.y===e.y));e=e.filter(e=>e.length>2);for(let t=0;t<e.length;t++)e[t]=nr(e[t]);return e},lr=(e,t,n)=>{let r=[];return r.push([].concat(e)),r.push([].concat(e)),e[0].x===t.max&&e[1].y===n.max||e[1].x===t.max&&e[0].y===n.max?(r[0].push({x:t.max,y:n.max}),r[1].push({x:t.min,y:n.max},{x:t.min,y:n.min},{x:t.max,y:n.min})):e[0].x===t.min&&e[1].y===n.max||e[1].x===t.min&&e[0].y===n.max?(r[0].push({x:t.min,y:n.max}),r[1].push({x:t.max,y:n.max},{x:t.max,y:n.min},{x:t.min,y:n.min})):e[0].x===t.min&&e[1].y===n.min||e[1].x===t.min&&e[0].y===n.min?(r[0].push({x:t.min,y:n.min}),r[1].push({x:t.max,y:n.min},{x:t.max,y:n.max},{x:t.min,y:n.max})):e[0].x===t.max&&e[1].y===n.min||e[1].x===t.max&&e[0].y===n.min?(r[0].push({x:t.max,y:n.min}),r[1].push({x:t.min,y:n.min},{x:t.min,y:n.max},{x:t.max,y:n.max})):e[0].x===t.min&&e[1].x===t.max||e[0].x===t.max&&e[1].x===t.min?(r[0].push({x:t.min,y:n.max},{x:t.max,y:n.max}),r[1].push({x:t.min,y:n.min},{x:t.max,y:n.min})):(e[0].y===n.min&&e[1].y===n.max||e[0].y===n.max&&e[1].y===n.min)&&(r[0].push({x:t.min,y:n.min},{x:t.min,y:n.max}),r[1].push({x:t.max,y:n.min},{x:t.max,y:n.max})),cr(r)},ur=(e,t,n,r)=>{let i=t[0],a=t[1],o=[{x:n.min,y:r.min},{x:n.min,y:r.max},{x:n.max,y:r.min},{x:n.max,y:r.max}],s=Qn(i.from.x,i.from.y,i.to.x,i.to.y,a.from.x,a.from.y,a.to.x,a.to.y),c=[],l=tr(i,n,r);l=sr(l);let u=tr(a,n,r);if(u=sr(u),s&&$n(s,n,r))for(let e=0;e<l.length;e++)for(let t=0;t<u.length;t++){let n=[],r=[];n.push(s),n.push(l[e]),n.push(u[t]);for(let i=0;i<o.length;i++)or(s,l[e],u[t],o[i])?n.push(o[i]):r.push(o[i]);o=r,c.push(n)}else{let e=lr(l,n,r),t=lr(u,n,r);for(let t=0;t<e.length;t++)Zn(u[0],e[t])&&Zn(u[1],e[t])||c.push(e[t]);for(let e=0;e<t.length;e++)Zn(l[0],t[e])&&Zn(l[1],t[e])||c.push(t[e]);for(let e=0;e<c.length;e++)o=o.filter(function(t){return!c[e].some(function(e){return t.x===e.x&&t.y===e.y})});let i=o.concat(l,u);c.push(i)}return cr(c)},dr=(e,t,n,r)=>(e.numberOfLines===1?e.sections=lr(tr(t[0],n,r),n,r):e.sections=ur(e,t,n,r),e),fr=(e,t)=>{let n=t.length,r=e.x,i=e.y,a=!1,o=t[0],s;for(let e=1;e<=n;e++){if(s=t[e%n],i>Math.min(o.y,s.y)&&i<=Math.max(o.y,s.y)&&r<=Math.max(o.x,s.x)){let e=(i-o.y)*(s.x-o.x)/(s.y-o.y)+o.x;(o.x===s.x||r<=e)&&(a=!a)}o=s}return a},pr=(e,t)=>{if(t.length===0)return!1;if(e.numberOfLines===1){if(t.length===1)return!t[0].building}else if(t.length!==2)return!1;else return!t[1].building},mr=e=>e?(e||[]).filter(({type:e,...t})=>Yn[e]?Yn[e](t):!1):[],hr=function(){return null};hr.isRequired=hr;var gr=()=>hr,P={array:hr,bigint:hr,bool:hr,func:hr,number:hr,object:hr,string:hr,symbol:hr,any:hr,element:hr,elementType:hr,node:hr,arrayOf:gr,instanceOf:gr,objectOf:gr,oneOf:gr,oneOfType:gr,shape:gr,exact:gr,checkPropTypes:()=>{},resetWarningCache:()=>{}};P.PropTypes=P;function _r(e,...t){let n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>n.searchParams.append(`args[]`,e)),`Minified MUI error #${e}; visit ${n} for the full message.`}var vr=`$$material`;function yr(){return yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yr.apply(null,arguments)}function br(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]}function xr(e){var t=document.createElement(`style`);return t.setAttribute(`data-emotion`,e.key),e.nonce!==void 0&&t.setAttribute(`nonce`,e.nonce),t.appendChild(document.createTextNode(``)),t.setAttribute(`data-s`,``),t}var Sr=function(){function e(e){var t=this;this._insertTag=function(e){var n=t.tags.length===0?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling;t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=e.speedy===void 0||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(xr(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=br(t);try{n.insertRule(e,n.cssRules.length)}catch{}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){return e.parentNode?.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Cr=`-ms-`,wr=`-moz-`,Tr=`-webkit-`,Er=`comm`,Dr=`rule`,Or=`decl`,kr=`@import`,Ar=`@keyframes`,jr=`@layer`,Mr=Math.abs,Nr=String.fromCharCode,Pr=Object.assign;function Fr(e,t){return Br(e,0)^45?(((t<<2^Br(e,0))<<2^Br(e,1))<<2^Br(e,2))<<2^Br(e,3):0}function Ir(e){return e.trim()}function Lr(e,t){return(e=t.exec(e))?e[0]:e}function Rr(e,t,n){return e.replace(t,n)}function zr(e,t){return e.indexOf(t)}function Br(e,t){return e.charCodeAt(t)|0}function Vr(e,t,n){return e.slice(t,n)}function Hr(e){return e.length}function Ur(e){return e.length}function Wr(e,t){return t.push(e),e}function Gr(e,t){return e.map(t).join(``)}var Kr=1,qr=1,Jr=0,Yr=0,Xr=0,Zr=``;function Qr(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Kr,column:qr,length:o,return:``}}function $r(e,t){return Pr(Qr(``,null,null,``,null,null,0),e,{length:-e.length},t)}function ei(){return Xr}function ti(){return Xr=Yr>0?Br(Zr,--Yr):0,qr--,Xr===10&&(qr=1,Kr--),Xr}function ni(){return Xr=Yr<Jr?Br(Zr,Yr++):0,qr++,Xr===10&&(qr=1,Kr++),Xr}function ri(){return Br(Zr,Yr)}function ii(){return Yr}function ai(e,t){return Vr(Zr,e,t)}function oi(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 si(e){return Kr=qr=1,Jr=Hr(Zr=e),Yr=0,[]}function ci(e){return Zr=``,e}function li(e){return Ir(ai(Yr-1,fi(e===91?e+2:e===40?e+1:e)))}function ui(e){for(;(Xr=ri())&&Xr<33;)ni();return oi(e)>2||oi(Xr)>3?``:` `}function di(e,t){for(;--t&&ni()&&!(Xr<48||Xr>102||Xr>57&&Xr<65||Xr>70&&Xr<97););return ai(e,ii()+(t<6&&ri()==32&&ni()==32))}function fi(e){for(;ni();)switch(Xr){case e:return Yr;case 34:case 39:e!==34&&e!==39&&fi(Xr);break;case 40:e===41&&fi(e);break;case 92:ni();break}return Yr}function pi(e,t){for(;ni()&&e+Xr!==57&&!(e+Xr===84&&ri()===47););return`/*`+ai(t,Yr-1)+`*`+Nr(e===47?e:ni())}function mi(e){for(;!oi(ri());)ni();return ai(e,Yr)}function hi(e){return ci(gi(``,null,null,null,[``],e=si(e),0,[0],e))}function gi(e,t,n,r,i,a,o,s,c){for(var l=0,u=0,d=o,f=0,p=0,m=0,h=1,g=1,_=1,v=0,y=``,b=i,x=a,S=r,C=y;g;)switch(m=v,v=ni()){case 40:if(m!=108&&Br(C,d-1)==58){zr(C+=Rr(li(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=li(v);break;case 9:case 10:case 13:case 32:C+=ui(m);break;case 92:C+=di(ii()-1,7);continue;case 47:switch(ri()){case 42:case 47:Wr(vi(pi(ni(),ii()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Hr(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Rr(C,/\f/g,``)),p>0&&Hr(C)-d&&Wr(p>32?yi(C+`;`,r,n,d-1):yi(Rr(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(Wr(S=_i(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)gi(C,t,S,S,b,a,d,s,x);else switch(f===99&&Br(C,3)===110?100:f){case 100:case 108:case 109:case 115:gi(e,S,S,r&&Wr(_i(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:gi(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Hr(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&ti()==125)continue}switch(C+=Nr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Hr(C)-1)*_,_=1;break;case 64:ri()===45&&(C+=li(ni())),f=ri(),u=d=Hr(y=C+=mi(ii())),v++;break;case 45:m===45&&Hr(C)==2&&(h=0)}}return a}function _i(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Ur(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Vr(e,d+1,d=Mr(h=o[m])),y=e;_<p;++_)(y=Ir(h>0?f[_]+` `+v:Rr(v,/&\f/g,f[_])))&&(c[g++]=y);return Qr(e,t,n,i===0?Dr:s,c,l,u)}function vi(e,t,n){return Qr(e,t,n,Er,Nr(ei()),Vr(e,2,-2),0)}function yi(e,t,n,r){return Qr(e,t,n,Or,Vr(e,0,r),Vr(e,r+1,-1),r)}function bi(e,t){for(var n=``,r=Ur(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function xi(e,t,n,r){switch(e.type){case jr:if(e.children.length)break;case kr:case Or:return e.return=e.return||e.value;case Er:return``;case Ar:return e.return=e.value+`{`+bi(e.children,r)+`}`;case Dr:e.value=e.props.join(`,`)}return Hr(n=bi(e.children,r))?e.return=e.value+`{`+n+`}`:``}function Si(e){var t=Ur(e);return function(n,r,i,a){for(var o=``,s=0;s<t;s++)o+=e[s](n,r,i,a)||``;return o}}function Ci(e){return function(t){t.root||(t=t.return)&&e(t)}}function wi(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var Ti=function(e,t,n){for(var r=0,i=0;r=i,i=ri(),r===38&&i===12&&(t[n]=1),!oi(i);)ni();return ai(e,Yr)},Ei=function(e,t){var n=-1,r=44;do switch(oi(r)){case 0:r===38&&ri()===12&&(t[n]=1),e[n]+=Ti(Yr-1,t,n);break;case 2:e[n]+=li(r);break;case 4:if(r===44){e[++n]=ri()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=Nr(r)}while(r=ni());return e},Di=function(e,t){return ci(Ei(si(e),t))},Oi=new WeakMap,ki=function(e){if(!(e.type!==`rule`||!e.parent||e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;n.type!==`rule`;)if(n=n.parent,!n)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!Oi.get(n))&&!r){Oi.set(e,!0);for(var i=[],a=Di(t,i),o=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<o.length;l++,c++)e.props[c]=i[s]?a[s].replace(/&\f/g,o[l]):o[l]+` `+a[s]}}},Ai=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function ji(e,t){switch(Fr(e,t)){case 5103:return Tr+`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 Tr+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Tr+e+wr+e+Cr+e+e;case 6828:case 4268:return Tr+e+Cr+e+e;case 6165:return Tr+e+Cr+`flex-`+e+e;case 5187:return Tr+e+Rr(e,/(\w+).+(:[^]+)/,Tr+`box-$1$2`+Cr+`flex-$1$2`)+e;case 5443:return Tr+e+Cr+`flex-item-`+Rr(e,/flex-|-self/,``)+e;case 4675:return Tr+e+Cr+`flex-line-pack`+Rr(e,/align-content|flex-|-self/,``)+e;case 5548:return Tr+e+Cr+Rr(e,`shrink`,`negative`)+e;case 5292:return Tr+e+Cr+Rr(e,`basis`,`preferred-size`)+e;case 6060:return Tr+`box-`+Rr(e,`-grow`,``)+Tr+e+Cr+Rr(e,`grow`,`positive`)+e;case 4554:return Tr+Rr(e,/([^-])(transform)/g,`$1`+Tr+`$2`)+e;case 6187:return Rr(Rr(Rr(e,/(zoom-|grab)/,Tr+`$1`),/(image-set)/,Tr+`$1`),e,``)+e;case 5495:case 3959:return Rr(e,/(image-set\([^]*)/,Tr+"$1$`$1");case 4968:return Rr(Rr(e,/(.+:)(flex-)?(.*)/,Tr+`box-pack:$3`+Cr+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+Tr+e+e;case 4095:case 3583:case 4068:case 2532:return Rr(e,/(.+)-inline(.+)/,Tr+`$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(Hr(e)-1-t>6)switch(Br(e,t+1)){case 109:if(Br(e,t+4)!==45)break;case 102:return Rr(e,/(.+:)(.+)-([^]+)/,`$1`+Tr+`$2-$3$1`+wr+(Br(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~zr(e,`stretch`)?ji(Rr(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Br(e,t+1)!==115)break;case 6444:switch(Br(e,Hr(e)-3-(~zr(e,`!important`)&&10))){case 107:return Rr(e,`:`,`:`+Tr)+e;case 101:return Rr(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+Tr+(Br(e,14)===45?`inline-`:``)+`box$3$1`+Tr+`$2$3$1`+Cr+`$2box$3`)+e}break;case 5936:switch(Br(e,t+11)){case 114:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return Tr+e+Cr+Rr(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return Tr+e+Cr+e+e}return e}var Mi=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Or:e.return=ji(e.value,e.length);break;case Ar:return bi([$r(e,{value:Rr(e.value,`@`,`@`+Tr)})],r);case Dr:if(e.length)return Gr(e.props,function(t){switch(Lr(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return bi([$r(e,{props:[Rr(t,/:(read-\w+)/,`:`+wr+`$1`)]})],r);case`::placeholder`:return bi([$r(e,{props:[Rr(t,/:(plac\w+)/,`:`+Tr+`input-$1`)]}),$r(e,{props:[Rr(t,/:(plac\w+)/,`:`+wr+`$1`)]}),$r(e,{props:[Rr(t,/:(plac\w+)/,Cr+`input-$1`)]})],r)}return``})}}],Ni=function(e){var t=e.key;if(t===`css`){var n=document.querySelectorAll(`style[data-emotion]:not([data-s])`);Array.prototype.forEach.call(n,function(e){e.getAttribute(`data-emotion`).indexOf(` `)!==-1&&(document.head.appendChild(e),e.setAttribute(`data-s`,``))})}var r=e.stylisPlugins||Mi,i={},a,o=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(`style[data-emotion^="`+t+` "]`),function(e){for(var t=e.getAttribute(`data-emotion`).split(` `),n=1;n<t.length;n++)i[t[n]]=!0;o.push(e)});var s,c=[ki,Ai],l,u=[xi,Ci(function(e){l.insert(e)})],d=Si(c.concat(r,u)),f=function(e){return bi(hi(e),d)};s=function(e,t,n,r){l=n,f(e?e+`{`+t.styles+`}`:t.styles),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Sr({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:s};return p.sheet.hydrate(o),p},Pi=o((e=>{var t=typeof Symbol==`function`&&Symbol.for,n=t?Symbol.for(`react.element`):60103,r=t?Symbol.for(`react.portal`):60106,i=t?Symbol.for(`react.fragment`):60107,a=t?Symbol.for(`react.strict_mode`):60108,o=t?Symbol.for(`react.profiler`):60114,s=t?Symbol.for(`react.provider`):60109,c=t?Symbol.for(`react.context`):60110,l=t?Symbol.for(`react.async_mode`):60111,u=t?Symbol.for(`react.concurrent_mode`):60111,d=t?Symbol.for(`react.forward_ref`):60112,f=t?Symbol.for(`react.suspense`):60113,p=t?Symbol.for(`react.suspense_list`):60120,m=t?Symbol.for(`react.memo`):60115,h=t?Symbol.for(`react.lazy`):60116,g=t?Symbol.for(`react.block`):60121,_=t?Symbol.for(`react.fundamental`):60117,v=t?Symbol.for(`react.responder`):60118,y=t?Symbol.for(`react.scope`):60119;function b(e){if(typeof e==`object`&&e){var t=e.$$typeof;switch(t){case n:switch(e=e.type,e){case l:case u:case i:case o:case a:case f:return e;default:switch(e&&=e.$$typeof,e){case c:case d:case h:case m:case s:return e;default:return t}}case r:return t}}}function x(e){return b(e)===u}e.AsyncMode=l,e.ConcurrentMode=u,e.ContextConsumer=c,e.ContextProvider=s,e.Element=n,e.ForwardRef=d,e.Fragment=i,e.Lazy=h,e.Memo=m,e.Portal=r,e.Profiler=o,e.StrictMode=a,e.Suspense=f,e.isAsyncMode=function(e){return x(e)||b(e)===l},e.isConcurrentMode=x,e.isContextConsumer=function(e){return b(e)===c},e.isContextProvider=function(e){return b(e)===s},e.isElement=function(e){return typeof e==`object`&&!!e&&e.$$typeof===n},e.isForwardRef=function(e){return b(e)===d},e.isFragment=function(e){return b(e)===i},e.isLazy=function(e){return b(e)===h},e.isMemo=function(e){return b(e)===m},e.isPortal=function(e){return b(e)===r},e.isProfiler=function(e){return b(e)===o},e.isStrictMode=function(e){return b(e)===a},e.isSuspense=function(e){return b(e)===f},e.isValidElementType=function(e){return typeof e==`string`||typeof e==`function`||e===i||e===u||e===o||e===a||e===f||e===p||typeof e==`object`&&!!e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===s||e.$$typeof===c||e.$$typeof===d||e.$$typeof===_||e.$$typeof===v||e.$$typeof===y||e.$$typeof===g)},e.typeOf=b})),Fi=o(((e,t)=>{t.exports=Pi()})),Ii=o(((e,t)=>{var n=Fi(),r={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,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[n.ForwardRef]=a,s[n.Memo]=o;function c(e){return n.isMemo(e)?o:s[e.$$typeof]||r}var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;function h(e,t,n){if(typeof t!=`string`){if(m){var r=p(t);r&&r!==m&&h(e,r,n)}var a=u(t);d&&(a=a.concat(d(t)));for(var o=c(e),s=c(t),g=0;g<a.length;++g){var _=a[g];if(!i[_]&&!(n&&n[_])&&!(s&&s[_])&&!(o&&o[_])){var v=f(t,_);try{l(e,_,v)}catch{}}}}return e}t.exports=h}));function Li(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ri=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},zi=function(e,t,n){Ri(e,t,n);var r=e.key+`-`+t.name;if(e.inserted[t.name]===void 0){var i=t;do e.insert(t===i?`.`+r:``,i,e.sheet,!0),i=i.next;while(i!==void 0)}};function Bi(e){for(var t=0,n,r=0,i=e.length;i>=4;++r,i-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Vi={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},Hi=/[A-Z]|^ms/g,Ui=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Wi=function(e){return e.charCodeAt(1)===45},Gi=function(e){return e!=null&&typeof e!=`boolean`},Ki=wi(function(e){return Wi(e)?e:e.replace(Hi,`-$&`).toLowerCase()}),qi=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Ui,function(e,t,n){return Zi={name:t,styles:n,next:Zi},t})}return Vi[e]!==1&&!Wi(e)&&typeof t==`number`&&t!==0?t+`px`:t};function Ji(e,t,n){if(n==null)return``;var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case`boolean`:return``;case`object`:var i=n;if(i.anim===1)return Zi={name:i.name,styles:i.styles,next:Zi},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Zi={name:o.name,styles:o.styles,next:Zi},o=o.next;return a.styles+`;`}return Yi(e,t,n);case`function`:if(e!==void 0){var s=Zi,c=n(e);return Zi=s,Ji(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Yi(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ji(e,t,n[i])+`;`;else for(var a in n){var o=n[a];if(typeof o!=`object`){var s=o;t!=null&&t[s]!==void 0?r+=a+`{`+t[s]+`}`:Gi(s)&&(r+=Ki(a)+`:`+qi(a,s)+`;`)}else if(Array.isArray(o)&&typeof o[0]==`string`&&(t==null||t[o[0]]===void 0))for(var c=0;c<o.length;c++)Gi(o[c])&&(r+=Ki(a)+`:`+qi(a,o[c])+`;`);else{var l=Ji(e,t,o);switch(a){case`animation`:case`animationName`:r+=Ki(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Xi=/label:\s*([^\s;{]+)\s*(;|$)/g,Zi;function Qi(e,t,n){if(e.length===1&&typeof e[0]==`object`&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,i=``;Zi=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Ji(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Ji(n,t,e[o]),r&&(i+=a[o]);Xi.lastIndex=0;for(var s=``,c;(c=Xi.exec(i))!==null;)s+=`-`+c[1];return{name:Bi(i)+s,styles:i,next:Zi}}var F=l(d()),$i=function(e){return e()},ea=F.useInsertionEffect?F.useInsertionEffect:!1,ta=ea||$i,na=ea||F.useLayoutEffect,ra=F.createContext(typeof HTMLElement<`u`?Ni({key:`css`}):null),ia=ra.Provider,aa=function(e){return(0,F.forwardRef)(function(t,n){return e(t,(0,F.useContext)(ra),n)})},oa=F.createContext({}),sa={}.hasOwnProperty,ca=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,la=function(e,t){var n={};for(var r in t)sa.call(t,r)&&(n[r]=t[r]);return n[ca]=e,n},ua=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ri(t,n,r),ta(function(){return zi(t,n,r)}),null},da=aa(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[ca],a=[r],o=``;typeof e.className==`string`?o=Li(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Qi(a,void 0,F.useContext(oa));o+=t.key+`-`+s.name;var c={};for(var l in e)sa.call(e,l)&&l!==`css`&&l!==ca&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),F.createElement(F.Fragment,null,F.createElement(ua,{cache:t,serialized:s,isStringTag:typeof i==`string`}),F.createElement(i,c))});Ii();var fa=function(e,t){var n=arguments;if(t==null||!sa.call(t,`css`))return F.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=da,i[1]=la(e,t);for(var a=2;a<r;a++)i[a]=n[a];return F.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(fa||={});var pa=aa(function(e,t){var n=e.styles,r=Qi([n],void 0,F.useContext(oa)),i=F.useRef();return na(function(){var e=t.key+`-global`,n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),a=!1,o=document.querySelector(`style[data-emotion="`+e+` `+r.name+`"]`);return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),o!==null&&(a=!0,o.setAttribute(`data-emotion`,e),n.hydrate([o])),i.current=[n,a],function(){n.flush()}},[t]),na(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&zi(t,r.next,!0),n.tags.length&&(n.before=n.tags[n.tags.length-1].nextElementSibling,n.flush()),t.insert(``,r,n,!1)},[t,r.name]),null});function ma(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Qi(t)}function ha(){var e=ma.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_`}}}var ga=/^((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|popover|popoverTarget|popoverTargetAction|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)-.*))$/,_a=wi(function(e){return ga.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),va=function(e){return e!==`theme`},ya=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?_a:va},ba=function(e,t,n){var r;if(t){var i=t.shouldForwardProp;r=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return typeof r!=`function`&&n&&(r=e.__emotion_forwardProp),r},xa=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ri(t,n,r),ta(function(){return zi(t,n,r)}),null},Sa=function e(t,n){var r=t.__emotion_real===t,i=r&&t.__emotion_base||t,a,o;n!==void 0&&(a=n.label,o=n.target);var s=ba(t,n,r),c=s||ya(i),l=!c(`as`);return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&d.push(`label:`+a+`;`),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var f=u[0];d.push(f[0]);for(var p=u.length,m=1;m<p;m++)d.push(u[m],f[m])}var h=aa(function(e,t,n){var r=l&&e.as||i,a=``,u=[],f=e;if(e.theme==null){for(var p in f={},e)f[p]=e[p];f.theme=F.useContext(oa)}typeof e.className==`string`?a=Li(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Qi(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?ya(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),F.createElement(F.Fragment,null,F.createElement(xa,{cache:t,serialized:m,isStringTag:typeof r==`string`}),F.createElement(r,g))});return h.displayName=a===void 0?`Styled(`+(typeof i==`string`?i:i.displayName||i.name||`Component`)+`)`:a,h.defaultProps=t.defaultProps,h.__emotion_real=h,h.__emotion_base=i,h.__emotion_styles=d,h.__emotion_forwardProp=s,Object.defineProperty(h,"toString",{value:function(){return`.`+o}}),h.withComponent=function(t,r){return e(t,yr({},n,r,{shouldForwardProp:ba(h,r,!0)})).apply(void 0,d)},h}},Ca=`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`.split(`.`),wa=Sa.bind(null);Ca.forEach(function(e){wa[e]=wa(e)});var Ta=o((e=>{var t=d(),n=Symbol.for(`react.element`),r=Symbol.for(`react.fragment`),i=Object.prototype.hasOwnProperty,a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,r){var s,c={},l=null,u=null;for(s in r!==void 0&&(l=``+r),t.key!==void 0&&(l=``+t.key),t.ref!==void 0&&(u=t.ref),t)i.call(t,s)&&!o.hasOwnProperty(s)&&(c[s]=t[s]);if(e&&e.defaultProps)for(s in t=e.defaultProps,t)c[s]===void 0&&(c[s]=t[s]);return{$$typeof:n,type:e,key:l,ref:u,props:c,_owner:a.current}}e.Fragment=r,e.jsx=s,e.jsxs=s})),I=o(((e,t)=>{t.exports=Ta()}))(),Ea=new Map,Da={insert:void 0},Oa=(e,t)=>{let n=Ni(e);return n.sheet=new t({key:n.key,nonce:n.sheet.nonce,container:n.sheet.container,speedy:n.sheet.isSpeedy,prepend:n.sheet.prepend,insertionPoint:n.sheet.insertionPoint}),n},ka;if(typeof document==`object`&&(ka=document.querySelector(`[name="emotion-insertion-point"]`),!ka)){ka=document.createElement(`meta`),ka.setAttribute(`name`,`emotion-insertion-point`),ka.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(ka)}function Aa(e,t){if(e||t){class n extends Sr{insert(e,t){return Da.insert?Da.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=ka),super.insert(e,t))}}let r=Oa({key:`css`,insertionPoint:e?ka:void 0},n);if(t){let e=r.insert;r.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return r}}function ja(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=F.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&Ea.has(e))return Ea.get(e);let r=Aa(t,n);return Ea.set(e,r),r},[t,n]);return i?(0,I.jsx)(ia,{value:i,children:r}):r}function Ma(e){return e==null||Object.keys(e).length===0}function Na(e){let{styles:t,defaultTheme:n={}}=e;return(0,I.jsx)(pa,{styles:typeof t==`function`?e=>t(Ma(e)?n:e):t})}function Pa(e,t){return wa(e,t)}function Fa(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var Ia=[];function La(e){return Ia[0]=e,Qi(Ia)}var Ra=o((e=>{var t=Symbol.for(`react.fragment`),n=Symbol.for(`react.strict_mode`),r=Symbol.for(`react.profiler`),i=Symbol.for(`react.consumer`),a=Symbol.for(`react.context`),o=Symbol.for(`react.forward_ref`),s=Symbol.for(`react.suspense`),c=Symbol.for(`react.suspense_list`),l=Symbol.for(`react.memo`),u=Symbol.for(`react.lazy`),d=Symbol.for(`react.client.reference`);e.isValidElementType=function(e){return!!(typeof e==`string`||typeof e==`function`||e===t||e===r||e===n||e===s||e===c||typeof e==`object`&&e&&(e.$$typeof===u||e.$$typeof===l||e.$$typeof===a||e.$$typeof===i||e.$$typeof===o||e.$$typeof===d||e.getModuleId!==void 0))}})),za=o(((e,t)=>{t.exports=Ra()}))();function Ba(e){if(typeof e!=`object`||!e)return!1;let t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Va(e){if(F.isValidElement(e)||(0,za.isValidElementType)(e)||!Ba(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Va(e[n])}),t}function Ha(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return Ba(e)&&Ba(t)&&Object.keys(t).forEach(i=>{F.isValidElement(t[i])||(0,za.isValidElementType)(t[i])?r[i]=t[i]:Ba(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Ba(e[i])?r[i]=Ha(e[i],t[i],n):n.clone?r[i]=Ba(t[i])?Va(t[i]):t[i]:r[i]=t[i]}),r}var Ua=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function Wa(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ua(t),o=Object.keys(a);function s(e){return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n})`}function c(e){return`@media (max-width:${(typeof t[e]==`number`?t[e]:e)-r/100}${n})`}function l(e,i){let a=o.indexOf(i);return`@media (min-width:${typeof t[e]==`number`?t[e]:e}${n}) and (max-width:${(a!==-1&&typeof t[o[a]]==`number`?t[o[a]]:i)-r/100}${n})`}function u(e){return o.indexOf(e)+1<o.length?l(e,o[o.indexOf(e)+1]):s(e)}function d(e){let t=o.indexOf(e);return t===0?s(o[1]):t===o.length-1?c(o[t]):l(e,o[o.indexOf(e)+1]).replace(`@media`,`@media not all and`)}return{keys:o,values:a,up:s,down:c,between:l,only:u,not:d,unit:n,...i}}function Ga(e,t){if(!e.containerQueries)return t;let n=Object.keys(t).filter(e=>e.startsWith(`@container`)).sort((e,t)=>{let n=/min-width:\s*([0-9.]+)/;return(e.match(n)?.[1]||0)-+(t.match(n)?.[1]||0)});return n.length?n.reduce((e,n)=>{let r=t[n];return delete e[n],e[n]=r,e},{...t}):t}function Ka(e,t){return t===`@`||t.startsWith(`@`)&&(e.some(e=>t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function qa(e,t){let n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;let[,r,i]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(i).up(a)}function Ja(e){let t=(e,t)=>e.replace(`@media`,t?`@container ${t}`:`@container`);function n(n,r){n.up=(...n)=>t(e.breakpoints.up(...n),r),n.down=(...n)=>t(e.breakpoints.down(...n),r),n.between=(...n)=>t(e.breakpoints.between(...n),r),n.only=(...n)=>t(e.breakpoints.only(...n),r),n.not=(...n)=>{let i=t(e.breakpoints.not(...n),r);return i.includes(`not all and`)?i.replace(`not all and `,``).replace(`min-width:`,`width<`).replace(`max-width:`,`width>`).replace(`and`,`or`):i}}let r={},i=e=>(n(r,e),r);return n(i),{...e,containerQueries:i}}var Ya={borderRadius:4};function Xa(e,t){return t?Ha(e,t,{clone:!1}):e}var Za={xs:0,sm:600,md:900,lg:1200,xl:1536},Qa={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Za[e]}px)`},$a={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Za[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function eo(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Qa;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Qa;return Object.keys(t).reduce((i,a)=>{if(Ka(e.keys,a)){let e=qa(r.containerQueries?r:$a,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Za).includes(a)){let r=e.up(a);i[r]=n(t[a],a)}else{let e=a;i[e]=t[e]}return i},{})}return n(t)}function to(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function no(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function ro(e){if(typeof e!=`string`)throw Error(_r(7));return e.charAt(0).toUpperCase()+e.slice(1)}function io(e,t,n=!0){if(!t||typeof t!=`string`)return null;if(e&&e.vars&&n){let n=`vars.${t}`.split(`.`).reduce((e,t)=>e&&e[t]?e[t]:null,e);if(n!=null)return n}return t.split(`.`).reduce((e,t)=>e&&e[t]!=null?e[t]:null,e)}function ao(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:io(e,n)||r,t&&(i=t(i,r,e)),i}function oo(e){let{prop:t,cssProperty:n=e.prop,themeKey:r,transform:i}=e,a=e=>{if(e[t]==null)return null;let a=e[t],o=e.theme,s=io(o,r)||{};return eo(e,a,e=>{let r=ao(s,i,e);return e===r&&typeof e==`string`&&(r=ao(s,i,`${t}${e==="default"?``:ro(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function so(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var co={m:`margin`,p:`padding`},lo={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},uo={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},fo=so(e=>{if(e.length>2)if(uo[e])e=uo[e];else return[e];let[t,n]=e.split(``),r=co[t],i=lo[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),po=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],mo=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],ho=[...po,...mo];function go(e,t,n,r){let i=io(e,t,!0)??n;return typeof i==`number`||typeof i==`string`?e=>typeof e==`string`?e:typeof i==`string`?i.startsWith(`var(`)&&e===0?0:i.startsWith(`var(`)&&e===1?i:`calc(${e} * ${i})`:i*e:Array.isArray(i)?e=>{if(typeof e==`string`)return e;let t=i[Math.abs(e)];return e>=0?t:typeof t==`number`?-t:typeof t==`string`&&t.startsWith(`var(`)?`calc(-1 * ${t})`:`-${t}`}:typeof i==`function`?i:()=>void 0}function _o(e){return go(e,`spacing`,8,`spacing`)}function vo(e,t){return typeof t==`string`||t==null?t:e(t)}function yo(e,t){return n=>e.reduce((e,r)=>(e[r]=vo(t,n),e),{})}function bo(e,t,n,r){if(!t.includes(n))return null;let i=yo(fo(n),r),a=e[n];return eo(e,a,i)}function xo(e,t){let n=_o(e.theme);return Object.keys(e).map(r=>bo(e,t,r,n)).reduce(Xa,{})}function So(e){return xo(e,po)}So.propTypes={},So.filterProps=po;function Co(e){return xo(e,mo)}Co.propTypes={},Co.filterProps=mo;function wo(e){return xo(e,ho)}wo.propTypes={},wo.filterProps=ho;function To(e=8,t=_o({spacing:e})){if(e.mui)return e;let n=(...e)=>(e.length===0?[1]:e).map(e=>{let n=t(e);return typeof n==`number`?`${n}px`:n}).join(` `);return n.mui=!0,n}function Eo(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(n=>{e[n]=t}),e),{}),n=e=>Object.keys(e).reduce((n,r)=>t[r]?Xa(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function Do(e){return typeof e==`number`?`${e}px solid`:e}function Oo(e,t){return oo({prop:e,themeKey:`borders`,transform:t})}var ko=Oo(`border`,Do),Ao=Oo(`borderTop`,Do),jo=Oo(`borderRight`,Do),Mo=Oo(`borderBottom`,Do),No=Oo(`borderLeft`,Do),Po=Oo(`borderColor`),Fo=Oo(`borderTopColor`),Io=Oo(`borderRightColor`),Lo=Oo(`borderBottomColor`),Ro=Oo(`borderLeftColor`),zo=Oo(`outline`,Do),Bo=Oo(`outlineColor`),Vo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=go(e.theme,`shape.borderRadius`,4,`borderRadius`);return eo(e,e.borderRadius,e=>({borderRadius:vo(t,e)}))}return null};Vo.propTypes={},Vo.filterProps=[`borderRadius`],Eo(ko,Ao,jo,Mo,No,Po,Fo,Io,Lo,Ro,Vo,zo,Bo);var Ho=e=>{if(e.gap!==void 0&&e.gap!==null){let t=go(e.theme,`spacing`,8,`gap`);return eo(e,e.gap,e=>({gap:vo(t,e)}))}return null};Ho.propTypes={},Ho.filterProps=[`gap`];var Uo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=go(e.theme,`spacing`,8,`columnGap`);return eo(e,e.columnGap,e=>({columnGap:vo(t,e)}))}return null};Uo.propTypes={},Uo.filterProps=[`columnGap`];var Wo=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=go(e.theme,`spacing`,8,`rowGap`);return eo(e,e.rowGap,e=>({rowGap:vo(t,e)}))}return null};Wo.propTypes={},Wo.filterProps=[`rowGap`],Eo(Ho,Uo,Wo,oo({prop:`gridColumn`}),oo({prop:`gridRow`}),oo({prop:`gridAutoFlow`}),oo({prop:`gridAutoColumns`}),oo({prop:`gridAutoRows`}),oo({prop:`gridTemplateColumns`}),oo({prop:`gridTemplateRows`}),oo({prop:`gridTemplateAreas`}),oo({prop:`gridArea`}));function Go(e,t){return t===`grey`?t:e}Eo(oo({prop:`color`,themeKey:`palette`,transform:Go}),oo({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Go}),oo({prop:`backgroundColor`,themeKey:`palette`,transform:Go}));function Ko(e){return e<=1&&e!==0?`${e*100}%`:e}var qo=oo({prop:`width`,transform:Ko}),Jo=e=>e.maxWidth!==void 0&&e.maxWidth!==null?eo(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Za[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:Ko(t)}}):null;Jo.filterProps=[`maxWidth`];var Yo=oo({prop:`minWidth`,transform:Ko}),Xo=oo({prop:`height`,transform:Ko}),Zo=oo({prop:`maxHeight`,transform:Ko}),Qo=oo({prop:`minHeight`,transform:Ko});oo({prop:`size`,cssProperty:`width`,transform:Ko}),oo({prop:`size`,cssProperty:`height`,transform:Ko}),Eo(qo,Jo,Yo,Xo,Zo,Qo,oo({prop:`boxSizing`}));var $o={border:{themeKey:`borders`,transform:Do},borderTop:{themeKey:`borders`,transform:Do},borderRight:{themeKey:`borders`,transform:Do},borderBottom:{themeKey:`borders`,transform:Do},borderLeft:{themeKey:`borders`,transform:Do},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:Do},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:Vo},color:{themeKey:`palette`,transform:Go},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Go},backgroundColor:{themeKey:`palette`,transform:Go},p:{style:Co},pt:{style:Co},pr:{style:Co},pb:{style:Co},pl:{style:Co},px:{style:Co},py:{style:Co},padding:{style:Co},paddingTop:{style:Co},paddingRight:{style:Co},paddingBottom:{style:Co},paddingLeft:{style:Co},paddingX:{style:Co},paddingY:{style:Co},paddingInline:{style:Co},paddingInlineStart:{style:Co},paddingInlineEnd:{style:Co},paddingBlock:{style:Co},paddingBlockStart:{style:Co},paddingBlockEnd:{style:Co},m:{style:So},mt:{style:So},mr:{style:So},mb:{style:So},ml:{style:So},mx:{style:So},my:{style:So},margin:{style:So},marginTop:{style:So},marginRight:{style:So},marginBottom:{style:So},marginLeft:{style:So},marginX:{style:So},marginY:{style:So},marginInline:{style:So},marginInlineStart:{style:So},marginInlineEnd:{style:So},marginBlock:{style:So},marginBlockStart:{style:So},marginBlockEnd:{style:So},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:Ho},rowGap:{style:Wo},columnGap:{style:Uo},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:`zIndex`},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:`shadows`},width:{transform:Ko},maxWidth:{style:Jo},minWidth:{transform:Ko},height:{transform:Ko},maxHeight:{transform:Ko},minHeight:{transform:Ko},boxSizing:{},font:{themeKey:`font`},fontFamily:{themeKey:`typography`},fontSize:{themeKey:`typography`},fontStyle:{themeKey:`typography`},fontWeight:{themeKey:`typography`},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:`typography`}};function es(...e){let t=e.reduce((e,t)=>e.concat(Object.keys(t)),[]),n=new Set(t);return e.every(e=>n.size===Object.keys(e).length)}function ts(e,t){return typeof e==`function`?e(t):e}function ns(){function e(e,t,n,r){let i={[e]:t,theme:n},a=r[e];if(!a)return{[e]:t};let{cssProperty:o=e,themeKey:s,transform:c,style:l}=a;if(t==null)return null;if(s===`typography`&&t===`inherit`)return{[e]:t};let u=io(n,s)||{};return l?l(i):eo(i,t,t=>{let n=ao(u,c,t);return t===n&&typeof t==`string`&&(n=ao(u,c,`${e}${t==="default"?``:ro(t)}`,t)),o===!1?n:{[o]:n}})}function t(n){let{sx:r,theme:i={},nested:a}=n||{};if(!r)return null;let o=i.unstable_sxConfig??$o;function s(n){let r=n;if(typeof n==`function`)r=n(i);else if(typeof n!=`object`)return n;if(!r)return null;let s=to(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=ts(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=Xa(l,e(n,a,i,o));else{let e=eo({theme:i},a,e=>({[n]:e}));es(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=Xa(l,e)}else l=Xa(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Ga(i,no(c,l))}:Ga(i,no(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var rs=ns();rs.filterProps=[`sx`];function is(e,t){let n=this;if(n.vars){if(!n.colorSchemes?.[e]||typeof n.getColorSchemeSelector!=`function`)return{};let r=n.getColorSchemeSelector(e);return r===`&`?t:((r.includes(`data-`)||r.includes(`.`))&&(r=`*:where(${r.replace(/\s*&$/,``)}) &`),{[r]:t})}return n.palette.mode===e?t:{}}function as(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Wa(n),c=To(i),l=Ha({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ya,...a}},o);return l=Ja(l),l.applyStyles=is,l=t.reduce((e,t)=>Ha(e,t),l),l.unstable_sxConfig={...$o,...o?.unstable_sxConfig},l.unstable_sx=function(e){return rs({sx:e,theme:this})},l}function ss(e){return Object.keys(e).length===0}function cs(e=null){let t=F.useContext(oa);return!t||ss(t)?e:t}var ls=as();function us(e=ls){return cs(e)}function ds(e){let t=La(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function fs({styles:e,themeId:t,defaultTheme:n={}}){let r=us(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>ds(typeof e==`function`?e(i):e)):ds(a)),(0,I.jsx)(Na,{styles:a})}var ps=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??$o;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function ms(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=ps(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return Ba(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}var hs=e=>e,gs=(()=>{let e=hs;return{configure(t){e=t},generate(t){return e(t)},reset(){e=hs}}})();function _s(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=_s(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function L(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=_s(e))&&(r&&(r+=` `),r+=t);return r}var vs={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 ys(e,t,n=`Mui`){let r=vs[t];return r?`${n}-${r}`:`${gs.generate(e)}-${t}`}function bs(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=ys(e,t,n)}),r}function xs(e){let{variants:t,...n}=e,r={variants:t,style:La(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=La(e.style))}),r}var Ss=as();function Cs(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function ws(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function Ts(e){return e?(t,n)=>n[e]:null}function Es(e,t,n){e.theme=As(e.theme)?n:e.theme[t]||e.theme}function Ds(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>Ds(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?ws(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?ws(La(i),n):i}return Os(e,r.variants,[t],n)}return r?.isProcessed?n?ws(La(r.style),n):r.style:n?ws(La(r),n):r}function Os(e,t,n=[],r=void 0){let i;variantLoop:for(let a=0;a<t.length;a+=1){let o=t[a];if(typeof o.props==`function`){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!o.props(i))continue}else for(let t in o.props)if(e[t]!==o.props[t]&&e.ownerState?.[t]!==o.props[t])continue variantLoop;typeof o.style==`function`?(i??={...e,...e.ownerState,ownerState:e.ownerState},n.push(r?ws(La(o.style(i)),r):o.style(i))):n.push(r?ws(La(o.style),r):o.style)}return n}function ks(e={}){let{themeId:t,defaultTheme:n=Ss,rootShouldForwardProp:r=Cs,slotShouldForwardProp:i=Cs}=e;function a(e){Es(e,t,n)}return(e,t={})=>{Fa(e,e=>e.filter(e=>e!==rs));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=Ts(Ms(o)),...u}=t,d=n&&n.startsWith(`Mui`)||o?`components`:`custom`,f=s===void 0?o&&o!==`Root`&&o!==`root`||!1:s,p=c||!1,m=Cs;o===`Root`||o===`root`?m=r:o?m=i:js(e)&&(m=void 0);let h=Pa(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return Ds(t,e,t.theme.modularCssLayers?d:void 0)};if(Ba(e)){let t=xs(e);return function(e){return t.variants?Ds(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?ws(t.style,d):t.style}}return e},_=(...t)=>{let r=[],i=t.map(g),o=[];if(r.push(a),n&&l&&o.push(function(e){let t=e.theme.components?.[n]?.styleOverrides;if(!t)return null;let r={};for(let n in t)r[n]=Ds(e,t[n],e.theme.modularCssLayers?`theme`:void 0);return l(e,r)}),n&&!f&&o.push(function(e){let t=e.theme?.components?.[n]?.variants;return t?Os(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(rs),Array.isArray(i[0])){let e=i.shift(),t=Array(r.length).fill(``),n=Array(o.length).fill(``),a;a=[...t,...e,...n],a.raw=[...t,...e.raw,...n],r.unshift(a)}let s=[...r,...i,...o],c=h(...s);return e.muiName&&(c.muiName=e.muiName),c};return h.withConfig&&(_.withConfig=h.withConfig),_}}function As(e){for(let t in e)return!1;return!0}function js(e){return typeof e==`string`&&e.charCodeAt(0)>96}function Ms(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ns(e,t,n=!1){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if(a===`components`||a===`slots`)r[a]={...e[a],...r[a]};else if(a===`componentsProps`||a===`slotProps`){let i=e[a],o=t[a];if(!o)r[a]=i||{};else if(!i)r[a]=o;else{r[a]={...o};for(let e in i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=Ns(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=L(e?.className,t?.className):a===`style`&&n&&t.style?r.style={...e?.style,...t?.style}:r[a]===void 0&&(r[a]=e[a])}return r}var Ps=typeof window<`u`?F.useLayoutEffect:F.useEffect;function Fs(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function Is(e,t=0,n=1){return Fs(e,t,n)}function Ls(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,`g`),n=e.match(t);return n&&n[0].length===1&&(n=n.map(e=>e+e)),n?`rgb${n.length===4?`a`:``}(${n.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(`, `)})`:``}function Rs(e){if(e.type)return e;if(e.charAt(0)===`#`)return Rs(Ls(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(_r(9,e));let r=e.substring(t+1,e.length-1),i;if(n===`color`){if(r=r.split(` `),i=r.shift(),r.length===4&&r[3].charAt(0)===`/`&&(r[3]=r[3].slice(1)),![`srgb`,`display-p3`,`a98-rgb`,`prophoto-rgb`,`rec-2020`].includes(i))throw Error(_r(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var zs=e=>{let t=Rs(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Bs=(e,t)=>{try{return zs(e)}catch{return e}};function Vs(e){let{type:t,colorSpace:n}=e,{values:r}=e;return t.includes(`rgb`)?r=r.map((e,t)=>t<3?parseInt(e,10):e):t.includes(`hsl`)&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),r=t.includes(`color`)?`${n} ${r.join(` `)}`:`${r.join(`, `)}`,`${t}(${r})`}function Hs(e){e=Rs(e);let{values:t}=e,n=t[0],r=t[1]/100,i=t[2]/100,a=r*Math.min(i,1-i),o=(e,t=(e+n/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s=`rgb`,c=[Math.round(o(0)*255),Math.round(o(8)*255),Math.round(o(4)*255)];return e.type===`hsla`&&(s+=`a`,c.push(t[3])),Vs({type:s,values:c})}function Us(e){e=Rs(e);let t=e.type===`hsl`||e.type===`hsla`?Rs(Hs(e)).values:e.values;return t=t.map(t=>(e.type!==`color`&&(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 Ws(e,t){let n=Us(e),r=Us(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Gs(e,t){return e=Rs(e),t=Is(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Vs(e)}function Ks(e,t,n){try{return Gs(e,t)}catch{return e}}function qs(e,t){if(e=Rs(e),t=Is(t),e.type.includes(`hsl`))e.values[2]*=1-t;else if(e.type.includes(`rgb`)||e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return Vs(e)}function Js(e,t,n){try{return qs(e,t)}catch{return e}}function Ys(e,t){if(e=Rs(e),t=Is(t),e.type.includes(`hsl`))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes(`rgb`))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes(`color`))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return Vs(e)}function Xs(e,t,n){try{return Ys(e,t)}catch{return e}}function Zs(e,t=.15){return Us(e)>.5?qs(e,t):Ys(e,t)}function Qs(e,t,n){try{return Zs(e,t)}catch{return e}}var $s=F.createContext(null);function ec(){return F.useContext($s)}var tc=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function nc(e,t){return typeof t==`function`?t(e):{...e,...t}}function rc(e){let{children:t,theme:n}=e,r=ec(),i=F.useMemo(()=>{let e=r===null?{...n}:nc(r,n);return e!=null&&(e[tc]=r!==null),e},[n,r]);return(0,I.jsx)($s.Provider,{value:i,children:t})}var ic=F.createContext();function ac({value:e,...t}){return(0,I.jsx)(ic.Provider,{value:e??!0,...t})}var oc=()=>F.useContext(ic)??!1,sc=F.createContext(void 0);function cc({value:e,children:t}){return(0,I.jsx)(sc.Provider,{value:e,children:t})}function lc(e){let{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;let i=t.components[n];return i.defaultProps?Ns(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?Ns(i,r,t.components.mergeClassNameAndStyle):r}function uc({props:e,name:t}){return lc({props:e,name:t,theme:{components:F.useContext(sc)}})}var dc=0;function fc(e){let[t,n]=F.useState(e),r=e||t;return F.useEffect(()=>{t??(dc+=1,n(`mui-${dc}`))},[t]),r}var pc={...F}.useId;function mc(e){if(pc!==void 0){let t=pc();return e??t}return fc(e)}function hc(e){let t=cs(),n=mc()||``,{modularCssLayers:r}=e,i=`mui.global, mui.components, mui.theme, mui.custom, mui.sx`;return i=!r||t!==null?``:typeof r==`string`?r.replace(/mui(?!\.)/g,i):`@layer ${i};`,Ps(()=>{let e=document.querySelector(`head`);if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.(`data-mui-layer-order`)&&t.getAttribute(`data-mui-layer-order`)===n)return;let r=document.createElement(`style`);r.setAttribute(`data-mui-layer-order`,n),r.textContent=i,e.prepend(r)}else e.querySelector(`style[data-mui-layer-order="${n}"]`)?.remove()},[i,n]),i?(0,I.jsx)(fs,{styles:i}):null}var gc={};function _c(e,t,n,r=!1){return F.useMemo(()=>{let i=e&&t[e]||t;if(typeof n==`function`){let a=n(i),o=e?{...t,[e]:a}:a;return r?()=>o:o}return e?{...t,[e]:n}:{...t,...n}},[e,t,n,r])}function vc(e){let{children:t,theme:n,themeId:r}=e,i=cs(gc),a=ec()||gc,o=_c(r,i,n),s=_c(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=hc(o);return(0,I.jsx)(rc,{theme:s,children:(0,I.jsx)(oa.Provider,{value:o,children:(0,I.jsx)(ac,{value:c,children:(0,I.jsxs)(cc,{value:r?o[r].components:o.components,children:[l,t]})})})})}var yc={theme:void 0};function bc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(yc.theme=r.theme,i=xs(e(yc)),t=i,n=r.theme),i}}var xc=`mode`,Sc=`color-scheme`,Cc=`data-color-scheme`;function wc(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=xc,colorSchemeStorageKey:a=Sc,attribute:o=Cc,colorSchemeNode:s=`document.documentElement`,nonce:c}=e||{},l=``,u=o;if(o===`class`&&(u=`.%s`),o===`data`&&(u=`[data-%s]`),u.startsWith(`.`)){let e=u.substring(1);l+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark));
|
|
44
44
|
${s}.classList.add('${e}'.replace('%s', colorScheme));`}let d=u.match(/\[([^[\]]+)\]/);if(d){let[e,t]=d[1].split(`=`);t||(l+=`${s}.removeAttribute('${e}'.replace('%s', light));
|
|
45
45
|
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
46
46
|
${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:`""`});`}else u!==`.%s`&&(l+=`${s}.setAttribute('${u}', colorScheme);`);return(0,I.jsx)(`script`,{suppressHydrationWarning:!0,nonce:typeof window>`u`?c:``,dangerouslySetInnerHTML:{__html:`(function() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6/dist/schemas/configuration.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"authoring": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6/dist/schemas/model.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/graphing-solution-set@7.0.6/dist/schemas/session.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"id": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pie-element/graphing-solution-set",
|
|
3
|
-
"version": "7.0.6
|
|
3
|
+
"version": "7.0.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -11,22 +11,22 @@
|
|
|
11
11
|
"@emotion/react": "^11.14.0",
|
|
12
12
|
"@mui/icons-material": "^7.3.4",
|
|
13
13
|
"@mui/material": "^7.3.4",
|
|
14
|
-
"@pie-lib/config-ui": "14.0.6
|
|
15
|
-
"@pie-lib/correct-answer-toggle": "5.0.6
|
|
16
|
-
"@pie-lib/graphing-solution-set": "5.0.6
|
|
17
|
-
"@pie-lib/render-ui": "8.0.6
|
|
18
|
-
"@pie-lib/translator": "5.0.
|
|
14
|
+
"@pie-lib/config-ui": "14.0.6",
|
|
15
|
+
"@pie-lib/correct-answer-toggle": "5.0.6",
|
|
16
|
+
"@pie-lib/graphing-solution-set": "5.0.6",
|
|
17
|
+
"@pie-lib/render-ui": "8.0.6",
|
|
18
|
+
"@pie-lib/translator": "5.0.1",
|
|
19
19
|
"debug": "^4.1.1",
|
|
20
20
|
"prop-types": "^15.8.1",
|
|
21
|
-
"@pie-lib/editable-html-tip-tap": "3.1.1
|
|
22
|
-
"@pie-element/shared-lodash": "0.1.
|
|
23
|
-
"@pie-element/shared-configure-events": "0.1.
|
|
24
|
-
"@pie-element/shared-math-rendering-mathjax": "0.1.7
|
|
25
|
-
"@pie-element/shared-player-events": "0.2.
|
|
21
|
+
"@pie-lib/editable-html-tip-tap": "3.1.1",
|
|
22
|
+
"@pie-element/shared-lodash": "0.1.2",
|
|
23
|
+
"@pie-element/shared-configure-events": "0.1.1",
|
|
24
|
+
"@pie-element/shared-math-rendering-mathjax": "0.1.7",
|
|
25
|
+
"@pie-element/shared-player-events": "0.2.0",
|
|
26
26
|
"clsx": "^2.1.1",
|
|
27
27
|
"react": "^18.2.0",
|
|
28
28
|
"react-dom": "^18.2.0",
|
|
29
|
-
"@pie-element/shared-types": "0.2.2
|
|
29
|
+
"@pie-element/shared-types": "0.2.2"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
},
|
|
100
100
|
"browserEditorRuntime": {
|
|
101
101
|
"name": "@pie-element/shared-editor-runtime",
|
|
102
|
-
"version": "0.1.
|
|
102
|
+
"version": "0.1.2",
|
|
103
103
|
"views": {
|
|
104
104
|
"delivery": "editor-runtime/delivery",
|
|
105
105
|
"author": "editor-runtime/author",
|