UNPKG

@nuskin/chat-bot

Version:

React Chat Bot component for GenAI interaction with Amazon Bedrock

30 lines 2.42 MB
var rAe=Object.defineProperty;var aAe=(te,Ht,ur)=>Ht in te?rAe(te,Ht,{enumerable:!0,configurable:!0,writable:!0,value:ur}):te[Ht]=ur;var ko=(te,Ht,ur)=>aAe(te,typeof Ht!="symbol"?Ht+"":Ht,ur);this.ChatBotUI=function(te,Ht){"use strict";function ur(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}function v(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!="string"&&!Array.isArray(r)){for(const a in r)if(a!=="default"&&!(a in e)){const o=Object.getOwnPropertyDescriptor(r,a);o&&Object.defineProperty(e,a,o.get?o:{enumerable:!0,get:()=>r[a]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}const q=ur(te),FV=ur(Ht);var Bn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function y(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function BV(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var a=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,a.get?a:{enumerable:!0,get:function(){return e[r]}})}),n}var iT,sT=Ht;iT=sT.createRoot,sT.hydrateRoot;const Ta={black:"#000",white:"#fff"},kr={300:"#e57373",400:"#ef5350",500:"#f44336",700:"#d32f2f",800:"#c62828"},Lr={50:"#f3e5f5",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",700:"#7b1fa2"},Mr={50:"#e3f2fd",200:"#90caf9",400:"#42a5f5",700:"#1976d2",800:"#1565c0"},Pr={300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",700:"#0288d1",900:"#01579b"},Fr={300:"#81c784",400:"#66bb6a",500:"#4caf50",700:"#388e3c",800:"#2e7d32",900:"#1b5e20"},ya={300:"#ffb74d",400:"#ffa726",500:"#ff9800",700:"#f57c00",900:"#e65100"},UV={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Un(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Lo="$$material";function Br(){return Br=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},Br.apply(null,arguments)}function $V(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 GV(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 HV=function(){function e(n){var r=this;this._insertTag=function(a){var o;r.tags.length===0?r.insertionPoint?o=r.insertionPoint.nextSibling:r.prepend?o=r.container.firstChild:o=r.before:o=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(a,o),r.tags.push(a)},this.isSpeedy=n.speedy===void 0?!0:n.speedy,this.tags=[],this.ctr=0,this.nonce=n.nonce,this.key=n.key,this.container=n.container,this.prepend=n.prepend,this.insertionPoint=n.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(GV(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var o=$V(a);try{o.insertRule(r,o.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var a;return(a=r.parentNode)==null?void 0:a.removeChild(r)}),this.tags=[],this.ctr=0},e}(),Lt="-ms-",Mo="-moz-",je="-webkit-",lT="comm",Zs="rule",Js="decl",qV="@import",cT="@keyframes",zV="@layer",YV=Math.abs,Po=String.fromCharCode,VV=Object.assign;function WV(e,t){return wt(e,0)^45?(((t<<2^wt(e,0))<<2^wt(e,1))<<2^wt(e,2))<<2^wt(e,3):0}function uT(e){return e.trim()}function KV(e,t){return(e=t.exec(e))?e[0]:e}function Qe(e,t,n){return e.replace(t,n)}function el(e,t){return e.indexOf(t)}function wt(e,t){return e.charCodeAt(t)|0}function va(e,t,n){return e.slice(t,n)}function vn(e){return e.length}function tl(e){return e.length}function Fo(e,t){return t.push(e),e}function jV(e,t){return e.map(t).join("")}var Bo=1,Ur=1,dT=0,qt=0,Tt=0,$r="";function Uo(e,t,n,r,a,o,i){return{value:e,root:t,parent:n,type:r,props:a,children:o,line:Bo,column:Ur,length:i,return:""}}function Ra(e,t){return VV(Uo("",null,null,"",null,null,0),e,{length:-e.length},t)}function QV(){return Tt}function XV(){return Tt=qt>0?wt($r,--qt):0,Ur--,Tt===10&&(Ur=1,Bo--),Tt}function Qt(){return Tt=qt<dT?wt($r,qt++):0,Ur++,Tt===10&&(Ur=1,Bo++),Tt}function Rn(){return wt($r,qt)}function $o(){return qt}function Ca(e,t){return va($r,e,t)}function Aa(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 pT(e){return Bo=Ur=1,dT=vn($r=e),qt=0,[]}function mT(e){return $r="",e}function Go(e){return uT(Ca(qt-1,nl(e===91?e+2:e===40?e+1:e)))}function ZV(e){for(;(Tt=Rn())&&Tt<33;)Qt();return Aa(e)>2||Aa(Tt)>3?"":" "}function JV(e,t){for(;--t&&Qt()&&!(Tt<48||Tt>102||Tt>57&&Tt<65||Tt>70&&Tt<97););return Ca(e,$o()+(t<6&&Rn()==32&&Qt()==32))}function nl(e){for(;Qt();)switch(Tt){case e:return qt;case 34:case 39:e!==34&&e!==39&&nl(Tt);break;case 40:e===41&&nl(e);break;case 92:Qt();break}return qt}function eW(e,t){for(;Qt()&&e+Tt!==57;)if(e+Tt===84&&Rn()===47)break;return"/*"+Ca(t,qt-1)+"*"+Po(e===47?e:Qt())}function tW(e){for(;!Aa(Rn());)Qt();return Ca(e,qt)}function nW(e){return mT(Ho("",null,null,null,[""],e=pT(e),0,[0],e))}function Ho(e,t,n,r,a,o,i,s,l){for(var c=0,u=0,d=i,p=0,m=0,_=0,f=1,h=1,b=1,T=0,E="",A=a,I=o,O=r,x=E;h;)switch(_=T,T=Qt()){case 40:if(_!=108&&wt(x,d-1)==58){el(x+=Qe(Go(T),"&","&\f"),"&\f")!=-1&&(b=-1);break}case 34:case 39:case 91:x+=Go(T);break;case 9:case 10:case 13:case 32:x+=ZV(_);break;case 92:x+=JV($o()-1,7);continue;case 47:switch(Rn()){case 42:case 47:Fo(rW(eW(Qt(),$o()),t,n),l);break;default:x+="/"}break;case 123*f:s[c++]=vn(x)*b;case 125*f:case 59:case 0:switch(T){case 0:case 125:h=0;case 59+u:b==-1&&(x=Qe(x,/\f/g,"")),m>0&&vn(x)-d&&Fo(m>32?_T(x+";",r,n,d-1):_T(Qe(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Fo(O=gT(x,t,n,c,u,a,s,E,A=[],I=[],d),o),T===123)if(u===0)Ho(x,t,O,O,A,o,d,s,I);else switch(p===99&&wt(x,3)===110?100:p){case 100:case 108:case 109:case 115:Ho(e,O,O,r&&Fo(gT(e,O,O,0,0,a,s,E,a,A=[],d),I),a,I,d,s,r?A:I);break;default:Ho(x,O,O,O,[""],I,0,s,I)}}c=u=m=0,f=b=1,E=x="",d=i;break;case 58:d=1+vn(x),m=_;default:if(f<1){if(T==123)--f;else if(T==125&&f++==0&&XV()==125)continue}switch(x+=Po(T),T*f){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(vn(x)-1)*b,b=1;break;case 64:Rn()===45&&(x+=Go(Qt())),p=Rn(),u=d=vn(E=x+=tW($o())),T++;break;case 45:_===45&&vn(x)==2&&(f=0)}}return o}function gT(e,t,n,r,a,o,i,s,l,c,u){for(var d=a-1,p=a===0?o:[""],m=tl(p),_=0,f=0,h=0;_<r;++_)for(var b=0,T=va(e,d+1,d=YV(f=i[_])),E=e;b<m;++b)(E=uT(f>0?p[b]+" "+T:Qe(T,/&\f/g,p[b])))&&(l[h++]=E);return Uo(e,t,n,a===0?Zs:s,l,c,u)}function rW(e,t,n){return Uo(e,t,n,lT,Po(QV()),va(e,2,-2),0)}function _T(e,t,n,r){return Uo(e,t,n,Js,va(e,0,r),va(e,r+1,-1),r)}function Gr(e,t){for(var n="",r=tl(e),a=0;a<r;a++)n+=t(e[a],a,e,t)||"";return n}function aW(e,t,n,r){switch(e.type){case zV:if(e.children.length)break;case qV:case Js:return e.return=e.return||e.value;case lT:return"";case cT:return e.return=e.value+"{"+Gr(e.children,r)+"}";case Zs:e.value=e.props.join(",")}return vn(n=Gr(e.children,r))?e.return=e.value+"{"+n+"}":""}function oW(e){var t=tl(e);return function(n,r,a,o){for(var i="",s=0;s<t;s++)i+=e[s](n,r,a,o)||"";return i}}function iW(e){return function(t){t.root||(t=t.return)&&e(t)}}function fT(e){var t=Object.create(null);return function(n){return t[n]===void 0&&(t[n]=e(n)),t[n]}}var sW=function(t,n,r){for(var a=0,o=0;a=o,o=Rn(),a===38&&o===12&&(n[r]=1),!Aa(o);)Qt();return Ca(t,qt)},lW=function(t,n){var r=-1,a=44;do switch(Aa(a)){case 0:a===38&&Rn()===12&&(n[r]=1),t[r]+=sW(qt-1,n,r);break;case 2:t[r]+=Go(a);break;case 4:if(a===44){t[++r]=Rn()===58?"&\f":"",n[r]=t[r].length;break}default:t[r]+=Po(a)}while(a=Qt());return t},cW=function(t,n){return mT(lW(pT(t),n))},ET=new WeakMap,uW=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var n=t.value,r=t.parent,a=t.column===r.column&&t.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(t.props.length===1&&n.charCodeAt(0)!==58&&!ET.get(r))&&!a){ET.set(t,!0);for(var o=[],i=cW(n,o),s=r.props,l=0,c=0;l<i.length;l++)for(var u=0;u<s.length;u++,c++)t.props[c]=o[l]?i[l].replace(/&\f/g,s[u]):s[u]+" "+i[l]}}},dW=function(t){if(t.type==="decl"){var n=t.value;n.charCodeAt(0)===108&&n.charCodeAt(2)===98&&(t.return="",t.value="")}};function bT(e,t){switch(WV(e,t)){case 5103:return je+"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 je+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return je+e+Mo+e+Lt+e+e;case 6828:case 4268:return je+e+Lt+e+e;case 6165:return je+e+Lt+"flex-"+e+e;case 5187:return je+e+Qe(e,/(\w+).+(:[^]+)/,je+"box-$1$2"+Lt+"flex-$1$2")+e;case 5443:return je+e+Lt+"flex-item-"+Qe(e,/flex-|-self/,"")+e;case 4675:return je+e+Lt+"flex-line-pack"+Qe(e,/align-content|flex-|-self/,"")+e;case 5548:return je+e+Lt+Qe(e,"shrink","negative")+e;case 5292:return je+e+Lt+Qe(e,"basis","preferred-size")+e;case 6060:return je+"box-"+Qe(e,"-grow","")+je+e+Lt+Qe(e,"grow","positive")+e;case 4554:return je+Qe(e,/([^-])(transform)/g,"$1"+je+"$2")+e;case 6187:return Qe(Qe(Qe(e,/(zoom-|grab)/,je+"$1"),/(image-set)/,je+"$1"),e,"")+e;case 5495:case 3959:return Qe(e,/(image-set\([^]*)/,je+"$1$`$1");case 4968:return Qe(Qe(e,/(.+:)(flex-)?(.*)/,je+"box-pack:$3"+Lt+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+je+e+e;case 4095:case 3583:case 4068:case 2532:return Qe(e,/(.+)-inline(.+)/,je+"$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(vn(e)-1-t>6)switch(wt(e,t+1)){case 109:if(wt(e,t+4)!==45)break;case 102:return Qe(e,/(.+:)(.+)-([^]+)/,"$1"+je+"$2-$3$1"+Mo+(wt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~el(e,"stretch")?bT(Qe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(wt(e,t+1)!==115)break;case 6444:switch(wt(e,vn(e)-3-(~el(e,"!important")&&10))){case 107:return Qe(e,":",":"+je)+e;case 101:return Qe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+je+(wt(e,14)===45?"inline-":"")+"box$3$1"+je+"$2$3$1"+Lt+"$2box$3")+e}break;case 5936:switch(wt(e,t+11)){case 114:return je+e+Lt+Qe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return je+e+Lt+Qe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return je+e+Lt+Qe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return je+e+Lt+e+e}return e}var pW=function(t,n,r,a){if(t.length>-1&&!t.return)switch(t.type){case Js:t.return=bT(t.value,t.length);break;case cT:return Gr([Ra(t,{value:Qe(t.value,"@","@"+je)})],a);case Zs:if(t.length)return jV(t.props,function(o){switch(KV(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Gr([Ra(t,{props:[Qe(o,/:(read-\w+)/,":"+Mo+"$1")]})],a);case"::placeholder":return Gr([Ra(t,{props:[Qe(o,/:(plac\w+)/,":"+je+"input-$1")]}),Ra(t,{props:[Qe(o,/:(plac\w+)/,":"+Mo+"$1")]}),Ra(t,{props:[Qe(o,/:(plac\w+)/,Lt+"input-$1")]})],a)}return""})}},mW=[pW],gW=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(f){var h=f.getAttribute("data-emotion");h.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var a=t.stylisPlugins||mW,o={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(f){for(var h=f.getAttribute("data-emotion").split(" "),b=1;b<h.length;b++)o[h[b]]=!0;s.push(f)});var l,c=[uW,dW];{var u,d=[aW,iW(function(f){u.insert(f)})],p=oW(c.concat(a,d)),m=function(h){return Gr(nW(h),p)};l=function(h,b,T,E){u=T,m(h?h+"{"+b.styles+"}":b.styles),E&&(_.inserted[b.name]=!0)}}var _={key:n,sheet:new HV({key:n,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return _.sheet.hydrate(s),_},hT={exports:{}},Xe={};/** @license React v16.13.1 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var At=typeof Symbol=="function"&&Symbol.for,rl=At?Symbol.for("react.element"):60103,al=At?Symbol.for("react.portal"):60106,qo=At?Symbol.for("react.fragment"):60107,zo=At?Symbol.for("react.strict_mode"):60108,Yo=At?Symbol.for("react.profiler"):60114,Vo=At?Symbol.for("react.provider"):60109,Wo=At?Symbol.for("react.context"):60110,ol=At?Symbol.for("react.async_mode"):60111,Ko=At?Symbol.for("react.concurrent_mode"):60111,jo=At?Symbol.for("react.forward_ref"):60112,Qo=At?Symbol.for("react.suspense"):60113,_W=At?Symbol.for("react.suspense_list"):60120,Xo=At?Symbol.for("react.memo"):60115,Zo=At?Symbol.for("react.lazy"):60116,fW=At?Symbol.for("react.block"):60121,EW=At?Symbol.for("react.fundamental"):60117,bW=At?Symbol.for("react.responder"):60118,hW=At?Symbol.for("react.scope"):60119;function Xt(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case rl:switch(e=e.type,e){case ol:case Ko:case qo:case Yo:case zo:case Qo:return e;default:switch(e=e&&e.$$typeof,e){case Wo:case jo:case Zo:case Xo:case Vo:return e;default:return t}}case al:return t}}}function ST(e){return Xt(e)===Ko}Xe.AsyncMode=ol,Xe.ConcurrentMode=Ko,Xe.ContextConsumer=Wo,Xe.ContextProvider=Vo,Xe.Element=rl,Xe.ForwardRef=jo,Xe.Fragment=qo,Xe.Lazy=Zo,Xe.Memo=Xo,Xe.Portal=al,Xe.Profiler=Yo,Xe.StrictMode=zo,Xe.Suspense=Qo,Xe.isAsyncMode=function(e){return ST(e)||Xt(e)===ol},Xe.isConcurrentMode=ST,Xe.isContextConsumer=function(e){return Xt(e)===Wo},Xe.isContextProvider=function(e){return Xt(e)===Vo},Xe.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===rl},Xe.isForwardRef=function(e){return Xt(e)===jo},Xe.isFragment=function(e){return Xt(e)===qo},Xe.isLazy=function(e){return Xt(e)===Zo},Xe.isMemo=function(e){return Xt(e)===Xo},Xe.isPortal=function(e){return Xt(e)===al},Xe.isProfiler=function(e){return Xt(e)===Yo},Xe.isStrictMode=function(e){return Xt(e)===zo},Xe.isSuspense=function(e){return Xt(e)===Qo},Xe.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===qo||e===Ko||e===Yo||e===zo||e===Qo||e===_W||typeof e=="object"&&e!==null&&(e.$$typeof===Zo||e.$$typeof===Xo||e.$$typeof===Vo||e.$$typeof===Wo||e.$$typeof===jo||e.$$typeof===EW||e.$$typeof===bW||e.$$typeof===hW||e.$$typeof===fW)},Xe.typeOf=Xt,hT.exports=Xe;var SW=hT.exports,TT=SW,TW={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},yW={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},yT={};yT[TT.ForwardRef]=TW,yT[TT.Memo]=yW;var vW=!0;function vT(e,t,n){var r="";return n.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):a&&(r+=a+" ")}),r}var il=function(t,n,r){var a=t.key+"-"+n.name;(r===!1||vW===!1)&&t.registered[a]===void 0&&(t.registered[a]=n.styles)},sl=function(t,n,r){il(t,n,r);var a=t.key+"-"+n.name;if(t.inserted[n.name]===void 0){var o=n;do t.insert(n===o?"."+a:"",o,t.sheet,!0),o=o.next;while(o!==void 0)}};function RW(e){for(var t=0,n,r=0,a=e.length;a>=4;++r,a-=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(a){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 CW={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},AW=/[A-Z]|^ms/g,NW=/_EMO_([^_]+?)_([^]*?)_EMO_/g,RT=function(t){return t.charCodeAt(1)===45},CT=function(t){return t!=null&&typeof t!="boolean"},ll=fT(function(e){return RT(e)?e:e.replace(AW,"-$&").toLowerCase()}),AT=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(NW,function(r,a,o){return Cn={name:a,styles:o,next:Cn},a})}return CW[t]!==1&&!RT(t)&&typeof n=="number"&&n!==0?n+"px":n};function Na(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 a=n;if(a.anim===1)return Cn={name:a.name,styles:a.styles,next:Cn},a.name;var o=n;if(o.styles!==void 0){var i=o.next;if(i!==void 0)for(;i!==void 0;)Cn={name:i.name,styles:i.styles,next:Cn},i=i.next;var s=o.styles+";";return s}return OW(e,t,n)}case"function":{if(e!==void 0){var l=Cn,c=n(e);return Cn=l,Na(e,t,c)}break}}var u=n;if(t==null)return u;var d=t[u];return d!==void 0?d:u}function OW(e,t,n){var r="";if(Array.isArray(n))for(var a=0;a<n.length;a++)r+=Na(e,t,n[a])+";";else for(var o in n){var i=n[o];if(typeof i!="object"){var s=i;t!=null&&t[s]!==void 0?r+=o+"{"+t[s]+"}":CT(s)&&(r+=ll(o)+":"+AT(o,s)+";")}else if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)CT(i[l])&&(r+=ll(o)+":"+AT(o,i[l])+";");else{var c=Na(e,t,i);switch(o){case"animation":case"animationName":{r+=ll(o)+":"+c+";";break}default:r+=o+"{"+c+"}"}}}return r}var NT=/label:\s*([^\s;{]+)\s*(;|$)/g,Cn;function Oa(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,a="";Cn=void 0;var o=e[0];if(o==null||o.raw===void 0)r=!1,a+=Na(n,t,o);else{var i=o;a+=i[0]}for(var s=1;s<e.length;s++)if(a+=Na(n,t,e[s]),r){var l=o;a+=l[s]}NT.lastIndex=0;for(var c="",u;(u=NT.exec(a))!==null;)c+="-"+u[1];var d=RW(a)+c;return{name:d,styles:a,next:Cn}}var IW=function(t){return t()},OT=q.useInsertionEffect?q.useInsertionEffect:!1,IT=OT||IW,xT=OT||q.useLayoutEffect,wT=q.createContext(typeof HTMLElement<"u"?gW({key:"css"}):null);wT.Provider;var cl=function(t){return te.forwardRef(function(n,r){var a=te.useContext(wT);return t(n,a,r)})},Jo=q.createContext({}),ul={}.hasOwnProperty,dl="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",xW=function(t,n){var r={};for(var a in n)ul.call(n,a)&&(r[a]=n[a]);return r[dl]=t,r},wW=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return il(n,r,a),IT(function(){return sl(n,r,a)}),null},DW=cl(function(e,t,n){var r=e.css;typeof r=="string"&&t.registered[r]!==void 0&&(r=t.registered[r]);var a=e[dl],o=[r],i="";typeof e.className=="string"?i=vT(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var s=Oa(o,void 0,q.useContext(Jo));i+=t.key+"-"+s.name;var l={};for(var c in e)ul.call(e,c)&&c!=="css"&&c!==dl&&(l[c]=e[c]);return l.className=i,n&&(l.ref=n),q.createElement(q.Fragment,null,q.createElement(wW,{cache:t,serialized:s,isStringTag:typeof a=="string"}),q.createElement(a,l))}),kW=DW,DT=function(t,n){var r=arguments;if(n==null||!ul.call(n,"css"))return q.createElement.apply(void 0,r);var a=r.length,o=new Array(a);o[0]=kW,o[1]=xW(t,n);for(var i=2;i<a;i++)o[i]=r[i];return q.createElement.apply(null,o)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(DT||(DT={}));var LW=cl(function(e,t){var n=e.styles,r=Oa([n],void 0,q.useContext(Jo)),a=q.useRef();return xT(function(){var o=t.key+"-global",i=new t.sheet.constructor({key:o,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),s=!1,l=document.querySelector('style[data-emotion="'+o+" "+r.name+'"]');return t.sheet.tags.length&&(i.before=t.sheet.tags[0]),l!==null&&(s=!0,l.setAttribute("data-emotion",o),i.hydrate([l])),a.current=[i,s],function(){i.flush()}},[t]),xT(function(){var o=a.current,i=o[0],s=o[1];if(s){o[1]=!1;return}if(r.next!==void 0&&sl(t,r.next,!0),i.tags.length){var l=i.tags[i.tags.length-1].nextElementSibling;i.before=l,i.flush()}t.insert("",r,i,!1)},[t,r.name]),null});function Hr(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Oa(t)}function Wn(){var e=Hr.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 MW=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,PW=fT(function(e){return MW.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91}),FW=PW,BW=function(t){return t!=="theme"},kT=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?FW:BW},LT=function(t,n,r){var a;if(n){var o=n.shouldForwardProp;a=t.__emotion_forwardProp&&o?function(i){return t.__emotion_forwardProp(i)&&o(i)}:o}return typeof a!="function"&&r&&(a=t.__emotion_forwardProp),a},UW=function(t){var n=t.cache,r=t.serialized,a=t.isStringTag;return il(n,r,a),IT(function(){return sl(n,r,a)}),null},$W=function e(t,n){var r=t.__emotion_real===t,a=r&&t.__emotion_base||t,o,i;n!==void 0&&(o=n.label,i=n.target);var s=LT(t,n,r),l=s||kT(a),c=!l("as");return function(){var u=arguments,d=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&d.push("label:"+o+";"),u[0]==null||u[0].raw===void 0)d.push.apply(d,u);else{var p=u[0];d.push(p[0]);for(var m=u.length,_=1;_<m;_++)d.push(u[_],p[_])}var f=cl(function(h,b,T){var E=c&&h.as||a,A="",I=[],O=h;if(h.theme==null){O={};for(var x in h)O[x]=h[x];O.theme=q.useContext(Jo)}typeof h.className=="string"?A=vT(b.registered,I,h.className):h.className!=null&&(A=h.className+" ");var G=Oa(d.concat(I),b.registered,O);A+=b.key+"-"+G.name,i!==void 0&&(A+=" "+i);var $=c&&s===void 0?kT(E):l,S={};for(var B in h)c&&B==="as"||$(B)&&(S[B]=h[B]);return S.className=A,T&&(S.ref=T),q.createElement(q.Fragment,null,q.createElement(UW,{cache:b,serialized:G,isStringTag:typeof E=="string"}),q.createElement(E,S))});return f.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=a,f.__emotion_styles=d,f.__emotion_forwardProp=s,Object.defineProperty(f,"toString",{value:function(){return"."+i}}),f.withComponent=function(h,b){var T=e(h,Br({},n,b,{shouldForwardProp:LT(f,b,!0)}));return T.apply(void 0,d)},f}},GW=["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"],pl=$W.bind(null);GW.forEach(function(e){pl[e]=pl(e)});var MT={exports:{}},ei={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var HW=te,qW=Symbol.for("react.element"),zW=Symbol.for("react.fragment"),YW=Object.prototype.hasOwnProperty,VW=HW.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,WW={key:!0,ref:!0,__self:!0,__source:!0};function PT(e,t,n){var r,a={},o=null,i=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(i=t.ref);for(r in t)YW.call(t,r)&&!WW.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)a[r]===void 0&&(a[r]=t[r]);return{$$typeof:qW,type:e,key:o,ref:i,props:a,_owner:VW.current}}ei.Fragment=zW,ei.jsx=PT,ei.jsxs=PT,MT.exports=ei;var J=MT.exports;function KW(e){return e==null||Object.keys(e).length===0}function jW(e){const{styles:t,defaultTheme:n={}}=e,r=typeof t=="function"?a=>t(KW(a)?n:a):t;return J.jsx(LW,{styles:r})}/** * @mui/styled-engine v6.4.6 * * @license MIT * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function FT(e,t){return pl(e,t)}function QW(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const BT=[];function UT(e){return BT[0]=e,Oa(BT)}var $T={exports:{}},Ze={};/** * @license React * react-is.production.js * * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var ml=Symbol.for("react.transitional.element"),gl=Symbol.for("react.portal"),ti=Symbol.for("react.fragment"),ni=Symbol.for("react.strict_mode"),ri=Symbol.for("react.profiler"),ai=Symbol.for("react.consumer"),oi=Symbol.for("react.context"),ii=Symbol.for("react.forward_ref"),si=Symbol.for("react.suspense"),li=Symbol.for("react.suspense_list"),ci=Symbol.for("react.memo"),ui=Symbol.for("react.lazy"),XW=Symbol.for("react.offscreen"),ZW=Symbol.for("react.client.reference");function rn(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case ml:switch(e=e.type,e){case ti:case ri:case ni:case si:case li:return e;default:switch(e=e&&e.$$typeof,e){case oi:case ii:case ui:case ci:return e;case ai:return e;default:return t}}case gl:return t}}}Ze.ContextConsumer=ai,Ze.ContextProvider=oi,Ze.Element=ml,Ze.ForwardRef=ii,Ze.Fragment=ti,Ze.Lazy=ui,Ze.Memo=ci,Ze.Portal=gl,Ze.Profiler=ri,Ze.StrictMode=ni,Ze.Suspense=si,Ze.SuspenseList=li,Ze.isContextConsumer=function(e){return rn(e)===ai},Ze.isContextProvider=function(e){return rn(e)===oi},Ze.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===ml},Ze.isForwardRef=function(e){return rn(e)===ii},Ze.isFragment=function(e){return rn(e)===ti},Ze.isLazy=function(e){return rn(e)===ui},Ze.isMemo=function(e){return rn(e)===ci},Ze.isPortal=function(e){return rn(e)===gl},Ze.isProfiler=function(e){return rn(e)===ri},Ze.isStrictMode=function(e){return rn(e)===ni},Ze.isSuspense=function(e){return rn(e)===si},Ze.isSuspenseList=function(e){return rn(e)===li},Ze.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===ti||e===ri||e===ni||e===si||e===li||e===XW||typeof e=="object"&&e!==null&&(e.$$typeof===ui||e.$$typeof===ci||e.$$typeof===oi||e.$$typeof===ai||e.$$typeof===ii||e.$$typeof===ZW||e.getModuleId!==void 0)},Ze.typeOf=rn,$T.exports=Ze;var GT=$T.exports;function An(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function HT(e){if(q.isValidElement(e)||GT.isValidElementType(e)||!An(e))return e;const t={};return Object.keys(e).forEach(n=>{t[n]=HT(e[n])}),t}function Nt(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return An(e)&&An(t)&&Object.keys(t).forEach(a=>{q.isValidElement(t[a])||GT.isValidElementType(t[a])?r[a]=t[a]:An(t[a])&&Object.prototype.hasOwnProperty.call(e,a)&&An(e[a])?r[a]=Nt(e[a],t[a],n):n.clone?r[a]=An(t[a])?HT(t[a]):t[a]:r[a]=t[a]}),r}const JW=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function e7(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...a}=e,o=JW(t),i=Object.keys(o);function s(p){return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n})`}function l(p){return`@media (max-width:${(typeof t[p]=="number"?t[p]:p)-r/100}${n})`}function c(p,m){const _=i.indexOf(m);return`@media (min-width:${typeof t[p]=="number"?t[p]:p}${n}) and (max-width:${(_!==-1&&typeof t[i[_]]=="number"?t[i[_]]:m)-r/100}${n})`}function u(p){return i.indexOf(p)+1<i.length?c(p,i[i.indexOf(p)+1]):s(p)}function d(p){const m=i.indexOf(p);return m===0?s(i[1]):m===i.length-1?l(i[m]):c(p,i[i.indexOf(p)+1]).replace("@media","@media not all and")}return{keys:i,values:o,up:s,down:l,between:c,only:u,not:d,unit:n,...a}}function t7(e,t){if(!e.containerQueries)return t;const n=Object.keys(t).filter(r=>r.startsWith("@container")).sort((r,a)=>{var i,s;const o=/min-width:\s*([0-9.]+)/;return+(((i=r.match(o))==null?void 0:i[1])||0)-+(((s=a.match(o))==null?void 0:s[1])||0)});return n.length?n.reduce((r,a)=>{const o=t[a];return delete r[a],r[a]=o,r},{...t}):t}function n7(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function r7(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,a]=n,o=Number.isNaN(+r)?r||0:+r;return e.containerQueries(a).up(o)}function a7(e){const t=(o,i)=>o.replace("@media",i?`@container ${i}`:"@container");function n(o,i){o.up=(...s)=>t(e.breakpoints.up(...s),i),o.down=(...s)=>t(e.breakpoints.down(...s),i),o.between=(...s)=>t(e.breakpoints.between(...s),i),o.only=(...s)=>t(e.breakpoints.only(...s),i),o.not=(...s)=>{const l=t(e.breakpoints.not(...s),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},a=o=>(n(r,o),r);return n(a),{...e,containerQueries:a}}const o7={borderRadius:4};function Ia(e,t){return t?Nt(e,t,{clone:!1}):e}const di={xs:0,sm:600,md:900,lg:1200,xl:1536},qT={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${di[e]}px)`},i7={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:di[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function _n(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const o=r.breakpoints||qT;return t.reduce((i,s,l)=>(i[o.up(o.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const o=r.breakpoints||qT;return Object.keys(t).reduce((i,s)=>{if(n7(o.keys,s)){const l=r7(r.containerQueries?r:i7,s);l&&(i[l]=n(t[s],s))}else if(Object.keys(o.values||di).includes(s)){const l=o.up(s);i[l]=n(t[s],s)}else{const l=s;i[l]=t[l]}return i},{})}return n(t)}function zT(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,a)=>{const o=e.up(a);return r[o]={},r},{}))||{}}function YT(e,t){return e.reduce((n,r)=>{const a=n[r];return(!a||Object.keys(a).length===0)&&delete n[r],n},t)}function s7(e,...t){const n=zT(e),r=[n,...t].reduce((a,o)=>Nt(a,o),{});return YT(Object.keys(n),r)}function l7(e,t){if(typeof e!="object")return{};const n={},r=Object.keys(t);return Array.isArray(e)?r.forEach((a,o)=>{o<e.length&&(n[a]=!0)}):r.forEach(a=>{e[a]!=null&&(n[a]=!0)}),n}function _l({values:e,breakpoints:t,base:n}){const r=n||l7(e,t),a=Object.keys(r);if(a.length===0)return e;let o;return a.reduce((i,s,l)=>(Array.isArray(e)?(i[s]=e[l]!=null?e[l]:e[o],o=l):typeof e=="object"?(i[s]=e[s]!=null?e[s]:e[o],o=s):i[s]=e,i),{})}function me(e){if(typeof e!="string")throw new Error(Un(7));return e.charAt(0).toUpperCase()+e.slice(1)}function pi(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((a,o)=>a&&a[o]?a[o]:null,e);if(r!=null)return r}return t.split(".").reduce((r,a)=>r&&r[a]!=null?r[a]:null,e)}function mi(e,t,n,r=n){let a;return typeof e=="function"?a=e(n):Array.isArray(e)?a=e[n]||r:a=pi(e,n)||r,t&&(a=t(a,r,e)),a}function ht(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:a}=e,o=i=>{if(i[t]==null)return null;const s=i[t],l=i.theme,c=pi(l,r)||{};return _n(i,s,d=>{let p=mi(c,a,d);return d===p&&typeof d=="string"&&(p=mi(c,a,`${t}${d==="default"?"":me(d)}`,d)),n===!1?p:{[n]:p}})};return o.propTypes={},o.filterProps=[t],o}function c7(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const u7={m:"margin",p:"padding"},d7={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},VT={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},p7=c7(e=>{if(e.length>2)if(VT[e])e=VT[e];else return[e];const[t,n]=e.split(""),r=u7[t],a=d7[n]||"";return Array.isArray(a)?a.map(o=>r+o):[r+a]}),fl=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],El=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...fl,...El];function xa(e,t,n,r){const a=pi(e,t,!0)??n;return typeof a=="number"||typeof a=="string"?o=>typeof o=="string"?o:typeof a=="string"?`calc(${o} * ${a})`:a*o:Array.isArray(a)?o=>{if(typeof o=="string")return o;const i=Math.abs(o),s=a[i];return o>=0?s:typeof s=="number"?-s:`-${s}`}:typeof a=="function"?a:()=>{}}function gi(e){return xa(e,"spacing",8)}function dr(e,t){return typeof t=="string"||t==null?t:e(t)}function m7(e,t){return n=>e.reduce((r,a)=>(r[a]=dr(t,n),r),{})}function g7(e,t,n,r){if(!t.includes(n))return null;const a=p7(n),o=m7(a,r),i=e[n];return _n(e,i,o)}function WT(e,t){const n=gi(e.theme);return Object.keys(e).map(r=>g7(e,t,r,n)).reduce(Ia,{})}function ft(e){return WT(e,fl)}ft.propTypes={},ft.filterProps=fl;function Et(e){return WT(e,El)}Et.propTypes={},Et.filterProps=El;function KT(e=8,t=gi({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(o=>{const i=t(o);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}function _i(...e){const t=e.reduce((r,a)=>(a.filterProps.forEach(o=>{r[o]=a}),r),{}),n=r=>Object.keys(r).reduce((a,o)=>t[o]?Ia(a,t[o](r)):a,{});return n.propTypes={},n.filterProps=e.reduce((r,a)=>r.concat(a.filterProps),[]),n}function an(e){return typeof e!="number"?e:`${e}px solid`}function on(e,t){return ht({prop:e,themeKey:"borders",transform:t})}const _7=on("border",an),f7=on("borderTop",an),E7=on("borderRight",an),b7=on("borderBottom",an),h7=on("borderLeft",an),S7=on("borderColor"),T7=on("borderTopColor"),y7=on("borderRightColor"),v7=on("borderBottomColor"),R7=on("borderLeftColor"),C7=on("outline",an),A7=on("outlineColor"),fi=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=xa(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:dr(t,r)});return _n(e,e.borderRadius,n)}return null};fi.propTypes={},fi.filterProps=["borderRadius"],_i(_7,f7,E7,b7,h7,S7,T7,y7,v7,R7,fi,C7,A7);const Ei=e=>{if(e.gap!==void 0&&e.gap!==null){const t=xa(e.theme,"spacing",8),n=r=>({gap:dr(t,r)});return _n(e,e.gap,n)}return null};Ei.propTypes={},Ei.filterProps=["gap"];const bi=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=xa(e.theme,"spacing",8),n=r=>({columnGap:dr(t,r)});return _n(e,e.columnGap,n)}return null};bi.propTypes={},bi.filterProps=["columnGap"];const hi=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=xa(e.theme,"spacing",8),n=r=>({rowGap:dr(t,r)});return _n(e,e.rowGap,n)}return null};hi.propTypes={},hi.filterProps=["rowGap"];const N7=ht({prop:"gridColumn"}),O7=ht({prop:"gridRow"}),I7=ht({prop:"gridAutoFlow"}),x7=ht({prop:"gridAutoColumns"}),w7=ht({prop:"gridAutoRows"}),D7=ht({prop:"gridTemplateColumns"}),k7=ht({prop:"gridTemplateRows"}),L7=ht({prop:"gridTemplateAreas"}),M7=ht({prop:"gridArea"});_i(Ei,bi,hi,N7,O7,I7,x7,w7,D7,k7,L7,M7);function qr(e,t){return t==="grey"?t:e}const P7=ht({prop:"color",themeKey:"palette",transform:qr}),F7=ht({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:qr}),B7=ht({prop:"backgroundColor",themeKey:"palette",transform:qr});_i(P7,F7,B7);function Zt(e){return e<=1&&e!==0?`${e*100}%`:e}const U7=ht({prop:"width",transform:Zt}),bl=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var a,o,i,s,l;const r=((i=(o=(a=e.theme)==null?void 0:a.breakpoints)==null?void 0:o.values)==null?void 0:i[n])||di[n];return r?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Zt(n)}};return _n(e,e.maxWidth,t)}return null};bl.filterProps=["maxWidth"];const $7=ht({prop:"minWidth",transform:Zt}),G7=ht({prop:"height",transform:Zt}),H7=ht({prop:"maxHeight",transform:Zt}),q7=ht({prop:"minHeight",transform:Zt});ht({prop:"size",cssProperty:"width",transform:Zt}),ht({prop:"size",cssProperty:"height",transform:Zt});const z7=ht({prop:"boxSizing"});_i(U7,bl,$7,G7,H7,q7,z7);const wa={border:{themeKey:"borders",transform:an},borderTop:{themeKey:"borders",transform:an},borderRight:{themeKey:"borders",transform:an},borderBottom:{themeKey:"borders",transform:an},borderLeft:{themeKey:"borders",transform:an},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:an},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:fi},color:{themeKey:"palette",transform:qr},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:qr},backgroundColor:{themeKey:"palette",transform:qr},p:{style:Et},pt:{style:Et},pr:{style:Et},pb:{style:Et},pl:{style:Et},px:{style:Et},py:{style:Et},padding:{style:Et},paddingTop:{style:Et},paddingRight:{style:Et},paddingBottom:{style:Et},paddingLeft:{style:Et},paddingX:{style:Et},paddingY:{style:Et},paddingInline:{style:Et},paddingInlineStart:{style:Et},paddingInlineEnd:{style:Et},paddingBlock:{style:Et},paddingBlockStart:{style:Et},paddingBlockEnd:{style:Et},m:{style:ft},mt:{style:ft},mr:{style:ft},mb:{style:ft},ml:{style:ft},mx:{style:ft},my:{style:ft},margin:{style:ft},marginTop:{style:ft},marginRight:{style:ft},marginBottom:{style:ft},marginLeft:{style:ft},marginX:{style:ft},marginY:{style:ft},marginInline:{style:ft},marginInlineStart:{style:ft},marginInlineEnd:{style:ft},marginBlock:{style:ft},marginBlockStart:{style:ft},marginBlockEnd:{style:ft},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:Ei},rowGap:{style:hi},columnGap:{style:bi},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Zt},maxWidth:{style:bl},minWidth:{transform:Zt},height:{transform:Zt},maxHeight:{transform:Zt},minHeight:{transform:Zt},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 Y7(...e){const t=e.reduce((r,a)=>r.concat(Object.keys(a)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function V7(e,t){return typeof e=="function"?e(t):e}function W7(){function e(n,r,a,o){const i={[n]:r,theme:a},s=o[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:c,transform:u,style:d}=s;if(r==null)return null;if(c==="typography"&&r==="inherit")return{[n]:r};const p=pi(a,c)||{};return d?d(i):_n(i,r,_=>{let f=mi(p,u,_);return _===f&&typeof _=="string"&&(f=mi(p,u,`${n}${_==="default"?"":me(_)}`,_)),l===!1?f:{[l]:f}})}function t(n){const{sx:r,theme:a={}}=n||{};if(!r)return null;const o=a.unstable_sxConfig??wa;function i(s){let l=s;if(typeof s=="function")l=s(a);else if(typeof s!="object")return s;if(!l)return null;const c=zT(a.breakpoints),u=Object.keys(c);let d=c;return Object.keys(l).forEach(p=>{const m=V7(l[p],a);if(m!=null)if(typeof m=="object")if(o[p])d=Ia(d,e(p,m,a,o));else{const _=_n({theme:a},m,f=>({[p]:f}));Y7(_,m)?d[p]=t({sx:m,theme:a}):d=Ia(d,_)}else d=Ia(d,e(p,m,a,o))}),t7(a,YT(u,d))}return Array.isArray(r)?r.map(i):i(r)}return t}const pr=W7();pr.filterProps=["sx"];function K7(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let a=n.getColorSchemeSelector(e);return a==="&"?t:((a.includes("data-")||a.includes("."))&&(a=`*:where(${a.replace(/\s*&$/,"")}) &`),{[a]:t})}return n.palette.mode===e?t:{}}function Si(e={},...t){const{breakpoints:n={},palette:r={},spacing:a,shape:o={},...i}=e,s=e7(n),l=KT(a);let c=Nt({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...o7,...o}},i);return c=a7(c),c.applyStyles=K7,c=t.reduce((u,d)=>Nt(u,d),c),c.unstable_sxConfig={...wa,...i==null?void 0:i.unstable_sxConfig},c.unstable_sx=function(d){return pr({sx:d,theme:this})},c}function j7(e){return Object.keys(e).length===0}function Q7(e=null){const t=q.useContext(Jo);return!t||j7(t)?e:t}const X7=Si();function Ti(e=X7){return Q7(e)}function Z7({styles:e,themeId:t,defaultTheme:n={}}){const r=Ti(n),a=typeof e=="function"?e(t&&r[t]||r):e;return J.jsx(jW,{styles:a})}const J7=e=>{var r;const t={systemProps:{},otherProps:{}},n=((r=e==null?void 0:e.theme)==null?void 0:r.unstable_sxConfig)??wa;return Object.keys(e).forEach(a=>{n[a]?t.systemProps[a]=e[a]:t.otherProps[a]=e[a]}),t};function hl(e){const{sx:t,...n}=e,{systemProps:r,otherProps:a}=J7(n);let o;return Array.isArray(t)?o=[r,...t]:typeof t=="function"?o=(...i)=>{const s=t(...i);return An(s)?{...r,...s}:r}:o={...r,...t},{...a,sx:o}}const jT=e=>e,QT=(()=>{let e=jT;return{configure(t){e=t},generate(t){return e(t)},reset(){e=jT}}})();function XT(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(n=XT(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ce(){for(var e,t,n=0,r="",a=arguments.length;n<a;n++)(e=arguments[n])&&(t=XT(e))&&(r&&(r+=" "),r+=t);return r}function eK(e={}){const{themeId:t,defaultTheme:n,defaultClassName:r="MuiBox-root",generateClassName:a}=e,o=FT("div",{shouldForwardProp:s=>s!=="theme"&&s!=="sx"&&s!=="as"})(pr);return q.forwardRef(function(l,c){const u=Ti(n),{className:d,component:p="div",...m}=hl(l);return J.jsx(o,{as:p,ref:c,className:Ce(d,a?a(r):r),theme:t&&u[t]||u,...m})})}const tK={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 Be(e,t,n="Mui"){const r=tK[t];return r?`${n}-${r}`:`${QT.generate(e)}-${t}`}function Me(e,t,n="Mui"){const r={};return t.forEach(a=>{r[a]=Be(e,a,n)}),r}function ZT(e){const{variants:t,...n}=e,r={variants:t,style:UT(n),isProcessed:!0};return r.style===n||t&&t.forEach(a=>{typeof a.style!="function"&&(a.style=UT(a.style))}),r}const nK=Si();function Sl(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function rK(e){return e?(t,n)=>n[e]:null}function aK(e,t,n){e.theme=iK(e.theme)?n:e.theme[t]||e.theme}function yi(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>yi(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:a,...o}=n;r=o}return JT(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function JT(e,t,n=[]){var a;let r;e:for(let o=0;o<t.length;o+=1){const i=t[o];if(typeof i.props=="function"){if(r??(r={...e,...e.ownerState,ownerState:e.ownerState}),!i.props(r))continue}else for(const s in i.props)if(e[s]!==i.props[s]&&((a=e.ownerState)==null?void 0:a[s])!==i.props[s])continue e;typeof i.style=="function"?(r??(r={...e,...e.ownerState,ownerState:e.ownerState}),n.push(i.style(r))):n.push(i.style)}return n}function ey(e={}){const{themeId:t,defaultTheme:n=nK,rootShouldForwardProp:r=Sl,slotShouldForwardProp:a=Sl}=e;function o(s){aK(s,t,n)}return(s,l={})=>{QW(s,I=>I.filter(O=>O!==pr));const{name:c,slot:u,skipVariantsResolver:d,skipSx:p,overridesResolver:m=rK(lK(u)),..._}=l,f=d!==void 0?d:u&&u!=="Root"&&u!=="root"||!1,h=p||!1;let b=Sl;u==="Root"||u==="root"?b=r:u?b=a:sK(s)&&(b=void 0);const T=FT(s,{shouldForwardProp:b,label:oK(),..._}),E=I=>{if(typeof I=="function"&&I.__emotion_real!==I)return function(x){return yi(x,I)};if(An(I)){const O=ZT(I);return O.variants?function(G){return yi(G,O)}:O.style}return I},A=(...I)=>{const O=[],x=I.map(E),G=[];if(O.