@pie-element/categorize 14.0.5-next.20261014231219 → 14.0.5
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-D6KSZXCE.js → alert-dialog-CjcZ6aG3.js} +4 -2
- package/dist/browser/alert-dialog-CjcZ6aG3.js.map +1 -0
- package/dist/browser/author/index.js +5184 -5151
- package/dist/browser/author/index.js.map +1 -1
- package/dist/browser/controller/index.js +5 -2
- package/dist/browser/delivery/index.js +6 -3
- package/dist/browser/delivery/index.js.map +1 -1
- package/dist/browser/editor-runtime/{alert-dialog-BR8hT2Yl.js → alert-dialog-tW6TDEiU.js} +4 -2
- package/dist/browser/editor-runtime/alert-dialog-tW6TDEiU.js.map +1 -0
- package/dist/browser/editor-runtime/author/index.js +2841 -2808
- package/dist/browser/editor-runtime/author/index.js.map +1 -1
- package/dist/browser/editor-runtime/controller/index.js +5 -2
- package/dist/browser/editor-runtime/delivery/index.js +6 -3
- package/dist/browser/editor-runtime/delivery/index.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 +17 -17
- package/dist/browser/alert-dialog-D6KSZXCE.js.map +0 -1
- package/dist/browser/editor-runtime/alert-dialog-BR8hT2Yl.js.map +0 -1
package/dist/index.iife.js
CHANGED
|
@@ -40,7 +40,7 @@ Error generating stack: `+e.message+`
|
|
|
40
40
|
color: ${nt} !important;
|
|
41
41
|
background-color: ${ot} !important;
|
|
42
42
|
}
|
|
43
|
-
`;function ct(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=tt,t.textContent=st,e.head.appendChild(t)}var lt=/[-]/g,ut={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},dt={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},ft={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},pt={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},mt={"+":`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`,...dt,...ft,...pt},ht=new Set([`|`,`‖`]),gt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),_t={α:`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`},vt={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},L=e=>(e.textContent??``).replace(lt,``).replace(/\s+/g,` `).trim(),yt=e=>e.replace(/\s+/g,` `).trim(),bt=e=>[...e.children];function xt(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?xt(e.children[0]):!1}function St(e){let t=e?L(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ct(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function wt(e){return _t[e]??e}function Tt(e){return mt[e]??e}function Et(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Ft(r)),n=!0;continue}let e=L(r);e&&(!n&&ut[e]?t.push(ut[e]):e in pt?t.push(pt[e]):(t.push(Tt(e)),n=e in ft||ht.has(e)&&n))}return t.filter(Boolean).join(` `)}function Dt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(L(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&L(t)===L(r)&&!a.some(i)){let e=yt(Et(a));return L(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return Et(e)}function Ot(e,t){let n=e?Ft(e):``,r=t?Ft(t):``;return xt(e)&&xt(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function kt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function At(e,t){let n=t?L(t):``;if(t&&xt(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in pt)return`${e} ${pt[n]}`}let r=t?Ft(t):``;return xt(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function jt(e,t){let n=t?Ft(t):``;return xt(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Mt(e,t,n){let r=L(e);if(r===`lim`)return`limit as ${t?Ft(t):``} of`;if(!gt.has(r))return;let i=t?`from ${Ft(t)}`:``,a=n?`to ${Ft(n)}`:``;return`${Tt(r)} ${i} ${a} of`}function Nt(e){let t=bt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>bt(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=>yt(Et(bt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function Pt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=bt(e).map((e,t,n)=>t<n.length-1?`${Ft(e)} ${Tt(r[Math.min(t,r.length-1)]??`,`)}`:Ft(e));return[Tt(t),...i,Tt(n)].filter(Boolean).join(` `)}function Ft(e){let t=bt(e);switch(e.localName){case`mi`:return wt(L(e));case`mn`:case`mtext`:case`ms`:return L(e);case`mo`:return Tt(L(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Ft(t[0]):``;case`mfrac`:return Ot(t[0],t[1]);case`msqrt`:return kt(yt(Et(t)),`square root`,t.length===1&&xt(t[0]));case`mroot`:{let e=St(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ct(e)} root`:`root with index ${t[1]?Ft(t[1]):``}`;return kt(t[0]?Ft(t[0]):``,n,xt(t[0]))}case`msup`:return At(t[0]?Ft(t[0]):``,t[1]);case`msub`:return jt(t[0]?Ft(t[0]):``,t[1]);case`msubsup`:return(t[0]?Mt(t[0],t[1],t[2]):void 0)||At(jt(t[0]?Ft(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?Mt(n,a,o):void 0;if(s)return s;let c=n?Ft(n):``,l=e.localName===`mover`&&r?vt[L(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Ft(a)} below`:``,o?`with ${Ft(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return Pt(e);case`mtable`:return Nt(e);case`mrow`:case`math`:return Dt(t);default:return t.length?Et(t):L(e)}}function It(e){return yt(Ft(e))}var Lt=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Rt(e){if(e.hasAttribute(`aria-label`)||!e.closest(Lt))return;let t=e.querySelector(`math`),n=t?It(t):``;n&&e.setAttribute(`aria-label`,n)}function zt(e){for(let t of e.querySelectorAll(`mjx-container`))Rt(t)}var Bt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Vt(){let e=globalThis;e[Bt]||(e[Bt]=!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 ${v}`))}function Ht(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(),Vt()}function Ut(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`,()=>Ht(e),{once:!0}),a})}`${x}`;var R={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1]},Wt=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Gt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Kt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,qt=/\\embed\{newLine\}\[\]/g,Jt=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Yt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),Xt=`MJX-CHTML-styles`,Zt=`PIE-MJX-SVG-styles`,Qt=`PIE-MathJax-Menu-Settings`,$t={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},en=200,tn=201,nn=202;function rn(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 an(e){for(let[t,n]of Jt)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function on(e){return an(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var sn=`mathjax_ignore`,cn=`mathjax_process`;function ln(e,t){let n=e.closest(`.${sn}, .${cn}`);return n!==null&&t.contains(n)&&!n.classList.contains(cn)}function un(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||ln(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${on(n)}\\)`.replace(qt,`\\newline `),t.dataset.mathHandled=`true`)}}function dn(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function fn(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Kt:Gt).test(e.textContent??``)}function pn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=O(e,{}.url),c=T(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=oe();return mn(t)&&hn(t),e}}},startup:{typeset:!1,ready:()=>{let e=oe(),r=e?.startup,i=mn(e);i&&(hn(e),gn(e,s.speechLocales),te(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(_n(r?.document),vn(r?.document),r?.document?.addStyles?.($t),Ut(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...R}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(Wt),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=k(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),ce(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function mn(e){return!!e?.version?.startsWith(`4.`)}function hn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=ue);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=Zt)}function gn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=Qt;try{let e=localStorage.getItem(Qt);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(Qt,JSON.stringify(i)):localStorage.removeItem(Qt)}catch{}}}function _n(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(rn(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,tn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&rn(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===Xt&&(r.id=ue),xn()}function vn(e){let t=e=>{e.typesetRoot&&Rt(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,nn,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function yn(e){return e instanceof HTMLStyleElement&&de.includes(e.id)}function bn(e){N(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function xn(){let e=document.head,t=[...e.children].find(yn);if(t){bn(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(yn);if(e){bn(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Sn(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=en&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Cn(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=oe()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function wn(e){let t=oe();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Cn(t):pn(e)}function Tn(e){return wn(e).then(()=>{let e=oe();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function En(e){let t=le,n=t[Yt];return n||(n=Tn(e),t[Yt]=n),n}function Dn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=fe();r&&N(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),un(n),he(n),dn(n),et(n);let i=En(e);if(!fn(n,t)){i.catch(()=>{});return}await i;let a=oe();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ct(),Sn(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}rn(n),zt(n)}}}var On=`@pie-lib/math-rendering`,kn=`@pie-lib/math-rendering@2`,An=`pie-print`,jn=50,Mn=1e4,Nn=null;function Pn(){return!!window[kn]?.opts?.useSingleDollar}function Fn(){return Nn||=Dn({useSingleDollar:Pn()}),Nn}function In(){if(typeof window>`u`)return null;let e=window[On];return typeof e?.renderMath==`function`&&e.renderMath!==Bn?e:null}function Ln(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===An)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Rn(){let e=window.renderMath;return typeof e==`function`?e:null}async function zn(e){let t=Ln(e);if(!t)return null;let n=Rn();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Mn;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,jn));let e=Rn();if(e)return e}return null}var Bn=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=In(),i=r||t?null:await zn(n);return r?(await r.renderMath?.(n),zt(n)):i&&i!==Bn?(await i(n),zt(n)):await Fn()(n),t?n.innerHTML:void 0},Vn=function(){return null};Vn.isRequired=Vn;var Hn=()=>Vn,z={array:Vn,bigint:Vn,bool:Vn,func:Vn,number:Vn,object:Vn,string:Vn,symbol:Vn,any:Vn,element:Vn,elementType:Vn,node:Vn,arrayOf:Hn,instanceOf:Hn,objectOf:Hn,oneOf:Hn,oneOfType:Hn,shape:Hn,exact:Hn,checkPropTypes:()=>{},resetWarningCache:()=>{}};z.PropTypes=z;var Un=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})),Wn=o(((e,t)=>{t.exports=Un()})),B=l(d(),1),V=Wn(),Gn=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,Kn=({size:e,children:t})=>(e=Gn(e),(0,V.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));Kn.propTypes={size:z.number,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var qn=({size:e,children:t,sx:n})=>(0,V.jsx)(Kn,{size:e,children:(0,V.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});qn.propTypes={size:z.oneOfType([z.string,z.number]),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,sx:z.object};var Jn=({fill:e})=>(0,V.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});Jn.propTypes={fill:z.string.isRequired};var Yn=({fill:e})=>(0,V.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});Yn.propTypes={fill:z.string.isRequired};var Xn=({fill:e})=>(0,V.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});Xn.propTypes={fill:z.string.isRequired};var Zn=({fill:e})=>(0,V.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});Zn.propTypes={fill:z.string.isRequired};var Qn=({fill:e})=>(0,V.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});Qn.propTypes={fill:z.string.isRequired};var $n=(e,t)=>{class n extends B.Component{static propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,size:z.oneOfType([z.number,z.string]),fg:z.string,bg:z.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,V.jsx)(e,{fill:s}):(0,V.jsx)(t,{fill:s}),u=n===`check`?(0,V.jsx)(e,{fill:c}):(0,V.jsx)(t,{fill:c});return a?(0,V.jsx)(qn,{size:o,children:u}):(0,V.jsxs)(qn,{size:o,children:[i===`feedback`?r===`round`?(0,V.jsx)(Xn,{fill:c}):(0,V.jsx)(Yn,{fill:c}):r===`round`?(0,V.jsx)(Zn,{fill:c}):(0,V.jsx)(Qn,{fill:c}),l]})}}return n},er=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,V.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
43
|
+
`;function ct(e=document){if(e.getElementById(`PIE-MJX-explorer-styles`))return;let t=e.createElement(`style`);t.id=tt,t.textContent=st,e.head.appendChild(t)}var lt=/[-]/g,ut={"+":`positive`,"-":`negative`,"−":`negative`,"±":`plus or minus`,"∓":`minus or plus`},dt={"(":`open parenthesis`,"[":`open bracket`,"{":`open brace`,"⟨":`open angle bracket`,"⌊":`open floor`,"⌈":`open ceiling`},ft={")":`close parenthesis`,"]":`close bracket`,"}":`close brace`,"⟩":`close angle bracket`,"⌋":`close floor`,"⌉":`close ceiling`},pt={"!":`factorial`,"%":`percent`,"°":`degrees`,"′":`prime`,"″":`double prime`},mt={"+":`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`,...dt,...ft,...pt},ht=new Set([`|`,`‖`]),gt=new Set([`∑`,`∏`,`∫`,`∪`,`∩`]),_t={α:`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`},vt={"¯":`bar`,"‾":`bar`,"―":`bar`,"^":`hat`,ˆ:`hat`,"~":`tilde`,"˜":`tilde`,"→":`vector`,"⃗":`vector`,"˙":`dot`},L=e=>(e.textContent??``).replace(lt,``).replace(/\s+/g,` `).trim(),yt=e=>e.replace(/\s+/g,` `).trim(),bt=e=>[...e.children];function xt(e){return!e||[`mn`,`mi`,`mtext`,`mo`].includes(e.localName)?!0:[`mrow`,`mstyle`].includes(e.localName)&&e.children.length===1?xt(e.children[0]):!1}function St(e){let t=e?L(e):``;return/^\d{1,3}$/.test(t)?Number(t):void 0}function Ct(e){return`${e}${e%100>=11&&e%100<=13?`th`:{1:`st`,2:`nd`,3:`rd`}[e%10]??`th`}`}function wt(e){return _t[e]??e}function Tt(e){return mt[e]??e}function Et(e){let t=[],n=!1;for(let r of e){if(r.localName!==`mo`){t.push(Ft(r)),n=!0;continue}let e=L(r);e&&(!n&&ut[e]?t.push(ut[e]):e in pt?t.push(pt[e]):(t.push(Tt(e)),n=e in ft||ht.has(e)&&n))}return t.filter(Boolean).join(` `)}function Dt(e){let[t,...n]=e,r=n[n.length-1],i=e=>e?.localName===`mo`&&[`|`,`‖`].includes(L(e)),a=n.slice(0,-1);if(a.length&&i(t)&&i(r)&&L(t)===L(r)&&!a.some(i)){let e=yt(Et(a));return L(t)===`|`?`absolute value of ${e} end absolute value`:`norm of ${e} end norm`}return Et(e)}function Ot(e,t){let n=e?Ft(e):``,r=t?Ft(t):``;return xt(e)&&xt(t)?`${n} over ${r}`:`the fraction with numerator ${n} and denominator ${r}`}function kt(e,t,n){return n?`${t} of ${e}`:`${t} of ${e} end root`}function At(e,t){let n=t?L(t):``;if(t&&xt(t)){if(n===`2`)return`${e} squared`;if(n===`3`)return`${e} cubed`;if(n in pt)return`${e} ${pt[n]}`}let r=t?Ft(t):``;return xt(t)?`${e} to the power of ${r}`:`${e} to the power of ${r} end power`}function jt(e,t){let n=t?Ft(t):``;return xt(t)?`${e} sub ${n}`:`${e} sub ${n} end sub`}function Mt(e,t,n){let r=L(e);if(r===`lim`)return`limit as ${t?Ft(t):``} of`;if(!gt.has(r))return;let i=t?`from ${Ft(t)}`:``,a=n?`to ${Ft(n)}`:``;return`${Tt(r)} ${i} ${a} of`}function Nt(e){let t=bt(e).filter(e=>[`mtr`,`mlabeledtr`].includes(e.localName)),n=t.map(e=>bt(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=>yt(Et(bt(e)))).join(`, `)}`);return`table with ${t.length} ${t.length===1?`row`:`rows`} and ${r} ${r===1?`column`:`columns`}. ${i.join(`. `)}`}function Pt(e){let t=e.getAttribute(`open`)??`(`,n=e.getAttribute(`close`)??`)`,r=(e.getAttribute(`separators`)??`,`).replace(/\s+/g,``).split(``),i=bt(e).map((e,t,n)=>t<n.length-1?`${Ft(e)} ${Tt(r[Math.min(t,r.length-1)]??`,`)}`:Ft(e));return[Tt(t),...i,Tt(n)].filter(Boolean).join(` `)}function Ft(e){let t=bt(e);switch(e.localName){case`mi`:return wt(L(e));case`mn`:case`mtext`:case`ms`:return L(e);case`mo`:return Tt(L(e));case`mspace`:case`mphantom`:case`annotation`:case`annotation-xml`:return``;case`semantics`:return t[0]?Ft(t[0]):``;case`mfrac`:return Ot(t[0],t[1]);case`msqrt`:return kt(yt(Et(t)),`square root`,t.length===1&&xt(t[0]));case`mroot`:{let e=St(t[1]),n=e===2?`square root`:e===3?`cube root`:e?`${Ct(e)} root`:`root with index ${t[1]?Ft(t[1]):``}`;return kt(t[0]?Ft(t[0]):``,n,xt(t[0]))}case`msup`:return At(t[0]?Ft(t[0]):``,t[1]);case`msub`:return jt(t[0]?Ft(t[0]):``,t[1]);case`msubsup`:return(t[0]?Mt(t[0],t[1],t[2]):void 0)||At(jt(t[0]?Ft(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?Mt(n,a,o):void 0;if(s)return s;let c=n?Ft(n):``,l=e.localName===`mover`&&r?vt[L(r)]:void 0;return l?l===`vector`?`vector ${c}`:`${c} ${l}`:[c,a?`with ${Ft(a)} below`:``,o?`with ${Ft(o)} above`:``].filter(Boolean).join(` `)}case`mfenced`:return Pt(e);case`mtable`:return Nt(e);case`mrow`:case`math`:return Dt(t);default:return t.length?Et(t):L(e)}}function It(e){return yt(Ft(e))}var Lt=[`a[href]`,`button`,`label`,`summary`,...[`button`,`checkbox`,`combobox`,`link`,`menuitem`,`menuitemcheckbox`,`menuitemradio`,`option`,`radio`,`switch`,`tab`,`treeitem`].map(e=>`[role="${e}"]`)].join(`, `);function Rt(e){if(e.hasAttribute(`aria-label`)||!e.closest(Lt))return;let t=e.querySelector(`math`),n=t?It(t):``;n&&e.setAttribute(`aria-label`,n)}function zt(e){for(let t of e.querySelectorAll(`mjx-container`))Rt(t)}var Bt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/speech-worker-failed`);function Vt(){let e=globalThis;e[Bt]||(e[Bt]=!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 ${v}`))}function Ht(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(),Vt()}function Ut(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`,()=>Ht(e),{once:!0}),a})}`${x}`;var R={parallelogram:`\\lower.2em{\\Huge\\unicode{x25B1}}`,overarc:`\\overparen`,napprox:`\\not\\approx`,longdiv:`\\enclose{longdiv}`,abs:[`\\left|#1\\right|`,1],perpendicular:`\\perp`,divide:`\\div`},Wt=`[math-rendering] using $ is not advisable, please use $$..$$ or \\(...\\)`,Gt=/\\\(|\\\[|\$\$|\\\$|\\begin\{|\\(?:eq)?ref\{/,Kt=/\\\(|\\\[|\$|\\begin\{|\\(?:eq)?ref\{/,qt=/\\embed\{newLine\}\[\]/g,Jt=[[`$$`,`$$`],[`$`,`$`],[`\\[`,`\\]`],[`\\(`,`\\)`]],Yt=Symbol.for(`@pie-element/shared-math-rendering-mathjax/loading`),Xt=`MJX-CHTML-styles`,Zt=`PIE-MJX-SVG-styles`,Qt=`PIE-MathJax-Menu-Settings`,$t={'mjx-container[overflow="linebreak"][display]':{overflow:`auto clip`,"min-width":`initial !important`}},en=200,tn=201,nn=202;function rn(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 an(e){for(let[t,n]of Jt)if(e.startsWith(t)&&e.endsWith(n))return e.substring(t.length,e.length-n.length);return e}function on(e){return an(e.includes(`\\displaystyle`)?e.replace(`\\displaystyle`,``).trim():e)}var sn=`mathjax_ignore`,cn=`mathjax_process`;function ln(e,t){let n=e.closest(`.${sn}, .${cn}`);return n!==null&&t.contains(n)&&!n.classList.contains(cn)}function un(e){for(let t of e.querySelectorAll(`[data-latex]`)){if(t.dataset.mathHandled||t.closest(`mjx-container`)||ln(t,e))continue;let n=t.textContent;n&&(t.textContent=`\\(${on(n)}\\)`.replace(qt,`\\newline `),t.dataset.mathHandled=`true`)}}function dn(e){for(let t of e.querySelectorAll(`math`))t.closest(`mjx-container`)||t.setAttribute(`displaystyle`,`true`)}function fn(e,t){for(let t of e.querySelectorAll(`math`))if(!t.closest(`mjx-assistive-mml`))return!0;return(t?Kt:Gt).test(e.textContent??``)}function pn(e){return new Promise((t,n)=>{let{useSingleDollar:r=!1,accessibility:i=!0,loadFonts:a=!0,srcUrl:o}=e,s=O(e,{}.url),c=T(),l={loader:{load:i?[`a11y/assistive-mml`]:[],failed:e=>n(e),"output/svg":{ready:e=>{let t=oe();return mn(t)&&hn(t),e}}},startup:{typeset:!1,ready:()=>{let e=oe(),r=e?.startup,i=mn(e);i&&(hn(e),gn(e,s.speechLocales),te(e?._?.a11y?.sre_ts?.locales,s.speechLocales)),r?.defaultReady?.(),i&&(_n(r?.document),vn(r?.document),r?.document?.addStyles?.($t),Ut(r?.document)),Promise.resolve(r?.promise).then(()=>t(),n)}},tex:{macros:{...R}},output:{displayOverflow:`linebreak`},options:{enableMenu:i,menuOptions:{settings:{assistiveMml:i,enrich:!1,inTabOrder:c}},a11y:{inTabOrder:c}}};r&&l.tex&&(console.warn(Wt),l.tex.inlineMath=[[`$`,`$`],[`\\(`,`\\)`]],l.tex.processEscapes=!0),a||(l.chtml={fontURL:``});let u=k(s.speechLocales);u&&l.options&&(l.options.sre={locale:u}),ce(l,{...s,srcUrl:o}).then(e=>{e||t()},n)})}function mn(e){return!!e?.version?.startsWith(`4.`)}function hn(e){let t=e?._?.output,n=t?.chtml_ts?.CHTML;n&&(n.STYLESHEETID=ue);let r=t?.svg_ts?.SVG;r&&(r.STYLESHEETID=Zt)}function gn(e,t){let n=e?._?.ui?.menu?.Menu?.Menu;if(n){n.MENU_STORAGE=Qt;try{let e=localStorage.getItem(Qt);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(Qt,JSON.stringify(i)):localStorage.removeItem(Qt)}catch{}}}function _n(e){if(!e)return;let t=new WeakSet,n=e=>{let n=e.typesetRoot;!n||t.has(n)||(rn(n),t.add(n))};e.addRenderAction?.(`pie-strip-latex`,tn,e=>{for(let t of e.math??[])n(t);return!1},e=>{let t=e.typesetRoot;return t&&rn(t),!1});let r=e.outputJax?.chtmlStyles;r?.id===Xt&&(r.id=ue),xn()}function vn(e){let t=e=>{e.typesetRoot&&Rt(e.typesetRoot)};e?.addRenderAction?.(`pie-name-math`,nn,e=>{for(let n of e.math??[])t(n);return!1},e=>(t(e),!1))}function yn(e){return e instanceof HTMLStyleElement&&de.includes(e.id)}function bn(e){N(`foreign-output-stylesheet`,`another MathJax added <style id="${e.id}"> to <head>`)}function xn(){let e=document.head,t=[...e.children].find(yn);if(t){bn(t);return}let n=new MutationObserver(e=>{for(let t of e){let e=[...t.addedNodes].find(yn);if(e){bn(e),n.disconnect();return}}});n.observe(e,{childList:!0})}function Sn(e){let t=e?.math;if(!t?.remove)return;let n=[...t].filter(e=>(e.state?.()??0)>=en&&e.typesetRoot?.isConnected===!1);if(n.length!==0){for(let e of[...n].reverse())e.clear?.();t.remove(...n)}}function Cn(e){return new Promise((t,n)=>{let r=e.startup??{};e.startup=r;let i=r.ready;r.ready=()=>{let e=oe()?.startup;i?i.call(r):e?.defaultReady?.(),Promise.resolve(e?.promise).then(()=>t(),n)}})}function wn(e){let t=oe();return t?t.version?t.startup?.promise?Promise.resolve(t.startup.promise).then(()=>void 0):Promise.resolve():Cn(t):pn(e)}function Tn(e){return wn(e).then(()=>{let e=oe();e&&typeof e.typesetPromise!=`function`&&console.warn(`[mathjax-renderer] MathJax on this page has no typesetPromise; math stays untypeset.`)})}function En(e){let t=le,n=t[Yt];return n||(n=Tn(e),t[Yt]=n),n}function Dn(e={}){let t=e.useSingleDollar??!1;return async n=>{if(typeof window>`u`)return;let r=fe();r&&N(`mathjax-3-global`,`window.MathJax is MathJax ${r}`),un(n),he(n),dn(n),et(n);let i=En(e);if(!fn(n,t)){i.catch(()=>{});return}await i;let a=oe();if(await a?.startup?.promise,typeof a?.typesetPromise==`function`){ct(),Sn(a.startup?.document);try{await a.typesetPromise([n])}catch(e){throw a.typesetClear?.([n]),e}rn(n),zt(n)}}}var On=`@pie-lib/math-rendering`,kn=`@pie-lib/math-rendering@2`,An=`pie-print`,jn=50,Mn=1e4,Nn=null;function Pn(){return!!window[kn]?.opts?.useSingleDollar}function Fn(){return Nn||=Dn({useSingleDollar:Pn()}),Nn}function In(){if(typeof window>`u`)return null;let e=window[On];return typeof e?.renderMath==`function`&&e.renderMath!==Bn?e:null}function Ln(e){let t=e;for(;t;){if(t instanceof Element&&t.localName===An)return t;t=t instanceof ShadowRoot?t.host:t.parentNode}return null}function Rn(){let e=window.renderMath;return typeof e==`function`?e:null}async function zn(e){let t=Ln(e);if(!t)return null;let n=Rn();if(n||t.mathRenderingModuleUrlImported!==!0)return n;let r=Date.now()+Mn;for(;Date.now()<r;){await new Promise(e=>setTimeout(e,jn));let e=Rn();if(e)return e}return null}var Bn=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=In(),i=r||t?null:await zn(n);return r?(await r.renderMath?.(n),zt(n)):i&&i!==Bn?(await i(n),zt(n)):await Fn()(n),t?n.innerHTML:void 0},Vn=function(){return null};Vn.isRequired=Vn;var Hn=()=>Vn,z={array:Vn,bigint:Vn,bool:Vn,func:Vn,number:Vn,object:Vn,string:Vn,symbol:Vn,any:Vn,element:Vn,elementType:Vn,node:Vn,arrayOf:Hn,instanceOf:Hn,objectOf:Hn,oneOf:Hn,oneOfType:Hn,shape:Hn,exact:Hn,checkPropTypes:()=>{},resetWarningCache:()=>{}};z.PropTypes=z;var Un=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})),Wn=o(((e,t)=>{t.exports=Un()})),B=l(d(),1),V=Wn(),Gn=e=>typeof e==`string`?e:typeof e==`number`?`${e}px`:`30px`,Kn=({size:e,children:t})=>(e=Gn(e),(0,V.jsx)(`div`,{style:{height:e,width:e,display:`inline-block`,position:`relative`},children:t}));Kn.propTypes={size:z.number,children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired};var qn=({size:e,children:t,sx:n})=>(0,V.jsx)(Kn,{size:e,children:(0,V.jsx)(`svg`,{preserveAspectRatio:`xMinYMin meet`,viewBox:`0 0 44 40`,style:{enableBackground:`new 0 0 44 40`,...n},children:t})});qn.propTypes={size:z.oneOfType([z.string,z.number]),children:z.oneOfType([z.arrayOf(z.node),z.node]).isRequired,sx:z.object};var Jn=({fill:e})=>(0,V.jsx)(`polygon`,{points:`17.4,26.9 10.1,20.6 12.8,17.5 16.3,20.5 22.3,9.7 25.9,11.7`,fill:e});Jn.propTypes={fill:z.string.isRequired};var Yn=({fill:e})=>(0,V.jsx)(`polygon`,{transform:`translate(2, 0)`,points:`34.1,28.6 34.1,2.2 2,2.2 2,34.3 40.1,34.3`,fill:e});Yn.propTypes={fill:z.string.isRequired};var Xn=({fill:e})=>(0,V.jsx)(`path`,{transform:`translate(1, 0)`,d:`M31.2,29.1v-0.3c2.2-2.8,3.6-6.3,3.6-10.1c0-8.9-7.2-16.1-16.1-16.1c-8.8,0.1-16,7.3-16,16.2 s7.2,16.1,16.1,16.1h18.5L31.2,29.1z`,fill:e});Xn.propTypes={fill:z.string.isRequired};var Zn=({fill:e})=>(0,V.jsx)(`circle`,{transform:`translate(-3,0)`,cx:`23`,cy:`20.4`,r:`16`,fill:e});Zn.propTypes={fill:z.string.isRequired};var Qn=({fill:e})=>(0,V.jsx)(`rect`,{x:`3.6`,y:`4.1`,width:`32`,height:`32`,fill:e});Qn.propTypes={fill:z.string.isRequired};var $n=(e,t)=>{class n extends B.Component{static propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,size:z.oneOfType([z.number,z.string]),fg:z.string,bg:z.string};static defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,size:30,fg:`#4aaf46`,bg:`#f8ffe2`};render(){let{iconSet:n,shape:r,category:i,open:a,size:o,fg:s,bg:c}=this.props,l=n===`check`?(0,V.jsx)(e,{fill:s}):(0,V.jsx)(t,{fill:s}),u=n===`check`?(0,V.jsx)(e,{fill:c}):(0,V.jsx)(t,{fill:c});return a?(0,V.jsx)(qn,{size:o,children:u}):(0,V.jsxs)(qn,{size:o,children:[i===`feedback`?r===`round`?(0,V.jsx)(Xn,{fill:c}):(0,V.jsx)(Yn,{fill:c}):r===`round`?(0,V.jsx)(Zn,{fill:c}):(0,V.jsx)(Qn,{fill:c}),l]})}}return n},er=({fill:e})=>(0,V.jsxs)(`g`,{transform:`translate(1, 0)`,children:[(0,V.jsx)(`path`,{d:`M24.7,22.1c-1.5,1.7-3.6,2.7-5.8,2.7s-4.5-1.1-5.8-2.7l-2.8,1.6c2,2.7,5.2,4.2,8.7,4.2
|
|
44
44
|
c3.4,0,6.6-1.6,8.7-4.2L24.7,22.1z`,fill:e}),(0,V.jsx)(`rect`,{x:`21.1`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e}),(0,V.jsx)(`rect`,{x:`12.7`,y:`13.1`,width:`3.7`,height:`4.7`,fill:e})]});er.propTypes={fill:z.string.isRequired};var tr=({fill:e,x:t=0,y:n=0})=>(0,V.jsx)(`polygon`,{transform:`translate(${t}, ${n})`,points:`19.1,28.6 11.8,22.3 14.4,19.2 17.9,22.1 23.9,11.4 27.5,13.4`,fill:e});tr.propTypes={fill:z.string.isRequired,x:z.number,y:z.number};var nr=$n(tr,er);nr.propTypes={iconSet:z.oneOf([`emoji`,`check`]),shape:z.oneOf([`round`,`square`]),category:z.oneOf([`feedback`,void 0]),open:z.bool,fg:z.string,bg:z.string,size:z.oneOfType([z.string,z.number])},nr.defaultProps={iconSet:`check`,shape:`round`,category:void 0,open:!1,fg:`#4aaf46`,bg:`#f8ffe2`,size:30};function rr(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 ir=`$$material`;function ar(){return ar=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},ar.apply(null,arguments)}function or(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 sr(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 cr=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(sr(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=or(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}(),lr=`-ms-`,ur=`-moz-`,H=`-webkit-`,dr=`comm`,fr=`rule`,pr=`decl`,mr=`@import`,hr=`@keyframes`,gr=`@layer`,_r=Math.abs,vr=String.fromCharCode,yr=Object.assign;function br(e,t){return Tr(e,0)^45?(((t<<2^Tr(e,0))<<2^Tr(e,1))<<2^Tr(e,2))<<2^Tr(e,3):0}function xr(e){return e.trim()}function Sr(e,t){return(e=t.exec(e))?e[0]:e}function Cr(e,t,n){return e.replace(t,n)}function wr(e,t){return e.indexOf(t)}function Tr(e,t){return e.charCodeAt(t)|0}function Er(e,t,n){return e.slice(t,n)}function Dr(e){return e.length}function Or(e){return e.length}function kr(e,t){return t.push(e),e}function Ar(e,t){return e.map(t).join(``)}var jr=1,Mr=1,Nr=0,Pr=0,Fr=0,Ir=``;function Lr(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:jr,column:Mr,length:o,return:``}}function Rr(e,t){return yr(Lr(``,null,null,``,null,null,0),e,{length:-e.length},t)}function zr(){return Fr}function Br(){return Fr=Pr>0?Tr(Ir,--Pr):0,Mr--,Fr===10&&(Mr=1,jr--),Fr}function Vr(){return Fr=Pr<Nr?Tr(Ir,Pr++):0,Mr++,Fr===10&&(Mr=1,jr++),Fr}function Hr(){return Tr(Ir,Pr)}function Ur(){return Pr}function Wr(e,t){return Er(Ir,e,t)}function Gr(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 Kr(e){return jr=Mr=1,Nr=Dr(Ir=e),Pr=0,[]}function qr(e){return Ir=``,e}function Jr(e){return xr(Wr(Pr-1,Zr(e===91?e+2:e===40?e+1:e)))}function Yr(e){for(;(Fr=Hr())&&Fr<33;)Vr();return Gr(e)>2||Gr(Fr)>3?``:` `}function Xr(e,t){for(;--t&&Vr()&&!(Fr<48||Fr>102||Fr>57&&Fr<65||Fr>70&&Fr<97););return Wr(e,Ur()+(t<6&&Hr()==32&&Vr()==32))}function Zr(e){for(;Vr();)switch(Fr){case e:return Pr;case 34:case 39:e!==34&&e!==39&&Zr(Fr);break;case 40:e===41&&Zr(e);break;case 92:Vr();break}return Pr}function Qr(e,t){for(;Vr()&&e+Fr!==57&&!(e+Fr===84&&Hr()===47););return`/*`+Wr(t,Pr-1)+`*`+vr(e===47?e:Vr())}function $r(e){for(;!Gr(Hr());)Vr();return Wr(e,Pr)}function ei(e){return qr(ti(``,null,null,null,[``],e=Kr(e),0,[0],e))}function ti(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=Vr()){case 40:if(m!=108&&Tr(C,d-1)==58){wr(C+=Cr(Jr(v),`&`,`&\f`),`&\f`)!=-1&&(_=-1);break}case 34:case 39:case 91:C+=Jr(v);break;case 9:case 10:case 13:case 32:C+=Yr(m);break;case 92:C+=Xr(Ur()-1,7);continue;case 47:switch(Hr()){case 42:case 47:kr(ri(Qr(Vr(),Ur()),t,n),c);break;default:C+=`/`}break;case 123*h:s[l++]=Dr(C)*_;case 125*h:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:_==-1&&(C=Cr(C,/\f/g,``)),p>0&&Dr(C)-d&&kr(p>32?ii(C+`;`,r,n,d-1):ii(Cr(C,` `,``)+`;`,r,n,d-2),c);break;case 59:C+=`;`;default:if(kr(S=ni(C,t,n,l,u,i,s,y,b=[],x=[],d),a),v===123)if(u===0)ti(C,t,S,S,b,a,d,s,x);else switch(f===99&&Tr(C,3)===110?100:f){case 100:case 108:case 109:case 115:ti(e,S,S,r&&kr(ni(e,S,S,0,0,i,s,y,i,b=[],d),x),i,x,d,s,r?b:x);break;default:ti(C,S,S,S,[``],x,0,s,x)}}l=u=p=0,h=_=1,y=C=``,d=o;break;case 58:d=1+Dr(C),p=m;default:if(h<1){if(v==123)--h;else if(v==125&&h++==0&&Br()==125)continue}switch(C+=vr(v),v*h){case 38:_=u>0?1:(C+=`\f`,-1);break;case 44:s[l++]=(Dr(C)-1)*_,_=1;break;case 64:Hr()===45&&(C+=Jr(Vr())),f=Hr(),u=d=Dr(y=C+=$r(Ur())),v++;break;case 45:m===45&&Dr(C)==2&&(h=0)}}return a}function ni(e,t,n,r,i,a,o,s,c,l,u){for(var d=i-1,f=i===0?a:[``],p=Or(f),m=0,h=0,g=0;m<r;++m)for(var _=0,v=Er(e,d+1,d=_r(h=o[m])),y=e;_<p;++_)(y=xr(h>0?f[_]+` `+v:Cr(v,/&\f/g,f[_])))&&(c[g++]=y);return Lr(e,t,n,i===0?fr:s,c,l,u)}function ri(e,t,n){return Lr(e,t,n,dr,vr(zr()),Er(e,2,-2),0)}function ii(e,t,n,r){return Lr(e,t,n,pr,Er(e,0,r),Er(e,r+1,-1),r)}function ai(e,t){for(var n=``,r=Or(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||``;return n}function oi(e,t,n,r){switch(e.type){case gr:if(e.children.length)break;case mr:case pr:return e.return=e.return||e.value;case dr:return``;case hr:return e.return=e.value+`{`+ai(e.children,r)+`}`;case fr:e.value=e.props.join(`,`)}return Dr(n=ai(e.children,r))?e.return=e.value+`{`+n+`}`:``}function si(e){var t=Or(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 li(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var ui=function(e,t,n){for(var r=0,i=0;r=i,i=Hr(),r===38&&i===12&&(t[n]=1),!Gr(i);)Vr();return Wr(e,Pr)},di=function(e,t){var n=-1,r=44;do switch(Gr(r)){case 0:r===38&&Hr()===12&&(t[n]=1),e[n]+=ui(Pr-1,t,n);break;case 2:e[n]+=Jr(r);break;case 4:if(r===44){e[++n]=Hr()===58?`&\f`:``,t[n]=e[n].length;break}default:e[n]+=vr(r)}while(r=Vr());return e},fi=function(e,t){return qr(di(Kr(e),t))},pi=new WeakMap,mi=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&&!pi.get(n))&&!r){pi.set(e,!0);for(var i=[],a=fi(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]}}},hi=function(e){if(e.type===`decl`){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return=``,e.value=``)}};function gi(e,t){switch(br(e,t)){case 5103:return H+`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 H+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return H+e+ur+e+lr+e+e;case 6828:case 4268:return H+e+lr+e+e;case 6165:return H+e+lr+`flex-`+e+e;case 5187:return H+e+Cr(e,/(\w+).+(:[^]+)/,H+`box-$1$2`+lr+`flex-$1$2`)+e;case 5443:return H+e+lr+`flex-item-`+Cr(e,/flex-|-self/,``)+e;case 4675:return H+e+lr+`flex-line-pack`+Cr(e,/align-content|flex-|-self/,``)+e;case 5548:return H+e+lr+Cr(e,`shrink`,`negative`)+e;case 5292:return H+e+lr+Cr(e,`basis`,`preferred-size`)+e;case 6060:return H+`box-`+Cr(e,`-grow`,``)+H+e+lr+Cr(e,`grow`,`positive`)+e;case 4554:return H+Cr(e,/([^-])(transform)/g,`$1`+H+`$2`)+e;case 6187:return Cr(Cr(Cr(e,/(zoom-|grab)/,H+`$1`),/(image-set)/,H+`$1`),e,``)+e;case 5495:case 3959:return Cr(e,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return Cr(Cr(e,/(.+:)(flex-)?(.*)/,H+`box-pack:$3`+lr+`flex-pack:$3`),/s.+-b[^;]+/,`justify`)+H+e+e;case 4095:case 3583:case 4068:case 2532:return Cr(e,/(.+)-inline(.+)/,H+`$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(Dr(e)-1-t>6)switch(Tr(e,t+1)){case 109:if(Tr(e,t+4)!==45)break;case 102:return Cr(e,/(.+:)(.+)-([^]+)/,`$1`+H+`$2-$3$1`+ur+(Tr(e,t+3)==108?`$3`:`$2-$3`))+e;case 115:return~wr(e,`stretch`)?gi(Cr(e,`stretch`,`fill-available`),t)+e:e}break;case 4949:if(Tr(e,t+1)!==115)break;case 6444:switch(Tr(e,Dr(e)-3-(~wr(e,`!important`)&&10))){case 107:return Cr(e,`:`,`:`+H)+e;case 101:return Cr(e,/(.+:)([^;!]+)(;|!.+)?/,`$1`+H+(Tr(e,14)===45?`inline-`:``)+`box$3$1`+H+`$2$3$1`+lr+`$2box$3`)+e}break;case 5936:switch(Tr(e,t+11)){case 114:return H+e+lr+Cr(e,/[svh]\w+-[tblr]{2}/,`tb`)+e;case 108:return H+e+lr+Cr(e,/[svh]\w+-[tblr]{2}/,`tb-rl`)+e;case 45:return H+e+lr+Cr(e,/[svh]\w+-[tblr]{2}/,`lr`)+e}return H+e+lr+e+e}return e}var _i=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case pr:e.return=gi(e.value,e.length);break;case hr:return ai([Rr(e,{value:Cr(e.value,`@`,`@`+H)})],r);case fr:if(e.length)return Ar(e.props,function(t){switch(Sr(t,/(::plac\w+|:read-\w+)/)){case`:read-only`:case`:read-write`:return ai([Rr(e,{props:[Cr(t,/:(read-\w+)/,`:`+ur+`$1`)]})],r);case`::placeholder`:return ai([Rr(e,{props:[Cr(t,/:(plac\w+)/,`:`+H+`input-$1`)]}),Rr(e,{props:[Cr(t,/:(plac\w+)/,`:`+ur+`$1`)]}),Rr(e,{props:[Cr(t,/:(plac\w+)/,lr+`input-$1`)]})],r)}return``})}}],vi=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||_i,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=[mi,hi],l,u=[oi,ci(function(e){l.insert(e)})],d=si(c.concat(r,u)),f=function(e){return ai(ei(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 cr({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},yi=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})),bi=o(((e,t)=>{t.exports=yi()})),xi=o(((e,t)=>{var n=bi(),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 Si(e,t,n){var r=``;return n.split(` `).forEach(function(n){e[n]===void 0?n&&(r+=n+` `):t.push(e[n]+`;`)}),r}var Ci=function(e,t,n){var r=e.key+`-`+t.name;n===!1&&e.registered[r]===void 0&&(e.registered[r]=t.styles)},wi=function(e,t,n){Ci(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 Ti(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 Ei={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},Di=/[A-Z]|^ms/g,Oi=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ki=function(e){return e.charCodeAt(1)===45},Ai=function(e){return e!=null&&typeof e!=`boolean`},ji=li(function(e){return ki(e)?e:e.replace(Di,`-$&`).toLowerCase()}),Mi=function(e,t){switch(e){case`animation`:case`animationName`:if(typeof t==`string`)return t.replace(Oi,function(e,t,n){return Ii={name:t,styles:n,next:Ii},t})}return Ei[e]!==1&&!ki(e)&&typeof t==`number`&&t!==0?t+`px`:t};function Ni(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 Ii={name:i.name,styles:i.styles,next:Ii},i.name;var a=n;if(a.styles!==void 0){var o=a.next;if(o!==void 0)for(;o!==void 0;)Ii={name:o.name,styles:o.styles,next:Ii},o=o.next;return a.styles+`;`}return Pi(e,t,n);case`function`:if(e!==void 0){var s=Ii,c=n(e);return Ii=s,Ni(e,t,c)}break}var l=n;if(t==null)return l;var u=t[l];return u===void 0?l:u}function Pi(e,t,n){var r=``;if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ni(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]+`}`:Ai(s)&&(r+=ji(a)+`:`+Mi(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++)Ai(o[c])&&(r+=ji(a)+`:`+Mi(a,o[c])+`;`);else{var l=Ni(e,t,o);switch(a){case`animation`:case`animationName`:r+=ji(a)+`:`+l+`;`;break;default:r+=a+`{`+l+`}`}}}return r}var Fi=/label:\s*([^\s;{]+)\s*(;|$)/g,Ii;function Li(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=``;Ii=void 0;var a=e[0];a==null||a.raw===void 0?(r=!1,i+=Ni(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Ni(n,t,e[o]),r&&(i+=a[o]);Fi.lastIndex=0;for(var s=``,c;(c=Fi.exec(i))!==null;)s+=`-`+c[1];return{name:Ti(i)+s,styles:i,next:Ii}}var Ri=function(e){return e()},zi=B.useInsertionEffect?B.useInsertionEffect:!1,Bi=zi||Ri,Vi=zi||B.useLayoutEffect,Hi=B.createContext(typeof HTMLElement<`u`?vi({key:`css`}):null),Ui=Hi.Provider,Wi=function(e){return(0,B.forwardRef)(function(t,n){return e(t,(0,B.useContext)(Hi),n)})},Gi=B.createContext({}),Ki={}.hasOwnProperty,qi=`__EMOTION_TYPE_PLEASE_DO_NOT_USE__`,Ji=function(e,t){var n={};for(var r in t)Ki.call(t,r)&&(n[r]=t[r]);return n[qi]=e,n},Yi=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ci(t,n,r),Bi(function(){return wi(t,n,r)}),null},Xi=Wi(function(e,t,n){var r=e.css;typeof r==`string`&&t.registered[r]!==void 0&&(r=t.registered[r]);var i=e[qi],a=[r],o=``;typeof e.className==`string`?o=Si(t.registered,a,e.className):e.className!=null&&(o=e.className+` `);var s=Li(a,void 0,B.useContext(Gi));o+=t.key+`-`+s.name;var c={};for(var l in e)Ki.call(e,l)&&l!==`css`&&l!==qi&&(c[l]=e[l]);return c.className=o,n&&(c.ref=n),B.createElement(B.Fragment,null,B.createElement(Yi,{cache:t,serialized:s,isStringTag:typeof i==`string`}),B.createElement(i,c))});xi();var Zi=function(e,t){var n=arguments;if(t==null||!Ki.call(t,`css`))return B.createElement.apply(void 0,n);var r=n.length,i=Array(r);i[0]=Xi,i[1]=Ji(e,t);for(var a=2;a<r;a++)i[a]=n[a];return B.createElement.apply(null,i)};(function(e){var t;t||=e.JSX||={}})(Zi||={});var Qi=Wi(function(e,t){var n=e.styles,r=Li([n],void 0,B.useContext(Gi)),i=B.useRef();return Vi(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]),Vi(function(){var e=i.current,n=e[0];if(e[1]){e[1]=!1;return}r.next!==void 0&&wi(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 $i(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return Li(t)}function ea(){var e=$i.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 ta=/^((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)-.*))$/,na=li(function(e){return ta.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),ra=function(e){return e!==`theme`},ia=function(e){return typeof e==`string`&&e.charCodeAt(0)>96?na:ra},aa=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},oa=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return Ci(t,n,r),Bi(function(){return wi(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=aa(t,n,r),c=s||ia(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=Wi(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=B.useContext(Gi)}typeof e.className==`string`?a=Si(t.registered,u,e.className):e.className!=null&&(a=e.className+` `);var m=Li(d.concat(u),t.registered,f);a+=t.key+`-`+m.name,o!==void 0&&(a+=` `+o);var h=l&&s===void 0?ia(r):c,g={};for(var _ in e)l&&_===`as`||h(_)&&(g[_]=e[_]);return g.className=a,n&&(g.ref=n),B.createElement(B.Fragment,null,B.createElement(oa,{cache:t,serialized:m,isStringTag:typeof r==`string`}),B.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,ar({},n,r,{shouldForwardProp:aa(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(`.`),la=sa.bind(null);ca.forEach(function(e){la[e]=la(e)});var ua=new Map,da={insert:void 0},fa=(e,t)=>{let n=vi(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},pa;if(typeof document==`object`&&(pa=document.querySelector(`[name="emotion-insertion-point"]`),!pa)){pa=document.createElement(`meta`),pa.setAttribute(`name`,`emotion-insertion-point`),pa.setAttribute(`content`,``);let e=document.querySelector(`head`);e&&e.prepend(pa)}function ma(e,t){if(e||t){class n extends cr{insert(e,t){return da.insert?da.insert(e,t):(this.key&&this.key.endsWith(`global`)&&(this.before=pa),super.insert(e,t))}}let r=fa({key:`css`,insertionPoint:e?pa: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 ha(e){let{injectFirst:t,enableCssLayer:n,children:r}=e,i=B.useMemo(()=>{let e=`${t}-${n}`;if(typeof document==`object`&&ua.has(e))return ua.get(e);let r=ma(t,n);return ua.set(e,r),r},[t,n]);return i?(0,V.jsx)(Ui,{value:i,children:r}):r}function ga(e){return e==null||Object.keys(e).length===0}function _a(e){let{styles:t,defaultTheme:n={}}=e;return(0,V.jsx)(Qi,{styles:typeof t==`function`?e=>t(ga(e)?n:e):t})}function va(e,t){return la(e,t)}function ya(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}var ba=[];function xa(e){return ba[0]=e,Li(ba)}var Sa=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))}})),Ca=o(((e,t)=>{t.exports=Sa()}))();function wa(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 Ta(e){if(B.isValidElement(e)||(0,Ca.isValidElementType)(e)||!wa(e))return e;let t={};return Object.keys(e).forEach(n=>{t[n]=Ta(e[n])}),t}function U(e,t,n={clone:!0}){let r=n.clone?{...e}:e;return wa(e)&&wa(t)&&Object.keys(t).forEach(i=>{B.isValidElement(t[i])||(0,Ca.isValidElementType)(t[i])?r[i]=t[i]:wa(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&wa(e[i])?r[i]=U(e[i],t[i],n):n.clone?r[i]=wa(t[i])?Ta(t[i]):t[i]:r[i]=t[i]}),r}var Ea=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 Da(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n=`px`,step:r=5,...i}=e,a=Ea(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 Oa(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 Aa(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 Ma={borderRadius:4};function Na(e,t){return t?U(e,t,{clone:!1}):e}var Pa={xs:0,sm:600,md:900,lg:1200,xl:1536},Fa={keys:[`xs`,`sm`,`md`,`lg`,`xl`],up:e=>`@media (min-width:${Pa[e]}px)`},Ia={containerQueries:e=>({up:t=>{let n=typeof t==`number`?t:Pa[t]||t;return typeof n==`number`&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function La(e,t,n){let r=e.theme||{};if(Array.isArray(t)){let e=r.breakpoints||Fa;return t.reduce((r,i,a)=>(r[e.up(e.keys[a])]=n(t[a]),r),{})}if(typeof t==`object`){let e=r.breakpoints||Fa;return Object.keys(t).reduce((i,a)=>{if(ka(e.keys,a)){let e=Aa(r.containerQueries?r:Ia,a);e&&(i[e]=n(t[a],a))}else if(Object.keys(e.values||Pa).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 Ra(e={}){return e.keys?.reduce((t,n)=>{let r=e.up(n);return t[r]={},t},{})||{}}function za(e,t){return e.reduce((e,t)=>{let n=e[t];return(!n||Object.keys(n).length===0)&&delete e[t],e},t)}function Ba(e){if(typeof e!=`string`)throw Error(rr(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Va(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 Ha(e,t,n,r=n){let i;return i=typeof e==`function`?e(n):Array.isArray(e)?e[n]||r:Va(e,n)||r,t&&(i=t(i,r,e)),i}function Ua(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=Va(o,r)||{};return La(e,a,e=>{let r=Ha(s,i,e);return e===r&&typeof e==`string`&&(r=Ha(s,i,`${t}${e==="default"?``:Ba(e)}`,e)),n===!1?r:{[n]:r}})};return a.propTypes={},a.filterProps=[t],a}function Wa(e){let t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}var Ga={m:`margin`,p:`padding`},Ka={t:`Top`,r:`Right`,b:`Bottom`,l:`Left`,x:[`Left`,`Right`],y:[`Top`,`Bottom`]},qa={marginX:`mx`,marginY:`my`,paddingX:`px`,paddingY:`py`},Ja=Wa(e=>{if(e.length>2)if(qa[e])e=qa[e];else return[e];let[t,n]=e.split(``),r=Ga[t],i=Ka[n]||``;return Array.isArray(i)?i.map(e=>r+e):[r+i]}),Ya=[`m`,`mt`,`mr`,`mb`,`ml`,`mx`,`my`,`margin`,`marginTop`,`marginRight`,`marginBottom`,`marginLeft`,`marginX`,`marginY`,`marginInline`,`marginInlineStart`,`marginInlineEnd`,`marginBlock`,`marginBlockStart`,`marginBlockEnd`],Xa=[`p`,`pt`,`pr`,`pb`,`pl`,`px`,`py`,`padding`,`paddingTop`,`paddingRight`,`paddingBottom`,`paddingLeft`,`paddingX`,`paddingY`,`paddingInline`,`paddingInlineStart`,`paddingInlineEnd`,`paddingBlock`,`paddingBlockStart`,`paddingBlockEnd`],Za=[...Ya,...Xa];function Qa(e,t,n,r){let i=Va(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 $a(e){return Qa(e,`spacing`,8,`spacing`)}function eo(e,t){return typeof t==`string`||t==null?t:e(t)}function to(e,t){return n=>e.reduce((e,r)=>(e[r]=eo(t,n),e),{})}function no(e,t,n,r){if(!t.includes(n))return null;let i=to(Ja(n),r),a=e[n];return La(e,a,i)}function ro(e,t){let n=$a(e.theme);return Object.keys(e).map(r=>no(e,t,r,n)).reduce(Na,{})}function io(e){return ro(e,Ya)}io.propTypes={},io.filterProps=Ya;function ao(e){return ro(e,Xa)}ao.propTypes={},ao.filterProps=Xa;function oo(e){return ro(e,Za)}oo.propTypes={},oo.filterProps=Za;function so(e=8,t=$a({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 co(...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]?Na(n,t[r](e)):n,{});return n.propTypes={},n.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),n}function lo(e){return typeof e==`number`?`${e}px solid`:e}function uo(e,t){return Ua({prop:e,themeKey:`borders`,transform:t})}var fo=uo(`border`,lo),po=uo(`borderTop`,lo),mo=uo(`borderRight`,lo),ho=uo(`borderBottom`,lo),go=uo(`borderLeft`,lo),_o=uo(`borderColor`),vo=uo(`borderTopColor`),yo=uo(`borderRightColor`),bo=uo(`borderBottomColor`),xo=uo(`borderLeftColor`),So=uo(`outline`,lo),Co=uo(`outlineColor`),wo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){let t=Qa(e.theme,`shape.borderRadius`,4,`borderRadius`);return La(e,e.borderRadius,e=>({borderRadius:eo(t,e)}))}return null};wo.propTypes={},wo.filterProps=[`borderRadius`],co(fo,po,mo,ho,go,_o,vo,yo,bo,xo,wo,So,Co);var To=e=>{if(e.gap!==void 0&&e.gap!==null){let t=Qa(e.theme,`spacing`,8,`gap`);return La(e,e.gap,e=>({gap:eo(t,e)}))}return null};To.propTypes={},To.filterProps=[`gap`];var Eo=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){let t=Qa(e.theme,`spacing`,8,`columnGap`);return La(e,e.columnGap,e=>({columnGap:eo(t,e)}))}return null};Eo.propTypes={},Eo.filterProps=[`columnGap`];var Do=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){let t=Qa(e.theme,`spacing`,8,`rowGap`);return La(e,e.rowGap,e=>({rowGap:eo(t,e)}))}return null};Do.propTypes={},Do.filterProps=[`rowGap`],co(To,Eo,Do,Ua({prop:`gridColumn`}),Ua({prop:`gridRow`}),Ua({prop:`gridAutoFlow`}),Ua({prop:`gridAutoColumns`}),Ua({prop:`gridAutoRows`}),Ua({prop:`gridTemplateColumns`}),Ua({prop:`gridTemplateRows`}),Ua({prop:`gridTemplateAreas`}),Ua({prop:`gridArea`}));function Oo(e,t){return t===`grey`?t:e}co(Ua({prop:`color`,themeKey:`palette`,transform:Oo}),Ua({prop:`bgcolor`,cssProperty:`backgroundColor`,themeKey:`palette`,transform:Oo}),Ua({prop:`backgroundColor`,themeKey:`palette`,transform:Oo}));function ko(e){return e<=1&&e!==0?`${e*100}%`:e}var Ao=Ua({prop:`width`,transform:ko}),jo=e=>e.maxWidth!==void 0&&e.maxWidth!==null?La(e,e.maxWidth,t=>{let n=e.theme?.breakpoints?.values?.[t]||Pa[t];return n?e.theme?.breakpoints?.unit===`px`?{maxWidth:n}:{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:ko(t)}}):null;jo.filterProps=[`maxWidth`];var Mo=Ua({prop:`minWidth`,transform:ko}),No=Ua({prop:`height`,transform:ko}),Po=Ua({prop:`maxHeight`,transform:ko}),Fo=Ua({prop:`minHeight`,transform:ko});Ua({prop:`size`,cssProperty:`width`,transform:ko}),Ua({prop:`size`,cssProperty:`height`,transform:ko}),co(Ao,jo,Mo,No,Po,Fo,Ua({prop:`boxSizing`}));var Io={border:{themeKey:`borders`,transform:lo},borderTop:{themeKey:`borders`,transform:lo},borderRight:{themeKey:`borders`,transform:lo},borderBottom:{themeKey:`borders`,transform:lo},borderLeft:{themeKey:`borders`,transform:lo},borderColor:{themeKey:`palette`},borderTopColor:{themeKey:`palette`},borderRightColor:{themeKey:`palette`},borderBottomColor:{themeKey:`palette`},borderLeftColor:{themeKey:`palette`},outline:{themeKey:`borders`,transform:lo},outlineColor:{themeKey:`palette`},borderRadius:{themeKey:`shape.borderRadius`,style:wo},color:{themeKey:`palette`,transform:Oo},bgcolor:{themeKey:`palette`,cssProperty:`backgroundColor`,transform:Oo},backgroundColor:{themeKey:`palette`,transform:Oo},p:{style:ao},pt:{style:ao},pr:{style:ao},pb:{style:ao},pl:{style:ao},px:{style:ao},py:{style:ao},padding:{style:ao},paddingTop:{style:ao},paddingRight:{style:ao},paddingBottom:{style:ao},paddingLeft:{style:ao},paddingX:{style:ao},paddingY:{style:ao},paddingInline:{style:ao},paddingInlineStart:{style:ao},paddingInlineEnd:{style:ao},paddingBlock:{style:ao},paddingBlockStart:{style:ao},paddingBlockEnd:{style:ao},m:{style:io},mt:{style:io},mr:{style:io},mb:{style:io},ml:{style:io},mx:{style:io},my:{style:io},margin:{style:io},marginTop:{style:io},marginRight:{style:io},marginBottom:{style:io},marginLeft:{style:io},marginX:{style:io},marginY:{style:io},marginInline:{style:io},marginInlineStart:{style:io},marginInlineEnd:{style:io},marginBlock:{style:io},marginBlockStart:{style:io},marginBlockEnd:{style:io},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:To},rowGap:{style:Do},columnGap:{style:Eo},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 Lo(...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 Ro(e,t){return typeof e==`function`?e(t):e}function zo(){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=Va(n,s)||{};return l?l(i):La(i,t,t=>{let n=Ha(u,c,t);return t===n&&typeof t==`string`&&(n=Ha(u,c,`${e}${t==="default"?``:Ba(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??Io;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=Ra(i.breakpoints),c=Object.keys(s),l=s;return Object.keys(r).forEach(n=>{let a=Ro(r[n],i);if(a!=null)if(typeof a==`object`)if(o[n])l=Na(l,e(n,a,i,o));else{let e=La({theme:i},a,e=>({[n]:e}));Lo(e,a)?l[n]=t({sx:a,theme:i,nested:!0}):l=Na(l,e)}else l=Na(l,e(n,a,i,o))}),!a&&i.modularCssLayers?{"@layer sx":Oa(i,za(c,l))}:Oa(i,za(c,l))}return Array.isArray(r)?r.map(s):s(r)}return t}var Bo=zo();Bo.filterProps=[`sx`];function Vo(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 Ho(e={},...t){let{breakpoints:n={},palette:r={},spacing:i,shape:a={},...o}=e,s=Da(n),c=so(i),l=U({breakpoints:s,direction:`ltr`,components:{},palette:{mode:`light`,...r},spacing:c,shape:{...Ma,...a}},o);return l=ja(l),l.applyStyles=Vo,l=t.reduce((e,t)=>U(e,t),l),l.unstable_sxConfig={...Io,...o?.unstable_sxConfig},l.unstable_sx=function(e){return Bo({sx:e,theme:this})},l}function Uo(e){return Object.keys(e).length===0}function Wo(e=null){let t=B.useContext(Gi);return!t||Uo(t)?e:t}var Go=Ho();function Ko(e=Go){return Wo(e)}function qo(e){let t=xa(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Jo({styles:e,themeId:t,defaultTheme:n={}}){let r=Ko(n),i=t&&r[t]||r,a=typeof e==`function`?e(i):e;return i.modularCssLayers&&(a=Array.isArray(a)?a.map(e=>qo(typeof e==`function`?e(i):e)):qo(a)),(0,V.jsx)(_a,{styles:a})}var Yo=e=>{let t={systemProps:{},otherProps:{}},n=e?.theme?.unstable_sxConfig??Io;return Object.keys(e).forEach(r=>{n[r]?t.systemProps[r]=e[r]:t.otherProps[r]=e[r]}),t};function Xo(e){let{sx:t,...n}=e,{systemProps:r,otherProps:i}=Yo(n),a;return a=Array.isArray(t)?[r,...t]:typeof t==`function`?(...e)=>{let n=t(...e);return wa(n)?{...r,...n}:r}:{...r,...t},{...i,sx:a}}var Zo=e=>e,Qo=(()=>{let e=Zo;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Zo}}})();function $o(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=$o(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function W(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=$o(e))&&(r&&(r+=` `),r+=t);return r}var es={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 ts(e,t,n=`Mui`){let r=es[t];return r?`${n}-${r}`:`${Qo.generate(e)}-${t}`}function ns(e,t,n=`Mui`){let r={};return t.forEach(t=>{r[t]=ts(e,t,n)}),r}function rs(e){let{variants:t,...n}=e,r={variants:t,style:xa(n),isProcessed:!0};return r.style===n||t&&t.forEach(e=>{typeof e.style!=`function`&&(e.style=xa(e.style))}),r}var is=Ho();function as(e){return e!==`ownerState`&&e!==`theme`&&e!==`sx`&&e!==`as`}function os(e,t){return t&&e&&typeof e==`object`&&e.styles&&!e.styles.startsWith(`@layer`)&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function ss(e){return e?(t,n)=>n[e]:null}function cs(e,t,n){e.theme=fs(e.theme)?n:e.theme[t]||e.theme}function ls(e,t,n){let r=typeof t==`function`?t(e):t;if(Array.isArray(r))return r.flatMap(t=>ls(e,t,n));if(Array.isArray(r?.variants)){let t;if(r.isProcessed)t=n?os(r.style,n):r.style;else{let{variants:e,...i}=r;t=n?os(xa(i),n):i}return us(e,r.variants,[t],n)}return r?.isProcessed?n?os(xa(r.style),n):r.style:n?os(xa(r),n):r}function us(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?os(xa(o.style(i)),r):o.style(i))):n.push(r?os(xa(o.style),r):o.style)}return n}function ds(e={}){let{themeId:t,defaultTheme:n=is,rootShouldForwardProp:r=as,slotShouldForwardProp:i=as}=e;function a(e){cs(e,t,n)}return(e,t={})=>{ya(e,e=>e.filter(e=>e!==Bo));let{name:n,slot:o,skipVariantsResolver:s,skipSx:c,overridesResolver:l=ss(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=as;o===`Root`||o===`root`?m=r:o?m=i:ps(e)&&(m=void 0);let h=va(e,{shouldForwardProp:m,label:void 0,...u}),g=e=>{if(e.__emotion_real===e)return e;if(typeof e==`function`)return function(t){return ls(t,e,t.theme.modularCssLayers?d:void 0)};if(wa(e)){let t=rs(e);return function(e){return t.variants?ls(e,t,e.theme.modularCssLayers?d:void 0):e.theme.modularCssLayers?os(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]=ls(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?us(e,t,[],e.theme.modularCssLayers?`theme`:void 0):null}),p||o.push(Bo),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 fs(e){for(let t in e)return!1;return!0}function ps(e){return typeof e==`string`&&e.charCodeAt(0)>96}function ms(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function hs(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]=hs(i[t],o[t],n)}}}else a===`className`&&n&&t.className?r.className=W(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 gs=typeof window<`u`?B.useLayoutEffect:B.useEffect;function _s(e,t=-(2**53-1),n=2**53-1){return Math.max(t,Math.min(e,n))}function vs(e,t=0,n=1){return _s(e,t,n)}function ys(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 bs(e){if(e.type)return e;if(e.charAt(0)===`#`)return bs(ys(e));let t=e.indexOf(`(`),n=e.substring(0,t);if(![`rgb`,`rgba`,`hsl`,`hsla`,`color`].includes(n))throw Error(rr(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(rr(10,i))}else r=r.split(`,`);return r=r.map(e=>parseFloat(e)),{type:n,values:r,colorSpace:i}}var xs=e=>{let t=bs(e);return t.values.slice(0,3).map((e,n)=>t.type.includes(`hsl`)&&n!==0?`${e}%`:e).join(` `)},Ss=(e,t)=>{try{return xs(e)}catch{return e}};function Cs(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 ws(e){e=bs(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])),Cs({type:s,values:c})}function Ts(e){e=bs(e);let t=e.type===`hsl`||e.type===`hsla`?bs(ws(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 Es(e,t){let n=Ts(e),r=Ts(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function Ds(e,t){return e=bs(e),t=vs(t),(e.type===`rgb`||e.type===`hsl`)&&(e.type+=`a`),e.type===`color`?e.values[3]=`/${t}`:e.values[3]=t,Cs(e)}function Os(e,t,n){try{return Ds(e,t)}catch{return e}}function ks(e,t){if(e=bs(e),t=vs(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 Cs(e)}function As(e,t,n){try{return ks(e,t)}catch{return e}}function js(e,t){if(e=bs(e),t=vs(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 Cs(e)}function Ms(e,t,n){try{return js(e,t)}catch{return e}}function Ns(e,t=.15){return Ts(e)>.5?ks(e,t):js(e,t)}function Ps(e,t,n){try{return Ns(e,t)}catch{return e}}var Fs=B.createContext(null);function Is(){return B.useContext(Fs)}var Ls=typeof Symbol==`function`&&Symbol.for?Symbol.for(`mui.nested`):`__THEME_NESTED__`;function Rs(e,t){return typeof t==`function`?t(e):{...e,...t}}function zs(e){let{children:t,theme:n}=e,r=Is(),i=B.useMemo(()=>{let e=r===null?{...n}:Rs(r,n);return e!=null&&(e[Ls]=r!==null),e},[n,r]);return(0,V.jsx)(Fs.Provider,{value:i,children:t})}var Bs=B.createContext();function Vs({value:e,...t}){return(0,V.jsx)(Bs.Provider,{value:e??!0,...t})}var Hs=()=>B.useContext(Bs)??!1,Us=B.createContext(void 0);function Ws({value:e,children:t}){return(0,V.jsx)(Us.Provider,{value:e,children:t})}function Gs(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?hs(i.defaultProps,r,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?hs(i,r,t.components.mergeClassNameAndStyle):r}function Ks({props:e,name:t}){return Gs({props:e,name:t,theme:{components:B.useContext(Us)}})}var qs=0;function Js(e){let[t,n]=B.useState(e),r=e||t;return B.useEffect(()=>{t??(qs+=1,n(`mui-${qs}`))},[t]),r}var Ys={...B}.useId;function Xs(e){if(Ys!==void 0){let t=Ys();return e??t}return Js(e)}function Zs(e){let t=Wo(),n=Xs()||``,{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};`,gs(()=>{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,V.jsx)(Jo,{styles:i}):null}var Qs={};function $s(e,t,n,r=!1){return B.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 ec(e){let{children:t,theme:n,themeId:r}=e,i=Wo(Qs),a=Is()||Qs,o=$s(r,i,n),s=$s(r,a,n,!0),c=(r?o[r]:o).direction===`rtl`,l=Zs(o);return(0,V.jsx)(zs,{theme:s,children:(0,V.jsx)(Gi.Provider,{value:o,children:(0,V.jsx)(Vs,{value:c,children:(0,V.jsxs)(Ws,{value:r?o[r].components:o.components,children:[l,t]})})})})}var tc={theme:void 0};function nc(e){let t,n;return function(r){let i=t;return(i===void 0||r.theme!==n)&&(tc.theme=r.theme,i=rs(e(tc)),t=i,n=r.theme),i}}var rc=`mode`,ic=`color-scheme`,ac=`data-color-scheme`;function oc(e){let{defaultMode:t=`system`,defaultLightColorScheme:n=`light`,defaultDarkColorScheme:r=`dark`,modeStorageKey:i=rc,colorSchemeStorageKey:a=ic,attribute:o=ac,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));
|
|
45
45
|
${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));
|
|
46
46
|
${s}.removeAttribute('${e}'.replace('%s', dark));`),l+=`
|
|
@@ -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/categorize@14.0.5
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/categorize@14.0.5/dist/schemas/configuration.schema.json",
|
|
4
4
|
"type": "object",
|
|
5
5
|
"properties": {
|
|
6
6
|
"baseInputConfiguration": {
|
|
@@ -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/categorize@14.0.5
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/categorize@14.0.5/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/categorize@14.0.5
|
|
3
|
+
"$id": "https://cdn.jsdelivr.net/npm/@pie-element/categorize@14.0.5/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/categorize",
|
|
3
|
-
"version": "14.0.5
|
|
3
|
+
"version": "14.0.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -13,25 +13,25 @@
|
|
|
13
13
|
"@emotion/react": "^11.14.0",
|
|
14
14
|
"@mui/icons-material": "^7.3.4",
|
|
15
15
|
"@mui/material": "^7.3.4",
|
|
16
|
-
"@pie-element/shared-utils": "0.1.
|
|
17
|
-
"@pie-lib/categorize": "3.0.
|
|
18
|
-
"@pie-lib/config-ui": "14.0.5
|
|
19
|
-
"@pie-lib/correct-answer-toggle": "5.0.5
|
|
20
|
-
"@pie-lib/drag": "5.0.5
|
|
21
|
-
"@pie-lib/render-ui": "8.0.5
|
|
22
|
-
"@pie-lib/translator": "5.0.
|
|
16
|
+
"@pie-element/shared-utils": "0.1.4",
|
|
17
|
+
"@pie-lib/categorize": "3.0.1",
|
|
18
|
+
"@pie-lib/config-ui": "14.0.5",
|
|
19
|
+
"@pie-lib/correct-answer-toggle": "5.0.5",
|
|
20
|
+
"@pie-lib/drag": "5.0.5",
|
|
21
|
+
"@pie-lib/render-ui": "8.0.5",
|
|
22
|
+
"@pie-lib/translator": "5.0.1",
|
|
23
23
|
"debug": "^4.1.1",
|
|
24
24
|
"prop-types": "^15.8.1",
|
|
25
|
-
"@pie-element/shared-lodash": "0.1.
|
|
26
|
-
"@pie-lib/editable-html-tip-tap": "3.0
|
|
27
|
-
"@pie-element/shared-math-rendering-mathjax": "0.
|
|
28
|
-
"@pie-element/shared-configure-events": "0.1.
|
|
29
|
-
"@pie-element/shared-feedback": "0.1.
|
|
30
|
-
"@pie-element/shared-controller-utils": "0.1.
|
|
31
|
-
"@pie-element/shared-player-events": "0.
|
|
25
|
+
"@pie-element/shared-lodash": "0.1.2",
|
|
26
|
+
"@pie-lib/editable-html-tip-tap": "3.1.0",
|
|
27
|
+
"@pie-element/shared-math-rendering-mathjax": "0.1.6",
|
|
28
|
+
"@pie-element/shared-configure-events": "0.1.1",
|
|
29
|
+
"@pie-element/shared-feedback": "0.1.2",
|
|
30
|
+
"@pie-element/shared-controller-utils": "0.1.2",
|
|
31
|
+
"@pie-element/shared-player-events": "0.2.0",
|
|
32
32
|
"react": "^18.2.0",
|
|
33
33
|
"react-dom": "^18.2.0",
|
|
34
|
-
"@pie-element/shared-types": "0.2.
|
|
34
|
+
"@pie-element/shared-types": "0.2.1"
|
|
35
35
|
},
|
|
36
36
|
"exports": {
|
|
37
37
|
".": {
|
|
@@ -104,7 +104,7 @@
|
|
|
104
104
|
},
|
|
105
105
|
"browserEditorRuntime": {
|
|
106
106
|
"name": "@pie-element/shared-editor-runtime",
|
|
107
|
-
"version": "0.1.
|
|
107
|
+
"version": "0.1.2",
|
|
108
108
|
"views": {
|
|
109
109
|
"delivery": "editor-runtime/delivery",
|
|
110
110
|
"author": "editor-runtime/author",
|